rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
}else if(/*hist.getHistoryEntry().getRevision()*/historyEntry.getRevision() > 0){ return new FSNodeHistory(new SVNLocationEntry(/*hist.getHistoryEntry().getRevision()*/historyEntry.getRevision() - 1, "/"), true,
}else if(historyEntry.getRevision() > 0){ return new FSNodeHistory(new SVNLocationEntry(historyEntry.getRevision() - 1, "/"), true,
public FSNodeHistory fsHistoryPrev(File reposRootDir, boolean crossCopies, FSRevisionNodePool revNodesPool)throws SVNException{ //if("/".compareTo(hist.getHistoryEntry().getPath()) == 0){ if("/".equals(historyEntry.getPath())){ //if(hist.getInterest() == false){ if(isInteresting == false){ return new FSNodeHistory(new SVNLocationEntry(/*hist.getHistoryEntry().getRevision()*/historyEntry.getRevision(), "/"), true, new SVNLocationEntry(FSConstants.SVN_INVALID_REVNUM, null)); }else if(/*hist.getHistoryEntry().getRevision()*/historyEntry.getRevision() > 0){ return new FSNodeHistory(new SVNLocationEntry(/*hist.getHistoryEntry().getRevision()*/historyEntry.getRevision() - 1, "/"), true, new SVNLocationEntry(FSConstants.SVN_INVALID_REVNUM, null)); } }else{ FSNodeHistory prevHist = this; while(true){ prevHist = prevHist.historyPrev(reposRootDir, crossCopies, revNodesPool); if(prevHist == null){ return null; } if(prevHist.getInterest() == true){ return prevHist; } } } return null; }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/3de4e7e298b05186659154d8fdb3899509e55875/FSNodeHistory.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/fs/FSNodeHistory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9247, 907, 5623, 2662, 5623, 9958, 12, 812, 13686, 27322, 16, 1250, 6828, 15670, 16, 9247, 7939, 907, 2864, 5588, 3205, 2864, 13, 15069, 29537, 50, 503, 95, 540, 202, 759, 430, 2932, 4898, 18, 9877, 774, 12, 11488, 18, 588, 5623, 1622, 7675, 588, 743, 10756, 422, 374, 15329, 377, 202, 430, 2932, 4898, 18, 14963, 12, 8189, 1622, 18, 588, 743, 1435, 3719, 95, 377, 202, 202, 759, 430, 12, 11488, 18, 588, 29281, 1435, 422, 629, 15329, 377, 202, 202, 430, 12, 291, 2465, 10100, 422, 629, 15329, 377, 1082, 202, 2463, 394, 9247, 907, 5623, 12, 2704, 29537, 50, 2735, 1622, 12, 20308, 11488, 18, 588, 5623, 1622, 7675, 588, 7939, 1435, 5549, 8189, 1622, 18, 588, 7939, 9334, 4016, 3631, 638, 16, 377, 6862, 202, 2704, 29537, 50, 2735, 1622, 12, 4931, 2918, 18, 23927, 50, 67, 9347, 67, 862, 58, 6069, 16, 446, 10019, 377, 202, 202, 97, 12107, 309, 12, 20308, 11488, 18, 588, 5623, 1622, 7675, 588, 7939, 1435, 5549, 8189, 1622, 18, 588, 7939, 1435, 405, 374, 15329, 377, 1082, 202, 2463, 394, 9247, 907, 5623, 12, 2704, 29537, 50, 2735, 1622, 12, 20308, 11488, 18, 588, 5623, 1622, 7675, 588, 7939, 1435, 5549, 8189, 1622, 18, 588, 7939, 1435, 300, 404, 16, 4016, 3631, 638, 16, 377, 6862, 202, 2704, 29537, 50, 2735, 1622, 12, 4931, 2918, 18, 23927, 50, 67, 9347, 67, 862, 58, 6069, 16, 446, 10019, 377, 9506, 377, 202, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9247, 907, 5623, 2662, 5623, 9958, 12, 812, 13686, 27322, 16, 1250, 6828, 15670, 16, 9247, 7939, 907, 2864, 5588, 3205, 2864, 13, 15069, 29537, 50, 503, 95, 540, 202, 759, 430, 2932, 4898, 18, 9877, 774, 12, 11488, 18, 588, 5623, 1622, 7675, 588, 743, 10756, 422, 374, 15329, 377, 202, 430, 2932, 4898, 18, 14963, 12, 8189, 1622, 18, 588, 743, 1435, 3719, 95, 377, 202, 202, 759, 430, 12, 11488, 18, 588, 29281, 1435, 422, 629, 15329, 377, 202, 202, 430, 12, 291, 2465, 10100, 422, 629, 15329, 377, 1082, 202, 2463, 394, 9247, 907, 5623, 12, 2704, 29537, 50, 2735, 1622, 12, 20308, 11488, 18, 588, 5623, 1622, 7675, 588, 7939, 1435, 5549, 2 ]
if (outerElement == null) { iterator.remove(); continue; } final FileElement file = TreeUtil.getFileElement(outerElement); if (file == null || file.getPsi() != psiFile) { iterator.remove(); continue; }
public void updateOuterLanguageElements(final Set<Language> reparsedRoots) { for (Map.Entry<Language, PsiFile> entry : myRoots.entrySet()) { final PsiFile psiFile = entry.getValue(); final Language updatedLanguage = entry.getKey(); if (reparsedRoots.contains(updatedLanguage)) continue; SoftReference<Set<OuterLanguageElement>> outerSet = myOuterLanguageElements.get(psiFile); if (outerSet == null) // not parsed yet { continue; } try { myRootsInUpdate.add(psiFile); Set<OuterLanguageElement> languageElements = outerSet.get(); if (languageElements == null) { psiFile.accept(new PsiElementVisitor() { public void visitReferenceExpression(PsiReferenceExpression expression) {} public void visitElement(PsiElement element) { if (element instanceof OuterLanguageElement) { registerOuterLanguageElement((OuterLanguageElement)element, psiFile); } else element.acceptChildren(this); } }); outerSet = myOuterLanguageElements.get(psiFile); languageElements = outerSet.get(); } final Iterator<OuterLanguageElement> iterator = languageElements.iterator(); XmlText prevText = null; while (iterator.hasNext()) { final OuterLanguageElement outerElement = iterator.next(); if (outerElement == null) { iterator.remove(); continue; } final FileElement file = TreeUtil.getFileElement(outerElement); if (file == null || file.getPsi() != psiFile) { iterator.remove(); continue; } final XmlText nextText = outerElement.getFollowingText(); final TextRange textRange = new TextRange(prevText != null ? prevText.getTextRange().getEndOffset() : 0, nextText != null ? nextText.getTextRange().getStartOffset() : getContents().length()); if (!textRange.equals(outerElement.getTextRange())) { outerElement.setRange(textRange); } prevText = nextText; } } finally { myRootsInUpdate.remove(psiFile); checkConsistensy(psiFile); } } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/658bb519efbbbbfcaf892e880f02629d45cf9718/CompositeLanguageFileViewProvider.java/buggy/source/com/intellij/psi/CompositeLanguageFileViewProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 15040, 3779, 3471, 12, 6385, 1000, 32, 3779, 34, 283, 10817, 17540, 13, 288, 565, 364, 261, 863, 18, 1622, 32, 3779, 16, 453, 7722, 812, 34, 1241, 294, 3399, 17540, 18, 4099, 694, 10756, 288, 1377, 727, 453, 7722, 812, 23921, 812, 273, 1241, 18, 24805, 5621, 1377, 727, 9889, 3526, 3779, 273, 1241, 18, 588, 653, 5621, 1377, 309, 261, 266, 10817, 17540, 18, 12298, 12, 7007, 3779, 3719, 1324, 31, 1377, 12438, 2404, 32, 694, 32, 15040, 3779, 1046, 9778, 6390, 694, 273, 3399, 15040, 3779, 3471, 18, 588, 12, 24275, 812, 1769, 1377, 309, 261, 14068, 694, 422, 446, 13, 368, 486, 2707, 4671, 1377, 288, 3639, 1324, 31, 1377, 289, 1377, 775, 288, 3639, 3399, 17540, 382, 1891, 18, 1289, 12, 24275, 812, 1769, 3639, 1000, 32, 15040, 3779, 1046, 34, 2653, 3471, 273, 6390, 694, 18, 588, 5621, 3639, 309, 261, 4923, 3471, 422, 446, 13, 288, 1850, 23921, 812, 18, 9436, 12, 2704, 453, 7722, 1046, 7413, 1435, 288, 5411, 1071, 918, 3757, 2404, 2300, 12, 52, 7722, 2404, 2300, 2652, 13, 2618, 5411, 1071, 918, 3757, 1046, 12, 52, 7722, 1046, 930, 13, 288, 2868, 309, 261, 2956, 1276, 2976, 264, 3779, 1046, 13, 288, 7734, 1744, 15040, 3779, 1046, 12443, 15040, 3779, 1046, 13, 2956, 16, 23921, 812, 1769, 2868, 289, 2868, 469, 930, 18, 9436, 4212, 12, 2211, 1769, 5411, 289, 1850, 15549, 1850, 6390, 694, 273, 3399, 15040, 3779, 3471, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 15040, 3779, 3471, 12, 6385, 1000, 32, 3779, 34, 283, 10817, 17540, 13, 288, 565, 364, 261, 863, 18, 1622, 32, 3779, 16, 453, 7722, 812, 34, 1241, 294, 3399, 17540, 18, 4099, 694, 10756, 288, 1377, 727, 453, 7722, 812, 23921, 812, 273, 1241, 18, 24805, 5621, 1377, 727, 9889, 3526, 3779, 273, 1241, 18, 588, 653, 5621, 1377, 309, 261, 266, 10817, 17540, 18, 12298, 12, 7007, 3779, 3719, 1324, 31, 1377, 12438, 2404, 32, 694, 32, 15040, 3779, 1046, 9778, 6390, 694, 273, 3399, 15040, 3779, 3471, 18, 588, 12, 24275, 812, 1769, 1377, 309, 261, 14068, 694, 422, 446, 13, 368, 486, 2707, 4671, 1377, 288, 3639, 1324, 31, 1377, 289, 2 ]
Asserts.notReached("can't convert to UTF8");
assert false : "can't convert to UTF8";
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); int idx = 0; String lCurElemString; while(!format.isAtEnd()) { // Possible next type, format of current type, occurrences of type char next = format.nextChar(); if (Character.isWhitespace(type)) { // skip all spaces type = next; continue; } if (next == '!' || next == '_') { if (NATIVE_CODES.indexOf(type) == -1) { throw runtime.newArgumentError("'" + next + "' allowed only after types " + NATIVE_CODES); } next = format.nextChar(); } // Determine how many of type are needed (default: 1) boolean isStar = false; int occurrences = 1; if (next == '*') { if ("@Xxu".indexOf(type) != -1) { occurrences = 0; } else { occurrences = listSize; isStar = true; } next = format.nextChar(); } else if (Character.isDigit(next)) { format.backup(1); // an exception may occur here if an int can't hold this but ... occurrences = format.nextAsciiNumber(); next = format.nextChar(); } Converter converter = (Converter) converters.get(new Character(type)); if (converter != null) { idx = encode(runtime, occurrences, result, list, idx, converter); type = next; continue; } switch (type) { case '%' : throw runtime.newArgumentError("% is not supported"); case 'A' : case 'a' : case 'Z' : case 'B' : case 'b' : case 'H' : case 'h' : { if (listSize-- <= 0) { throw runtime.newArgumentError(sTooFew); } IRubyObject from = (IRubyObject) list.get(idx++); lCurElemString = from == runtime.getNil() ? "" : convert2String(from); if (isStar) { occurrences = lCurElemString.length(); } switch (type) { case 'a' : case 'A' : case 'Z' : if (lCurElemString.length() >= occurrences) { result.append(lCurElemString.toCharArray(), 0, occurrences); } else {//need padding //I'm fairly sure there is a library call to create a //string filled with a given char with a given length but I couldn't find it result.append(lCurElemString); occurrences -= lCurElemString.length(); grow(result, (type == 'a') ? sNil10 : sSp10, occurrences); } break; //I believe there is a bug in the b and B case we skip a char too easily case 'b' : { int currentByte = 0; int padLength = 0; if (occurrences > lCurElemString.length()) { padLength = occurrences - lCurElemString.length(); occurrences = lCurElemString.length(); } for (int i = 0; i < occurrences;) { if ((lCurElemString.charAt(i++) & 1) != 0) {//if the low bit is set currentByte |= 128; //set the high bit of the result } if ((i & 7) == 0) { result.append((char) (currentByte & 0xff)); currentByte = 0; continue; } //if the index is not a multiple of 8, we are not on a byte boundary currentByte >>= 1; //shift the byte } if ((occurrences & 7) != 0) { //if the length is not a multiple of 8 currentByte >>= 7 - (occurrences & 7); //we need to pad the last byte result.append((char) (currentByte & 0xff)); } //do some padding, I don't understand the padding strategy result.setLength(result.length() + padLength); } break; case 'B' : { int currentByte = 0; int padLength = 0; if (occurrences > lCurElemString.length()) { padLength = occurrences - lCurElemString.length(); occurrences = lCurElemString.length(); } for (int i = 0; i < occurrences;) { currentByte |= lCurElemString.charAt(i++) & 1; // we filled up current byte; append it and create next one if ((i & 7) == 0) { result.append((char) (currentByte & 0xff)); currentByte = 0; continue; } //if the index is not a multiple of 8, we are not on a byte boundary currentByte <<= 1; } if ((occurrences & 7) != 0) { //if the length is not a multiple of 8 currentByte <<= 7 - (occurrences & 7); //we need to pad the last byte result.append((char) (currentByte & 0xff)); } result.setLength(result.length() + padLength); } break; case 'h' : { int currentByte = 0; int padLength = 0; if (occurrences > lCurElemString.length()) { padLength = occurrences - lCurElemString.length(); occurrences = lCurElemString.length(); } for (int i = 0; i < occurrences;) { char currentChar = lCurElemString.charAt(i++); if (Character.isJavaIdentifierStart(currentChar)) { //this test may be too lax but it is the same as in MRI currentByte |= (((currentChar & 15) + 9) & 15) << 4; } else { currentByte |= (currentChar & 15) << 4; } if ((i & 1) != 0) { currentByte >>= 4; } else { result.append((char) (currentByte & 0xff)); currentByte = 0; } } if ((occurrences & 1) != 0) { result.append((char) (currentByte & 0xff)); } result.setLength(result.length() + padLength); } break; case 'H' : { int currentByte = 0; int padLength = 0; if (occurrences > lCurElemString.length()) { padLength = occurrences - lCurElemString.length(); occurrences = lCurElemString.length(); } for (int i = 0; i < occurrences;) { char currentChar = lCurElemString.charAt(i++); if (Character.isJavaIdentifierStart(currentChar)) { //this test may be too lax but it is the same as in MRI currentByte |= ((currentChar & 15) + 9) & 15; } else { currentByte |= currentChar & 15; } if ((i & 1) != 0) { currentByte <<= 4; } else { result.append((char) (currentByte & 0xff)); currentByte = 0; } } if ((occurrences & 1) != 0) { result.append((char) (currentByte & 0xff)); } result.setLength(result.length() + padLength); } break; } break; } case 'x' : grow(result, sNil10, occurrences); break; case 'X' : try { shrink(result, occurrences); } catch (IllegalArgumentException e) { throw runtime.newArgumentError("in `pack': X outside of string"); } break; case '@' : occurrences -= result.length(); if (occurrences > 0) { grow(result, sNil10, occurrences); } occurrences = -occurrences; if (occurrences > 0) { shrink(result, occurrences); } break; case 'u' : case 'm' : { if (listSize-- <= 0) { throw runtime.newArgumentError(sTooFew); } IRubyObject from = (IRubyObject) list.get(idx++); lCurElemString = from == runtime.getNil() ? "" : convert2String(from); occurrences = occurrences <= 2 ? 45 : occurrences / 3 * 3; for (;;) { encodes(runtime, result, lCurElemString, occurrences, type); if (occurrences >= lCurElemString.length()) { break; } lCurElemString = lCurElemString.substring(occurrences); } } break; case 'M' : { if (listSize-- <= 0) { throw runtime.newArgumentError(sTooFew); } IRubyObject from = (IRubyObject) list.get(idx++); lCurElemString = from == runtime.getNil() ? "" : convert2String(from); if (occurrences <= 1) { occurrences = 72; } qpencode(result, lCurElemString, occurrences); } break; case 'U' : char[] c = new char[occurrences]; for (int cIndex = 0; occurrences-- > 0; cIndex++) { if (listSize-- <= 0) { throw runtime.newArgumentError(sTooFew); } IRubyObject from = (IRubyObject) list.get(idx++); long l = from == runtime.getNil() ? 0 : RubyNumeric.num2long(from); c[cIndex] = (char) l; } try { byte[] bytes = new String(c).getBytes("UTF-8"); result.append(RubyString.bytesToString(bytes)); } catch (java.io.UnsupportedEncodingException e) { Asserts.notReached("can't convert to UTF8"); } break; } type = next; } return runtime.newString(result.toString()); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/Pack.java/buggy/src/org/jruby/util/Pack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 780, 2298, 12, 682, 666, 16, 19817, 780, 27107, 13, 288, 3639, 19817, 3099, 273, 27107, 18, 588, 5576, 5621, 3639, 14898, 682, 740, 273, 394, 14898, 682, 12, 2139, 780, 18, 24805, 10663, 3639, 6674, 563, 273, 394, 6674, 5621, 3639, 509, 666, 1225, 273, 666, 18, 1467, 5621, 3639, 1149, 618, 273, 740, 18, 4285, 2156, 5621, 7734, 509, 2067, 273, 374, 31, 3639, 514, 328, 2408, 7498, 780, 31, 7734, 1323, 12, 5, 2139, 18, 291, 861, 1638, 10756, 288, 540, 202, 759, 25433, 1024, 618, 16, 740, 434, 783, 618, 16, 15698, 434, 618, 540, 202, 3001, 1024, 273, 740, 18, 4285, 2156, 5621, 5411, 309, 261, 7069, 18, 291, 9431, 12, 723, 3719, 288, 368, 2488, 777, 7292, 7734, 618, 273, 1024, 31, 7734, 1324, 31, 5411, 289, 13491, 309, 261, 4285, 422, 15502, 747, 1024, 422, 4427, 13, 288, 7734, 309, 261, 50, 12992, 67, 17070, 18, 31806, 12, 723, 13, 422, 300, 21, 13, 288, 1171, 202, 12849, 3099, 18, 2704, 1379, 668, 2932, 4970, 397, 1024, 397, 1171, 202, 3639, 2491, 2935, 1338, 1839, 1953, 315, 397, 423, 12992, 67, 17070, 1769, 7734, 289, 7734, 1024, 273, 740, 18, 4285, 2156, 5621, 5411, 289, 5411, 368, 10229, 3661, 4906, 434, 618, 854, 3577, 261, 1886, 30, 404, 13, 5411, 1250, 353, 18379, 273, 629, 31, 5411, 509, 15698, 273, 404, 31, 5411, 309, 261, 4285, 422, 5306, 13, 288, 7734, 309, 7566, 36, 60, 92, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 780, 2298, 12, 682, 666, 16, 19817, 780, 27107, 13, 288, 3639, 19817, 3099, 273, 27107, 18, 588, 5576, 5621, 3639, 14898, 682, 740, 273, 394, 14898, 682, 12, 2139, 780, 18, 24805, 10663, 3639, 6674, 563, 273, 394, 6674, 5621, 3639, 509, 666, 1225, 273, 666, 18, 1467, 5621, 3639, 1149, 618, 273, 740, 18, 4285, 2156, 5621, 7734, 509, 2067, 273, 374, 31, 3639, 514, 328, 2408, 7498, 780, 31, 7734, 1323, 12, 5, 2139, 18, 291, 861, 1638, 10756, 288, 540, 202, 759, 25433, 1024, 618, 16, 740, 434, 783, 618, 16, 15698, 434, 618, 540, 202, 3001, 1024, 273, 740, 18, 4285, 2156, 5621, 5411, 309, 261, 7069, 18, 291, 9431, 2 ]
}
}
protected SchemaGrammar findGrammar(XSDDescription desc) { SchemaGrammar sg = fGrammarBucket.getGrammar(desc.getTargetNamespace()); if (sg == null) { if (fGrammarPool != null) { sg = (SchemaGrammar)fGrammarPool.retrieveGrammar(desc); if (sg != null) { // put this grammar into the bucket, along with grammars // imported by it (directly or indirectly) if (!fGrammarBucket.putGrammar(sg, true)) { // REVISIT: a conflict between new grammar(s) and grammars // in the bucket. What to do? A warning? An exception? reportSchemaWarning("GrammarConflict", null, null); sg = null; } } } } return sg; }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/feb53251ea6eb967b113255a629d1db0d05ce12e/XSDHandler.java/clean/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4611, 18576, 1104, 18576, 12, 31244, 3291, 3044, 13, 288, 3639, 4611, 18576, 11150, 273, 284, 18576, 4103, 18, 588, 18576, 12, 5569, 18, 588, 2326, 3402, 10663, 3639, 309, 261, 1055, 422, 446, 13, 288, 5411, 309, 261, 74, 18576, 2864, 480, 446, 13, 288, 7734, 11150, 273, 261, 3078, 18576, 13, 74, 18576, 2864, 18, 17466, 18576, 12, 5569, 1769, 7734, 309, 261, 1055, 480, 446, 13, 288, 10792, 368, 1378, 333, 6473, 1368, 326, 2783, 16, 7563, 598, 6473, 87, 10792, 368, 9101, 635, 518, 261, 7205, 715, 578, 16807, 715, 13, 10792, 309, 16051, 74, 18576, 4103, 18, 458, 18576, 12, 1055, 16, 638, 3719, 288, 13491, 368, 2438, 26780, 1285, 30, 279, 7546, 3086, 394, 6473, 12, 87, 13, 471, 6473, 87, 13491, 368, 316, 326, 2783, 18, 18734, 358, 741, 35, 432, 3436, 35, 1922, 1520, 35, 13491, 2605, 3078, 6210, 2932, 18576, 10732, 3113, 446, 16, 446, 1769, 13491, 11150, 273, 446, 31, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 11150, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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273, 284, 18576, 4103, 18, 588, 18576, 12, 5569, 18, 588, 2326, 3402, 10663, 3639, 309, 261, 1055, 422, 446, 13, 288, 5411, 309, 261, 74, 18576, 2864, 480, 446, 13, 288, 7734, 11150, 273, 261, 3078, 18576, 13, 74, 18576, 2864, 18, 17466, 18576, 12, 5569, 1769, 7734, 309, 261, 1055, 480, 446, 13, 288, 10792, 368, 1378, 333, 6473, 1368, 326, 2783, 16, 7563, 598, 6473, 87, 10792, 368, 9101, 635, 518, 261, 7205, 715, 578, 16807, 715, 13, 10792, 309, 16051, 74, 18576, 4103, 18, 458, 18576, 12, 1055, 16, 638, 3719, 288, 13491, 368, 2438, 26780, 1285, 30, 279, 2 ]
int LA16_480 = input.LA(1); if ( LA16_480=='e' ) {return s503;} return s50;
int LA16_294 = input.LA(1); if ( LA16_294=='d' ) {return s362;} return s51;
public DFA.State transition(IntStream input) throws RecognitionException { int LA16_480 = input.LA(1); if ( LA16_480=='e' ) {return s503;} return s50; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/cb210a30853642e270a3bba6ce570409f6046852/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 2313, 67, 24, 3672, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 2928, 2313, 67, 24, 3672, 18920, 73, 11, 262, 288, 2463, 272, 3361, 23, 31, 97, 7734, 327, 272, 3361, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 2313, 67, 24, 3672, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 2928, 2313, 67, 24, 3672, 18920, 73, 11, 262, 288, 2463, 272, 3361, 23, 31, 97, 7734, 327, 272, 3361, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private FilePath[] createFilePathsOn(final VirtualFile[] children) {
private static FilePath[] createFilePathsOn(final VirtualFile[] children) {
private FilePath[] createFilePathsOn(final VirtualFile[] children) { final VcsContextFactory vcsContextFactory = PeerFactory.getInstance().getVcsContextFactory(); final FilePath[] result = new FilePath[children.length]; for (int i = 0; i < result.length; i++) { result[i] = vcsContextFactory.createFilePathOn(children[i]); } return result; }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/6ad8a6da7e7e7d756d7c30d37d8cc6eb2b872389/AbstractCommonUpdateAction.java/buggy/source/com/intellij/openapi/vcs/update/AbstractCommonUpdateAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 24564, 8526, 21266, 4466, 1398, 12, 6385, 7269, 812, 8526, 2325, 13, 288, 565, 727, 776, 2143, 29871, 20255, 29871, 273, 10669, 1733, 18, 588, 1442, 7675, 588, 58, 2143, 29871, 5621, 565, 727, 24564, 8526, 563, 273, 394, 24564, 63, 5906, 18, 2469, 15533, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 563, 18, 2469, 31, 277, 27245, 288, 1377, 563, 63, 77, 65, 273, 20255, 29871, 18, 2640, 5598, 1398, 12, 5906, 63, 77, 19226, 565, 289, 565, 327, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 760, 24564, 8526, 21266, 4466, 1398, 12, 6385, 7269, 812, 8526, 2325, 13, 288, 565, 727, 776, 2143, 29871, 20255, 29871, 273, 10669, 1733, 18, 588, 1442, 7675, 588, 58, 2143, 29871, 5621, 565, 727, 24564, 8526, 563, 273, 394, 24564, 63, 5906, 18, 2469, 15533, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 563, 18, 2469, 31, 277, 27245, 288, 1377, 563, 63, 77, 65, 273, 20255, 29871, 18, 2640, 5598, 1398, 12, 5906, 63, 77, 19226, 565, 289, 565, 327, 563, 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 ]
fault.setFaultString( e.getLocalizedMessage( ) );
fault.setFaultString( e.getLocalizedMessage( ) );
private void throwAxisFault( Exception e ) throws RemoteException { AxisFault fault = new AxisFault( ); fault.setFaultCode( new QName( "BirtRenderImageActionHandler.execute( )" ) ); //$NON-NLS-1$ fault.setFaultString( e.getLocalizedMessage( ) ); //$NON-NLS-1$ throw fault; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/6f200516dd6e313325dd2c5637ad596549bf99c5/AbstractRenderImageActionHandler.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/AbstractRenderImageActionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 604, 6558, 7083, 12, 1185, 425, 262, 1216, 18361, 202, 95, 202, 202, 6558, 7083, 12530, 273, 394, 15509, 7083, 12, 11272, 202, 202, 643, 18, 542, 7083, 1085, 12, 394, 16723, 12, 9506, 202, 6, 38, 2714, 3420, 2040, 1803, 1503, 18, 8837, 12, 28796, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 643, 18, 542, 7083, 780, 12, 425, 18, 588, 2042, 1235, 1079, 12, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 12849, 12530, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 604, 6558, 7083, 12, 1185, 425, 262, 1216, 18361, 202, 95, 202, 202, 6558, 7083, 12530, 273, 394, 15509, 7083, 12, 11272, 202, 202, 643, 18, 542, 7083, 1085, 12, 394, 16723, 12, 9506, 202, 6, 38, 2714, 3420, 2040, 1803, 1503, 18, 8837, 12, 28796, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 643, 18, 542, 7083, 780, 12, 425, 18, 588, 2042, 1235, 1079, 12, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 12849, 12530, 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 ]
cmpGeneral = new Composite(cmpContent, SWT.NONE); GridData gdCMPGeneral = new GridData(GridData.FILL_BOTH); cmpGeneral.setLayoutData(gdCMPGeneral); cmpGeneral.setLayout(glGeneral);
cmpGeneral = new Composite( cmpContent, SWT.NONE ); GridData gdCMPGeneral = new GridData( GridData.FILL_BOTH ); cmpGeneral.setLayoutData( gdCMPGeneral ); cmpGeneral.setLayout( glGeneral );
private void placeComponents() { GridLayout glContent = new GridLayout(); glContent.numColumns = 2; glContent.horizontalSpacing = 5; glContent.verticalSpacing = 5; cmpContent = new Composite(shell, SWT.NONE); cmpContent.setLayout(glContent); GridLayout glGeneral = new GridLayout(); glContent.numColumns = 2; glContent.horizontalSpacing = 5; glContent.verticalSpacing = 5; cmpGeneral = new Composite(cmpContent, SWT.NONE); GridData gdCMPGeneral = new GridData(GridData.FILL_BOTH); cmpGeneral.setLayoutData(gdCMPGeneral); cmpGeneral.setLayout(glGeneral); Label lblStartColor = new Label(cmpGeneral, SWT.NONE); GridData gdLBLStartColor = new GridData(); lblStartColor.setLayoutData(gdLBLStartColor); lblStartColor.setText(Messages.getString("GradientEditorDialog.Lbl.StartColor")); //$NON-NLS-1$ fccStartColor = new FillChooserComposite(cmpGeneral, SWT.NONE, gCurrent.getStartColor(), false, false); GridData gdFCCStartColor = new GridData(GridData.FILL_HORIZONTAL); fccStartColor.setLayoutData(gdFCCStartColor); fccStartColor.addListener(this); Label lblEndColor = new Label(cmpGeneral, SWT.NONE); GridData gdLBLEndColor = new GridData(); lblEndColor.setLayoutData(gdLBLEndColor); lblEndColor.setText(Messages.getString("GradientEditorDialog.Lbl.EndColor")); //$NON-NLS-1$ fccEndColor = new FillChooserComposite(cmpGeneral, SWT.NONE, gCurrent.getEndColor(), false, false); GridData gdFCCEndColor = new GridData(GridData.FILL_HORIZONTAL); fccEndColor.setLayoutData(gdFCCEndColor); fccEndColor.addListener(this); Label lblDummy = new Label(cmpGeneral, SWT.NONE); GridData gdLBLDummy = new GridData(GridData.FILL_BOTH); lblDummy.setLayoutData(gdLBLDummy); createRotationPanel(); /* * cbCyclic = new Button(cmpContent, SWT.CHECK); GridData gdCBCyclic = new GridData(GridData.FILL_HORIZONTAL); * gdCBCyclic.horizontalSpan = 4; cbCyclic.setLayoutData(gdCBCyclic); cbCyclic.setText("Is Cyclic"); * cbCyclic.setSelection(gCurrent.isCyclic()); */ Group grpPreview = new Group(cmpContent, SWT.NONE); GridData gdGRPPreview = new GridData(GridData.FILL_BOTH); gdGRPPreview.horizontalSpan = 2; grpPreview.setLayoutData(gdGRPPreview); grpPreview.setLayout(new FillLayout()); grpPreview.setText(Messages.getString("GradientEditorDialog.Lbl.Preview")); //$NON-NLS-1$ cnvPreview = new FillCanvas(grpPreview, SWT.NO_FOCUS); cnvPreview.setFill(gCurrent); GridLayout glButtons = new GridLayout(); glButtons.numColumns = 2; glButtons.horizontalSpacing = 5; glButtons.verticalSpacing = 5; glButtons.marginHeight = 2; glButtons.marginWidth = 7; cmpButtons = new Composite(cmpContent, SWT.NONE); GridData gdCMPButtons = new GridData(GridData.FILL_HORIZONTAL); gdCMPButtons.horizontalSpan = 4; cmpButtons.setLayoutData(gdCMPButtons); cmpButtons.setLayout(glButtons); btnAccept = new Button(cmpButtons, SWT.PUSH); GridData gdBTNAccept = new GridData(GridData.FILL_HORIZONTAL | GridData.HORIZONTAL_ALIGN_END); gdBTNAccept.grabExcessHorizontalSpace = true; btnAccept.setLayoutData(gdBTNAccept); btnAccept.setText(Messages.getString("Shared.Lbl.OK")); //$NON-NLS-1$ btnAccept.addSelectionListener(this); btnCancel = new Button(cmpButtons, SWT.PUSH); GridData gdBTNCancel = new GridData(GridData.HORIZONTAL_ALIGN_END); gdBTNCancel.grabExcessHorizontalSpace = false; btnCancel.setLayoutData(gdBTNCancel); btnCancel.setText(Messages.getString("Shared.Lbl.Cancel")); //$NON-NLS-1$ btnCancel.addSelectionListener(this); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c60a4815037b62e9358af2625eb6236e7c979d0f/GradientEditorDialog.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/GradientEditorDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3166, 7171, 1435, 565, 288, 3639, 7145, 3744, 5118, 1350, 273, 394, 7145, 3744, 5621, 3639, 5118, 1350, 18, 2107, 3380, 273, 576, 31, 3639, 5118, 1350, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 1350, 18, 17824, 18006, 273, 1381, 31, 3639, 9411, 1350, 273, 394, 14728, 12, 10304, 16, 348, 8588, 18, 9826, 1769, 3639, 9411, 1350, 18, 542, 3744, 12, 7043, 1350, 1769, 3639, 7145, 3744, 5118, 12580, 273, 394, 7145, 3744, 5621, 3639, 5118, 1350, 18, 2107, 3380, 273, 576, 31, 3639, 5118, 1350, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 1350, 18, 17824, 18006, 273, 1381, 31, 3639, 9411, 12580, 273, 394, 14728, 12, 9625, 1350, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 751, 15551, 39, 4566, 12580, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 9411, 12580, 18, 542, 3744, 751, 12, 19016, 39, 4566, 12580, 1769, 3639, 9411, 12580, 18, 542, 3744, 12, 7043, 12580, 1769, 3639, 5287, 14284, 1685, 2957, 273, 394, 5287, 12, 9625, 12580, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 751, 15551, 12995, 48, 1685, 2957, 273, 394, 7145, 751, 5621, 3639, 14284, 1685, 2957, 18, 542, 3744, 751, 12, 19016, 12995, 48, 1685, 2957, 1769, 3639, 14284, 1685, 2957, 18, 542, 1528, 12, 5058, 18, 588, 780, 2932, 15651, 6946, 6353, 18, 48, 3083, 18, 1685, 2957, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 284, 952, 1685, 2957, 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, 918, 3166, 7171, 1435, 565, 288, 3639, 7145, 3744, 5118, 1350, 273, 394, 7145, 3744, 5621, 3639, 5118, 1350, 18, 2107, 3380, 273, 576, 31, 3639, 5118, 1350, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 1350, 18, 17824, 18006, 273, 1381, 31, 3639, 9411, 1350, 273, 394, 14728, 12, 10304, 16, 348, 8588, 18, 9826, 1769, 3639, 9411, 1350, 18, 542, 3744, 12, 7043, 1350, 1769, 3639, 7145, 3744, 5118, 12580, 273, 394, 7145, 3744, 5621, 3639, 5118, 1350, 18, 2107, 3380, 273, 576, 31, 3639, 5118, 1350, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 1350, 18, 17824, 18006, 273, 1381, 31, 3639, 9411, 12580, 273, 394, 14728, 12, 9625, 1350, 16, 348, 8588, 18, 2 ]
else if( DiagnosisUtils.containsInCausality(pce, ComponentConfigurationException.class ) )
else if ( DiagnosisUtils.containsInCausality( pce, ComponentConfigurationException.class ) )
public String diagnose( Throwable error ) { PluginConfigurationException pce = (PluginConfigurationException) DiagnosisUtils.getFromCausality(error, PluginConfigurationException.class ); if ( pce instanceof PluginParameterException ) { PluginParameterException exception = (PluginParameterException) pce; return buildParameterDiagnosticMessage( exception ); } else if( DiagnosisUtils.containsInCausality(pce, ComponentConfigurationException.class ) ) { ComponentConfigurationException cce = (ComponentConfigurationException) DiagnosisUtils.getFromCausality( pce, ComponentConfigurationException.class ); return buildInvalidPluginConfigurationDiagnosisMessage( cce ); } else { return pce.getMessage(); } }
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/63b3f71f6d4ab4ca0093d626eb5551c5c567120a/PluginConfigurationDiagnoser.java/clean/maven-core/src/main/java/org/apache/maven/usability/PluginConfigurationDiagnoser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6643, 2135, 307, 12, 4206, 555, 262, 565, 288, 3639, 6258, 10737, 293, 311, 273, 261, 3773, 10737, 13, 14539, 18050, 291, 1989, 18, 588, 1265, 23508, 407, 7919, 12, 1636, 16, 6258, 10737, 18, 1106, 11272, 7734, 309, 261, 293, 311, 1276, 6258, 14819, 262, 3639, 288, 5411, 6258, 14819, 1520, 273, 261, 3773, 14819, 13, 293, 311, 31, 5411, 327, 1361, 1662, 26836, 1079, 12, 1520, 11272, 3639, 289, 3639, 469, 309, 261, 14539, 18050, 291, 1989, 18, 12298, 382, 23508, 407, 7919, 12, 293, 311, 16, 5435, 10737, 18, 1106, 262, 262, 3639, 288, 5411, 5435, 10737, 276, 311, 273, 261, 1841, 10737, 13, 14539, 18050, 291, 1989, 18, 588, 1265, 23508, 407, 7919, 12, 293, 311, 16, 5435, 10737, 18, 1106, 11272, 5411, 327, 1361, 1941, 3773, 1750, 14058, 18050, 291, 1079, 12, 276, 311, 11272, 3639, 289, 3639, 469, 3639, 288, 5411, 327, 293, 311, 18, 24906, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6643, 2135, 307, 12, 4206, 555, 262, 565, 288, 3639, 6258, 10737, 293, 311, 273, 261, 3773, 10737, 13, 14539, 18050, 291, 1989, 18, 588, 1265, 23508, 407, 7919, 12, 1636, 16, 6258, 10737, 18, 1106, 11272, 7734, 309, 261, 293, 311, 1276, 6258, 14819, 262, 3639, 288, 5411, 6258, 14819, 1520, 273, 261, 3773, 14819, 13, 293, 311, 31, 5411, 327, 1361, 1662, 26836, 1079, 12, 1520, 11272, 3639, 289, 3639, 469, 309, 261, 14539, 18050, 291, 1989, 18, 12298, 382, 23508, 407, 7919, 12, 293, 311, 16, 5435, 10737, 18, 1106, 262, 262, 3639, 288, 5411, 5435, 10737, 276, 311, 273, 261, 1841, 10737, 13, 14539, 18050, 291, 1989, 18, 588, 1265, 23508, 407, 2 ]
om.setReplySelector(new Selector(tunnel, payloadMessage.getUniqueId(), count+1));
om.setReplySelector(new Selector(tunnel, payloadMessage.getUniqueId()));
private void sendTestMessage(LoadTestTunnelConfig tunnel, long count) { if (_context.clock().now() > tunnel.getExpiration()) return; RouterInfo target = _context.netDb().lookupRouterInfoLocally(tunnel.getPeer(0)); if (target == null) { log(tunnel, "lookup failed"); return; } I2NPMessage payloadMessage = createPayloadMessage(); TunnelGatewayMessage tm = new TunnelGatewayMessage(_context); tm.setMessage(payloadMessage); tm.setTunnelId(tunnel.getReceiveTunnelId(0)); tm.setMessageExpiration(payloadMessage.getMessageExpiration()); OutNetMessage om = new OutNetMessage(_context); om.setMessage(tm); SendAgain failed = new SendAgain(_context, tunnel, payloadMessage.getUniqueId(), false, count+1); om.setOnFailedReplyJob(failed); om.setOnReplyJob(new SendAgain(_context, tunnel, payloadMessage.getUniqueId(), true, count+1)); //om.setOnFailedSendJob(failed); om.setReplySelector(new Selector(tunnel, payloadMessage.getUniqueId(), count+1)); om.setTarget(target); om.setExpiration(tm.getMessageExpiration()); om.setPriority(40); _context.outNetMessagePool().add(om); //log(tunnel, m.getMessageId() + " sent"); }
3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/6e5114a4c232e998c2704601068a7485569315bf/LoadTestManager.java/clean/router/java/src/net/i2p/router/LoadTestManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 4709, 1079, 12, 2563, 4709, 20329, 809, 14825, 16, 1525, 1056, 13, 288, 3639, 309, 261, 67, 2472, 18, 18517, 7675, 3338, 1435, 405, 14825, 18, 588, 12028, 10756, 5411, 327, 31, 3639, 9703, 966, 1018, 273, 389, 2472, 18, 2758, 4331, 7675, 8664, 8259, 966, 1333, 1230, 12, 19878, 18, 588, 6813, 12, 20, 10019, 3639, 309, 261, 3299, 422, 446, 13, 288, 5411, 613, 12, 19878, 16, 315, 8664, 2535, 8863, 5411, 327, 31, 3639, 289, 7734, 467, 22, 23430, 1079, 2385, 1079, 273, 752, 6110, 1079, 5621, 7734, 399, 8564, 5197, 1079, 6118, 273, 394, 399, 8564, 5197, 1079, 24899, 2472, 1769, 3639, 6118, 18, 542, 1079, 12, 7648, 1079, 1769, 3639, 6118, 18, 542, 20329, 548, 12, 19878, 18, 588, 11323, 20329, 548, 12, 20, 10019, 3639, 6118, 18, 542, 1079, 12028, 12, 7648, 1079, 18, 24906, 12028, 10663, 7734, 2976, 7308, 1079, 8068, 273, 394, 2976, 7308, 1079, 24899, 2472, 1769, 3639, 8068, 18, 542, 1079, 12, 16925, 1769, 3639, 2479, 23530, 2535, 273, 394, 2479, 23530, 24899, 2472, 16, 14825, 16, 2385, 1079, 18, 588, 24174, 9334, 629, 16, 1056, 15, 21, 1769, 3639, 8068, 18, 542, 1398, 2925, 7817, 2278, 12, 7307, 1769, 3639, 8068, 18, 542, 1398, 7817, 2278, 12, 2704, 2479, 23530, 24899, 2472, 16, 14825, 16, 2385, 1079, 18, 588, 24174, 9334, 638, 16, 1056, 15, 21, 10019, 3639, 368, 362, 18, 542, 1398, 2925, 3826, 2278, 12, 7307, 1769, 3639, 8068, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 4709, 1079, 12, 2563, 4709, 20329, 809, 14825, 16, 1525, 1056, 13, 288, 3639, 309, 261, 67, 2472, 18, 18517, 7675, 3338, 1435, 405, 14825, 18, 588, 12028, 10756, 5411, 327, 31, 3639, 9703, 966, 1018, 273, 389, 2472, 18, 2758, 4331, 7675, 8664, 8259, 966, 1333, 1230, 12, 19878, 18, 588, 6813, 12, 20, 10019, 3639, 309, 261, 3299, 422, 446, 13, 288, 5411, 613, 12, 19878, 16, 315, 8664, 2535, 8863, 5411, 327, 31, 3639, 289, 7734, 467, 22, 23430, 1079, 2385, 1079, 273, 752, 6110, 1079, 5621, 7734, 399, 8564, 5197, 1079, 6118, 273, 394, 399, 8564, 5197, 1079, 24899, 2472, 1769, 3639, 6118, 18, 542, 1079, 12, 7648, 1079, 1769, 3639, 2 ]
sql += " AND n.nspname = '"+escapeQuotes(schema.toLowerCase())+"' ";
sql += " AND n.nspname = '"+escapeQuotes(schema)+"' ";
public java.sql.ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException { Field f[] = new Field[8]; Vector v = new Vector(); if (table == null) table = "%"; if (columnNamePattern == null) columnNamePattern = "%"; else columnNamePattern = columnNamePattern.toLowerCase(); f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, getMaxNameLength()); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, getMaxNameLength()); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, getMaxNameLength()); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, getMaxNameLength()); f[4] = new Field(connection, "GRANTOR", iVarcharOid, getMaxNameLength()); f[5] = new Field(connection, "GRANTEE", iVarcharOid, getMaxNameLength()); f[6] = new Field(connection, "PRIVILEGE", iVarcharOid, getMaxNameLength()); f[7] = new Field(connection, "IS_GRANTABLE", iVarcharOid, getMaxNameLength()); String sql; if (connection.haveMinimumServerVersion("7.3")) { sql = "SELECT n.nspname,c.relname,u.usename,c.relacl,a.attname "+ " FROM pg_catalog.pg_namespace n, pg_catalog.pg_class c, pg_catalog.pg_user u, pg_catalog.pg_attribute a "+ " WHERE c.relnamespace = n.oid "+ " AND u.usesysid = c.relowner "+ " AND c.oid = a.attrelid "+ " AND c.relkind = 'r' "+ " AND a.attnum > 0 AND NOT a.attisdropped "; if (schema != null && !"".equals(schema)) { sql += " AND n.nspname = '"+escapeQuotes(schema.toLowerCase())+"' "; } } else { sql = "SELECT NULL::text AS nspname,c.relname,u.usename,c.relacl,a.attname "+ "FROM pg_class c, pg_user u,pg_attribute a "+ " WHERE u.usesysid = c.relowner "+ " AND c.oid = a.attrelid "+ " AND a.attnum > 0 "+ " AND c.relkind = 'r' "; } sql += " AND c.relname = '"+escapeQuotes(table.toLowerCase())+"' "; if (columnNamePattern != null && !"".equals(columnNamePattern)) { sql += " AND a.attname LIKE '"+escapeQuotes(columnNamePattern.toLowerCase())+"' "; } sql += " ORDER BY attname "; ResultSet rs = connection.createStatement().executeQuery(sql); while (rs.next()) { byte schemaName[] = rs.getBytes("nspname"); byte tableName[] = rs.getBytes("relname"); byte column[] = rs.getBytes("attname"); String owner = rs.getString("usename"); String acl = rs.getString("relacl"); Hashtable permissions = parseACL(acl); String permNames[] = new String[permissions.size()]; Enumeration e = permissions.keys(); int i=0; while (e.hasMoreElements()) { permNames[i++] = (String)e.nextElement(); } sortStringArray(permNames); for (i=0; i<permNames.length; i++) { byte[] privilege = permNames[i].getBytes(); Vector grantees = (Vector)permissions.get(permNames[i]); for (int j=0; j<grantees.size(); j++) { String grantee = (String)grantees.elementAt(j); String grantable = owner.equals(grantee) ? "YES" : "NO"; byte[][] tuple = new byte[8][]; tuple[0] = null; tuple[1] = schemaName; tuple[2] = tableName; tuple[3] = column; tuple[4] = owner.getBytes(); tuple[5] = grantee.getBytes(); tuple[6] = privilege; tuple[7] = grantable.getBytes(); v.addElement(tuple); } } } rs.close(); return connection.getResultSet(null, f, v, "OK", 1); }
46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/fdf6b4ff936167388fc18276cbcf88c54dd0d3b7/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, 6716, 27692, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 16, 514, 7578, 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, 2121, 422, 446, 13, 1082, 202, 2121, 273, 2213, 14432, 202, 202, 430, 261, 2827, 461, 3234, 422, 446, 13, 1082, 202, 2827, 461, 3234, 273, 2213, 14432, 202, 202, 12107, 1082, 202, 2827, 461, 3234, 273, 7578, 3234, 18, 869, 5630, 5621, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 6997, 6856, 916, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 6997, 1258, 1448, 41, 3113, 277, 58, 22483, 19105, 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, 6716, 27692, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 16, 514, 7578, 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, 2121, 422, 446, 13, 1082, 202, 2121, 273, 2213, 14432, 202, 202, 430, 261, 2827, 461, 3234, 422, 446, 13, 1082, 202, 2827, 461, 3234, 273, 2213, 14432, 202, 202, 12107, 1082, 202, 2827, 461, 3234, 273, 7578, 3234, 18, 869, 5630, 5621, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 2 ]
DatatypeValidator dv = (DatatypeValidator)attrDecl.fType;
XSSimpleType dv = (XSSimpleType)attrDecl.fType;
public void checkNonSchemaAttributes(XSGrammarResolver grammarResolver) { // for all attributes Enumeration enum = fNonSchemaAttrs.keys(); XSAttributeDecl attrDecl; while (enum.hasMoreElements()) { // get name, uri, localpart String attrRName = (String)enum.nextElement(); String attrURI = attrRName.substring(0,attrRName.indexOf(',')); String attrLocal = attrRName.substring(attrRName.indexOf(',')+1); // find associated grammar SchemaGrammar sGrammar = grammarResolver.getGrammar(attrURI); if (sGrammar == null) continue; // and get the datatype validator, if there is one attrDecl = sGrammar.getGlobalAttributeDecl(attrLocal); if (attrDecl == null) continue; DatatypeValidator dv = (DatatypeValidator)attrDecl.fType; if (dv == null) continue; // get all values appeared with this attribute name Vector values = (Vector)fNonSchemaAttrs.get(attrRName); String elName, attrVal; String attrName = (String)values.elementAt(0); // for each of the values int count = values.size(); for (int i = 1; i < count; i += 2) { // normalize it according to the whiteSpace facet elName = (String)values.elementAt(i); attrVal = normalize((String)values.elementAt(i+1), dv.getWSFacet()); try { // and validate it using the DatatypeValidator // REVISIT: what would be the proper validation context? // guess we need to save that in the vectors too. dv.validate(attrVal, null); } catch(InvalidDatatypeValueException ide) { reportSchemaError ("s4s-att-invalid-value", new Object[] {elName, attrName, ide.getLocalizedMessage()}); } } }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/5b0cf65d1d2e090172d69189c96c522d6a30ac2c/XSAttributeChecker.java/buggy/src/org/apache/xerces/impl/xs/traversers/XSAttributeChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 866, 3989, 3078, 2498, 12, 60, 55, 18576, 4301, 6473, 4301, 13, 288, 3639, 368, 364, 777, 1677, 3639, 13864, 2792, 273, 284, 3989, 3078, 8262, 18, 2452, 5621, 3639, 1139, 55, 1499, 3456, 1604, 3456, 31, 3639, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 288, 5411, 368, 336, 508, 16, 2003, 16, 1191, 2680, 5411, 514, 1604, 54, 461, 273, 261, 780, 13, 7924, 18, 4285, 1046, 5621, 5411, 514, 1604, 3098, 273, 1604, 54, 461, 18, 28023, 12, 20, 16, 1747, 54, 461, 18, 31806, 12, 2187, 6134, 1769, 5411, 514, 1604, 2042, 273, 1604, 54, 461, 18, 28023, 12, 1747, 54, 461, 18, 31806, 12, 2187, 6134, 15, 21, 1769, 5411, 368, 1104, 3627, 6473, 5411, 4611, 18576, 272, 18576, 273, 6473, 4301, 18, 588, 18576, 12, 1747, 3098, 1769, 5411, 309, 261, 87, 18576, 422, 446, 13, 7734, 1324, 31, 5411, 368, 471, 336, 326, 11172, 4213, 16, 309, 1915, 353, 1245, 5411, 1604, 3456, 273, 272, 18576, 18, 588, 5160, 1499, 3456, 12, 1747, 2042, 1769, 5411, 309, 261, 1747, 3456, 422, 446, 13, 7734, 1324, 31, 5411, 1139, 1260, 2052, 559, 12494, 273, 261, 60, 1260, 2052, 559, 13, 1747, 3456, 18, 74, 559, 31, 5411, 309, 261, 15679, 422, 446, 13, 7734, 1324, 31, 5411, 368, 336, 777, 924, 7226, 2258, 598, 333, 1566, 508, 5411, 5589, 924, 273, 261, 5018, 13, 74, 3989, 3078, 8262, 18, 588, 12, 1747, 54, 461, 1769, 5411, 514, 415, 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, 866, 3989, 3078, 2498, 12, 60, 55, 18576, 4301, 6473, 4301, 13, 288, 3639, 368, 364, 777, 1677, 3639, 13864, 2792, 273, 284, 3989, 3078, 8262, 18, 2452, 5621, 3639, 1139, 55, 1499, 3456, 1604, 3456, 31, 3639, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 288, 5411, 368, 336, 508, 16, 2003, 16, 1191, 2680, 5411, 514, 1604, 54, 461, 273, 261, 780, 13, 7924, 18, 4285, 1046, 5621, 5411, 514, 1604, 3098, 273, 1604, 54, 461, 18, 28023, 12, 20, 16, 1747, 54, 461, 18, 31806, 12, 2187, 6134, 1769, 5411, 514, 1604, 2042, 273, 1604, 54, 461, 18, 28023, 12, 1747, 54, 461, 18, 31806, 12, 2187, 6134, 15, 21, 1769, 5411, 368, 2 ]
"depth=2 pointer/array types with non-integral target " + "types [debug info: targetType=\"" + targetType + "\"]");
"depth=2 pointer/array types [debug info: targetType=\"" + targetType + "\"]");
private JavaType typeToJavaType(Type cType, boolean outgoingArgument) { // Recognize JNIEnv* case up front PointerType opt = cType.asPointer(); if ((opt != null) && (opt.getTargetType().getName() != null) && (opt.getTargetType().getName().equals("JNIEnv"))) { return JavaType.createForJNIEnv(); } // Opaque specifications override automatic conversions TypeInfo info = cfg.typeInfo(cType, typedefDictionary); if (info != null) { return info.javaType(); } Type t = cType; if (t.isInt() || t.isEnum()) { switch (t.getSize()) { case 1: return javaType(Byte.TYPE); case 2: return javaType(Short.TYPE); case 4: return javaType(Integer.TYPE); case 8: return javaType(Long.TYPE); default: throw new RuntimeException("Unknown integer type of size " + t.getSize() + " and name " + t.getName()); } } else if (t.isFloat()) { return javaType(Float.TYPE); } else if (t.isDouble()) { return javaType(Double.TYPE); } else if (t.isVoid()) { return javaType(Void.TYPE); } else { if (t.pointerDepth() > 0 || arrayDimension(t) > 0) { Type targetType; // target type if (t.isPointer()) { // t is <type>*, we need to get <type> targetType = t.asPointer().getTargetType(); } else { // t is <type>[], we need to get <type> targetType = t.asArray().getElementType(); } // Handle Types of form pointer-to-type or array-of-type, like // char* or int[]; these are expanded out into Java primitive // arrays, NIO buffers, or both in expandMethodBinding if (t.pointerDepth() == 1 || arrayDimension(t) == 1) { if (targetType.isVoid()) { return JavaType.createForVoidPointer(); } else if (targetType.isInt()) { switch (targetType.getSize()) { case 1: return JavaType.createForCCharPointer(); case 2: return JavaType.createForCShortPointer(); case 4: return JavaType.createForCInt32Pointer(); case 8: return JavaType.createForCInt64Pointer(); default: throw new RuntimeException("Unknown integer array type of size " + t.getSize() + " and name " + t.getName()); } } else if (targetType.isFloat()) { return JavaType.createForCFloatPointer(); } else if (targetType.isDouble()) { return JavaType.createForCDoublePointer(); } else if (targetType.isCompound()) { if (t.isArray()) { throw new RuntimeException("Arrays of compound types not handled yet"); } // Special cases for known JNI types (in particular for converting jawt.h) if (t.getName() != null && t.getName().equals("jobject")) { return javaType(java.lang.Object.class); } String name = targetType.getName(); if (name == null) { // Try containing pointer type for any typedefs name = t.getName(); if (name == null) { throw new RuntimeException("Couldn't find a proper type name for pointer type " + t); } } return JavaType.createForCStruct(cfg.renameJavaType(name)); } else { throw new RuntimeException("Don't know how to convert pointer/array type \"" + t + "\""); } } // Handle Types of form pointer-to-pointer-to-type or // array-of-arrays-of-type, like char** or int[][] else if (t.pointerDepth() == 2 || arrayDimension(t) == 2) { // Get the target type of the target type (targetType was computer earlier // as to be a pointer to the target type, so now we need to get its // target type) Type bottomType; if (targetType.isPointer()) { // t is<type>**, targetType is <type>*, we need to get <type> bottomType = targetType.asPointer().getTargetType(); } else { // t is<type>[][], targetType is <type>[], we need to get <type> bottomType = targetType.asArray().getElementType(); } if (bottomType.isInt()) { switch (bottomType.getSize()) { case 1: return javaType(ArrayTypes.byteArrayArrayClass); // FIXME: handle 2,4,8-byte int types here default: throw new RuntimeException( "Could not convert C type \"" + t + "\" to appropriate " + "Java type; Currently, the only supported depth=2 " + "pointer/array integer types are \"char**\" and \"char[][]\""); } } else if (targetType.isPointer() && (targetType.pointerDepth() == 1)) { // Array of pointers; convert as array of StructAccessors return JavaType.createForCArray(targetType); } else { throw new RuntimeException( "Could not convert C type \"" + t + "\" " + "to appropriate Java type; need to add more support for " + "depth=2 pointer/array types with non-integral target " + "types [debug info: targetType=\"" + targetType + "\"]"); } } else { // can't handle this type of pointer/array argument throw new RuntimeException( "Could not convert C pointer/array \"" + t + "\" to " + "appropriate Java type; types with pointer/array depth " + "greater than 2 are not yet supported [debug info: " + "pointerDepth=" + t.pointerDepth() + " arrayDimension=" + arrayDimension(t) + " targetType=\"" + targetType + "\"]"); } } else { throw new RuntimeException( "Could not convert C type \"" + t + "\" to appropriate Java type; "); } } }
47282 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47282/4b93bb531605fa082bdad6452d3e6a51cbb15bed/JavaEmitter.java/buggy/src/net/java/games/gluegen/JavaEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 5110, 559, 618, 774, 31819, 12, 559, 276, 559, 16, 1250, 12902, 1379, 13, 288, 565, 368, 7776, 4198, 554, 804, 50, 45, 3491, 14, 648, 731, 6641, 565, 7107, 559, 2153, 273, 276, 559, 18, 345, 4926, 5621, 565, 309, 14015, 3838, 480, 446, 13, 597, 3639, 261, 3838, 18, 588, 2326, 559, 7675, 17994, 1435, 480, 446, 13, 597, 3639, 261, 3838, 18, 588, 2326, 559, 7675, 17994, 7675, 14963, 2932, 46, 50, 45, 3491, 6, 20349, 288, 1377, 327, 5110, 559, 18, 2640, 1290, 46, 50, 45, 3491, 5621, 565, 289, 565, 368, 6066, 14886, 21950, 3849, 5859, 22586, 565, 1412, 966, 1123, 273, 2776, 18, 723, 966, 12, 71, 559, 16, 618, 536, 10905, 1769, 565, 309, 261, 1376, 480, 446, 13, 288, 1377, 327, 1123, 18, 6290, 559, 5621, 565, 289, 565, 1412, 268, 273, 276, 559, 31, 565, 309, 261, 88, 18, 291, 1702, 1435, 747, 268, 18, 291, 3572, 10756, 288, 1377, 1620, 261, 88, 18, 588, 1225, 10756, 288, 4202, 648, 404, 30, 225, 327, 29877, 12, 3216, 18, 2399, 1769, 4202, 648, 576, 30, 225, 327, 29877, 12, 4897, 18, 2399, 1769, 4202, 648, 1059, 30, 225, 327, 29877, 12, 4522, 18, 2399, 1769, 4202, 648, 1725, 30, 225, 327, 29877, 12, 3708, 18, 2399, 1769, 4202, 805, 30, 604, 394, 3235, 2932, 4874, 3571, 618, 434, 963, 315, 397, 4766, 6647, 268, 18, 588, 1225, 1435, 397, 315, 471, 508, 315, 397, 268, 18, 17994, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 5110, 559, 618, 774, 31819, 12, 559, 276, 559, 16, 1250, 12902, 1379, 13, 288, 565, 368, 7776, 4198, 554, 804, 50, 45, 3491, 14, 648, 731, 6641, 565, 7107, 559, 2153, 273, 276, 559, 18, 345, 4926, 5621, 565, 309, 14015, 3838, 480, 446, 13, 597, 3639, 261, 3838, 18, 588, 2326, 559, 7675, 17994, 1435, 480, 446, 13, 597, 3639, 261, 3838, 18, 588, 2326, 559, 7675, 17994, 7675, 14963, 2932, 46, 50, 45, 3491, 6, 20349, 288, 1377, 327, 5110, 559, 18, 2640, 1290, 46, 50, 45, 3491, 5621, 565, 289, 565, 368, 6066, 14886, 21950, 3849, 5859, 22586, 565, 1412, 966, 1123, 273, 2776, 18, 723, 966, 12, 71, 559, 16, 618, 536, 2 ]
IWorkbenchPage page = getSite().getPage(); page.addPartListener(partListener); page.addPropertyChangeListener(propertyChangeListener);
getSite().getPage().addPartListener(partListener); IWorkingSetManager workingSetManager = getPlugin().getWorkbench().getWorkingSetManager(); workingSetManager.addPropertyChangeListener(propertyChangeListener);
public void createPartControl(Composite parent) { viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); // initDrillDownAdapter(viewer); viewer.setUseHashlookup(true); viewer.setContentProvider(new WorkbenchContentProvider()); viewer.setLabelProvider( new CombinedDecoratingLabelProvider( new WorkbenchLabelProvider(), getPlugin().getWorkbench().getDecoratorManager())); viewer.addFilter(this.patternFilter); viewer.addFilter(workingSetFilter); IWorkingSet workingSet = getSite().getPage().getWorkingSet(); if (workingSet != null) { workingSetFilter.setWorkingSet(workingSet); } IWorkingSetManager workingSetManager = getPlugin().getWorkbench().getWorkingSetManager(); workingSetManager.addPropertyChangeListener(propertyChangeListener); if (memento != null) restoreFilters(); viewer.setInput(getInitialInput()); initFrameList(); initDragAndDrop(); updateTitle(); MenuManager menuMgr = new MenuManager("#PopupMenu"); //$NON-NLS-1$ menuMgr.setRemoveAllWhenShown(true); menuMgr.addMenuListener(new IMenuListener() { public void menuAboutToShow(IMenuManager manager) { ResourceNavigator.this.fillContextMenu(manager); } }); Menu menu = menuMgr.createContextMenu(viewer.getTree()); viewer.getTree().setMenu(menu); getSite().registerContextMenu(menuMgr, viewer); makeActions(); initResourceSorter(); // Fill the action bars and update the global action handlers' // enabled state to match the current selection. actionGroup.fillActionBars(getViewSite().getActionBars()); updateActionBars((IStructuredSelection) viewer.getSelection()); viewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { handleSelectionChanged(event); } }); viewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { handleDoubleClick(event); } }); viewer.addOpenListener(new IOpenListener() { public void open(OpenEvent event) { handleOpen(event); } }); viewer.getControl().addKeyListener(new KeyListener() { public void keyPressed(KeyEvent event) { handleKeyPressed(event); } public void keyReleased(KeyEvent event) { handleKeyReleased(event); } }); getSite().setSelectionProvider(viewer); IWorkbenchPage page = getSite().getPage(); page.addPartListener(partListener); page.addPropertyChangeListener(propertyChangeListener); if (memento != null) restoreState(memento); memento = null; // Set help for the view WorkbenchHelp.setHelp( viewer.getControl(), INavigatorHelpContextIds.RESOURCE_VIEW); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/7568c5be42cde6e5059b5558f04f51587e1941c7/ResourceNavigator.java/buggy/bundles/org.eclipse.ui/Eclipse UI Standard Components/org/eclipse/ui/views/navigator/ResourceNavigator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 202, 202, 25256, 273, 394, 4902, 18415, 12, 2938, 16, 348, 8588, 18, 26588, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 58, 67, 2312, 14555, 1769, 202, 202, 759, 202, 2738, 8956, 737, 4164, 4216, 12, 25256, 1769, 202, 202, 25256, 18, 542, 3727, 2310, 8664, 12, 3767, 1769, 202, 202, 25256, 18, 542, 1350, 2249, 12, 2704, 4147, 22144, 1350, 2249, 10663, 202, 202, 25256, 18, 542, 2224, 2249, 12, 1082, 202, 2704, 27301, 7859, 1776, 2224, 2249, 12, 9506, 202, 2704, 4147, 22144, 2224, 2249, 9334, 4697, 202, 588, 3773, 7675, 588, 2421, 22144, 7675, 588, 10361, 1318, 1435, 10019, 202, 202, 25256, 18, 1289, 1586, 12, 2211, 18, 4951, 1586, 1769, 202, 202, 25256, 18, 1289, 1586, 12, 20478, 694, 1586, 1769, 9506, 202, 45, 14836, 694, 5960, 694, 273, 11021, 7675, 588, 1964, 7675, 588, 14836, 694, 5621, 202, 202, 430, 261, 20478, 694, 480, 446, 13, 288, 1082, 202, 20478, 694, 1586, 18, 542, 14836, 694, 12, 20478, 694, 1769, 9506, 202, 97, 9506, 202, 45, 14836, 694, 1318, 5960, 694, 1318, 273, 16319, 7675, 588, 2421, 22144, 7675, 588, 14836, 694, 1318, 5621, 202, 202, 20478, 694, 1318, 18, 1289, 1396, 15744, 12, 4468, 15744, 1769, 25083, 202, 430, 261, 81, 820, 83, 480, 446, 13, 1082, 202, 13991, 5422, 5621, 202, 202, 25256, 18, 542, 1210, 12, 588, 4435, 1210, 10663, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 202, 202, 25256, 273, 394, 4902, 18415, 12, 2938, 16, 348, 8588, 18, 26588, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 58, 67, 2312, 14555, 1769, 202, 202, 759, 202, 2738, 8956, 737, 4164, 4216, 12, 25256, 1769, 202, 202, 25256, 18, 542, 3727, 2310, 8664, 12, 3767, 1769, 202, 202, 25256, 18, 542, 1350, 2249, 12, 2704, 4147, 22144, 1350, 2249, 10663, 202, 202, 25256, 18, 542, 2224, 2249, 12, 1082, 202, 2704, 27301, 7859, 1776, 2224, 2249, 12, 9506, 202, 2704, 4147, 22144, 2224, 2249, 9334, 4697, 202, 588, 3773, 7675, 588, 2421, 22144, 7675, 588, 10361, 1318, 1435, 10019, 2 ]
os.close();
private Bucket finalStatus() throws FetchException { long finalLength = 0; for(int i=0;i<segments.length;i++) { Segment s = segments[i]; if(!s.isFinished()) throw new IllegalStateException("Not all finished"); s.throwError(); // If still here, it succeeded finalLength += s.decodedLength(); // Healing is done by Segment } if(finalLength > overrideLength) finalLength = overrideLength; long bytesWritten = 0; OutputStream os = null; Bucket output; try { output = fctx.bucketFactory.makeBucket(finalLength); os = output.getOutputStream(); for(int i=0;i<segments.length;i++) { Segment s = segments[i]; long max = (finalLength < 0 ? 0 : (finalLength - bytesWritten)); bytesWritten += s.writeDecodedDataTo(os, max); } os.close(); } catch (IOException e) { throw new FetchException(FetchException.BUCKET_ERROR, e); } finally { if(os != null) { try { os.close(); } catch (IOException e) { throw new FetchException(FetchException.BUCKET_ERROR, e); } } } return output; }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/af2c9cadeeb5a77a30e419e368b03aefdf7c4819/SplitFetcher.java/buggy/src/freenet/client/SplitFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 7408, 727, 1482, 1435, 1216, 8065, 503, 288, 202, 202, 5748, 727, 1782, 273, 374, 31, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 12838, 18, 2469, 31, 77, 27245, 288, 1082, 202, 4131, 272, 273, 5155, 63, 77, 15533, 1082, 202, 430, 12, 5, 87, 18, 291, 10577, 10756, 604, 394, 5477, 2932, 1248, 777, 6708, 8863, 1082, 202, 87, 18, 12849, 668, 5621, 1082, 202, 759, 971, 4859, 2674, 16, 518, 15784, 1082, 202, 6385, 1782, 1011, 272, 18, 26646, 1782, 5621, 1082, 202, 759, 8264, 287, 310, 353, 2731, 635, 10807, 202, 202, 97, 202, 202, 430, 12, 6385, 1782, 405, 3849, 1782, 13, 1082, 202, 6385, 1782, 273, 3849, 1782, 31, 9506, 202, 5748, 25848, 273, 374, 31, 202, 202, 4632, 1140, 273, 446, 31, 202, 202, 4103, 876, 31, 202, 202, 698, 288, 1082, 202, 2844, 273, 284, 5900, 18, 7242, 1733, 18, 6540, 4103, 12, 6385, 1782, 1769, 1082, 202, 538, 273, 876, 18, 588, 4632, 5621, 1082, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 12838, 18, 2469, 31, 77, 27245, 288, 9506, 202, 4131, 272, 273, 5155, 63, 77, 15533, 9506, 202, 5748, 943, 273, 261, 6385, 1782, 411, 374, 692, 374, 294, 261, 6385, 1782, 300, 25848, 10019, 9506, 202, 3890, 12643, 1011, 272, 18, 2626, 24888, 751, 774, 12, 538, 16, 943, 1769, 1082, 202, 97, 1082, 202, 538, 18, 4412, 5621, 202, 202, 97, 1044, 261, 14106, 425, 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, 7408, 727, 1482, 1435, 1216, 8065, 503, 288, 202, 202, 5748, 727, 1782, 273, 374, 31, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 12838, 18, 2469, 31, 77, 27245, 288, 1082, 202, 4131, 272, 273, 5155, 63, 77, 15533, 1082, 202, 430, 12, 5, 87, 18, 291, 10577, 10756, 604, 394, 5477, 2932, 1248, 777, 6708, 8863, 1082, 202, 87, 18, 12849, 668, 5621, 1082, 202, 759, 971, 4859, 2674, 16, 518, 15784, 1082, 202, 6385, 1782, 1011, 272, 18, 26646, 1782, 5621, 1082, 202, 759, 8264, 287, 310, 353, 2731, 635, 10807, 202, 202, 97, 202, 202, 430, 12, 6385, 1782, 405, 3849, 1782, 13, 1082, 202, 6385, 1782, 273, 3849, 2 ]
public IDMContext getDMC() { return fDmc; }
public IDMContext<?> getDMC() { return fDmc; }
public IDMContext getDMC() { return fDmc; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/94841c4ee3efc4a608afcf5de2265b440c3cf516/DMContextVMLayoutNode.java/buggy/plugins/org.eclipse.dd.dsf.ui/src/org/eclipse/dd/dsf/ui/viewmodel/DMContextVMLayoutNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1599, 49, 1042, 2343, 20022, 1435, 288, 327, 284, 40, 13952, 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, 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, 40, 13952, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
editors[2] = new ComboBoxCellEditor(viewer.getTree(), PRIORITY_LEVELS, SWT.READ_ONLY);
editors[2] = new ComboBoxCellEditor(getViewer().getTree(), PRIORITY_LEVELS, SWT.READ_ONLY);
public void createPartControl(Composite parent) { viewer = new TreeViewer(parent, SWT.VERTICAL | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.HIDE_SELECTION); viewer.getTree().setHeaderVisible(true); viewer.getTree().setLinesVisible(true); viewer.setColumnProperties(columnNames); viewer.setUseHashlookup(true); columns = new TreeColumn[columnNames.length]; for (int i = 0; i < columnNames.length; i++) { columns[i] = new TreeColumn(viewer.getTree(), 0); // SWT.LEFT columns[i].setText(columnNames[i]); columns[i].setWidth(columnWidths[i]); final int index = i; columns[i].addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { sortIndex = index; viewer.setSorter(new TaskListTableSorter(columnNames[sortIndex])); } }); columns[i].addControlListener(new ControlListener () { public void controlResized(ControlEvent e) { for (int j = 0; j < columnWidths.length; j++) { if (columns[j].equals(e.getSource())) { columnWidths[j] = columns[j].getWidth(); } } } public void controlMoved(ControlEvent e) { // don't care if the control is moved } }); } CellEditor[] editors = new CellEditor[columnNames.length]; TextCellEditor textEditor = new TextCellEditor(viewer.getTree()); ((Text) textEditor.getControl()).setOrientation(SWT.LEFT_TO_RIGHT); editors[0] = new CheckboxCellEditor(); editors[1] = textEditor; editors[2] = new ComboBoxCellEditor(viewer.getTree(), PRIORITY_LEVELS, SWT.READ_ONLY); editors[3] = textEditor; viewer.setCellEditors(editors); viewer.setCellModifier(new TaskListCellModifier()); viewer.setSorter(new TaskListTableSorter(columnNames[sortIndex])); drillDownAdapter = new DrillDownAdapter(viewer); viewer.setContentProvider(new TaskListContentProvider()); TaskListLabelProvider lp = new TaskListLabelProvider(); lp.setBackgroundColor(parent.getBackground()); viewer.setLabelProvider(lp); viewer.setInput(getViewSite()); makeActions(); hookContextMenu(); hookDoubleClickAction(); contributeToActionBars(); ToolTipHandler toolTipHandler = new ToolTipHandler(viewer.getControl().getShell()); toolTipHandler.activateHoverHelp(viewer.getControl()); initDragAndDrop(parent); expandToActiveTasks(); restoreState(); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/7473e9dc5df56c7366dde7e51203997f091ccbbc/TaskListView.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 3639, 14157, 273, 394, 4902, 18415, 12, 2938, 16, 348, 8588, 18, 21654, 10109, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 571, 348, 8588, 18, 44, 10385, 67, 1090, 15445, 1769, 3639, 14157, 18, 588, 2471, 7675, 542, 1864, 6207, 12, 3767, 1769, 3639, 14157, 18, 588, 2471, 7675, 542, 5763, 6207, 12, 3767, 1769, 3639, 14157, 18, 542, 1494, 2297, 12, 2827, 1557, 1769, 3639, 14157, 18, 542, 3727, 2310, 8664, 12, 3767, 1769, 18701, 2168, 273, 394, 4902, 1494, 63, 2827, 1557, 18, 2469, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 19975, 18, 2469, 31, 277, 27245, 288, 5411, 2168, 63, 77, 65, 273, 394, 4902, 1494, 12, 25256, 18, 588, 2471, 9334, 374, 1769, 368, 348, 8588, 18, 10066, 5411, 2168, 63, 77, 8009, 542, 1528, 12, 2827, 1557, 63, 77, 19226, 5411, 2168, 63, 77, 8009, 542, 2384, 12, 2827, 22407, 63, 77, 19226, 5411, 727, 509, 770, 273, 277, 31, 5411, 2168, 63, 77, 8009, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 2398, 202, 2398, 202, 36, 6618, 7734, 1071, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 2398, 202, 202, 3804, 1016, 273, 770, 31, 10792, 14157, 18, 542, 24952, 12, 2704, 3837, 682, 1388, 24952, 12, 2827, 1557, 63, 3804, 1016, 5717, 1769, 7734, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 3639, 14157, 273, 394, 4902, 18415, 12, 2938, 16, 348, 8588, 18, 21654, 10109, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 571, 348, 8588, 18, 44, 10385, 67, 1090, 15445, 1769, 3639, 14157, 18, 588, 2471, 7675, 542, 1864, 6207, 12, 3767, 1769, 3639, 14157, 18, 588, 2471, 7675, 542, 5763, 6207, 12, 3767, 1769, 3639, 14157, 18, 542, 1494, 2297, 12, 2827, 1557, 1769, 3639, 14157, 18, 542, 3727, 2310, 8664, 12, 3767, 1769, 18701, 2168, 273, 394, 4902, 1494, 63, 2827, 1557, 18, 2469, 15533, 3639, 364, 261, 474, 2 ]
public static void populate(Object bean, Map properties) throws IllegalAccessException, InvocationTargetException { if ((bean == null) || (properties == null)) return; if (log.isDebugEnabled()) { log.debug("BeanUtils.populate(" + bean + ", " + properties + ")"); } // Loop through the property name/value pairs to be set Iterator names = properties.keySet().iterator(); while (names.hasNext()) { // Identify the property name and value(s) to be assigned String name = (String) names.next(); if (name == null) continue; Object value = properties.get(name); // String or String[] if (log.isTraceEnabled()) { log.trace(" name='" + name + "', value.class='" + (value == null ? "NONE" : value.getClass().getName()) + "', value='" + (value == null ? "NONE" : value) + "'"); } // Get the property descriptor of the requested property (if any) PropertyDescriptor descriptor = null; DynaProperty dynaProperty = null; try { if (bean instanceof DynaBean) { dynaProperty = ((DynaBean) bean).getDynaClass().getDynaProperty(name); } else { descriptor = PropertyUtils.getPropertyDescriptor(bean, name); } } catch (Throwable t) { if (log.isTraceEnabled()) { log.trace(" getPropertyDescriptor", t); } descriptor = null; dynaProperty = null; } if ((descriptor == null) && (dynaProperty == null)) { if (log.isTraceEnabled()) { log.trace(" No such property, skipping"); } continue; } if (log.isTraceEnabled()) { if (descriptor != null) { log.trace(" Property descriptor is '" + descriptor + "'"); } else /* if (dynaProperty != null) */ { log.trace(" DynaProperty descriptor is '" + descriptor + "'"); } } // Process differently for JavaBeans and DynaBeans if (descriptor != null) { // Identify the relevant setter method (if there is one) Method setter = null; if (descriptor instanceof IndexedPropertyDescriptor) setter = ((IndexedPropertyDescriptor) descriptor). getIndexedWriteMethod(); else if (descriptor instanceof MappedPropertyDescriptor) setter = ((MappedPropertyDescriptor) descriptor).getMappedWriteMethod(); if (setter == null) setter = descriptor.getWriteMethod(); if (setter == null) { if (log.isTraceEnabled()) { log.trace(" No setter method, skipping"); } continue; } Class parameterTypes[] = setter.getParameterTypes(); if (log.isTraceEnabled()) { log.trace(" Setter method is '" + setter.getName() + "(" + parameterTypes[0].getName() + (parameterTypes.length > 1 ? ", " + parameterTypes[1].getName() : "") + ")'"); } Class parameterType = parameterTypes[0]; if (parameterTypes.length > 1) parameterType = parameterTypes[1]; // Indexed or mapped setter // Convert the parameter value as required for this setter method Object parameters[] = new Object[1]; // if (parameterTypes[0].isArray()) { if (parameterType.isArray()) { if (value instanceof String) { String values[] = new String[1]; values[0] = (String) value; parameters[0] = ConvertUtils.convert((String[]) values, parameterType); } else if (value instanceof String[]) { parameters[0] = ConvertUtils.convert((String[]) value, parameterType); } else { parameters[0] = value; } } else { if (value instanceof String) { parameters[0] = ConvertUtils.convert((String) value, parameterType); } else if (value instanceof String[]) { parameters[0] = ConvertUtils.convert(((String[]) value)[0], parameterType); } else { parameters[0] = value; } } // Invoke the setter method try { PropertyUtils.setProperty(bean, name, parameters[0]); } catch (NoSuchMethodException e) { log.error(" CANNOT HAPPEN (setProperty()): ", e); } } else /* if (dynaProperty != null) */ { // Handle scalar and indexed properties differently Object newValue = null; Class type = dynaProperty.getType(); if (type.isArray()) { if (value instanceof String) { String values[] = new String[1]; values[0] = (String) value; newValue = ConvertUtils.convert((String[]) values, type); } else if (value instanceof String[]) { newValue = ConvertUtils.convert((String[]) value, type); } else { newValue = value; } } else { if (value instanceof String) { newValue = ConvertUtils.convert((String) value, type); } else if (value instanceof String[]) { newValue = ConvertUtils.convert(((String[]) value)[0], type); } else { newValue = value; } } // Invoke the setter method try { PropertyUtils.setProperty(bean, name, newValue); } catch (NoSuchMethodException e) { log.error(" CANNOT HAPPEN (setProperty())", e); } } } }
54521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54521/88989762a3b3cf7e4fd87f1c339a3ef2ad22995d/BeanUtils.java/clean/src/java/org/apache/commons/beanutils/BeanUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 6459, 19936, 12, 921, 14496, 16, 863, 4738, 13, 15069, 12195, 9773, 16, 9267, 14950, 95, 430, 12443, 14496, 631, 2011, 14047, 96, 12, 4738, 631, 2011, 3719, 2463, 31, 430, 12, 1330, 18, 291, 2829, 1526, 10756, 95, 1330, 18, 4148, 2932, 3381, 1989, 18, 19936, 2932, 15, 14496, 15, 15937, 15, 4738, 9078, 2225, 1769, 97, 759, 1504, 83, 2397, 2642, 5787, 4468, 529, 19, 1132, 8774, 920, 947, 281, 278, 3198, 1973, 33, 4738, 18, 856, 694, 7675, 9838, 5621, 17523, 12, 1973, 18, 5332, 2134, 10756, 95, 759, 25787, 5787, 4468, 529, 464, 1132, 12, 87, 13, 869, 2196, 15938, 780, 529, 28657, 780, 13, 1973, 18, 4285, 5621, 430, 12, 529, 631, 2011, 13, 17143, 31, 921, 1132, 33, 4738, 18, 588, 12, 529, 1769, 202, 759, 780, 280, 780, 8526, 430, 12, 1330, 18, 291, 3448, 1526, 10756, 95, 1330, 18, 5129, 2932, 529, 13396, 15, 529, 9078, 2187, 1132, 18, 1106, 13396, 15, 12, 1132, 631, 2011, 7225, 9826, 6877, 1132, 18, 588, 797, 7675, 17994, 10756, 9078, 2187, 1132, 13396, 15, 12, 1132, 631, 2011, 7225, 9826, 6877, 1132, 13, 9078, 4970, 1769, 97, 759, 967, 5787, 4468, 12628, 792, 18664, 456, 329, 4468, 12, 430, 2273, 13, 1396, 40, 2086, 517, 2263, 33, 2011, 31, 10419, 69, 1396, 72, 23041, 1396, 33, 2011, 31, 698, 95, 430, 12, 14496, 1336, 792, 10419, 69, 3381, 15329, 72, 23041, 1396, 33, 12443, 10419, 69, 3381, 13, 14496, 2934, 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, 3845, 6459, 19936, 12, 921, 14496, 16, 863, 4738, 13, 15069, 12195, 9773, 16, 9267, 14950, 95, 430, 12443, 14496, 631, 2011, 14047, 96, 12, 4738, 631, 2011, 3719, 2463, 31, 430, 12, 1330, 18, 291, 2829, 1526, 10756, 95, 1330, 18, 4148, 2932, 3381, 1989, 18, 19936, 2932, 15, 14496, 15, 15937, 15, 4738, 9078, 2225, 1769, 97, 759, 1504, 83, 2397, 2642, 5787, 4468, 529, 19, 1132, 8774, 920, 947, 281, 278, 3198, 1973, 33, 4738, 18, 856, 694, 7675, 9838, 5621, 17523, 12, 1973, 18, 5332, 2134, 10756, 95, 759, 25787, 5787, 4468, 529, 464, 1132, 12, 87, 13, 869, 2196, 15938, 780, 529, 28657, 780, 13, 1973, 18, 4285, 5621, 430, 12, 529, 631, 2 ]
public void setup () { super.setup (); setLayout (new BorderLayout ()); jlabel= (new JLabel (label)); add (jlabel,BorderLayout.WEST);
public void setup() { super.setup(); setLayout(new BorderLayout()); jlabel = new JLabel(label); add(jlabel, BorderLayout.WEST);
public void setup () { super.setup (); setLayout (new BorderLayout ()); jlabel= (new JLabel (label)); add (jlabel,BorderLayout.WEST); if (valueCurr>valueMax) valueCurr=valueMax; slider=new JSlider (JSlider.HORIZONTAL,valueMin,valueMax,valueCurr); slider.addChangeListener (new ChangeListener () { public void stateChanged (ChangeEvent e) { setValue (slider.getValue ()); sendSysex (); text.setText (new Integer (valueCurr+base).toString ()); } }); text = new JTextField (new Integer (valueCurr+base).toString (),4); slider.setMinimumSize (new Dimension (50,25)); slider.setMaximumSize (new Dimension (125,25)); add (slider,BorderLayout.CENTER);add (text,BorderLayout.EAST); text.setEditable (false); }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/e7311a9aa2ac478953975abaa1c0c14e8201c062/ScrollBarWidget.java/buggy/JSynthLib/core/ScrollBarWidget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3875, 1832, 565, 288, 3639, 2240, 18, 8401, 261, 1769, 3639, 18479, 261, 2704, 30814, 1832, 1769, 3639, 525, 1925, 33, 261, 2704, 21403, 261, 1925, 10019, 3639, 527, 261, 78, 1925, 16, 8107, 3744, 18, 31285, 1769, 7734, 309, 261, 1132, 20143, 34, 1132, 2747, 13, 460, 20143, 33, 1132, 2747, 31, 3639, 18442, 33, 2704, 804, 21824, 261, 46, 21824, 18, 44, 20344, 16, 1132, 2930, 16, 1132, 2747, 16, 1132, 20143, 1769, 3639, 18442, 18, 1289, 15744, 261, 2704, 7576, 2223, 1832, 3639, 288, 5411, 1071, 918, 919, 5033, 261, 20930, 425, 13, 5411, 288, 7734, 5524, 261, 28372, 18, 24805, 1832, 1769, 7734, 1366, 10876, 20909, 261, 1769, 7734, 977, 18, 542, 1528, 261, 2704, 2144, 261, 1132, 20143, 15, 1969, 2934, 10492, 1832, 1769, 5411, 289, 3639, 15549, 5411, 977, 273, 394, 804, 16157, 261, 2704, 2144, 261, 1132, 20143, 15, 1969, 2934, 10492, 1832, 16, 24, 1769, 5411, 18442, 18, 542, 13042, 1225, 261, 2704, 13037, 261, 3361, 16, 2947, 10019, 5411, 18442, 18, 542, 13528, 1225, 261, 2704, 13037, 261, 18473, 16, 2947, 10019, 13491, 527, 261, 28372, 16, 8107, 3744, 18, 19835, 1769, 1289, 261, 955, 16, 8107, 3744, 18, 41, 9053, 1769, 5411, 977, 18, 542, 15470, 261, 5743, 1769, 18701, 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, 3875, 1832, 565, 288, 3639, 2240, 18, 8401, 261, 1769, 3639, 18479, 261, 2704, 30814, 1832, 1769, 3639, 525, 1925, 33, 261, 2704, 21403, 261, 1925, 10019, 3639, 527, 261, 78, 1925, 16, 8107, 3744, 18, 31285, 1769, 7734, 309, 261, 1132, 20143, 34, 1132, 2747, 13, 460, 20143, 33, 1132, 2747, 31, 3639, 18442, 33, 2704, 804, 21824, 261, 46, 21824, 18, 44, 20344, 16, 1132, 2930, 16, 1132, 2747, 16, 1132, 20143, 1769, 3639, 18442, 18, 1289, 15744, 261, 2704, 7576, 2223, 1832, 3639, 288, 5411, 1071, 918, 919, 5033, 261, 20930, 425, 13, 5411, 288, 7734, 5524, 261, 28372, 18, 24805, 1832, 1769, 7734, 1366, 10876, 20909, 261, 1769, 7734, 977, 18, 542, 2 ]
public void addBinding(C_Term t1, C_Term t2) {
public void addBinding(C_Var t1, C_Var t2) {
public void addBinding(C_Term t1, C_Term t2) { ensureClauses(); depClause = depClause.addBinding(t1, t2); realClause = realClause.addBinding(t1,t2); //assert realClause.entails(depClause); }
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/06304835049655f4d36cb3ccb10bdc8623791da8/X10ParsedClassType_c.java/clean/x10.compiler/src/polyglot/ext/x10/types/X10ParsedClassType_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 5250, 12, 39, 67, 4065, 268, 21, 16, 385, 67, 4065, 268, 22, 13, 288, 202, 202, 15735, 22434, 5621, 202, 202, 15037, 7044, 273, 5993, 7044, 18, 1289, 5250, 12, 88, 21, 16, 268, 22, 1769, 202, 202, 7688, 7044, 273, 2863, 7044, 18, 1289, 5250, 12, 88, 21, 16, 88, 22, 1769, 202, 202, 759, 11231, 2863, 7044, 18, 319, 15208, 12, 15037, 7044, 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, 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, 268, 22, 13, 288, 202, 202, 15735, 22434, 5621, 202, 202, 15037, 7044, 273, 5993, 7044, 18, 1289, 5250, 12, 88, 21, 16, 268, 22, 1769, 202, 202, 7688, 7044, 273, 2863, 7044, 18, 1289, 5250, 12, 88, 21, 16, 88, 22, 1769, 202, 202, 759, 11231, 2863, 7044, 18, 319, 15208, 12, 15037, 7044, 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 ]
mockParser.expects(once()).method("parse").with(eq(expressionString)) .will(throwException(throwable));
mockParser.expects(once()).method("parse").with(eq(expressionString)) .will(throwException(throwable));
public void testReportsParseErrors() throws Exception { final Throwable throwable = new ParseException("dummy ParseException"); mockParser.expects(once()).method("parse").with(eq(expressionString)) .will(throwException(throwable)); try { calculator.calculate(expressionString); fail("ParseException expected"); } catch (ParseException ex) { // expected } }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/CalculatorTest.java/buggy/jmock/examples/calculator/src/test/jmock/examples/calculator/CalculatorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 18631, 3201, 4229, 1435, 1216, 1185, 288, 202, 202, 6385, 4206, 10132, 273, 394, 10616, 2932, 21050, 10616, 8863, 202, 202, 22851, 2678, 18, 12339, 87, 12, 8243, 1435, 2934, 2039, 2932, 2670, 20387, 1918, 12, 11253, 12, 8692, 780, 3719, 1082, 3639, 263, 20194, 12, 12849, 503, 12, 12849, 429, 10019, 202, 202, 698, 288, 1082, 202, 12780, 639, 18, 11162, 12, 8692, 780, 1769, 1082, 202, 6870, 2932, 13047, 2665, 8863, 202, 202, 97, 202, 202, 14683, 261, 13047, 431, 13, 288, 1082, 202, 759, 2665, 202, 202, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 18631, 3201, 4229, 1435, 1216, 1185, 288, 202, 202, 6385, 4206, 10132, 273, 394, 10616, 2932, 21050, 10616, 8863, 202, 202, 22851, 2678, 18, 12339, 87, 12, 8243, 1435, 2934, 2039, 2932, 2670, 20387, 1918, 12, 11253, 12, 8692, 780, 3719, 1082, 3639, 263, 20194, 12, 12849, 503, 12, 12849, 429, 10019, 202, 202, 698, 288, 1082, 202, 12780, 639, 18, 11162, 12, 8692, 780, 1769, 1082, 202, 6870, 2932, 13047, 2665, 8863, 202, 202, 97, 202, 202, 14683, 261, 13047, 431, 13, 288, 1082, 202, 759, 2665, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String[] stringsArray = (String[])zoneStringsHash.get(zid); if(stringsArray != null){ return stringsArray[type]; } return null;
return zoneString;
String getZoneString(String zid, int type){ if(zoneStringsHash == null){ //lazy initialization initZoneStringsHash(); } String[] stringsArray = (String[])zoneStringsHash.get(zid); if(stringsArray != null){ return stringsArray[type]; } return null; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/86ff19728b7e6f2835400897d4bc9263d028739a/DateFormatSymbols.java/clean/icu4j/src/com/ibm/icu/text/DateFormatSymbols.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 514, 30680, 780, 12, 780, 998, 350, 16, 509, 618, 15329, 3639, 309, 12, 3486, 7957, 2310, 422, 446, 15329, 5411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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 514, 30680, 780, 12, 780, 998, 350, 16, 509, 618, 15329, 3639, 309, 12, 3486, 7957, 2310, 422, 446, 15329, 5411, 368, 15998, 10313, 5411, 1208, 4226, 7957, 2310, 5621, 3639, 289, 3639, 514, 8526, 2064, 1076, 273, 261, 780, 63, 5717, 3486, 7957, 2310, 18, 588, 12, 94, 350, 1769, 3639, 309, 12, 10219, 1076, 480, 446, 15329, 5411, 327, 2064, 1076, 63, 723, 15533, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void init(CmsJspActionElement jsp, CmsMessages messages, boolean initial, String formConfigUri) throws Exception {
public void init(CmsJspActionElement jsp, CmsMessages messages, boolean initial, String formConfigUri) throws Exception {
public void init(CmsJspActionElement jsp, CmsMessages messages, boolean initial, String formConfigUri) throws Exception { // read the form configuration file from VFS if (CmsStringUtil.isEmpty(formConfigUri)) { formConfigUri = jsp.getRequestContext().getUri(); } CmsFile file = jsp.getCmsObject().readFile(formConfigUri); CmsXmlContent content = CmsXmlContentFactory.unmarshal(jsp.getCmsObject(), file); // get current Locale Locale locale = jsp.getRequestContext().getLocale(); // init member variables initMembers(); // initialize general form configuration initFormGlobalConfiguration(content, jsp.getCmsObject(), locale, messages); // initialize the form input fields initInputFields(content, jsp, locale, messages, initial); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/41dcaa9d1a1b8f8fa6c1dd9a04fc8532eb83ebb7/CmsForm.java/clean/src-modules/org/opencms/frontend/templateone/form/CmsForm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 4747, 21796, 1803, 1046, 22535, 16, 2149, 5058, 2743, 16, 1250, 2172, 16, 514, 646, 809, 3006, 13, 1216, 1185, 288, 7734, 368, 855, 326, 646, 1664, 585, 628, 23567, 3639, 309, 261, 4747, 13565, 18, 291, 1921, 12, 687, 809, 3006, 3719, 288, 5411, 646, 809, 3006, 273, 22535, 18, 588, 21426, 7675, 588, 3006, 5621, 3639, 289, 3639, 28118, 585, 273, 22535, 18, 588, 4747, 921, 7675, 896, 812, 12, 687, 809, 3006, 1769, 3639, 25169, 913, 273, 25169, 1733, 18, 318, 3108, 12, 24926, 18, 588, 4747, 921, 9334, 585, 1769, 7734, 368, 336, 783, 6458, 3639, 6458, 2573, 273, 22535, 18, 588, 21426, 7675, 588, 3916, 5621, 7734, 368, 1208, 3140, 3152, 3639, 1208, 6918, 5621, 7734, 368, 4046, 7470, 646, 1664, 3639, 1208, 1204, 5160, 1750, 12, 1745, 16, 22535, 18, 588, 4747, 921, 9334, 2573, 16, 2743, 1769, 7734, 368, 4046, 326, 646, 810, 1466, 3639, 1208, 1210, 2314, 12, 1745, 16, 22535, 16, 2573, 16, 2743, 16, 2172, 1769, 565, 289, 2, 0, 0, 0, 0, 0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208, 12, 4747, 21796, 1803, 1046, 22535, 16, 2149, 5058, 2743, 16, 1250, 2172, 16, 514, 646, 809, 3006, 13, 1216, 1185, 288, 7734, 368, 855, 326, 646, 1664, 585, 628, 23567, 3639, 309, 261, 4747, 13565, 18, 291, 1921, 12, 687, 809, 3006, 3719, 288, 5411, 646, 809, 3006, 273, 22535, 18, 588, 21426, 7675, 588, 3006, 5621, 3639, 289, 3639, 28118, 585, 273, 22535, 18, 588, 4747, 921, 7675, 896, 812, 12, 687, 809, 3006, 1769, 3639, 25169, 913, 273, 25169, 1733, 18, 318, 3108, 12, 24926, 18, 588, 4747, 921, 9334, 585, 1769, 7734, 368, 336, 783, 6458, 3639, 6458, 2573, 273, 22535, 18, 588, 21426, 7675, 588, 3916, 5621, 7734, 368, 1208, 2 ]
private void buildPassList(ConstraintGraph constraintGraph) throws OrderingConstraintException { while (constraintGraph.getNumVertices() > 0) { List<DetectorNode> outDegreeZeroList = new LinkedList<DetectorNode>(); // Get all of the detectors nodes with out-degree 0. // These have no unsatisfied prerequisites, and thus can // be chosen for the current pass. int outDegreeZeroCount = 0; for (Iterator<DetectorNode> i = constraintGraph.vertexIterator(); i.hasNext(); ) { DetectorNode node = i.next(); if (constraintGraph.getNumOutgoingEdges(node) == 0) { ++outDegreeZeroCount; outDegreeZeroList.add(node); } } if (outDegreeZeroCount == 0) throw new OrderingConstraintException("Cycle in inter-pass ordering constraints"); // Remove all of the chosen detectors from the constraint graph. for (Iterator<DetectorNode> i = outDegreeZeroList.iterator(); i.hasNext(); ) { DetectorNode node = i.next(); constraintGraph.removeVertex(node); } // Create analysis pass and add detector factories. AnalysisPass pass = new AnalysisPass(); for (Iterator<DetectorNode> i = outDegreeZeroList.iterator(); i.hasNext(); ) { DetectorNode node = i.next(); pass.addDetectorFactory(node.getFactory()); } // Add pass to list of passes in the execution plan. passList.add(pass); } }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/b2f86d829169e7f4585945a537521840571f7220/ExecutionPlan.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/plan/ExecutionPlan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1361, 6433, 682, 12, 5806, 4137, 4954, 4137, 13, 1082, 202, 15069, 27582, 5806, 503, 288, 202, 202, 17523, 261, 13364, 4137, 18, 588, 2578, 13371, 1435, 405, 374, 13, 288, 1082, 202, 682, 32, 12594, 907, 34, 596, 22885, 7170, 682, 273, 394, 10688, 32, 12594, 907, 34, 5621, 1082, 202, 759, 968, 777, 434, 326, 13826, 87, 2199, 598, 596, 17, 21361, 374, 18, 1082, 202, 759, 8646, 1240, 1158, 640, 12973, 21501, 30328, 16608, 2997, 16, 471, 12493, 848, 1082, 202, 759, 506, 10447, 364, 326, 783, 1342, 18, 1082, 202, 474, 596, 22885, 7170, 1380, 273, 374, 31, 1082, 202, 1884, 261, 3198, 32, 12594, 907, 34, 277, 273, 4954, 4137, 18, 15281, 3198, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 9506, 202, 12594, 907, 756, 273, 277, 18, 4285, 5621, 9506, 202, 430, 261, 13364, 4137, 18, 588, 2578, 24866, 10697, 12, 2159, 13, 422, 374, 13, 288, 6862, 202, 9904, 659, 22885, 7170, 1380, 31, 6862, 202, 659, 22885, 7170, 682, 18, 1289, 12, 2159, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 261, 659, 22885, 7170, 1380, 422, 374, 13, 9506, 202, 12849, 394, 27582, 5806, 503, 2932, 13279, 316, 1554, 17, 5466, 9543, 6237, 8863, 1082, 202, 759, 3581, 777, 434, 326, 10447, 13826, 87, 628, 326, 4954, 2667, 18, 1082, 202, 1884, 261, 3198, 32, 12594, 907, 34, 277, 273, 596, 22885, 7170, 682, 18, 9838, 5621, 277, 18, 5332, 2134, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1361, 6433, 682, 12, 5806, 4137, 4954, 4137, 13, 1082, 202, 15069, 27582, 5806, 503, 288, 202, 202, 17523, 261, 13364, 4137, 18, 588, 2578, 13371, 1435, 405, 374, 13, 288, 1082, 202, 682, 32, 12594, 907, 34, 596, 22885, 7170, 682, 273, 394, 10688, 32, 12594, 907, 34, 5621, 1082, 202, 759, 968, 777, 434, 326, 13826, 87, 2199, 598, 596, 17, 21361, 374, 18, 1082, 202, 759, 8646, 1240, 1158, 640, 12973, 21501, 30328, 16608, 2997, 16, 471, 12493, 848, 1082, 202, 759, 506, 10447, 364, 326, 783, 1342, 18, 1082, 202, 474, 596, 22885, 7170, 1380, 273, 374, 31, 1082, 202, 1884, 261, 3198, 32, 12594, 907, 34, 277, 273, 4954, 4137, 2 ]
if (sb.length() > 0) { dirs.add(sb.toString()); } return (String[])dirs.toArray(new String[dirs.size()]);
return (String[]) dirs.toArray(new String[dirs.size()]);
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == '/' || path.charAt(i) == '\\') { if (sb.length() > 0) { dirs.add(sb.toString()); sb = new StringBuffer(); } // to handle /unix/ and \\windows-server\ files if (dirs.size() == 0) { sb.append(path.charAt(i)); } } else { sb.append(path.charAt(i)); } } if (sb.length() > 0) { dirs.add(sb.toString()); } return (String[])dirs.toArray(new String[dirs.size()]); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/buggy/src/org/jruby/util/Glob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 1416, 3234, 1435, 288, 3639, 2407, 7717, 273, 394, 2407, 5621, 3639, 514, 589, 273, 1936, 18, 588, 743, 5621, 3639, 6674, 2393, 273, 394, 6674, 5621, 7734, 364, 12, 474, 277, 273, 374, 16, 963, 273, 589, 18, 2469, 5621, 277, 411, 963, 31, 277, 27245, 288, 5411, 309, 261, 803, 18, 3001, 861, 12, 77, 13, 422, 2023, 747, 589, 18, 3001, 861, 12, 77, 13, 422, 5282, 13, 288, 7734, 309, 261, 18366, 18, 2469, 1435, 405, 374, 13, 288, 10792, 7717, 18, 1289, 12, 18366, 18, 10492, 10663, 10792, 2393, 273, 394, 6674, 5621, 7734, 289, 7734, 368, 358, 1640, 342, 21136, 19, 471, 1736, 13226, 17, 3567, 64, 1390, 7734, 309, 261, 8291, 18, 1467, 1435, 422, 374, 13, 288, 10792, 2393, 18, 6923, 12, 803, 18, 3001, 861, 12, 77, 10019, 7734, 289, 5411, 289, 469, 288, 7734, 2393, 18, 6923, 12, 803, 18, 3001, 861, 12, 77, 10019, 5411, 289, 3639, 289, 3639, 309, 261, 18366, 18, 2469, 1435, 405, 374, 13, 288, 5411, 7717, 18, 1289, 12, 18366, 18, 10492, 10663, 3639, 289, 3639, 327, 261, 780, 63, 5717, 8291, 18, 31447, 12, 2704, 514, 63, 8291, 18, 1467, 1435, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 1416, 3234, 1435, 288, 3639, 2407, 7717, 273, 394, 2407, 5621, 3639, 514, 589, 273, 1936, 18, 588, 743, 5621, 3639, 6674, 2393, 273, 394, 6674, 5621, 7734, 364, 12, 474, 277, 273, 374, 16, 963, 273, 589, 18, 2469, 5621, 277, 411, 963, 31, 277, 27245, 288, 5411, 309, 261, 803, 18, 3001, 861, 12, 77, 13, 422, 2023, 747, 589, 18, 3001, 861, 12, 77, 13, 422, 5282, 13, 288, 7734, 309, 261, 18366, 18, 2469, 1435, 405, 374, 13, 288, 10792, 7717, 18, 1289, 12, 18366, 18, 10492, 10663, 10792, 2393, 273, 394, 6674, 5621, 7734, 289, 7734, 368, 358, 1640, 342, 21136, 19, 471, 1736, 13226, 17, 3567, 64, 1390, 7734, 2 ]
case ts.ERROR:
case TokenStream.ERROR:
private Object unaryExpr(TokenStream ts, Source source) throws IOException, JavaScriptException { int tt; ts.flags |= ts.TSF_REGEXP; tt = ts.getToken(); ts.flags &= ~ts.TSF_REGEXP; switch(tt) { case ts.UNARYOP: source.append((char)ts.UNARYOP); source.append((char)ts.getOp()); return nf.createUnary(ts.UNARYOP, ts.getOp(), unaryExpr(ts, source)); case ts.ADD: case ts.SUB: source.append((char)ts.UNARYOP); source.append((char)tt); return nf.createUnary(ts.UNARYOP, tt, unaryExpr(ts, source)); case ts.INC: case ts.DEC: source.append((char)tt); return nf.createUnary(tt, ts.PRE, memberExpr(ts, source, true)); case ts.DELPROP: source.append((char)ts.DELPROP); return nf.createUnary(ts.DELPROP, unaryExpr(ts, source)); case ts.ERROR: break; default: ts.ungetToken(tt); int lineno = ts.getLineno(); Object pn = memberExpr(ts, source, true); /* don't look across a newline boundary for a postfix incop. * the rhino scanner seems to work differently than the js * scanner here; in js, it works to have the line number check * precede the peekToken calls. It'd be better if they had * similar behavior... */ int peeked; if (((peeked = ts.peekToken()) == ts.INC || peeked == ts.DEC) && ts.getLineno() == lineno) { int pf = ts.getToken(); source.append((char)pf); return nf.createUnary(pf, ts.POST, pn); } return pn; } return nf.createName("err"); // Only reached on error. Try to continue. }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/8024efa9963a32d478db0d09899ffa61e921aa3e/Parser.java/clean/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 19017, 4742, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 509, 3574, 31, 3639, 3742, 18, 7133, 5626, 3742, 18, 8047, 42, 67, 28225, 31, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 3742, 18, 7133, 12058, 4871, 3428, 18, 8047, 42, 67, 28225, 31, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 2124, 6043, 3665, 30, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 2124, 6043, 3665, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 588, 3817, 10663, 5411, 327, 13958, 18, 2640, 15972, 12, 3428, 18, 2124, 6043, 3665, 16, 3742, 18, 588, 3817, 9334, 21394, 19017, 4742, 12, 3428, 16, 1084, 10019, 3639, 648, 3742, 18, 8355, 30, 3639, 648, 3742, 18, 8362, 30, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 2124, 6043, 3665, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 748, 1769, 5411, 327, 13958, 18, 2640, 15972, 12, 3428, 18, 2124, 6043, 3665, 16, 3574, 16, 19017, 4742, 12, 3428, 16, 1084, 10019, 3639, 648, 3742, 18, 23213, 30, 3639, 648, 3742, 18, 1639, 39, 30, 5411, 1084, 18, 6923, 12443, 3001, 13, 748, 1769, 5411, 327, 13958, 18, 2640, 15972, 12, 748, 16, 3742, 18, 3670, 16, 3140, 4742, 12, 3428, 16, 1084, 16, 638, 10019, 3639, 648, 3742, 18, 24733, 15811, 30, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 24733, 15811, 1769, 5411, 327, 13958, 18, 2640, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 19017, 4742, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 509, 3574, 31, 3639, 3742, 18, 7133, 5626, 3742, 18, 8047, 42, 67, 28225, 31, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 3742, 18, 7133, 12058, 4871, 3428, 18, 8047, 42, 67, 28225, 31, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 2124, 6043, 3665, 30, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 2124, 6043, 3665, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 588, 3817, 10663, 5411, 327, 13958, 18, 2640, 15972, 12, 3428, 18, 2124, 6043, 3665, 16, 3742, 18, 588, 3817, 9334, 21394, 19017, 4742, 12, 2 ]
Collection ret = new ArrayList();
Collection ret = new HashSet();
private String[] getProviders() { Collection ret = new ArrayList(); Collection collection = this.fUser.values(); for (Iterator iter = collection.iterator(); iter.hasNext();) { KnownUser user = (KnownUser) iter.next(); HashMap roleToProviders = user.fRoleToProviders; Collection provider = roleToProviders.values(); for (Iterator iterator = provider.iterator(); iterator.hasNext();) { List providerList = (List) iterator.next(); ret.addAll(providerList); } } return (String[]) ret.toArray(new String[ret.size()]); }
12891 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12891/1c8186cdbcb2a4e529ec65055c66c835333b3631/IngridRealm.java/clean/src/java/de/ingrid/iplug/web/IngridRealm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 3570, 7979, 1435, 288, 1377, 2200, 325, 273, 394, 6847, 5621, 1377, 2200, 1849, 273, 333, 18, 74, 1299, 18, 2372, 5621, 1377, 364, 261, 3198, 1400, 273, 1849, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 3639, 30036, 1299, 729, 273, 261, 11925, 1299, 13, 1400, 18, 4285, 5621, 3639, 4317, 2478, 774, 10672, 273, 729, 18, 74, 2996, 774, 10672, 31, 3639, 2200, 2893, 273, 2478, 774, 10672, 18, 2372, 5621, 3639, 364, 261, 3198, 2775, 273, 2893, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 1850, 987, 2893, 682, 273, 261, 682, 13, 2775, 18, 4285, 5621, 1850, 325, 18, 1289, 1595, 12, 6778, 682, 1769, 5375, 289, 1377, 289, 1377, 327, 261, 780, 63, 5717, 325, 18, 31447, 12, 2704, 514, 63, 1349, 18, 1467, 1435, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 3570, 7979, 1435, 288, 1377, 2200, 325, 273, 394, 6847, 5621, 1377, 2200, 1849, 273, 333, 18, 74, 1299, 18, 2372, 5621, 1377, 364, 261, 3198, 1400, 273, 1849, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 3639, 30036, 1299, 729, 273, 261, 11925, 1299, 13, 1400, 18, 4285, 5621, 3639, 4317, 2478, 774, 10672, 273, 729, 18, 74, 2996, 774, 10672, 31, 3639, 2200, 2893, 273, 2478, 774, 10672, 18, 2372, 5621, 3639, 364, 261, 3198, 2775, 273, 2893, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 1850, 987, 2893, 682, 273, 261, 682, 13, 2775, 18, 4285, 5621, 1850, 325, 18, 1289, 1595, 12, 6778, 682, 1769, 5375, 289, 2 ]
protected static void runInterpreterOnFile(String fileName) {
protected static void runInterpreterOnFile(String fileName, String[] args) {
protected static void runInterpreterOnFile(String fileName) { File rubyFile = new File(fileName); if (!rubyFile.canRead()) { System.out.println("Cannot read Rubyfile: \"" + fileName + "\""); } else { try { StringBuffer sb = new StringBuffer((int)rubyFile.length()); BufferedReader br = new BufferedReader(new FileReader(rubyFile)); String line; while ((line = br.readLine()) != null) { sb.append(line).append('\n'); } br.close(); runInterpreter(sb.toString(), fileName); } catch (IOException ioExcptn) { System.out.println("Cannot read Rubyfile: \"" + fileName + "\""); System.out.println("IOEception: " + ioExcptn.getMessage()); } } }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/cf644c556d410c47305ebeba5728efa25f7756dc/Main.java/clean/org/jruby/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1086, 30010, 1398, 812, 12, 780, 3968, 16, 514, 8526, 833, 13, 288, 3639, 1387, 22155, 812, 273, 394, 1387, 12, 17812, 1769, 3639, 309, 16051, 27768, 812, 18, 4169, 1994, 10756, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 4515, 855, 19817, 768, 30, 11843, 397, 3968, 397, 11143, 1769, 3639, 289, 469, 288, 5411, 775, 288, 7734, 6674, 2393, 273, 394, 6674, 12443, 474, 13, 27768, 812, 18, 2469, 10663, 7734, 10633, 5186, 273, 394, 10633, 12, 2704, 23010, 12, 27768, 812, 10019, 7734, 514, 980, 31, 7734, 1323, 14015, 1369, 273, 5186, 18, 896, 1670, 10756, 480, 446, 13, 288, 10792, 2393, 18, 6923, 12, 1369, 2934, 6923, 2668, 64, 82, 8284, 7734, 289, 7734, 5186, 18, 4412, 5621, 7734, 1086, 30010, 12, 18366, 18, 10492, 9334, 3968, 1769, 18701, 289, 1044, 261, 14106, 2527, 29924, 337, 82, 13, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 4515, 855, 19817, 768, 30, 11843, 397, 3968, 397, 11143, 1769, 7734, 2332, 18, 659, 18, 8222, 2932, 4294, 41, 472, 30, 315, 397, 2527, 29924, 337, 82, 18, 24906, 10663, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1086, 30010, 1398, 812, 12, 780, 3968, 16, 514, 8526, 833, 13, 288, 3639, 1387, 22155, 812, 273, 394, 1387, 12, 17812, 1769, 3639, 309, 16051, 27768, 812, 18, 4169, 1994, 10756, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 4515, 855, 19817, 768, 30, 11843, 397, 3968, 397, 11143, 1769, 3639, 289, 469, 288, 5411, 775, 288, 7734, 6674, 2393, 273, 394, 6674, 12443, 474, 13, 27768, 812, 18, 2469, 10663, 7734, 10633, 5186, 273, 394, 10633, 12, 2704, 23010, 12, 27768, 812, 10019, 7734, 514, 980, 31, 7734, 1323, 14015, 1369, 273, 5186, 18, 896, 1670, 10756, 480, 446, 13, 288, 10792, 2393, 18, 6923, 12, 1369, 2934, 6923, 2668, 64, 82, 8284, 2 ]
getResourceString("toolbar.menu_item.tooltip.unrated") +
Resources.getString("toolbar.menu_item.tooltip.unrated") +
public void createMenu() { Menu menubar = new Menu(shell, SWT.BAR); shell.setMenuBar(menubar); MenuItem item1 = new MenuItem(menubar, SWT.CASCADE); item1.setText(getResourceString("toolbar.menu_title.action")); Menu menu1 = new Menu(item1); //Added for a nicer UI by Allen Tipper 14.9.03 menu1.addMenuListener(new MenuAdapter() { public void menuHidden(MenuEvent e) { update(); } }); //end add item1.setMenu(menu1); MenuItem item1_1 = new MenuItem(menu1, SWT.PUSH); item1_1.setText(getResourceString("toolbar.menu_item.download")); item1_1.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { downloadThread.go(); } }); //Added for a nicer UI by Allen Tipper 16.9.03 item1_1.addArmListener(new ToolTipArmListener(getResourceString("toolbar.menu_item.tooltip.download"))); //end add MenuItem item_undo = new MenuItem(menu1, SWT.PUSH); item_undo.setText(getResourceString("toolbar.menu_item.undo")); item_undo.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { undoLastRating(); } }); item_undo.addArmListener(new ToolTipArmListener(getResourceString("toolbar.menu_item.tooltip.undo"))); MenuItem item1_4 = new MenuItem(menu1, SWT.PUSH); item1_4.setText(getResourceString("toolbar.menu_item.quit")); item1_4.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { quit(); } }); //Added for a nicer UI by Allen Tipper 14.9.03 item1_4.addArmListener(new ToolTipArmListener(getResourceString("toolbar.menu_item.tooltip.quit"))); //end add MenuItem item2 = new MenuItem(menubar, SWT.CASCADE); item2.setText(getResourceString("toolbar.menu_title.settings")); Menu mSettings = new Menu(item2); //Added for a nicer UI by Allen Tipper 14.9.03 mSettings.addMenuListener(new MenuAdapter() { public void menuHidden(MenuEvent e) { update(); } }); //end add item2.setMenu(mSettings); MenuItem mDownload = new MenuItem(mSettings, SWT.CASCADE); mDownload.setText(getResourceString("toolbar.menu_item.auto_download")); //Added for a nicer UI by Allen Tipper 14.9.03 mDownload.addArmListener(new ToolTipArmListener(getResourceString("toolbar.menu_item.tooltip.auto_download"))); //end add Menu menu2 = new Menu(mDownload); mDownload.setMenu(menu2); int[] counts = new int[] { 0, 5, 11, 17, 23, 29, 37 }; int autoDownload = trackDatabase.getAutoDownload(); for (int i = 0; i < counts.length; i++) { MenuItem mTimes = new MenuItem(menu2, SWT.CHECK, i); final Integer acount = new Integer(counts[i]); final int dummy = 0; // workaround for gcj-3.0.4 bug mTimes.setText(i == 0 ? getResourceString("toolbar.sub_menu_item.auto_download.disabled") : "< " + acount + " " + getResourceString("toolbar.sub_menu_item.auto_download.unrated_tracks")); mTimes.setSelection(acount.intValue() == autoDownload); mTimes.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { //stupid trick to make self the only selected item MenuItem self = (MenuItem) e.getSource(); uncheckSiblingMenuItems(self); self.setSelection(true); trackDatabase.setAutoDownload(acount.intValue()); downloadThread.checkAutoDownload(); } }); //Added for a nicer UI by Allen Tipper 14.9.03 mTimes.addArmListener( new ToolTipArmListener( getResourceString("toolbar.sub_menu_item.auto_download.tooltip.unrated_tracks") + " " + acount)); //end add } MenuItem mPlayList = new MenuItem(mSettings, SWT.CASCADE); mPlayList.setText(getResourceString("toolbar.menu_item.play_list")); //Added for a nicer UI by Allen Tipper 14.9.03 mPlayList.addArmListener(new ToolTipArmListener(getResourceString("toolbar.menu_item.tooltip.play_list"))); //end add Menu menuPlayList = new Menu(mPlayList); mPlayList.setMenu(menuPlayList); counts = new int[] { 13, 19, 31, 49 }; int playListLength = trackDatabase.getPlayListLength(); for (int i = 0; i < counts.length; i++) { MenuItem mTimes = new MenuItem(menuPlayList, SWT.CHECK, i); final int dummy = 0; // workaround for gcj-3.0.4 bug final Integer pcount = new Integer(counts[i]); mTimes.setText(pcount + " " + getResourceString("toolbar.sub_menu_item.play_list.tracks")); mTimes.setSelection(pcount.intValue() == playListLength); mTimes.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { MenuItem self = (MenuItem) e.getSource(); uncheckSiblingMenuItems(self); self.setSelection(true); trackDatabase.setPlayListLength(pcount.intValue()); } }); //Added for a nicer UI by Allen Tipper 14.9.03 mTimes.addArmListener( new ToolTipArmListener(getResourceString("toolbar.sub_menu_item.play_list.tooltip.tracks") + " " + pcount)); //end add } /** * Added by Eric Dalquist - 11.09.2003 * * Allows the user to select the number of unrated tracks to add to each playlist generation */ MenuItem mNewUnrated = new MenuItem(mSettings, SWT.CASCADE); mNewUnrated.setText(getResourceString("toolbar.menu_item.unrated")); Menu menuNewUnrated = new Menu(mNewUnrated); mNewUnrated.setMenu(menuNewUnrated); int unratedPlayListRatio = trackDatabase.getUnratedPlayListRatio(); counts = new int[] { 0, 13, 29, 47, 63, 79, 97 }; for (int i = 0; i < counts.length; i++) { final Integer ratio = new Integer(counts[i]); MenuItem mRatio = new MenuItem(menuNewUnrated, SWT.CHECK, i); mRatio.setText(ratio + "%"); mRatio.setSelection(ratio.intValue() == unratedPlayListRatio); mRatio.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { MenuItem self = (MenuItem) e.getSource(); uncheckSiblingMenuItems(self); self.setSelection(true); trackDatabase.setUnratedPlayListRatio(ratio.intValue()); } }); //Added for a nicer UI by Allen Tipper 14.9.03 mRatio.addArmListener( new ToolTipArmListener( getResourceString("toolbar.menu_item.tooltip.unrated") + " " + ratio + "%.")); //end add } /****/ MenuItem mPlayers = new MenuItem(mSettings, SWT.CASCADE); mPlayers.setText(getResourceString("toolbar.menu_item.player")); menu2 = new Menu(mPlayers); mPlayers.setMenu(menu2); //Added for a nicer UI by Allen Tipper 14.9.03 mPlayers.addArmListener(new ToolTipArmListener(getResourceString("toolbar.menu_item.tooltip.player"))); //end add Player players[] = playerList.getPlayers(); for (int i = 0; i < players.length; i++) { final String player = players[i].getName(); MenuItem mPlayer = new MenuItem(menu2, SWT.CHECK, i); mPlayer.setText(player); if (trackDatabase.getPlayer().equals(player)) mPlayer.setSelection(true); mPlayer.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { //stupid trick to make self the only selected item MenuItem self = (MenuItem) e.getSource(); uncheckSiblingMenuItems(self); self.setSelection(true); trackDatabase.setPlayer(player); downloadThread.checkAutoDownload(); } }); mPlayer.addArmListener( new ToolTipArmListener(getResourceString("toolbar.sub_menu_item.tooltip.player") + " " + player)); } MenuItem item2_1 = new MenuItem(mSettings, SWT.PUSH); item2_1.setText(getResourceString("toolbar.menu_item.advanced")); item2_1.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { showSettingDialog(SettingDialog.PLUGIN_PAGE); } }); //Added for a nicer UI by Allen Tipper 14.9.03 item2_1.addArmListener(new ToolTipArmListener(getResourceString("toolbar.menu_item.tooltip.advanced"))); //end add MenuItem item3 = new MenuItem(menubar, SWT.CASCADE); item3.setText(getResourceString("toolbar.menu_title.info")); Menu menu3 = new Menu(item3); menu3.addMenuListener(new MenuAdapter() { public void menuHidden(MenuEvent e) { update(); } }); item3.setMenu(menu3); MenuItem item3_1 = new MenuItem(menu3, SWT.PUSH); item3_1.setText(getResourceString("toolbar.menu_item.credits")); item3_1.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { actionAbout(); } }); item3_1.addArmListener(new ToolTipArmListener(getResourceString("toolbar.menu_item.tooltip.credits"))); }
11635 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11635/f2ea168ab135dd632ea868ff0df1f5276c774566/Client.java/clean/trunk/irate/irate/swt/Client.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 752, 4599, 1435, 288, 565, 9809, 21247, 373, 297, 273, 394, 9809, 12, 10304, 16, 348, 8588, 18, 21908, 1769, 565, 5972, 18, 542, 4599, 5190, 12, 27617, 373, 297, 1769, 565, 25085, 761, 21, 273, 394, 25085, 12, 27617, 373, 297, 16, 348, 8588, 18, 3587, 25517, 1769, 565, 761, 21, 18, 542, 1528, 12, 588, 1420, 780, 2932, 18849, 18, 5414, 67, 2649, 18, 1128, 7923, 1769, 565, 9809, 3824, 21, 273, 394, 9809, 12, 1726, 21, 1769, 565, 368, 8602, 364, 279, 11562, 264, 6484, 635, 2262, 1897, 399, 625, 457, 5045, 18, 29, 18, 4630, 565, 3824, 21, 18, 1289, 4599, 2223, 12, 2704, 9809, 4216, 1435, 288, 1377, 1071, 918, 3824, 9345, 12, 4599, 1133, 425, 13, 288, 3639, 1089, 5621, 1377, 289, 565, 15549, 565, 368, 409, 527, 565, 761, 21, 18, 542, 4599, 12, 5414, 21, 1769, 565, 25085, 761, 21, 67, 21, 273, 394, 25085, 12, 5414, 21, 16, 348, 8588, 18, 30348, 1769, 565, 761, 21, 67, 21, 18, 542, 1528, 12, 588, 1420, 780, 2932, 18849, 18, 5414, 67, 1726, 18, 7813, 7923, 1769, 565, 761, 21, 67, 21, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 1377, 1071, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 3639, 4224, 3830, 18, 3240, 5621, 1377, 289, 565, 15549, 565, 368, 8602, 364, 279, 11562, 264, 6484, 635, 2262, 1897, 399, 625, 457, 2872, 18, 29, 18, 4630, 565, 761, 21, 67, 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, 282, 1071, 918, 752, 4599, 1435, 288, 565, 9809, 21247, 373, 297, 273, 394, 9809, 12, 10304, 16, 348, 8588, 18, 21908, 1769, 565, 5972, 18, 542, 4599, 5190, 12, 27617, 373, 297, 1769, 565, 25085, 761, 21, 273, 394, 25085, 12, 27617, 373, 297, 16, 348, 8588, 18, 3587, 25517, 1769, 565, 761, 21, 18, 542, 1528, 12, 588, 1420, 780, 2932, 18849, 18, 5414, 67, 2649, 18, 1128, 7923, 1769, 565, 9809, 3824, 21, 273, 394, 9809, 12, 1726, 21, 1769, 565, 368, 8602, 364, 279, 11562, 264, 6484, 635, 2262, 1897, 399, 625, 457, 5045, 18, 29, 18, 4630, 565, 3824, 21, 18, 1289, 4599, 2223, 12, 2704, 9809, 4216, 1435, 288, 1377, 1071, 918, 3824, 2 ]
asm.emitPUSH_RegDisp(SP, 2<<LG_WORDSIZE); asm.emitPUSH_RegDisp(SP, 1<<LG_WORDSIZE);
asm.emitPUSH_RegDisp(SP, TWO_SLOTS); asm.emitPUSH_RegDisp(SP, ONE_SLOT);
protected final void emit_aastore() { VM_Barriers.compileModifyCheck(asm, 8); asm.emitPUSH_RegDisp(SP, 2<<LG_WORDSIZE); // duplicate array ref asm.emitPUSH_RegDisp(SP, 1<<LG_WORDSIZE); // duplicate object value genParameterRegisterLoad(2); // pass 2 parameter asm.emitCALL_RegDisp(JTOC, VM_Entrypoints.checkstoreMethod.getOffsetAsInt()); // checkstore(array ref, value) asm.emitMOV_Reg_RegDisp(T0, SP, 4); // T0 is array index asm.emitMOV_Reg_RegDisp(S0, SP, 8); // S0 is the array ref genBoundsCheck(asm, T0, S0); // T0 is index, S0 is address of array if (MM_Interface.NEEDS_WRITE_BARRIER) VM_Barriers.compileArrayStoreBarrier(asm); else { asm.emitMOV_Reg_RegDisp(T1, SP, 0); // T1 is the object value asm.emitMOV_RegIdx_Reg(S0, T0, asm.WORD, 0, T1); // [S0 + T0<<2] <- T1 } asm.emitADD_Reg_Imm(SP, WORDSIZE*3); // complete popping the 3 args }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/c19269673fcdd14e39a92c30e8ccef4cb7ce0402/VM_Compiler.java/clean/rvm/src/vm/arch/intel/compilers/baseline/VM_Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 3626, 67, 69, 689, 479, 1435, 288, 565, 8251, 67, 5190, 566, 414, 18, 11100, 11047, 1564, 12, 23522, 16, 1725, 1769, 565, 20415, 18, 18356, 30348, 67, 1617, 1669, 84, 12, 3118, 16, 576, 17685, 48, 43, 67, 7952, 4574, 1769, 3639, 368, 6751, 526, 1278, 565, 20415, 18, 18356, 30348, 67, 1617, 1669, 84, 12, 3118, 16, 404, 17685, 48, 43, 67, 7952, 4574, 1769, 3639, 368, 6751, 733, 460, 565, 3157, 1662, 3996, 2563, 12, 22, 1769, 5397, 368, 1342, 576, 1569, 565, 20415, 18, 18356, 13730, 67, 1617, 1669, 84, 12, 46, 4296, 39, 16, 8251, 67, 1622, 4139, 18, 1893, 2233, 1305, 18, 588, 2335, 31720, 10663, 368, 866, 2233, 12, 1126, 1278, 16, 460, 13, 565, 20415, 18, 18356, 5980, 58, 67, 1617, 67, 1617, 1669, 84, 12, 56, 20, 16, 11405, 16, 1059, 1769, 2868, 368, 399, 20, 353, 526, 770, 565, 20415, 18, 18356, 5980, 58, 67, 1617, 67, 1617, 1669, 84, 12, 55, 20, 16, 11405, 16, 1725, 1769, 2868, 368, 348, 20, 353, 326, 526, 1278, 565, 3157, 5694, 1564, 12, 23522, 16, 399, 20, 16, 348, 20, 1769, 5397, 368, 399, 20, 353, 770, 16, 348, 20, 353, 1758, 434, 526, 565, 309, 261, 8206, 67, 1358, 18, 5407, 2056, 55, 67, 11677, 67, 21908, 2259, 654, 13, 4202, 8251, 67, 5190, 566, 414, 18, 11100, 1076, 2257, 5190, 10342, 12, 23522, 1769, 565, 469, 288, 1377, 20415, 18, 18356, 5980, 58, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 3626, 67, 69, 689, 479, 1435, 288, 565, 8251, 67, 5190, 566, 414, 18, 11100, 11047, 1564, 12, 23522, 16, 1725, 1769, 565, 20415, 18, 18356, 30348, 67, 1617, 1669, 84, 12, 3118, 16, 576, 17685, 48, 43, 67, 7952, 4574, 1769, 3639, 368, 6751, 526, 1278, 565, 20415, 18, 18356, 30348, 67, 1617, 1669, 84, 12, 3118, 16, 404, 17685, 48, 43, 67, 7952, 4574, 1769, 3639, 368, 6751, 733, 460, 565, 3157, 1662, 3996, 2563, 12, 22, 1769, 5397, 368, 1342, 576, 1569, 565, 20415, 18, 18356, 13730, 67, 1617, 1669, 84, 12, 46, 4296, 39, 16, 8251, 67, 1622, 4139, 18, 1893, 2233, 1305, 18, 588, 2335, 31720, 10663, 368, 866, 2233, 2 ]
public void addVoteBlock(VoteBlock b);
public void addVoteBlock(VoteBlock b) throws IOException;
public void addVoteBlock(VoteBlock b);
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/2d6b227bb1689ed6a835527cda5947852d5870a9/VoteBlocks.java/buggy/src/org/lockss/protocol/VoteBlocks.java
[ 1, 8585, 326, 22398, 316,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 19338, 1768, 12, 19338, 1768, 324, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public LicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // We load the licence loadLicence(); // We put our components infoLabel = new JLabel(parent.langpack.getString("LicencePanel.info"), parent.icons.getImageIcon("history"), JLabel.TRAILING); parent.buildConstraints(gbConstraints, 0, 0, 2, 1, 1.0, 0.0); gbConstraints.insets = new Insets(5, 5, 5, 5); gbConstraints.fill = GridBagConstraints.NONE; gbConstraints.anchor = GridBagConstraints.SOUTHWEST; layout.addLayoutComponent(infoLabel, gbConstraints); add(infoLabel); textArea = new JTextArea(licence); textArea.setCaretPosition(0); textArea.setEditable(false); textArea.setLineWrap(true); textArea.setWrapStyleWord(true); scroller = new JScrollPane(textArea); parent.buildConstraints(gbConstraints, 0, 1, 2, 1, 1.0, 1.0); gbConstraints.anchor = GridBagConstraints.CENTER; gbConstraints.fill = GridBagConstraints.BOTH; layout.addLayoutComponent(scroller, gbConstraints); add(scroller); agreeLabel = new JLabel(parent.langpack.getString("LicencePanel.agree"), parent.icons.getImageIcon("help"), JLabel.TRAILING); parent.buildConstraints(gbConstraints, 0, 2, 2, 1, 1.0, 0.0); gbConstraints.fill = GridBagConstraints.NONE; gbConstraints.anchor = GridBagConstraints.SOUTHWEST; layout.addLayoutComponent(agreeLabel, gbConstraints); add(agreeLabel); ButtonGroup group = new ButtonGroup(); yesRadio = new JRadioButton(parent.langpack.getString("LicencePanel.yes"), false); group.add(yesRadio); parent.buildConstraints(gbConstraints, 0, 3, 1, 1, 0.5, 0.0); gbConstraints.anchor = GridBagConstraints.NORTHWEST; layout.addLayoutComponent(yesRadio, gbConstraints); add(yesRadio); yesRadio.addActionListener(this); noRadio = new JRadioButton(parent.langpack.getString("LicencePanel.no"), false); group.add(noRadio); parent.buildConstraints(gbConstraints, 1, 3, 1, 1, 0.5, 0.0); gbConstraints.anchor = GridBagConstraints.NORTHEAST; layout.addLayoutComponent(noRadio, gbConstraints); add(noRadio); noRadio.addActionListener(this); }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/ddfcd50a0f2d10b4142d6e577c9b63ec84068514/LicencePanel.java/clean/src/lib/com/izforge/izpack/panels/LicencePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 48, 335, 802, 5537, 12, 18678, 3219, 2938, 16, 6410, 751, 350, 396, 15329, 9565, 12, 2938, 16, 350, 396, 1769, 759, 3218, 11160, 477, 6741, 6741, 33, 2704, 6313, 5013, 3744, 5621, 4490, 4878, 33, 2704, 6313, 6852, 5621, 542, 3744, 12, 6741, 1769, 759, 59, 292, 6189, 451, 292, 335, 1331, 292, 6189, 48, 335, 802, 5621, 759, 3218, 458, 477, 8119, 1376, 2224, 33, 2704, 46, 2224, 12, 2938, 18, 4936, 2920, 18, 588, 780, 2932, 48, 335, 802, 5537, 18, 1376, 6, 3631, 2938, 18, 14516, 18, 588, 2040, 5554, 2932, 8189, 6, 3631, 46, 2224, 18, 20060, 2627, 1360, 1769, 2938, 18, 3510, 4878, 12, 4490, 4878, 16, 20, 16, 20, 16, 22, 16, 21, 16, 21, 18, 20, 16, 20, 18, 20, 1769, 4490, 4878, 18, 267, 4424, 33, 2704, 382, 4424, 12, 25, 16, 25, 16, 25, 16, 25, 1769, 4490, 4878, 18, 5935, 33, 6313, 6852, 18, 9826, 31, 4490, 4878, 18, 16215, 33, 6313, 6852, 18, 3584, 5844, 31285, 31, 6741, 18, 1289, 3744, 1841, 12, 1376, 2224, 16, 4490, 4878, 1769, 1289, 12, 1376, 2224, 1769, 955, 5484, 33, 2704, 46, 1528, 5484, 12, 80, 335, 802, 1769, 955, 5484, 18, 542, 39, 20731, 2555, 12, 20, 1769, 955, 5484, 18, 542, 15470, 12, 5743, 1769, 955, 5484, 18, 542, 1670, 2964, 12, 3767, 1769, 955, 5484, 18, 542, 2964, 2885, 3944, 12, 3767, 1769, 1017, 1539, 33, 2704, 46, 26360, 12, 955, 5484, 1769, 2938, 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, 48, 335, 802, 5537, 12, 18678, 3219, 2938, 16, 6410, 751, 350, 396, 15329, 9565, 12, 2938, 16, 350, 396, 1769, 759, 3218, 11160, 477, 6741, 6741, 33, 2704, 6313, 5013, 3744, 5621, 4490, 4878, 33, 2704, 6313, 6852, 5621, 542, 3744, 12, 6741, 1769, 759, 59, 292, 6189, 451, 292, 335, 1331, 292, 6189, 48, 335, 802, 5621, 759, 3218, 458, 477, 8119, 1376, 2224, 33, 2704, 46, 2224, 12, 2938, 18, 4936, 2920, 18, 588, 780, 2932, 48, 335, 802, 5537, 18, 1376, 6, 3631, 2938, 18, 14516, 18, 588, 2040, 5554, 2932, 8189, 6, 3631, 46, 2224, 18, 20060, 2627, 1360, 1769, 2938, 18, 3510, 4878, 12, 4490, 4878, 16, 20, 16, 20, 16, 22, 2 ]
if (!Const.isEmpty(field.getFormat())) { data.daf.applyPattern( field.getFormat() ); } else { data.daf.applyPattern( data.defaultDateFormat.toLocalizedPattern() ); } data.daf.setDateFormatSymbols(data.dafs); retval= data.daf.format(v.getDate());
data.daf.applyPattern( field.getFormat() );
private String formatField(Value v, XMLField field) { String retval=""; if(field == null) return ""; if(v == null || v.isNull()) { String defaultNullValue = field.getNullString(); return defaultNullValue != null ? defaultNullValue : ""; } if (v.isBigNumber() || v.isNumber() || v.isInteger()) { if (field.getFormat() == null) { return v.toString(); } // Formatting if ( !Const.isEmpty(field.getFormat()) ) { data.df.applyPattern(field.getFormat()); } else { data.df.applyPattern(data.defaultDecimalFormat.toLocalizedPattern()); } // Decimal if ( !Const.isEmpty( field.getDecimalSymbol()) ) { data.dfs.setDecimalSeparator( field.getDecimalSymbol().charAt(0) ); } else { data.dfs.setDecimalSeparator( data.defaultDecimalFormatSymbols.getDecimalSeparator() ); } // Grouping if ( !Const.isEmpty( field.getGroupingSymbol()) ) { data.dfs.setGroupingSeparator( field.getGroupingSymbol().charAt(0) ); } else { data.dfs.setGroupingSeparator( data.defaultDecimalFormatSymbols.getGroupingSeparator() ); } // Currency symbol if ( !Const.isEmpty( field.getCurrencySymbol()) ) { data.dfs.setCurrencySymbol( field.getCurrencySymbol() ); } else { data.dfs.setCurrencySymbol( data.defaultDecimalFormatSymbols.getCurrencySymbol() ); } data.df.setDecimalFormatSymbols(data.dfs); if (v.isBigNumber()) { retval=data.df.format(v.getBigNumber()); } else if (v.isNumber()) { retval=data.df.format(v.getNumber()); } else // Integer { retval=data.df.format(v.getInteger()); } } else if (v.isDate()) { if (field!=null && field.getFormat()!=null && v.getDate()!=null) { if (!Const.isEmpty(field.getFormat())) { data.daf.applyPattern( field.getFormat() ); } else { data.daf.applyPattern( data.defaultDateFormat.toLocalizedPattern() ); } data.daf.setDateFormatSymbols(data.dafs); retval= data.daf.format(v.getDate()); } else { if (v.isNull() || v.getDate()==null) { if (field!=null && field.getNullString()!=null) { retval=field.getNullString(); } } else { retval=v.toString(); } } } else if (v.isString()) { retval=v.toString(); } else if (v.isBinary()) { if (v.isNull()) { if (field.getNullString()!=null) retval=field.getNullString(); else retval=Const.NULL_BINARY; } else { try { retval=new String(v.getBytes(), "US-ASCII"); } catch (UnsupportedEncodingException e) { // chances are small we'll get here. US_ASCII is // mandatory. retval=Const.NULL_BINARY; } } } else // Boolean { retval=v.toString(); } return retval; }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/d7cd7b81ee2b8400e495453751f6025eed5a9600/AddXML.java/clean/src/be/ibridge/kettle/trans/step/addxml/AddXML.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 740, 974, 12, 620, 331, 16, 3167, 974, 652, 13, 565, 288, 3639, 514, 5221, 1546, 14432, 3639, 309, 12, 1518, 422, 446, 13, 5411, 327, 1408, 31, 3639, 309, 12, 90, 422, 446, 747, 331, 18, 291, 2041, 10756, 288, 5411, 514, 29031, 620, 273, 652, 18, 588, 2041, 780, 5621, 5411, 327, 29031, 620, 480, 446, 692, 29031, 620, 294, 1408, 31, 3639, 289, 3639, 309, 261, 90, 18, 291, 9901, 1854, 1435, 747, 331, 18, 291, 1854, 1435, 747, 331, 18, 291, 4522, 10756, 3639, 288, 5411, 309, 261, 1518, 18, 588, 1630, 1435, 422, 446, 13, 288, 7734, 327, 225, 331, 18, 10492, 5621, 5411, 289, 5411, 368, 4077, 1787, 5411, 309, 261, 401, 9661, 18, 291, 1921, 12, 1518, 18, 588, 1630, 10756, 262, 5411, 288, 7734, 501, 18, 2180, 18, 9010, 3234, 12, 1518, 18, 588, 1630, 10663, 5411, 289, 5411, 469, 5411, 288, 7734, 501, 18, 2180, 18, 9010, 3234, 12, 892, 18, 1886, 5749, 1630, 18, 869, 2042, 1235, 3234, 10663, 5411, 289, 5411, 368, 11322, 2398, 309, 261, 401, 9661, 18, 291, 1921, 12, 652, 18, 588, 5749, 5335, 10756, 262, 5411, 288, 7734, 501, 18, 12381, 18, 542, 5749, 6581, 12, 652, 18, 588, 5749, 5335, 7675, 3001, 861, 12, 20, 13, 11272, 5411, 289, 5411, 469, 5411, 288, 7734, 501, 18, 12381, 18, 542, 5749, 6581, 12, 501, 18, 1886, 5749, 1630, 14821, 18, 588, 5749, 6581, 1435, 11272, 5411, 289, 5411, 368, 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, 514, 740, 974, 12, 620, 331, 16, 3167, 974, 652, 13, 565, 288, 3639, 514, 5221, 1546, 14432, 3639, 309, 12, 1518, 422, 446, 13, 5411, 327, 1408, 31, 3639, 309, 12, 90, 422, 446, 747, 331, 18, 291, 2041, 10756, 288, 5411, 514, 29031, 620, 273, 652, 18, 588, 2041, 780, 5621, 5411, 327, 29031, 620, 480, 446, 692, 29031, 620, 294, 1408, 31, 3639, 289, 3639, 309, 261, 90, 18, 291, 9901, 1854, 1435, 747, 331, 18, 291, 1854, 1435, 747, 331, 18, 291, 4522, 10756, 3639, 288, 5411, 309, 261, 1518, 18, 588, 1630, 1435, 422, 446, 13, 288, 7734, 327, 225, 331, 18, 10492, 5621, 5411, 289, 5411, 368, 4077, 1787, 5411, 309, 2 ]
int lineCount = fullLine; if (partLine > 0) lineCount++;
int lineCount = fullLine; if (partLine > 0) lineCount++;
public void addSymbols(Alphabet alpha, Symbol [] syms, int start, int length) throws IllegalAlphabetException { try { int aCount = 0; int cCount = 0; int gCount = 0; int tCount = 0; int oCount = 0; int end = start + length - 1; for (int i = start; i <= end; i++) { char c = dnaTokenization.tokenizeSymbol(syms[i]).charAt(0); switch (c) { case 'a': case 'A': aCount++; break; case 'c': case 'C': cCount++; break; case 'g': case 'G': gCount++; break; case 't': case 'T': tCount++; break; default: oCount++; } } // Print out sequence properties in order locusLineCreator(length); if (idb != null) {stream.println(idb); } if (acb != null) {stream.println(acb); } if (svb != null) {stream.println(svb); } if (deb != null) {stream.println(deb); } if (kwb != null) {stream.println(kwb); } if (osb != null) {stream.println(osb); } if (ocb != null) {stream.println(ocb); } if (ccb != null) {stream.println(ccb); } if (ftb.length() != 0) { ftb.insert(0, "FEATURES Location/Qualifiers" + nl); stream.print(ftb); } sq.setLength(0); sq.append("BASE COUNT "); sq.append(aCount + " a "); sq.append(cCount + " c "); sq.append(gCount + " g "); sq.append(tCount + " t "); sq.append(oCount + " others"); sq.append(nl); sq.append("ORIGIN"); // Print sequence summary header stream.println(sq); int fullLine = length / 60; int partLine = length % 60; int lineCount = fullLine; if (partLine > 0) lineCount++; int lineLens [] = new int [lineCount]; // All lines are 60, except last (if present) Arrays.fill(lineLens, 60); lineLens[lineCount - 1] = partLine; // Prepare line 80 characters wide, sequence is subset of this char [] emptyLine = new char [80]; for (int i = 0; i < lineLens.length; i++) { // Empty the sequence buffer sq.setLength(0); // Empty the utility buffer ub.setLength(0); // How long is this chunk? int len = lineLens[i]; // Prep the whitespace Arrays.fill(emptyLine, ' '); sq.append(emptyLine); // Prepare a Symbol array same length as chunk Symbol [] sa = new Symbol [len]; // Get symbols and format into blocks of tokens System.arraycopy(syms, start + (i * 60), sa, 0, len); String blocks = (formatTokenBlock(ub, sa, 10, dnaTokenization)).toString(); sq.replace(10, blocks.length() + 10, blocks); // Calculate the running residue count and add to the line String count = Integer.toString((i * 60) + 1); sq.replace((9 - count.length()), 9, count); // Print formatted sequence line stream.println(sq); } // Print end of entry stream.println("//"); } catch (IllegalSymbolException ex) { throw new IllegalAlphabetException(ex, "DNA not tokenizing"); } }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/81bbcbecd0dab58e07bb12a09bee0e5cd0b82a99/GenbankFileFormer.java/buggy/src/org/biojava/bio/seq/io/GenbankFileFormer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 14821, 12, 27316, 225, 4190, 16, 9506, 282, 8565, 5378, 24367, 16, 9506, 282, 509, 4202, 787, 16, 9506, 282, 509, 4202, 769, 13, 202, 15069, 2141, 27316, 503, 565, 288, 202, 698, 288, 202, 565, 509, 279, 1380, 273, 374, 31, 202, 565, 509, 276, 1380, 273, 374, 31, 202, 565, 509, 314, 1380, 273, 374, 31, 202, 565, 509, 268, 1380, 273, 374, 31, 202, 565, 509, 320, 1380, 273, 374, 31, 202, 565, 509, 679, 273, 787, 397, 769, 300, 404, 31, 202, 565, 364, 261, 474, 277, 273, 787, 31, 277, 1648, 679, 31, 277, 27245, 202, 202, 95, 1082, 565, 1149, 276, 273, 31702, 1345, 1588, 18, 2316, 554, 5335, 12, 9009, 959, 63, 77, 65, 2934, 3001, 861, 12, 20, 1769, 1082, 565, 1620, 261, 71, 13, 1082, 202, 95, 1082, 202, 3593, 296, 69, 4278, 648, 296, 37, 4278, 9506, 565, 279, 1380, 9904, 31, 9506, 565, 898, 31, 1082, 202, 3593, 296, 71, 4278, 648, 296, 39, 4278, 9506, 565, 276, 1380, 9904, 31, 9506, 565, 898, 31, 1082, 202, 3593, 296, 75, 4278, 648, 296, 43, 4278, 9506, 565, 314, 1380, 9904, 31, 9506, 565, 898, 31, 1082, 202, 3593, 296, 88, 4278, 648, 296, 56, 4278, 9506, 565, 268, 1380, 9904, 31, 9506, 565, 898, 31, 1082, 202, 1886, 30, 9506, 565, 320, 1380, 9904, 31, 1082, 202, 97, 202, 202, 97, 5411, 368, 3038, 596, 3102, 1790, 316, 1353, 5411, 22896, 1670, 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, 527, 14821, 12, 27316, 225, 4190, 16, 9506, 282, 8565, 5378, 24367, 16, 9506, 282, 509, 4202, 787, 16, 9506, 282, 509, 4202, 769, 13, 202, 15069, 2141, 27316, 503, 565, 288, 202, 698, 288, 202, 565, 509, 279, 1380, 273, 374, 31, 202, 565, 509, 276, 1380, 273, 374, 31, 202, 565, 509, 314, 1380, 273, 374, 31, 202, 565, 509, 268, 1380, 273, 374, 31, 202, 565, 509, 320, 1380, 273, 374, 31, 202, 565, 509, 679, 273, 787, 397, 769, 300, 404, 31, 202, 565, 364, 261, 474, 277, 273, 787, 31, 277, 1648, 679, 31, 277, 27245, 202, 202, 95, 1082, 565, 1149, 276, 273, 31702, 1345, 1588, 18, 2316, 554, 5335, 2 ]
public void setColumns(int columns) throws PDFFilterException {
public void setColumns(int cols) throws PDFFilterException {
public void setColumns(int columns) throws PDFFilterException { if (predictor != PREDICTION_NONE) { columns = columns; } else { throw new PDFFilterException( "Prediction must not be PREDICTION_NONE in" + " order to set Columns"); } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/c86fe25ff33de96267055954ba20dd65c448ce17/FlateFilter.java/buggy/src/org/apache/fop/pdf/FlateFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 3380, 12, 474, 5347, 13, 1216, 12667, 1586, 503, 288, 3639, 309, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 3380, 12, 474, 5347, 13, 1216, 12667, 1586, 503, 288, 3639, 309, 261, 14491, 280, 480, 7071, 2565, 3106, 67, 9826, 13, 288, 5411, 2168, 273, 2168, 31, 3639, 289, 469, 288, 5411, 604, 394, 12667, 1586, 503, 12, 8227, 315, 20766, 1297, 486, 506, 7071, 2565, 3106, 67, 9826, 316, 6, 8227, 397, 315, 1353, 358, 444, 14962, 8863, 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 ]
_listener.connectionClosed(this);
public void shutdown() { // Setting this flag insures that the socket is closed if this // method is called asynchronously before the socket is initialized. _listener.connectionClosed(this); _shutdownCalled = true; if(_socket != null) { try { _socket.close(); } catch(IOException e) {} } }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/56b828b06ce306ecf390c335df87a0e3eb09a56a/Connection.java/buggy/components/gnutella-core/src/main/java/com/limegroup/gnutella/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5731, 1435, 288, 3639, 368, 13274, 333, 2982, 2763, 1823, 716, 326, 2987, 353, 4375, 309, 333, 3639, 368, 707, 353, 2566, 14952, 1865, 326, 2987, 353, 6454, 18, 9079, 389, 15132, 8185, 273, 638, 31, 3639, 309, 24899, 7814, 480, 446, 13, 288, 5411, 775, 288, 7734, 389, 7814, 18, 4412, 5621, 5411, 289, 1044, 12, 14106, 425, 13, 2618, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5731, 1435, 288, 3639, 368, 13274, 333, 2982, 2763, 1823, 716, 326, 2987, 353, 4375, 309, 333, 3639, 368, 707, 353, 2566, 14952, 1865, 326, 2987, 353, 6454, 18, 9079, 389, 15132, 8185, 273, 638, 31, 3639, 309, 24899, 7814, 480, 446, 13, 288, 5411, 775, 288, 7734, 389, 7814, 18, 4412, 5621, 5411, 289, 1044, 12, 14106, 425, 13, 2618, 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 ]
if (client.game.getPhase() == Game.PHASE_SET_ARTYAUTOHITHEXES) {
if (client.game.getPhase() == IGame.PHASE_SET_ARTYAUTOHITHEXES) {
public void gamePhaseChange(GamePhaseChangeEvent e) { // Are we ignoring events? if ( this.isIgnoringEvents() ) { return; } if ( client.isMyTurn() && client.game.getPhase() != Game.PHASE_SET_ARTYAUTOHITHEXES ) { endMyTurn(); } if (client.game.getPhase() == Game.PHASE_SET_ARTYAUTOHITHEXES) { setStatusBarText(Messages.getString("SelectArtyAutoHitHexDisplay.waitingMinefieldPhase")); //$NON-NLS-1$ } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/db64c0778bbea1399999fd25b589d242f8842761/SelectArtyAutoHitHexDisplay.java/clean/megamek/src/megamek/client/ui/AWT/SelectArtyAutoHitHexDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7920, 11406, 3043, 12, 12496, 11406, 20930, 425, 13, 288, 3639, 368, 12520, 732, 14398, 2641, 35, 3639, 309, 261, 333, 18, 291, 21702, 3783, 1435, 262, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 1004, 18, 291, 12062, 15858, 1435, 597, 2398, 1004, 18, 13957, 18, 588, 11406, 1435, 480, 14121, 18, 8939, 4429, 67, 4043, 67, 4928, 61, 18909, 44, 6379, 2294, 3991, 262, 288, 5411, 679, 12062, 15858, 5621, 3639, 289, 3639, 309, 261, 2625, 18, 13957, 18, 588, 11406, 1435, 422, 467, 12496, 18, 8939, 4429, 67, 4043, 67, 4928, 61, 18909, 44, 6379, 2294, 3991, 13, 288, 5411, 9433, 5190, 1528, 12, 5058, 18, 588, 780, 2932, 3391, 686, 4098, 4965, 13616, 7037, 4236, 18, 20241, 49, 558, 1518, 11406, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7920, 11406, 3043, 12, 12496, 11406, 20930, 425, 13, 288, 3639, 368, 12520, 732, 14398, 2641, 35, 3639, 309, 261, 333, 18, 291, 21702, 3783, 1435, 262, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 1004, 18, 291, 12062, 15858, 1435, 597, 2398, 1004, 18, 13957, 18, 588, 11406, 1435, 480, 14121, 18, 8939, 4429, 67, 4043, 67, 4928, 61, 18909, 44, 6379, 2294, 3991, 262, 288, 5411, 679, 12062, 15858, 5621, 3639, 289, 3639, 309, 261, 2625, 18, 13957, 18, 588, 11406, 1435, 422, 467, 12496, 18, 8939, 4429, 67, 4043, 67, 4928, 61, 18909, 44, 6379, 2294, 3991, 13, 288, 5411, 9433, 5190, 1528, 12, 5058, 18, 588, 780, 2932, 3391, 686, 4098, 2 ]
int height=Integer.parseInt(size[1]);
public void populate(String filename) throws IOException, RPObjectInvalidException { Log4J.startMethod(logger,"populate"); InputStream in=getClass().getClassLoader().getResourceAsStream(filename); BufferedReader file=new BufferedReader(new InputStreamReader(in)); String text=file.readLine(); String[] size=text.split(" "); int width=Integer.parseInt(size[0]); int height=Integer.parseInt(size[1]); int j=0; while((text=file.readLine())!=null) { if(text.trim().equals("")) { break; } String[] items=text.split(","); for(String item: items) { int value=Integer.parseInt(item)-(2401) /* Number of tiles at zelda_outside_chipset */; createEntityAt(value,j%width,j/width); j++; } } Log4J.finishMethod(logger,"populate"); }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/f650dfa7c27925f00a41126aaa5b6d5b3498a5ba/StendhalRPZone.java/clean/src/games/stendhal/server/StendhalRPZone.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 6490, 12, 780, 1544, 13, 1216, 1860, 16, 534, 52, 921, 1941, 503, 565, 288, 565, 1827, 24, 46, 18, 1937, 1305, 12, 4901, 10837, 19936, 8863, 3639, 5037, 316, 33, 588, 797, 7675, 588, 7805, 7675, 588, 1420, 17052, 12, 3459, 1769, 565, 10633, 585, 33, 2704, 10633, 12, 2704, 15322, 12, 267, 10019, 3639, 514, 977, 33, 768, 18, 896, 1670, 5621, 565, 514, 8526, 963, 33, 955, 18, 4939, 2932, 315, 1769, 565, 509, 1835, 33, 4522, 18, 2670, 1702, 12, 1467, 63, 20, 19226, 6647, 509, 525, 33, 20, 31, 3639, 1323, 12443, 955, 33, 768, 18, 896, 1670, 10756, 5, 33, 2011, 13, 1377, 288, 1377, 309, 12, 955, 18, 5290, 7675, 14963, 2932, 6, 3719, 3639, 288, 3639, 898, 31, 3639, 289, 2868, 514, 8526, 1516, 33, 955, 18, 4939, 2932, 16, 8863, 1377, 364, 12, 780, 761, 30, 1516, 13, 3639, 288, 3639, 509, 460, 33, 4522, 18, 2670, 1702, 12, 1726, 24950, 12, 3247, 1611, 13, 1748, 3588, 434, 12568, 622, 998, 488, 69, 67, 659, 5564, 67, 343, 625, 542, 1195, 31, 3639, 752, 1943, 861, 12, 1132, 16, 78, 9, 2819, 16, 78, 19, 2819, 1769, 3639, 525, 9904, 31, 2868, 289, 1377, 289, 565, 1827, 24, 46, 18, 13749, 1305, 12, 4901, 10837, 19936, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 6490, 12, 780, 1544, 13, 1216, 1860, 16, 534, 52, 921, 1941, 503, 565, 288, 565, 1827, 24, 46, 18, 1937, 1305, 12, 4901, 10837, 19936, 8863, 3639, 5037, 316, 33, 588, 797, 7675, 588, 7805, 7675, 588, 1420, 17052, 12, 3459, 1769, 565, 10633, 585, 33, 2704, 10633, 12, 2704, 15322, 12, 267, 10019, 3639, 514, 977, 33, 768, 18, 896, 1670, 5621, 565, 514, 8526, 963, 33, 955, 18, 4939, 2932, 315, 1769, 565, 509, 1835, 33, 4522, 18, 2670, 1702, 12, 1467, 63, 20, 19226, 6647, 509, 525, 33, 20, 31, 3639, 1323, 12443, 955, 33, 768, 18, 896, 1670, 10756, 5, 33, 2011, 13, 1377, 288, 1377, 309, 12, 955, 18, 5290, 2 ]
} else {
} else if (!hasTP && hasTrans && !hasZ && numFiles == 2) { showSlice(c * depth + t); } else {
public void showSlice(int z, int t, boolean trans) { int c = trans ? 0 : 1; if (listTP == null || listC == null) { if (numFiles == 0) numFiles = 1; if (!hasTP) showSlice(z); else showSlice(t + depth*(z-1)); return; } if (numFiles == 1 || (hasZ && !hasTP && !hasTrans && numFiles > 1)) { showSlice(z); } else if (!hasZ && hasTP && !hasTrans && numFiles > 1 && depth == 1) { showSlice(t); } else { if (listTP[0]==0) t -= tpStep; for (int i=0; i<numFiles; i++) { if ((listTP[i] == t && hasTP) && ((listC[i] == c && hasTrans) || listC[i] == -1)) { if (!hasTP) showSlice(t + depth*i); else showSlice(z + depth*i); break; } else if (DEBUG) System.err.println("Something wrong in showSlice()"); } } }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/b5ef98852ba8417cbe1025293f096a0307c0ea24/LociDataBrowser.java/clean/loci/browser/LociDataBrowser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2405, 5959, 12, 474, 998, 16, 509, 268, 16, 1250, 906, 13, 288, 1377, 509, 276, 273, 906, 692, 374, 294, 404, 31, 1377, 309, 261, 1098, 11130, 422, 446, 747, 666, 39, 422, 446, 13, 288, 3639, 309, 261, 2107, 2697, 422, 374, 13, 818, 2697, 273, 404, 31, 3639, 309, 16051, 5332, 11130, 13, 2405, 5959, 12, 94, 1769, 3639, 469, 2405, 5959, 12, 88, 397, 3598, 21556, 94, 17, 21, 10019, 3639, 327, 31, 1377, 289, 1377, 309, 261, 2107, 2697, 422, 404, 747, 261, 5332, 62, 597, 401, 5332, 11130, 597, 401, 5332, 1429, 597, 818, 2697, 405, 404, 3719, 288, 3639, 2405, 5959, 12, 94, 1769, 1377, 289, 1377, 469, 309, 16051, 5332, 62, 597, 711, 11130, 597, 401, 5332, 1429, 597, 818, 2697, 405, 404, 597, 3598, 422, 404, 13, 288, 3639, 2405, 5959, 12, 88, 1769, 1377, 289, 1377, 469, 288, 3639, 309, 261, 1098, 11130, 63, 20, 65, 631, 20, 13, 268, 3947, 8071, 4160, 31, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2107, 2697, 31, 277, 27245, 288, 1850, 309, 14015, 1098, 11130, 63, 77, 65, 422, 268, 597, 711, 11130, 13, 597, 14015, 1098, 39, 63, 77, 65, 422, 276, 597, 711, 1429, 13, 747, 5411, 666, 39, 63, 77, 65, 422, 300, 21, 3719, 1850, 288, 5411, 309, 16051, 5332, 11130, 13, 2405, 5959, 12, 88, 397, 3598, 14, 77, 1769, 5411, 469, 2405, 5959, 12, 94, 397, 3598, 14, 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, 2405, 5959, 12, 474, 998, 16, 509, 268, 16, 1250, 906, 13, 288, 1377, 509, 276, 273, 906, 692, 374, 294, 404, 31, 1377, 309, 261, 1098, 11130, 422, 446, 747, 666, 39, 422, 446, 13, 288, 3639, 309, 261, 2107, 2697, 422, 374, 13, 818, 2697, 273, 404, 31, 3639, 309, 16051, 5332, 11130, 13, 2405, 5959, 12, 94, 1769, 3639, 469, 2405, 5959, 12, 88, 397, 3598, 21556, 94, 17, 21, 10019, 3639, 327, 31, 1377, 289, 1377, 309, 261, 2107, 2697, 422, 404, 747, 261, 5332, 62, 597, 401, 5332, 11130, 597, 401, 5332, 1429, 597, 818, 2697, 405, 404, 3719, 288, 3639, 2405, 5959, 12, 94, 1769, 1377, 289, 1377, 469, 309, 2 ]
gl.glBindProgramNV(GL.GL_VERTEX_PROGRAM_NV, vtxProg); gl.glLoadProgramNV(GL.GL_VERTEX_PROGRAM_NV, vtxProg, transformRefract.length(), transformRefract);
gl.glBindProgramARB (GL.GL_VERTEX_PROGRAM_ARB, vtxProg); gl.glProgramStringARB(GL.GL_VERTEX_PROGRAM_ARB, GL.GL_PROGRAM_FORMAT_ASCII_ARB, transformRefract.length(), transformRefract);
public void init(GLDrawable drawable) { GL gl = drawable.getGL(); GLU glu = drawable.getGLU(); float cc = 1.0f; gl.glClearColor(cc, cc, cc, 1); gl.glColor3f(1,1,1); gl.glEnable(GL.GL_DEPTH_TEST); try { initExtension(gl, "GL_NV_vertex_program"); initExtension(gl, "GL_NV_register_combiners"); initExtension(gl, "GL_NV_register_combiners"); } catch (RuntimeException e) { runExit(); throw(e); } b[' '] = true; // animate by default int[] vtxProgTmp = new int[1]; gl.glGenProgramsNV(1, vtxProgTmp); vtxProg = vtxProgTmp[0]; gl.glBindProgramNV(GL.GL_VERTEX_PROGRAM_NV, vtxProg); gl.glLoadProgramNV(GL.GL_VERTEX_PROGRAM_NV, vtxProg, transformRefract.length(), transformRefract); // FIXME: is this necessary? Only for error checking? // nvparse((const char *)vprog::transform_refract); gl.glTrackMatrixNV(GL.GL_VERTEX_PROGRAM_NV, 0, GL.GL_MODELVIEW_PROJECTION_NV, GL.GL_IDENTITY_NV); gl.glTrackMatrixNV(GL.GL_VERTEX_PROGRAM_NV, 4, GL.GL_MODELVIEW, GL.GL_INVERSE_TRANSPOSE_NV); gl.glTrackMatrixNV(GL.GL_VERTEX_PROGRAM_NV, 8, GL.GL_MODELVIEW, GL.GL_IDENTITY_NV); gl.glTrackMatrixNV(GL.GL_VERTEX_PROGRAM_NV, 12, GL.GL_TEXTURE, GL.GL_IDENTITY_NV); gl.glProgramParameter4fNV(GL.GL_VERTEX_PROGRAM_NV, 59, 0.0f, 0.0f, 0.0f, 1.0f); // eye position gl.glProgramParameter4fNV(GL.GL_VERTEX_PROGRAM_NV, 62, fresnel, fresnel, fresnel, 1.0f); // fresnel multiplier gl.glProgramParameter4fNV(GL.GL_VERTEX_PROGRAM_NV, 63, 1.0f, -1.0f, 1.0f, 0.0f); // texture scale gl.glProgramParameter4fNV(GL.GL_VERTEX_PROGRAM_NV, 64, 0.0f, 1.0f, 2.0f, 3.0f); // misc constants int[] cubemapTmp = new int[1]; gl.glGenTextures(1, cubemapTmp); cubemap = cubemapTmp[0]; gl.glBindTexture(GL.GL_TEXTURE_CUBE_MAP_ARB, cubemap); gl.glTexParameteri(GL.GL_TEXTURE_CUBE_MAP_ARB, GL.GL_TEXTURE_MAG_FILTER, GL.GL_LINEAR); gl.glTexParameteri(GL.GL_TEXTURE_CUBE_MAP_ARB, GL.GL_TEXTURE_MIN_FILTER, GL.GL_LINEAR_MIPMAP_LINEAR); try { loadPNGCubemap(gl, glu, "demos/data/cubemaps/uffizi", true); } catch (IOException e) { runExit(); throw new RuntimeException(e); } gl.glTexEnvi(GL.GL_TEXTURE_ENV, GL.GL_TEXTURE_ENV_MODE, GL.GL_REPLACE); gl.glDisable(GL.GL_CULL_FACE); initCombiners(gl); try { bunnydl = Bunny.gen3DObjectList(gl); } catch (IOException e) { throw new RuntimeException(e); } drawable.addKeyListener(new KeyAdapter() { public void keyTyped(KeyEvent e) { dispatchKey(e.getKeyChar()); } }); // Register the window with the ManipManager ManipManager manager = ManipManager.getManipManager(); manager.registerWindow(drawable); viewer = new ExaminerViewer(MouseButtonHelper.numMouseButtons()); viewer.setNoAltKeyMode(true); viewer.attach(drawable, new BSphereProvider() { public BSphere getBoundingSphere() { return new BSphere(new Vec3f(0, 0, 0), 1.0f); } }); viewer.setVertFOV((float) (15.0f * Math.PI / 32.0f)); viewer.setZNear(0.1f); viewer.setZFar(10.0f); }
6783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6783/8f15869ac9decfc880b4d82dbd6e0a96b54a6004/VertexProgRefract.java/clean/src/demos/vertexProgRefract/VertexProgRefract.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 11261, 16149, 19021, 13, 288, 1377, 10252, 5118, 273, 19021, 18, 588, 11261, 5621, 1377, 10252, 57, 5118, 89, 273, 19021, 18, 588, 11261, 57, 5621, 1377, 1431, 4946, 273, 404, 18, 20, 74, 31, 1377, 5118, 18, 7043, 9094, 2957, 12, 952, 16, 4946, 16, 4946, 16, 404, 1769, 1377, 5118, 18, 7043, 2957, 23, 74, 12, 21, 16, 21, 16, 21, 1769, 1377, 5118, 18, 7043, 8317, 12, 11261, 18, 11261, 67, 27479, 67, 16961, 1769, 1377, 775, 288, 3639, 1208, 3625, 12, 7043, 16, 315, 11261, 67, 11679, 67, 15281, 67, 12890, 8863, 3639, 1208, 3625, 12, 7043, 16, 315, 11261, 67, 11679, 67, 4861, 67, 832, 4757, 414, 8863, 3639, 1208, 3625, 12, 7043, 16, 315, 11261, 67, 11679, 67, 4861, 67, 832, 4757, 414, 8863, 1377, 289, 1044, 261, 11949, 425, 13, 288, 3639, 1086, 6767, 5621, 3639, 604, 12, 73, 1769, 1377, 289, 1377, 324, 3292, 12671, 273, 638, 31, 368, 14671, 635, 805, 1377, 509, 8526, 331, 978, 626, 75, 9161, 273, 394, 509, 63, 21, 15533, 1377, 5118, 18, 7043, 7642, 9459, 87, 11679, 12, 21, 16, 331, 978, 626, 75, 9161, 1769, 1377, 331, 978, 626, 75, 273, 331, 978, 626, 75, 9161, 63, 20, 15533, 1377, 5118, 18, 7043, 3357, 9459, 11679, 12, 11261, 18, 11261, 67, 18937, 67, 21418, 67, 11679, 16, 331, 978, 626, 75, 1769, 1377, 5118, 18, 7043, 2563, 9459, 11679, 12, 11261, 18, 11261, 67, 18937, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 11261, 16149, 19021, 13, 288, 1377, 10252, 5118, 273, 19021, 18, 588, 11261, 5621, 1377, 10252, 57, 5118, 89, 273, 19021, 18, 588, 11261, 57, 5621, 1377, 1431, 4946, 273, 404, 18, 20, 74, 31, 1377, 5118, 18, 7043, 9094, 2957, 12, 952, 16, 4946, 16, 4946, 16, 404, 1769, 1377, 5118, 18, 7043, 2957, 23, 74, 12, 21, 16, 21, 16, 21, 1769, 1377, 5118, 18, 7043, 8317, 12, 11261, 18, 11261, 67, 27479, 67, 16961, 1769, 1377, 775, 288, 3639, 1208, 3625, 12, 7043, 16, 315, 11261, 67, 11679, 67, 15281, 67, 12890, 8863, 3639, 1208, 3625, 12, 7043, 16, 315, 11261, 67, 11679, 67, 4861, 67, 832, 4757, 414, 8863, 3639, 2 ]
return dynamic;
return (dynamicStatus == DYNAMIC);
public boolean isDynamic() { return dynamic; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/483f2db829b15bb1fe970393e065eb7d2a9f68c3/BridgeContext.java/buggy/sources/org/apache/batik/bridge/BridgeContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 9791, 1435, 288, 3639, 327, 261, 14507, 1482, 422, 463, 25145, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 9791, 1435, 288, 3639, 327, 261, 14507, 1482, 422, 463, 25145, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return ScriptRuntime.toString(thisObj);
StringBuffer result = new StringBuffer(128); if (toplevel) { result.append("("); } result.append('{'); try { if (!iterating) { cx.iterating.intern(thisObj); Object[] ids = thisObj.getIds(); for(int i=0; i < ids.length; i++) { if (i > 0) result.append(", "); Object id = ids[i]; Object value; if (id instanceof Integer) { int intId = ((Integer)id).intValue(); value = thisObj.get(intId, thisObj); result.append(intId); } else { String strId = (String)id; value = thisObj.get(strId, thisObj); if (ScriptRuntime.isValidIdentifierName(strId)) { result.append(strId); } else { result.append('\''); result.append( ScriptRuntime.escapeString(strId, '\'')); result.append('\''); } } result.append(':'); result.append(ScriptRuntime.uneval(cx, scope, value)); } } } finally { if (toplevel) { cx.iterating = null; } } result.append('}'); if (toplevel) { result.append(')'); } return result.toString();
private static String toSource(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (thisObj instanceof ScriptableObject) { ScriptableObject so = (ScriptableObject)thisObj; return so.toSource(cx, scope, args); } return ScriptRuntime.toString(thisObj); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/50cd6c7c8c65cae75140334be975585c752ffd3e/NativeObject.java/clean/js/rhino/src/org/mozilla/javascript/NativeObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 358, 1830, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 2211, 2675, 1276, 22780, 921, 13, 288, 5411, 22780, 921, 1427, 273, 261, 3651, 429, 921, 13, 2211, 2675, 31, 5411, 327, 1427, 18, 869, 1830, 12, 71, 92, 16, 2146, 16, 833, 1769, 3639, 289, 540, 6674, 563, 273, 394, 6674, 12, 10392, 1769, 309, 261, 3669, 2815, 13, 288, 563, 18, 6923, 2932, 2932, 1769, 289, 563, 18, 6923, 2668, 95, 8284, 565, 775, 288, 309, 16051, 2165, 1776, 13, 288, 9494, 18, 2165, 1776, 18, 267, 798, 12, 2211, 2675, 1769, 1033, 8526, 3258, 273, 15261, 18, 588, 2673, 5621, 364, 12, 474, 277, 33, 20, 31, 277, 411, 3258, 18, 2469, 31, 277, 27245, 288, 309, 261, 77, 405, 374, 13, 563, 18, 6923, 2932, 16, 315, 1769, 1033, 612, 273, 3258, 63, 77, 15533, 1033, 460, 31, 309, 261, 350, 1276, 2144, 13, 288, 509, 509, 548, 273, 14015, 4522, 13, 350, 2934, 474, 620, 5621, 460, 273, 15261, 18, 588, 12, 474, 548, 16, 15261, 1769, 563, 18, 6923, 12, 474, 548, 1769, 289, 469, 288, 514, 609, 548, 273, 261, 780, 13, 350, 31, 460, 273, 15261, 18, 588, 12, 701, 548, 16, 15261, 1769, 309, 261, 3651, 5576, 18, 26810, 3004, 461, 12, 701, 548, 3719, 288, 563, 18, 6923, 12, 701, 548, 1769, 289, 469, 288, 563, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 358, 1830, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 2211, 2675, 1276, 22780, 921, 13, 288, 5411, 22780, 921, 1427, 273, 261, 3651, 429, 921, 13, 2211, 2675, 31, 5411, 327, 1427, 18, 869, 1830, 12, 71, 92, 16, 2146, 16, 833, 1769, 3639, 289, 540, 6674, 563, 273, 394, 6674, 12, 10392, 1769, 309, 261, 3669, 2815, 13, 288, 563, 18, 6923, 2932, 2932, 1769, 289, 563, 18, 6923, 2668, 95, 8284, 565, 775, 288, 309, 16051, 2165, 1776, 13, 288, 9494, 18, 2165, 1776, 18, 267, 798, 12, 2211, 2675, 1769, 1033, 8526, 3258, 273, 2 ]
public org.quickfix.field.ClientBidID getClientBidID() throws FieldNotFound { org.quickfix.field.ClientBidID value = new org.quickfix.field.ClientBidID();
public quickfix.field.ClientBidID getClientBidID() throws FieldNotFound { quickfix.field.ClientBidID value = new quickfix.field.ClientBidID();
public org.quickfix.field.ClientBidID getClientBidID() throws FieldNotFound { org.quickfix.field.ClientBidID value = new org.quickfix.field.ClientBidID(); 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, 1227, 17763, 734, 7635, 17763, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1227, 17763, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1227, 17763, 734, 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, 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 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, 1227, 17763, 734, 7635, 17763, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1227, 17763, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1227, 17763, 734, 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 ]
changes over time. We ignore that, for now */
changes over time. We ignore that, for now */
private Organization findBestSource(Task task) { Enumeration support_orgs; if (getTaskUtils().isProjection(task)) { /* For a projection, should be time-phased as support changes over time. We ignore that, for now */ support_orgs = getAssetUtils().getSupportingOrgs(inventoryPlugin.getMyOrganization(), providerRole, getTaskUtils().getStartTime(task), TaskUtils.getEndTime(task)); } else { support_orgs = getAssetUtils().getSupportingOrgs(inventoryPlugin.getMyOrganization(), providerRole, getTaskUtils().getEndTime(task)); } if (support_orgs.hasMoreElements()) { // For now, returning the first supporting org during the time span return (Organization)support_orgs.nextElement(); } else { String itemId = task.getDirectObject().getTypeIdentificationPG().getTypeIdentification(); if (getTaskUtils().isProjection(task)) { logger.warn("No "+providerRole+" for task " + task.getUID() + ", during ["+ getTimeUtils().dateString(getTaskUtils().getStartTime(task))+ "-" + getTimeUtils().dateString(TaskUtils.getEndTime(task)) +"]"+". Will retry."); } else { logger.warn("No "+providerRole+" for task " + task.getUID() + ", during "+ getTimeUtils().dateString(getTaskUtils().getEndTime(task))+". Will retry."); } // prevents same error message from being printed many times.// if (!noResupply.contains(itemId)) {// logger.debug("findBestSource() <"+ providerRole +// "> allocateRefillTask no best source for "+itemId);// noResupply.addElement(itemId);// } } return null; }
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/d614e482046977b907c9fd21db4962932b8c2afb/ExternalAllocator.java/clean/bbn/src/org/cougaar/logistics/plugin/inventory/ExternalAllocator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 12046, 1104, 14173, 1830, 12, 2174, 1562, 13, 288, 565, 13864, 2865, 67, 280, 564, 31, 565, 309, 261, 588, 2174, 1989, 7675, 291, 14789, 12, 4146, 3719, 288, 1377, 1748, 2457, 279, 8106, 16, 1410, 506, 813, 17, 28566, 487, 2865, 1377, 3478, 1879, 813, 18, 1660, 2305, 716, 16, 364, 2037, 1195, 1377, 2865, 67, 280, 564, 273, 24689, 1989, 7675, 588, 6289, 310, 1162, 564, 12, 26024, 3773, 18, 588, 12062, 8113, 9334, 4766, 15604, 2893, 2996, 16, 4766, 15604, 11478, 1989, 7675, 588, 13649, 12, 4146, 3631, 4766, 15604, 3837, 1989, 18, 588, 25255, 12, 4146, 10019, 565, 289, 469, 288, 1377, 2865, 67, 280, 564, 273, 24689, 1989, 7675, 588, 6289, 310, 1162, 564, 12, 26024, 3773, 18, 588, 12062, 8113, 9334, 4766, 15604, 2893, 2996, 16, 4766, 15604, 11478, 1989, 7675, 588, 25255, 12, 4146, 10019, 565, 289, 565, 309, 261, 13261, 67, 280, 564, 18, 5332, 7417, 3471, 10756, 288, 1377, 368, 2457, 2037, 16, 5785, 326, 1122, 22930, 2358, 4982, 326, 813, 4548, 1377, 327, 261, 8113, 13, 13261, 67, 280, 564, 18, 4285, 1046, 5621, 565, 289, 565, 469, 288, 1377, 514, 18424, 273, 1562, 18, 588, 5368, 921, 7675, 588, 559, 24371, 18679, 7675, 588, 559, 24371, 5621, 1377, 309, 261, 588, 2174, 1989, 7675, 291, 14789, 12, 4146, 3719, 288, 3639, 1194, 18, 8935, 2932, 2279, 13773, 6778, 2996, 9078, 364, 1562, 315, 397, 1562, 18, 588, 3060, 1435, 397, 3104, 4982, 8247, 15, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 12046, 1104, 14173, 1830, 12, 2174, 1562, 13, 288, 565, 13864, 2865, 67, 280, 564, 31, 565, 309, 261, 588, 2174, 1989, 7675, 291, 14789, 12, 4146, 3719, 288, 1377, 1748, 2457, 279, 8106, 16, 1410, 506, 813, 17, 28566, 487, 2865, 1377, 3478, 1879, 813, 18, 1660, 2305, 716, 16, 364, 2037, 1195, 1377, 2865, 67, 280, 564, 273, 24689, 1989, 7675, 588, 6289, 310, 1162, 564, 12, 26024, 3773, 18, 588, 12062, 8113, 9334, 4766, 15604, 2893, 2996, 16, 4766, 15604, 11478, 1989, 7675, 588, 13649, 12, 4146, 3631, 4766, 15604, 3837, 1989, 18, 588, 25255, 12, 4146, 10019, 565, 289, 469, 288, 1377, 2865, 67, 280, 564, 273, 24689, 1989, 7675, 588, 6289, 310, 2 ]
bookmarksFrame.setVisible(false); bookmarksFrame.dispose(); bookmarksFrame = null;
bookmarksFrame.setVisible(false); bookmarksFrame.dispose(); bookmarksFrame = null;
public void delete(){ browserCanvas.setVisible(false); if (null != bookmarksFrame) { bookmarksFrame.setVisible(false); bookmarksFrame.dispose(); bookmarksFrame = null; } if (null != domViewer) { domViewer.setVisible(false); domViewer.dispose(); domViewer = null; } BrowserControlFactory.deleteBrowserControl(browserControl); browserControl = null; this.hide(); this.dispose(); urlField = null; browserCanvas = null; currentPage = null; bookmarks = null; bookmarksTree = null; controlPanel = null; buttonsPanel = null; currentDocument = null;}
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/afee19ff581e3d13844917014bf035cd25e515ae/EMWindow.java/clean/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1430, 1435, 95, 565, 4748, 12971, 18, 542, 6207, 12, 5743, 1769, 565, 309, 261, 2011, 480, 13696, 87, 3219, 13, 288, 202, 3618, 17439, 3219, 18, 542, 6207, 12, 5743, 1769, 202, 3618, 17439, 3219, 18, 2251, 4150, 5621, 202, 3618, 17439, 3219, 273, 446, 31, 565, 289, 565, 309, 261, 2011, 480, 4092, 18415, 13, 288, 202, 9859, 18415, 18, 542, 6207, 12, 5743, 1769, 202, 9859, 18415, 18, 2251, 4150, 5621, 202, 9859, 18415, 273, 446, 31, 565, 289, 377, 15408, 3367, 1733, 18, 3733, 9132, 3367, 12, 11213, 3367, 1769, 565, 4748, 3367, 273, 446, 31, 565, 333, 18, 11248, 5621, 565, 333, 18, 2251, 4150, 5621, 565, 880, 974, 273, 446, 31, 565, 4748, 12971, 273, 446, 31, 565, 15117, 273, 446, 31, 565, 13696, 87, 273, 446, 31, 565, 13696, 87, 2471, 273, 446, 31, 565, 3325, 5537, 273, 446, 31, 565, 9502, 5537, 273, 446, 31, 565, 783, 2519, 273, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1430, 1435, 95, 565, 4748, 12971, 18, 542, 6207, 12, 5743, 1769, 565, 309, 261, 2011, 480, 13696, 87, 3219, 13, 288, 202, 3618, 17439, 3219, 18, 542, 6207, 12, 5743, 1769, 202, 3618, 17439, 3219, 18, 2251, 4150, 5621, 202, 3618, 17439, 3219, 273, 446, 31, 565, 289, 565, 309, 261, 2011, 480, 4092, 18415, 13, 288, 202, 9859, 18415, 18, 542, 6207, 12, 5743, 1769, 202, 9859, 18415, 18, 2251, 4150, 5621, 202, 9859, 18415, 273, 446, 31, 565, 289, 377, 15408, 3367, 1733, 18, 3733, 9132, 3367, 12, 11213, 3367, 1769, 565, 4748, 3367, 273, 446, 31, 565, 333, 18, 11248, 5621, 565, 333, 18, 2251, 4150, 5621, 565, 880, 974, 273, 446, 31, 2 ]
public void addP2PNodesLookup(P2PNodesLookup nodesLookup) {
public void addP2PNodesLookup(P2PNodeLookup nodesLookup) {
public void addP2PNodesLookup(P2PNodesLookup nodesLookup) { this.p2pNodeslookupList.add(nodesLookup); P2P_LOGGER.debug("A P2P nodes lookup added to the vn: "+this.name); }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/2af7f2743a6477e582d63ba554bbf3751bc584ee/VirtualNodeImpl.java/buggy/src/org/objectweb/proactive/core/descriptor/data/VirtualNodeImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 52, 22, 52, 3205, 6609, 12, 52, 22, 52, 3205, 6609, 2199, 6609, 13, 288, 202, 202, 2211, 18, 84, 22, 84, 3205, 8664, 682, 18, 1289, 12, 4690, 6609, 1769, 202, 202, 52, 22, 52, 67, 8757, 18, 4148, 2932, 37, 453, 22, 52, 2199, 3689, 3096, 358, 326, 21732, 30, 13773, 2211, 18, 529, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 52, 22, 52, 3205, 6609, 12, 52, 22, 52, 3205, 6609, 2199, 6609, 13, 288, 202, 202, 2211, 18, 84, 22, 84, 3205, 8664, 682, 18, 1289, 12, 4690, 6609, 1769, 202, 202, 52, 22, 52, 67, 8757, 18, 4148, 2932, 37, 453, 22, 52, 2199, 3689, 3096, 358, 326, 21732, 30, 13773, 2211, 18, 529, 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 ]
{ if (view != null) view.setParent(null);
{ if (view != null) view.setParent(null);
public void setView(View v) { if (view != null) view.setParent(null); if (v != null) v.setParent(null); view = v; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19923, 12, 1767, 331, 13, 202, 95, 202, 565, 309, 261, 1945, 480, 446, 13, 202, 1945, 18, 542, 3054, 12, 2011, 1769, 5411, 309, 261, 90, 480, 446, 13, 3639, 331, 18, 542, 3054, 12, 2011, 1769, 1377, 1476, 273, 331, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19923, 12, 1767, 331, 13, 202, 95, 202, 565, 309, 261, 1945, 480, 446, 13, 202, 1945, 18, 542, 3054, 12, 2011, 1769, 5411, 309, 261, 90, 480, 446, 13, 3639, 331, 18, 542, 3054, 12, 2011, 1769, 1377, 1476, 273, 331, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (isDigit(c) || (c == '.' && isDigit(in.peek()))) {
if (isDigit(c) || (c == '.' && isDigit(peekChar()))) {
public int getToken() throws IOException { int c; tokenno++; // Check for pushed-back token if (this.pushbackToken != EOF) { int result = this.pushbackToken; this.pushbackToken = EOF; return result; } // Eat whitespace, possibly sensitive to newlines. do { c = in.read(); if (c == '\n') { flags &= ~TSF_DIRTYLINE; if ((flags & TSF_NEWLINES) != 0) break; } } while (isJSSpace(c) || c == '\n'); if (c == EOF_CHAR) return EOF; if (c != '-' && c != '\n') flags |= TSF_DIRTYLINE; // identifier/keyword/instanceof? // watch out for starting with a <backslash> boolean identifierStart; boolean isUnicodeEscapeStart = false; if (c == '\\') { c = in.read(); if (c == 'u') { identifierStart = true; isUnicodeEscapeStart = true; stringBufferTop = 0; } else { identifierStart = false; c = '\\'; in.unread(); } } else { identifierStart = Character.isJavaIdentifierStart((char)c); if (identifierStart) { stringBufferTop = 0; addToString(c); } } if (identifierStart) { boolean containsEscape = isUnicodeEscapeStart; for (;;) { if (isUnicodeEscapeStart) { // strictly speaking we should probably push-back // all the bad characters if the <backslash>uXXXX // sequence is malformed. But since there isn't a // correct context(is there?) for a bad Unicode // escape sequence in an identifier, we can report // an error here. int escapeVal = 0; for (int i = 0; i != 4; ++i) { c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); // Next check takes care about c < 0 and bad escape if (escapeVal < 0) { break; } } if (escapeVal < 0) { reportSyntaxError("msg.invalid.escape", null); return ERROR; } addToString(escapeVal); isUnicodeEscapeStart = false; } else { c = in.read(); if (c == '\\') { c = in.read(); if (c == 'u') { isUnicodeEscapeStart = true; containsEscape = true; } else { reportSyntaxError("msg.illegal.character", null); return ERROR; } } else { if (!Character.isJavaIdentifierPart((char)c)) { break; } addToString(c); } } } in.unread(); String str = getStringFromBuffer(); if (!containsEscape) { // OPT we shouldn't have to make a string (object!) to // check if it's a keyword. // Return the corresponding token if it's a keyword int result = stringToKeyword(str); if (result != EOF) { if (result != RESERVED) { return result; } else if (!Context.getContext().hasFeature( Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER)) { return result; } else { // If implementation permits to use future reserved // keywords in violation with the EcmaScript standard, // treat it as name but issue warning Object[] errArgs = { str }; reportSyntaxWarning("msg.reserved.keyword", errArgs); } } } this.string = str; return NAME; } // is it a number? if (isDigit(c) || (c == '.' && isDigit(in.peek()))) { stringBufferTop = 0; int base = 10; if (c == '0') { c = in.read(); if (c == 'x' || c == 'X') { base = 16; c = in.read(); } else if (isDigit(c)) { base = 8; } else { addToString('0'); } } if (base == 16) { while (0 <= xDigitToInt(c)) { addToString(c); c = in.read(); } } else { while ('0' <= c && c <= '9') { /* * We permit 08 and 09 as decimal numbers, which * makes our behavior a superset of the ECMA * numeric grammar. We might not always be so * permissive, so we warn about it. */ if (base == 8 && c >= '8') { Object[] errArgs = { c == '8' ? "8" : "9" }; reportSyntaxWarning("msg.bad.octal.literal", errArgs); base = 10; } addToString(c); c = in.read(); } } boolean isInteger = true; if (base == 10 && (c == '.' || c == 'e' || c == 'E')) { isInteger = false; if (c == '.') { do { addToString(c); c = in.read(); } while (isDigit(c)); } if (c == 'e' || c == 'E') { addToString(c); c = in.read(); if (c == '+' || c == '-') { addToString(c); c = in.read(); } if (!isDigit(c)) { reportSyntaxError("msg.missing.exponent", null); return ERROR; } do { addToString(c); c = in.read(); } while (isDigit(c)); } } in.unread(); String numString = getStringFromBuffer(); double dval; if (base == 10 && !isInteger) { try { // Use Java conversion to number from string... dval = (Double.valueOf(numString)).doubleValue(); } catch (NumberFormatException ex) { Object[] errArgs = { ex.getMessage() }; reportSyntaxError("msg.caught.nfe", errArgs); return ERROR; } } else { dval = ScriptRuntime.stringToNumber(numString, 0, base); } this.number = dval; return NUMBER; } // is it a string? if (c == '"' || c == '\'') { // We attempt to accumulate a string the fast way, by // building it directly out of the reader. But if there // are any escaped characters in the string, we revert to // building it out of a StringBuffer. int quoteChar = c; int val = 0; stringBufferTop = 0; c = in.read(); strLoop: while (c != quoteChar) { if (c == '\n' || c == EOF_CHAR) { in.unread(); reportSyntaxError("msg.unterminated.string.lit", null); return ERROR; } if (c == '\\') { // We've hit an escaped character c = in.read(); switch (c) { case 'b': c = '\b'; break; case 'f': c = '\f'; break; case 'n': c = '\n'; break; case 'r': c = '\r'; break; case 't': c = '\t'; break; // \v a late addition to the ECMA spec, // it is not in Java, so use 0xb case 'v': c = 0xb; break; case 'u': { /* * Get 4 hex digits; if the u escape is not * followed by 4 hex digits, use 'u' + the literal * character sequence that follows. */ int escapeStart = stringBufferTop; addToString('u'); int escapeVal = 0; for (int i = 0; i != 4; ++i) { c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { continue strLoop; } addToString(c); } // prepare for replace of stored 'u' sequence // by escape value stringBufferTop = escapeStart; c = escapeVal; } break; case 'x': { /* Get 2 hex digits, defaulting to 'x' + literal * sequence, as above. */ c = in.read(); int escapeVal = xDigitToInt(c); if (escapeVal < 0) { addToString('x'); continue strLoop; } else { int c1 = c; c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { addToString('x'); addToString(c1); continue strLoop; } else { // got 2 hex digits c = escapeVal; } } } break; default: if ('0' <= c && c < '8') { val = c - '0'; c = in.read(); if ('0' <= c && c < '8') { val = 8 * val + c - '0'; c = in.read(); if ('0' <= c && c < '8' && val <= 037) { // c is 3rd char of octal sequence only if // the resulting val <= 0377 val = 8 * val + c - '0'; c = in.read(); } } in.unread(); c = val; } } } addToString(c); c = in.read(); } this.string = getStringFromBuffer(); return STRING; } switch (c) { case '\n': return EOL; case ';': return SEMI; case '[': return LB; case ']': return RB; case '{': return LC; case '}': return RC; case '(': return LP; case ')': return RP; case ',': return COMMA; case '?': return HOOK; case ':': return COLON; case '.': return DOT; case '|': if (in.match('|')) { return OR; } else if (in.match('=')) { this.op = BITOR; return ASSIGN; } else { return BITOR; } case '^': if (in.match('=')) { this.op = BITXOR; return ASSIGN; } else { return BITXOR; } case '&': if (in.match('&')) { return AND; } else if (in.match('=')) { this.op = BITAND; return ASSIGN; } else { return BITAND; } case '=': if (in.match('=')) { if (in.match('=')) this.op = SHEQ; else this.op = EQ; return EQOP; } else { this.op = NOP; return ASSIGN; } case '!': if (in.match('=')) { if (in.match('=')) this.op = SHNE; else this.op = NE; return EQOP; } else { this.op = NOT; return UNARYOP; } case '<': /* NB:treat HTML begin-comment as comment-till-eol */ if (in.match('!')) { if (in.match('-')) { if (in.match('-')) { skipLine(); return getToken(); // in place of 'goto retry' } in.unread(); } in.unread(); } if (in.match('<')) { if (in.match('=')) { this.op = LSH; return ASSIGN; } else { this.op = LSH; return SHOP; } } else { if (in.match('=')) { this.op = LE; return RELOP; } else { this.op = LT; return RELOP; } } case '>': if (in.match('>')) { if (in.match('>')) { if (in.match('=')) { this.op = URSH; return ASSIGN; } else { this.op = URSH; return SHOP; } } else { if (in.match('=')) { this.op = RSH; return ASSIGN; } else { this.op = RSH; return SHOP; } } } else { if (in.match('=')) { this.op = GE; return RELOP; } else { this.op = GT; return RELOP; } } case '*': if (in.match('=')) { this.op = MUL; return ASSIGN; } else { return MUL; } case '/': // is it a // comment? if (in.match('/')) { skipLine(); return getToken(); } if (in.match('*')) { while ((c = in.read()) != -1 && !(c == '*' && in.match('/'))) { ; // empty loop body } if (c == EOF_CHAR) { reportSyntaxError("msg.unterminated.comment", null); return ERROR; } return getToken(); // `goto retry' } // is it a regexp? if ((flags & TSF_REGEXP) != 0) { stringBufferTop = 0; while ((c = in.read()) != '/') { if (c == '\n' || c == EOF_CHAR) { in.unread(); reportSyntaxError("msg.unterminated.re.lit", null); return ERROR; } if (c == '\\') { addToString(c); c = in.read(); } addToString(c); } int reEnd = stringBufferTop; while (true) { if (in.match('g')) addToString('g'); else if (in.match('i')) addToString('i'); else if (in.match('m')) addToString('m'); else break; } if (isAlpha(in.peek())) { reportSyntaxError("msg.invalid.re.flag", null); return ERROR; } this.string = new String(stringBuffer, 0, reEnd); this.regExpFlags = new String(stringBuffer, reEnd, stringBufferTop - reEnd); return REGEXP; } if (in.match('=')) { this.op = DIV; return ASSIGN; } else { return DIV; } case '%': this.op = MOD; if (in.match('=')) { return ASSIGN; } else { return MOD; } case '~': this.op = BITNOT; return UNARYOP; case '+': if (in.match('=')) { this.op = ADD; return ASSIGN; } else if (in.match('+')) { return INC; } else { return ADD; } case '-': if (in.match('=')) { this.op = SUB; c = ASSIGN; } else if (in.match('-')) { if (0 == (flags & TSF_DIRTYLINE)) { // treat HTML end-comment after possible whitespace // after line start as comment-utill-eol if (in.match('>')) { skipLine(); return getToken(); } } c = DEC; } else { c = SUB; } flags |= TSF_DIRTYLINE; return c; default: reportSyntaxError("msg.illegal.character", null); return ERROR; } }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/5739d875ab983543fdf729f70a15773fdbe9b1bd/TokenStream.java/buggy/src/org/mozilla/javascript/TokenStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9162, 1435, 1216, 1860, 288, 3639, 509, 276, 31, 3639, 1147, 2135, 9904, 31, 3639, 368, 2073, 364, 18543, 17, 823, 1147, 3639, 309, 261, 2211, 18, 6206, 823, 1345, 480, 6431, 13, 288, 5411, 509, 563, 273, 333, 18, 6206, 823, 1345, 31, 5411, 333, 18, 6206, 823, 1345, 273, 6431, 31, 5411, 327, 563, 31, 3639, 289, 3639, 368, 512, 270, 7983, 16, 10016, 16692, 358, 19181, 18, 3639, 741, 288, 5411, 276, 273, 316, 18, 896, 5621, 5411, 309, 261, 71, 422, 2337, 82, 6134, 288, 7734, 2943, 12058, 4871, 8047, 42, 67, 4537, 5538, 5997, 31, 7734, 309, 14015, 7133, 473, 15508, 42, 67, 12917, 5997, 55, 13, 480, 374, 13, 10792, 898, 31, 5411, 289, 3639, 289, 1323, 261, 291, 46, 1260, 909, 12, 71, 13, 747, 276, 422, 2337, 82, 8284, 3639, 309, 261, 71, 422, 6431, 67, 7305, 13, 5411, 327, 6431, 31, 3639, 309, 261, 71, 480, 4014, 597, 276, 480, 2337, 82, 6134, 5411, 2943, 5626, 15508, 42, 67, 4537, 5538, 5997, 31, 3639, 368, 2756, 19, 11041, 19, 1336, 792, 35, 3639, 368, 4267, 596, 364, 5023, 598, 279, 411, 823, 12877, 34, 3639, 1250, 2756, 1685, 31, 3639, 1250, 353, 16532, 8448, 1685, 273, 629, 31, 3639, 309, 261, 71, 422, 5282, 13, 288, 5411, 276, 273, 316, 18, 896, 5621, 5411, 309, 261, 71, 422, 296, 89, 6134, 288, 7734, 2756, 1685, 273, 638, 31, 7734, 353, 16532, 8448, 1685, 273, 638, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9162, 1435, 1216, 1860, 288, 3639, 509, 276, 31, 3639, 1147, 2135, 9904, 31, 3639, 368, 2073, 364, 18543, 17, 823, 1147, 3639, 309, 261, 2211, 18, 6206, 823, 1345, 480, 6431, 13, 288, 5411, 509, 563, 273, 333, 18, 6206, 823, 1345, 31, 5411, 333, 18, 6206, 823, 1345, 273, 6431, 31, 5411, 327, 563, 31, 3639, 289, 3639, 368, 512, 270, 7983, 16, 10016, 16692, 358, 19181, 18, 3639, 741, 288, 5411, 276, 273, 316, 18, 896, 5621, 5411, 309, 261, 71, 422, 2337, 82, 6134, 288, 7734, 2943, 12058, 4871, 8047, 42, 67, 4537, 5538, 5997, 31, 7734, 309, 14015, 7133, 473, 15508, 42, 67, 12917, 5997, 55, 13, 480, 374, 13, 10792, 2 ]
} catch (IOException ioe) { connection.setClosed(); throw Support.linkException( new SQLException( Messages.get( "error.generic.ioerror", ioe.getMessage()), "08S01"), ioe);
} finally { if ((sendNow || sendFailed) && connectionLock != null) { connectionLock.release(); connectionLock = null; } inBatch = false;
synchronized void executeSQL(String sql, String procName, ParamInfo[] parameters, boolean noMetaData, int timeOut, int maxRows, boolean sendNow) throws SQLException { checkOpen(); clearResponseQueue(); messages.exceptions = null; // TODO Make sure this doesn't actually submit a query in the middle of buffering more requests setRowCount(maxRows); messages.clearWarnings(); this.returnStatus = null; // // Normalize the parameters argument to simplify later checks // if (parameters != null && parameters.length == 0) { parameters = null; } this.parameters = parameters; // // Normalise the procName argument as well // if (procName != null && procName.length() == 0) { procName = null; } if (parameters != null && parameters[0].isRetVal) { returnParam = parameters[0]; nextParam = 0; } else { returnParam = null; nextParam = -1; } if (parameters != null) { if (procName == null && sql.startsWith("EXECUTE ")) { // // If this is a callable statement that could not be fully parsed // into an RPC call convert to straight SQL now. // An example of non RPC capable SQL is {?=call sp_example('literal', ?)} // for (int i = 0; i < parameters.length; i++){ // Output parameters not allowed. if (!parameters[i].isRetVal && parameters[i].isOutput){ throw new SQLException(Messages.get("error.prepare.nooutparam", Integer.toString(i + 1)), "07000"); } } sql = Support.substituteParameters(sql, parameters, getTdsVersion()); parameters = null; } else { // // Check all parameters are either output or have values set // for (int i = 0; i < parameters.length; i++){ if (!parameters[i].isSet && !parameters[i].isOutput){ throw new SQLException(Messages.get("error.prepare.paramnotset", Integer.toString(i + 1)), "07000"); } parameters[i].clearOutValue(); TdsData.getNativeType(connection, parameters[i]); } } } try { switch (tdsVersion) { case Driver.TDS42: executeSQL42(sql, procName, parameters, noMetaData); break; case Driver.TDS50: executeSQL50(sql, procName, parameters); break; case Driver.TDS70: case Driver.TDS80: case Driver.TDS81: executeSQL70(sql, procName, parameters, noMetaData); break; default: throw new IllegalStateException("Unknown TDS version " + tdsVersion); } if (sendNow) { out.flush(); endOfResponse = false; endOfResults = true; wait(timeOut); } else { out.write((byte) DONE_END_OF_RESPONSE); } } catch (IOException ioe) { connection.setClosed(); throw Support.linkException( new SQLException( Messages.get( "error.generic.ioerror", ioe.getMessage()), "08S01"), ioe); } }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/b0f46b984bb3fa75c13727529fda5d298bed1b94/TdsCore.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 1836, 3997, 12, 780, 1847, 16, 4766, 514, 5418, 461, 16, 4766, 3014, 966, 8526, 1472, 16, 4766, 1250, 1158, 6998, 16, 4766, 509, 813, 1182, 16, 4766, 509, 943, 4300, 16, 4766, 1250, 1366, 8674, 13, 5411, 1216, 6483, 288, 3639, 866, 3678, 5621, 3639, 2424, 1064, 3183, 5621, 3639, 2743, 18, 11855, 273, 446, 31, 3639, 368, 2660, 4344, 3071, 333, 3302, 1404, 6013, 4879, 279, 843, 316, 326, 7689, 434, 25056, 1898, 3285, 3639, 444, 26359, 12, 1896, 4300, 1769, 3639, 2743, 18, 8507, 4312, 5621, 3639, 333, 18, 2463, 1482, 273, 446, 31, 3639, 368, 3639, 368, 14282, 326, 1472, 1237, 358, 16499, 5137, 4271, 3639, 368, 3639, 309, 261, 3977, 480, 446, 597, 1472, 18, 2469, 422, 374, 13, 288, 5411, 1472, 273, 446, 31, 3639, 289, 3639, 333, 18, 3977, 273, 1472, 31, 3639, 368, 3639, 368, 8769, 784, 326, 5418, 461, 1237, 487, 5492, 3639, 368, 3639, 309, 261, 9381, 461, 480, 446, 597, 5418, 461, 18, 2469, 1435, 422, 374, 13, 288, 5411, 5418, 461, 273, 446, 31, 3639, 289, 3639, 309, 261, 3977, 480, 446, 597, 1472, 63, 20, 8009, 291, 7055, 3053, 13, 288, 5411, 327, 786, 273, 1472, 63, 20, 15533, 5411, 1024, 786, 273, 374, 31, 3639, 289, 469, 288, 5411, 327, 786, 273, 446, 31, 5411, 1024, 786, 273, 300, 21, 31, 3639, 289, 3639, 309, 261, 3977, 480, 446, 13, 288, 5411, 309, 261, 9381, 461, 422, 446, 597, 1847, 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, 3852, 918, 1836, 3997, 12, 780, 1847, 16, 4766, 514, 5418, 461, 16, 4766, 3014, 966, 8526, 1472, 16, 4766, 1250, 1158, 6998, 16, 4766, 509, 813, 1182, 16, 4766, 509, 943, 4300, 16, 4766, 1250, 1366, 8674, 13, 5411, 1216, 6483, 288, 3639, 866, 3678, 5621, 3639, 2424, 1064, 3183, 5621, 3639, 2743, 18, 11855, 273, 446, 31, 3639, 368, 2660, 4344, 3071, 333, 3302, 1404, 6013, 4879, 279, 843, 316, 326, 7689, 434, 25056, 1898, 3285, 3639, 444, 26359, 12, 1896, 4300, 1769, 3639, 2743, 18, 8507, 4312, 5621, 3639, 333, 18, 2463, 1482, 273, 446, 31, 3639, 368, 3639, 368, 14282, 326, 1472, 1237, 358, 16499, 5137, 4271, 3639, 368, 3639, 309, 261, 3977, 480, 2 ]
if (propertySourceProvider != null) result = propertySourceProvider.getPropertySource(object); else if (object instanceof IPropertySource) result = (IPropertySource) object; else if (object instanceof IAdaptable) result = (IPropertySource) ((IAdaptable) object)
if (propertySourceProvider != null) { result = propertySourceProvider.getPropertySource(object); } else if (object instanceof IPropertySource) { result = (IPropertySource) object; } else if (object instanceof IAdaptable) { result = (IPropertySource) ((IAdaptable) object)
protected IPropertySource getPropertySource(Object object) { if (sources.containsKey(object)) return (IPropertySource) sources.get(object); IPropertySource result = null; if (propertySourceProvider != null) result = propertySourceProvider.getPropertySource(object); else if (object instanceof IPropertySource) result = (IPropertySource) object; else if (object instanceof IAdaptable) result = (IPropertySource) ((IAdaptable) object) .getAdapter(IPropertySource.class); sources.put(object, result); return result; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3a23c3b9bac4db696a0452560047155775a707b7/PropertySheetEntry.java/buggy/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheetEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 1396, 1830, 3911, 1830, 12, 921, 733, 13, 288, 3639, 309, 261, 10141, 18, 12298, 653, 12, 1612, 3719, 5411, 327, 261, 45, 1396, 1830, 13, 5550, 18, 588, 12, 1612, 1769, 3639, 467, 1396, 1830, 563, 273, 446, 31, 3639, 309, 261, 4468, 1830, 2249, 480, 446, 13, 5411, 563, 273, 1272, 1830, 2249, 18, 588, 1396, 1830, 12, 1612, 1769, 3639, 469, 309, 261, 1612, 1276, 467, 1396, 1830, 13, 5411, 563, 273, 261, 45, 1396, 1830, 13, 733, 31, 3639, 469, 309, 261, 1612, 1276, 467, 13716, 429, 13, 5411, 563, 273, 261, 45, 1396, 1830, 13, 14015, 45, 13716, 429, 13, 733, 13, 10792, 263, 588, 4216, 12, 45, 1396, 1830, 18, 1106, 1769, 3639, 5550, 18, 458, 12, 1612, 16, 563, 1769, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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1396, 1830, 13, 5550, 18, 588, 12, 1612, 1769, 3639, 467, 1396, 1830, 563, 273, 446, 31, 3639, 309, 261, 4468, 1830, 2249, 480, 446, 13, 5411, 563, 273, 1272, 1830, 2249, 18, 588, 1396, 1830, 12, 1612, 1769, 3639, 469, 309, 261, 1612, 1276, 467, 1396, 1830, 13, 5411, 563, 273, 261, 45, 1396, 1830, 13, 733, 31, 3639, 469, 309, 261, 1612, 1276, 467, 13716, 429, 13, 5411, 563, 273, 261, 45, 1396, 1830, 13, 14015, 45, 13716, 429, 13, 733, 13, 10792, 263, 588, 4216, 12, 45, 1396, 1830, 18, 2 ]
_frame.openProject(fos);
_frame.openProject(new FileOpenSelector() { public File[] getFiles() throws OperationCanceledException { return new File[] {_projFile}; } });
public void testSaveProject() { FileOpenSelector fos = new FileOpenSelector() { public File[] getFiles() throws OperationCanceledException { return new File[] {_projFile}; } }; // right now it's checking to make sure this doensn't throw exceptions _frame.openProject(fos); _frame.saveProject(); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/82b3ca10673b4b0cfccf8adf1834262d94bfb58d/ProjectMenuTest.java/clean/drjava/src/edu/rice/cs/drjava/ui/ProjectMenuTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 4755, 4109, 1435, 288, 565, 1387, 3678, 4320, 17615, 273, 394, 1387, 3678, 4320, 1435, 288, 1377, 1071, 1387, 8526, 18262, 1435, 1216, 4189, 23163, 503, 288, 3639, 327, 394, 1387, 8526, 288, 67, 17995, 812, 20451, 1377, 289, 565, 289, 31, 565, 368, 2145, 2037, 518, 1807, 6728, 358, 1221, 3071, 333, 741, 773, 82, 1404, 604, 4798, 282, 389, 3789, 18, 3190, 4109, 12, 2704, 1387, 3678, 4320, 1435, 288, 1071, 1387, 8526, 18262, 1435, 1216, 4189, 23163, 503, 288, 327, 394, 1387, 8526, 288, 67, 17995, 812, 20451, 289, 15549, 565, 389, 3789, 18, 5688, 4109, 5621, 225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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 4755, 4109, 1435, 288, 565, 1387, 3678, 4320, 17615, 273, 394, 1387, 3678, 4320, 1435, 288, 1377, 1071, 1387, 8526, 18262, 1435, 1216, 4189, 23163, 503, 288, 3639, 327, 394, 1387, 8526, 288, 67, 17995, 812, 20451, 1377, 289, 565, 289, 31, 565, 368, 2145, 2037, 518, 1807, 6728, 358, 1221, 3071, 333, 741, 773, 82, 1404, 604, 4798, 282, 389, 3789, 18, 3190, 4109, 12, 2704, 1387, 3678, 4320, 1435, 288, 1071, 1387, 8526, 18262, 1435, 1216, 4189, 23163, 503, 288, 327, 394, 1387, 8526, 288, 67, 17995, 812, 20451, 289, 15549, 565, 389, 3789, 18, 5688, 4109, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected String getSystemProperty( String key ) { return (String) systemProperties.get( key );
protected String getSystemProperty( String key ) { return (String) systemProperties.get( key );
protected String getSystemProperty( String key ) { return (String) systemProperties.get( key ); }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/ae16441bfb65f9b01bbfe7ea96697d98df098101/JarSignVerifyMojoTest.java/buggy/maven-jar-plugin/src/test/java/org/apache/maven/plugin/jar/JarSignVerifyMojoTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 514, 12996, 1396, 12, 514, 498, 262, 288, 2398, 327, 261, 780, 13, 2619, 2297, 18, 588, 12, 498, 11272, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4750, 514, 12996, 1396, 12, 514, 498, 262, 288, 2398, 327, 261, 780, 13, 2619, 2297, 18, 588, 12, 498, 11272, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public synchronized Object readRMIObject(Class cl, ClassLoader loader)
public synchronized Object readRMIObject(Class cl)
public synchronized Object readRMIObject(Class cl, ClassLoader loader) throws IOException, ClassNotFoundException { defaultLoader = loader; try { if (cl.isPrimitive()) { if (cl == Boolean.TYPE) { return new Boolean(readBoolean()); } else if (cl == Byte.TYPE) { return new Byte(readByte()); } else if (cl == Short.TYPE) { return new Short(readShort()); } else if (cl == Integer.TYPE) { return new Integer(readInt()); } else if (cl == Long.TYPE) { return new Long(readLong()); } else if (cl == Float.TYPE) { return new Float(readFloat()); } else if (cl == Double.TYPE) { return new Double(readDouble()); } else if (cl == Character.TYPE) { return new Character(readChar()); } else if (cl == Void.TYPE) { return null; } else { // rmi.7F=Unknown primitive class: {0} throw new IOException(Messages.getString("rmi.7F", cl)); //$NON-NLS-1$ } } else { return readObject(); } } finally { defaultLoader = null; } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/ab46299a1f43a4bee11f513e27a79037cdca575e/RMIObjectInputStream.java/buggy/modules/rmi/src/main/java/org/apache/harmony/rmi/transport/RMIObjectInputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1033, 855, 54, 7492, 921, 12, 797, 927, 13, 5411, 1216, 1860, 16, 10403, 288, 3639, 805, 2886, 273, 4088, 31, 3639, 775, 288, 5411, 309, 261, 830, 18, 291, 9840, 10756, 288, 7734, 309, 261, 830, 422, 3411, 18, 2399, 13, 288, 10792, 327, 394, 3411, 12, 896, 5507, 10663, 7734, 289, 469, 309, 261, 830, 422, 3506, 18, 2399, 13, 288, 10792, 327, 394, 3506, 12, 896, 3216, 10663, 7734, 289, 469, 309, 261, 830, 422, 7925, 18, 2399, 13, 288, 10792, 327, 394, 7925, 12, 896, 4897, 10663, 7734, 289, 469, 309, 261, 830, 422, 2144, 18, 2399, 13, 288, 10792, 327, 394, 2144, 12, 896, 1702, 10663, 7734, 289, 469, 309, 261, 830, 422, 3407, 18, 2399, 13, 288, 10792, 327, 394, 3407, 12, 896, 3708, 10663, 7734, 289, 469, 309, 261, 830, 422, 5450, 18, 2399, 13, 288, 10792, 327, 394, 5450, 12, 896, 4723, 10663, 7734, 289, 469, 309, 261, 830, 422, 3698, 18, 2399, 13, 288, 10792, 327, 394, 3698, 12, 896, 5265, 10663, 7734, 289, 469, 309, 261, 830, 422, 6577, 18, 2399, 13, 288, 10792, 327, 394, 6577, 12, 896, 2156, 10663, 7734, 289, 469, 309, 261, 830, 422, 6988, 18, 2399, 13, 288, 10792, 327, 446, 31, 7734, 289, 469, 288, 10792, 368, 6692, 77, 18, 27, 42, 33, 4874, 8225, 667, 30, 288, 20, 97, 10792, 604, 394, 1860, 12, 5058, 18, 588, 780, 2932, 8864, 77, 18, 27, 42, 3113, 927, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1033, 855, 54, 7492, 921, 12, 797, 927, 13, 5411, 1216, 1860, 16, 10403, 288, 3639, 805, 2886, 273, 4088, 31, 3639, 775, 288, 5411, 309, 261, 830, 18, 291, 9840, 10756, 288, 7734, 309, 261, 830, 422, 3411, 18, 2399, 13, 288, 10792, 327, 394, 3411, 12, 896, 5507, 10663, 7734, 289, 469, 309, 261, 830, 422, 3506, 18, 2399, 13, 288, 10792, 327, 394, 3506, 12, 896, 3216, 10663, 7734, 289, 469, 309, 261, 830, 422, 7925, 18, 2399, 13, 288, 10792, 327, 394, 7925, 12, 896, 4897, 10663, 7734, 289, 469, 309, 261, 830, 422, 2144, 18, 2399, 13, 288, 10792, 327, 394, 2144, 12, 896, 1702, 10663, 7734, 289, 469, 309, 261, 2 ]
if (jj_scan_token(VOLATILE)) return true;
if (jj_scan_token(TRANSIENT)) return true;
final private boolean jj_3R_341() { if (jj_scan_token(VOLATILE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/050f1d327a4f37a9453fd61c6eb891b6097d82f6/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5026, 21, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 28412, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5026, 21, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 28412, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.MaxShow getMaxShow() throws FieldNotFound { org.quickfix.field.MaxShow value = new org.quickfix.field.MaxShow();
public quickfix.field.MaxShow getMaxShow() throws FieldNotFound { quickfix.field.MaxShow value = new quickfix.field.MaxShow();
public org.quickfix.field.MaxShow getMaxShow() throws FieldNotFound { org.quickfix.field.MaxShow value = new org.quickfix.field.MaxShow(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderCancelReplaceRequest.java/clean/src/java/src/quickfix/fix42/OrderCancelReplaceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2747, 5706, 7288, 5706, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2747, 5706, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2747, 5706, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2747, 5706, 7288, 5706, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2747, 5706, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2747, 5706, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public FilenameWildcardFilter(String pattern)
public FilenameWildcardFilter()
public FilenameWildcardFilter(String pattern) { super(pattern); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/743d9e954b3a4b52b382fa1f65d64924dff6f605/FilenameWildcardFilter.java/buggy/providers/file/src/java/org/mule/providers/file/filters/FilenameWildcardFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16671, 12121, 1586, 1435, 565, 288, 3639, 2240, 12, 4951, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16671, 12121, 1586, 1435, 565, 288, 3639, 2240, 12, 4951, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public abstract int locationToIndex(JList index, Point location);
public abstract int locationToIndex(JList list, Point location);
public abstract int locationToIndex(JList index, Point location);
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/ListUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/ListUI.java
[ 1, 8585, 326, 22398, 316, 326, 981,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8770, 509, 2117, 19418, 12, 46, 682, 770, 16, 4686, 2117, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
static final int toSpaceDesc() { return hi ? MS1 : MS0; }
static final int toSpaceDesc() { return hi ? MS1 : MS0; }
static final int toSpaceDesc() { return hi ? MS1 : MS0; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/GenCopy.java/buggy/MMTk/src/org/mmtk/plan/generational/copying/GenCopy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 509, 358, 3819, 4217, 1435, 288, 327, 10118, 692, 9238, 21, 294, 9238, 20, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 509, 358, 3819, 4217, 1435, 288, 327, 10118, 692, 9238, 21, 294, 9238, 20, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Map findAnnotations(Class rootNodeType,
public Map findAnnotations( @NotNull Class rootNodeType,
public Map findAnnotations(Class rootNodeType, @NotNull @Validate(Long.class) Set rootNodeIds, @Validate(Long.class) Set annotatorIds, Map options) { if (rootNodeIds.size()==0) return new HashMap(); PojoOptions po = new PojoOptions(options); Query<List<IObject>> q = queryFactory.lookup( PojosFindAnnotationsQueryDefinition.class.getName(), new Parameters() .addIds(rootNodeIds) .addClass(rootNodeType) .addSet("annotatorIds",annotatorIds) .addOptions(po.map())); List<IObject> l = iQuery.execute(q); // no count collection // // Destructive changes below this point. // for (Object object : l) { iQuery.evict(object); } // TODO these here or in Query Definition? // Does it belong to API or to query? if (Dataset.class.equals(rootNodeType)){ return AnnotationTransformations.sortDatasetAnnotatiosn( new HashSet<IObject>(l)); } else if (Image.class.equals(rootNodeType)){ return AnnotationTransformations.sortImageAnnotatiosn( new HashSet<IObject>(l)); } else { throw new IllegalArgumentException( "Class parameter for findAnnotation() must be in " + "{Dataset,Image}, not "+ rootNodeType); } }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/59b11883b95c926d6706e6d30b4cdb898088683c/PojosImpl.java/buggy/components/server/src/ome/logic/PojosImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1635, 1104, 5655, 12, 632, 5962, 1659, 10181, 559, 16, 2398, 632, 5962, 632, 4270, 12, 3708, 18, 1106, 13, 1000, 10181, 2673, 16, 2398, 632, 4270, 12, 3708, 18, 1106, 13, 1000, 6545, 639, 2673, 16, 1635, 702, 13, 288, 1082, 3639, 309, 261, 3085, 907, 2673, 18, 1467, 1435, 631, 20, 13, 5411, 327, 394, 4317, 5621, 202, 202, 52, 10007, 1320, 8275, 273, 394, 453, 10007, 1320, 12, 2116, 1769, 1082, 3639, 2770, 32, 682, 32, 45, 921, 9778, 1043, 273, 843, 1733, 18, 8664, 12, 7734, 453, 6311, 538, 3125, 5655, 1138, 1852, 18, 1106, 18, 17994, 9334, 7734, 394, 7012, 1435, 10792, 263, 1289, 2673, 12, 3085, 907, 2673, 13, 10792, 263, 1289, 797, 12, 3085, 15101, 13, 10792, 263, 1289, 694, 2932, 18338, 639, 2673, 3113, 18338, 639, 2673, 13, 10792, 263, 1289, 1320, 12, 1631, 18, 1458, 1435, 10019, 3639, 987, 32, 45, 921, 34, 328, 273, 277, 1138, 18, 8837, 12, 85, 1769, 3639, 368, 1158, 1056, 1849, 3639, 368, 3639, 368, 10597, 8813, 688, 3478, 5712, 333, 1634, 18, 3639, 368, 3639, 364, 261, 921, 733, 294, 328, 13, 3639, 288, 5411, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 5411, 289, 3639, 368, 2660, 4259, 2674, 578, 316, 2770, 10849, 35, 540, 368, 9637, 518, 10957, 358, 1491, 578, 358, 843, 35, 3639, 309, 261, 10656, 18, 1106, 18, 14963, 12, 3085, 15101, 3719, 95, 2398, 327, 6090, 4059, 1012, 18, 3804, 10656, 11280, 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, 1635, 1104, 5655, 12, 632, 5962, 1659, 10181, 559, 16, 2398, 632, 5962, 632, 4270, 12, 3708, 18, 1106, 13, 1000, 10181, 2673, 16, 2398, 632, 4270, 12, 3708, 18, 1106, 13, 1000, 6545, 639, 2673, 16, 1635, 702, 13, 288, 1082, 3639, 309, 261, 3085, 907, 2673, 18, 1467, 1435, 631, 20, 13, 5411, 327, 394, 4317, 5621, 202, 202, 52, 10007, 1320, 8275, 273, 394, 453, 10007, 1320, 12, 2116, 1769, 1082, 3639, 2770, 32, 682, 32, 45, 921, 9778, 1043, 273, 843, 1733, 18, 8664, 12, 7734, 453, 6311, 538, 3125, 5655, 1138, 1852, 18, 1106, 18, 17994, 9334, 7734, 394, 7012, 1435, 10792, 263, 1289, 2673, 12, 3085, 907, 2673, 13, 10792, 2 ]
HttpURLConnection serverConnection = MylarTracPlugin.getHttpConnection(serverURL);
HttpURLConnection serverConnection = TracUiPlugin.getHttpConnection(serverURL);
private void connectInternal(URL serverURL) throws IOException, KeyManagementException, NoSuchAlgorithmException, TracLoginException { for (int attempt = 0; attempt < 2; attempt++) { HttpURLConnection serverConnection = MylarTracPlugin.getHttpConnection(serverURL); setupSession(serverConnection); serverConnection.connect(); int code = serverConnection.getResponseCode(); if (code == HttpURLConnection.HTTP_UNAUTHORIZED || code == HttpURLConnection.HTTP_FORBIDDEN) { // retry to authenticate due to an expired session authCookie = null; continue; } in = new BufferedInputStream(serverConnection.getInputStream()); return; } throw new TracLoginException(); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/7dcf0da52e8f239c9ba8308700a944e53b42c964/Trac09Client.java/clean/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3077, 3061, 12, 1785, 1438, 1785, 13, 1216, 1860, 16, 1929, 10998, 503, 16, 17684, 16, 1082, 202, 1609, 71, 5358, 503, 288, 202, 202, 1884, 261, 474, 4395, 273, 374, 31, 4395, 411, 576, 31, 4395, 27245, 288, 1082, 202, 2940, 14790, 1438, 1952, 273, 8005, 7901, 1609, 71, 3773, 18, 588, 2940, 1952, 12, 3567, 1785, 1769, 1082, 202, 8401, 2157, 12, 3567, 1952, 1769, 1082, 202, 3567, 1952, 18, 3612, 5621, 1082, 202, 474, 981, 273, 1438, 1952, 18, 588, 1064, 1085, 5621, 1082, 202, 430, 261, 710, 422, 19084, 18, 3693, 67, 2124, 28383, 747, 981, 422, 19084, 18, 3693, 67, 7473, 30198, 13, 288, 9506, 202, 759, 3300, 358, 8929, 6541, 358, 392, 7708, 1339, 9506, 202, 1944, 6151, 273, 446, 31, 9506, 202, 17143, 31, 1082, 202, 97, 1082, 202, 267, 273, 394, 24742, 12, 3567, 1952, 18, 588, 4348, 10663, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 12849, 394, 2197, 71, 5358, 503, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3077, 3061, 12, 1785, 1438, 1785, 13, 1216, 1860, 16, 1929, 10998, 503, 16, 17684, 16, 1082, 202, 1609, 71, 5358, 503, 288, 202, 202, 1884, 261, 474, 4395, 273, 374, 31, 4395, 411, 576, 31, 4395, 27245, 288, 1082, 202, 2940, 14790, 1438, 1952, 273, 8005, 7901, 1609, 71, 3773, 18, 588, 2940, 1952, 12, 3567, 1785, 1769, 1082, 202, 8401, 2157, 12, 3567, 1952, 1769, 1082, 202, 3567, 1952, 18, 3612, 5621, 1082, 202, 474, 981, 273, 1438, 1952, 18, 588, 1064, 1085, 5621, 1082, 202, 430, 261, 710, 422, 19084, 18, 3693, 67, 2124, 28383, 747, 981, 422, 19084, 18, 3693, 67, 7473, 30198, 13, 288, 9506, 202, 759, 3300, 358, 8929, 2 ]
return "aterm.ATermList"; }
return "aterm.ATermList"; }
public String getListType() { return "aterm.ATermList"; }
3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/8a7f5eefd6d08ce575d82dee6d963fc83f20a5c0/JavaTypeConversions.java/buggy/apigen/src/apigen/gen/java/JavaTypeConversions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 10033, 559, 1435, 288, 202, 202, 2463, 315, 270, 1035, 18, 789, 1035, 682, 14432, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 10033, 559, 1435, 288, 202, 202, 2463, 315, 270, 1035, 18, 789, 1035, 682, 14432, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return 0;
float span; if (axis == X_AXIS) span = getComponent().getMinimumSize().width; else if (axis == Y_AXIS) span = getComponent().getMinimumSize().height; else throw new IllegalArgumentException(); return span;
public float getMinimumSpan(int axis) { // TODO: Implement this properly. return 0; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/badba23052f905d992da7c32124c28f4339931fc/ComponentView.java/clean/core/src/classpath/javax/javax/swing/text/ComponentView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1431, 30665, 6952, 12, 474, 2654, 13, 565, 288, 565, 368, 2660, 30, 10886, 333, 8214, 18, 202, 2463, 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, 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, 6952, 12, 474, 2654, 13, 565, 288, 565, 368, 2660, 30, 10886, 333, 8214, 18, 202, 2463, 374, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super.dispose(); }
super.dispose(); }
public void dispose() { if (resolveMarkerAction != null) resolveMarkerAction.dispose(); super.dispose(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/16e5278a583ea26e11e141a4b15c010243882051/ProblemView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 15825, 1435, 288, 3639, 309, 261, 10828, 7078, 1803, 480, 446, 13, 5411, 2245, 7078, 1803, 18, 2251, 4150, 5621, 3639, 2240, 18, 2251, 4150, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 15825, 1435, 288, 3639, 309, 261, 10828, 7078, 1803, 480, 446, 13, 5411, 2245, 7078, 1803, 18, 2251, 4150, 5621, 3639, 2240, 18, 2251, 4150, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if( unsigned ) return 5; else return 3;
return ((unsigned) ? 5 : 3);
public int getTCKind() { if( unsigned ) return 5; // tk_ulong else return 3; }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/a846313dfe15e74b094e04db0fcca0a758cfe35e/LongType.java/clean/src/org/jacorb/idl/LongType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 3181, 3507, 728, 1435, 565, 288, 3639, 309, 12, 9088, 262, 5411, 327, 1381, 31, 368, 13030, 67, 332, 932, 3639, 469, 5411, 327, 890, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 3181, 3507, 728, 1435, 565, 288, 3639, 309, 12, 9088, 262, 5411, 327, 1381, 31, 368, 13030, 67, 332, 932, 3639, 469, 5411, 327, 890, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int alt19=5; alt19 = dfa19.predict(input); switch (alt19) { case 1 : {
} break;
public void mNUM_FLOAT() throws RecognitionException { int type = NUM_FLOAT; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:13: ( ( DIGITS '.' ( DIGITS )? ( EXPONENT_PART )? ( FLOAT_TYPE_SUFFIX )? | '.' DIGITS ( EXPONENT_PART )? ( FLOAT_TYPE_SUFFIX )? | DIGITS EXPONENT_PART FLOAT_TYPE_SUFFIX | DIGITS EXPONENT_PART | DIGITS FLOAT_TYPE_SUFFIX ) ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:13: ( DIGITS '.' ( DIGITS )? ( EXPONENT_PART )? ( FLOAT_TYPE_SUFFIX )? | '.' DIGITS ( EXPONENT_PART )? ( FLOAT_TYPE_SUFFIX )? | DIGITS EXPONENT_PART FLOAT_TYPE_SUFFIX | DIGITS EXPONENT_PART | DIGITS FLOAT_TYPE_SUFFIX ) { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:13: ( DIGITS '.' ( DIGITS )? ( EXPONENT_PART )? ( FLOAT_TYPE_SUFFIX )? | '.' DIGITS ( EXPONENT_PART )? ( FLOAT_TYPE_SUFFIX )? | DIGITS EXPONENT_PART FLOAT_TYPE_SUFFIX | DIGITS EXPONENT_PART | DIGITS FLOAT_TYPE_SUFFIX ) int alt19=5; alt19 = dfa19.predict(input); switch (alt19) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:15: DIGITS '.' ( DIGITS )? ( EXPONENT_PART )? ( FLOAT_TYPE_SUFFIX )? { mDIGITS(); match('.'); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:26: ( DIGITS )? int alt14=2; int LA14_0 = input.LA(1); if ( (LA14_0>='0' && LA14_0<='9') ) { alt14=1; } else { alt14=2;} switch (alt14) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:28: DIGITS { mDIGITS(); } break; } // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:38: ( EXPONENT_PART )? int alt15=2; int LA15_0 = input.LA(1); if ( LA15_0=='E'||LA15_0=='e' ) { alt15=1; } else { alt15=2;} switch (alt15) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:40: EXPONENT_PART { mEXPONENT_PART(); } break; } // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:57: ( FLOAT_TYPE_SUFFIX )? int alt16=2; int LA16_0 = input.LA(1); if ( LA16_0=='D'||LA16_0=='F'||LA16_0=='d'||LA16_0=='f' ) { alt16=1; } else { alt16=2;} switch (alt16) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:59: FLOAT_TYPE_SUFFIX { mFLOAT_TYPE_SUFFIX(); } break; } } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:82: '.' DIGITS ( EXPONENT_PART )? ( FLOAT_TYPE_SUFFIX )? { match('.'); mDIGITS(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:93: ( EXPONENT_PART )? int alt17=2; int LA17_0 = input.LA(1); if ( LA17_0=='E'||LA17_0=='e' ) { alt17=1; } else { alt17=2;} switch (alt17) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:95: EXPONENT_PART { mEXPONENT_PART(); } break; } // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:112: ( FLOAT_TYPE_SUFFIX )? int alt18=2; int LA18_0 = input.LA(1); if ( LA18_0=='D'||LA18_0=='F'||LA18_0=='d'||LA18_0=='f' ) { alt18=1; } else { alt18=2;} switch (alt18) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:114: FLOAT_TYPE_SUFFIX { mFLOAT_TYPE_SUFFIX(); } break; } } break; case 3 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:137: DIGITS EXPONENT_PART FLOAT_TYPE_SUFFIX { mDIGITS(); mEXPONENT_PART(); mFLOAT_TYPE_SUFFIX(); } break; case 4 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:178: DIGITS EXPONENT_PART { mDIGITS(); mEXPONENT_PART(); } break; case 5 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:166:201: DIGITS FLOAT_TYPE_SUFFIX { mDIGITS(); mFLOAT_TYPE_SUFFIX(); } break; } } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 6069, 67, 15640, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 9443, 67, 15640, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621, 3639, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 3639, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 23553, 30, 3437, 30, 261, 261, 24313, 10158, 2611, 261, 24313, 10158, 7851, 261, 22615, 15624, 67, 15055, 7851, 261, 15483, 67, 2399, 67, 14964, 7851, 571, 2611, 24313, 10158, 261, 22615, 15624, 67, 15055, 7851, 261, 15483, 67, 2399, 67, 14964, 7851, 571, 24313, 10158, 22615, 15624, 67, 15055, 15483, 67, 2399, 67, 14964, 571, 24313, 10158, 22615, 15624, 67, 15055, 571, 24313, 10158, 15483, 67, 2399, 67, 14964, 262, 262, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 23553, 30, 3437, 30, 261, 24313, 10158, 2611, 261, 24313, 10158, 7851, 261, 22615, 15624, 67, 15055, 7851, 261, 15483, 67, 2399, 67, 14964, 7851, 571, 2611, 24313, 10158, 261, 22615, 15624, 67, 15055, 7851, 261, 15483, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 6069, 67, 15640, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 9443, 67, 15640, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621, 3639, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 3639, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 23553, 30, 3437, 30, 261, 261, 24313, 10158, 2611, 261, 24313, 10158, 7851, 261, 22615, 15624, 67, 15055, 7851, 261, 15483, 67, 2399, 67, 2 ]
this.front = front; this.back = back;
this.front = frontCaps; this.back = backCaps;
public BufferCapabilities(ImageCapabilities front, ImageCapabilities back, FlipContents flip) { if (front == null || back == null) throw new IllegalArgumentException(); this.front = front; this.back = back; this.flip = flip; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/0440efa0a514d615b497b1b8fc815b4345a1dcdf/BufferCapabilities.java/buggy/libraries/javalib/java/awt/BufferCapabilities.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3525, 14012, 12, 2040, 14012, 6641, 16, 9506, 565, 3421, 14012, 1473, 16, 18701, 478, 3169, 6323, 9668, 13, 225, 288, 565, 309, 261, 10211, 422, 225, 446, 747, 1473, 422, 446, 13, 1377, 604, 394, 2754, 5621, 565, 333, 18, 10211, 273, 6641, 31, 565, 333, 18, 823, 273, 1473, 31, 565, 333, 18, 12357, 273, 9668, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3525, 14012, 12, 2040, 14012, 6641, 16, 9506, 565, 3421, 14012, 1473, 16, 18701, 478, 3169, 6323, 9668, 13, 225, 288, 565, 309, 261, 10211, 422, 225, 446, 747, 1473, 422, 446, 13, 1377, 604, 394, 2754, 5621, 565, 333, 18, 10211, 273, 6641, 31, 565, 333, 18, 823, 273, 1473, 31, 565, 333, 18, 12357, 273, 9668, 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 ]
public static RubyBignum newBignum(Ruby ruby, BigInteger value) { return new RubyBignum(ruby, value); }
public static RubyBignum newBignum(Ruby ruby, long value) { return newBignum(ruby, BigInteger.valueOf(value)); }
public static RubyBignum newBignum(Ruby ruby, BigInteger value) { return new RubyBignum(ruby, value); }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/1cc89bd397c0f049e6fa3045916fd6d9a3cdada8/RubyBignum.java/buggy/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 38, 724, 379, 394, 38, 724, 379, 12, 54, 10340, 22155, 16, 10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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 38, 724, 379, 394, 38, 724, 379, 12, 54, 10340, 22155, 16, 10246, 460, 13, 288, 3639, 327, 394, 19817, 38, 724, 379, 12, 27768, 16, 460, 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 ]
public List<AbstractQueryHit> getHits() { return Collections.unmodifiableList(hits);
public Set<AbstractQueryHit> getHits() { return Collections.unmodifiableSet(hits);
public List<AbstractQueryHit> getHits() { return Collections.unmodifiableList(hits); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/90958fb90be95e99a5677db3816d8beb72990d8b/AbstractRepositoryQuery.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/AbstractRepositoryQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 32, 7469, 1138, 13616, 34, 7628, 1282, 1435, 288, 202, 202, 2463, 5737, 18, 318, 13388, 682, 12, 15173, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 987, 32, 7469, 1138, 13616, 34, 7628, 1282, 1435, 288, 202, 202, 2463, 5737, 18, 318, 13388, 682, 12, 15173, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void exec(String[] args, DataInputStream in, PrintStream out) throws IOException{
public void exec(Arguments args, DataInputStream in, PrintStream out) throws IOException{
public void exec(String[] args, DataInputStream in, PrintStream out) throws IOException{ /* * Output startup message */ Properties versionInfo = new Properties(); try { versionInfo.load( new URL( "resource:/openejb-version.properties" ).openConnection().getInputStream() ); } catch (java.io.IOException e) { } out.print( "OpenEJB Remote Server " ); out.print( versionInfo.getProperty( "version" ) ); out.print(" build: "); out.print(versionInfo.getProperty( "date" )); out.print("-"); out.println(versionInfo.getProperty( "time" )); out.println(versionInfo.getProperty( "url" )); }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/0d59a79b6d661e00a67f685dd46f57e20fa13bd7/Version.java/clean/openejb0/src/server/org/openejb/server/admin/text/Version.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1196, 12, 4628, 833, 16, 29382, 316, 16, 21677, 596, 13, 1216, 1860, 95, 3639, 1748, 540, 380, 3633, 11850, 883, 540, 1195, 3639, 6183, 20555, 273, 394, 6183, 5621, 3639, 775, 288, 5411, 20555, 18, 945, 12, 394, 1976, 12, 315, 3146, 27824, 3190, 73, 10649, 17, 1589, 18, 4738, 6, 262, 18, 3190, 1952, 7675, 588, 4348, 1435, 11272, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 14106, 425, 13, 288, 3639, 289, 3639, 596, 18, 1188, 12, 315, 3678, 22719, 6304, 3224, 315, 11272, 3639, 596, 18, 1188, 12, 20555, 18, 588, 1396, 12, 315, 1589, 6, 262, 11272, 3639, 596, 18, 1188, 2932, 565, 1361, 30, 315, 1769, 3639, 596, 18, 1188, 12, 1589, 966, 18, 588, 1396, 12, 315, 712, 6, 262, 1769, 3639, 596, 18, 1188, 2932, 17, 8863, 3639, 596, 18, 8222, 12, 1589, 966, 18, 588, 1396, 12, 315, 957, 6, 262, 1769, 3639, 596, 18, 8222, 12, 1589, 966, 18, 588, 1396, 12, 315, 718, 6, 262, 1769, 565, 289, 2, 0, 0, 0, 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071, 918, 1196, 12, 4628, 833, 16, 29382, 316, 16, 21677, 596, 13, 1216, 1860, 95, 3639, 1748, 540, 380, 3633, 11850, 883, 540, 1195, 3639, 6183, 20555, 273, 394, 6183, 5621, 3639, 775, 288, 5411, 20555, 18, 945, 12, 394, 1976, 12, 315, 3146, 27824, 3190, 73, 10649, 17, 1589, 18, 4738, 6, 262, 18, 3190, 1952, 7675, 588, 4348, 1435, 11272, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 14106, 425, 13, 288, 3639, 289, 3639, 596, 18, 1188, 12, 315, 3678, 22719, 6304, 3224, 315, 11272, 3639, 596, 18, 1188, 12, 20555, 18, 588, 1396, 12, 315, 1589, 6, 262, 11272, 3639, 596, 18, 1188, 2932, 565, 1361, 30, 315, 1769, 3639, 596, 18, 1188, 2 ]
public Link setPage(String path)
public Link setPage(Path path)
public Link setPage(String path) { if (pageSet) { return this; } requestPath.append('/').append(PAGE_INSTRUCTOR).append(path); pageSet = true; external = false; return this; }
50416 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50416/b39ce190eeba7fb5cdb1d82b1442138f79143008/Link.java/buggy/trunk/waterview/src/main/java/com/cyclopsgroup/waterview/Link.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4048, 18663, 12, 743, 589, 13, 565, 288, 3639, 309, 261, 2433, 694, 13, 3639, 288, 5411, 327, 333, 31, 3639, 289, 3639, 23691, 18, 6923, 2668, 2473, 2934, 6923, 12, 11219, 67, 706, 13915, 916, 2934, 6923, 12, 803, 1769, 3639, 1363, 694, 273, 638, 31, 3639, 3903, 273, 629, 31, 3639, 327, 333, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4048, 18663, 12, 743, 589, 13, 565, 288, 3639, 309, 261, 2433, 694, 13, 3639, 288, 5411, 327, 333, 31, 3639, 289, 3639, 23691, 18, 6923, 2668, 2473, 2934, 6923, 12, 11219, 67, 706, 13915, 916, 2934, 6923, 12, 803, 1769, 3639, 1363, 694, 273, 638, 31, 3639, 3903, 273, 629, 31, 3639, 327, 333, 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 ]
p.calculateChecksum();
public void reassignSelectedPatch() { p.calculateChecksum(); new ReassignPatchDialog(p); }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/f88d36ca46d603e9af822c7d7876f4fb3de50e74/PatchEditorFrame.java/buggy/JSynthLib/core/PatchEditorFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 283, 6145, 7416, 7332, 1435, 288, 9079, 394, 868, 6145, 7332, 6353, 12, 84, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 283, 6145, 7416, 7332, 1435, 288, 9079, 394, 868, 6145, 7332, 6353, 12, 84, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return getPreferredSize();
return toViewCoordinates(getSize());
public Dimension getExtentSize() { if (extentSize == null) return getPreferredSize(); else return extentSize; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 336, 17639, 1225, 1435, 225, 288, 565, 309, 261, 18181, 1225, 422, 446, 13, 1377, 327, 358, 1767, 13431, 12, 588, 1225, 10663, 565, 469, 1377, 327, 11933, 1225, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 336, 17639, 1225, 1435, 225, 288, 565, 309, 261, 18181, 1225, 422, 446, 13, 1377, 327, 358, 1767, 13431, 12, 588, 1225, 10663, 565, 469, 1377, 327, 11933, 1225, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.queryIDs.put( query, item );
this.queryIDs.put( query, String.valueOf( item.getID( ) ) );
protected BaseQueryDefinition createQuery( ReportItemDesign item ) { DataSetHandle dsHandle = ( (ReportItemHandle) item.getHandle( ) ) .getDataSet( ); if ( dsHandle == null ) { // dataset reference error String dsName = (String) ( (ReportItemHandle) item.getHandle( ) ) .getProperty( ReportItemHandle.DATA_SET_PROP ); if ( dsName != null && dsName.length( ) > 0 ) { context.addException( item.getHandle( ), new EngineException( MessageConstants.UNDEFINED_DATASET_ERROR, dsName ) ); } } if ( dsHandle != null ) { ReportItemHandle riHandle = (ReportItemHandle) item.getHandle( ); QueryDefinition query = new QueryDefinition( getParentQuery( ) ); query.setDataSetName( dsHandle.getQualifiedName( ) ); ArrayList bindings = createParamBindings( riHandle .paramBindingsIterator( ) ); if ( bindings.size( ) > 0 ) { query.getInputParamBindings( ).addAll( bindings ); IBaseTransform trans = getTransform( ); if ( trans != null ) { for ( int i = 0; i < bindings.size( ); i++ ) { IInputParameterBinding binding = (IInputParameterBinding) bindings .get( i ); trans.getRowExpressions( ).add( binding.getExpr( ) ); } } } this.queryIDs.put( query, item ); this.queries.add( query ); item.setQuery( query ); return query; } return null; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c20ca9242b39d9b07a5f33e58e8af1e3a67e4a9b/ReportQueryBuilder.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 3360, 1138, 1852, 17698, 12, 8706, 1180, 15478, 761, 262, 202, 202, 95, 1082, 202, 13676, 3259, 3780, 3259, 273, 261, 261, 4820, 1180, 3259, 13, 761, 18, 588, 3259, 12, 262, 262, 6862, 202, 18, 588, 13676, 12, 11272, 1082, 202, 430, 261, 3780, 3259, 422, 446, 262, 1082, 202, 95, 9506, 202, 759, 3709, 2114, 555, 9506, 202, 780, 3780, 461, 273, 261, 780, 13, 261, 261, 4820, 1180, 3259, 13, 761, 18, 588, 3259, 12, 262, 262, 25083, 202, 18, 588, 1396, 12, 8706, 1180, 3259, 18, 4883, 67, 4043, 67, 15811, 11272, 9506, 202, 430, 261, 3780, 461, 480, 446, 597, 3780, 461, 18, 2469, 12, 262, 405, 374, 262, 9506, 202, 95, 6862, 202, 2472, 18, 1289, 503, 12, 761, 18, 588, 3259, 12, 262, 16, 6862, 1082, 202, 2704, 10507, 503, 12, 6862, 6862, 202, 1079, 2918, 18, 2124, 15544, 67, 4883, 4043, 67, 3589, 16, 6862, 6862, 202, 2377, 461, 262, 11272, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 261, 3780, 3259, 480, 446, 262, 1082, 202, 95, 9506, 202, 4820, 1180, 3259, 12347, 3259, 273, 261, 4820, 1180, 3259, 13, 761, 18, 588, 3259, 12, 11272, 9506, 202, 1138, 1852, 843, 273, 394, 2770, 1852, 12, 5089, 1138, 12, 262, 11272, 9506, 202, 2271, 18, 542, 751, 11924, 12, 3780, 3259, 18, 588, 12345, 12, 262, 11272, 9506, 202, 19558, 7394, 273, 752, 786, 10497, 12, 12347, 3259, 25083, 202, 18, 891, 10497, 3198, 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, 1117, 3360, 1138, 1852, 17698, 12, 8706, 1180, 15478, 761, 262, 202, 202, 95, 1082, 202, 13676, 3259, 3780, 3259, 273, 261, 261, 4820, 1180, 3259, 13, 761, 18, 588, 3259, 12, 262, 262, 6862, 202, 18, 588, 13676, 12, 11272, 1082, 202, 430, 261, 3780, 3259, 422, 446, 262, 1082, 202, 95, 9506, 202, 759, 3709, 2114, 555, 9506, 202, 780, 3780, 461, 273, 261, 780, 13, 261, 261, 4820, 1180, 3259, 13, 761, 18, 588, 3259, 12, 262, 262, 25083, 202, 18, 588, 1396, 12, 8706, 1180, 3259, 18, 4883, 67, 4043, 67, 15811, 11272, 9506, 202, 430, 261, 3780, 461, 480, 446, 597, 3780, 461, 18, 2469, 12, 262, 405, 374, 262, 9506, 202, 2 ]
final List ret = new ArrayList(); if (aType.length() == 0) { return ret; } for (Iterator i = getLanguageList().iterator(); i.hasNext();) { final Language aLang = (Language) i.next(); if ((aLang != null) && (((aType.charAt(0) == '!') && !aLang.isType(aType)) || aLang.isType(aType))) { ret.add(aLang); } } return ret;
return getPObjectsOfType(getLanguageList(), aType);
public static List getLanguagesOfType(final String aType) { final List ret = new ArrayList(); if (aType.length() == 0) { return ret; } for (Iterator i = getLanguageList().iterator(); i.hasNext();) { final Language aLang = (Language) i.next(); if ((aLang != null) && (((aType.charAt(0) == '!') && !aLang.isType(aType)) || aLang.isType(aType))) { ret.add(aLang); } } return ret; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/eb5f93299afbba8e2b27cdc67dfddc016c5d86a9/Globals.java/buggy/code/src/java/pcgen/core/Globals.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 987, 9014, 5443, 18859, 12, 6385, 514, 279, 559, 13, 202, 95, 202, 202, 6385, 987, 325, 273, 394, 2407, 5621, 202, 202, 430, 261, 69, 559, 18, 2469, 1435, 422, 374, 13, 202, 202, 95, 1082, 202, 2463, 325, 31, 202, 202, 97, 202, 202, 1884, 261, 3198, 277, 273, 12898, 682, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 202, 202, 95, 1082, 202, 6385, 9889, 279, 7275, 273, 261, 3779, 13, 277, 18, 4285, 5621, 1082, 202, 430, 14015, 69, 7275, 480, 446, 13, 9506, 202, 10, 10, 261, 12443, 69, 559, 18, 3001, 861, 12, 20, 13, 422, 15502, 13, 597, 401, 69, 7275, 18, 291, 559, 12, 69, 559, 3719, 747, 279, 7275, 18, 291, 559, 12, 69, 559, 20349, 1082, 202, 95, 9506, 202, 1349, 18, 1289, 12, 69, 7275, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 325, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 987, 9014, 5443, 18859, 12, 6385, 514, 279, 559, 13, 202, 95, 202, 202, 6385, 987, 325, 273, 394, 2407, 5621, 202, 202, 430, 261, 69, 559, 18, 2469, 1435, 422, 374, 13, 202, 202, 95, 1082, 202, 2463, 325, 31, 202, 202, 97, 202, 202, 1884, 261, 3198, 277, 273, 12898, 682, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 202, 202, 95, 1082, 202, 6385, 9889, 279, 7275, 273, 261, 3779, 13, 277, 18, 4285, 5621, 1082, 202, 430, 14015, 69, 7275, 480, 446, 13, 9506, 202, 10, 10, 261, 12443, 69, 559, 18, 3001, 861, 12, 20, 13, 422, 15502, 13, 597, 401, 69, 7275, 18, 291, 559, 12, 69, 559, 2 ]
cu.codeComplete(cursorLocation, requestor); assertEquals( "should have one completion", "element:objects completion:objects relevance:"+(R_DEFAULT + R_INTERESTING + R_CASE+ R_NON_RESTRICTED),
this.workingCopies[0].codeComplete(cursorLocation, requestor, this.wcOwner); assertResults( "objects[VARIABLE_DECLARATION]{objects, null, [[Ljava.lang.Object;, objects, null, " + (R_DEFAULT + R_INTERESTING + R_CASE+ R_NAME_LESS_NEW_CHARACTERS + R_NON_RESTRICTED) + "}",
public void testCompletionVariableNameOfArray3() throws JavaModelException { CompletionTestsRequestor requestor = new CompletionTestsRequestor(); ICompilationUnit cu= getCompilationUnit("Completion", "src", "", "CompletionVariableNameOfArray3.java"); String str = cu.getSource(); String completeBehind = "ob"; int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); cu.codeComplete(cursorLocation, requestor); assertEquals( "should have one completion", "element:objects completion:objects relevance:"+(R_DEFAULT + R_INTERESTING + R_CASE+ R_NON_RESTRICTED), requestor.getResults());}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/990424c900c7463d4257bff26a1ccc6812106204/CompletionTests.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 11238, 21519, 951, 1076, 23, 1435, 1216, 5110, 1488, 503, 288, 202, 11238, 4709, 8943, 280, 590, 280, 273, 394, 20735, 4709, 8943, 280, 5621, 202, 45, 19184, 2802, 15985, 33, 336, 19184, 2802, 2932, 11238, 3113, 315, 4816, 3113, 23453, 315, 11238, 21519, 951, 1076, 23, 18, 6290, 8863, 202, 780, 609, 273, 15985, 18, 588, 1830, 5621, 202, 780, 3912, 1919, 31748, 273, 315, 947, 14432, 202, 474, 3347, 2735, 273, 609, 18, 2722, 31985, 12, 6226, 1919, 31748, 13, 397, 3912, 1919, 31748, 18, 2469, 5621, 202, 6319, 18, 710, 6322, 12, 9216, 2735, 16, 590, 280, 1769, 202, 11231, 8867, 12, 202, 202, 6, 13139, 1240, 1245, 8364, 3113, 202, 202, 6, 2956, 30, 6911, 565, 8364, 30, 6911, 565, 6707, 5882, 2773, 15, 12, 54, 67, 5280, 397, 534, 67, 9125, 11027, 1360, 397, 534, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 11238, 21519, 951, 1076, 23, 1435, 1216, 5110, 1488, 503, 288, 202, 11238, 4709, 8943, 280, 590, 280, 273, 394, 20735, 4709, 8943, 280, 5621, 202, 45, 19184, 2802, 15985, 33, 336, 19184, 2802, 2932, 11238, 3113, 315, 4816, 3113, 23453, 315, 11238, 21519, 951, 1076, 23, 18, 6290, 8863, 202, 780, 609, 273, 15985, 18, 588, 1830, 5621, 202, 780, 3912, 1919, 31748, 273, 315, 947, 14432, 202, 474, 3347, 2735, 273, 609, 18, 2722, 31985, 12, 6226, 1919, 31748, 13, 397, 3912, 1919, 31748, 18, 2469, 5621, 202, 6319, 18, 710, 6322, 12, 9216, 2735, 16, 590, 280, 1769, 202, 11231, 8867, 12, 202, 202, 6, 13139, 1240, 1245, 8364, 3113, 202, 202, 6, 2 ]
processOutgoingPreformatted(newBuf, 0, newBuf.length, tracker, -1, null);
processOutgoingPreformatted(newBuf, 0, newBuf.length, pn, -1, null);
public void processOutgoing(byte[] buf, int offset, int length, KeyTracker tracker) throws KeyChangedException, NotConnectedException { byte[] newBuf = preformat(buf, offset, length); processOutgoingPreformatted(newBuf, 0, newBuf.length, tracker, -1, null); }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/1f947095059b0f19cd86f900dbfec66e35d37241/FNPPacketMangler.java/buggy/src/freenet/node/FNPPacketMangler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 24866, 12, 7229, 8526, 1681, 16, 509, 1384, 16, 509, 769, 16, 1929, 8135, 9745, 13, 1216, 1929, 5033, 503, 16, 31541, 503, 288, 3639, 1160, 8526, 394, 5503, 273, 675, 2139, 12, 4385, 16, 1384, 16, 769, 1769, 3639, 1207, 24866, 1386, 14897, 12, 2704, 5503, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 24866, 12, 7229, 8526, 1681, 16, 509, 1384, 16, 509, 769, 16, 1929, 8135, 9745, 13, 1216, 1929, 5033, 503, 16, 31541, 503, 288, 3639, 1160, 8526, 394, 5503, 273, 675, 2139, 12, 4385, 16, 1384, 16, 769, 1769, 3639, 1207, 24866, 1386, 14897, 12, 2704, 5503, 16, 374, 16, 394, 5503, 18, 2469, 16, 11059, 16, 300, 21, 16, 446, 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 ]
Button.send(p, ch, new NameValue("button",MIDI_CH) , new NameValue("action",DEPRESS)); Button.send(p, ch, new NameValue("button",MIDI_CH) , new NameValue("action",RELEASE));
Button.send(p, ch, new NameValue("button",MIDI_CH) , new NameValue("action",DEPRESS)); Button.send(p, ch, new NameValue("button",MIDI_CH) , new NameValue("action",RELEASE));
protected static void mkSysInfoAvail(int p, byte ch) // port, channel { Button.send(p, ch, new NameValue("button",FUNCTION) , new NameValue("action",DEPRESS)); Button.send(p, ch, new NameValue("button",FUNCTION) , new NameValue("action",RELEASE)); Button.send(p, ch, new NameValue("button",BATTERY) , new NameValue("action",DEPRESS)); Button.send(p, ch, new NameValue("button",BATTERY) , new NameValue("action",RELEASE)); Button.send(p, ch, new NameValue("button",MIDI_CH) , new NameValue("action",DEPRESS)); Button.send(p, ch, new NameValue("button",MIDI_CH) , new NameValue("action",RELEASE)); Button.send(p, ch, new NameValue("button",SYSINFO) , new NameValue("action",DEPRESS)); Button.send(p, ch, new NameValue("button",SYSINFO) , new NameValue("action",RELEASE)); Button.send(p, ch, new NameValue("button",YES) , new NameValue("action",DEPRESS)); Button.send(p, ch, new NameValue("button",YES) , new NameValue("action",RELEASE)); }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/4257a12add320e7386d2e846e2e34d26914720ec/DX7ParamChanges.java/buggy/JSynthLib/synthdrivers/YamahaDX7/DX7ParamChanges.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 918, 5028, 12712, 966, 3769, 671, 12, 474, 293, 16, 1160, 462, 13, 368, 1756, 16, 1904, 225, 288, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 7788, 13, 269, 394, 1770, 620, 2932, 1128, 3113, 1639, 22526, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 7788, 13, 269, 394, 1770, 620, 2932, 1128, 3113, 30762, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 38, 789, 2560, 61, 13, 225, 269, 394, 1770, 620, 2932, 1128, 3113, 1639, 22526, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 38, 789, 2560, 61, 13, 225, 269, 394, 1770, 620, 2932, 1128, 3113, 30762, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 49, 30218, 67, 1792, 13, 225, 269, 394, 1770, 620, 2932, 1128, 3113, 1639, 22526, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 49, 30218, 67, 1792, 13, 225, 269, 394, 1770, 620, 2932, 1128, 3113, 30762, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 30664, 5923, 13, 225, 269, 394, 1770, 620, 2932, 1128, 3113, 1639, 22526, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 30664, 5923, 13, 225, 269, 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, 282, 4750, 760, 918, 5028, 12712, 966, 3769, 671, 12, 474, 293, 16, 1160, 462, 13, 368, 1756, 16, 1904, 225, 288, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 7788, 13, 269, 394, 1770, 620, 2932, 1128, 3113, 1639, 22526, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 7788, 13, 269, 394, 1770, 620, 2932, 1128, 3113, 30762, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 5391, 3113, 38, 789, 2560, 61, 13, 225, 269, 394, 1770, 620, 2932, 1128, 3113, 1639, 22526, 10019, 565, 12569, 18, 4661, 12, 84, 16, 462, 16, 394, 1770, 620, 2932, 2 ]
public void execute() throws BuildException { if (!destinationDirectory.isDirectory()) { throw new BuildException("destination directory " + destinationDirectory.getPath() + " is not valid"); } if (!sourceDirectory.isDirectory()) { throw new BuildException("src directory " + sourceDirectory.getPath() + " is not valid"); } if (destinationPackage == null) { throw new BuildException("package attribute must be present.", getLocation()); } pathToPackage = this.destinationPackage.replace('.', File.separatorChar); // get all the files in the sourceDirectory DirectoryScanner ds = super.getDirectoryScanner(sourceDirectory); //use the systemclasspath as well, to include the ant jar if (compileClasspath == null) { compileClasspath = new Path(getProject()); } compileClasspath = compileClasspath.concatSystemClasspath(); String[] files = ds.getIncludedFiles(); //Weblogic.jspc calls System.exit() ... have to fork // Therefore, takes loads of time // Can pass directories at a time (*.jsp) but easily runs out of memory on hefty dirs // (even on a Sun) Java helperTask = (Java) getProject().createTask("java"); helperTask.setFork(true); helperTask.setClassname("weblogic.jspc"); helperTask.setTaskName(getTaskName()); String[] args = new String[12]; File jspFile = null; String parents = ""; int j = 0; //XXX this array stuff is a remnant of prev trials.. gotta remove. args[j++] = "-d"; args[j++] = destinationDirectory.getAbsolutePath().trim(); args[j++] = "-docroot"; args[j++] = sourceDirectory.getAbsolutePath().trim(); args[j++] = "-keepgenerated"; //TODO: Parameterise ?? //Call compiler as class... dont want to fork again //Use classic compiler -- can be parameterised? args[j++] = "-compilerclass"; args[j++] = "sun.tools.javac.Main"; //Weblogic jspc does not seem to work unless u explicitly set this... // Does not take the classpath from the env.... // Am i missing something about the Java task?? args[j++] = "-classpath"; args[j++] = compileClasspath.toString(); this.scanDir(files); log("Compiling " + filesToDo.size() + " JSP files"); for (int i = 0; i < filesToDo.size(); i++) { //XXX // All this to get package according to weblogic standards // Can be written better... this is too hacky! // Careful.. similar code in scanDir , but slightly different!! String filename = (String) filesToDo.elementAt(i); jspFile = new File(filename); args[j] = "-package"; parents = jspFile.getParent(); if ((parents != null) && (!("").equals(parents))) { parents = this.replaceString(parents, File.separator, "_."); args[j + 1] = destinationPackage + "." + "_" + parents; } else { args[j + 1] = destinationPackage; } args[j + 2] = sourceDirectory + File.separator + filename; helperTask.clearArgs(); for (int x = 0; x < j + 3; x++) { helperTask.createArg().setValue(args[x]); } helperTask.setClasspath(compileClasspath); if (helperTask.executeJava() != 0) { log(filename + " failed to compile", Project.MSG_WARN); } } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/60f48875263c0b85f9eab0d94454e3ce3efce5c2/WLJspc.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 16051, 10590, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 10590, 1867, 315, 397, 2929, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 4766, 4202, 309, 16051, 3168, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 4816, 1867, 315, 397, 1084, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 3639, 309, 261, 10590, 2261, 422, 446, 13, 288, 5411, 604, 394, 18463, 2932, 5610, 1566, 1297, 506, 3430, 1199, 16, 13312, 10663, 3639, 289, 13491, 12221, 2261, 5411, 273, 333, 18, 10590, 2261, 18, 2079, 2668, 1093, 16, 1387, 18, 11287, 2156, 1769, 3639, 368, 336, 777, 326, 1390, 316, 326, 1084, 2853, 3639, 8930, 11338, 3780, 273, 2240, 18, 588, 2853, 11338, 12, 3168, 2853, 1769, 3639, 368, 1202, 326, 2619, 26302, 487, 5492, 16, 358, 2341, 326, 17841, 7334, 3639, 309, 261, 11100, 17461, 422, 446, 13, 288, 5411, 4074, 17461, 273, 394, 2666, 12, 588, 4109, 10663, 3639, 289, 7734, 4074, 17461, 273, 4074, 17461, 18, 16426, 3163, 17461, 5621, 3639, 514, 8526, 1390, 273, 3780, 18, 588, 19323, 2697, 5621, 7734, 368, 4079, 28339, 18, 24926, 71, 4097, 2332, 18, 8593, 1435, 1372, 1240, 358, 12515, 3639, 368, 17189, 16, 5530, 6277, 434, 813, 540, 368, 4480, 1342, 6402, 622, 279, 813, 261, 11146, 24926, 13, 1496, 17997, 7597, 596, 434, 3778, 603, 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, 1836, 1435, 1216, 18463, 288, 3639, 309, 16051, 10590, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 10590, 1867, 315, 397, 2929, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 4766, 4202, 309, 16051, 3168, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 4816, 1867, 315, 397, 1084, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 3639, 309, 261, 10590, 2261, 422, 446, 13, 288, 5411, 604, 394, 18463, 2932, 5610, 1566, 1297, 506, 3430, 1199, 16, 13312, 10663, 3639, 289, 13491, 12221, 2261, 5411, 273, 333, 18, 10590, 2261, 18, 2079, 2668, 1093, 16, 1387, 2 ]
if (values == null) { values = new ArrayList(1); values.add(value); keyToValues.put(key, values);
Writable valueClone = WritableUtils.clone(value, job); if (values == null) { values = new ArrayList(1); values.add(valueClone); Writable keyClone = WritableUtils.clone(key, job); keyToValues.put(keyClone, values);
public synchronized void collect(WritableComparable key, Writable value) throws IOException { // buffer new value in map ArrayList values = (ArrayList)keyToValues.get(key); if (values == null) { // no values yet for this key values = new ArrayList(1); // make a new list values.add(value); // add this value keyToValues.put(key, values); // add to map } else { values.add(value); // other values: just add new } count++; if (count >= this.limit) { // time to flush flush(); } }
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/7dfe4673b0902ea7370dc3be695ba142fb5e2bb1/CombiningCollector.java/clean/src/java/org/apache/hadoop/mapred/CombiningCollector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 3274, 12, 12061, 799, 10207, 498, 16, 14505, 460, 13, 565, 1216, 1860, 288, 565, 368, 1613, 394, 460, 316, 852, 565, 2407, 924, 273, 261, 19558, 13, 856, 774, 1972, 18, 588, 12, 856, 1769, 565, 309, 261, 2372, 422, 446, 13, 288, 7682, 368, 1158, 924, 4671, 364, 333, 498, 1377, 924, 273, 394, 2407, 12, 21, 1769, 5375, 368, 1221, 279, 394, 666, 1377, 924, 18, 1289, 12, 1132, 1769, 12900, 368, 527, 333, 460, 1377, 498, 774, 1972, 18, 458, 12, 856, 16, 924, 1769, 9079, 368, 527, 358, 852, 565, 289, 469, 288, 1377, 924, 18, 1289, 12, 1132, 1769, 12900, 368, 1308, 924, 30, 2537, 527, 394, 565, 289, 565, 1056, 9904, 31, 565, 309, 261, 1883, 1545, 333, 18, 3595, 13, 288, 7682, 368, 813, 358, 3663, 1377, 3663, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 3274, 12, 12061, 799, 10207, 498, 16, 14505, 460, 13, 565, 1216, 1860, 288, 565, 368, 1613, 394, 460, 316, 852, 565, 2407, 924, 273, 261, 19558, 13, 856, 774, 1972, 18, 588, 12, 856, 1769, 565, 309, 261, 2372, 422, 446, 13, 288, 7682, 368, 1158, 924, 4671, 364, 333, 498, 1377, 924, 273, 394, 2407, 12, 21, 1769, 5375, 368, 1221, 279, 394, 666, 1377, 924, 18, 1289, 12, 1132, 1769, 12900, 368, 527, 333, 460, 1377, 498, 774, 1972, 18, 458, 12, 856, 16, 924, 1769, 9079, 368, 527, 358, 852, 565, 289, 469, 288, 1377, 924, 18, 1289, 12, 1132, 1769, 12900, 368, 1308, 924, 30, 2537, 527, 394, 565, 289, 2 ]
public void setKeySelectionManager(KeySelectionManager value0) { }
public void setKeySelectionManager(KeySelectionManager aManager) { }
public void setKeySelectionManager(KeySelectionManager value0) { // TODO } // setKeySelectionManager()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 16696, 6233, 1318, 12, 653, 6233, 1318, 460, 20, 13, 288, 202, 202, 759, 2660, 202, 97, 368, 16696, 6233, 1318, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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6233, 1318, 460, 20, 13, 288, 202, 202, 759, 2660, 202, 97, 368, 16696, 6233, 1318, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
* tArray(x), other -> tArray(x) iff tArray implements object
* tArray(x), other -> tError
public Type getSpecializedType(Type type) { /* * tArray(x), tArray(y) -> tArray(x.intersection(y)) * tArray(x), other -> tArray(x) iff tArray implements object */ if (type.getTypeCode() == TC_RANGE) { type = ((RangeType) type).getBottom(); } if (type == tNull) return this; if (type.getTypeCode() == TC_ARRAY) { Type elType = elementType.intersection (((ArrayType)type).elementType); return elType != tError ? tArray(elType) : tError; } if (type.isSubTypeOf(this)) return this; return tError; }
5628 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5628/08bc5f51571f3b707c9b0a183b894668281f9009/ArrayType.java/clean/jode/jode/type/ArrayType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1412, 20189, 649, 13091, 12, 559, 618, 13, 288, 3639, 1748, 21114, 380, 225, 268, 1076, 12, 92, 3631, 268, 1076, 12, 93, 13, 317, 268, 1076, 12, 92, 18, 30231, 12, 93, 3719, 540, 380, 225, 268, 1076, 12, 92, 3631, 1308, 377, 317, 268, 668, 540, 1195, 202, 430, 261, 723, 18, 588, 15460, 1435, 422, 23718, 67, 15928, 13, 288, 202, 565, 618, 273, 14015, 2655, 559, 13, 618, 2934, 588, 10393, 5621, 202, 97, 202, 430, 261, 723, 422, 268, 2041, 13, 202, 565, 327, 333, 31, 202, 430, 261, 723, 18, 588, 15460, 1435, 422, 23718, 67, 8552, 13, 288, 202, 565, 1412, 415, 559, 273, 21427, 18, 30231, 202, 202, 12443, 12, 27182, 13, 723, 2934, 2956, 559, 1769, 202, 565, 327, 415, 559, 480, 268, 668, 692, 268, 1076, 12, 292, 559, 13, 294, 268, 668, 31, 202, 97, 202, 430, 261, 723, 18, 291, 30511, 951, 12, 2211, 3719, 202, 565, 327, 333, 31, 202, 2463, 268, 668, 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, 1412, 20189, 649, 13091, 12, 559, 618, 13, 288, 3639, 1748, 21114, 380, 225, 268, 1076, 12, 92, 3631, 268, 1076, 12, 93, 13, 317, 268, 1076, 12, 92, 18, 30231, 12, 93, 3719, 540, 380, 225, 268, 1076, 12, 92, 3631, 1308, 377, 317, 268, 668, 540, 1195, 202, 430, 261, 723, 18, 588, 15460, 1435, 422, 23718, 67, 15928, 13, 288, 202, 565, 618, 273, 14015, 2655, 559, 13, 618, 2934, 588, 10393, 5621, 202, 97, 202, 430, 261, 723, 422, 268, 2041, 13, 202, 565, 327, 333, 31, 202, 430, 261, 723, 18, 588, 15460, 1435, 422, 23718, 67, 8552, 13, 288, 202, 565, 1412, 415, 559, 273, 21427, 18, 30231, 202, 202, 12443, 2 ]
BEREnumerated enum = (BEREnumerated)s.elementAt(0);
BEREnumerated itr = (BEREnumerated)s.elementAt(0);
public LDAPEntryChangeControl parseResponse(byte[] c) { LDAPEntryChangeControl con = new LDAPEntryChangeControl(); ByteArrayInputStream inStream = new ByteArrayInputStream(c); BERSequence seq = new BERSequence(); JDAPBERTagDecoder decoder = new JDAPBERTagDecoder(); int[] numRead = new int[1]; numRead[0] = 0; try { /* a sequence */ BERSequence s = (BERSequence)BERElement.getElement(decoder, inStream, numRead); BEREnumerated enum = (BEREnumerated)s.elementAt(0); con.setChangeType(enum.getValue()); if (s.size() > 1) { if (s.elementAt(1) instanceof BEROctetString) { BEROctetString str = (BEROctetString)s.elementAt(1); con.setPreviousDN(new String(str.getValue(), "UTF8")); } else if (s.elementAt(1) instanceof BERInteger) { BERInteger num = (BERInteger)s.elementAt(1); con.setChangeNumber(num.getValue()); } } if (s.size() > 2) { BERInteger num = (BERInteger)s.elementAt(2); con.setChangeNumber(num.getValue()); } } catch (Exception e) { return null; } return con; } /** * Returns an "entry change notification" control if the control is in * the specified array of controls. Use this method to retrieve an "entry * change notification" control included with an entry sent by the server. * <P> * * You can get the controls returned by the server by using the * <CODE>getResponseControls</CODE> method of the * <CODE>LDAPConnection</CODE> class. * <P> * * For example: * <PRE> * ... * LDAPConnection ld = new LDAPConnection(); * try { * // Connect to the server, set up the persistent search control, * // and set up the search constraints. * ... * * // Search the directory. * LDAPSearchResults res = ld.search( "o=Airius.com", * LDAPv3.SCOPE_SUB, "(cn=Barbara*)", attrs, false, cons ); * * // Determine if the server sent a control back to you. * LDAPControl[] returnedControls = ld.getResponseControls(); * if ( returnedControls != null ) { * * // Get the entry change control. * LDAPEntryChangeControl entryCtrl = null; * for ( int i = 0; i < returnedControls.length; i++ ) { * if ( returnedControls[i] instanceof LDAPEntryChangeControl ) { * entryCtrl = (LDAPEntryChangeControl)returnedControls[i]; * break; * } * } * if ( entryCtrl != null ) { * * // Get and print the type of change made to the entry. * int changeType = entryCtrl.getChangeType(); * if ( changeType != -1 ) { * System.out.print( "Change made: " ); * switch ( changeType ) { * case LDAPPersistSearchControl.ADD: * System.out.println( "Added new entry." ); * break; * case LDAPPersistSearchControl.MODIFY: * System.out.println( "Modified entry." ); * break; * case LDAPPersistSearchControl.DELETE: * System.out.println( "Deleted entry." ); * break; * case LDAPPersistSearchControl.MODDN: * System.out.println( "Renamed entry." ); * break; * } * } * * // Get and print the change number corresponding * // to the change. * int changeNumber = entryCtrl.getChangeNumber(); * if ( changeNumber != -1 ) * System.out.println( "Change log number: " + changeNumber); * * // Get and print the previous DN of the entry, * // if the entry was renamed. * LDAPDN oldDN = entryCtrl.getPreviousDN(); * if ( oldDN != null ) * System.out.println( "Previous DN: " + oldDN ); * * } else { * * System.out.println( "No entry change control." ); * } * } * ... * } * ... * * </PRE> * * @param controls an array of <CODE>LDAPControl</CODE> objects, * representing the controls returned by the server * with an entry. To get these controls, use the * <CODE>getResponseControls</CODE> method of the * <CODE>LDAPConnection</CODE> class. * @return an <CODE>LDAPEntryChangeControl</CODE> object representing * the entry change control sent by the server. If no entry change * control was sent, this method returns null. * @see netscape.ldap.controls.LDAPEntryChangeControl * @see netscape.ldap.LDAPConnection#getResponseControls * @deprecated LDAPEntryChangeControl controls are now automatically * instantiated. */ public static LDAPEntryChangeControl parseResponse(LDAPControl[] controls) { LDAPPersistSearchControl con = new LDAPPersistSearchControl(); for (int i=0; (controls != null) && (i < controls.length); i++) { // get the entry change control if (controls[i].getID().equals(LDAPEntryChangeControl.ENTRYCHANGED)) { return con.parseResponse(controls[i].getValue()); } } return null; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/6ba93b2e6a7d7be123e3c948ae563bb34f400765/LDAPPersistSearchControl.java/buggy/directory/java-sdk/ldapjdk/netscape/ldap/controls/LDAPPersistSearchControl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11916, 1622, 3043, 3367, 28880, 12, 7229, 8526, 276, 13, 288, 3639, 11916, 1622, 3043, 3367, 356, 273, 394, 11916, 1622, 3043, 3367, 5621, 3639, 16180, 28987, 273, 394, 16180, 12, 71, 1769, 3639, 605, 654, 4021, 3833, 273, 394, 605, 654, 4021, 5621, 3639, 804, 8790, 6271, 1805, 7975, 8320, 273, 394, 804, 8790, 6271, 1805, 7975, 5621, 3639, 509, 8526, 818, 1994, 273, 394, 509, 63, 21, 15533, 3639, 818, 1994, 63, 20, 65, 273, 374, 31, 3639, 775, 288, 5411, 1748, 279, 3102, 1195, 5411, 605, 654, 4021, 272, 273, 261, 6271, 4021, 13, 6271, 1046, 18, 21336, 12, 21070, 16, 28987, 16, 2868, 818, 1994, 1769, 5411, 605, 654, 3572, 19007, 11176, 273, 261, 6271, 3572, 19007, 13, 87, 18, 2956, 861, 12, 20, 1769, 5411, 356, 18, 542, 3043, 559, 12, 7924, 18, 24805, 10663, 5411, 309, 261, 87, 18, 1467, 1435, 405, 404, 13, 288, 7734, 309, 261, 87, 18, 2956, 861, 12, 21, 13, 1276, 605, 13309, 299, 278, 780, 13, 288, 10792, 605, 13309, 299, 278, 780, 609, 273, 261, 6271, 19320, 278, 780, 13, 87, 18, 2956, 861, 12, 21, 1769, 10792, 356, 18, 542, 8351, 8609, 12, 2704, 514, 12, 701, 18, 24805, 9334, 315, 5159, 28, 7923, 1769, 7734, 289, 469, 309, 261, 87, 18, 2956, 861, 12, 21, 13, 1276, 605, 654, 4522, 13, 288, 10792, 605, 654, 4522, 818, 273, 261, 6271, 4522, 13, 87, 18, 2956, 861, 12, 21, 1769, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11916, 1622, 3043, 3367, 28880, 12, 7229, 8526, 276, 13, 288, 3639, 11916, 1622, 3043, 3367, 356, 273, 394, 11916, 1622, 3043, 3367, 5621, 3639, 16180, 28987, 273, 394, 16180, 12, 71, 1769, 3639, 605, 654, 4021, 3833, 273, 394, 605, 654, 4021, 5621, 3639, 804, 8790, 6271, 1805, 7975, 8320, 273, 394, 804, 8790, 6271, 1805, 7975, 5621, 3639, 509, 8526, 818, 1994, 273, 394, 509, 63, 21, 15533, 3639, 818, 1994, 63, 20, 65, 273, 374, 31, 3639, 775, 288, 5411, 1748, 279, 3102, 1195, 5411, 605, 654, 4021, 272, 273, 261, 6271, 4021, 13, 6271, 1046, 18, 21336, 12, 21070, 16, 28987, 16, 2868, 818, 1994, 1769, 5411, 605, 654, 3572, 19007, 11176, 273, 2 ]
System.out.println("Selected!");
System.out.println("Selected!");
public void itemStateChanged(java.awt.event.ItemEvent itemEvent) { if (itemEvent.getSource() == chkSelectAll) { lisBoardsSelected.setMultipleMode(chkSelectAll.getState()); for (int i = 0; i < lisBoardsSelected.getItemCount(); i++) { if (chkSelectAll.getState()) { lisBoardsSelected.select(i); } else { lisBoardsSelected.deselect(i); } } } else if (itemEvent.getSource() == lisBoardsSelected) {// System.out.println(itemEvent.paramString());// System.out.flush();// final int[] selected = lisBoardsSelected.getSelectedIndexes();// for (int i = 0; i < selected.length; i++) {// lisBoardsSelected.deselect(selected[i]);// } System.out.println("Selected!"); if (bDelayedSingleSelect) { lisBoardsSelected.setMultipleMode(false); } refreshSelectAllCheck(); } }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/c9f0f1d2e5ceb1c577004355102dc4109baf3a49/BoardSelectionDialog.java/buggy/megamek/src/megamek/client/ui/AWT/BoardSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 761, 1119, 5033, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1180, 1133, 761, 1133, 13, 288, 3639, 309, 261, 1726, 1133, 18, 588, 1830, 1435, 422, 15000, 3391, 1595, 13, 288, 540, 202, 80, 291, 13809, 14727, 7416, 18, 542, 8438, 2309, 12, 27038, 3391, 1595, 18, 588, 1119, 10663, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 328, 291, 13809, 14727, 7416, 18, 588, 30687, 5621, 277, 27245, 288, 7734, 309, 261, 27038, 3391, 1595, 18, 588, 1119, 10756, 288, 10792, 328, 291, 13809, 14727, 7416, 18, 4025, 12, 77, 1769, 7734, 289, 469, 288, 10792, 328, 291, 13809, 14727, 7416, 18, 5489, 13759, 12, 77, 1769, 7734, 289, 5411, 289, 3639, 289, 469, 309, 261, 1726, 1133, 18, 588, 1830, 1435, 422, 328, 291, 13809, 14727, 7416, 13, 288, 759, 5411, 2332, 18, 659, 18, 8222, 12, 1726, 1133, 18, 891, 780, 10663, 759, 5411, 2332, 18, 659, 18, 11330, 5621, 759, 5411, 727, 509, 8526, 3170, 273, 328, 291, 13809, 14727, 7416, 18, 588, 7416, 8639, 5621, 759, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3170, 18, 2469, 31, 277, 27245, 288, 759, 7734, 328, 291, 13809, 14727, 7416, 18, 5489, 13759, 12, 8109, 63, 77, 19226, 759, 5411, 289, 540, 202, 3163, 18, 659, 18, 8222, 2932, 7416, 4442, 1769, 540, 202, 430, 261, 70, 29527, 5281, 3391, 13, 288, 540, 202, 202, 80, 291, 13809, 14727, 7416, 18, 542, 8438, 2309, 12, 5743, 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, 761, 1119, 5033, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1180, 1133, 761, 1133, 13, 288, 3639, 309, 261, 1726, 1133, 18, 588, 1830, 1435, 422, 15000, 3391, 1595, 13, 288, 540, 202, 80, 291, 13809, 14727, 7416, 18, 542, 8438, 2309, 12, 27038, 3391, 1595, 18, 588, 1119, 10663, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 328, 291, 13809, 14727, 7416, 18, 588, 30687, 5621, 277, 27245, 288, 7734, 309, 261, 27038, 3391, 1595, 18, 588, 1119, 10756, 288, 10792, 328, 291, 13809, 14727, 7416, 18, 4025, 12, 77, 1769, 7734, 289, 469, 288, 10792, 328, 291, 13809, 14727, 7416, 18, 5489, 13759, 12, 77, 1769, 7734, 289, 5411, 289, 3639, 2 ]
public void paintComponent(Graphics g) { // create the hardware accelerated image. createBackBuffer(); // Main rendering loop. Volatile images may lose their contents. // This loop will continually render to (and produce if neccessary) volatile images // until the rendering was completed successfully. do { // Validate the volatile image for the graphics configuration of this // component. If the volatile image doesn't apply for this graphics configuration // (in other words, the hardware acceleration doesn't apply for the new device) // then we need to re-create it. GraphicsConfiguration gc = this.getGraphicsConfiguration(); int valCode = volatileImg.validate(gc); // This means the device doesn't match up to this hardware accelerated image. if (valCode == VolatileImage.IMAGE_INCOMPATIBLE) { createBackBuffer(); // recreate the hardware accelerated image. } Graphics2D offscreenGraphics = (Graphics2D) volatileImg .getGraphics(); render(getWidth(), getHeight(), offscreenGraphics); // call core paint method. // paint back buffer to main graphics g.drawImage(volatileImg, 0, 0, this); // Test if content is lost } while (volatileImg.contentsLost()); }
52128 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52128/28c96f60591c1b90a990f7b2c1b87a91b077bc68/RectangleDrawerPanel.java/clean/RectangleOverlapSolver/placement/RectangleDrawerPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12574, 1841, 12, 17558, 314, 13, 288, 202, 202, 759, 752, 326, 16251, 15153, 19007, 1316, 18, 202, 202, 2640, 2711, 1892, 5621, 202, 202, 759, 12740, 9782, 2798, 18, 26861, 20295, 4602, 2026, 29612, 3675, 2939, 18, 3196, 202, 759, 1220, 2798, 903, 17545, 3452, 1743, 358, 261, 464, 11402, 309, 290, 557, 614, 814, 13, 31548, 4602, 202, 202, 759, 3180, 326, 9782, 1703, 5951, 4985, 18, 202, 202, 2896, 288, 1082, 202, 759, 3554, 326, 31548, 1316, 364, 326, 17313, 1664, 434, 333, 1875, 202, 759, 1794, 18, 971, 326, 31548, 1316, 3302, 1404, 2230, 364, 333, 17313, 1664, 1875, 202, 759, 261, 267, 1308, 4511, 16, 326, 16251, 28925, 3302, 1404, 2230, 364, 326, 394, 2346, 13, 1082, 202, 759, 1508, 732, 1608, 358, 283, 17, 2640, 518, 18, 1082, 202, 17558, 1750, 8859, 273, 333, 18, 588, 17558, 1750, 5621, 1082, 202, 474, 1244, 1085, 273, 31548, 12804, 18, 5662, 12, 13241, 1769, 1082, 202, 759, 1220, 4696, 326, 2346, 3302, 1404, 845, 731, 358, 333, 16251, 15153, 19007, 1316, 18, 1082, 202, 430, 261, 1125, 1085, 422, 26861, 20295, 2040, 18, 13603, 67, 706, 28249, 13450, 900, 13, 288, 9506, 202, 2640, 2711, 1892, 5621, 368, 23052, 326, 16251, 15153, 19007, 1316, 18, 1082, 202, 97, 1082, 202, 17558, 22, 40, 3397, 9252, 17558, 273, 261, 17558, 22, 40, 13, 31548, 12804, 6862, 202, 18, 588, 17558, 5621, 1082, 202, 5902, 12, 588, 2384, 9334, 9263, 9334, 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, 12574, 1841, 12, 17558, 314, 13, 288, 202, 202, 759, 752, 326, 16251, 15153, 19007, 1316, 18, 202, 202, 2640, 2711, 1892, 5621, 202, 202, 759, 12740, 9782, 2798, 18, 26861, 20295, 4602, 2026, 29612, 3675, 2939, 18, 3196, 202, 759, 1220, 2798, 903, 17545, 3452, 1743, 358, 261, 464, 11402, 309, 290, 557, 614, 814, 13, 31548, 4602, 202, 202, 759, 3180, 326, 9782, 1703, 5951, 4985, 18, 202, 202, 2896, 288, 1082, 202, 759, 3554, 326, 31548, 1316, 364, 326, 17313, 1664, 434, 333, 1875, 202, 759, 1794, 18, 971, 326, 31548, 1316, 3302, 1404, 2230, 364, 333, 17313, 1664, 1875, 202, 759, 261, 267, 1308, 4511, 16, 326, 16251, 28925, 3302, 1404, 2 ]
return width.top != 0 || (int)padding.top() != 0;
return (int)width.top() != 0 || (int)padding.top() != 0;
private static boolean hasTopBorderOrPadding(Context c, float parentWidth) { Border width = c.getCurrentStyle().getBorderWidth(c.getCtx()); RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx()); return width.top != 0 || (int)padding.top() != 0; }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/8ea25aa585e94d56872f163ff3c60962f3a3ddce/VerticalMarginCollapser.java/clean/src/java/org/xhtmlrenderer/layout/VerticalMarginCollapser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 711, 3401, 8107, 1162, 9485, 12, 1042, 276, 16, 1431, 982, 2384, 13, 288, 3639, 13525, 1835, 273, 276, 18, 588, 3935, 2885, 7675, 588, 8107, 2384, 12, 71, 18, 588, 6442, 10663, 3639, 9315, 1396, 694, 4992, 273, 276, 18, 588, 3935, 2885, 7675, 588, 9485, 6120, 12, 2938, 2384, 16, 982, 2384, 16, 276, 18, 588, 6442, 10663, 3639, 327, 261, 474, 13, 2819, 18, 3669, 1435, 480, 374, 747, 261, 474, 13, 9598, 18, 3669, 1435, 480, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 711, 3401, 8107, 1162, 9485, 12, 1042, 276, 16, 1431, 982, 2384, 13, 288, 3639, 13525, 1835, 273, 276, 18, 588, 3935, 2885, 7675, 588, 8107, 2384, 12, 71, 18, 588, 6442, 10663, 3639, 9315, 1396, 694, 4992, 273, 276, 18, 588, 3935, 2885, 7675, 588, 9485, 6120, 12, 2938, 2384, 16, 982, 2384, 16, 276, 18, 588, 6442, 10663, 3639, 327, 261, 474, 13, 2819, 18, 3669, 1435, 480, 374, 747, 261, 474, 13, 9598, 18, 3669, 1435, 480, 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 ]
return readTuples(con);
return readTuples(con, partialResult, newPartialResult);
public List readTuples(DataSource dataSource) { Connection con; try { con = dataSource.getConnection(); } catch (SQLException e) { throw Util.newInternal(e, "could not connect to DB"); } try { return readTuples(con); } finally { try { con.close(); } catch (SQLException e) { throw Util.newInternal(e, "could not close connection"); } } }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/c96a8a3e21235aea0cdadc7c3d06501ba8de4111/SqlTupleReader.java/buggy/src/main/mondrian/rolap/SqlTupleReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 855, 25813, 12, 8597, 10233, 13, 288, 3639, 4050, 356, 31, 3639, 775, 288, 5411, 356, 273, 10233, 18, 588, 1952, 5621, 3639, 289, 1044, 261, 23116, 425, 13, 288, 5411, 604, 3564, 18, 2704, 3061, 12, 73, 16, 315, 15195, 486, 3077, 358, 2383, 8863, 3639, 289, 3639, 775, 288, 5411, 327, 855, 25813, 12, 591, 16, 4702, 1253, 16, 394, 9447, 1253, 1769, 3639, 289, 3095, 288, 5411, 775, 288, 7734, 356, 18, 4412, 5621, 5411, 289, 1044, 261, 23116, 425, 13, 288, 7734, 604, 3564, 18, 2704, 3061, 12, 73, 16, 315, 15195, 486, 1746, 1459, 8863, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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73, 16, 315, 15195, 486, 3077, 358, 2383, 8863, 3639, 289, 3639, 775, 288, 5411, 327, 855, 25813, 12, 591, 16, 4702, 1253, 16, 394, 9447, 1253, 1769, 3639, 289, 3095, 288, 5411, 775, 288, 7734, 356, 18, 4412, 5621, 5411, 289, 1044, 261, 23116, 425, 13, 288, 7734, 604, 3564, 18, 2704, 3061, 12, 73, 16, 315, 15195, 486, 1746, 1459, 8863, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new NumberFormatException("Trailing junk on timestamp: '" + s.substring(start) + "'");
throw new NumberFormatException("Trailing junk on timestamp: '" + new String(s, start, end - start) + "'");
private ParsedTimestamp loadCalendar(Calendar defaultTz, String s, String type) throws SQLException { int slen = s.length(); // This is pretty gross.. ParsedTimestamp result = new ParsedTimestamp(); // We try to parse these fields in order; all are optional // (but some combinations don't make sense, e.g. if you have // both date and time then they must be whitespace-separated). // At least one of date and time must be present. // leading whitespace // yyyy-mm-dd // whitespace // hh:mm:ss // whitespace // timezone in one of the formats: +hh, -hh, +hh:mm, -hh:mm // whitespace // if date is present, an era specifier: AD or BC // trailing whitespace try { int start = skipWhitespace(s, 0); // Skip leading whitespace int end = firstNonDigit(s, start); int num; char sep; // Possibly read date. if (charAt(s, end) == '-') { // // Date // result.hasDate = true; // year result.year = number(s, start, end); start = end + 1; // Skip '-' // month end = firstNonDigit(s, start); result.month = number(s, start, end); sep = charAt(s, end); if (sep != '-') throw new NumberFormatException("Expected date to be dash-separated, got '" + sep + "'"); start = end + 1; // Skip '-' // day of month end = firstNonDigit(s, start); result.day = number(s, start, end); start = skipWhitespace(s, end); // Skip trailing whitespace } // Possibly read time. if (Character.isDigit(charAt(s, start))) { // // Time. // result.hasTime = true; // Hours end = firstNonDigit(s, start); result.hour = number(s, start, end); sep = charAt(s, end); if (sep != ':') throw new NumberFormatException("Expected time to be colon-separated, got '" + sep + "'"); start = end + 1; // Skip ':' // minutes end = firstNonDigit(s, start); result.minute = number(s, start, end); sep = charAt(s, end); if (sep != ':') throw new NumberFormatException("Expected time to be colon-separated, got '" + sep + "'"); start = end + 1; // Skip ':' // seconds end = firstNonDigit(s, start); result.second = number(s, start, end); start = end; // Fractional seconds. if (charAt(s, start) == '.') { end = firstNonDigit(s, start+1); // Skip '.' num = number(s, start+1, end); for (int numlength = (end - (start+1)); numlength < 9; ++numlength) num *= 10; result.nanos = num; start = end; } start = skipWhitespace(s, start); // Skip trailing whitespace } // Possibly read timezone. sep = charAt(s, start); if (sep == '-' || sep == '+') { int tzsign = (sep == '-') ? -1 : 1; int tzhr, tzmin; end = firstNonDigit(s, start+1); // Skip +/- tzhr = number(s, start+1, end); start = end; sep = charAt(s, start); if (sep == ':') { end = firstNonDigit(s, start+1); // Skip ':' tzmin = number(s, start+1, end); start = end; } else { tzmin = 0; } // Setting offset does not seem to work correctly in all // cases.. So get a fresh calendar for a synthetic timezone // instead result.tz = getCalendar(tzsign, tzhr, tzmin); start = skipWhitespace(s, start); // Skip trailing whitespace } if (result.hasDate && start < slen) { String eraString = s.substring(start); if (eraString.startsWith("AD")) { result.era = GregorianCalendar.AD; start += 2; } else if (eraString.startsWith("BC")) { result.era = GregorianCalendar.BC; start += 2; } } if (start < slen) throw new NumberFormatException("Trailing junk on timestamp: '" + s.substring(start) + "'"); if (!result.hasTime && !result.hasDate) throw new NumberFormatException("Timestamp has neither date nor time"); } catch (NumberFormatException nfe) { throw new PSQLException(GT.tr("Bad value for type {0} : {1}", new Object[]{type,s}), PSQLState.BAD_DATETIME_FORMAT, nfe); } return result; }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/64ae2da03954accdce86864ef2c2dc311f8e5edf/TimestampUtils.java/buggy/org/postgresql/jdbc2/TimestampUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 19244, 4921, 1262, 7335, 12, 7335, 805, 56, 94, 16, 514, 272, 16, 514, 618, 13, 1216, 6483, 288, 3639, 509, 272, 1897, 273, 272, 18, 2469, 5621, 3639, 368, 1220, 353, 7517, 314, 3984, 838, 3639, 19244, 4921, 563, 273, 394, 19244, 4921, 5621, 3639, 368, 1660, 775, 358, 1109, 4259, 1466, 316, 1353, 31, 777, 854, 3129, 3639, 368, 261, 12885, 2690, 17265, 2727, 1404, 1221, 12764, 16, 425, 18, 75, 18, 309, 1846, 1240, 3639, 368, 225, 3937, 1509, 471, 813, 1508, 2898, 1297, 506, 7983, 17, 24622, 2934, 3639, 368, 2380, 4520, 1245, 434, 1509, 471, 813, 1297, 506, 3430, 18, 3639, 368, 282, 7676, 7983, 3639, 368, 282, 24025, 17, 7020, 17, 449, 3639, 368, 282, 7983, 3639, 368, 282, 18629, 30, 7020, 30, 1049, 3639, 368, 282, 7983, 3639, 368, 282, 6371, 316, 1245, 434, 326, 6449, 30, 225, 397, 21622, 16, 300, 21622, 16, 397, 21622, 30, 7020, 16, 300, 21622, 30, 7020, 3639, 368, 282, 7983, 3639, 368, 282, 309, 1509, 353, 3430, 16, 392, 25120, 24562, 30, 11738, 578, 21225, 3639, 368, 282, 7341, 7983, 3639, 775, 288, 5411, 509, 787, 273, 2488, 9431, 12, 87, 16, 374, 1769, 282, 368, 6611, 7676, 7983, 5411, 509, 679, 273, 1122, 3989, 10907, 12, 87, 16, 787, 1769, 5411, 509, 818, 31, 5411, 1149, 5478, 31, 7734, 368, 6818, 8781, 855, 1509, 18, 5411, 309, 261, 3001, 861, 12, 87, 16, 679, 13, 422, 4014, 13, 288, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 19244, 4921, 1262, 7335, 12, 7335, 805, 56, 94, 16, 514, 272, 16, 514, 618, 13, 1216, 6483, 288, 3639, 509, 272, 1897, 273, 272, 18, 2469, 5621, 3639, 368, 1220, 353, 7517, 314, 3984, 838, 3639, 19244, 4921, 563, 273, 394, 19244, 4921, 5621, 3639, 368, 1660, 775, 358, 1109, 4259, 1466, 316, 1353, 31, 777, 854, 3129, 3639, 368, 261, 12885, 2690, 17265, 2727, 1404, 1221, 12764, 16, 425, 18, 75, 18, 309, 1846, 1240, 3639, 368, 225, 3937, 1509, 471, 813, 1508, 2898, 1297, 506, 7983, 17, 24622, 2934, 3639, 368, 2380, 4520, 1245, 434, 1509, 471, 813, 1297, 506, 3430, 18, 3639, 368, 282, 7676, 7983, 3639, 368, 282, 24025, 17, 7020, 17, 2 ]
return getElementName().startsWith("~");
return getElementName().startsWith("~");
public boolean isDestructor() { // is not implemented in the parser's quick mode //return isDestructor; return getElementName().startsWith("~"); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/6caa13a5b115851feae4e30a71898b7083f7e02f/MethodDeclaration.java/clean/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/MethodDeclaration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 6305, 8813, 280, 1435, 288, 202, 202, 759, 353, 486, 8249, 316, 326, 2082, 1807, 9549, 1965, 202, 202, 759, 2463, 353, 6305, 8813, 280, 31, 202, 202, 2463, 7426, 461, 7675, 17514, 1190, 2932, 98, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 6305, 8813, 280, 1435, 288, 202, 202, 759, 353, 486, 8249, 316, 326, 2082, 1807, 9549, 1965, 202, 202, 759, 2463, 353, 6305, 8813, 280, 31, 202, 202, 2463, 7426, 461, 7675, 17514, 1190, 2932, 98, 8863, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int nf = pg_stream.ReceiveInteger(2), i;
int nf = pg_stream.ReceiveIntegerR(2), i;
private Field[] ReceiveFields() throws SQLException { int nf = pg_stream.ReceiveInteger(2), i; Field[] fields = new Field[nf]; for (i = 0 ; i < nf ; ++i) { String typname = pg_stream.ReceiveString(8192); int typid = pg_stream.ReceiveInteger(4); int typlen = pg_stream.ReceiveInteger(2); fields[i] = new Field(this, typname, typid, typlen); } return fields; }
46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/4e9dd952966b600951f05ab2913b5b97936d42ba/Connection.java/clean/src/interfaces/jdbc/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 2286, 8526, 17046, 2314, 1435, 1216, 6483, 225, 288, 565, 509, 13958, 273, 7184, 67, 3256, 18, 11323, 4522, 54, 12, 22, 3631, 277, 31, 565, 2286, 8526, 1466, 273, 394, 2286, 63, 82, 74, 15533, 3639, 364, 261, 77, 273, 374, 274, 277, 411, 13958, 274, 965, 77, 13, 1377, 288, 202, 780, 3815, 529, 273, 7184, 67, 3256, 18, 11323, 780, 12, 28, 15561, 1769, 202, 474, 3815, 350, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 24, 1769, 202, 474, 13806, 28907, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 22, 1769, 202, 2821, 63, 77, 65, 273, 394, 2286, 12, 2211, 16, 3815, 529, 16, 3815, 350, 16, 13806, 28907, 1769, 1377, 289, 565, 327, 1466, 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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8526, 17046, 2314, 1435, 1216, 6483, 225, 288, 565, 509, 13958, 273, 7184, 67, 3256, 18, 11323, 4522, 54, 12, 22, 3631, 277, 31, 565, 2286, 8526, 1466, 273, 394, 2286, 63, 82, 74, 15533, 3639, 364, 261, 77, 273, 374, 274, 277, 411, 13958, 274, 965, 77, 13, 1377, 288, 202, 780, 3815, 529, 273, 7184, 67, 3256, 18, 11323, 780, 12, 28, 15561, 1769, 202, 474, 3815, 350, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 24, 1769, 202, 474, 13806, 28907, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 22, 1769, 202, 2821, 63, 77, 65, 273, 394, 2286, 12, 2211, 16, 3815, 529, 16, 3815, 350, 16, 13806, 28907, 1769, 1377, 289, 2 ]
if (attval == null || attval.value == null || attval.value.length() == 0)
if (attval == null || attval.value == null)
public void check(Lexer lexer, Node node, AttVal attval) { if (attval == null || attval.value == null || attval.value.length() == 0) { lexer.report.attrError(lexer, node, attval, Report.MISSING_ATTR_VALUE); return; } String value = attval.value; // target names must begin with A-Za-z ... if (Character.isLetter(value.charAt(0))) { return; } // or be one of _blank, _self, _parent and _top if (!("_blank".equalsIgnoreCase(value) || "_self".equalsIgnoreCase(value) || "_parent".equalsIgnoreCase(value) || "_top".equalsIgnoreCase(value))) { lexer.report.attrError(lexer, node, attval, Report.BAD_ATTRIBUTE_VALUE); } }
53077 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53077/c99a8f609ff7520a439718686202c0532a02b9f8/AttrCheckImpl.java/buggy/jtidy/src/main/org/w3c/tidy/AttrCheckImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 866, 12, 13356, 8512, 16, 2029, 756, 16, 6020, 3053, 2403, 1125, 13, 3639, 288, 5411, 309, 261, 4558, 1125, 422, 446, 747, 2403, 1125, 18, 1132, 422, 446, 13, 5411, 288, 7734, 8512, 18, 6006, 18, 1747, 668, 12, 31731, 16, 756, 16, 2403, 1125, 16, 8706, 18, 19466, 67, 12043, 67, 4051, 1769, 7734, 327, 31, 5411, 289, 5411, 514, 460, 273, 2403, 1125, 18, 1132, 31, 5411, 368, 1018, 1257, 1297, 2376, 598, 432, 17, 15948, 17, 94, 1372, 5411, 309, 261, 7069, 18, 291, 13938, 12, 1132, 18, 3001, 861, 12, 20, 20349, 5411, 288, 7734, 327, 31, 5411, 289, 5411, 368, 578, 506, 1245, 434, 389, 12111, 16, 389, 2890, 16, 389, 2938, 471, 389, 3669, 5411, 309, 16051, 2932, 67, 12111, 9654, 14963, 5556, 12, 1132, 13, 7734, 747, 4192, 2890, 9654, 14963, 5556, 12, 1132, 13, 7734, 747, 4192, 2938, 9654, 14963, 5556, 12, 1132, 13, 747, 4192, 3669, 9654, 14963, 5556, 12, 1132, 20349, 5411, 288, 7734, 8512, 18, 6006, 18, 1747, 668, 12, 31731, 16, 756, 16, 2403, 1125, 16, 8706, 18, 16234, 67, 11616, 67, 4051, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 866, 12, 13356, 8512, 16, 2029, 756, 16, 6020, 3053, 2403, 1125, 13, 3639, 288, 5411, 309, 261, 4558, 1125, 422, 446, 747, 2403, 1125, 18, 1132, 422, 446, 13, 5411, 288, 7734, 8512, 18, 6006, 18, 1747, 668, 12, 31731, 16, 756, 16, 2403, 1125, 16, 8706, 18, 19466, 67, 12043, 67, 4051, 1769, 7734, 327, 31, 5411, 289, 5411, 514, 460, 273, 2403, 1125, 18, 1132, 31, 5411, 368, 1018, 1257, 1297, 2376, 598, 432, 17, 15948, 17, 94, 1372, 5411, 309, 261, 7069, 18, 291, 13938, 12, 1132, 18, 3001, 861, 12, 20, 20349, 5411, 288, 7734, 327, 31, 5411, 289, 5411, 368, 578, 506, 1245, 434, 389, 12111, 16, 389, 2890, 16, 2 ]
if ((y2 == 1) && (!(a2 < m_C - m_eps))) {
if ((y2 == 1) && (!(a2 < m_C))) {
private boolean takeStep(int i1, int i2, double F2) throws Exception { double alph1, alph2, y1, y2, F1, s, L, H, k11, k12, k22, eta, a1, a2, f1, f2, v1, v2, Lobj, Hobj, b1, b2, bOld; // Don't do anything if the two instances are the same if (i1 == i2) { return false; } // Initialize variables alph1 = m_alpha[i1]; alph2 = m_alpha[i2]; y1 = m_class[i1]; y2 = m_class[i2]; F1 = m_errors[i1]; s = y1 * y2; // Find the constraints on a2 if (y1 != y2) { L = Math.max(0, alph2 - alph1); H = Math.min(m_C, m_C + alph2 - alph1); } else { L = Math.max(0, alph1 + alph2 - m_C); H = Math.min(m_C, alph1 + alph2); } if (L == H) { return false; } // Compute second derivative of objective function k11 = kernel(i1, i1, m_data.instance(i1)); k12 = kernel(i1, i2, m_data.instance(i1)); k22 = kernel(i2, i2, m_data.instance(i2)); eta = 2 * k12 - k11 - k22; // Check if second derivative is negative if (eta < 0) { // Compute unconstrained maximum a2 = alph2 - y2 * (F1 - F2) / eta; // Compute constrained maximum if (a2 < L) { a2 = L; } else if (a2 > H) { a2 = H; } } else { // Look at endpoints of diagonal f1 = SVMOutput(i1, m_data.instance(i1)); f2 = SVMOutput(i2, m_data.instance(i2)); v1 = f1 + m_b - y1 * alph1 * k11 - y2 * alph2 * k12; v2 = f2 + m_b - y1 * alph1 * k12 - y2 * alph2 * k22; double gamma = alph1 + s * alph2; Lobj = (gamma - s * L) + L - 0.5 * k11 * (gamma - s * L) * (gamma - s * L) - 0.5 * k22 * L * L - s * k12 * (gamma - s * L) * L - y1 * (gamma - s * L) * v1 - y2 * L * v2; Hobj = (gamma - s * H) + H - 0.5 * k11 * (gamma - s * H) * (gamma - s * H) - 0.5 * k22 * H * H - s * k12 * (gamma - s * H) * H - y1 * (gamma - s * H) * v1 - y2 * H * v2; if (Lobj > Hobj + m_eps) { a2 = L; } else if (Lobj < Hobj - m_eps) { a2 = H; } else { a2 = alph2; } } if (Math.abs(a2 - alph2) < m_eps * (a2 + alph2 + m_eps)) { return false; } // Compute new value of a1 a1 = alph1 + s * (alph2 - a2); // Update weight vector to reflect change a1 and a2, if linear SVM if (m_exponent == 1.0) { Instance inst1 = m_data.instance(i1); for (int p1 = 0; p1 < inst1.numValues(); p1++) { if (inst1.index(p1) != m_data.classIndex()) { m_weights[inst1.index(p1)] += y1 * (a1 - alph1) * inst1.valueSparse(p1); } } Instance inst2 = m_data.instance(i2); for (int p2 = 0; p2 < inst2.numValues(); p2++) { if (inst2.index(p2) != m_data.classIndex()) { m_weights[inst2.index(p2)] += y2 * (a2 - alph2) * inst2.valueSparse(p2); } } } // Update error cache using new Lagrange multipliers for (int j = m_I0.getNext(-1); j != -1; j = m_I0.getNext(j)) { if ((j != i1) && (j != i2)) { m_errors[j] += y1 * (a1 - alph1) * kernel(i1, j, m_data.instance(i1)) + y2 * (a2 - alph2) * kernel(i2, j, m_data.instance(i2)); } } // Update sets if (a1 > m_eps) { m_supportVectors.insert(i1); } else { m_supportVectors.delete(i1); } if ((a1 > m_eps) && (a1 < m_C - m_eps)) { m_I0.insert(i1); } else { m_I0.delete(i1); } if ((y1 == 1) && (!(a1 > m_eps))) { m_I1.insert(i1); } else { m_I1.delete(i1); } if ((y1 == -1) && (!(a1 < m_C - m_eps))) { m_I2.insert(i1); } else { m_I2.delete(i1); } if ((y1 == 1) && (!(a1 < m_C - m_eps))) { m_I3.insert(i1); } else { m_I3.delete(i1); } if ((y1 == -1) && (!(a1 > m_eps))) { m_I4.insert(i1); } else { m_I4.delete(i1); } if (a2 > m_eps) { m_supportVectors.insert(i2); } else { m_supportVectors.delete(i2); } if ((a2 > m_eps) && (a2 < m_C - m_eps)) { m_I0.insert(i2); } else { m_I0.delete(i2); } if ((y2 == 1) && (!(a2 > m_eps))) { m_I1.insert(i2); } else { m_I1.delete(i2); } if ((y2 == -1) && (!(a2 < m_C - m_eps))) { m_I2.insert(i2); } else { m_I2.delete(i2); } if ((y2 == 1) && (!(a2 < m_C - m_eps))) { m_I3.insert(i2); } else { m_I3.delete(i2); } if ((y2 == -1) && (!(a2 > m_eps))) { m_I4.insert(i2); } else { m_I4.delete(i2); } // Update array with Lagrange multipliers m_alpha[i1] = a1; m_alpha[i2] = a2; // Update error cache for i1 and i2 m_errors[i1] += y1 * (a1 - alph1) * k11 + y2 * (a2 - alph2) * k12; m_errors[i2] += y1 * (a1 - alph1) * k12 + y2 * (a2 - alph2) * k22; // Update thresholds m_bLow = -Double.MAX_VALUE; m_bUp = Double.MAX_VALUE; m_iLow = -1; m_iUp = -1; for (int j = m_I0.getNext(-1); j != -1; j = m_I0.getNext(j)) { if (m_errors[j] < m_bUp) { m_bUp = m_errors[j]; m_iUp = j; } if (m_errors[j] > m_bLow) { m_bLow = m_errors[j]; m_iLow = j; } } if (m_errors[i1] < m_bUp) { m_bUp = m_errors[i1]; m_iUp = i1; } if (m_errors[i1] > m_bLow) { m_bLow = m_errors[i1]; m_iLow = i1; } if (m_errors[i2] < m_bUp) { m_bUp = m_errors[i2]; m_iUp = i2; } if (m_errors[i2] > m_bLow) { m_bLow = m_errors[i2]; m_iLow = i2; } if ((m_iLow == -1) || (m_iUp == -1)) { throw new Exception("This should never happen!"); } // Made some progress. return true; }
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/59386cf943d2e6808250eb08c86d6fbb43be8f1e/SMO.java/buggy/weka/classifiers/SMO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 4862, 4160, 12, 474, 277, 21, 16, 509, 277, 22, 16, 1645, 478, 22, 13, 1216, 1185, 288, 565, 1645, 524, 844, 21, 16, 524, 844, 22, 16, 677, 21, 16, 677, 22, 16, 478, 21, 16, 272, 16, 511, 16, 670, 16, 417, 2499, 16, 417, 2138, 16, 417, 3787, 16, 14251, 16, 1377, 279, 21, 16, 279, 22, 16, 284, 21, 16, 284, 22, 16, 331, 21, 16, 331, 22, 16, 511, 2603, 16, 670, 2603, 16, 324, 21, 16, 324, 22, 16, 324, 7617, 31, 565, 368, 7615, 1404, 741, 6967, 309, 326, 2795, 3884, 854, 326, 1967, 565, 309, 261, 77, 21, 422, 277, 22, 13, 288, 1377, 327, 629, 31, 565, 289, 565, 368, 9190, 3152, 565, 524, 844, 21, 273, 312, 67, 5429, 63, 77, 21, 15533, 524, 844, 22, 273, 312, 67, 5429, 63, 77, 22, 15533, 565, 677, 21, 273, 312, 67, 1106, 63, 77, 21, 15533, 677, 22, 273, 312, 67, 1106, 63, 77, 22, 15533, 565, 478, 21, 273, 312, 67, 4324, 63, 77, 21, 15533, 565, 272, 273, 677, 21, 380, 677, 22, 31, 565, 368, 4163, 326, 6237, 603, 279, 22, 565, 309, 261, 93, 21, 480, 677, 22, 13, 288, 1377, 511, 273, 2361, 18, 1896, 12, 20, 16, 524, 844, 22, 300, 524, 844, 21, 1769, 4202, 670, 273, 2361, 18, 1154, 12, 81, 67, 39, 16, 312, 67, 39, 397, 524, 844, 22, 300, 524, 844, 21, 1769, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 4862, 4160, 12, 474, 277, 21, 16, 509, 277, 22, 16, 1645, 478, 22, 13, 1216, 1185, 288, 565, 1645, 524, 844, 21, 16, 524, 844, 22, 16, 677, 21, 16, 677, 22, 16, 478, 21, 16, 272, 16, 511, 16, 670, 16, 417, 2499, 16, 417, 2138, 16, 417, 3787, 16, 14251, 16, 1377, 279, 21, 16, 279, 22, 16, 284, 21, 16, 284, 22, 16, 331, 21, 16, 331, 22, 16, 511, 2603, 16, 670, 2603, 16, 324, 21, 16, 324, 22, 16, 324, 7617, 31, 565, 368, 7615, 1404, 741, 6967, 309, 326, 2795, 3884, 854, 326, 1967, 565, 309, 261, 77, 21, 422, 277, 22, 13, 288, 1377, 327, 629, 31, 565, 2 ]
public void addNotify() { if (peer != null) peer = getToolkit().createPopupMenu(this); super.addNotify(); }
addNotify() { if (peer == null) peer = getToolkit ().createPopupMenu (this); super.addNotify (); }
public void addNotify() { if (peer != null) peer = getToolkit().createPopupMenu(this); super.addNotify(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/PopupMenu.java/buggy/core/src/classpath/java/java/awt/PopupMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 9168, 1435, 288, 202, 202, 430, 261, 12210, 480, 446, 13, 1082, 202, 12210, 273, 336, 6364, 8691, 7675, 2640, 13770, 4599, 12, 2211, 1769, 202, 202, 9565, 18, 1289, 9168, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 9168, 1435, 288, 202, 202, 430, 261, 12210, 480, 446, 13, 1082, 202, 12210, 273, 336, 6364, 8691, 7675, 2640, 13770, 4599, 12, 2211, 1769, 202, 202, 9565, 18, 1289, 9168, 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 ]
generateAddrComparison(asm.GE);
generateAddrComparison(VM_Assembler.GE);
private final boolean genMagic (VM_MethodReference m) { VM_Atom methodName = m.getName(); if (m.getType() == VM_TypeReference.Address) { // Address magic VM_TypeReference[] types = m.getParameterTypes(); // Loads all take the form: // ..., Address, [Offset] -> ..., Value if (methodName == VM_MagicNames.loadAddress || methodName == VM_MagicNames.prepareAddress || methodName == VM_MagicNames.prepareObjectReference || methodName == VM_MagicNames.loadWord || methodName == VM_MagicNames.loadObjectReference || methodName == VM_MagicNames.prepareWord || methodName == VM_MagicNames.loadInt || methodName == VM_MagicNames.prepareInt || methodName == VM_MagicNames.loadFloat) { if (types.length == 0) { // No offset asm.emitPOP_Reg(T0); // address asm.emitPUSH_RegInd(T0); // pushes [T0+0] } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // object ref asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, NO_SLOT); // pushes [T0+S0] } return true; } if (methodName == VM_MagicNames.loadByte) { if (types.length == 0) { // No offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegInd_Byte(T0, T0) ; asm.emitPUSH_Reg (T0); } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegIdx_Byte(T0, T0, S0, asm.BYTE, NO_SLOT); // load and zero extend byte [T0+S0] asm.emitPUSH_Reg (T0); } return true; } if (methodName == VM_MagicNames.loadShort || methodName == VM_MagicNames.loadChar) { if (types.length == 0) { // No offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegInd_Word(T0, T0); asm.emitPUSH_Reg (T0); } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegIdx_Word(T0, T0, S0, asm.BYTE, NO_SLOT); // load and zero extend word [T0+S0] asm.emitPUSH_Reg (T0); } return true; } if (methodName == VM_MagicNames.loadLong || methodName == VM_MagicNames.loadDouble) { if (types.length == 0) { // No offset throw new RuntimeException("Magic not implemented"); } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // base asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, ONE_SLOT); // pushes [T0+S0+4] asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, NO_SLOT); // pushes [T0+S0] } return true; } // Stores all take the form: // ..., Address, [Offset], Value -> ... if (methodName == VM_MagicNames.store) { // Always at least one parameter to a store. // First parameter is the type to be stored. VM_TypeReference storeType = types[0]; if (storeType == VM_TypeReference.Int || storeType == VM_TypeReference.Address || storeType == VM_TypeReference.ObjectReference || storeType == VM_TypeReference.Word || storeType == VM_TypeReference.Float) { if (types.length == 1) { // No offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // address asm.emitMOV_RegInd_Reg(S0,T0); // [S0+0] <- T0 } else { // Store at offset asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // address asm.emitMOV_RegIdx_Reg(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- T0 } return true; } if (storeType == VM_TypeReference.Byte) { if (types.length == 1) { // No offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegInd_Reg_Byte(T1, T0); } else { // Store at offset asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegIdx_Reg_Byte(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- (byte) T0 } return true; } if (storeType == VM_TypeReference.Short || storeType == VM_TypeReference.Char) { if (types.length == 1) { // No offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegInd_Reg_Word(T1, T0); } else { // Store at offset asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegIdx_Reg_Word(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- (word) T0 } return true; } if (storeType == VM_TypeReference.Double || storeType == VM_TypeReference.Long) { if (types.length == 1) { // No offset throw new RuntimeException("Magic not implemented"); } else { // Store at offset asm.emitMOV_Reg_RegDisp(T0, SP, ONE_SLOT); // value high asm.emitMOV_Reg_RegInd (S0, SP); // offset asm.emitMOV_Reg_RegDisp(T1, SP, THREE_SLOTS); // base asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- T0 asm.emitMOV_Reg_RegDisp(T0, SP, TWO_SLOTS); // value low asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, ONE_SLOT, T0); // [T1+S0+4] <- T0 asm.emitADD_Reg_Imm (SP, WORDSIZE * 4); // pop stack locations } return true; } } else if (methodName == VM_MagicNames.attempt) { // All attempts are similar 32 bit values. if (types.length == 3) { // Offset passed asm.emitPOP_Reg (S0); // S0 = offset } asm.emitPOP_Reg (T1); // newVal asm.emitPOP_Reg (EAX); // oldVal (EAX is implicit arg to LCMPX if (types.length == 3) { asm.emitADD_Reg_RegInd(S0, SP); // S0 += base } else { // No offset asm.emitMOV_Reg_RegInd(S0, SP); // S0 = base } asm.emitLockNextInstruction(); asm.emitCMPXCHG_RegInd_Reg (S0, T1); // atomic compare-and-exchange asm.emitMOV_RegInd_Imm (SP, 0); // 'push' false (overwriting base) VM_ForwardReference fr = asm.forwardJcc(asm.NE); // skip if compare fails asm.emitMOV_RegInd_Imm (SP, 1); // 'push' true (overwriting base) fr.resolve(asm); return true; } } if (methodName == VM_MagicNames.attemptInt || methodName == VM_MagicNames.attemptObject || methodName == VM_MagicNames.attemptAddress || methodName == VM_MagicNames.attemptWord) { // attempt gets called with four arguments: base, offset, oldVal, newVal // returns ([base+offset] == oldVal) // if ([base+offset] == oldVal) [base+offset] := newVal // (operation on memory is atomic) asm.emitPOP_Reg (T1); // newVal asm.emitPOP_Reg (EAX); // oldVal (EAX is implicit arg to LCMPXCNG asm.emitPOP_Reg (S0); // S0 = offset asm.emitADD_Reg_RegInd(S0, SP); // S0 += base asm.emitLockNextInstruction(); asm.emitCMPXCHG_RegInd_Reg (S0, T1); // atomic compare-and-exchange asm.emitMOV_RegInd_Imm (SP, 0); // 'push' false (overwriting base) VM_ForwardReference fr = asm.forwardJcc(asm.NE); // skip if compare fails asm.emitMOV_RegInd_Imm (SP, 1); // 'push' true (overwriting base) fr.resolve(asm); return true; } if (methodName == VM_MagicNames.invokeMain) { // invokeMain gets "called" with two arguments: // String[] mainArgs // the arguments to the main method // INSTRUCTION[] mainCode // the code for the main method asm.emitPOP_Reg (S0); // genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_Reg(S0); // branches to mainCode with mainArgs on the stack return true; } if (methodName == VM_MagicNames.saveThreadState) { Offset offset = VM_Entrypoints.saveThreadStateInstructionsField.getOffset(); genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.threadSwitch) { Offset offset = VM_Entrypoints.threadSwitchInstructionsField.getOffset(); genParameterRegisterLoad(2); // pass 2 parameter words asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.restoreHardwareExceptionState) { Offset offset = VM_Entrypoints.restoreHardwareExceptionStateInstructionsField.getOffset(); genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.invokeClassInitializer) { asm.emitPOP_Reg (S0); asm.emitCALL_Reg(S0); // call address just popped return true; } if (m.getType() == VM_TypeReference.SysCall) { VM_TypeReference[] args = m.getParameterTypes(); VM_TypeReference rtype = m.getReturnType(); Offset offsetToJavaArg = THREE_SLOTS; // the three regs saved in (2) int paramBytes = 0; // (1) save three RVM nonvolatile/special registers // we don't have to save EBP: the callee will // treat it as a framepointer and save/restore // it for us. asm.emitPUSH_Reg(EBX); asm.emitPUSH_Reg(ESI); asm.emitPUSH_Reg(EDI); // (2) Push args to target function (reversed) for (int i=args.length-1; i>=0; i--) { VM_TypeReference arg = args[i]; if (arg.isLongType() || arg.isDoubleType()) { asm.emitPUSH_RegDisp(SP, offsetToJavaArg.add(4)); asm.emitPUSH_RegDisp(SP, offsetToJavaArg.add(4)); offsetToJavaArg = offsetToJavaArg.add(16); paramBytes += 8; } else { asm.emitPUSH_RegDisp(SP, offsetToJavaArg); offsetToJavaArg = offsetToJavaArg.add(8); paramBytes += 4; } } // (3) invoke target function VM_Field ip = VM_Entrypoints.getSysCallField(m.getName().toString()); asm.emitMOV_Reg_RegDisp(S0, JTOC, VM_Entrypoints.the_boot_recordField.getOffset()); asm.emitCALL_RegDisp(S0, ip.getOffset()); // (4) pop space for arguments asm.emitADD_Reg_Imm(SP, paramBytes); // (5) restore RVM registers asm.emitPOP_Reg(EDI); asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); // (6) pop expression stack asm.emitADD_Reg_Imm(SP, paramBytes); // (7) push return value if (rtype.isLongType()) { asm.emitPUSH_Reg(T1); asm.emitPUSH_Reg(T0); } else if (rtype.isDoubleType()) { asm.emitSUB_Reg_Imm(SP, 8); asm.emitFSTP_RegInd_Reg_Quad(SP, FP0); } else if (rtype.isFloatType()) { asm.emitSUB_Reg_Imm(SP, 4); asm.emitFSTP_RegInd_Reg(SP, FP0); } else if (!rtype.isVoidType()) { asm.emitPUSH_Reg(T0); } return true; } if (methodName == VM_MagicNames.getFramePointer) { asm.emitLEA_Reg_RegDisp(S0, SP, fp2spOffset(NO_SLOT)); asm.emitPUSH_Reg (S0); return true; } if (methodName == VM_MagicNames.getCallerFramePointer) { asm.emitPOP_Reg(T0); // Callee FP asm.emitPUSH_RegDisp(T0, Offset.fromIntSignExtend(STACKFRAME_FRAME_POINTER_OFFSET)); // Caller FP return true; } if (methodName == VM_MagicNames.setCallerFramePointer) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // fp asm.emitMOV_RegDisp_Reg(S0, Offset.fromIntSignExtend(STACKFRAME_FRAME_POINTER_OFFSET), T0); // [S0+SFPO] <- T0 return true; } if (methodName == VM_MagicNames.getCompiledMethodID) { asm.emitPOP_Reg(T0); // Callee FP asm.emitPUSH_RegDisp(T0, Offset.fromIntSignExtend(STACKFRAME_METHOD_ID_OFFSET)); // Callee CMID return true; } if (methodName == VM_MagicNames.setCompiledMethodID) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // fp asm.emitMOV_RegDisp_Reg(S0, Offset.fromIntSignExtend(STACKFRAME_METHOD_ID_OFFSET), T0); // [S0+SMIO] <- T0 return true; } if (methodName == VM_MagicNames.getReturnAddressLocation) { asm.emitPOP_Reg(T0); // Callee FP asm.emitADD_Reg_Imm(T0, STACKFRAME_RETURN_ADDRESS_OFFSET); // location containing callee return address asm.emitPUSH_Reg(T0); // Callee return address return true; } if (methodName == VM_MagicNames.getTocPointer || methodName == VM_MagicNames.getJTOC ) { asm.emitPUSH_Reg(JTOC); return true; } // get the processor register (PR) if (methodName == VM_MagicNames.getProcessorRegister) { asm.emitPUSH_Reg(PR); return true; } // set the processor register (PR) if (methodName == VM_MagicNames.setProcessorRegister) { asm.emitPOP_Reg(PR); return true; } // Get the value in ESI if (methodName == VM_MagicNames.getESIAsProcessor) { asm.emitPUSH_Reg(ESI); return true; } // Set the value in ESI if (methodName == VM_MagicNames.setESIAsProcessor) { asm.emitPOP_Reg(ESI); return true; } if (methodName == VM_MagicNames.getIntAtOffset || methodName == VM_MagicNames.getWordAtOffset || methodName == VM_MagicNames.getObjectAtOffset || methodName == VM_MagicNames.getObjectArrayAtOffset || methodName == VM_MagicNames.prepareInt || methodName == VM_MagicNames.prepareObject || methodName == VM_MagicNames.prepareAddress || methodName == VM_MagicNames.prepareWord) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, NO_SLOT); // pushes [T0+S0] return true; } if (methodName == VM_MagicNames.getByteAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitMOVZX_Reg_RegIdx_Byte(T0, T0, S0, asm.BYTE, NO_SLOT); // load and zero extend byte [T0+S0] asm.emitPUSH_Reg (T0); return true; } if (methodName == VM_MagicNames.getCharAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitMOVZX_Reg_RegIdx_Word(T0, T0, S0, asm.BYTE, NO_SLOT); // load and zero extend char [T0+S0] asm.emitPUSH_Reg (T0); return true; } if (methodName == VM_MagicNames.setIntAtOffset || methodName == VM_MagicNames.setWordAtOffset || methodName == VM_MagicNames.setObjectAtOffset ) { if (m.getParameterTypes().length == 4) { // discard locationMetadata parameter asm.emitPOP_Reg(T0); // locationMetadata, not needed by baseline compiler. } asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- T0 return true; } if (methodName == VM_MagicNames.setByteAtOffset) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg_Byte(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- (byte) T0 return true; } if (methodName == VM_MagicNames.setCharAtOffset) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg_Word(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- (char) T0 return true; } if (methodName == VM_MagicNames.getLongAtOffset || methodName == VM_MagicNames.getDoubleAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, ONE_SLOT); // pushes [T0+S0+4] asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, NO_SLOT); // pushes [T0+S0] return true; } if (methodName == VM_MagicNames.setLongAtOffset || methodName == VM_MagicNames.setDoubleAtOffset) { asm.emitMOV_Reg_RegInd (T0, SP); // value high asm.emitMOV_Reg_RegDisp(S0, SP, TWO_SLOTS ); // offset asm.emitMOV_Reg_RegDisp(T1, SP, THREE_SLOTS); // obj ref asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- T0 asm.emitMOV_Reg_RegDisp(T0, SP, ONE_SLOT ); // value low asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, ONE_SLOT, T0); // [T1+S0+4] <- T0 asm.emitADD_Reg_Imm (SP, WORDSIZE * 4); // pop stack locations return true; } if (methodName == VM_MagicNames.addressArrayCreate) { // no resolution problem possible. emit_resolved_newarray(m.getType().resolve().asArray()); return true; } if (methodName == VM_MagicNames.addressArrayLength) { emit_arraylength(); // argument order already correct return true; } if (methodName == VM_MagicNames.addressArrayGet) { if (m.getType() == VM_TypeReference.CodeArray) { emit_baload(); } else { if (VM.BuildFor32Addr) { emit_iaload(); } else if (VM.BuildFor64Addr) { emit_laload(); } else { VM._assert(NOT_REACHED); } } return true; } if (methodName == VM_MagicNames.addressArraySet) { if (m.getType() == VM_TypeReference.CodeArray) { emit_bastore(); } else { if (VM.BuildFor32Addr) { emit_iastore(); } else if (VM.BuildFor64Addr) { VM._assert(false); // not implemented } else { VM._assert(NOT_REACHED); } } return true; } if (methodName == VM_MagicNames.getMemoryInt || methodName == VM_MagicNames.getMemoryWord || methodName == VM_MagicNames.getMemoryAddress) { asm.emitPOP_Reg(T0); // address asm.emitPUSH_RegInd(T0); // pushes [T0+0] return true; } if (methodName == VM_MagicNames.setMemoryInt || methodName == VM_MagicNames.setMemoryWord || methodName == VM_MagicNames.setMemoryAddress) { if (m.getParameterTypes().length == 3) { // discard locationMetadata parameter asm.emitPOP_Reg(T0); // locationMetadata, not needed by baseline compiler. } asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // address asm.emitMOV_RegInd_Reg(S0,T0); // [S0+0] <- T0 return true; } if (methodName == VM_MagicNames.objectAsAddress || methodName == VM_MagicNames.addressAsByteArray || methodName == VM_MagicNames.addressAsIntArray || methodName == VM_MagicNames.addressAsObject || methodName == VM_MagicNames.addressAsObjectArray || methodName == VM_MagicNames.addressAsType || methodName == VM_MagicNames.objectAsType || methodName == VM_MagicNames.objectAsShortArray || methodName == VM_MagicNames.objectAsByteArray || methodName == VM_MagicNames.objectAsIntArray || methodName == VM_MagicNames.addressAsThread || methodName == VM_MagicNames.objectAsThread || methodName == VM_MagicNames.objectAsProcessor || methodName == VM_MagicNames.threadAsCollectorThread || methodName == VM_MagicNames.addressAsRegisters || methodName == VM_MagicNames.addressAsStack || methodName == VM_MagicNames.floatAsIntBits || methodName == VM_MagicNames.intBitsAsFloat || methodName == VM_MagicNames.doubleAsLongBits || methodName == VM_MagicNames.longBitsAsDouble) { // no-op (a type change, not a representation change) return true; } // code for VM_Type VM_Magic.getObjectType(Object object) if (methodName == VM_MagicNames.getObjectType) { asm.emitPOP_Reg (T0); // object ref VM_ObjectModel.baselineEmitLoadTIB(asm,S0,T0); asm.emitPUSH_RegDisp(S0, Offset.fromIntZeroExtend(TIB_TYPE_INDEX<<LG_WORDSIZE)); // push VM_Type slot of TIB return true; } if (methodName == VM_MagicNames.getArrayLength) { asm.emitPOP_Reg(T0); // object ref asm.emitPUSH_RegDisp(T0, VM_ObjectModel.getArrayLengthOffset()); return true; } if (methodName == VM_MagicNames.sync) { // nothing required on IA32 return true; } if (methodName == VM_MagicNames.isync) { // nothing required on IA32 return true; } // baseline compiled invocation only: all paramaters on the stack // hi mem // Code // GPRs // FPRs // Spills // low-mem if (methodName == VM_MagicNames.invokeMethodReturningVoid) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.invokeMethodReturningInt) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningLong) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); // high half asm.emitPUSH_Reg(T1); // low half return true; } if (methodName == VM_MagicNames.invokeMethodReturningFloat) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitSUB_Reg_Imm (SP, 4); asm.emitFSTP_RegInd_Reg(SP, FP0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningDouble) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitSUB_Reg_Imm (SP, 8); asm.emitFSTP_RegInd_Reg_Quad(SP, FP0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningObject) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); return true; } // baseline invocation // one paramater, on the stack -- actual code if (methodName == VM_MagicNames.dynamicBridgeTo) { if (VM.VerifyAssertions) VM._assert(klass.isDynamicBridge()); // save the branch address for later asm.emitPOP_Reg (S0); // S0<-code address asm.emitADD_Reg_Imm(SP, fp2spOffset(NO_SLOT).toInt() - 4); // just popped 4 bytes above. // restore FPU state asm.emitFRSTOR_RegDisp(SP, FPU_SAVE_OFFSET); // restore GPRs asm.emitMOV_Reg_RegDisp (T0, SP, T0_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (T1, SP, T1_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (EBX, SP, EBX_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (JTOC, SP, JTOC_SAVE_OFFSET); // pop frame asm.emitPOP_RegDisp (PR, VM_Entrypoints.framePointerField.getOffset()); // FP<-previous FP // branch asm.emitJMP_Reg (S0); return true; } if (methodName == VM_MagicNames.returnToNewStack) { // SP gets frame pointer for new stack asm.emitPOP_Reg (SP); // restore nonvolatile registers asm.emitMOV_Reg_RegDisp (JTOC, SP, JTOC_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (EBX, SP, EBX_SAVE_OFFSET); // discard current stack frame asm.emitPOP_RegDisp (PR, VM_Entrypoints.framePointerField.getOffset()); // return to caller- pop parameters from stack asm.emitRET_Imm(parameterWords << LG_WORDSIZE); return true; } if (methodName == VM_MagicNames.roundToZero) { // Store the FPU Control Word to a JTOC slot asm.emitFNSTCW_RegDisp(JTOC, VM_Entrypoints.FPUControlWordField.getOffset()); // Set the bits in the status word that control round to zero. // Note that we use a 32-bit OR, even though we only care about the // low-order 16 bits asm.emitOR_RegDisp_Imm(JTOC,VM_Entrypoints.FPUControlWordField.getOffset(), 0x00000c00); // Now store the result back into the FPU Control Word asm.emitFLDCW_RegDisp(JTOC,VM_Entrypoints.FPUControlWordField.getOffset()); return true; } if (methodName == VM_MagicNames.clearFloatingPointState) { // Clear the hardware floating-point state asm.emitFNINIT(); return true; } if (methodName == VM_MagicNames.getTimeBase) { asm.emitRDTSC(); // read timestamp counter instruction asm.emitPUSH_Reg(EDX); // upper 32 bits asm.emitPUSH_Reg(EAX); // lower 32 bits return true; } if (methodName == VM_MagicNames.wordFromInt || methodName == VM_MagicNames.wordFromObject || methodName == VM_MagicNames.wordFromIntZeroExtend || methodName == VM_MagicNames.wordFromIntSignExtend || methodName == VM_MagicNames.wordToInt || methodName == VM_MagicNames.wordToAddress || methodName == VM_MagicNames.wordToOffset || methodName == VM_MagicNames.wordToObject || methodName == VM_MagicNames.wordToObjectReference || methodName == VM_MagicNames.wordToExtent || methodName == VM_MagicNames.wordToWord) { if (VM.BuildFor32Addr) return true; // no-op for 32-bit if (VM.VerifyAssertions) VM._assert(false); } if (methodName == VM_MagicNames.wordToLong) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg(T0); asm.emitPUSH_Imm(0); // upper 32 bits asm.emitPUSH_Reg(T0); // lower 32 bits return true; } // else fill unused stackslot if (VM.VerifyAssertions) VM._assert(false); } if (methodName == VM_MagicNames.wordAnd) { asm.emitPOP_Reg(T0); asm.emitAND_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordOr) { asm.emitPOP_Reg(T0); asm.emitOR_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordXor) { asm.emitPOP_Reg(T0); asm.emitXOR_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordNot) { asm.emitNOT_RegInd (SP); return true; } if (methodName == VM_MagicNames.wordAdd) { asm.emitPOP_Reg(T0); asm.emitADD_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordSub || methodName == VM_MagicNames.wordDiff) { asm.emitPOP_Reg(T0); asm.emitSUB_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordZero || methodName == VM_MagicNames.wordNull) { asm.emitPUSH_Imm(0); return true; } if (methodName == VM_MagicNames.wordOne) { asm.emitPUSH_Imm(1); return true; } if (methodName == VM_MagicNames.wordMax) { asm.emitPUSH_Imm(-1); return true; } if (methodName == VM_MagicNames.wordLT) { generateAddrComparison(asm.LLT); return true; } if (methodName == VM_MagicNames.wordLE) { generateAddrComparison(asm.LLE); return true; } if (methodName == VM_MagicNames.wordGT) { generateAddrComparison(asm.LGT); return true; } if (methodName == VM_MagicNames.wordGE) { generateAddrComparison(asm.LGE); return true; } if (methodName == VM_MagicNames.wordsLT) { generateAddrComparison(asm.LT); return true; } if (methodName == VM_MagicNames.wordsLE) { generateAddrComparison(asm.LE); return true; } if (methodName == VM_MagicNames.wordsGT) { generateAddrComparison(asm.GT); return true; } if (methodName == VM_MagicNames.wordsGE) { generateAddrComparison(asm.GE); return true; } if (methodName == VM_MagicNames.wordEQ) { generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordNE) { generateAddrComparison(asm.NE); return true; } if (methodName == VM_MagicNames.wordIsZero) { asm.emitPUSH_Imm(0); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordIsNull) { asm.emitPUSH_Imm(0); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordIsMax) { asm.emitPUSH_Imm(-1); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordLsh) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg(ECX); asm.emitSHL_RegInd_Reg(SP, ECX); } else VM._assert(false); return true; } if (methodName == VM_MagicNames.wordRshl) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg (ECX); asm.emitSHR_RegInd_Reg (SP, ECX); } else VM._assert(false); return true; } if (methodName == VM_MagicNames.wordRsha) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg (ECX); asm.emitSAR_RegInd_Reg (SP, ECX); } else VM._assert(false); return true; } return false; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/35bd01b7529801989a0cf74ba4bc2553fd6572ec/VM_Compiler.java/buggy/rvm/src/vm/arch/intel/compilers/baseline/VM_Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3157, 19289, 261, 7397, 67, 1305, 2404, 312, 13, 288, 565, 8251, 67, 3641, 4918, 273, 312, 18, 17994, 5621, 565, 309, 261, 81, 18, 588, 559, 1435, 422, 8251, 67, 7534, 18, 1887, 13, 288, 1377, 368, 5267, 8146, 1377, 8251, 67, 7534, 8526, 1953, 273, 312, 18, 588, 1662, 2016, 5621, 1377, 368, 4444, 87, 777, 4862, 326, 646, 30, 1377, 368, 1372, 16, 5267, 16, 306, 2335, 65, 317, 1372, 16, 1445, 1377, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 945, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 22101, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 3944, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 22101, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 3944, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 1702, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 1702, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 4723, 13, 288, 3639, 309, 261, 2352, 18, 2469, 422, 374, 13, 288, 1850, 368, 2631, 1384, 1850, 20415, 18, 18356, 30374, 67, 1617, 12, 56, 20, 1769, 8227, 368, 1758, 1850, 20415, 18, 18356, 30348, 67, 1617, 3866, 12, 56, 20, 1769, 5375, 368, 27351, 306, 56, 20, 15, 20, 65, 3639, 289, 469, 288, 1850, 368, 4444, 622, 1384, 1850, 20415, 18, 18356, 30374, 67, 1617, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3157, 19289, 261, 7397, 67, 1305, 2404, 312, 13, 288, 565, 8251, 67, 3641, 4918, 273, 312, 18, 17994, 5621, 565, 309, 261, 81, 18, 588, 559, 1435, 422, 8251, 67, 7534, 18, 1887, 13, 288, 1377, 368, 5267, 8146, 1377, 8251, 67, 7534, 8526, 1953, 273, 312, 18, 588, 1662, 2016, 5621, 1377, 368, 4444, 87, 777, 4862, 326, 646, 30, 1377, 368, 1372, 16, 5267, 16, 306, 2335, 65, 317, 1372, 16, 1445, 1377, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 945, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 22101, 747, 1850, 4918, 422, 8251, 2 ]
roomPanel.removeAll();
public void refreshRoomList() { if (rooms == null) { // First time we allocate an array of the appropriate size. rooms = new ArrayList(server.get_num_rooms()); } rooms.clear(); // Maintain our own list rather than use the server's so that we can // sort it according to our own needs. for (int i = 0; i < server.get_num_rooms(); i++) { Room room = server.get_nth_room(i); if (room.get_gametype() != null && Module.get_num_by_type(room.get_gametype()) > 0) { rooms.add(room); } } // Sort on the game associated with the room. Collections.sort(rooms, sortAlgorithm); // Add a button for each room, the button handles click events and joins // the associated room automatically. roomPanel.removeAll(); CategoryPanel cardGamesPanel = new CategoryPanel(messages .getString("LoungePanel.GroupHeader.CardGames")); for (int i = 0; i < rooms.size(); i++) { Room room = (Room) rooms.get(i); // roomPanel.add(new RoomButton(room)); cardGamesPanel.addRoom(room); } roomPanel.add(cardGamesPanel); // CategoryPanel boardGamesPanel = new CategoryPanel("Board Games"); // boardGamesPanel.addRoom(server.get_nth_room(2)); // roomPanel.add(boardGamesPanel); JScrollPane motdScroll = new JScrollPane(); JTextComponent motdText; try { motdText = new JTextPane(); ((JTextPane) motdText).setPage(motd.url); } catch (Throwable ex) { motdText = new JTextArea(motd.motd); motdText.setFont(new Font("Monospaced", Font.PLAIN, 12)); } motdText.setEditable(false); motdText.setOpaque(false); TextPopupMenu.enableFor(motdText); motdScroll.setPreferredSize(cardGamesPanel.getPreferredSize()); motdScroll.setOpaque(false); motdScroll.getViewport().setOpaque(false); motdScroll.setBorder(null); motdScroll.setBorder(BorderFactory.createTitledBorder(messages .getString("LoungePanel.GroupHeader.MessageOfTheDay"))); motdScroll.getViewport().add(motdText); roomPanel.add(motdScroll); }
45800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45800/a798981435b409eb5aac9cc0b7470d72411d52ab/LoungePanel.java/buggy/java/src/ggz/ui/LoungePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4460, 13646, 682, 1435, 288, 3639, 309, 261, 13924, 87, 422, 446, 13, 288, 5411, 368, 5783, 813, 732, 10101, 392, 526, 434, 326, 5505, 963, 18, 5411, 26450, 273, 394, 2407, 12, 3567, 18, 588, 67, 2107, 67, 13924, 87, 10663, 3639, 289, 3639, 26450, 18, 8507, 5621, 3639, 368, 490, 1598, 530, 3134, 4953, 666, 9178, 2353, 999, 326, 1438, 1807, 1427, 716, 732, 848, 3639, 368, 1524, 518, 4888, 358, 3134, 4953, 4260, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1438, 18, 588, 67, 2107, 67, 13924, 87, 5621, 277, 27245, 288, 5411, 27535, 7725, 273, 1438, 18, 588, 67, 82, 451, 67, 13924, 12, 77, 1769, 5411, 309, 261, 13924, 18, 588, 67, 75, 301, 5872, 1435, 480, 446, 10792, 597, 5924, 18, 588, 67, 2107, 67, 1637, 67, 723, 12, 13924, 18, 588, 67, 75, 301, 5872, 10756, 405, 374, 13, 288, 7734, 26450, 18, 1289, 12, 13924, 1769, 5411, 289, 3639, 289, 3639, 368, 5928, 603, 326, 7920, 3627, 598, 326, 7725, 18, 3639, 5737, 18, 3804, 12, 13924, 87, 16, 1524, 6801, 1769, 3639, 368, 1436, 279, 3568, 364, 1517, 7725, 16, 326, 3568, 7372, 4682, 2641, 471, 13471, 3639, 368, 326, 3627, 7725, 6635, 18, 7734, 9856, 5537, 5270, 43, 753, 5537, 273, 394, 9856, 5537, 12, 6833, 7734, 263, 588, 780, 2932, 48, 465, 908, 5537, 18, 1114, 1864, 18, 6415, 43, 753, 7923, 1769, 3639, 364, 261, 474, 277, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4460, 13646, 682, 1435, 288, 3639, 309, 261, 13924, 87, 422, 446, 13, 288, 5411, 368, 5783, 813, 732, 10101, 392, 526, 434, 326, 5505, 963, 18, 5411, 26450, 273, 394, 2407, 12, 3567, 18, 588, 67, 2107, 67, 13924, 87, 10663, 3639, 289, 3639, 26450, 18, 8507, 5621, 3639, 368, 490, 1598, 530, 3134, 4953, 666, 9178, 2353, 999, 326, 1438, 1807, 1427, 716, 732, 848, 3639, 368, 1524, 518, 4888, 358, 3134, 4953, 4260, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1438, 18, 588, 67, 2107, 67, 13924, 87, 5621, 277, 27245, 288, 5411, 27535, 7725, 273, 1438, 18, 588, 67, 82, 451, 67, 13924, 12, 77, 1769, 5411, 309, 2 ]
List lines = getCode();
List lines = cl.getCode();
public String getSlice(int startLine, int endLine) { StringBuffer sb = new StringBuffer(); List lines = getCode(); for (int i = startLine - 1; i < endLine && i < lines.size(); i++) { if (sb.length() != 0) { sb.append(PMD.EOL); } sb.append((String) lines.get(i)); } return sb.toString(); }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/fe844cb44e601684a267d499a7f4e91eb5fa23b3/SourceCode.java/buggy/pmd/src/net/sourceforge/pmd/cpd/SourceCode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1322, 2008, 12, 474, 24636, 16, 509, 31763, 13, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 987, 2362, 273, 927, 18, 588, 1085, 5621, 3639, 364, 261, 474, 277, 273, 24636, 300, 404, 31, 277, 411, 31763, 597, 277, 411, 2362, 18, 1467, 5621, 277, 27245, 288, 5411, 309, 261, 18366, 18, 2469, 1435, 480, 374, 13, 288, 7734, 2393, 18, 6923, 12, 52, 6188, 18, 5842, 1769, 5411, 289, 5411, 2393, 18, 6923, 12443, 780, 13, 2362, 18, 588, 12, 77, 10019, 3639, 289, 3639, 327, 2393, 18, 10492, 5621, 565, 289, 2,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1322, 2008, 12, 474, 24636, 16, 509, 31763, 13, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 987, 2362, 273, 927, 18, 588, 1085, 5621, 3639, 364, 261, 474, 277, 273, 24636, 300, 404, 31, 277, 411, 31763, 597, 277, 411, 2362, 18, 1467, 5621, 277, 27245, 288, 5411, 309, 261, 18366, 18, 2469, 1435, 480, 374, 13, 288, 7734, 2393, 18, 6923, 12, 52, 6188, 18, 5842, 1769, 5411, 289, 5411, 2393, 18, 6923, 12443, 780, 13, 2362, 18, 588, 12, 77, 10019, 3639, 289, 3639, 327, 2393, 18, 10492, 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 ]
if (!local)
if (!local) {
private IStatus proceedWithOperation(IUndoableOperation operation, String message, String discardButton) { // if the operation cannot tell us about its modified elements, there's // nothing we can do. if (!(operation instanceof IAdvancedUndoableOperation)) return Status.OK_STATUS; // Obtain the operation's affected objects. Object[] modifiedElements = ((IAdvancedUndoableOperation) operation) .getAffectedObjects(); // Since the operation participates in describing its affected objects, // we assume for the rest of this method that an inability to // determine a match implies that a non-local operation is occurring. // This is a conservative assumption that provides more user prompting. boolean local; if (modifiedElements == null) { // The operation could not determine which elements are affected. // Consider the operation non-local. local = false; } else { // The operation answered some array of affected objects. Consider // the operation local until a non-match is found. Note that an // empty // array of affected objects is considered a local change. local = true; for (int i = 0; i < modifiedElements.length; i++) { Object modifiedElement = modifiedElements[i]; if (!elementsContains(modifiedElement)) { // the modified element is not known by the editor local = false; // one last try - try to adapt the modified element if a // preferred // comparison class has been provided. if (affectedObjectsClass != null && modifiedElement instanceof IAdaptable) { if (elementsContains(((IAdaptable) modifiedElement) .getAdapter(affectedObjectsClass))) { local = true; } } // if the element did not match the affected objects, no // need to check any others. if (!local) break; } } } if (local) return Status.OK_STATUS; // The operation affects more than just our element. Find out if // we should proceed, cancel, or discard the undo. MessageDialog dialog = new MessageDialog(part.getSite().getShell(), part.getEditorInput().getName(), null, message, MessageDialog.QUESTION, new String[] { IDialogConstants.OK_LABEL, discardButton, IDialogConstants.CANCEL_LABEL }, 0); // yes is the default int answer = dialog.open(); switch (answer) { case 0: return Status.OK_STATUS; case 1: return IOperationHistory.OPERATION_INVALID_STATUS; default: // Cancel by default to include ESC key and shell close, // which return SWT.DEFAULT, and any other unexpected return codes return Status.CANCEL_STATUS; } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/NonLocalUndoUserApprover.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/operations/NonLocalUndoUserApprover.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 1482, 11247, 1190, 2988, 12, 45, 31224, 429, 2988, 1674, 16, 1082, 202, 780, 883, 16, 514, 10388, 3616, 13, 288, 202, 202, 759, 309, 326, 1674, 2780, 9276, 584, 2973, 2097, 4358, 2186, 16, 1915, 1807, 202, 202, 759, 5083, 732, 848, 741, 18, 202, 202, 430, 16051, 12, 7624, 1276, 467, 23618, 31224, 429, 2988, 3719, 1082, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 202, 202, 759, 24850, 326, 1674, 1807, 9844, 2184, 18, 202, 202, 921, 8526, 4358, 3471, 273, 14015, 45, 23618, 31224, 429, 2988, 13, 1674, 13, 9506, 202, 18, 588, 23775, 4710, 5621, 202, 202, 759, 7897, 326, 1674, 30891, 815, 316, 16868, 2097, 9844, 2184, 16, 202, 202, 759, 732, 6750, 364, 326, 3127, 434, 333, 707, 716, 392, 316, 2967, 358, 202, 202, 759, 4199, 279, 845, 24168, 716, 279, 1661, 17, 3729, 1674, 353, 3334, 8022, 18, 202, 202, 759, 1220, 353, 279, 356, 23039, 1535, 24743, 716, 8121, 1898, 729, 6866, 310, 18, 202, 202, 6494, 1191, 31, 202, 202, 430, 261, 7342, 3471, 422, 446, 13, 288, 1082, 202, 759, 1021, 1674, 3377, 486, 4199, 1492, 2186, 854, 9844, 18, 1082, 202, 759, 23047, 326, 1674, 1661, 17, 3729, 18, 1082, 202, 3729, 273, 629, 31, 202, 202, 97, 469, 288, 1082, 202, 759, 1021, 1674, 5803, 329, 2690, 526, 434, 9844, 2184, 18, 23047, 1082, 202, 759, 326, 1674, 1191, 3180, 279, 1661, 17, 1916, 353, 1392, 18, 3609, 716, 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, 467, 1482, 11247, 1190, 2988, 12, 45, 31224, 429, 2988, 1674, 16, 1082, 202, 780, 883, 16, 514, 10388, 3616, 13, 288, 202, 202, 759, 309, 326, 1674, 2780, 9276, 584, 2973, 2097, 4358, 2186, 16, 1915, 1807, 202, 202, 759, 5083, 732, 848, 741, 18, 202, 202, 430, 16051, 12, 7624, 1276, 467, 23618, 31224, 429, 2988, 3719, 1082, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 202, 202, 759, 24850, 326, 1674, 1807, 9844, 2184, 18, 202, 202, 921, 8526, 4358, 3471, 273, 14015, 45, 23618, 31224, 429, 2988, 13, 1674, 13, 9506, 202, 18, 588, 23775, 4710, 5621, 202, 202, 759, 7897, 326, 1674, 30891, 815, 316, 16868, 2097, 9844, 2184, 16, 202, 2 ]
resetAnticipated(); anticipateServicesUp(node);
resetAnticipated(); anticipateServicesUp(node);
public void testNodeOutageProcessingDisabled() throws Exception { m_pollerConfig.setNodeOutageProcessingEnabled(false); MockNode node = m_network.getNode(1); startDaemons(); resetAnticipated(); anticipateServicesDown(node); node.bringDown(); verifyAnticipated(10000); resetAnticipated(); anticipateServicesUp(node); node.bringUp(); verifyAnticipated(10000); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/e3db1312e8cc2636034eb4d7b29db88850613e3b/PollerTest.java/buggy/opennms-services/src/test/java/org/opennms/netmgt/poller/PollerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 907, 1182, 410, 7798, 8853, 1435, 1216, 1185, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 5743, 1769, 3639, 7867, 907, 756, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 787, 12858, 87, 5621, 3639, 2715, 14925, 24629, 690, 5621, 3639, 17841, 24629, 340, 5676, 4164, 12, 2159, 1769, 3639, 756, 18, 2848, 310, 4164, 5621, 3639, 3929, 14925, 24629, 690, 12, 23899, 1769, 3639, 2715, 14925, 24629, 690, 5621, 3639, 17841, 24629, 340, 5676, 1211, 12, 2159, 1769, 3639, 756, 18, 2848, 310, 1211, 5621, 3639, 3929, 14925, 24629, 690, 12, 23899, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 907, 1182, 410, 7798, 8853, 1435, 1216, 1185, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 5743, 1769, 3639, 7867, 907, 756, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 787, 12858, 87, 5621, 3639, 2715, 14925, 24629, 690, 5621, 3639, 17841, 24629, 340, 5676, 4164, 12, 2159, 1769, 3639, 756, 18, 2848, 310, 4164, 5621, 3639, 3929, 14925, 24629, 690, 12, 23899, 1769, 3639, 2715, 14925, 24629, 690, 5621, 3639, 17841, 24629, 340, 5676, 1211, 12, 2159, 1769, 3639, 756, 18, 2848, 310, 1211, 5621, 3639, 3929, 14925, 24629, 690, 12, 23899, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int numberOfConnected = 0; int numberOfBackedOff = 0; int numberOfTooNew = 0; int numberOfTooOld = 0; int numberOfNeverConnected = 0; int numberOfDisconnected = 0; for (int peerIndex = 0, peerCount = peerNodes.length; peerIndex < peerCount; peerIndex++) { int peerStatus = peerNodes[peerIndex].getPeerNodeStatus(); if (peerStatus == Node.PEER_NODE_STATUS_CONNECTED) { numberOfConnected++; } else if (peerStatus == Node.PEER_NODE_STATUS_ROUTING_BACKED_OFF) { numberOfBackedOff++; } else if (peerStatus == Node.PEER_NODE_STATUS_TOO_NEW) { numberOfTooNew++; } else if (peerStatus == Node.PEER_NODE_STATUS_TOO_OLD) { numberOfTooOld++; } else if (peerStatus == Node.PEER_NODE_STATUS_DISCONNECTED) { numberOfDisconnected++; } else if (peerStatus == Node.PEER_NODE_STATUS_NEVER_CONNECTED) { numberOfNeverConnected++; } }
int numberOfConnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_CONNECTED); int numberOfRoutingBackedOff = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_ROUTING_BACKED_OFF); int numberOfTooNew = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_TOO_NEW); int numberOfTooOld = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_TOO_OLD); int numberOfDisconnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_DISCONNECTED); int numberOfNeverConnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_NEVER_CONNECTED);
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { String path = uri.getPath(); if(path.endsWith("myref.txt")) { SimpleFieldSet fs = node.exportPublicFieldSet(); StringWriter sw = new StringWriter(); fs.writeTo(sw); this.writeReply(ctx, 200, "text/plain", "OK", sw.toString()); return; } StringBuffer buf = new StringBuffer(1024); //HTTPRequest request = new HTTPRequest(uri); ctx.getPageMaker().makeHead(buf, "Darknet Connections"); // FIXME! We need some nice images PeerNode[] peerNodes = node.getDarknetConnections(); long now = System.currentTimeMillis(); node.alerts.toSummaryHtml(buf); /* node status values */ int bwlimitDelayTime = (int) node.getBwlimitDelayTime(); int nodeAveragePingTime = (int) node.getNodeAveragePingTime(); /* gather connection statistics */ int numberOfConnected = 0; int numberOfBackedOff = 0; int numberOfTooNew = 0; int numberOfTooOld = 0; int numberOfNeverConnected = 0; int numberOfDisconnected = 0; for (int peerIndex = 0, peerCount = peerNodes.length; peerIndex < peerCount; peerIndex++) { int peerStatus = peerNodes[peerIndex].getPeerNodeStatus(); if (peerStatus == Node.PEER_NODE_STATUS_CONNECTED) { numberOfConnected++; } else if (peerStatus == Node.PEER_NODE_STATUS_ROUTING_BACKED_OFF) { numberOfBackedOff++; } else if (peerStatus == Node.PEER_NODE_STATUS_TOO_NEW) { numberOfTooNew++; } else if (peerStatus == Node.PEER_NODE_STATUS_TOO_OLD) { numberOfTooOld++; } else if (peerStatus == Node.PEER_NODE_STATUS_DISCONNECTED) { numberOfDisconnected++; } else if (peerStatus == Node.PEER_NODE_STATUS_NEVER_CONNECTED) { numberOfNeverConnected++; } } buf.append("<table class=\"column\"><tr><td class=\"first\">"); /* node status overview box */ buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Node status overview</div>"); buf.append("<div class=\"infobox-content\">"); buf.append("bwlimitDelayTime: " + bwlimitDelayTime + "ms<br/>"); buf.append("nodeAveragePingTime: " + nodeAveragePingTime + "ms<br/>"); buf.append("</div>"); buf.append("</div>\n"); buf.append("</td><td class=\"last\">"); buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Connection statistics</div>"); buf.append("<div class=\"infobox-content\">"); if (numberOfConnected > 0) { buf.append("<span class=\"peer_connected\">Connected: " + numberOfConnected + "</span><br/>"); } if (numberOfBackedOff > 0) { buf.append("<span class=\"peer_backedoff\">Backed off: " + numberOfBackedOff + "</span><br/>"); } if (numberOfTooNew > 0) { buf.append("<span class=\"peer_too_new\">Too new: " + numberOfTooNew + "</span><br/>"); } if (numberOfTooOld > 0) { buf.append("<span class=\"peer_too_old\">Too old: " + numberOfTooOld + "</span><br/>"); } if (numberOfDisconnected > 0) { buf.append("<span class=\"peer_disconnected\">Disconnected: " + numberOfDisconnected + "</span><br/>"); } if (numberOfNeverConnected > 0) { buf.append("<span class=\"peer_never_connected\">Never Connected: " + numberOfNeverConnected + "</span><br/>"); } buf.append("</div>"); buf.append("</div>\n"); buf.append("</td></tr></table>\n"); buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("My Connections"); if (!path.endsWith("displaymessagetypes.html")) { buf.append(" <a href=\"displaymessagetypes.html\">(more detailed)</a>"); } buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<form action=\".\" method=\"post\" enctype=\"multipart/form-data\">\n"); StringBuffer buf2 = new StringBuffer(1024); buf2.append("<table class=\"darknet_connections\">\n"); buf2.append("<tr><th></th><th>Status</th><th><span title=\"Click on the nodename link to send a N2NTM\" style=\"border-bottom:1px dotted;cursor:help;\">Name</span></th><th><span title=\"Address:Port\" style=\"border-bottom:1px dotted;cursor:help;\">Address</span></th><th>Version</th><th>Location</th><th><span title=\"Temporarily disconnected. Other node busy? Wait time(s) remaining/total\" style=\"border-bottom:1px dotted;cursor:help;\">Backoff</span></th><th><span title=\"How long since the node was last seen\" style=\"border-bottom:1px dotted;cursor:help;\">Idle</span></th></tr>\n"); if (peerNodes.length == 0) { buf2.append("<tr><td colspan=\"8\">Freenet can't work - you have not added any peers so far. <a href=\"/\">Go here</a> and read the top infobox to see how it's done.</td></tr>\n"); buf2.append("</table>\n"); // buf.append(buf2); } else { // Create array Object[][] rows = new Object[peerNodes.length][]; for(int i=0;i<peerNodes.length;i++) { PeerNode pn = peerNodes[i]; long routingBackedOffUntil = pn.getRoutingBackedOffUntil(); boolean routingBackedOffNow = (now < routingBackedOffUntil); int backoff = (int)(Math.max(routingBackedOffUntil - now, 0)); // Don't list the backoff as zero before it's actually zero if(backoff > 0 && backoff < 1000 ) backoff = 1000; // Elements must be HTML encoded. Object[] row = new Object[10]; // where [0] is the pn object and 9 is the node name only for sorting! rows[i] = row; Object status = new Integer(pn.getPeerNodeStatus()); long idle = pn.lastReceivedPacketTime(); if(((Integer) status).intValue() == Node.PEER_NODE_STATUS_NEVER_CONNECTED) idle = pn.getPeerAddedTime(); String lastBackoffReasonOutputString = "/"; String backoffReason = pn.getLastBackoffReason(); if( backoffReason != null ) { lastBackoffReasonOutputString = "/"+backoffReason; } String avgPingTimeString = ""; if(pn.isConnected()) avgPingTimeString = " ("+(int) pn.averagePingTime()+"ms)"; String VersionPrefixString = ""; String VersionSuffixString = ""; if(pn.publicInvalidVersion() || pn.publicReverseInvalidVersion()) { VersionPrefixString = "<span class=\"peer_version_problem\">"; VersionSuffixString = "</span>"; } String NamePrefixString = ""; String NameSuffixString = ""; if(pn.isConnected()) { NamePrefixString = "<a href=\"/send_n2ntm/?peernode_hashcode="+pn.hashCode()+"\">"; NameSuffixString = "</a>"; } row[0] = pn; row[1] = "<input type=\"checkbox\" name=\"delete_node_"+pn.hashCode()+"\" />"; row[2] = status; row[3] = NamePrefixString+HTMLEncoder.encode(pn.getName())+NameSuffixString; row[4] = ( pn.getDetectedPeer() != null ? HTMLEncoder.encode(pn.getDetectedPeer().toString()) : "(address unknown)" ) + avgPingTimeString; row[5] = VersionPrefixString+HTMLEncoder.encode(pn.getVersion())+VersionSuffixString; row[6] = new Double(pn.getLocation().getValue()); row[7] = backoff/1000 + "/" + pn.getRoutingBackoffLength()/1000+lastBackoffReasonOutputString; row[8] = idleToString(now, idle, ((Integer) status).intValue()); row[9] = HTMLEncoder.encode(pn.getName()); } // Sort array Arrays.sort(rows, new MyComparator()); // Convert status codes into status strings for(int i=0;i<rows.length;i++) { Object[] row = rows[i]; int x = ((Integer) row[2]).intValue(); if(x == Node.PEER_NODE_STATUS_CONNECTED) { row[2] = "<span class=\"peer_connected\">CONNECTED</span>"; } else if(x == Node.PEER_NODE_STATUS_ROUTING_BACKED_OFF) { row[2] = "<span class=\"peer_backedoff\">BACKED OFF</span>"; } else if(x == Node.PEER_NODE_STATUS_TOO_NEW) { row[2] = "<span class=\"peer_too_new\">TOO NEW</span>"; } else if(x == Node.PEER_NODE_STATUS_TOO_OLD) { row[2] = "<span class=\"peer_too_old\">TOO OLD</span>"; } else if(x == Node.PEER_NODE_STATUS_DISCONNECTED) { row[2] = "<span class=\"peer_disconnected\">DISCONNECTED</span>"; } else if(x == Node.PEER_NODE_STATUS_NEVER_CONNECTED) { row[2] = "<span class=\"peer_never_connected\">NEVER CONNECTED</span>"; } } // Turn array into HTML for(int i=0;i<rows.length;i++) { Object[] row = rows[i]; buf2.append("<tr>"); for(int j=1;j<row.length;j++) { // skip index 0 as it's the PeerNode object if(j == 9) // skip index 9 as it's used for sorting purposes only continue; buf2.append("<td>"+row[j]+"</td>"); } buf2.append("</tr>\n"); if (path.endsWith("displaymessagetypes.html")) { buf2.append("<tr class=\"messagetypes\"><td colspan=\"8\">\n"); buf2.append("<table class=\"sentmessagetypes\">\n"); buf2.append("<tr><th>Sent Message Type</th><th>Count</th></tr>\n"); for (Enumeration keys=((PeerNode)row[0]).getLocalNodeSentMessagesToStatistic().keys(); keys.hasMoreElements(); ) { Object curkey = keys.nextElement(); buf2.append("<tr><td>"); buf2.append((String)curkey); buf2.append("</td><td>"); buf2.append(((Long)((PeerNode)row[0]).getLocalNodeSentMessagesToStatistic().get(curkey)) + ""); buf2.append("</td></tr>\n"); } buf2.append("</table>\n"); buf2.append("<table class=\"receivedmessagetypes\">\n"); buf2.append("<tr><th>Received Message Type</th><th>Count</th></tr>\n"); for (Enumeration keys=((PeerNode)row[0]).getLocalNodeReceivedMessagesFromStatistic().keys(); keys.hasMoreElements(); ) { Object curkey = keys.nextElement(); buf2.append("<tr><td>"); buf2.append((String)curkey); buf2.append("</td><td>"); buf2.append(((Long)((PeerNode)row[0]).getLocalNodeReceivedMessagesFromStatistic().get(curkey)) + ""); buf2.append("</td></tr>\n"); } buf2.append("</table>\n"); buf2.append("</td></tr>\n"); } } buf2.append("</table>\n"); // buf.append(buf2); // buf.append("<input type=\"submit\" name=\"disconnect\" value=\"Disconnect from selected peers\" />\n"); buf.append("</form>\n"); } buf.append("</div>\n"); buf.append("</div>\n"); // new connection box buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Connect to another node\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<form action=\".\" method=\"post\" enctype=\"multipart/form-data\">\n"); buf.append("Reference:<br />\n"); buf.append("<textarea id=\"reftext\" name=\"ref\" rows=\"8\" cols=\"74\"></textarea>\n"); buf.append("<br />\n"); buf.append("or URL:\n"); buf.append("<input id=\"refurl\" type=\"text\" name=\"url\" />\n"); buf.append("<br />\n"); buf.append("or file:\n"); buf.append("<input id=\"reffile\" type=\"file\" name=\"reffile\" />\n"); buf.append("<br />\n"); buf.append("<input type=\"submit\" name=\"connect\" value=\"Connect\" />\n"); buf.append("</form>\n"); buf.append("</div>\n"); buf.append("</div>\n"); // our reference buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("<a href=\"myref.txt\">My Reference</a>\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<pre id=\"reference\">\n"); buf.append(HTMLEncoder.encode(this.node.exportPublicFieldSet().toString())); buf.append("</pre>\n"); buf.append("</div>\n"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 200, "text/html", "OK", buf.toString()); }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/2431d0b1bc995fad4854c9328232f11ed6d9e344/DarknetConnectionsToadlet.java/buggy/src/freenet/clients/http/DarknetConnectionsToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 780, 589, 273, 2003, 18, 588, 743, 5621, 202, 202, 430, 12, 803, 18, 5839, 1190, 2932, 4811, 1734, 18, 5830, 6, 3719, 288, 1082, 202, 5784, 974, 694, 2662, 273, 756, 18, 6530, 4782, 974, 694, 5621, 1082, 202, 780, 2289, 1352, 273, 394, 17436, 5621, 1082, 202, 2556, 18, 2626, 774, 12, 5328, 1769, 1082, 202, 2211, 18, 2626, 7817, 12, 5900, 16, 4044, 16, 315, 955, 19, 7446, 3113, 315, 3141, 3113, 1352, 18, 10492, 10663, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 780, 1892, 1681, 273, 394, 6674, 12, 2163, 3247, 1769, 9506, 202, 759, 23891, 590, 273, 394, 25238, 12, 1650, 1769, 202, 202, 5900, 18, 588, 1964, 12373, 7675, 6540, 1414, 12, 4385, 16, 315, 40, 1313, 2758, 4050, 87, 8863, 9506, 202, 759, 9852, 5, 1660, 1608, 2690, 13752, 4602, 202, 202, 6813, 907, 8526, 4261, 3205, 273, 756, 18, 588, 40, 1313, 2758, 9314, 5621, 9506, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 9506, 202, 2159, 18, 11798, 87, 18, 869, 4733, 4353, 12, 4385, 1769, 9506, 202, 20308, 756, 1267, 924, 1195, 202, 202, 474, 12986, 3595, 6763, 950, 273, 261, 474, 13, 756, 18, 588, 38, 91, 3595, 6763, 950, 5621, 202, 202, 474, 756, 17115, 17223, 950, 273, 261, 474, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 780, 589, 273, 2003, 18, 588, 743, 5621, 202, 202, 430, 12, 803, 18, 5839, 1190, 2932, 4811, 1734, 18, 5830, 6, 3719, 288, 1082, 202, 5784, 974, 694, 2662, 273, 756, 18, 6530, 4782, 974, 694, 5621, 1082, 202, 780, 2289, 1352, 273, 394, 17436, 5621, 1082, 202, 2556, 18, 2626, 774, 12, 5328, 1769, 1082, 202, 2211, 18, 2626, 7817, 12, 5900, 16, 4044, 16, 315, 955, 19, 7446, 3113, 315, 3141, 3113, 1352, 18, 10492, 10663, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 2 ]
Node node = (Node)notifier;
if (feature instanceof Text) { break; }
public void handleNotifyChange(INodeNotifier notifier, int eventType, Object feature, Object oldValue, Object newValue, int index) { //Node n = (Node)notifier; //System.out.println("nodeChanged(" + eventType + ")" + n.getNodeName()); switch (eventType) { case INodeNotifier.ADD: { if (newValue instanceof Element) { Element element = (Element)newValue; adapt(element); } break; } case INodeNotifier.REMOVE: { break; } case INodeNotifier.CHANGE: case INodeNotifier.STRUCTURE_CHANGED: case INodeNotifier.CONTENT_CHANGED: { Node node = (Node)notifier; handleNodeChanged(node); break; } } }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/38c5287383c2c8afdea08c05a731465cb5ff4365/ModelReconcileAdapter.java/buggy/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/util/ModelReconcileAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1640, 9168, 3043, 12, 23184, 14889, 19057, 16, 509, 11216, 16, 1033, 2572, 16, 1033, 11144, 16, 1033, 6129, 16, 509, 770, 13, 225, 288, 565, 368, 907, 290, 273, 261, 907, 13, 902, 1251, 31, 565, 368, 3163, 18, 659, 18, 8222, 2932, 2159, 5033, 2932, 397, 11216, 397, 7310, 397, 290, 18, 588, 18948, 10663, 565, 1620, 261, 2575, 559, 13, 565, 288, 1377, 648, 21176, 14889, 18, 8355, 30, 1377, 288, 3639, 309, 261, 2704, 620, 1276, 3010, 13, 3639, 288, 1850, 3010, 930, 273, 261, 1046, 13, 2704, 620, 31, 1850, 5855, 12, 2956, 1769, 3639, 289, 1850, 898, 31, 1377, 289, 1377, 648, 21176, 14889, 18, 22122, 30, 1377, 288, 3639, 898, 31, 1377, 289, 1377, 648, 21176, 14889, 18, 14473, 30, 1377, 648, 21176, 14889, 18, 13915, 4830, 67, 24435, 30, 1377, 648, 21176, 14889, 18, 9689, 67, 24435, 30, 1377, 288, 6647, 309, 261, 7238, 1276, 3867, 13, 288, 898, 31, 289, 540, 1640, 907, 5033, 12, 2159, 1769, 3639, 898, 31, 1377, 289, 1171, 289, 225, 289, 2, 0, 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, 3043, 12, 23184, 14889, 19057, 16, 509, 11216, 16, 1033, 2572, 16, 1033, 11144, 16, 1033, 6129, 16, 509, 770, 13, 225, 288, 565, 368, 907, 290, 273, 261, 907, 13, 902, 1251, 31, 565, 368, 3163, 18, 659, 18, 8222, 2932, 2159, 5033, 2932, 397, 11216, 397, 7310, 397, 290, 18, 588, 18948, 10663, 565, 1620, 261, 2575, 559, 13, 565, 288, 1377, 648, 21176, 14889, 18, 8355, 30, 1377, 288, 3639, 309, 261, 2704, 620, 1276, 3010, 13, 3639, 288, 1850, 3010, 930, 273, 261, 1046, 13, 2704, 620, 31, 1850, 5855, 12, 2956, 1769, 3639, 289, 1850, 898, 31, 1377, 289, 1377, 648, 21176, 14889, 18, 22122, 30, 1377, 288, 3639, 2 ]
else if (method.getName().equals("getConnection"))
if (method.getName().equals("getConnection"))
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { // From Object if (method.getDeclaringClass().getName().equals("java.lang.Object")) { if (method.getName().equals("toString")) { return "Pooled statement wrapping physical statement " + st; } if (method.getName().equals("hashCode")) { return new Integer(st.hashCode()); } if (method.getName().equals("equals")) { if (args[0] == null) { return Boolean.FALSE; } try { return Proxy.isProxyClass(args[0].getClass()) && ((StatementHandler) Proxy.getInvocationHandler(args[0])).st == st ? Boolean.TRUE : Boolean.FALSE; } catch (ClassCastException e) { return Boolean.FALSE; } } return method.invoke(st, args); } // All the rest is from the Statement interface if (method.getName().equals("close")) { // closing an already closed object is a no-op if (st == null || con.isClosed()) return null; try { st.close(); } finally { con = null; st = null; } return null; } if (st == null || con.isClosed()) { throw new SQLException(GT.tr("Statement has been closed.")); } else if (method.getName().equals("getConnection")) { return con.getProxy(); // the proxied connection, not a physical connection } else { try { return method.invoke(st, args); } catch (InvocationTargetException e) { throw e.getTargetException(); } } }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/2d0245f6946ddb872b4191c2f65f0e490bf5e549/PooledConnectionImpl.java/clean/org/postgresql/ds/common/PooledConnectionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1033, 4356, 12, 921, 2889, 16, 2985, 707, 16, 1033, 8526, 833, 13, 3639, 1216, 4206, 3639, 288, 5411, 368, 6338, 1033, 5411, 309, 261, 2039, 18, 588, 3456, 14682, 7675, 17994, 7675, 14963, 2932, 6290, 18, 4936, 18, 921, 6, 3719, 5411, 288, 7734, 309, 261, 2039, 18, 17994, 7675, 14963, 2932, 10492, 6, 3719, 7734, 288, 10792, 327, 315, 52, 22167, 3021, 14702, 11640, 3021, 315, 397, 384, 31, 7734, 289, 7734, 309, 261, 2039, 18, 17994, 7675, 14963, 2932, 2816, 1085, 6, 3719, 7734, 288, 10792, 327, 394, 2144, 12, 334, 18, 2816, 1085, 10663, 7734, 289, 7734, 309, 261, 2039, 18, 17994, 7675, 14963, 2932, 14963, 6, 3719, 7734, 288, 10792, 309, 261, 1968, 63, 20, 65, 422, 446, 13, 10792, 288, 13491, 327, 3411, 18, 21053, 31, 10792, 289, 10792, 775, 10792, 288, 13491, 327, 7659, 18, 291, 3886, 797, 12, 1968, 63, 20, 8009, 588, 797, 10756, 597, 14015, 3406, 1503, 13, 7659, 18, 588, 9267, 1503, 12, 1968, 63, 20, 5717, 2934, 334, 422, 384, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 10792, 289, 10792, 1044, 261, 797, 22768, 425, 13, 10792, 288, 13491, 327, 3411, 18, 21053, 31, 10792, 289, 7734, 289, 7734, 327, 707, 18, 14407, 12, 334, 16, 833, 1769, 5411, 289, 5411, 368, 4826, 326, 3127, 353, 628, 326, 8056, 1560, 5411, 309, 261, 2039, 18, 17994, 7675, 14963, 2932, 4412, 6, 3719, 5411, 288, 7734, 368, 7647, 392, 1818, 4375, 733, 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, 1033, 4356, 12, 921, 2889, 16, 2985, 707, 16, 1033, 8526, 833, 13, 3639, 1216, 4206, 3639, 288, 5411, 368, 6338, 1033, 5411, 309, 261, 2039, 18, 588, 3456, 14682, 7675, 17994, 7675, 14963, 2932, 6290, 18, 4936, 18, 921, 6, 3719, 5411, 288, 7734, 309, 261, 2039, 18, 17994, 7675, 14963, 2932, 10492, 6, 3719, 7734, 288, 10792, 327, 315, 52, 22167, 3021, 14702, 11640, 3021, 315, 397, 384, 31, 7734, 289, 7734, 309, 261, 2039, 18, 17994, 7675, 14963, 2932, 2816, 1085, 6, 3719, 7734, 288, 10792, 327, 394, 2144, 12, 334, 18, 2816, 1085, 10663, 7734, 289, 7734, 309, 261, 2039, 18, 17994, 7675, 14963, 2932, 14963, 6, 3719, 7734, 288, 10792, 309, 261, 2 ]