rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
public boolean isLeaf(Object node) { if(node == null) return true; VariableNode varNode = (VariableNode)node; Object[] children = varNode.getChildren(); if(children != null && children.length > 0) { return false; } //Object value = getObject(node); //if(value != null && value instanceof Scriptable) { //if(value == Undefined.instance || //value == ScriptableObject.NOT_FOUND) { //return true; //} //Scriptable scrip = (Scriptable)value; //Scriptable proto = scrip.getPrototype(); //if(proto != null && //proto != ScriptableObject.getObjectPrototype(scrip)) { //return false; //} //} // if(value == null) return true; // if (value == Undefined.instance) // return true; // if (value == null) // return true; // if (value instanceof String) // return true; // if (value instanceof Number) // return true; // if (value instanceof Boolean) // return true; // if(value instanceof Scriptable) { // //Scriptable scrip = (Scriptable)value; //if(scrip.has(0, scrip)) { //return false; //} //if(ScriptableObject.getPropertyIds(scrip).length > 0) { //return false; //} //return true; //} return true; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/b7d911651e6644efbb36e68136731f199ae3f1e6/VariableModel.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/VariableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 31356, 12, 921, 756, 13, 288, 225, 202, 430, 12, 2159, 422, 446, 13, 327, 638, 31, 202, 3092, 907, 569, 907, 273, 261, 3092, 907, 13, 2159, 31, 202, 921, 8526, 2325, 273, 569, 907, 18, 588, 4212, 5621, 202, 430, 12, 5906, 480, 446, 597, 2325, 18, 2469, 405, 374, 13, 288, 202, 565, 327, 629, 31, 202, 97, 202, 759, 921, 460, 273, 6455, 12, 2159, 1769, 202, 759, 430, 12, 1132, 480, 446, 597, 460, 1276, 22780, 13, 288, 202, 759, 430, 12, 1132, 422, 22243, 18, 1336, 747, 202, 759, 1132, 422, 22780, 921, 18, 4400, 67, 9294, 13, 288, 202, 759, 2463, 638, 31, 202, 759, 97, 202, 759, 3651, 429, 888, 21335, 273, 261, 3651, 429, 13, 1132, 31, 202, 759, 3651, 429, 3760, 273, 888, 21335, 18, 588, 15846, 5621, 202, 759, 430, 12, 9393, 480, 446, 597, 225, 202, 759, 9393, 480, 22780, 921, 18, 588, 921, 15846, 12, 2614, 84, 3719, 288, 202, 759, 2463, 629, 31, 202, 759, 97, 202, 759, 97, 202, 759, 202, 430, 12, 1132, 422, 446, 13, 327, 638, 31, 202, 759, 202, 430, 261, 1132, 422, 22243, 18, 1336, 13, 202, 759, 202, 565, 327, 638, 31, 202, 759, 202, 430, 261, 1132, 422, 446, 13, 202, 759, 202, 565, 327, 638, 31, 202, 759, 202, 430, 261, 1132, 1276, 514, 13, 202, 759, 202, 565, 327, 638, 31, 202, 759, 202, 430, 261, 1132, 1276, 3588, 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, 377, 1071, 1250, 31356, 12, 921, 756, 13, 288, 225, 202, 430, 12, 2159, 422, 446, 13, 327, 638, 31, 202, 3092, 907, 569, 907, 273, 261, 3092, 907, 13, 2159, 31, 202, 921, 8526, 2325, 273, 569, 907, 18, 588, 4212, 5621, 202, 430, 12, 5906, 480, 446, 597, 2325, 18, 2469, 405, 374, 13, 288, 202, 565, 327, 629, 31, 202, 97, 202, 759, 921, 460, 273, 6455, 12, 2159, 1769, 202, 759, 430, 12, 1132, 480, 446, 597, 460, 1276, 22780, 13, 288, 202, 759, 430, 12, 1132, 422, 22243, 18, 1336, 747, 202, 759, 1132, 422, 22780, 921, 18, 4400, 67, 9294, 13, 288, 202, 759, 2463, 638, 31, 202, 759, 97, 202, 759, 3651, 2 ]
if (!reader.isRGB(filename)) { cache.add(trim(reader.openBytes(filename, i))); } else cache.add(reader.openImage(filename, i));
cache.add(reader.openImage(filename, i));
private void updateCache(int pos) { int lowerBound = pos - cacheSize / 2; int upperBound = lowerBound + cacheSize; if (lowerBound < 0) { upperBound = cacheSize; lowerBound = 0; } if (upperBound >= stackSize) { lowerBound -= (upperBound - stackSize); upperBound = stackSize; if (lowerBound < 0) lowerBound = 0; } if (lowerBound >= ((Integer) numbers.get(0)).intValue() && lowerBound <= ((Integer) numbers.get(cacheSize - 1)).intValue()) { try { lowerBound = ((Integer) numbers.get(cacheSize - 1)).intValue() + 1; for (int i=lowerBound; i<upperBound; i++) { if (!reader.isRGB(filename)) { cache.add(trim(reader.openBytes(filename, i))); } else cache.add(reader.openImage(filename, i)); numbers.add(new Integer(i)); } } catch (Exception e) { } while (cache.size() > cacheSize) cache.remove(0); while (numbers.size() > cacheSize) numbers.remove(0); } else if (upperBound <= ((Integer) numbers.get(cacheSize - 1)).intValue() && upperBound >= ((Integer) numbers.get(0)).intValue()) { upperBound = ((Integer) numbers.get(0)).intValue(); try { int count = 0; for (int i=lowerBound; i<upperBound; i++) { if (!reader.isRGB(filename)) { cache.add(count, trim(reader.openBytes(filename, i))); } else cache.add(count, reader.openImage(filename, i)); numbers.add(count, new Integer(i)); count++; } } catch (Exception e) { } while (cache.size() > cacheSize) { cache.remove(cache.size() - 1); } while (numbers.size() > cacheSize) { numbers.remove(numbers.size() - 1); } } else { cache.clear(); numbers.clear(); for (int i=lowerBound; i<upperBound; i++) { try { if (!reader.isRGB(filename)) { cache.add(trim(reader.openBytes(filename, i))); } else cache.add(reader.openImage(filename, i)); numbers.add(new Integer(i)); } catch (Exception e) { } } } }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/9590374989eb2e62036100e8c5fee2cfd0682799/CacheManager.java/buggy/loci/plugins/browser/CacheManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1089, 1649, 12, 474, 949, 13, 288, 565, 509, 22656, 273, 949, 300, 1247, 1225, 342, 576, 31, 565, 509, 21663, 273, 22656, 397, 1247, 1225, 31, 565, 309, 261, 8167, 3499, 411, 374, 13, 288, 1377, 21663, 273, 1247, 1225, 31, 1377, 22656, 273, 374, 31, 565, 289, 565, 309, 261, 5797, 3499, 1545, 2110, 1225, 13, 288, 1377, 22656, 3947, 261, 5797, 3499, 300, 2110, 1225, 1769, 1377, 21663, 273, 2110, 1225, 31, 1377, 309, 261, 8167, 3499, 411, 374, 13, 22656, 273, 374, 31, 565, 289, 565, 309, 261, 8167, 3499, 1545, 14015, 4522, 13, 5600, 18, 588, 12, 20, 13, 2934, 474, 620, 1435, 597, 1377, 22656, 1648, 14015, 4522, 13, 5600, 18, 588, 12, 2493, 1225, 300, 404, 13, 2934, 474, 620, 10756, 565, 288, 1377, 775, 288, 4202, 22656, 273, 1850, 14015, 4522, 13, 5600, 18, 588, 12, 2493, 1225, 300, 404, 13, 2934, 474, 620, 1435, 397, 404, 31, 3639, 364, 261, 474, 277, 33, 8167, 3499, 31, 277, 32, 5797, 3499, 31, 277, 27245, 288, 1850, 309, 16051, 10530, 18, 291, 11343, 12, 3459, 3719, 288, 5411, 1247, 18, 1289, 12, 5290, 12, 10530, 18, 3190, 2160, 12, 3459, 16, 277, 3719, 1769, 1850, 289, 1850, 469, 1247, 18, 1289, 12, 10530, 18, 3190, 2040, 12, 3459, 16, 277, 10019, 1850, 5600, 18, 1289, 12, 2704, 2144, 12, 77, 10019, 3639, 289, 1377, 289, 1377, 1044, 261, 503, 425, 13, 288, 289, 1377, 1323, 261, 2493, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1089, 1649, 12, 474, 949, 13, 288, 565, 509, 22656, 273, 949, 300, 1247, 1225, 342, 576, 31, 565, 509, 21663, 273, 22656, 397, 1247, 1225, 31, 565, 309, 261, 8167, 3499, 411, 374, 13, 288, 1377, 21663, 273, 1247, 1225, 31, 1377, 22656, 273, 374, 31, 565, 289, 565, 309, 261, 5797, 3499, 1545, 2110, 1225, 13, 288, 1377, 22656, 3947, 261, 5797, 3499, 300, 2110, 1225, 1769, 1377, 21663, 273, 2110, 1225, 31, 1377, 309, 261, 8167, 3499, 411, 374, 13, 22656, 273, 374, 31, 565, 289, 565, 309, 261, 8167, 3499, 1545, 14015, 4522, 13, 5600, 18, 588, 12, 20, 13, 2934, 474, 620, 1435, 597, 1377, 22656, 1648, 14015, 4522, 13, 5600, 2 ]
if (loc.getPort() != null) location.setAttribute(PORT, loc.getPort()); if (loc.getDatabaseType() != null) location.setAttribute(DATABASETYPE, loc.getDatabaseType()); if (loc.getPassword() != null) location.setAttribute(PASSWORD, loc.getPassword()); return location; }
if (loc.getPort() != null) location.setAttribute(PORT, loc.getPort()); if (loc.getDatabaseType() != null) location.setAttribute(DATABASETYPE, loc.getDatabaseType()); if (loc.getPassword() != null) location.setAttribute(PASSWORD, loc.getPassword()); if (loc.getJDBCDriverClassName() != null) location.setAttribute(JDBCDRIVER, loc.getJDBCDriverClassName()); return location; }
private static Element getDatabaseLocationElement(DatabaseLocation loc) throws ConfigurationException { Element location = new Element(DATABASELOCATION); location.setAttribute(HOST, loc.getHost()); location.setAttribute(USER, loc.getUser()); location.setAttribute(INSTANCENAME, loc.getInstanceName()); if (loc.getPort() != null) location.setAttribute(PORT, loc.getPort()); if (loc.getDatabaseType() != null) location.setAttribute(DATABASETYPE, loc.getDatabaseType()); if (loc.getPassword() != null) location.setAttribute(PASSWORD, loc.getPassword()); return location; }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/cb0698222fa8268a3097744321bcacf703a60234/MartRegistryXMLUtils.java/clean/src/java/org/ensembl/mart/lib/config/MartRegistryXMLUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 3010, 11263, 2735, 1046, 12, 4254, 2735, 1515, 13, 1216, 22196, 288, 282, 202, 1046, 2117, 273, 394, 3010, 12, 22366, 15277, 1769, 282, 202, 3562, 18, 542, 1499, 12, 8908, 16, 1515, 18, 588, 2594, 10663, 282, 202, 3562, 18, 542, 1499, 12, 4714, 16, 1515, 18, 588, 1299, 10663, 282, 202, 3562, 18, 542, 1499, 12, 19784, 1258, 39, 21150, 16, 1515, 18, 588, 22520, 10663, 565, 309, 261, 1829, 18, 588, 2617, 1435, 480, 446, 13, 21114, 225, 2117, 18, 542, 1499, 12, 6354, 16, 1515, 18, 588, 2617, 10663, 21114, 282, 202, 430, 261, 1829, 18, 588, 4254, 559, 1435, 480, 446, 13, 21114, 225, 2117, 18, 542, 1499, 12, 22366, 2399, 16, 1515, 18, 588, 4254, 559, 10663, 21114, 282, 202, 430, 261, 1829, 18, 588, 3913, 1435, 480, 446, 13, 21114, 225, 2117, 18, 542, 1499, 12, 13784, 16, 1515, 18, 588, 3913, 10663, 21114, 282, 202, 2463, 2117, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 3010, 11263, 2735, 1046, 12, 4254, 2735, 1515, 13, 1216, 22196, 288, 282, 202, 1046, 2117, 273, 394, 3010, 12, 22366, 15277, 1769, 282, 202, 3562, 18, 542, 1499, 12, 8908, 16, 1515, 18, 588, 2594, 10663, 282, 202, 3562, 18, 542, 1499, 12, 4714, 16, 1515, 18, 588, 1299, 10663, 282, 202, 3562, 18, 542, 1499, 12, 19784, 1258, 39, 21150, 16, 1515, 18, 588, 22520, 10663, 565, 309, 261, 1829, 18, 588, 2617, 1435, 480, 446, 13, 21114, 225, 2117, 18, 542, 1499, 12, 6354, 16, 1515, 18, 588, 2617, 10663, 21114, 282, 202, 430, 261, 1829, 18, 588, 4254, 559, 1435, 480, 446, 13, 21114, 225, 2117, 18, 542, 1499, 12, 22366, 2399, 2 ]
} else if (count == 1 && this.formatter.preferences.preserve_user_linebreaks) {
} else if (count == 1) {
public void printComment() { try { // if we have a space between two tokens we ensure it will be dumped in the formatted string int currentTokenStartPosition = this.scanner.currentPosition; boolean hasComment = false; boolean hasLineComment = false; boolean hasWhitespace = false; int count = 0; while ((this.currentToken = this.scanner.getNextToken()) != TerminalTokens.TokenNameEOF) { switch(this.currentToken) { case TerminalTokens.TokenNameWHITESPACE : char[] whiteSpaces = this.scanner.getCurrentTokenSource(); count = 0; for (int i = 0, max = whiteSpaces.length; i < max; i++) { switch(whiteSpaces[i]) { case '\r' : if ((i + 1) < max) { if (whiteSpaces[i + 1] == '\n') { i++; } } count++; break; case '\n' : count++; } } if (count == 0) { hasWhitespace = true; addDeleteEdit(this.scanner.getCurrentTokenStartPosition(), this.scanner.getCurrentTokenEndPosition()); } else if (hasComment) { if (count == 1) { this.printNewLine(this.scanner.getCurrentTokenStartPosition()); } else { preserveEmptyLines(count - 1, this.scanner.getCurrentTokenStartPosition()); } addDeleteEdit(this.scanner.getCurrentTokenStartPosition(), this.scanner.getCurrentTokenEndPosition()); } else if (hasLineComment) { this.preserveEmptyLines(count, this.scanner.getCurrentTokenStartPosition()); addDeleteEdit(this.scanner.getCurrentTokenStartPosition(), this.scanner.getCurrentTokenEndPosition()); } else if (this.formatter.preferences.preserve_user_linebreaks) { addDeleteEdit(this.scanner.getCurrentTokenStartPosition(), this.scanner.getCurrentTokenEndPosition()); if (count == 1) { this.printNewLine(this.scanner.getCurrentTokenEndPosition() + 1); } } else if (count != 0 && this.formatter.preferences.number_of_empty_lines_to_preserve != 0) { addReplaceEdit(this.scanner.getCurrentTokenStartPosition(), this.scanner.getCurrentTokenEndPosition(), this.getPreserveEmptyLines(count - 1)); } else { addDeleteEdit(this.scanner.getCurrentTokenStartPosition(), this.scanner.getCurrentTokenEndPosition()); } currentTokenStartPosition = this.scanner.currentPosition; break; case TerminalTokens.TokenNameCOMMENT_LINE : if (count >= 1) { if (count > 1) { preserveEmptyLines(count - 1, this.scanner.getCurrentTokenStartPosition()); } else if (count == 1 || this.formatter.preferences.preserve_user_linebreaks) { printNewLine(this.scanner.getCurrentTokenStartPosition()); } } else if (hasWhitespace) { space(this.scanner.getCurrentTokenStartPosition()); } hasWhitespace = false; this.printCommentLine(this.scanner.getRawTokenSource()); currentTokenStartPosition = this.scanner.currentPosition; hasLineComment = true; count = 0; break; case TerminalTokens.TokenNameCOMMENT_BLOCK : if (count >= 1) { if (count > 1) { preserveEmptyLines(count - 1, this.scanner.getCurrentTokenStartPosition()); } else if (count == 1 && this.formatter.preferences.preserve_user_linebreaks) { printNewLine(this.scanner.getCurrentTokenStartPosition()); } } else if (hasWhitespace) { space(this.scanner.getCurrentTokenStartPosition()); } hasWhitespace = false; this.printBlockComment(this.scanner.getRawTokenSource(), false); currentTokenStartPosition = this.scanner.currentPosition; hasLineComment = false; hasComment = true; count = 0; break; case TerminalTokens.TokenNameCOMMENT_JAVADOC : if (count >= 1) { if (count > 1) { preserveEmptyLines(count - 1, this.scanner.getCurrentTokenStartPosition()); } else if (count == 1 && this.formatter.preferences.preserve_user_linebreaks) { printNewLine(this.scanner.getCurrentTokenStartPosition()); } } else if (hasWhitespace) { space(this.scanner.getCurrentTokenStartPosition()); } hasWhitespace = false; this.printBlockComment(this.scanner.getRawTokenSource(), true); currentTokenStartPosition = this.scanner.currentPosition; hasLineComment = false; hasComment = true; count = 0; break; default : // step back one token this.scanner.resetTo(currentTokenStartPosition, this.scannerEndPosition - 1); return; } } } catch (InvalidInputException e) { throw new AbortFormatting(e); } }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/d9dd3f3b4344311765aa43bd0ec69a035e3c1a0f/Scribe.java/clean/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1172, 4469, 1435, 288, 202, 202, 698, 288, 1082, 202, 759, 309, 732, 1240, 279, 3476, 3086, 2795, 2430, 732, 3387, 518, 903, 506, 29942, 316, 326, 4955, 533, 1082, 202, 474, 23719, 23785, 273, 333, 18, 26842, 18, 2972, 2555, 31, 1082, 202, 6494, 711, 4469, 273, 629, 31, 1082, 202, 6494, 711, 1670, 4469, 273, 629, 31, 1082, 202, 6494, 711, 9431, 273, 629, 31, 1082, 202, 474, 1056, 273, 374, 31, 1082, 202, 17523, 14015, 2211, 18, 2972, 1345, 273, 333, 18, 26842, 18, 588, 9399, 10756, 480, 18778, 5157, 18, 1345, 461, 12706, 13, 288, 9506, 202, 9610, 12, 2211, 18, 2972, 1345, 13, 288, 6862, 202, 3593, 18778, 5157, 18, 1345, 461, 20767, 294, 25083, 202, 3001, 8526, 9578, 12077, 273, 333, 18, 26842, 18, 588, 3935, 1345, 1830, 5621, 25083, 202, 1883, 273, 374, 31, 25083, 202, 1884, 261, 474, 277, 273, 374, 16, 943, 273, 9578, 12077, 18, 2469, 31, 277, 411, 943, 31, 277, 27245, 288, 6862, 1082, 202, 9610, 12, 14739, 12077, 63, 77, 5717, 288, 6862, 9506, 202, 3593, 2337, 86, 11, 294, 6862, 6862, 202, 430, 14015, 77, 397, 404, 13, 411, 943, 13, 288, 6862, 25083, 202, 430, 261, 14739, 12077, 63, 77, 397, 404, 65, 422, 2337, 82, 6134, 288, 6862, 6862, 1082, 202, 77, 9904, 31, 6862, 25083, 202, 97, 6862, 6862, 202, 97, 6862, 6862, 202, 1883, 9904, 31, 6862, 6862, 202, 8820, 31, 6862, 9506, 202, 3593, 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, 1172, 4469, 1435, 288, 202, 202, 698, 288, 1082, 202, 759, 309, 732, 1240, 279, 3476, 3086, 2795, 2430, 732, 3387, 518, 903, 506, 29942, 316, 326, 4955, 533, 1082, 202, 474, 23719, 23785, 273, 333, 18, 26842, 18, 2972, 2555, 31, 1082, 202, 6494, 711, 4469, 273, 629, 31, 1082, 202, 6494, 711, 1670, 4469, 273, 629, 31, 1082, 202, 6494, 711, 9431, 273, 629, 31, 1082, 202, 474, 1056, 273, 374, 31, 1082, 202, 17523, 14015, 2211, 18, 2972, 1345, 273, 333, 18, 26842, 18, 588, 9399, 10756, 480, 18778, 5157, 18, 1345, 461, 12706, 13, 288, 9506, 202, 9610, 12, 2211, 18, 2972, 1345, 13, 288, 6862, 202, 3593, 18778, 5157, 18, 2 ]
void accept(ICompilationUnit unit, AccessRestriction accessRestriction);
void accept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction);
void accept(ICompilationUnit unit, AccessRestriction accessRestriction);
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/2fcc7d0f6d73a0e1ec44b95addeba29a0b163a14/ITypeRequestor.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ITypeRequestor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 2791, 12, 45, 19184, 2802, 2836, 16, 5016, 11670, 2006, 11670, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 2791, 12, 45, 19184, 2802, 2836, 16, 5016, 11670, 2006, 11670, 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 ]
try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { }
if ((string = EvalHelper.evalString("onkeydown", getOnkeydownExpr(), this, pageContext)) != null) setOnkeydown(string);
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIdName((String) evalAttr("idName", getIdNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnchange((String) evalAttr("onchange", getOnchangeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/022bd23c954cf673e53731849d562b3c295473f1/ELRadioTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELRadioTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 8853, 12443, 12, 5507, 13, 5302, 3843, 2932, 9278, 3113, 336, 8853, 4742, 9334, 4766, 5411, 3411, 18, 1106, 13, 2934, 13491, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 10446, 461, 12443, 780, 13, 5302, 3843, 2932, 350, 461, 3113, 2634, 461, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 2932, 529, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 2 ]
if (!isConnected ()) return null;
public InetAddress getInetAddress() { if (!isConnected ()) return null; return remoteAddress; }
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/bcf934a726f09b909edaefea311bbb71e1745e81/DatagramSocket.java/buggy/libjava/java/net/DatagramSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 14218, 7854, 278, 1887, 1435, 225, 288, 565, 309, 16051, 291, 8932, 1832, 13, 1377, 327, 446, 31, 565, 327, 27909, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 14218, 7854, 278, 1887, 1435, 225, 288, 565, 309, 16051, 291, 8932, 1832, 13, 1377, 327, 446, 31, 565, 327, 27909, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Packet(int command, Object object) { this.command = command; this.data = new Object[1]; this.data[0] = object;
public Packet(int command) { this(command, null);
public Packet(int command, Object object) { this.command = command; this.data = new Object[1]; this.data[0] = object; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/0cf8d1ffa067299eefad55cf3d8dd41348733d58/Packet.java/buggy/megamek/src/megamek/common/Packet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11114, 12, 474, 1296, 16, 1033, 733, 13, 288, 3639, 333, 18, 3076, 273, 1296, 31, 3639, 333, 18, 892, 273, 394, 1033, 63, 21, 15533, 3639, 333, 18, 892, 63, 20, 65, 273, 733, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11114, 12, 474, 1296, 16, 1033, 733, 13, 288, 3639, 333, 18, 3076, 273, 1296, 31, 3639, 333, 18, 892, 273, 394, 1033, 63, 21, 15533, 3639, 333, 18, 892, 63, 20, 65, 273, 733, 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 ]
actionSets = newActionSets;
private boolean updateActionSets(ArrayList newActionSets) { if (actionSets.equals(newActionSets)) return false; Perspective persp = getActivePerspective(); if (persp == null) { actionSets = newActionSets; return false; } // hide the old for (int i = 0; i < actionSets.size(); i++) { persp.hideActionSet(((IActionSetDescriptor) actionSets.get(i)) .getId()); } // show the new for (int i = 0; i < newActionSets.size(); i++) { persp.showActionSet(((IActionSetDescriptor) newActionSets .get(i)).getId()); } actionSets = newActionSets; window.updateActionSets(); // this calls updateActionBars window.firePerspectiveChanged(WorkbenchPage.this, getPerspective(), CHANGE_ACTION_SET_SHOW); return true; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/56f8e6c4b867931001b9607e02b459fe3346470b/WorkbenchPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1250, 1089, 1803, 2785, 12, 19558, 394, 1803, 2785, 13, 288, 5411, 309, 261, 1128, 2785, 18, 14963, 12, 2704, 1803, 2785, 3719, 7734, 327, 629, 31, 5411, 453, 414, 16772, 13508, 84, 273, 11960, 14781, 16772, 5621, 5411, 309, 261, 10422, 84, 422, 446, 13, 288, 1171, 9079, 327, 629, 31, 5411, 289, 5411, 368, 6853, 326, 1592, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1301, 2785, 18, 1467, 5621, 277, 27245, 288, 7734, 13508, 84, 18, 11248, 1803, 694, 12443, 12, 45, 1803, 694, 3187, 13, 1301, 2785, 18, 588, 12, 77, 3719, 13491, 263, 26321, 10663, 5411, 289, 5411, 368, 2405, 326, 394, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 394, 1803, 2785, 18, 1467, 5621, 277, 27245, 288, 7734, 13508, 84, 18, 4500, 1803, 694, 12443, 12, 45, 1803, 694, 3187, 13, 394, 1803, 2785, 13491, 263, 588, 12, 77, 13, 2934, 26321, 10663, 5411, 289, 15604, 2742, 18, 2725, 1803, 2785, 5621, 368, 333, 4097, 1089, 1803, 5190, 87, 5411, 2742, 18, 12179, 14781, 16772, 5033, 12, 2421, 22144, 1964, 18, 2211, 16, 1689, 414, 16772, 9334, 10792, 26267, 67, 12249, 67, 4043, 67, 16677, 1769, 5411, 327, 638, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 540, 3238, 1250, 1089, 1803, 2785, 12, 19558, 394, 1803, 2785, 13, 288, 5411, 309, 261, 1128, 2785, 18, 14963, 12, 2704, 1803, 2785, 3719, 7734, 327, 629, 31, 5411, 453, 414, 16772, 13508, 84, 273, 11960, 14781, 16772, 5621, 5411, 309, 261, 10422, 84, 422, 446, 13, 288, 1171, 9079, 327, 629, 31, 5411, 289, 5411, 368, 6853, 326, 1592, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1301, 2785, 18, 1467, 5621, 277, 27245, 288, 7734, 13508, 84, 18, 11248, 1803, 694, 12443, 12, 45, 1803, 694, 3187, 13, 1301, 2785, 18, 588, 12, 77, 3719, 13491, 263, 26321, 10663, 5411, 289, 5411, 368, 2405, 326, 394, 5411, 364, 261, 474, 277, 273, 374, 31, 2 ]
/** * Get a progress monitor that forwards to an * event loop monitor. Override #setBlocked() * so that we always open the blocked dialog. * @return the monitor on the event loop */ private IProgressMonitor getEventLoopMonitor() { return new EventLoopProgressMonitor(new NullProgressMonitor()) { /* * (non-Javadoc) * * @see org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor#setBlocked(org.eclipse.core.runtime.IStatus) */ public void setBlocked(IStatus reason) {
/** * Get a progress monitor that forwards to an event loop monitor. * Override #setBlocked() so that we always open the blocked dialog. * * @return the monitor on the event loop */ private IProgressMonitor getEventLoopMonitor() { return new EventLoopProgressMonitor(new NullProgressMonitor()) { /* * (non-Javadoc) * * @see org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor#setBlocked(org.eclipse.core.runtime.IStatus) */ public void setBlocked(IStatus reason) {
public void runInUI(final IRunnableContext context, final IRunnableWithProgress runnable, final ISchedulingRule rule) throws InvocationTargetException, InterruptedException { final IJobManager manager = Platform.getJobManager(); final InvocationTargetException[] exception = new InvocationTargetException[1]; final InterruptedException[] canceled = new InterruptedException[1]; BusyIndicator.showWhile(Display.getDefault(), new Runnable() { public void run() { try { manager.beginRule(rule, ((Workbench)PlatformUI.getWorkbench()).isStarting() ? new NullProgressMonitor() : getEventLoopMonitor()); context.run(false, false, runnable); } catch (InvocationTargetException e) { exception[0] = e; } catch (InterruptedException e) { canceled[0] = e; } catch (OperationCanceledException e) { canceled[0] = new InterruptedException(e.getMessage()); } finally { manager.endRule(rule); } } /** * Get a progress monitor that forwards to an * event loop monitor. Override #setBlocked() * so that we always open the blocked dialog. * @return the monitor on the event loop */ private IProgressMonitor getEventLoopMonitor() { return new EventLoopProgressMonitor(new NullProgressMonitor()) { /* * (non-Javadoc) * * @see org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor#setBlocked(org.eclipse.core.runtime.IStatus) */ public void setBlocked(IStatus reason) { //Set a shell to open with as we want to create this //even if there is a modal shell. Dialog.getBlockedHandler().showBlocked( ProgressManagerUtil.getDefaultParent(), this, reason, getTaskName()); } }; } }); if (exception[0] != null) { throw exception[0]; } if (canceled[0] != null) { throw canceled[0]; } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/0e7fbc26f7d1b7769a0721c71fd17572c8432fd5/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 382, 5370, 12, 6385, 467, 20013, 1042, 819, 16, 5411, 727, 467, 20013, 1190, 5491, 14685, 16, 727, 4437, 13252, 2175, 1720, 13, 5411, 1216, 15342, 16, 7558, 288, 3639, 727, 467, 2278, 1318, 3301, 273, 11810, 18, 588, 2278, 1318, 5621, 3639, 727, 15342, 8526, 1520, 273, 394, 15342, 63, 21, 15533, 3639, 727, 7558, 8526, 17271, 273, 394, 7558, 63, 21, 15533, 3639, 13190, 93, 13140, 18, 4500, 15151, 12, 4236, 18, 588, 1868, 9334, 394, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 775, 288, 10792, 3301, 18, 10086, 2175, 12, 5345, 16, 14015, 2421, 22144, 13, 8201, 5370, 18, 588, 2421, 22144, 1435, 2934, 291, 11715, 1435, 692, 394, 4112, 5491, 7187, 1435, 294, 9832, 6452, 7187, 10663, 10792, 819, 18, 2681, 12, 5743, 16, 629, 16, 14685, 1769, 7734, 289, 1044, 261, 9267, 14950, 425, 13, 288, 10792, 1520, 63, 20, 65, 273, 425, 31, 7734, 289, 1044, 261, 24485, 503, 425, 13, 288, 10792, 17271, 63, 20, 65, 273, 425, 31, 7734, 289, 1044, 261, 2988, 23163, 503, 425, 13, 288, 10792, 17271, 63, 20, 65, 273, 394, 7558, 12, 73, 18, 24906, 10663, 7734, 289, 3095, 288, 10792, 3301, 18, 409, 2175, 12, 5345, 1769, 7734, 289, 5411, 289, 5411, 1783, 2398, 380, 968, 279, 4007, 6438, 716, 24578, 358, 392, 2398, 380, 871, 2798, 6438, 18, 1439, 468, 542, 23722, 1435, 2398, 380, 1427, 716, 732, 3712, 1696, 326, 14547, 6176, 18, 2398, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 382, 5370, 12, 6385, 467, 20013, 1042, 819, 16, 5411, 727, 467, 20013, 1190, 5491, 14685, 16, 727, 4437, 13252, 2175, 1720, 13, 5411, 1216, 15342, 16, 7558, 288, 3639, 727, 467, 2278, 1318, 3301, 273, 11810, 18, 588, 2278, 1318, 5621, 3639, 727, 15342, 8526, 1520, 273, 394, 15342, 63, 21, 15533, 3639, 727, 7558, 8526, 17271, 273, 394, 7558, 63, 21, 15533, 3639, 13190, 93, 13140, 18, 4500, 15151, 12, 4236, 18, 588, 1868, 9334, 394, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 775, 288, 10792, 3301, 18, 10086, 2175, 12, 5345, 16, 14015, 2421, 22144, 13, 8201, 5370, 18, 588, 2421, 22144, 1435, 2934, 291, 11715, 1435, 692, 394, 2 ]
"#comment\n" + "dn: cn=app1,ou=applications,ou=conf,dc=apache,dc=org\n" + "cn:: RW1tYW51ZWwg\n" +
"#comment\n" + "dn: cn=app1,ou=applications,ou=conf,dc=apache,dc=org\n" + "cn:: RW1tYW51ZWwg\n" +
public void testLdifParserBase64MultiLine() throws NamingException, UnsupportedEncodingException { String ldif = "#comment\n" + "dn: cn=app1,ou=applications,ou=conf,dc=apache,dc=org\n" + "cn:: RW1tYW51ZWwg\n" + " TMOpY2hhcm55ICA=\n" + "objectClass: top\n" + "objectClass: apApplication\n" + "displayName: app1\n" + "serviceType: http\n" + "dependencies:\n" + "httpHeaders:\n" + "startupOptions:\n" + "envVars:"; LdifReader reader = new LdifReader(); List entries = reader.parseLdif( ldif ); assertNotNull( entries ); Entry entry = (Entry)entries.get(0); assertTrue( entry.isChangeAdd() ); assertEquals( "cn=app1,ou=applications,ou=conf,dc=apache,dc=org", entry.getDn() ); Attribute attr = entry.get( "cn" ); assertTrue( attr.contains( "Emmanuel Lécharny ".getBytes( "UTF-8" ) ) ); attr = entry.get( "objectclass" ); assertTrue( attr.contains( "top" ) ); assertTrue( attr.contains( "apApplication" ) ); attr = entry.get( "displayname" ); assertTrue( attr.contains( "app1" ) ); attr = entry.get( "dependencies" ); assertNull( attr.get() ); attr = entry.get( "envvars" ); assertNull( attr.get() ); }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/0f6df9849de10807595e87e279b521f2470ac7a2/LdifReaderTest.java/clean/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 48, 11593, 2678, 2171, 1105, 5002, 1670, 1435, 1216, 26890, 16, 15367, 565, 288, 3639, 514, 328, 11593, 273, 1850, 202, 6, 7, 3469, 64, 82, 6, 397, 1850, 202, 6, 5176, 30, 6227, 33, 2910, 21, 16, 1395, 33, 3685, 87, 16, 1395, 33, 3923, 16, 7201, 33, 19211, 16, 7201, 33, 3341, 64, 82, 6, 397, 5411, 315, 10305, 2866, 25920, 21, 88, 61, 59, 10593, 62, 59, 18197, 64, 82, 6, 397, 5411, 315, 27435, 3817, 61, 22, 21622, 7670, 2539, 2871, 37, 18206, 82, 6, 397, 2398, 315, 1612, 797, 30, 1760, 64, 82, 6, 397, 2398, 315, 1612, 797, 30, 513, 3208, 64, 82, 6, 397, 5411, 315, 5417, 461, 30, 595, 21, 64, 82, 6, 397, 2398, 315, 3278, 559, 30, 1062, 64, 82, 6, 397, 2398, 315, 11037, 5581, 82, 6, 397, 2398, 315, 2505, 3121, 5581, 82, 6, 397, 5411, 315, 23939, 1320, 5581, 82, 6, 397, 2398, 315, 3074, 5555, 2773, 31, 7734, 511, 11593, 2514, 2949, 273, 394, 511, 11593, 2514, 5621, 3639, 987, 3222, 273, 2949, 18, 2670, 48, 11593, 12, 328, 11593, 11272, 3639, 25395, 12, 3222, 11272, 7734, 3841, 1241, 273, 261, 1622, 13, 8219, 18, 588, 12, 20, 1769, 3639, 1815, 5510, 12, 1241, 18, 291, 3043, 986, 1435, 11272, 540, 202, 3639, 1815, 8867, 12, 315, 10305, 33, 2910, 21, 16, 1395, 33, 3685, 87, 16, 1395, 33, 3923, 16, 7201, 33, 19211, 16, 7201, 33, 3341, 3113, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 48, 11593, 2678, 2171, 1105, 5002, 1670, 1435, 1216, 26890, 16, 15367, 565, 288, 3639, 514, 328, 11593, 273, 1850, 202, 6, 7, 3469, 64, 82, 6, 397, 1850, 202, 6, 5176, 30, 6227, 33, 2910, 21, 16, 1395, 33, 3685, 87, 16, 1395, 33, 3923, 16, 7201, 33, 19211, 16, 7201, 33, 3341, 64, 82, 6, 397, 5411, 315, 10305, 2866, 25920, 21, 88, 61, 59, 10593, 62, 59, 18197, 64, 82, 6, 397, 5411, 315, 27435, 3817, 61, 22, 21622, 7670, 2539, 2871, 37, 18206, 82, 6, 397, 2398, 315, 1612, 797, 30, 1760, 64, 82, 6, 397, 2398, 315, 1612, 797, 30, 513, 3208, 64, 82, 6, 397, 5411, 315, 5417, 461, 2 ]
return ((tcode == LONG) ||(tcode == DOUBLE));
switch (tcode) { case LONG: case DOUBLE: return true; case WORD: return VM.BuildFor64Addr; default: return false; }
final static boolean isLBitsType(int tcode) { return ((tcode == LONG) ||(tcode == DOUBLE)); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/0e298f1bb91aca7821f6d7709c3bdfc43efae59b/OSR_VariableElement.java/clean/rvm/src/vm/adaptive/onStackReplacement/executionState/OSR_VariableElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 760, 1250, 28601, 6495, 559, 12, 474, 268, 710, 13, 288, 565, 1620, 261, 88, 710, 13, 288, 648, 14011, 30, 648, 14918, 30, 327, 638, 31, 648, 21464, 30, 327, 8251, 18, 3116, 1290, 1105, 3178, 31, 805, 30, 327, 629, 31, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 727, 760, 1250, 28601, 6495, 559, 12, 474, 268, 710, 13, 288, 565, 1620, 261, 88, 710, 13, 288, 648, 14011, 30, 648, 14918, 30, 327, 638, 31, 648, 21464, 30, 327, 8251, 18, 3116, 1290, 1105, 3178, 31, 805, 30, 327, 629, 31, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (objectClass == null)
if (objectClass == null) {
private final void readObjectContributions( final IConfigurationElement[] configurationElements, final int configurationElementCount) { final List warningsToLog = new ArrayList(1); for (int i = 0; i < configurationElementCount; i++) { final IConfigurationElement element = configurationElements[i]; // Read the object contribution identifier. final String id = readRequired(element, ATT_ID, warningsToLog, "Object contributions need an id"); //$NON-NLS-1$ if (id == null) continue; // Read the object class. This influences the visibility. final String objectClass = readRequired(element, ATT_OBJECTCLASS, warningsToLog, "Object contributions need an object class", id); //$NON-NLS-1$ if (objectClass == null) continue; // TODO Read the name filter. This influences the visibility. // final String nameFilter = readOptional(element, // ATT_NAME_FILTER); // TODO Read the object class. This influences the visibility. // final boolean adaptable = readBoolean(element, // ATT_ADAPTABLE, // false); // TODO Read the filter elements. // TODO Read the enablement elements. // TODO Figure out an appropriate visibility expression. // Read the visibility element, if any. final Expression visibleWhenExpression = readVisibility(element, id, warningsToLog); // Read all of the child elements from the registry. readActionsAndMenus(element, id, warningsToLog, visibleWhenExpression, null); } logWarnings( warningsToLog, "Warnings while parsing the object contributions from the 'org.eclipse.ui.popupMenus' extension point"); //$NON-NLS-1$ }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/LegacyActionHandlerPersistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/LegacyActionHandlerPersistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 918, 17362, 442, 15326, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 13, 288, 202, 202, 6385, 987, 5599, 774, 1343, 273, 394, 2407, 12, 21, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1664, 1046, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 467, 1750, 1046, 930, 273, 1664, 3471, 63, 77, 15533, 1082, 202, 759, 2720, 326, 733, 24880, 2756, 18, 1082, 202, 6385, 514, 612, 273, 855, 3705, 12, 2956, 16, 7907, 67, 734, 16, 5599, 774, 1343, 16, 6862, 202, 6, 921, 13608, 6170, 1608, 392, 612, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 261, 350, 422, 446, 13, 9506, 202, 17143, 31, 1082, 202, 759, 2720, 326, 733, 667, 18, 1220, 13947, 89, 2369, 326, 9478, 18, 1082, 202, 6385, 514, 23992, 273, 855, 3705, 12, 2956, 16, 7907, 67, 9422, 5237, 16, 6862, 202, 12103, 774, 1343, 16, 6862, 202, 6, 921, 13608, 6170, 1608, 392, 733, 667, 3113, 612, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 261, 1612, 797, 422, 446, 13, 9506, 202, 17143, 31, 1082, 202, 759, 2660, 2720, 326, 508, 1034, 18, 1220, 13947, 89, 2369, 326, 9478, 18, 1082, 202, 759, 727, 514, 508, 1586, 273, 855, 6542, 12, 2956, 16, 1082, 202, 759, 7907, 67, 1985, 67, 11126, 1769, 1082, 202, 759, 2660, 2720, 326, 733, 667, 18, 1220, 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, 727, 918, 17362, 442, 15326, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 13, 288, 202, 202, 6385, 987, 5599, 774, 1343, 273, 394, 2407, 12, 21, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1664, 1046, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 467, 1750, 1046, 930, 273, 1664, 3471, 63, 77, 15533, 1082, 202, 759, 2720, 326, 733, 24880, 2756, 18, 1082, 202, 6385, 514, 612, 273, 855, 3705, 12, 2956, 16, 7907, 67, 734, 16, 5599, 774, 1343, 16, 6862, 202, 6, 921, 13608, 6170, 1608, 392, 612, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2 ]
protected void loadConditions() {
protected void loadConditions() {
protected void loadConditions() { try { InputStream input = this.getResource(CONDITIONS_SPECRESOURCENAME); if (input == null) { // there seem to be no conditions return; } StdXMLParser parser = new StdXMLParser(); parser.setBuilder(new StdXMLBuilder()); parser.setValidator(new NonValidator()); parser.setReader(new StdXMLReader(input)); // get the data XMLElement conditionsxml = (XMLElement) parser.parse(); this.rules = new RulesEngine(conditionsxml, installdata); } catch (Exception e) { Debug.log(e.getMessage()); e.printStackTrace(); } }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/bbb22dc9cbe26e32540414e5f1a113931118b944/InstallerFrame.java/buggy/src/lib/com/izforge/izpack/installer/InstallerFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1262, 8545, 1435, 288, 3639, 775, 288, 5411, 5037, 810, 273, 333, 18, 588, 1420, 12, 22017, 55, 67, 23810, 5458, 3584, 1099, 39, 21150, 1769, 5411, 309, 261, 2630, 422, 446, 13, 288, 7734, 368, 1915, 19264, 358, 506, 1158, 4636, 7734, 327, 31, 5411, 289, 5411, 6276, 4201, 2678, 2082, 273, 394, 6276, 4201, 2678, 5621, 5411, 2082, 18, 542, 1263, 12, 2704, 6276, 4201, 1263, 10663, 5411, 2082, 18, 542, 5126, 12, 2704, 3858, 5126, 10663, 5411, 2082, 18, 542, 2514, 12, 2704, 6276, 4201, 2514, 12, 2630, 10019, 5411, 368, 336, 326, 501, 5411, 1139, 11155, 4636, 2902, 273, 261, 15223, 13, 2082, 18, 2670, 5621, 5411, 333, 18, 7482, 273, 394, 15718, 4410, 12, 6381, 2902, 16, 3799, 892, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 4015, 18, 1330, 12, 73, 18, 24906, 10663, 5411, 425, 18, 1188, 6332, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1262, 8545, 1435, 288, 3639, 775, 288, 5411, 5037, 810, 273, 333, 18, 588, 1420, 12, 22017, 55, 67, 23810, 5458, 3584, 1099, 39, 21150, 1769, 5411, 309, 261, 2630, 422, 446, 13, 288, 7734, 368, 1915, 19264, 358, 506, 1158, 4636, 7734, 327, 31, 5411, 289, 5411, 6276, 4201, 2678, 2082, 273, 394, 6276, 4201, 2678, 5621, 5411, 2082, 18, 542, 1263, 12, 2704, 6276, 4201, 1263, 10663, 5411, 2082, 18, 542, 5126, 12, 2704, 3858, 5126, 10663, 5411, 2082, 18, 542, 2514, 12, 2704, 6276, 4201, 2514, 12, 2630, 10019, 5411, 368, 336, 326, 501, 5411, 1139, 11155, 4636, 2902, 273, 261, 15223, 13, 2082, 18, 2670, 5621, 5411, 333, 18, 7482, 273, 394, 2 ]
private void scanDir( File dir ) { // first get all of the cars in this directory File[] cars = dir.listFiles( carFilter ); if ( cars != null && cars.length != 0 ) for( int i=0; i<cars.length; i++ ) loadCarEntries( cars[i] ); // now get all of the sub-directories to be scanned File[] dirs = dir.listFiles( dirFilter ); if ( dirs != null && dirs.length != 0 ) for( int i=0; i<dirs.length; i++ ) scanDir( dirs[i] ); }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/848c89bee6057ceb5a835b528ef0941a2c98b9d3/CarResources.java/buggy/source/org/jasig/portal/car/CarResources.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4135, 1621, 12, 1387, 1577, 262, 565, 288, 7734, 368, 1122, 336, 777, 434, 326, 276, 5913, 316, 333, 1867, 3639, 1387, 8526, 276, 5913, 273, 1577, 18, 1098, 2697, 12, 5926, 1586, 11272, 7734, 309, 261, 276, 5913, 480, 446, 597, 276, 5913, 18, 2469, 480, 374, 262, 5411, 364, 12, 509, 277, 33, 20, 31, 277, 32, 71, 5913, 18, 2469, 31, 277, 9904, 262, 7734, 1262, 16321, 5400, 12, 276, 5913, 63, 77, 65, 11272, 3639, 368, 2037, 336, 777, 434, 326, 720, 17, 15121, 358, 506, 22711, 3639, 1387, 8526, 7717, 273, 1577, 18, 1098, 2697, 12, 1577, 1586, 11272, 7734, 309, 261, 7717, 480, 446, 597, 7717, 18, 2469, 480, 374, 262, 5411, 364, 12, 509, 277, 33, 20, 31, 277, 32, 8291, 18, 2469, 31, 277, 9904, 262, 7734, 4135, 1621, 12, 7717, 63, 77, 65, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4135, 1621, 12, 1387, 1577, 262, 565, 288, 7734, 368, 1122, 336, 777, 434, 326, 276, 5913, 316, 333, 1867, 3639, 1387, 8526, 276, 5913, 273, 1577, 18, 1098, 2697, 12, 5926, 1586, 11272, 7734, 309, 261, 276, 5913, 480, 446, 597, 276, 5913, 18, 2469, 480, 374, 262, 5411, 364, 12, 509, 277, 33, 20, 31, 277, 32, 71, 5913, 18, 2469, 31, 277, 9904, 262, 7734, 1262, 16321, 5400, 12, 276, 5913, 63, 77, 65, 11272, 3639, 368, 2037, 336, 777, 434, 326, 720, 17, 15121, 358, 506, 22711, 3639, 1387, 8526, 7717, 273, 1577, 18, 1098, 2697, 12, 1577, 1586, 11272, 7734, 309, 261, 7717, 480, 446, 597, 7717, 18, 2469, 480, 374, 2 ]
VM.sysFail("Out of Memory - inconsistent with memory resource or vm range too small?");
VM.sysFail("Out of Memory after multiple retries");
public VM_Address allocSlow (boolean isScalar, int bytes) throws VM_PragmaNoInline { Allocator current = this; for (int i=0; i<MAX_RETRY; i++) { VM_Address result = current.allocSlowOnce(isScalar, bytes); if (!result.isZero()) return result; current = BasePlan.getOwnAllocator(current); } VM.sysFail("Out of Memory - inconsistent with memory resource or vm range too small?"); return VM_Address.zero(); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/63234ef7be0d6743ae42b704e42c0612c64cac97/Allocator.java/clean/MMTk/src/org/mmtk/utility/alloc/Allocator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8251, 67, 1887, 4767, 28733, 261, 6494, 11604, 3473, 16, 509, 1731, 13, 1216, 8251, 67, 2050, 9454, 2279, 10870, 288, 377, 12830, 639, 783, 273, 333, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 6694, 67, 24240, 31, 277, 27245, 288, 1377, 8251, 67, 1887, 563, 273, 783, 18, 9853, 28733, 12212, 12, 291, 13639, 16, 1731, 1769, 1377, 309, 16051, 2088, 18, 291, 7170, 10756, 202, 2463, 563, 31, 1377, 783, 273, 3360, 5365, 18, 588, 5460, 21156, 12, 2972, 1769, 565, 289, 565, 8251, 18, 9499, 3754, 2932, 1182, 434, 9251, 1839, 3229, 9453, 8863, 565, 327, 8251, 67, 1887, 18, 7124, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8251, 67, 1887, 4767, 28733, 261, 6494, 11604, 3473, 16, 509, 1731, 13, 1216, 8251, 67, 2050, 9454, 2279, 10870, 288, 377, 12830, 639, 783, 273, 333, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 6694, 67, 24240, 31, 277, 27245, 288, 1377, 8251, 67, 1887, 563, 273, 783, 18, 9853, 28733, 12212, 12, 291, 13639, 16, 1731, 1769, 1377, 309, 16051, 2088, 18, 291, 7170, 10756, 202, 2463, 563, 31, 1377, 783, 273, 3360, 5365, 18, 588, 5460, 21156, 12, 2972, 1769, 565, 289, 565, 8251, 18, 9499, 3754, 2932, 1182, 434, 9251, 1839, 3229, 9453, 8863, 565, 327, 8251, 67, 1887, 18, 7124, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100 ]
if(type == null) { return; } final String text = type.getCanonicalText(); if("double".equals(text)|| "long".equals(text))
if(PsiType.LONG.equals(type) || PsiType.DOUBLE.equals(type))
public void visitField(PsiField field) { super.visitField(field); if(!field.hasModifierProperty(PsiModifier.VOLATILE) ) { return; } final PsiType type = field.getType(); if(type == null) { return; } final String text = type.getCanonicalText(); if("double".equals(text)|| "long".equals(text)) { registerFieldError(field); } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/759e68fd5c7d25c7883aaff1724a10a4906fc874/VolatileLongOrDoubleFieldInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/threading/VolatileLongOrDoubleFieldInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 974, 12, 52, 7722, 974, 652, 13, 288, 5411, 2240, 18, 11658, 974, 12, 1518, 1769, 5411, 309, 12, 5, 1518, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 29439, 13, 565, 262, 5411, 288, 1171, 327, 31, 5411, 289, 5411, 727, 453, 7722, 559, 618, 273, 652, 18, 588, 559, 5621, 5411, 309, 12, 723, 422, 446, 13, 5411, 288, 7734, 327, 31, 5411, 289, 5411, 727, 514, 977, 273, 618, 18, 588, 15512, 1528, 5621, 5411, 309, 2932, 9056, 9654, 14963, 12, 955, 14047, 96, 315, 5748, 9654, 14963, 12, 955, 3719, 5411, 288, 7734, 1744, 974, 668, 12, 1518, 1769, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3757, 974, 12, 52, 7722, 974, 652, 13, 288, 5411, 2240, 18, 11658, 974, 12, 1518, 1769, 5411, 309, 12, 5, 1518, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 29439, 13, 565, 262, 5411, 288, 1171, 327, 31, 5411, 289, 5411, 727, 453, 7722, 559, 618, 273, 652, 18, 588, 559, 5621, 5411, 309, 12, 723, 422, 446, 13, 5411, 288, 7734, 327, 31, 5411, 289, 5411, 727, 514, 977, 273, 618, 18, 588, 15512, 1528, 5621, 5411, 309, 2932, 9056, 9654, 14963, 12, 955, 14047, 96, 315, 5748, 9654, 14963, 12, 955, 3719, 5411, 288, 7734, 1744, 974, 668, 12, 1518, 1769, 5411, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100 ]
public static PollStatus getPollStatus(int status, String reason) { String statusName = null; switch(status) {
public static PollStatus getPollStatus(int status) { switch (status) {
public static PollStatus getPollStatus(int status, String reason) { String statusName = null; switch(status) { case ServiceMonitor.SERVICE_AVAILABLE: statusName = "Up"; break; case ServiceMonitor.SERVICE_UNRESPONSIVE: statusName = "Unresponsive"; break; case ServiceMonitor.SERVICE_UNAVAILABLE: default: statusName = "Down"; } return new PollStatus(status, statusName, reason); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/9f00d0fd211a932f951f4e96e4155efd693a80e2/PollStatus.java/buggy/src/services/org/opennms/netmgt/poller/pollables/PollStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19160, 1482, 1689, 22382, 1482, 12, 474, 1267, 16, 514, 3971, 13, 288, 3639, 514, 1267, 461, 273, 446, 31, 7734, 1620, 12, 2327, 13, 288, 3639, 648, 1956, 7187, 18, 12426, 67, 23222, 30, 5411, 1267, 461, 273, 315, 1211, 14432, 5411, 898, 31, 3639, 648, 1956, 7187, 18, 12426, 67, 2124, 862, 10789, 24870, 30, 5411, 1267, 461, 273, 315, 984, 455, 24727, 14432, 5411, 898, 31, 3639, 648, 1956, 7187, 18, 12426, 67, 2124, 23222, 30, 3639, 805, 30, 5411, 1267, 461, 273, 315, 4164, 14432, 3639, 289, 3639, 327, 394, 19160, 1482, 12, 2327, 16, 1267, 461, 16, 3971, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19160, 1482, 1689, 22382, 1482, 12, 474, 1267, 16, 514, 3971, 13, 288, 3639, 514, 1267, 461, 273, 446, 31, 7734, 1620, 12, 2327, 13, 288, 3639, 648, 1956, 7187, 18, 12426, 67, 23222, 30, 5411, 1267, 461, 273, 315, 1211, 14432, 5411, 898, 31, 3639, 648, 1956, 7187, 18, 12426, 67, 2124, 862, 10789, 24870, 30, 5411, 1267, 461, 273, 315, 984, 455, 24727, 14432, 5411, 898, 31, 3639, 648, 1956, 7187, 18, 12426, 67, 2124, 23222, 30, 3639, 805, 30, 5411, 1267, 461, 273, 315, 4164, 14432, 3639, 289, 3639, 327, 394, 19160, 1482, 12, 2327, 16, 1267, 461, 16, 3971, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void up(Event evt) { Message msg; FdHeader hdr=null; Object tmphdr; switch(evt.getType()) { case Event.SET_LOCAL_ADDRESS: local_addr=(Address) evt.getArg(); break; case Event.MSG: msg=(Message) evt.getArg(); tmphdr=msg.getHeader(getName()); if(tmphdr == null || !(tmphdr instanceof FdHeader)) break; // message did not originate from FD_SOCK layer, just pass up hdr=(FdHeader) msg.removeHeader(getName()); switch(hdr.type) { case FdHeader.SUSPECT: if(hdr.mbrs != null) { if(log.isInfoEnabled()) log.info("[SUSPECT] hdr=" + hdr); for(int i=0; i < hdr.mbrs.size(); i++) { passUp(new Event(Event.SUSPECT, hdr.mbrs.elementAt(i))); passDown(new Event(Event.SUSPECT, hdr.mbrs.elementAt(i))); } } else if(log.isWarnEnabled()) log.warn("[SUSPECT]: hdr.mbrs == null"); break; // If I have the sock for 'hdr.mbr', return it. Otherwise look it up in my cache and return it case FdHeader.WHO_HAS_SOCK: if(local_addr != null && local_addr.equals(msg.getSrc())) return; // don't reply to WHO_HAS bcasts sent by me ! if(hdr.mbr == null) { if(log.isErrorEnabled()) log.error("hdr.mbr is null"); return; } if(log.isInfoEnabled()) log.info("who-has-sock " + hdr.mbr); // 1. Try my own address, maybe it's me whose socket is wanted if(local_addr != null && local_addr.equals(hdr.mbr) && srv_sock_addr != null) { sendIHaveSockMessage(msg.getSrc(), local_addr, srv_sock_addr); // unicast message to msg.getSrc() return; } // 2. If I don't have it, maybe it is in the cache if(cache.containsKey(hdr.mbr)) sendIHaveSockMessage(msg.getSrc(), hdr.mbr, (IpAddress) cache.get(hdr.mbr)); // ucast msg break; // Update the cache with the addr:sock_addr entry (if on the same host) case FdHeader.I_HAVE_SOCK: if(hdr.mbr == null || hdr.sock_addr == null) { if(log.isErrorEnabled()) log.error("[I_HAVE_SOCK]: hdr.mbr is null or hdr.sock_addr == null"); return; } // if(!cache.containsKey(hdr.mbr)) cache.put(hdr.mbr, hdr.sock_addr); // update the cache if(log.isInfoEnabled()) log.info("i-have-sock: " + hdr.mbr + " --> " + hdr.sock_addr + " (cache is " + cache + ")"); if(ping_dest != null && hdr.mbr.equals(ping_dest)) ping_addr_promise.setResult(hdr.sock_addr); break; // Return the cache to the sender of this message case FdHeader.GET_CACHE: if(hdr.mbr == null) { if(log.isErrorEnabled()) log.error("(GET_CACHE): hdr.mbr == null"); return; } hdr=new FdHeader(FdHeader.GET_CACHE_RSP); hdr.cache=(Hashtable) cache.clone(); msg=new Message(hdr.mbr, null, null); msg.putHeader(getName(), hdr); passDown(new Event(Event.MSG, msg)); break; case FdHeader.GET_CACHE_RSP: if(hdr.cache == null) { if(log.isErrorEnabled()) log.error("(GET_CACHE_RSP): cache is null"); return; } get_cache_promise.setResult(hdr.cache); break; } return; } passUp(evt); // pass up to the layer above us }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/f4d48c5d12530ffb09ab46034b71d9594b0f1287/FD_SOCK.java/buggy/src/org/jgroups/protocols/FD_SOCK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 416, 12, 1133, 73, 11734, 15329, 49, 403, 346, 351, 1055, 31, 27263, 1864, 16587, 33, 2011, 31, 921, 16925, 844, 3069, 31, 9610, 12, 73, 11734, 18, 588, 559, 10756, 95, 3593, 1133, 18, 4043, 67, 14922, 67, 15140, 30, 3729, 67, 4793, 28657, 1887, 13, 73, 11734, 18, 588, 4117, 5621, 8820, 31, 3593, 1133, 18, 11210, 30, 3576, 28657, 1079, 13, 73, 11734, 18, 588, 4117, 5621, 16925, 844, 3069, 33, 3576, 18, 588, 1864, 12, 17994, 10663, 430, 12, 16925, 844, 3069, 631, 2011, 20081, 5, 12, 16925, 844, 3069, 1336, 792, 27263, 1864, 3719, 8820, 31, 759, 81, 403, 11349, 350, 902, 4949, 3322, 2080, 16894, 67, 3584, 3507, 6363, 16, 3732, 5466, 416, 16587, 28657, 27263, 1864, 13, 3576, 18, 4479, 1864, 12, 17994, 10663, 9610, 12, 16587, 18, 723, 15329, 3593, 27263, 1864, 18, 55, 3378, 1423, 1268, 30, 430, 12, 16587, 18, 1627, 5453, 5, 33, 2011, 15329, 430, 12, 1330, 18, 291, 966, 1526, 10756, 1330, 18, 1376, 2932, 63, 55, 3378, 1423, 1268, 65, 16587, 1546, 15, 16587, 1769, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 16587, 18, 1627, 5453, 18, 1467, 5621, 77, 27245, 95, 5466, 1211, 12, 2704, 1133, 12, 1133, 18, 55, 3378, 1423, 1268, 16, 16587, 18, 1627, 5453, 18, 2956, 861, 12, 77, 3719, 1769, 5466, 4164, 12, 2704, 1133, 12, 1133, 18, 55, 3378, 1423, 1268, 16, 16587, 18, 1627, 5453, 18, 2956, 861, 12, 77, 3719, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 416, 12, 1133, 73, 11734, 15329, 49, 403, 346, 351, 1055, 31, 27263, 1864, 16587, 33, 2011, 31, 921, 16925, 844, 3069, 31, 9610, 12, 73, 11734, 18, 588, 559, 10756, 95, 3593, 1133, 18, 4043, 67, 14922, 67, 15140, 30, 3729, 67, 4793, 28657, 1887, 13, 73, 11734, 18, 588, 4117, 5621, 8820, 31, 3593, 1133, 18, 11210, 30, 3576, 28657, 1079, 13, 73, 11734, 18, 588, 4117, 5621, 16925, 844, 3069, 33, 3576, 18, 588, 1864, 12, 17994, 10663, 430, 12, 16925, 844, 3069, 631, 2011, 20081, 5, 12, 16925, 844, 3069, 1336, 792, 27263, 1864, 3719, 8820, 31, 759, 81, 403, 11349, 350, 902, 4949, 3322, 2080, 16894, 67, 3584, 3507, 6363, 16, 3732, 2 ]
private void startInVMDatabase() throws Exception { HsqlProperties props = new HsqlProperties(); props.setProperty("server.database.0", "mem:test"); props.setProperty("server.dbname.0", "memtest"); props.setProperty("server.trace", "false"); props.setProperty("server.silent", "true"); props.setProperty("server.no_system_exit", "true"); props.setProperty("server.port", 27862); props.setProperty("server.address", ipAddressOrHostName); hsqldbServer = new Server(); hsqldbServer.setLogWriter(null); hsqldbServer.setProperties(props); hsqldbServer.start(); log.debug("started the database"); }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/68376d3c178f790153862cd4af2aab428c3f4a07/ServiceContainer.java/clean/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 1937, 382, 7397, 4254, 1435, 15069, 503, 95, 44, 4669, 2297, 9693, 33, 2704, 44, 4669, 2297, 5621, 9693, 18, 542, 1396, 2932, 3567, 18, 6231, 18, 20, 15937, 3917, 30, 3813, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 20979, 18, 20, 15937, 3917, 3813, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 5129, 15937, 5743, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 21862, 15937, 3767, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 2135, 67, 4299, 67, 8593, 15937, 3767, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 655, 3113, 5324, 5292, 22, 1769, 9693, 18, 542, 1396, 2932, 3567, 18, 2867, 3113, 625, 1887, 1162, 20946, 1769, 4487, 1217, 1966, 2081, 33, 2704, 2081, 5621, 4487, 1217, 1966, 2081, 18, 542, 1343, 2289, 12, 2011, 1769, 4487, 1217, 1966, 2081, 18, 542, 2297, 12, 9693, 1769, 4487, 1217, 1966, 2081, 18, 1937, 5621, 1330, 18, 4148, 2932, 14561, 451, 329, 2451, 8863, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 1937, 382, 7397, 4254, 1435, 15069, 503, 95, 44, 4669, 2297, 9693, 33, 2704, 44, 4669, 2297, 5621, 9693, 18, 542, 1396, 2932, 3567, 18, 6231, 18, 20, 15937, 3917, 30, 3813, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 20979, 18, 20, 15937, 3917, 3813, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 5129, 15937, 5743, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 21862, 15937, 3767, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 2135, 67, 4299, 67, 8593, 15937, 3767, 8863, 9693, 18, 542, 1396, 2932, 3567, 18, 655, 3113, 5324, 5292, 22, 1769, 9693, 18, 542, 1396, 2932, 3567, 18, 2867, 3113, 625, 1887, 1162, 20946, 1769, 4487, 1217, 1966, 2081, 33, 2704, 2 ]
assertTrue(filterName + " is not enabled ", filter.isEnabled());
assertTrue(filterName + " is enabled ", !filter.isEnabled());
public void testSelectedWarning() { String filterName = PROBLEM_TEST_ON_SELECTED_WARNING; ProblemFilter filter = getFilter(filterName); assertTrue(filterName + " not found ", filter != null); assertTrue(filterName + " is not enabled ", filter.isEnabled()); assertTrue(filterName + "not selecting by severity", filter .getSelectBySeverity()); assertTrue(filterName + "should be on warning", filter.getSeverity() == ProblemFilter.SEVERITY_WARNING); assertTrue(filterName + "should be on selected only", filter .getOnResource() == MarkerFilter.ON_SELECTED_ONLY); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/eb26717fef15eeb8f95ca425de4e43b17d35d295/DeclarativeFilterDeclarationTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/markers/DeclarativeFilterDeclarationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7416, 6210, 1435, 288, 202, 202, 780, 25469, 273, 4629, 38, 26817, 67, 16961, 67, 673, 67, 4803, 2056, 67, 9511, 31, 202, 202, 13719, 1586, 1034, 273, 12267, 12, 2188, 461, 1769, 202, 202, 11231, 5510, 12, 2188, 461, 397, 315, 486, 1392, 3104, 1034, 480, 446, 1769, 202, 202, 11231, 5510, 12, 2188, 461, 397, 315, 353, 486, 3696, 3104, 1034, 18, 291, 1526, 10663, 202, 202, 11231, 5510, 12, 2188, 461, 397, 315, 902, 24674, 635, 11426, 3113, 1034, 9506, 202, 18, 588, 3391, 858, 21630, 10663, 202, 202, 11231, 5510, 12, 2188, 461, 397, 315, 13139, 506, 603, 3436, 3113, 9506, 202, 2188, 18, 588, 21630, 1435, 422, 21685, 1586, 18, 1090, 2204, 4107, 67, 9511, 1769, 202, 202, 11231, 5510, 12, 2188, 461, 397, 315, 13139, 506, 603, 3170, 1338, 3113, 1034, 9506, 202, 18, 588, 1398, 1420, 1435, 422, 14742, 1586, 18, 673, 67, 4803, 2056, 67, 10857, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 918, 1842, 7416, 6210, 1435, 288, 202, 202, 780, 25469, 273, 4629, 38, 26817, 67, 16961, 67, 673, 67, 4803, 2056, 67, 9511, 31, 202, 202, 13719, 1586, 1034, 273, 12267, 12, 2188, 461, 1769, 202, 202, 11231, 5510, 12, 2188, 461, 397, 315, 486, 1392, 3104, 1034, 480, 446, 1769, 202, 202, 11231, 5510, 12, 2188, 461, 397, 315, 353, 486, 3696, 3104, 1034, 18, 291, 1526, 10663, 202, 202, 11231, 5510, 12, 2188, 461, 397, 315, 902, 24674, 635, 11426, 3113, 1034, 9506, 202, 18, 588, 3391, 858, 21630, 10663, 202, 202, 11231, 5510, 12, 2188, 461, 397, 315, 13139, 506, 603, 3436, 3113, 9506, 202, 2188, 18, 588, 21630, 1435, 422, 21685, 1586, 2 ]
int type = BSR_ASSIGN; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match(">>>=");
try { int type = BSR_ASSIGN; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match(">>>=");
public void mBSR_ASSIGN() throws RecognitionException { int type = BSR_ASSIGN; 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:118:14: ( '>>>=' ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:118:14: '>>>=' { match(">>>="); } 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, 38, 10090, 67, 23289, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 605, 10090, 67, 23289, 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, 25652, 30, 3461, 30, 261, 296, 23012, 2218, 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, 25652, 30, 3461, 30, 296, 23012, 2218, 3639, 288, 3639, 845, 2932, 23012, 1546, 1769, 3639, 289, 3639, 309, 261, 1147, 631, 2011, 262, 288, 18356, 12, 723, 16, 1369, 16, 3001, 2555, 16, 4327, 16, 1937, 16, 588, 2156, 1016, 1435, 17, 21, 1769, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 38, 10090, 67, 23289, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 605, 10090, 67, 23289, 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, 25652, 30, 3461, 30, 261, 296, 23012, 2218, 262, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 2 ]
throw new OntologyException("No class able to play " + roleName + " role.");
throw new OntologyException("No class able to play " + roleName + " role.Check the definition of the ontology.");
public Frame createFrame(Object o, String roleName) throws OntologyException { RoleFactory rf = lookupFactory(roleName); if(rf == null) throw new OntologyException("No class able to play " + roleName + " role."); Class theConceptClass = rf.getClassForRole(); if(!theConceptClass.isInstance(o)) throw new OntologyException("The object <" + o + "> is not an instance of " + theConceptClass.getName() + " class."); FrameSchema fs = lookupSchema(roleName); if(fs == null) throw new OntologyException("Internal error: inconsistency between schema and class table"); if(!fs.isConcept() && !fs.isAction() && !fs.isPredicate()) throw new OntologyException("The role " + roleName + " is not a concept, action or predicate in this ontology."); Frame f = new Frame(roleName); buildFromObject(f, fs, o, theConceptClass); return f; }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/f875710f3965c27d64481d0d9770be704fa96563/DefaultOntology.java/buggy/src/jade/onto/DefaultOntology.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8058, 752, 3219, 12, 921, 320, 16, 514, 19746, 13, 1216, 29683, 503, 288, 565, 6204, 1733, 9075, 273, 3689, 1733, 12, 4615, 461, 1769, 565, 309, 12, 5809, 422, 446, 13, 1377, 604, 394, 29683, 503, 2932, 2279, 667, 7752, 358, 6599, 315, 397, 19746, 397, 315, 2478, 18, 1564, 326, 2379, 434, 326, 21598, 1199, 1769, 565, 1659, 326, 15433, 797, 273, 9075, 18, 588, 797, 1290, 2996, 5621, 565, 309, 12, 5, 5787, 15433, 797, 18, 291, 1442, 12, 83, 3719, 1377, 604, 394, 29683, 503, 2932, 1986, 733, 411, 6, 397, 320, 397, 14402, 353, 486, 392, 791, 434, 315, 397, 326, 15433, 797, 18, 17994, 1435, 397, 315, 667, 1199, 1769, 565, 8058, 3078, 2662, 273, 3689, 3078, 12, 4615, 461, 1769, 565, 309, 12, 2556, 422, 446, 13, 1377, 604, 394, 29683, 503, 2932, 3061, 555, 30, 316, 28725, 3086, 1963, 471, 667, 1014, 8863, 565, 309, 12, 5, 2556, 18, 291, 15433, 1435, 597, 401, 2556, 18, 291, 1803, 1435, 597, 401, 2556, 18, 291, 8634, 10756, 1377, 604, 394, 29683, 503, 2932, 1986, 2478, 315, 397, 19746, 397, 315, 353, 486, 279, 12402, 16, 1301, 578, 5641, 316, 333, 21598, 1199, 1769, 565, 8058, 284, 273, 394, 8058, 12, 4615, 461, 1769, 565, 1361, 29484, 12, 74, 16, 2662, 16, 320, 16, 326, 15433, 797, 1769, 565, 327, 284, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8058, 752, 3219, 12, 921, 320, 16, 514, 19746, 13, 1216, 29683, 503, 288, 565, 6204, 1733, 9075, 273, 3689, 1733, 12, 4615, 461, 1769, 565, 309, 12, 5809, 422, 446, 13, 1377, 604, 394, 29683, 503, 2932, 2279, 667, 7752, 358, 6599, 315, 397, 19746, 397, 315, 2478, 18, 1564, 326, 2379, 434, 326, 21598, 1199, 1769, 565, 1659, 326, 15433, 797, 273, 9075, 18, 588, 797, 1290, 2996, 5621, 565, 309, 12, 5, 5787, 15433, 797, 18, 291, 1442, 12, 83, 3719, 1377, 604, 394, 29683, 503, 2932, 1986, 733, 411, 6, 397, 320, 397, 14402, 353, 486, 392, 791, 434, 315, 397, 326, 15433, 797, 18, 17994, 1435, 397, 315, 667, 1199, 1769, 565, 2 ]
case IToken.t_switch:
case IToken.t_switch:
protected IASTStatement statement() throws EndOfFileException, BacktrackException { switch (LT(1)) { // labeled statements case IToken.t_case: return parseCaseStatement(); case IToken.t_default: return parseDefaultStatement(); // compound statement case IToken.tLBRACE: return parseCompoundStatement(); // selection statement case IToken.t_if: return parseIfStatement(); case IToken.t_switch: return parseSwitchStatement(); //iteration statements case IToken.t_while: return parseWhileStatement(); case IToken.t_do: return parseDoStatement(); case IToken.t_for: return parseForStatement(); //jump statement case IToken.t_break: return parseBreakStatement(); case IToken.t_continue: return parseContinueStatement(); case IToken.t_return: return parseReturnStatement(); case IToken.t_goto: return parseGotoStatement(); case IToken.tSEMI: return parseNullStatement(); case IToken.t_try: return parseTryStatement(); default: // can be many things: // label if (LT(1) == IToken.tIDENTIFIER && LT(2) == IToken.tCOLON) { return parseLabelStatement(); } return parseDeclarationOrExpressionStatement(); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/8b59056395eb6c26e898030e7e1cd1b78d4db999/GNUCPPSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 3406, 3021, 1435, 1216, 4403, 951, 812, 503, 16, 540, 4297, 4101, 503, 288, 1377, 1620, 261, 12050, 12, 21, 3719, 288, 540, 368, 23585, 6317, 540, 648, 467, 1345, 18, 88, 67, 3593, 30, 5411, 327, 1109, 2449, 3406, 5621, 540, 648, 467, 1345, 18, 88, 67, 1886, 30, 5411, 327, 1109, 1868, 3406, 5621, 540, 368, 11360, 3021, 540, 648, 467, 1345, 18, 88, 12995, 9254, 30, 5411, 327, 1109, 16835, 3406, 5621, 540, 368, 4421, 3021, 540, 648, 467, 1345, 18, 88, 67, 430, 30, 5411, 327, 1109, 2047, 3406, 5621, 540, 648, 467, 1345, 18, 88, 67, 9610, 30, 5411, 327, 1109, 10200, 3406, 5621, 540, 368, 16108, 6317, 540, 648, 467, 1345, 18, 88, 67, 17523, 30, 5411, 327, 1109, 15151, 3406, 5621, 540, 648, 467, 1345, 18, 88, 67, 2896, 30, 5411, 327, 1109, 3244, 3406, 5621, 540, 648, 467, 1345, 18, 88, 67, 1884, 30, 5411, 327, 1109, 1290, 3406, 5621, 540, 368, 24574, 3021, 540, 648, 467, 1345, 18, 88, 67, 8820, 30, 5411, 327, 1109, 7634, 3406, 5621, 540, 648, 467, 1345, 18, 88, 67, 17143, 30, 5411, 327, 1109, 12378, 3406, 5621, 540, 648, 467, 1345, 18, 88, 67, 2463, 30, 5411, 327, 1109, 990, 3406, 5621, 540, 648, 467, 1345, 18, 88, 67, 75, 6302, 30, 5411, 327, 1109, 43, 6302, 3406, 5621, 540, 648, 467, 1345, 18, 88, 1090, 7492, 30, 5411, 327, 1109, 2041, 3406, 5621, 540, 648, 467, 1345, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 3406, 3021, 1435, 1216, 4403, 951, 812, 503, 16, 540, 4297, 4101, 503, 288, 1377, 1620, 261, 12050, 12, 21, 3719, 288, 540, 368, 23585, 6317, 540, 648, 467, 1345, 18, 88, 67, 3593, 30, 5411, 327, 1109, 2449, 3406, 5621, 540, 648, 467, 1345, 18, 88, 67, 1886, 30, 5411, 327, 1109, 1868, 3406, 5621, 540, 368, 11360, 3021, 540, 648, 467, 1345, 18, 88, 12995, 9254, 30, 5411, 327, 1109, 16835, 3406, 5621, 540, 368, 4421, 3021, 540, 648, 467, 1345, 18, 88, 67, 430, 30, 5411, 327, 1109, 2047, 3406, 5621, 540, 648, 467, 1345, 18, 88, 67, 9610, 30, 5411, 327, 1109, 10200, 3406, 5621, 540, 368, 16108, 6317, 540, 648, 2 ]
} else if (obj instanceof InformationDelegator){
} else if(obj instanceof InformationDelegator) {
public void findAndInit(Object obj){ if (obj instanceof MapBean){ add((MapBean)obj, BorderLayout.CENTER); } else if (obj instanceof InformationDelegator){ InformationDelegator infoDel = (InformationDelegator)obj; add(infoDel, BorderLayout.SOUTH); } }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/7552db6490f8140b02ec854e26a7413fd47c7979/OpenMap.java/buggy/src/edu/sc/seis/fissuresUtil/map/OpenMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1104, 1876, 2570, 12, 921, 1081, 15329, 3639, 309, 261, 2603, 1276, 1635, 3381, 15329, 5411, 527, 12443, 863, 3381, 13, 2603, 16, 30814, 18, 19835, 1769, 3639, 289, 3639, 469, 309, 261, 2603, 1276, 15353, 15608, 639, 15329, 5411, 15353, 15608, 639, 1123, 2837, 273, 261, 5369, 15608, 639, 13, 2603, 31, 5411, 527, 12, 1376, 2837, 16, 30814, 18, 3584, 5844, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1104, 1876, 2570, 12, 921, 1081, 15329, 3639, 309, 261, 2603, 1276, 1635, 3381, 15329, 5411, 527, 12443, 863, 3381, 13, 2603, 16, 30814, 18, 19835, 1769, 3639, 289, 3639, 469, 309, 261, 2603, 1276, 15353, 15608, 639, 15329, 5411, 15353, 15608, 639, 1123, 2837, 273, 261, 5369, 15608, 639, 13, 2603, 31, 5411, 527, 12, 1376, 2837, 16, 30814, 18, 3584, 5844, 1769, 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 ]
if (findingMax) { colResult.setMaxValue(rs.getObject(rscol++));
if (findingMax && col.getType() != Types.LONGVARCHAR && col.getType() != Types.VARBINARY && col.getType() != Types.LONGVARBINARY ) { lastSQL = "MAXVALUE_"+i; colResult.setMaxValue(rs.getObject(lastSQL));
private void doTableProfile(SQLTable table) throws SQLException, ArchitectException { SQLDatabase db = table.getParentDatabase(); Connection conn = null; Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { conn = db.getConnection(); StringBuffer sql = new StringBuffer(); sql.append("SELECT COUNT(*)"); for (SQLColumn col : table.getColumns()) { if (findingDistinctCount) { sql.append(",\n COUNT(DISTINCT ").append(col.getName()).append(")"); } if (findingMin) { sql.append(",\n MIN(").append(col.getName()).append(")"); } if (findingMax) { sql.append(",\n MAX(").append(col.getName()).append(")"); } if (findingAvg) { sql.append(",\n AVG(").append(col.getName()).append(")"); } if (findingMinLength) { sql.append(",\n MIN(LENGTH(").append(col.getName()).append("))"); } if (findingMaxLength) { sql.append(",\n MAX(LENGTH(").append(col.getName()).append("))"); } if (findingAvgLength) { sql.append(",\n AVG(LENGTH(").append(col.getName()).append("))"); } } sql.append("\nFROM ").append(table.getName()); stmt = conn.createStatement(); lastSQL = sql.toString(); long startTime = System.currentTimeMillis(); rs = stmt.executeQuery(lastSQL); long endTime = System.currentTimeMillis(); if ( rs.next() ) { int rscol = 1; TableProfileResult tableProfileResult = new TableProfileResult(endTime-startTime,rs.getInt(rscol++)); putResult(table, tableProfileResult); for (SQLColumn col : table.getColumns()) { ColumnProfileResult colResult = new ColumnProfileResult(endTime-startTime); if (findingDistinctCount) { colResult.setDistinctValueCount(rs.getInt(rscol++)); } if (findingMin) { colResult.setMinValue(rs.getObject(rscol++)); } if (findingMax) { colResult.setMaxValue(rs.getObject(rscol++)); } if (findingAvg) { colResult.setAvgValue(rs.getObject(rscol++)); } if (findingMinLength) { colResult.setMinLength(rs.getInt(rscol++)); } if (findingMaxLength) { colResult.setMaxLength(rs.getInt(rscol++)); } if (findingAvgLength) { colResult.setAvgLength(rs.getInt(rscol++)); } putResult(col, colResult); } } rs.close(); rs = null; // XXX: add where filter later } catch (SQLException ex) { logger.error("Error in SQL query: "+lastSQL, ex); throw ex; } finally { try { if (rs != null) rs.close(); } catch (SQLException ex) { logger.error("Couldn't clean up result set", ex); } try { if (stmt != null) stmt.close(); } catch (SQLException ex) { logger.error("Couldn't clean up statement", ex); } try { if (conn != null) conn.close(); } catch (SQLException ex) { logger.error("Couldn't clean up connection", ex); } } }
53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/15cd0163358f5aa076da8186d045012b10690cf1/ProfileManager.java/clean/src/ca/sqlpower/architect/profile/ProfileManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 1388, 4029, 12, 3997, 1388, 1014, 13, 1216, 6483, 16, 16959, 15004, 503, 288, 3639, 3063, 4254, 1319, 273, 1014, 18, 588, 3054, 4254, 5621, 3639, 4050, 1487, 273, 446, 31, 3639, 8056, 3480, 273, 446, 31, 3639, 10842, 3597, 273, 446, 31, 3639, 514, 1142, 3997, 273, 446, 31, 3639, 775, 288, 5411, 1487, 273, 1319, 18, 588, 1952, 5621, 5411, 6674, 1847, 273, 394, 6674, 5621, 5411, 1847, 18, 6923, 2932, 4803, 12666, 30857, 2225, 1769, 5411, 364, 261, 3997, 1494, 645, 294, 1014, 18, 588, 3380, 10756, 288, 7734, 309, 261, 4720, 310, 23402, 1380, 13, 288, 10792, 1847, 18, 6923, 2932, 17211, 82, 12666, 12, 2565, 17807, 315, 2934, 6923, 12, 1293, 18, 17994, 1435, 2934, 6923, 2932, 2225, 1769, 7734, 289, 7734, 309, 261, 4720, 310, 2930, 13, 288, 10792, 1847, 18, 6923, 2932, 17211, 82, 6989, 2932, 2934, 6923, 12, 1293, 18, 17994, 1435, 2934, 6923, 2932, 2225, 1769, 7734, 289, 7734, 309, 261, 4720, 310, 2747, 13, 288, 10792, 1847, 18, 6923, 2932, 17211, 82, 4552, 2932, 2934, 6923, 12, 1293, 18, 17994, 1435, 2934, 6923, 2932, 2225, 1769, 7734, 289, 7734, 309, 261, 4720, 310, 22823, 13, 288, 10792, 1847, 18, 6923, 2932, 17211, 82, 432, 9266, 2932, 2934, 6923, 12, 1293, 18, 17994, 1435, 2934, 6923, 2932, 2225, 1769, 7734, 289, 7734, 309, 261, 4720, 310, 2930, 1782, 13, 288, 10792, 1847, 18, 6923, 2932, 17211, 82, 6989, 12, 7096, 2932, 2934, 6923, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 1388, 4029, 12, 3997, 1388, 1014, 13, 1216, 6483, 16, 16959, 15004, 503, 288, 3639, 3063, 4254, 1319, 273, 1014, 18, 588, 3054, 4254, 5621, 3639, 4050, 1487, 273, 446, 31, 3639, 8056, 3480, 273, 446, 31, 3639, 10842, 3597, 273, 446, 31, 3639, 514, 1142, 3997, 273, 446, 31, 3639, 775, 288, 5411, 1487, 273, 1319, 18, 588, 1952, 5621, 5411, 6674, 1847, 273, 394, 6674, 5621, 5411, 1847, 18, 6923, 2932, 4803, 12666, 30857, 2225, 1769, 5411, 364, 261, 3997, 1494, 645, 294, 1014, 18, 588, 3380, 10756, 288, 7734, 309, 261, 4720, 310, 23402, 1380, 13, 288, 10792, 1847, 18, 6923, 2932, 17211, 82, 12666, 12, 2565, 17807, 315, 2934, 6923, 12, 2 ]
public boolean isLeaf(Object nodeObj) { if (debugger == null) { return true; } VariableNode node = (VariableNode)nodeObj;
public boolean isLeaf(Object nodeObj) { if (debugger == null) { return true; } VariableNode node = (VariableNode) nodeObj;
public boolean isLeaf(Object nodeObj) { if (debugger == null) { return true; } VariableNode node = (VariableNode)nodeObj; return children(node).length == 0; }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/2d4fc75b74d717c754829dde488ff0a7456682cc/SwingGui.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 31356, 12, 921, 756, 2675, 13, 565, 288, 3639, 309, 261, 4148, 693, 422, 446, 13, 288, 327, 638, 31, 289, 3639, 7110, 907, 756, 273, 261, 3092, 907, 13, 2159, 2675, 31, 3639, 327, 2325, 12, 2159, 2934, 2469, 422, 374, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 31356, 12, 921, 756, 2675, 13, 565, 288, 3639, 309, 261, 4148, 693, 422, 446, 13, 288, 327, 638, 31, 289, 3639, 7110, 907, 756, 273, 261, 3092, 907, 13, 2159, 2675, 31, 3639, 327, 2325, 12, 2159, 2934, 2469, 422, 374, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fSpecified = true;
fSpecified = false;
public void reset() { fDeclaration = null; fTypeDecl = null; fNil = false; fSpecified = true; fNotation = null; fMemberType = null; fValidationAttempted = ElementPSVI.VALIDATION_NONE; fValidity = ElementPSVI.VALIDITY_UNKNOWN; fErrorCodes = null; fValidationContext = null; fNormalizedValue = null; }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/391426c05f639e42a7aa8483b93d774c49357ba9/ElementPSVImpl.java/clean/src/org/apache/xerces/impl/xs/ElementPSVImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 1435, 288, 3639, 284, 6094, 273, 446, 31, 3639, 284, 559, 3456, 273, 446, 31, 3639, 284, 12616, 273, 629, 31, 3639, 284, 17068, 273, 629, 31, 3639, 284, 14818, 273, 446, 31, 3639, 284, 4419, 559, 273, 446, 31, 3639, 284, 4354, 28788, 273, 3010, 5857, 4136, 18, 5063, 2689, 67, 9826, 31, 3639, 284, 19678, 273, 3010, 5857, 4136, 18, 5063, 4107, 67, 14737, 31, 3639, 284, 668, 6295, 273, 446, 31, 3639, 284, 4354, 1042, 273, 446, 31, 3639, 284, 15577, 620, 273, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 1435, 288, 3639, 284, 6094, 273, 446, 31, 3639, 284, 559, 3456, 273, 446, 31, 3639, 284, 12616, 273, 629, 31, 3639, 284, 17068, 273, 629, 31, 3639, 284, 14818, 273, 446, 31, 3639, 284, 4419, 559, 273, 446, 31, 3639, 284, 4354, 28788, 273, 3010, 5857, 4136, 18, 5063, 2689, 67, 9826, 31, 3639, 284, 19678, 273, 3010, 5857, 4136, 18, 5063, 4107, 67, 14737, 31, 3639, 284, 668, 6295, 273, 446, 31, 3639, 284, 4354, 1042, 273, 446, 31, 3639, 284, 15577, 620, 273, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new TypeError(getRuntime(), inspect().getValue() + " is not a symbol");
throw getRuntime().newTypeError(inspect().getValue() + " is not a symbol");
public String asSymbol() { throw new TypeError(getRuntime(), inspect().getValue() + " is not a symbol"); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyObject.java/buggy/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 487, 5335, 1435, 288, 3639, 604, 18814, 7675, 2704, 19030, 12, 12009, 7675, 24805, 1435, 397, 315, 353, 486, 279, 3273, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 487, 5335, 1435, 288, 3639, 604, 18814, 7675, 2704, 19030, 12, 12009, 7675, 24805, 1435, 397, 315, 353, 486, 279, 3273, 8863, 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 ]
return multiplyWith(numericValue(num));
return numericValue(num).multiplyWith(this);
public RubyNumeric op_mul(IRubyObject num) { return multiplyWith(numericValue(num)); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/8ae8f38ab1546a14304108515ca0d070412cc6c2/RubyFloat.java/buggy/src/org/jruby/RubyFloat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 16411, 12, 7937, 10340, 921, 818, 13, 288, 3639, 327, 6389, 620, 12, 2107, 2934, 7027, 1283, 1190, 12, 2211, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 16411, 12, 7937, 10340, 921, 818, 13, 288, 3639, 327, 6389, 620, 12, 2107, 2934, 7027, 1283, 1190, 12, 2211, 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 ]
return fValue;
return value;
public float floatValue() { return fValue; }
25983 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25983/3df67a1be8e33d1ba411241de9fc6873bac67590/Short.java/clean/user/super/com/google/gwt/emul/java/lang/Short.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1431, 25105, 1435, 288, 565, 327, 460, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1431, 25105, 1435, 288, 565, 327, 460, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!nsContextStarted) { nsContext.pushContext(); nsContextStarted = true; }
localNamespaceMappings.put(prefix, uri);
public void startPrefixMapping(String prefix, String uri) throws SAXException { // check if new context needs to be started if (!nsContextStarted) { // entering new namespace context nsContext.pushContext(); nsContextStarted = true; } try { // this will trigger NamespaceException if namespace is unknown nsContext.getPrefix(uri); } catch (NamespaceException nse) { // namespace is not yet registered ... String newPrefix; if ("".equals(prefix)) { /** * the xml document specifies a default namespace * (i.e. an empty prefix); we need to create a random * prefix as the empty prefix is reserved according * to the JCR spec. */ newPrefix = nsReg.getUniquePrefix(uri); } else { newPrefix = prefix; } // register new namespace try { nsReg.registerNamespace(newPrefix, uri); } catch (RepositoryException re) { throw new SAXException(re); } } // map namespace in this context to given prefix nsContext.declarePrefix(prefix, uri); }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/02131beb16ffd5ee637e5a03c288a5d11bf0b911/ImportHandler.java/buggy/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/ImportHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 2244, 3233, 12, 780, 1633, 16, 514, 2003, 13, 5411, 1216, 14366, 288, 3639, 368, 866, 309, 394, 819, 4260, 358, 506, 5746, 3639, 309, 16051, 2387, 1042, 9217, 13, 288, 5411, 368, 19014, 394, 1981, 819, 5411, 3153, 1042, 18, 6206, 1042, 5621, 5411, 3153, 1042, 9217, 273, 638, 31, 3639, 289, 3639, 775, 288, 5411, 368, 333, 903, 3080, 6005, 503, 309, 1981, 353, 5917, 5411, 3153, 1042, 18, 588, 2244, 12, 1650, 1769, 3639, 289, 1044, 261, 3402, 503, 290, 307, 13, 288, 5411, 368, 1981, 353, 486, 4671, 4104, 1372, 5411, 514, 394, 2244, 31, 5411, 309, 261, 3660, 18, 14963, 12, 3239, 3719, 288, 7734, 1783, 1171, 380, 326, 2025, 1668, 11470, 279, 805, 1981, 1171, 380, 261, 77, 18, 73, 18, 392, 1008, 1633, 1769, 732, 1608, 358, 752, 279, 2744, 1171, 380, 1633, 487, 326, 1008, 1633, 353, 8735, 4888, 1171, 380, 358, 326, 17573, 857, 18, 1171, 1195, 7734, 394, 2244, 273, 3153, 1617, 18, 588, 6303, 2244, 12, 1650, 1769, 5411, 289, 469, 288, 7734, 394, 2244, 273, 1633, 31, 5411, 289, 5411, 368, 1744, 394, 1981, 5411, 775, 288, 7734, 3153, 1617, 18, 4861, 3402, 12, 2704, 2244, 16, 2003, 1769, 5411, 289, 1044, 261, 3305, 503, 283, 13, 288, 7734, 604, 394, 14366, 12, 266, 1769, 5411, 289, 3639, 289, 3639, 368, 852, 1981, 316, 333, 819, 358, 864, 1633, 3639, 3153, 1042, 18, 29554, 2244, 12, 3239, 16, 2003, 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, 377, 1071, 918, 787, 2244, 3233, 12, 780, 1633, 16, 514, 2003, 13, 5411, 1216, 14366, 288, 3639, 368, 866, 309, 394, 819, 4260, 358, 506, 5746, 3639, 309, 16051, 2387, 1042, 9217, 13, 288, 5411, 368, 19014, 394, 1981, 819, 5411, 3153, 1042, 18, 6206, 1042, 5621, 5411, 3153, 1042, 9217, 273, 638, 31, 3639, 289, 3639, 775, 288, 5411, 368, 333, 903, 3080, 6005, 503, 309, 1981, 353, 5917, 5411, 3153, 1042, 18, 588, 2244, 12, 1650, 1769, 3639, 289, 1044, 261, 3402, 503, 290, 307, 13, 288, 5411, 368, 1981, 353, 486, 4671, 4104, 1372, 5411, 514, 394, 2244, 31, 5411, 309, 261, 3660, 18, 14963, 12, 3239, 3719, 288, 7734, 1783, 1171, 380, 326, 2025, 2 ]
if (t1 == null) return t2; if (t2 == null) return t1;
if (t1 == null) return t2; if (t2 == null) return t1;
private Territory getBetterProducer(Territory t1, Territory t2, PlayerID player) { //anything is better than nothing if (t1 == null) return t2; if (t2 == null) return t1; //conquered cant produce if (wasConquered(t1)) return t2; if (wasConquered(t2)) return t1; //original factories are good TerritoryAttatchment t1a = TerritoryAttatchment.get(t1); if (t1a.isOriginalFactory() && isOriginalOwner(t1, player)) return t1; TerritoryAttatchment t2a = TerritoryAttatchment.get(t2); if (t2a.isOriginalFactory() && isOriginalOwner(t2, player)) return t2; //which can produce the most if (getProduction(t1) - getAlreadyProduced(t1).size() > getProduction(t2) - getAlreadyProduced(t1).size()) return t1; return t2; }
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/414b165cf34f9066ba494051d3e7037bf1d9b592/AbstractPlaceDelegate.java/clean/triplea/src/games/strategy/triplea/delegate/AbstractPlaceDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 399, 25313, 2882, 11214, 12140, 12, 56, 25313, 268, 21, 16, 399, 25313, 268, 22, 16, 19185, 734, 7291, 13, 565, 288, 3639, 368, 2273, 4274, 353, 7844, 2353, 5083, 3639, 309, 261, 88, 21, 422, 446, 13, 5411, 327, 268, 22, 31, 3639, 309, 261, 88, 22, 422, 446, 13, 5411, 327, 268, 21, 31, 3639, 368, 591, 25734, 329, 848, 88, 11402, 3639, 309, 261, 17416, 442, 25734, 329, 12, 88, 21, 3719, 5411, 327, 268, 22, 31, 3639, 309, 261, 17416, 442, 25734, 329, 12, 88, 22, 3719, 5411, 327, 268, 21, 31, 3639, 368, 8830, 17456, 854, 7494, 3639, 399, 25313, 3075, 505, 475, 268, 21, 69, 273, 399, 25313, 3075, 505, 475, 18, 588, 12, 88, 21, 1769, 3639, 309, 261, 88, 21, 69, 18, 291, 8176, 1733, 1435, 597, 353, 8176, 5541, 12, 88, 21, 16, 7291, 3719, 5411, 327, 268, 21, 31, 3639, 399, 25313, 3075, 505, 475, 268, 22, 69, 273, 399, 25313, 3075, 505, 475, 18, 588, 12, 88, 22, 1769, 3639, 309, 261, 88, 22, 69, 18, 291, 8176, 1733, 1435, 597, 353, 8176, 5541, 12, 88, 22, 16, 7291, 3719, 5411, 327, 268, 22, 31, 3639, 368, 12784, 848, 11402, 326, 4486, 3639, 309, 261, 588, 31590, 12, 88, 21, 13, 300, 336, 9430, 8390, 3263, 12, 88, 21, 2934, 1467, 1435, 405, 3570, 2544, 349, 12, 88, 22, 13, 300, 336, 9430, 8390, 3263, 12, 88, 21, 2934, 1467, 10756, 5411, 327, 268, 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, 399, 25313, 2882, 11214, 12140, 12, 56, 25313, 268, 21, 16, 399, 25313, 268, 22, 16, 19185, 734, 7291, 13, 565, 288, 3639, 368, 2273, 4274, 353, 7844, 2353, 5083, 3639, 309, 261, 88, 21, 422, 446, 13, 5411, 327, 268, 22, 31, 3639, 309, 261, 88, 22, 422, 446, 13, 5411, 327, 268, 21, 31, 3639, 368, 591, 25734, 329, 848, 88, 11402, 3639, 309, 261, 17416, 442, 25734, 329, 12, 88, 21, 3719, 5411, 327, 268, 22, 31, 3639, 309, 261, 17416, 442, 25734, 329, 12, 88, 22, 3719, 5411, 327, 268, 21, 31, 3639, 368, 8830, 17456, 854, 7494, 3639, 399, 25313, 3075, 505, 475, 268, 21, 69, 273, 399, 25313, 3075, 505, 475, 2 ]
if (contextId == null) { contextId = getStaticContextId(); } return HelpSystem.getContext(contextId); }
if (contextId == null) { contextId = getStaticContextId(); } return HelpSystem.getContext(contextId); }
public IContext getContext(Object target) { String contextId = null; // See if there is a context registered for the current selection ConcreteMarker marker = (ConcreteMarker) ((IStructuredSelection) getViewer() .getSelection()).getFirstElement(); if (marker != null) { contextId = IDE.getMarkerHelpRegistry().getHelp( marker.getMarker()); } if (contextId == null) { contextId = getStaticContextId(); } return HelpSystem.getContext(contextId); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/1ceb585b9b16047c6c580984b0c9962c41a22ba6/MarkerView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 467, 1042, 6474, 12, 921, 1018, 13, 288, 5411, 514, 819, 548, 273, 446, 31, 5411, 368, 2164, 309, 1915, 353, 279, 819, 4104, 364, 326, 783, 4421, 5411, 735, 6883, 7078, 5373, 273, 261, 25845, 7078, 13, 14015, 45, 30733, 6233, 13, 8893, 264, 1435, 10792, 263, 588, 6233, 1435, 2934, 588, 3759, 1046, 5621, 5411, 309, 261, 11145, 480, 446, 13, 288, 7734, 819, 548, 273, 1599, 41, 18, 588, 7078, 6696, 4243, 7675, 588, 6696, 12, 13491, 5373, 18, 588, 7078, 10663, 5411, 289, 5411, 309, 261, 2472, 548, 422, 446, 13, 288, 7734, 819, 548, 273, 23414, 1042, 548, 5621, 5411, 289, 5411, 327, 11288, 3163, 18, 29120, 12, 2472, 548, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 467, 1042, 6474, 12, 921, 1018, 13, 288, 5411, 514, 819, 548, 273, 446, 31, 5411, 368, 2164, 309, 1915, 353, 279, 819, 4104, 364, 326, 783, 4421, 5411, 735, 6883, 7078, 5373, 273, 261, 25845, 7078, 13, 14015, 45, 30733, 6233, 13, 8893, 264, 1435, 10792, 263, 588, 6233, 1435, 2934, 588, 3759, 1046, 5621, 5411, 309, 261, 11145, 480, 446, 13, 288, 7734, 819, 548, 273, 1599, 41, 18, 588, 7078, 6696, 4243, 7675, 588, 6696, 12, 13491, 5373, 18, 588, 7078, 10663, 5411, 289, 5411, 309, 261, 2472, 548, 422, 446, 13, 288, 7734, 819, 548, 273, 23414, 1042, 548, 5621, 5411, 289, 5411, 327, 11288, 3163, 18, 29120, 12, 2472, 548, 1769, 2 ]
menu2.add(new SMenuItem("Open")); menu2.add(new SMenuItem("Save")); menu2.add(new SMenuItem("Close"));
menu2.add(createMenuItem("Open")); menu2.add(createMenuItem("Save")); menu2.add(createMenuItem("Close"));
public SComponent createExample() { SPopupMenu menu = new SPopupMenu(); menu.add(new SMenuItem("Cut")); menu.add(new SMenuItem("Copy")); menu.add(new SMenuItem("Paste")); SMenu subMenu = new SMenu("Help"); subMenu.add(new SMenuItem("About")); subMenu.add(new SMenuItem("Topics")); menu.add(subMenu); SPopupMenu menu2 = new SPopupMenu(); menu2.add(new SMenuItem("Open")); menu2.add(new SMenuItem("Save")); menu2.add(new SMenuItem("Close")); SLabel testLabel = new SLabel("This label has a context menu."); testLabel.setComponentPopupMenu(menu); SLabel testLabel2 = new SLabel("This label has the same context menu."); testLabel2.setComponentPopupMenu(menu); SLabel testLabel3 = new SLabel("This label has another context menu."); testLabel3.setComponentPopupMenu(menu2); SPanel all = new SPanel(); all.add(testLabel); all.add(testLabel2); all.add(testLabel3); return all; }
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/f32689dedbeb0b0ee2865460ea29301eb2f3b157/PopupExample.java/buggy/wings2/demo/wingset/src/java/wingset/PopupExample.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 348, 1841, 752, 10908, 1435, 288, 3639, 348, 13770, 4599, 3824, 273, 394, 348, 13770, 4599, 5621, 3639, 3824, 18, 1289, 12, 2704, 348, 12958, 2932, 15812, 7923, 1769, 3639, 3824, 18, 1289, 12, 2704, 348, 12958, 2932, 2951, 7923, 1769, 3639, 3824, 18, 1289, 12, 2704, 348, 12958, 2932, 52, 14725, 7923, 1769, 3639, 348, 4599, 720, 4599, 273, 394, 348, 4599, 2932, 6696, 8863, 3639, 720, 4599, 18, 1289, 12, 2704, 348, 12958, 2932, 24813, 7923, 1769, 3639, 720, 4599, 18, 1289, 12, 2704, 348, 12958, 2932, 17477, 7923, 1769, 3639, 3824, 18, 1289, 12, 1717, 4599, 1769, 7734, 348, 13770, 4599, 3824, 22, 273, 394, 348, 13770, 4599, 5621, 3639, 3824, 22, 18, 1289, 12, 2704, 348, 12958, 2932, 3678, 7923, 1769, 3639, 3824, 22, 18, 1289, 12, 2704, 348, 12958, 2932, 4755, 7923, 1769, 3639, 3824, 22, 18, 1289, 12, 2704, 348, 12958, 2932, 4605, 7923, 1769, 3639, 348, 2224, 1842, 2224, 273, 394, 348, 2224, 2932, 2503, 1433, 711, 279, 819, 3824, 1199, 1769, 3639, 1842, 2224, 18, 542, 1841, 13770, 4599, 12, 5414, 1769, 3639, 348, 2224, 1842, 2224, 22, 273, 394, 348, 2224, 2932, 2503, 1433, 711, 326, 1967, 819, 3824, 1199, 1769, 3639, 1842, 2224, 22, 18, 542, 1841, 13770, 4599, 12, 5414, 1769, 3639, 348, 2224, 1842, 2224, 23, 273, 394, 348, 2224, 2932, 2503, 1433, 711, 4042, 819, 3824, 1199, 1769, 3639, 1842, 2224, 23, 18, 542, 1841, 13770, 4599, 12, 5414, 22, 1769, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 348, 1841, 752, 10908, 1435, 288, 3639, 348, 13770, 4599, 3824, 273, 394, 348, 13770, 4599, 5621, 3639, 3824, 18, 1289, 12, 2704, 348, 12958, 2932, 15812, 7923, 1769, 3639, 3824, 18, 1289, 12, 2704, 348, 12958, 2932, 2951, 7923, 1769, 3639, 3824, 18, 1289, 12, 2704, 348, 12958, 2932, 52, 14725, 7923, 1769, 3639, 348, 4599, 720, 4599, 273, 394, 348, 4599, 2932, 6696, 8863, 3639, 720, 4599, 18, 1289, 12, 2704, 348, 12958, 2932, 24813, 7923, 1769, 3639, 720, 4599, 18, 1289, 12, 2704, 348, 12958, 2932, 17477, 7923, 1769, 3639, 3824, 18, 1289, 12, 1717, 4599, 1769, 7734, 348, 13770, 4599, 3824, 22, 273, 394, 348, 13770, 4599, 5621, 3639, 3824, 22, 18, 1289, 2 ]
super.rejectValue(errors,MAX_SIZE_CONSTRAINT,args,MessageFormat.format( DEFAULT_INVALID_MAX_SIZE_MESSAGE, args ));
super.rejectValue(errors,MAX_SIZE_CONSTRAINT + INVALID_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_MAX_SIZE_MESSAGE, args ));
protected void processValidate(Object propertyValue, Errors errors) { Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, new Integer(maxSize) }; if(propertyValue.getClass().isArray()) { int length = Array.getLength( propertyValue ); if(length > maxSize) { super.rejectValue(errors,MAX_LENGTH_CONSTRAINT,args,MessageFormat.format( DEFAULT_INVALID_MAX_LENGTH_MESSAGE, args )); } } if(propertyValue instanceof Collection) { if( ((Collection)propertyValue).size() > maxSize ) { super.rejectValue(errors,MAX_SIZE_CONSTRAINT,args,MessageFormat.format( DEFAULT_INVALID_MAX_SIZE_MESSAGE, args )); } } else if(propertyValue instanceof Number) { int numberSize = ((Number)propertyValue).intValue(); if( numberSize > maxSize ) { super.rejectValue(errors,MAX_SIZE_CONSTRAINT,args,MessageFormat.format( DEFAULT_INVALID_MAX_SIZE_MESSAGE, args )); } } else if(propertyValue instanceof String) { if(((String)propertyValue ).length() > maxSize) { super.rejectValue(errors,MAX_LENGTH_CONSTRAINT,args,MessageFormat.format( DEFAULT_INVALID_MAX_LENGTH_MESSAGE, args )); } } }
26970 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26970/27fec428b45b70114ce42879d6de1197d360f5e2/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 918, 1207, 4270, 12, 921, 12337, 16, 9372, 1334, 13, 288, 1082, 202, 921, 8526, 833, 273, 394, 1033, 8526, 288, 4954, 13073, 16, 4954, 3494, 2093, 797, 16, 12337, 16, 394, 2144, 12, 1896, 1225, 13, 289, 31, 1082, 202, 430, 12, 4468, 620, 18, 588, 797, 7675, 291, 1076, 10756, 288, 9506, 202, 474, 769, 273, 1510, 18, 588, 1782, 12, 12337, 11272, 9506, 202, 430, 12, 2469, 405, 14777, 13, 288, 6862, 202, 9565, 18, 24163, 620, 12, 4324, 16, 6694, 67, 7096, 67, 15199, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 67, 9347, 67, 6694, 67, 7096, 67, 8723, 16, 833, 262, 1769, 6862, 6862, 202, 97, 1082, 202, 97, 1082, 202, 430, 12, 4468, 620, 1276, 2200, 13, 288, 9506, 202, 430, 12, 14015, 2532, 13, 4468, 620, 2934, 1467, 1435, 405, 14777, 262, 288, 6862, 202, 9565, 18, 24163, 620, 12, 4324, 16, 6694, 67, 4574, 67, 15199, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 67, 9347, 67, 6694, 67, 4574, 67, 8723, 16, 833, 262, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 309, 12, 4468, 620, 1276, 3588, 13, 288, 6862, 9506, 202, 474, 1300, 1225, 273, 14015, 1854, 13, 4468, 620, 2934, 474, 620, 5621, 9506, 202, 430, 12, 1300, 1225, 405, 14777, 262, 288, 6862, 202, 9565, 18, 24163, 620, 12, 4324, 16, 6694, 67, 4574, 67, 15199, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 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, 3196, 202, 1117, 918, 1207, 4270, 12, 921, 12337, 16, 9372, 1334, 13, 288, 1082, 202, 921, 8526, 833, 273, 394, 1033, 8526, 288, 4954, 13073, 16, 4954, 3494, 2093, 797, 16, 12337, 16, 394, 2144, 12, 1896, 1225, 13, 289, 31, 1082, 202, 430, 12, 4468, 620, 18, 588, 797, 7675, 291, 1076, 10756, 288, 9506, 202, 474, 769, 273, 1510, 18, 588, 1782, 12, 12337, 11272, 9506, 202, 430, 12, 2469, 405, 14777, 13, 288, 6862, 202, 9565, 18, 24163, 620, 12, 4324, 16, 6694, 67, 7096, 67, 15199, 16, 1968, 16, 1079, 1630, 18, 2139, 12, 3331, 67, 9347, 67, 6694, 67, 7096, 67, 8723, 16, 833, 262, 1769, 6862, 6862, 202, 97, 1082, 202, 97, 2 ]
System.out.println("Feat CHA requirements weren't 13satisfied: " + feat.Feat);
System.out.println("Feat CHA requirements weren't satisfied: " + feat.Feat);
private boolean CheckFeatRequirements(Feat feat) { // Test that this feat is valid if (feat == null) return false; boolean extra = false; if (feat.Index == 103) extra = true; // Verify we satisfy the min level requirement if (feat.MinLevel > 1) { if (extra) System.out.println("Feat feat requirements aren't 1satisfied: " + feat.Feat); return false; } // Verify we satisfy the min level class requirement // W if (feat.MinLevel > 0 && feat.MinLevelClass > -1 && Integer.parseInt(menucreate.MainCharDataAux[3][classes.Index]) != feat.MinLevelClass) { if (extra) System.out.println("Feat feat requirements aren't 2satisfied: " + feat.Feat); return false; } // Next we check to see if we satisfy the one _or_ the other requirements int[] altreq = new int[5]; altreq[0] = feat.OrReqFeat0; altreq[1] = feat.OrReqFeat1; altreq[2] = feat.OrReqFeat2; altreq[3] = feat.OrReqFeat3; altreq[4] = feat.OrReqFeat4; boolean required = false; boolean satisfied = false; for (int ii = 0; ii < altreq.length; ++ii) { if (altreq[ii] > -1) { required = true; satisfied = satisfied || featlist.contains(featmap[altreq[ii]]); } } if (required && !satisfied) { if (extra) System.out.println("Feat feat requirements aren't 3satisfied: " + feat.Feat); return false; } // Verify any required skills if (feat.ReqSkill > -1) { // If this char doesn't have access to the skill if (calcSkill(feat.ReqSkill) < feat.ReqSkillMinRanks) { if (extra) System.out.println("Feat skill requirements aren't 4satisfied: " + feat.Feat); return false; } } // Verify any required skills if (feat.ReqSkill2 > -1) { // If this char doesn't have access to the skill if (calcSkill(feat.ReqSkill2) < feat.ReqSkillMinRanks2) { if (extra) System.out.println("Feat skill requirements aren't 5satisfied: " + feat.Feat); return false; } } // Determine if the Mandatory Feat Prerequisites are satisfied if (feat.PreReqFeat1 > -1 && !featlist.contains(featmap[feat.PreReqFeat1])) { if (extra) System.out.println("Feat feat requirements weren't 6satisfied: " + feat.Feat); return false; } if (feat.PreReqFeat2 > -1 && !featlist.contains(featmap[feat.PreReqFeat2])) { if (extra) System.out.println("Feat feat requirements weren't 7satisfied: " + feat.Feat); return false; } // This is ugly, but I don't feel like trying to make this prettier. I already wanna nix it. int realstr = new Integer(((String)menucreate.MainCharData[5].get(new Integer(0)))).intValue(); int realdex = new Integer(((String)menucreate.MainCharData[5].get(new Integer(1)))).intValue(); int realcon = new Integer(((String)menucreate.MainCharData[5].get(new Integer(2)))).intValue(); int realint = new Integer(((String)menucreate.MainCharData[5].get(new Integer(3)))).intValue(); int realwis = new Integer(((String)menucreate.MainCharData[5].get(new Integer(4)))).intValue(); int realcha = new Integer(((String)menucreate.MainCharData[5].get(new Integer(5)))).intValue(); // Check Str Requirements if (realstr < feat.MinStr) { if (extra) System.out.println("Feat STR requirements weren't 8satisfied: " + feat.Feat); return false; } // Check Dex Requirements if (realdex < feat.MinDex) { if (extra) System.out.println("Feat DEX requirements weren't 9satisfied: " + feat.Feat); return false; } // Check Con Requirements if (realcon < feat.MinCon) { if (extra) System.out.println("Feat CON requirements weren't 10satisfied: " + feat.Feat); return false; } // Check Int Requirements if (realint < feat.MinInt) { if (extra) System.out.println("Feat INT requirements weren't 11satisfied: " + feat.Feat); return false; } // Check Wis Requirements if (realwis < feat.MinWis) { if (extra) System.out.println("Feat WIS requirements weren't 12satisfied: " + feat.Feat); return false; } // Check Cha Requirements if (realcha < feat.MinCha) { if (extra) System.out.println("Feat CHA requirements weren't 13satisfied: " + feat.Feat); return false; } // Check for attack bonus int attackBonus = (attackmap == null || attackmap[0][1] == null) ? 0 : Integer.parseInt(attackmap[0][1]); if (attackBonus < feat.MinAttackBonus) { if (extra) System.out.println("Feat Attack Bonus requirements weren't 14satisfied: " + feat.Feat); return false; } // Check for Fortitude save //If it requires a base fortitude save, you can't start with it, all of them are too high //Yes, this is a workaround - otherwise, we'd need to query the saves, and that's extra time if (feat.MinFortSave > 0) { if (extra) System.out.println("Feat Fortitude Save requirements weren't 15satisfied: " + feat.Feat); return false; } // Check for Epic requirement. 1st level chars aren't epic if (feat.PreReqEpic) { if (extra) System.out.println("Feat requires Epic Stature: " + feat.Feat); return false; } //If you're not a spell user, or you don't have the right spell level, then no if (feat.MinSpellLvl > -1) { if (Integer.parseInt(menucreate.MainCharDataAux[3][classes.SpellCaster]) == 0) { if (extra) System.out.println("Feat requires spell caster: " + feat.Feat); return false; } if (feat.MinSpellLvl > 1) { if (extra) System.out.println("Feat requires higher spell level: " + feat.Feat); return false; } int spells = 0; if (feat.MinSpellLvl == 1) { // Read the given line of the spell progression table if (spellgain2damap != null && spellgain2damap[0][4] != null) { spells = Integer.parseInt(spellgain2damap[0][4]); if (spells == 0) { if (menucreate.MainCharDataAux[3][classes.PrimaryAbil].equalsIgnoreCase("WIS") && realwis >= 12) ++spells; else if (menucreate.MainCharDataAux[3][classes.PrimaryAbil].equalsIgnoreCase("INT") && realint >= 12) ++spells; else if (menucreate.MainCharDataAux[3][classes.PrimaryAbil].equalsIgnoreCase("CHA") && realcha >= 12) ++spells; } } } else if (feat.MinSpellLvl == 0) { // Read the given line of the spell progression table if (spellgain2damap != null && spellgain2damap[0][3] != null) spells = Integer.parseInt(spellgain2damap[0][3]); } if (spells == 0) { if (extra) System.out.println("Feat requires spell casting abilities: " + feat.Feat); return false; } } return true; }
9794 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9794/67bd7fddf7b39ec13424860c0dbb88bad4d4da2c/FeatMenu.java/buggy/cc/cc/CharacterCreator/FeatMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2073, 11667, 15465, 12, 11667, 11002, 13, 288, 202, 202, 759, 7766, 716, 333, 11002, 353, 923, 202, 202, 430, 261, 29735, 422, 446, 13, 1082, 202, 2463, 629, 31, 202, 202, 6494, 2870, 273, 629, 31, 202, 202, 430, 261, 29735, 18, 1016, 422, 1728, 23, 13, 1082, 202, 7763, 273, 638, 31, 202, 202, 759, 8553, 732, 18866, 326, 1131, 1801, 12405, 202, 202, 430, 261, 29735, 18, 2930, 2355, 405, 404, 13, 288, 1082, 202, 430, 261, 7763, 13, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 11667, 11002, 8433, 11526, 1404, 404, 12973, 21501, 30, 315, 397, 11002, 18, 11667, 1769, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 759, 8553, 732, 18866, 326, 1131, 1801, 667, 12405, 202, 202, 759, 678, 202, 202, 430, 261, 29735, 18, 2930, 2355, 405, 374, 597, 11002, 18, 2930, 2355, 797, 405, 300, 21, 9506, 202, 10, 10, 2144, 18, 2670, 1702, 12, 5414, 2640, 18, 6376, 2156, 751, 21981, 63, 23, 6362, 4701, 18, 1016, 5717, 480, 11002, 18, 2930, 2355, 797, 13, 288, 1082, 202, 430, 261, 7763, 13, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 11667, 11002, 8433, 11526, 1404, 576, 12973, 21501, 30, 315, 397, 11002, 18, 11667, 1769, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 759, 4804, 732, 866, 358, 2621, 309, 732, 18866, 326, 1245, 389, 280, 67, 326, 1308, 8433, 202, 202, 474, 8526, 3770, 3658, 273, 394, 509, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2073, 11667, 15465, 12, 11667, 11002, 13, 288, 202, 202, 759, 7766, 716, 333, 11002, 353, 923, 202, 202, 430, 261, 29735, 422, 446, 13, 1082, 202, 2463, 629, 31, 202, 202, 6494, 2870, 273, 629, 31, 202, 202, 430, 261, 29735, 18, 1016, 422, 1728, 23, 13, 1082, 202, 7763, 273, 638, 31, 202, 202, 759, 8553, 732, 18866, 326, 1131, 1801, 12405, 202, 202, 430, 261, 29735, 18, 2930, 2355, 405, 404, 13, 288, 1082, 202, 430, 261, 7763, 13, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 11667, 11002, 8433, 11526, 1404, 404, 12973, 21501, 30, 315, 397, 11002, 18, 11667, 1769, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 2 ]
template1 = req.getParameter("default_template_set_1").equals("") ? "-1" : req.getParameter("default_template_set_1"); } tempStr = req.getParameter("default_template_set_2");
template1 = req.getParameter("default_template_set_1").equals("") ? "-1" : req.getParameter("default_template_set_1"); } tempStr = req.getParameter("default_template_set_2");
public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { String host = req.getHeader("Host") ; String imcserver = Utility.getDomainPref("adminserver",host) ; String start_url = Utility.getDomainPref( "start_url",host ) ; String servlet_url = Utility.getDomainPref( "servlet_url",host ) ; imcode.server.User user ; // Check if user logged on if( (user=Check.userLoggedOn( req,res,start_url ))==null ) { return ; } res.setContentType( "text/html" ); ServletOutputStream out = res.getOutputStream(); String meta_id = req.getParameter( "meta_id" ) ; int meta_id_int = Integer.parseInt(meta_id) ; if ( !IMCServiceRMI.checkDocAdminRightsAny(imcserver,meta_id_int,user,7 ) ) { // Checking to see if user may edit this byte[] tempbytes ; tempbytes = AdminDoc.adminDoc(meta_id_int,meta_id_int,host,user,req,res) ; if ( tempbytes != null ) { out.write(tempbytes) ; } return ; } Properties metaprops = new Properties () ; String classification = req.getParameter("classification") ; // Hey, hey! Watch as i fetch the permission-set set (pun intended) for each role! String[][] role_permissions = IMCServiceRMI.sqlProcedureMulti(imcserver, "GetRolesDocPermissions "+meta_id) ; // Now watch as i fetch the permission_set for the user... String[] current_permissions = IMCServiceRMI.sqlProcedure(imcserver, "GetUserPermissionSet "+meta_id+", "+user.getInt("user_id")) ; int user_set_id = Integer.parseInt(current_permissions[0]) ; // The users set_id // Check if the user has any business in here whatsoever. if ( user_set_id > 2 ) { out.write(AdminDoc.adminDoc(meta_id_int,meta_id_int,host,user,req,res)) ; return ; } int user_perm_set = Integer.parseInt(current_permissions[1]) ; // The users permission_set for that id int currentdoc_perms = Integer.parseInt(current_permissions[2]) ; // The docspecific permissions for this doc. // Now i'll loop through the db-results, and read the values // for each roles set_id this user may change from the form. // Then set the new value for each. Properties temp_permission_settings = new Properties() ; for ( int i = 0 ; i < role_permissions.length ; ++i ) { String role_set_id_str = role_permissions[i][2] ; // Get the old set_id for this role from the db int role_set_id = Integer.parseInt(role_set_id_str) ; String role_id = role_permissions[i][0] ; // Get the role_id from the db String new_set_id_str = req.getParameter("role_"+role_id) ; // Check the value from the form if ( new_set_id_str == null ) { // If a new set_id for this role didn't come from the form continue ; // skip to the next role. } int new_set_id = Integer.parseInt(new_set_id_str) ; if ( ( // May the user edit permissions at all? user_set_id == 0 // If user has set_id == 0... || (user_perm_set & 4) != 0) // ...or the user may edit permissions for this document // May the user set this particular permission-set? && user_set_id <= new_set_id // May the user edit the permissions for this particular role? && user_set_id <= role_set_id // If user potentially has a more privileged set_id than the role... && (user_set_id != 1 // If user has set_id == 1 (that is , != 0 && != 2) || (role_set_id != 2 // ...he may not change set_id for a role with set_id 2.. && new_set_id != 2) // ...and he may not set set_id to 2 for any role... || (currentdoc_perms&1) != 0// ...unless set_id 1 is more privileged than set_id 2 for this document. ) ) { // We used to save to the db immediately. Now we do it a little bit differently to make it possible to store stuff in the session instead of the db. // IMCServiceRMI.sqlUpdateProcedure(imcserver, "SetRoleDocPermissionSetId "+role_id+","+meta_id+","+new_set_id) ; temp_permission_settings.setProperty(String.valueOf(role_id),String.valueOf(new_set_id)) ; } else { log ("User "+user.getInt("user_id")+" with set_id "+user_set_id+" and permission_set "+user_perm_set+" was denied permission to change set_id for role " +role_id+" from "+role_set_id+" to "+new_set_id+" on meta_id "+meta_id) ; } } /* Now we're going to start accepting the input form fields. This table keeps track of all the fields we may encounter. The "nullvalue" is there to support checkboxes, which, if not checked, report null. So, if the checkboxes do not appear, we know that we should enter the "nullvalue" found here, into the db. */ // NOTE! This table matches the one below. Don't go changing one without changing the other. // FIXME: They should be merged into one table. String [] metatable = { /* Nullable Nullvalue */ "shared", "0", "disable_search","0", "archive", "0", "show_meta", "0", "permissions", "0", "meta_headline", null, "meta_text", null, "meta_image", null, "activated_datetime",null, "archived_datetime", null, "frame_name", null, "target", null } ; final int metatable_cols = 2 ; // I'll make a table to keep track of // what is the least privileged (highest) // set_id you may have, to be able to change // each property. Roles with set_ids 1 and 2 // still need explicit permissions, so this is // mainly for fleshing out what only a user with // "full" (0) may do. (Change whether set-id 1 is // more privileged. "permissions") // I use a bitmask here to specify what permissions // are required for each. // 0 == Unreachable // 1 == Something on the "simple docinfo"-page // 2 == Something on the "advanced docinfo"-page // 3 == 1|2 // 4 == Something on the "rights/permissions"-page // 5 == 1|4 // 6 == 2|4 // 7 == 1|2|4 // NOTE! This table matches the one above. Don't go changing one without changing the other. // FIXME: They should be merged into one table. int[] metatable_restrictions = { // set_id, permission_bitmask 2, 6, //"shared", 2, 2, //"disable_search", 2, 2, //"archive", 2, 6, //"show_meta", 0, 4, //"permissions", 2, 7, //"meta_headline", 2, 3, //"meta_text", 2, 3, //"meta_image", 2, 2, //"activated_datetime", 2, 2, //"archived_datetime", 2, 2, //"frame_name", 2, 2 //"target" } ; HashMap inputMap = new HashMap() ; // Loop through all meta-table-properties // Adding them to a HashMap to be used as input // That way i can mutilate the values before all the // permissions are checked. for ( int i=0 ; i<metatable.length ; i+=metatable_cols ) { inputMap.put(metatable[i],req.getParameter(metatable[i])) ; } // Here's some mutilation! // activated_date and activated_time need to be merged, and likewise with archived_date and archived_time SimpleDateFormat dateformat = new SimpleDateFormat("yyyy-MM-dd HH:mm") ; String activated_date = req.getParameter("activated_date") ; String activated_time = req.getParameter("activated_time") ; String activated_datetime = null ; if ( activated_date != null && activated_time != null ) { activated_datetime = activated_date + ' ' + activated_time ; try { dateformat.parse(activated_datetime) ; } catch (ParseException ex) { activated_datetime = null ; } } String archived_date = req.getParameter("archived_date") ; String archived_time = req.getParameter("archived_time") ; String archived_datetime = null ; if ( archived_date != null && archived_time != null ) { archived_datetime = archived_date + ' ' + archived_time ; try { dateformat.parse(archived_datetime) ; } catch (ParseException ex) { archived_datetime = null ; } } // Loop through all meta-table-properties // Checking permissions as we go. // All alterations of the inputdata must happen before this for ( int i=0 ; i<metatable.length ; i+=metatable_cols ) { String tmp = (String)inputMap.get(metatable[i]) ; if ( user_set_id > metatable_restrictions[i] // Check on set_id if user is allowed to set this particular property. || (user_set_id > 0 // If user not has full access (0)... && ((user_perm_set & metatable_restrictions[i+1]) == 0) // check permission-bitvector for the users set_id. ) ) { continue ; } if (metatable[i].equals("meta_headline")||metatable[i].equals("meta_text")) { if( tmp != null) tmp = imcode.server.HTMLConv.toHTML(tmp); } if ( tmp != null) { metaprops.setProperty(metatable[i],tmp) ; // If it is found, set it. } else { tmp = metatable[i+1] ; // FIXME: If it is null, that could mean the user // emptied the field. This leads to the property // not being updated, and left unchanged! // _Should_ be ok, since for checkboxes null is valid. (Means false) // For fields other than checkboxes and radiobuttons null would be bad. if ( tmp != null ) { metaprops.setProperty(metatable[i],tmp) ; // If it is not found, set it to the nullvalue. (For checkboxes, which do not appear if they are not checked.) } } } //ok here we fetch the settings fore the default_template 1 & 2 String temp_default_template_1 = req.getParameter("default_template_set_1") == null ? "-1" : req.getParameter("default_template_set_1"); String temp_default_template_2 = req.getParameter("default_template_set_2") == null ? "-1" : req.getParameter("default_template_set_2"); String[] temp_default_templates = {temp_default_template_1, temp_default_template_2}; // Set modified-date to now... Date dt = IMCServiceRMI.getCurrentDate(imcserver) ; metaprops.setProperty("date_modified",dateformat.format(dt)) ; // It's like this... people make changes on the page, and then they forget to press "save" // before they press one of the "define-permission" buttons, and then their settings are lost. // I will fix this by storing the settings in a temporary variable in the user object. // This variable will be an array of four objects. In order: // A String, containing the meta-id of the page. // A Properties, containing the docinfo for the page. (db-column, value) // A Properties, containing the permission_sets for the roles. (role_id, set_id) // A String[], containing default_template 1 and 2 // We also need a name for this temporary variable... i think i shall call it... (Drumroll, please...) "temp_perm_settings" ! // if ( req.getParameter("define_set_1") != null ) { // If user want's to edit permission-set 1 user.put("temp_perm_settings",new Object[] {String.valueOf(meta_id),metaprops,temp_permission_settings,temp_default_templates}) ; out.print(MetaDataParser.parsePermissionSet(meta_id_int,user,host,1,false)) ; return ; } else if ( req.getParameter("define_set_2") != null ) { // If user want's to edit permission-set 2 user.put("temp_perm_settings",new Object[] {String.valueOf(meta_id),metaprops,temp_permission_settings,temp_default_templates}) ; out.print(MetaDataParser.parsePermissionSet(meta_id_int,user,host,2,false)) ; return ; } else if ( req.getParameter("define_new_set_1") != null ) { user.put("temp_perm_settings",new Object[] {String.valueOf(meta_id),metaprops,temp_permission_settings,temp_default_templates}) ; out.print(MetaDataParser.parsePermissionSet(meta_id_int,user,host,1,true)) ; return ; } else if ( req.getParameter("define_new_set_2") != null ) { user.put("temp_perm_settings",new Object[] {String.valueOf(meta_id),metaprops,temp_permission_settings,temp_default_templates}) ; out.print(MetaDataParser.parsePermissionSet(meta_id_int,user,host,2,true)) ; return ; } else if ( req.getParameter("add_roles") != null ) { // The user wants to give permissions to roles that have none. String[] roles_no_rights = req.getParameterValues("roles_no_rights") ; for ( int i = 0 ; roles_no_rights!=null && i<roles_no_rights.length ; ++i ) { temp_permission_settings.setProperty(roles_no_rights[i],"3") ; } user.put("temp_perm_settings",new Object[] {String.valueOf(meta_id),metaprops,temp_permission_settings,temp_default_templates}) ; out.print(MetaDataParser.parseMetaPermission(meta_id,meta_id,user,host,"change_meta_rights.html")) ; return ; } // From now on we enter stuff into the db. // Here i'll construct an sql-query that will update all docinfo // the user is allowed to change. //ok lets start and get the default templates String tempStr = req.getParameter("default_template_set_1"); String template1 = "-1"; String template2 = "-1"; if (tempStr != null) { template1 = req.getParameter("default_template_set_1").equals("") ? "-1" : req.getParameter("default_template_set_1"); } tempStr = req.getParameter("default_template_set_2"); if (tempStr != null) { template2 = req.getParameter("default_template_set_2").equals("")? "-1":req.getParameter("default_template_set_2"); } String sqlStr = "activated_datetime = "+(null == activated_datetime ? "NULL" : "'"+activated_datetime+"'")+ ",archived_datetime = "+(null == archived_datetime ? "NULL" : "'"+archived_datetime+"'") + ","; Enumeration propkeys = metaprops.propertyNames() ; while ( propkeys.hasMoreElements() ) { String temp = (String)propkeys.nextElement() ; String val = metaprops.getProperty(temp) ; String [] vp = { "'", "''" } ; sqlStr += temp +" = '"+Parser.parseDoc(val,vp)+"' " ; if ( propkeys.hasMoreElements() ) { sqlStr += ", " ; } } for (int i=0; i<role_permissions.length; ++i) { String role_id = (String)role_permissions[i][0] ; String new_set_id = temp_permission_settings.getProperty(role_id) ; if (new_set_id == null) { continue ; } IMCServiceRMI.sqlUpdateProcedure(imcserver, "SetRoleDocPermissionSetId "+role_id+","+meta_id+","+new_set_id) ; } if ( sqlStr.length() > 0 ) { sqlStr = "update meta set " +sqlStr+ " where meta_id = "+meta_id ; IMCServiceRMI.sqlUpdateQuery(imcserver,sqlStr) ; } // Save the classifications to the db if ( classification != null ) { classification = imcode.server.HTMLConv.toHTML(classification); IMCServiceRMI.sqlUpdateProcedure(imcserver,"Classification_Fix "+meta_id+",'"+classification+"'") ; } //ok lets save the default templates //log("test sql: UpdateDefaultTemplates "+meta_id+",'"+template1+"','"+template2+"'"); IMCServiceRMI.sqlUpdateProcedure(imcserver, "UpdateDefaultTemplates '"+meta_id+"','"+template1+"','"+template2+"'") ; // Update the date_modified for all parents. IMCServiceRMI.sqlUpdateProcedure(imcserver, "UpdateParentsDateModified "+meta_id) ; // Let's split this joint! byte[] temp = AdminDoc.adminDoc(meta_id_int,meta_id_int,host,user,req,res) ; if (temp != null) { out.write(temp) ; } //lets log to mainlog that the user done stuff mainLog.info(logdateFormat.format(new java.util.Date())+"Metadata on ["+meta_id+"] updated by user: [" +user.getString("first_name").trim() + " " + user.getString("last_name").trim() + "]"); return ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/cd4b638e76682d918728cd2557cfc09e03e5195c/SaveMeta.java/clean/servlets/SaveMeta.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 1860, 288, 202, 202, 780, 1479, 4697, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 709, 71, 3567, 1875, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 202, 780, 787, 67, 718, 540, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 1937, 67, 718, 3113, 2564, 262, 274, 202, 202, 780, 8100, 67, 718, 540, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 23231, 67, 718, 3113, 2564, 262, 274, 202, 202, 381, 710, 18, 3567, 18, 1299, 729, 274, 202, 202, 759, 2073, 309, 729, 7545, 603, 202, 202, 430, 12, 261, 1355, 33, 1564, 18, 1355, 19862, 1398, 12, 1111, 16, 455, 16, 1937, 67, 718, 8623, 631, 2011, 262, 288, 1082, 202, 2463, 274, 202, 202, 97, 202, 202, 455, 18, 542, 8046, 12, 315, 955, 19, 2620, 6, 11272, 202, 202, 4745, 4632, 596, 273, 400, 18, 588, 4632, 5621, 202, 202, 780, 2191, 67, 350, 273, 1111, 18, 588, 1662, 12, 315, 3901, 67, 350, 6, 262, 274, 202, 202, 474, 2191, 67, 350, 67, 474, 273, 2144, 18, 2670, 1702, 12, 3901, 67, 350, 13, 274, 202, 202, 430, 261, 401, 3445, 39, 1179, 54, 7492, 18, 1893, 1759, 4446, 18464, 2961, 12, 381, 71, 3567, 16, 3901, 67, 350, 67, 474, 16, 1355, 16, 27, 262, 262, 288, 202, 759, 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, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 1860, 288, 202, 202, 780, 1479, 4697, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 709, 71, 3567, 1875, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 202, 780, 787, 67, 718, 540, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 1937, 67, 718, 3113, 2564, 262, 274, 202, 202, 780, 8100, 67, 718, 540, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 23231, 67, 718, 3113, 2564, 262, 274, 202, 202, 381, 710, 18, 3567, 18, 1299, 729, 274, 202, 202, 759, 2073, 309, 729, 7545, 603, 202, 2 ]
throw new PSQLException("postgresql.con.kerb4");
throw new PSQLException("postgresql.con.kerb4", PSQLState.CONNECTION_REJECTED);
private void openConnectionV3(String p_host, int p_port, Properties p_info, String p_database, String p_url, Driver p_d, String p_password) throws SQLException { PGProtocolVersionMajor = 3; if (Driver.logDebug) Driver.debug("Using Protocol Version3"); // Now we need to construct and send an ssl startup packet try { if (useSSL) { if (Driver.logDebug) Driver.debug("Asking server if it supports ssl"); pgStream.SendInteger(8,4); pgStream.SendInteger(80877103,4); // now flush the ssl packets to the backend pgStream.flush(); // Now get the response from the backend, either an error message // or an authentication request int beresp = pgStream.ReceiveChar(); if (Driver.logDebug) Driver.debug("Server response was (S=Yes,N=No): "+(char)beresp); switch (beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new PSQLException("postgresql.con.misc", pgStream.ReceiveString(encoding)); case 'N': // Server does not support ssl throw new PSQLException("postgresql.con.sslnotsupported"); case 'S': // Server supports ssl if (Driver.logDebug) Driver.debug("server does support ssl"); Driver.makeSSL(pgStream); break; default: throw new PSQLException("postgresql.con.sslfail"); } } } catch (IOException e) { throw new PSQLException("postgresql.con.failed", e); } // Now we need to construct and send a startup packet try { new StartupPacket(PGProtocolVersionMajor, PGProtocolVersionMinor, PG_USER, p_database).writeTo(pgStream); // now flush the startup packets to the backend pgStream.flush(); // Now get the response from the backend, either an error message // or an authentication request int areq = -1; // must have a value here do { int beresp = pgStream.ReceiveChar(); String salt = null; byte [] md5Salt = new byte[4]; switch (beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // int l_elen = pgStream.ReceiveIntegerR(4); if (l_elen > 30000) { //if the error length is > than 30000 we assume this is really a v2 protocol //server so try again with a v2 connection //need to create a new connection and try again try { pgStream = new PGStream(p_host, p_port); } catch (ConnectException cex) { // Added by Peter Mount <peter@retep.org.uk> // ConnectException is thrown when the connection cannot be made. // we trap this an return a more meaningful message for the end user throw new PSQLException ("postgresql.con.refused"); } catch (IOException e) { throw new PSQLException ("postgresql.con.failed", e); } openConnectionV2(p_host, p_port, p_info, p_database, p_url, p_d, p_password); return; } throw new PSQLException("postgresql.con.misc",encoding.decode(pgStream.Receive(l_elen-4))); case 'R': // Get the message length int l_msgLen = pgStream.ReceiveIntegerR(4); // Get the type of request areq = pgStream.ReceiveIntegerR(4); // Get the crypt password salt if there is one if (areq == AUTH_REQ_CRYPT) { byte[] rst = new byte[2]; rst[0] = (byte)pgStream.ReceiveChar(); rst[1] = (byte)pgStream.ReceiveChar(); salt = new String(rst, 0, 2); if (Driver.logDebug) Driver.debug("Crypt salt=" + salt); } // Or get the md5 password salt if there is one if (areq == AUTH_REQ_MD5) { md5Salt[0] = (byte)pgStream.ReceiveChar(); md5Salt[1] = (byte)pgStream.ReceiveChar(); md5Salt[2] = (byte)pgStream.ReceiveChar(); md5Salt[3] = (byte)pgStream.ReceiveChar(); salt = new String(md5Salt, 0, 4); if (Driver.logDebug) Driver.debug("MD5 salt=" + salt); } // now send the auth packet switch (areq) { case AUTH_REQ_OK: break; case AUTH_REQ_KRB4: if (Driver.logDebug) Driver.debug("postgresql: KRB4"); throw new PSQLException("postgresql.con.kerb4"); case AUTH_REQ_KRB5: if (Driver.logDebug) Driver.debug("postgresql: KRB5"); throw new PSQLException("postgresql.con.kerb5"); case AUTH_REQ_SCM: if (Driver.logDebug) Driver.debug("postgresql: SCM"); throw new PSQLException("postgresql.con.scm"); case AUTH_REQ_PASSWORD: if (Driver.logDebug) Driver.debug("postgresql: PASSWORD"); pgStream.SendChar('p'); pgStream.SendInteger(5 + p_password.length(), 4); pgStream.Send(p_password.getBytes()); pgStream.SendChar(0); pgStream.flush(); break; case AUTH_REQ_CRYPT: if (Driver.logDebug) Driver.debug("postgresql: CRYPT"); String crypted = UnixCrypt.crypt(salt, p_password); pgStream.SendChar('p'); pgStream.SendInteger(5 + crypted.length(), 4); pgStream.Send(crypted.getBytes()); pgStream.SendChar(0); pgStream.flush(); break; case AUTH_REQ_MD5: if (Driver.logDebug) Driver.debug("postgresql: MD5"); byte[] digest = MD5Digest.encode(PG_USER, p_password, md5Salt); pgStream.SendChar('p'); pgStream.SendInteger(5 + digest.length, 4); pgStream.Send(digest); pgStream.SendChar(0); pgStream.flush(); break; default: throw new PSQLException("postgresql.con.auth", new Integer(areq)); } break; default: throw new PSQLException("postgresql.con.authfail"); } } while (areq != AUTH_REQ_OK); } catch (IOException e) { throw new PSQLException("postgresql.con.failed", e); } int beresp; do { beresp = pgStream.ReceiveChar(); switch (beresp) { case 'Z': //ready for query break; case 'K': int l_msgLen = pgStream.ReceiveIntegerR(4); if (l_msgLen != 12) throw new PSQLException("postgresql.con.setup"); pid = pgStream.ReceiveIntegerR(4); ckey = pgStream.ReceiveIntegerR(4); break; case 'E': int l_elen = pgStream.ReceiveIntegerR(4); throw new PSQLException("postgresql.con.backend",encoding.decode(pgStream.Receive(l_elen-4))); case 'N': int l_nlen = pgStream.ReceiveIntegerR(4); addWarning(encoding.decode(pgStream.Receive(l_nlen-4))); break; case 'S': //TODO: handle parameter status messages int l_len = pgStream.ReceiveIntegerR(4); String l_pStatus = encoding.decode(pgStream.Receive(l_len-4)); if (Driver.logDebug) Driver.debug("ParameterStatus="+ l_pStatus); break; default: if (Driver.logDebug) Driver.debug("invalid state="+ (char)beresp); throw new PSQLException("postgresql.con.setup"); } } while (beresp != 'Z'); // read ReadyForQuery if (pgStream.ReceiveIntegerR(4) != 5) throw new PSQLException("postgresql.con.setup"); //TODO: handle transaction status char l_tStatus = (char)pgStream.ReceiveChar(); // "pg_encoding_to_char(1)" will return 'EUC_JP' for a backend compiled with multibyte, // otherwise it's hardcoded to 'SQL_ASCII'. // If the backend doesn't know about multibyte we can't assume anything about the encoding // used, so we denote this with 'UNKNOWN'. //Note: begining with 7.2 we should be using pg_client_encoding() which //is new in 7.2. However it isn't easy to conditionally call this new //function, since we don't yet have the information as to what server //version we are talking to. Thus we will continue to call //getdatabaseencoding() until we drop support for 7.1 and older versions //or until someone comes up with a conditional way to run one or //the other function depending on server version that doesn't require //two round trips to the server per connection final String encodingQuery = "case when pg_encoding_to_char(1) = 'SQL_ASCII' then 'UNKNOWN' else getdatabaseencoding() end"; // Set datestyle and fetch db encoding in a single call, to avoid making // more than one round trip to the backend during connection startup. BaseResultSet resultSet = execSQL("set datestyle to 'ISO'; select version(), " + encodingQuery + ";"); if (! resultSet.next()) { throw new PSQLException("postgresql.con.failed", "failed getting backend encoding"); } String version = resultSet.getString(1); dbVersionNumber = extractVersionNumber(version); String dbEncoding = resultSet.getString(2); encoding = Encoding.getEncoding(dbEncoding, p_info.getProperty("charSet")); //In 7.3 we are forced to do a second roundtrip to handle the case //where a database may not be running in autocommit mode //jdbc by default assumes autocommit is on until setAutoCommit(false) //is called. Therefore we need to ensure a new connection is //initialized to autocommit on. //We also set the client encoding so that the driver only needs //to deal with utf8. We can only do this in 7.3 because multibyte //support is now always included if (haveMinimumServerVersion("7.3")) { BaseResultSet acRset = //TODO: if protocol V3 we can set the client encoding in startup execSQL("set client_encoding = 'UNICODE'"); //set encoding to be unicode encoding = Encoding.getEncoding("UNICODE", null); } // Initialise object handling initObjectTypes(); // Mark the connection as ok, and cleanup PG_STATUS = CONNECTION_OK; }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/6e93868448b5865def90afe6f30990ceb61cdde4/AbstractJdbc1Connection.java/clean/org/postgresql/jdbc1/AbstractJdbc1Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 24982, 58, 23, 12, 780, 293, 67, 2564, 16, 509, 293, 67, 655, 16, 6183, 293, 67, 1376, 16, 514, 293, 67, 6231, 16, 514, 293, 67, 718, 16, 9396, 293, 67, 72, 16, 514, 293, 67, 3664, 13, 1216, 6483, 202, 225, 288, 202, 202, 18679, 28252, 17581, 273, 890, 31, 202, 202, 430, 261, 4668, 18, 1330, 2829, 13, 1082, 202, 4668, 18, 4148, 2932, 7736, 4547, 4049, 23, 8863, 202, 202, 759, 4494, 732, 1608, 358, 4872, 471, 1366, 392, 5832, 11850, 4414, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 261, 1202, 6745, 13, 288, 9506, 202, 430, 261, 4668, 18, 1330, 2829, 13, 6862, 202, 4668, 18, 4148, 2932, 23663, 310, 1438, 309, 518, 6146, 5832, 8863, 9506, 202, 8365, 1228, 18, 3826, 4522, 12, 28, 16, 24, 1769, 9506, 202, 8365, 1228, 18, 3826, 4522, 12, 3672, 28, 4700, 23494, 16, 24, 1769, 9506, 202, 759, 2037, 3663, 326, 5832, 12640, 358, 326, 4221, 9506, 202, 8365, 1228, 18, 11330, 5621, 9506, 202, 759, 4494, 336, 326, 766, 628, 326, 4221, 16, 3344, 392, 555, 883, 9506, 202, 759, 578, 392, 5107, 590, 9506, 202, 474, 324, 11737, 84, 273, 7184, 1228, 18, 11323, 2156, 5621, 9506, 202, 430, 261, 4668, 18, 1330, 2829, 13, 6862, 202, 4668, 18, 4148, 2932, 2081, 766, 1703, 261, 55, 33, 22352, 16, 50, 33, 2279, 4672, 13773, 12, 3001, 13, 744, 281, 84, 1769, 9506, 202, 9610, 261, 744, 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, 24982, 58, 23, 12, 780, 293, 67, 2564, 16, 509, 293, 67, 655, 16, 6183, 293, 67, 1376, 16, 514, 293, 67, 6231, 16, 514, 293, 67, 718, 16, 9396, 293, 67, 72, 16, 514, 293, 67, 3664, 13, 1216, 6483, 202, 225, 288, 202, 202, 18679, 28252, 17581, 273, 890, 31, 202, 202, 430, 261, 4668, 18, 1330, 2829, 13, 1082, 202, 4668, 18, 4148, 2932, 7736, 4547, 4049, 23, 8863, 202, 202, 759, 4494, 732, 1608, 358, 4872, 471, 1366, 392, 5832, 11850, 4414, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 261, 1202, 6745, 13, 288, 9506, 202, 430, 261, 4668, 18, 1330, 2829, 13, 6862, 202, 4668, 18, 4148, 2932, 2 ]
if (debugLevel >= 3) { addByteCode(ByteCode.ALOAD_1); addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_2); addStaticInvoke("org/mozilla/javascript/debug/NativeDelegate", "executeDebug", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/NativeFunction;" + "Lorg/mozilla/javascript/Scriptable;)", "Ljava/lang/Object;"); } else { addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_1); addByteCode(ByteCode.ALOAD_2); addByteCode(ByteCode.DUP); addByteCode(ByteCode.ACONST_NULL); addVirtualInvoke(slashName, "call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)", "Ljava/lang/Object;"); }
addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_1); addByteCode(ByteCode.ALOAD_2); addByteCode(ByteCode.DUP); addByteCode(ByteCode.ACONST_NULL); addVirtualInvoke(slashName, "call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)", "Ljava/lang/Object;");
private void generateExecute(Context cx) { String signature = "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;)" + "Ljava/lang/Object;"; startNewMethod("exec", signature, 2, false, true); String slashName = this.name.replace('.', '/'); if (!trivialInit) { // to begin a script, call the initScript method addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ByteCode.ALOAD_2); // load 'scope' addByteCode(ByteCode.ALOAD_1); // load 'cx' addVirtualInvoke(slashName, "initScript", "(Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Context;)", "V"); } if (debugLevel >= 3) { addByteCode(ByteCode.ALOAD_1); // load 'cx' addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ByteCode.ALOAD_2); // load 'scope' addStaticInvoke("org/mozilla/javascript/debug/NativeDelegate", "executeDebug", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/NativeFunction;" + "Lorg/mozilla/javascript/Scriptable;)", "Ljava/lang/Object;"); } else { addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ByteCode.ALOAD_1); // load 'cx' addByteCode(ByteCode.ALOAD_2); // load 'scope' addByteCode(ByteCode.DUP); addByteCode(ByteCode.ACONST_NULL); addVirtualInvoke(slashName, "call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)", "Ljava/lang/Object;"); } addByteCode(ByteCode.ARETURN); finishMethod(cx, null); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/9ad35a1fffb9bcd2d764ce33979ed3f91bfe8393/Codegen.java/buggy/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 5289, 12, 1042, 9494, 13, 288, 3639, 514, 3372, 273, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 397, 18701, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 31, 2225, 397, 21821, 315, 21159, 19, 4936, 19, 921, 4868, 31, 3639, 787, 1908, 1305, 2932, 4177, 3113, 3372, 16, 576, 16, 629, 16, 638, 1769, 3639, 514, 9026, 461, 273, 333, 18, 529, 18, 2079, 2668, 1093, 16, 2023, 1769, 3639, 309, 16051, 313, 20109, 2570, 13, 288, 5411, 368, 358, 2376, 279, 2728, 16, 745, 326, 1208, 3651, 707, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 368, 1262, 296, 2211, 11, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 22, 1769, 368, 1262, 296, 4887, 11, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 21, 1769, 368, 1262, 296, 71, 92, 11, 5411, 527, 6466, 10969, 12, 12877, 461, 16, 12900, 315, 2738, 3651, 3113, 12900, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 397, 12900, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 31, 2225, 16, 12900, 315, 58, 8863, 3639, 289, 3639, 309, 261, 4148, 2355, 1545, 890, 13, 288, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 21, 1769, 368, 1262, 296, 71, 92, 11, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 5289, 12, 1042, 9494, 13, 288, 3639, 514, 3372, 273, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 397, 18701, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 31, 2225, 397, 21821, 315, 21159, 19, 4936, 19, 921, 4868, 31, 3639, 787, 1908, 1305, 2932, 4177, 3113, 3372, 16, 576, 16, 629, 16, 638, 1769, 3639, 514, 9026, 461, 273, 333, 18, 529, 18, 2079, 2668, 1093, 16, 2023, 1769, 3639, 309, 16051, 313, 20109, 2570, 13, 288, 5411, 368, 358, 2376, 279, 2728, 16, 745, 326, 1208, 3651, 707, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 368, 1262, 296, 2211, 11, 2 ]
log.debug("cert_password = " + this.cert_password);
if(log.isDebugEnabled()){ log.debug("cert_password = " + this.cert_password); }
public void setValue(Properties properties) { log.debug("setting values on X509Token1_5 object"); if(properties.containsKey(X509Token1_5.TOKEN_ATTR)){ this.token_attr = (String) properties.get(X509Token1_5.TOKEN_ATTR); properties.remove(X509Token1_5.TOKEN_ATTR); log.debug("token_attr = " + this.token_attr); } if(properties.containsKey(X509Token1_5.KEYSTORE_TYPE)){ this.keystore_type = (String) properties.get(X509Token1_5.KEYSTORE_TYPE); properties.remove(X509Token1_5.KEYSTORE_TYPE); log.debug("keystore_type = " + this.keystore_type); }else{ this.keystore_type = "JKS"; log.debug("keystore_type = " + this.keystore_type); } if(properties.containsKey(X509Token1_5.KEYSTORE_PATH)){ this.keystore_path = (String) properties.get(X509Token1_5.KEYSTORE_PATH); properties.remove(X509Token1_5.KEYSTORE_PATH); log.debug("keystore_path = " + this.keystore_path); } if(properties.containsKey(X509Token1_5.KEYSTORE_PASSWORD)){ this.keystore_password = ((String) properties.get(X509Token1_5.KEYSTORE_PASSWORD)).toCharArray(); properties.remove(X509Token1_5.KEYSTORE_PASSWORD); log.debug("keystore_password = " + this.keystore_password); } if(properties.containsKey(X509Token1_5.CERT_ALIAS)){ this.cert_alias = (String) properties.get(X509Token1_5.CERT_ALIAS); properties.remove(X509Token1_5.CERT_ALIAS); log.debug("cert_alias = " + this.cert_alias); } if(properties.containsKey(X509Token1_5.CERT_PASSWORD)){ this.cert_password = ((String) properties.get(X509Token1_5.CERT_PASSWORD)).toCharArray(); properties.remove(X509Token1_5.CERT_PASSWORD); log.debug("cert_password = " + this.cert_password); }else{ this.cert_password = this.keystore_password; log.debug("cert_password = " + this.cert_password); } if(properties.containsKey(X509Token1_5.CIPHER_TYPE)){ this.cipher_type = (String) properties.get(X509Token1_5.CIPHER_TYPE); properties.remove(X509Token1_5.CIPHER_TYPE); log.debug("cipher_type = " + this.cipher_type); }else{ this.cipher_type = "RSA"; log.debug("cipher_type = " + this.cipher_type); } if(getCertificate()){ this.valueSet = true; log.debug("X509Token1_5 created correctly"); } }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/00009177ae09a0e763e35d49dfcdfc4da0a63f99/X509Token1_5.java/clean/src/org/jgroups/auth/X509Token1_5.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5524, 12, 2297, 1790, 13, 288, 3639, 613, 18, 4148, 2932, 8920, 924, 603, 1139, 5995, 1345, 21, 67, 25, 733, 8863, 3639, 309, 12, 4738, 18, 12298, 653, 12, 60, 5995, 1345, 21, 67, 25, 18, 8412, 67, 12043, 3719, 95, 5411, 333, 18, 2316, 67, 1747, 273, 261, 780, 13, 1790, 18, 588, 12, 60, 5995, 1345, 21, 67, 25, 18, 8412, 67, 12043, 1769, 5411, 1790, 18, 4479, 12, 60, 5995, 1345, 21, 67, 25, 18, 8412, 67, 12043, 1769, 5411, 613, 18, 4148, 2932, 2316, 67, 1747, 273, 315, 397, 333, 18, 2316, 67, 1747, 1769, 3639, 289, 3639, 309, 12, 4738, 18, 12298, 653, 12, 60, 5995, 1345, 21, 67, 25, 18, 3297, 13651, 67, 2399, 3719, 95, 5411, 333, 18, 856, 2233, 67, 723, 273, 261, 780, 13, 1790, 18, 588, 12, 60, 5995, 1345, 21, 67, 25, 18, 3297, 13651, 67, 2399, 1769, 5411, 1790, 18, 4479, 12, 60, 5995, 1345, 21, 67, 25, 18, 3297, 13651, 67, 2399, 1769, 5411, 613, 18, 4148, 2932, 856, 2233, 67, 723, 273, 315, 397, 333, 18, 856, 2233, 67, 723, 1769, 3639, 289, 12107, 95, 5411, 333, 18, 856, 2233, 67, 723, 273, 315, 19474, 55, 14432, 5411, 613, 18, 4148, 2932, 856, 2233, 67, 723, 273, 315, 397, 333, 18, 856, 2233, 67, 723, 1769, 3639, 289, 3639, 309, 12, 4738, 18, 12298, 653, 12, 60, 5995, 1345, 21, 67, 25, 18, 3297, 13651, 67, 4211, 3719, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5524, 12, 2297, 1790, 13, 288, 3639, 613, 18, 4148, 2932, 8920, 924, 603, 1139, 5995, 1345, 21, 67, 25, 733, 8863, 3639, 309, 12, 4738, 18, 12298, 653, 12, 60, 5995, 1345, 21, 67, 25, 18, 8412, 67, 12043, 3719, 95, 5411, 333, 18, 2316, 67, 1747, 273, 261, 780, 13, 1790, 18, 588, 12, 60, 5995, 1345, 21, 67, 25, 18, 8412, 67, 12043, 1769, 5411, 1790, 18, 4479, 12, 60, 5995, 1345, 21, 67, 25, 18, 8412, 67, 12043, 1769, 5411, 613, 18, 4148, 2932, 2316, 67, 1747, 273, 315, 397, 333, 18, 2316, 67, 1747, 1769, 3639, 289, 3639, 309, 12, 4738, 18, 12298, 653, 12, 60, 5995, 1345, 21, 67, 25, 2 ]
else if (name.equals(Constants.DOM_CDATA_SECTIONS)) {
else if (name.equalsIgnoreCase(Constants.DOM_CDATA_SECTIONS)) {
public void setParameter(String name, Object value) throws DOMException { // REVISIT: Recognizes DOM L3 default features only. // Does not yet recognize Xerces features. if(value instanceof Boolean){ boolean state = ((Boolean)value).booleanValue(); if (name.equals(Constants.DOM_COMMENTS)) { features = (short) (state ? features | COMMENTS : features & ~COMMENTS); } else if (name.equals(Constants.DOM_DATATYPE_NORMALIZATION)) { setFeature(NORMALIZE_DATA, state); features = (short) (state ? features | DTNORMALIZATION : features & ~DTNORMALIZATION); if (state) { features = (short) (features | VALIDATE); } } else if (name.equals(Constants.DOM_NAMESPACES)) { features = (short) (state ? features | NAMESPACES : features & ~NAMESPACES); } else if (name.equals(Constants.DOM_CDATA_SECTIONS)) { features = (short) (state ? features | CDATA : features & ~CDATA); } else if (name.equals(Constants.DOM_ENTITIES)) { features = (short) (state ? features | ENTITIES : features & ~ENTITIES); } else if (name.equals(Constants.DOM_SPLIT_CDATA)) { features = (short) (state ? features | SPLITCDATA : features & ~SPLITCDATA); } else if (name.equals(Constants.DOM_VALIDATE)) { features = (short) (state ? features | VALIDATE : features & ~VALIDATE); } else if (name.equals(Constants.DOM_WELLFORMED)) { features = (short) (state ? features | WELLFORMED : features & ~WELLFORMED ); } else if (name.equals(Constants.DOM_INFOSET)) { // Setting to false has no effect. if (state) { features = (short) (features | INFOSET_TRUE_PARAMS); features = (short) (features & ~INFOSET_FALSE_PARAMS); setFeature(NORMALIZE_DATA, false); } } else if (name.equals(Constants.DOM_NORMALIZE_CHARACTERS) || name.equals(Constants.DOM_CANONICAL_FORM) || name.equals(Constants.DOM_VALIDATE_IF_SCHEMA) || name.equals(Constants.DOM_CHECK_CHAR_NORMALIZATION) ) { if (state) { // true is not supported String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equals(Constants.DOM_NAMESPACE_DECLARATIONS) || name.equals(Constants.DOM_ELEMENT_CONTENT_WHITESPACE)) { if (!state) { // false is not supported String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equals(SEND_PSVI) ){ // REVISIT: turning augmentation of PSVI is not support, // because in this case we won't be able to retrieve element // default value. if (!state) { // false is not supported String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equals(Constants.DOM_PSVI)){ features = (short) (state ? features | PSVI : features & ~PSVI); } else { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_FOUND", new Object[] { name }); throw new DOMException(DOMException.NOT_FOUND_ERR, msg); } } else { // set properties if (name.equals(Constants.DOM_ERROR_HANDLER)) { if (value instanceof DOMErrorHandler) { fErrorHandlerWrapper.setErrorHandler((DOMErrorHandler)value); setErrorHandler(fErrorHandlerWrapper); } else { // REVISIT: type mismatch String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equals(Constants.DOM_RESOURCE_RESOLVER)) { if (value instanceof LSResourceResolver) { try { setEntityResolver(new DOMEntityResolverWrapper((LSResourceResolver) value)); } catch (XMLConfigurationException e) {} } else { // REVISIT: type mismatch String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equals(Constants.DOM_SCHEMA_LOCATION)) { if (value instanceof String) { try { String schemaType = (String) getProperty( Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_LANGUAGE); if (schemaType == Constants.NS_XMLSCHEMA) { // map DOM schema-location to JAXP schemaSource property setProperty( Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_SOURCE, value); } else { // schemaType must not be null. // REVISIT: allow pre-parsing DTD grammars String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } catch (XMLConfigurationException e) {} } else { // REVISIT: type mismatch String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equals(Constants.DOM_SCHEMA_TYPE)) { // REVISIT: should null value be supported? if (value instanceof String) { try { if (value.equals(Constants.NS_XMLSCHEMA)) { // REVISIT: when add support to DTD validation setProperty( Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_LANGUAGE, Constants.NS_XMLSCHEMA); } else if (value.equals(Constants.NS_DTD)) { // REVISIT: revalidation against DTDs is not supported String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } catch (XMLConfigurationException e) {} } else { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equals(SYMBOL_TABLE)){ // Xerces Symbol Table if (value instanceof SymbolTable){ setProperty(SYMBOL_TABLE, value); } else { // REVISIT: type mismatch String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equals (GRAMMAR_POOL)){ if (value instanceof XMLGrammarPool){ setProperty(GRAMMAR_POOL, value); } else { // REVISIT: type mismatch String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else { // REVISIT: check if this is a boolean parameter -- type mismatch should be thrown. //parameter is not recognized String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_FOUND", new Object[] { name }); throw new DOMException(DOMException.NOT_FOUND_ERR, msg); } } }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/533ebf030a7b0e9b294007b8c69adbacd68acc35/DOMConfigurationImpl.java/clean/src/org/apache/xerces/dom/DOMConfigurationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6690, 12, 780, 508, 16, 1033, 460, 13, 1216, 4703, 503, 288, 3639, 368, 2438, 26780, 1285, 30, 7776, 4198, 3128, 4703, 511, 23, 805, 4467, 1338, 18, 3639, 368, 1850, 9637, 486, 4671, 21431, 1139, 264, 764, 4467, 18, 202, 202, 430, 12, 1132, 1276, 3411, 15329, 202, 565, 202, 202, 6494, 919, 273, 14015, 5507, 13, 1132, 2934, 6494, 620, 5621, 5411, 309, 261, 529, 18, 14963, 12, 2918, 18, 8168, 67, 12200, 55, 3719, 288, 7734, 4467, 273, 261, 6620, 13, 261, 2019, 692, 4467, 571, 19400, 55, 294, 4467, 473, 4871, 12200, 55, 1769, 5411, 289, 5411, 469, 309, 261, 529, 18, 14963, 12, 2918, 18, 8168, 67, 11102, 789, 1738, 67, 15480, 25084, 3719, 288, 7734, 28669, 12, 15480, 15641, 67, 4883, 16, 919, 1769, 7734, 4467, 273, 10792, 261, 6620, 13, 261, 2019, 692, 4467, 571, 10696, 15480, 25084, 294, 4467, 473, 4871, 9081, 15480, 25084, 1769, 7734, 309, 261, 2019, 13, 288, 10792, 4467, 273, 261, 6620, 13, 261, 7139, 571, 15093, 1777, 1769, 7734, 289, 5411, 289, 5411, 469, 309, 261, 529, 18, 14963, 12, 2918, 18, 8168, 67, 11368, 55, 3719, 288, 7734, 4467, 273, 261, 6620, 13, 261, 2019, 692, 4467, 571, 18494, 55, 294, 4467, 473, 4871, 11368, 55, 1769, 5411, 289, 5411, 469, 309, 261, 529, 18, 14963, 5556, 12, 2918, 18, 8168, 67, 18375, 67, 19082, 55, 3719, 288, 7734, 4467, 273, 261, 6620, 13, 261, 2019, 692, 4467, 571, 28294, 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, 6690, 12, 780, 508, 16, 1033, 460, 13, 1216, 4703, 503, 288, 3639, 368, 2438, 26780, 1285, 30, 7776, 4198, 3128, 4703, 511, 23, 805, 4467, 1338, 18, 3639, 368, 1850, 9637, 486, 4671, 21431, 1139, 264, 764, 4467, 18, 202, 202, 430, 12, 1132, 1276, 3411, 15329, 202, 565, 202, 202, 6494, 919, 273, 14015, 5507, 13, 1132, 2934, 6494, 620, 5621, 5411, 309, 261, 529, 18, 14963, 12, 2918, 18, 8168, 67, 12200, 55, 3719, 288, 7734, 4467, 273, 261, 6620, 13, 261, 2019, 692, 4467, 571, 19400, 55, 294, 4467, 473, 4871, 12200, 55, 1769, 5411, 289, 5411, 469, 309, 261, 529, 18, 14963, 12, 2918, 18, 8168, 67, 11102, 789, 1738, 67, 2 ]
throw new BadElementException("You can't add listitems, rows, cells, jpgs, gifs or pngs to a cell.");
throw new BadElementException("You can't add listitems, rows or cells to a cell.");
public final void addElement(Element element) throws BadElementException { if (isTable()) { Table table = (Table) arrayList.get(0); Cell tmp = new Cell(element); tmp.setBorder(NO_BORDER); tmp.setColspan(table.columns()); table.addCell(tmp); return; } switch(element.type()) { case Element.LISTITEM: case Element.ROW: case Element.CELL: throw new BadElementException("You can't add listitems, rows, cells, jpgs, gifs or pngs to a cell."); case Element.JPEG: case Element.IMGRAW: case Element.IMGTEMPLATE: case Element.GIF: case Element.PNG: arrayList.add(element); break; case Element.LIST: if (leading < 0) { leading = ((List) element).leading(); } if (((List) element).size() == 0) return; arrayList.add(element); return; case Element.ANCHOR: case Element.PARAGRAPH: case Element.PHRASE: if (leading < 0) { leading = ((Phrase) element).leading(); } if (((Phrase) element).isEmpty()) return; arrayList.add(element); return; case Element.CHUNK: if (((Chunk) element).isEmpty()) return; arrayList.add(element); return; case Element.TABLE: Table table = new Table(3); float[] widths = new float[3]; widths[1] = ((Table)element).widthPercentage(); widths[0] = (100f - widths[1]) / 2f; widths[2] = widths[0]; table.setWidths(widths); Cell tmp; if (arrayList.size() == 0) { table.addCell(DUMMY_CELL); } else { tmp = new Cell(); tmp.setBorder(NO_BORDER); tmp.setColspan(3); for (Iterator i = arrayList.iterator(); i.hasNext(); ) { tmp.add((Element) i.next()); } table.addCell(tmp); } tmp = new Cell(); tmp.setBorder(NO_BORDER); table.addCell(tmp); table.insertTable((Table)element); table.addCell(tmp); table.addCell(DUMMY_CELL); clear(); arrayList.add(table); return; default: arrayList.add(element); } }
4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/585768e0c48cab06c94532ec5e7608084e7b7545/Cell.java/clean/src/com/lowagie/text/Cell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 9335, 12, 1046, 930, 13, 1216, 6107, 20826, 288, 3639, 309, 261, 291, 1388, 10756, 288, 5411, 3555, 1014, 273, 261, 1388, 13, 526, 682, 18, 588, 12, 20, 1769, 5411, 8614, 1853, 273, 394, 8614, 12, 2956, 1769, 5411, 1853, 18, 542, 8107, 12, 3417, 67, 38, 7954, 1769, 5411, 1853, 18, 542, 914, 3969, 12, 2121, 18, 5112, 10663, 5411, 1014, 18, 1289, 4020, 12, 5645, 1769, 5411, 327, 31, 3639, 289, 3639, 1620, 12, 2956, 18, 723, 10756, 288, 5411, 648, 3010, 18, 7085, 12674, 30, 5411, 648, 3010, 18, 11226, 30, 5411, 648, 3010, 18, 27752, 30, 7734, 604, 394, 6107, 20826, 2932, 6225, 848, 1404, 527, 666, 3319, 16, 2595, 578, 5983, 358, 279, 2484, 1199, 1769, 5411, 648, 3010, 18, 28698, 30, 5411, 648, 3010, 18, 3445, 43, 10821, 30, 5411, 648, 3010, 18, 3445, 43, 12205, 30, 5411, 648, 3010, 18, 43, 5501, 30, 5411, 648, 3010, 18, 23092, 30, 7734, 526, 682, 18, 1289, 12, 2956, 1769, 7734, 898, 31, 5411, 648, 3010, 18, 7085, 30, 7734, 309, 261, 27200, 411, 374, 13, 288, 10792, 7676, 273, 14015, 682, 13, 930, 2934, 27200, 5621, 7734, 289, 7734, 309, 261, 12443, 682, 13, 930, 2934, 1467, 1435, 422, 374, 13, 327, 31, 7734, 526, 682, 18, 1289, 12, 2956, 1769, 7734, 327, 31, 5411, 648, 3010, 18, 20360, 916, 30, 5411, 648, 3010, 18, 2778, 1781, 54, 18045, 30, 5411, 648, 3010, 18, 8939, 2849, 1090, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 9335, 12, 1046, 930, 13, 1216, 6107, 20826, 288, 3639, 309, 261, 291, 1388, 10756, 288, 5411, 3555, 1014, 273, 261, 1388, 13, 526, 682, 18, 588, 12, 20, 1769, 5411, 8614, 1853, 273, 394, 8614, 12, 2956, 1769, 5411, 1853, 18, 542, 8107, 12, 3417, 67, 38, 7954, 1769, 5411, 1853, 18, 542, 914, 3969, 12, 2121, 18, 5112, 10663, 5411, 1014, 18, 1289, 4020, 12, 5645, 1769, 5411, 327, 31, 3639, 289, 3639, 1620, 12, 2956, 18, 723, 10756, 288, 5411, 648, 3010, 18, 7085, 12674, 30, 5411, 648, 3010, 18, 11226, 30, 5411, 648, 3010, 18, 27752, 30, 7734, 604, 394, 6107, 20826, 2932, 6225, 848, 1404, 527, 666, 3319, 16, 2595, 2 ]
m_assertEnabled = flag;
m_assertEnabled= flag;
public void setEnableAssert(boolean flag) { m_assertEnabled = flag; }
46166 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46166/75c0741cfb0fc75ef79c70ec78da0a1cd8144089/TestNGAntTask.java/clean/src/main/org/testng/TestNGAntTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 8317, 8213, 12, 6494, 2982, 13, 288, 565, 312, 67, 11231, 1526, 33, 2982, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 918, 444, 8317, 8213, 12, 6494, 2982, 13, 288, 565, 312, 67, 11231, 1526, 33, 2982, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
mTache.setEtat(2) ;
mTache.setListe("etat", new Integer(2)) ;
public String traiter () throws ServletException { try { Date dateFinChrono = new Date () ; // dclaration d'un calendrier GregorianCalendar calendrierFinChrono = new GregorianCalendar(); // initialise le calendrier la valeur calendrierFinChrono calendrierFinChrono.setTime(dateFinChrono); switch(idBoutonClique){ // cas ou on appuie sur le bouton commencer case 1 : // si la tache tait dans l'tat non dmarr if (mTache.getEtat() == 0) { // on met l etat de la tache 'commenc' et on retient la date de dbut // on met la date de fin restime (i.e relle) la date de fin prvue // on retient la date courante mTache.setEtat(1) ; mTache.setDateDebutReelle(new Date()) ; //si la date de dbut relle est diffrente de celle prvue ; on modifie la date de fin restime if(mTache.getDateDebutPrevue() != mTache.getDateDebutReelle()) { long ecartDate = mTache.getDateFinPrevue().getTime() + mTache.getDateDebutReelle().getTime() - mTache.getDateDebutPrevue().getTime(); mTache.setDateFinReelle(new Date(ecartDate)) ; } else { mTache.setDateFinReelle(mTache.getDateFinPrevue()) ; } mTache.setDateDebutChrono(new Date().getTime()) ; // Le collaborateur a maintenant une tche en cours mCollaborateur.setTacheEnCours(mTache.getId()) ; } // si la tache tait dans l'tat suspendu if (mTache.getEtat() == 2) { // on met l etat de la tache 'commenc' et on retient la date de dbut mTache.setEtat(1) ; mTache.setDateDebutChrono(new Date().getTime()) ; // Le collaborateur a maintenant une tche en cours mCollaborateur.setTacheEnCours(mTache.getId()) ; } // Met jour l'tat de la tche dans la base de donnes getBaseDonnees ().begin () ; getBaseDonnees ().update (mTache) ; getBaseDonnees ().update (mCollaborateur) ; getBaseDonnees ().commit () ; // Transmet les donnes la JSP d'affichage. return "ListeTacheVisu" ; // cas ou on appuie sur le bouton suspendre case 2 : // on met l etat de la tache 'suspendu' mTache.setEtat(2) ; // calcul du temps pass // temps pass = date de fin du chrono - date de dbut du chrono long difftps = calendrierFinChrono.getTime().getTime() - mTache.getDateDebutChrono(); // conversion du temps en minutes int tps = (int)(difftps/(60*1000.0)); mTache.setTempsPasse(mTache.getTempsPasse() + tps) ; // calcul du reste passer = Reste passer - temps pass double rps = mTache.getResteAPasser() - tps ; // le reste passer ne peut pas tre ngatif if ( rps < 0 ) rps = 0 ; mTache.setResteAPasser(rps) ; // Transmet les donnes la JSP d'affichage. getRequete ().setAttribute (CConstante.PAR_TACHE, mTache) ; return "..\\JSP\\Tache\\TValidationRapport.jsp?pIdBoutonClique="+idBoutonClique ; // cas ou on appuie sur le bouton terminer case 3 : // on met l etat de la tache 'termin' mTache.setEtat(3) ; // on met le reste passer 0 et la date de fin restime la date courante mTache.setResteAPasser(0); mTache.setDateFinReelle(new Date()) ; // calcul du temps pass // temps pass = date de fin du chrono - date de dbut du chrono long difftps2 = calendrierFinChrono.getTime().getTime() - mTache.getDateDebutChrono(); // conversion du temps en minutes int tps2 = (int)(difftps2/(60*1000.0)); mTache.setTempsPasse(mTache.getTempsPasse() + tps2) ; // Transmet les donnes la JSP d'affichage. getRequete ().setAttribute (CConstante.PAR_TACHE, mTache) ; return "..\\JSP\\Tache\\TValidationRapport.jsp?pIdBoutonClique="+idBoutonClique ; default : // Transmet les donnes la JSP d'affichage. return "ListeTacheVisu" ; } } catch (Exception eException) { eException.printStackTrace () ; throw new ServletException (CConstante.EXC_TRAITEMENT) ; } // Ferme la connexion la base de donnes. finally { try { getBaseDonnees ().close () ; } catch (PersistenceException eException) { eException.printStackTrace () ; throw new ServletException (CConstante.EXC_DECONNEXION) ; } } }
8474 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8474/1e9e977d7cfd03e68eec5267e46682c760512583/CEtat.java/clean/owep/Java/owep/controle/tache/CEtat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1284, 2165, 1832, 1216, 16517, 565, 288, 3639, 775, 1377, 288, 3639, 2167, 1509, 6187, 20235, 83, 273, 394, 2167, 1832, 274, 3639, 368, 302, 830, 4302, 302, 11, 318, 1443, 409, 10342, 3639, 28033, 1443, 409, 10342, 6187, 20235, 83, 273, 394, 28033, 5621, 3639, 368, 21301, 884, 1443, 409, 10342, 225, 7125, 1244, 73, 295, 1443, 409, 10342, 6187, 20235, 83, 3639, 1443, 409, 10342, 6187, 20235, 83, 18, 542, 950, 12, 712, 6187, 20235, 83, 1769, 7734, 1620, 12, 350, 38, 659, 265, 12265, 1857, 15329, 10792, 368, 8697, 16694, 603, 595, 89, 1385, 5056, 884, 31095, 265, 1543, 23568, 1850, 648, 404, 294, 2398, 368, 7533, 7125, 268, 807, 268, 1540, 26224, 328, 1404, 270, 1661, 302, 3684, 86, 2868, 309, 261, 81, 56, 807, 18, 588, 41, 88, 270, 1435, 422, 374, 13, 2398, 288, 7734, 368, 603, 5100, 328, 3393, 270, 443, 7125, 268, 807, 225, 296, 5702, 1331, 11, 3393, 603, 325, 1979, 7125, 1509, 443, 1319, 322, 7734, 368, 603, 5100, 7125, 1509, 443, 574, 3127, 494, 261, 77, 18, 73, 1279, 298, 13, 225, 7125, 1509, 443, 574, 846, 90, 344, 7734, 368, 603, 325, 1979, 7125, 1509, 21833, 7974, 7734, 21115, 807, 18, 542, 41, 88, 270, 12, 21, 13, 274, 1171, 21115, 807, 18, 542, 1626, 758, 12885, 426, 292, 298, 12, 2704, 2167, 10756, 274, 4766, 368, 7722, 7125, 1509, 443, 1319, 322, 1279, 298, 4387, 3122, 547, 73, 443, 25357, 298, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1284, 2165, 1832, 1216, 16517, 565, 288, 3639, 775, 1377, 288, 3639, 2167, 1509, 6187, 20235, 83, 273, 394, 2167, 1832, 274, 3639, 368, 302, 830, 4302, 302, 11, 318, 1443, 409, 10342, 3639, 28033, 1443, 409, 10342, 6187, 20235, 83, 273, 394, 28033, 5621, 3639, 368, 21301, 884, 1443, 409, 10342, 225, 7125, 1244, 73, 295, 1443, 409, 10342, 6187, 20235, 83, 3639, 1443, 409, 10342, 6187, 20235, 83, 18, 542, 950, 12, 712, 6187, 20235, 83, 1769, 7734, 1620, 12, 350, 38, 659, 265, 12265, 1857, 15329, 10792, 368, 8697, 16694, 603, 595, 89, 1385, 5056, 884, 31095, 265, 1543, 23568, 1850, 648, 404, 294, 2398, 368, 7533, 7125, 268, 807, 268, 1540, 26224, 2 ]
this.questions = EMPTY; this.answers = EMPTY;
this.questions = Collections.EMPTY_LIST; this.answers = Collections.EMPTY_LIST; this.receivedTime = System.currentTimeMillis();
DNSIncoming(DatagramPacket packet) throws IOException { this.packet = packet; this.data = packet.getData(); this.len = packet.getLength(); this.off = packet.getOffset(); this.questions = EMPTY; this.answers = EMPTY; try { id = readUnsignedShort(); flags = readUnsignedShort(); numQuestions = readUnsignedShort(); numAnswers = readUnsignedShort(); numAuthorities = readUnsignedShort(); numAdditionals = readUnsignedShort(); // parse questions if (numQuestions > 0) { questions = new Vector(numQuestions); for (int i = 0 ; i < numQuestions ; i++) { DNSQuestion question = new DNSQuestion(readName(), readUnsignedShort(), readUnsignedShort()); questions.add(question); } } // parse answers int n = numAnswers + numAuthorities + numAdditionals; if (n > 0) { answers = new Vector(n); for (int i = 0 ; i < n ; i++) { String domain = readName(); int type = readUnsignedShort(); int clazz = readUnsignedShort(); int ttl = readInt(); int len = readUnsignedShort(); int end = off + len; DNSRecord rec = null; switch (type) { case DNSConstants.TYPE_A: rec = new DNSRecord.Address(domain, type, clazz, ttl, readInt()); break; case DNSConstants.TYPE_CNAME: case DNSConstants.TYPE_PTR: rec = new DNSRecord.Pointer(domain, type, clazz, ttl, readName()); break; case DNSConstants.TYPE_TXT: rec = new DNSRecord.Text(domain, type, clazz, ttl, readBytes(off, len)); break; case DNSConstants.TYPE_SRV: rec = new DNSRecord.Service(domain, type, clazz, ttl, readUnsignedShort(), readUnsignedShort(), readUnsignedShort(), readName()); break; default : //System.out.println("DNSIncoming unknown type:"+type); break; } if (rec != null) { // Add a record, if we were able to create one. answers.add(rec); } else { // Addjust the numbers for the skipped record if (answers.size() < numAnswers) { numAnswers--; } else if (answers.size() < numAnswers + numAuthorities) { numAuthorities--; } else if (answers.size() < numAnswers + numAuthorities + numAdditionals) { numAdditionals--; } } off = end; } } } catch (IOException e) { print(true); throw e; } }
51459 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51459/0163ae0c157c3a896ab369894d8c4302792969c3/DNSIncoming.java/buggy/jmdns/src/javax/jmdns/DNSIncoming.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8858, 20370, 12, 5139, 17049, 6667, 4414, 13, 1216, 1860, 288, 3639, 333, 18, 11482, 273, 4414, 31, 3639, 333, 18, 892, 273, 4414, 18, 588, 751, 5621, 3639, 333, 18, 1897, 273, 4414, 18, 588, 1782, 5621, 3639, 333, 18, 3674, 273, 4414, 18, 588, 2335, 5621, 3639, 333, 18, 9758, 273, 8984, 31, 3639, 333, 18, 22340, 273, 8984, 31, 7734, 775, 288, 5411, 612, 273, 28198, 5621, 5411, 2943, 273, 28198, 5621, 5411, 818, 30791, 1115, 273, 28198, 5621, 5411, 818, 19543, 273, 28198, 5621, 5411, 818, 3594, 1961, 273, 28198, 5621, 5411, 818, 30296, 1031, 273, 28198, 5621, 13491, 368, 1109, 13494, 5411, 309, 261, 2107, 30791, 1115, 405, 374, 13, 288, 7734, 13494, 273, 394, 5589, 12, 2107, 30791, 1115, 1769, 7734, 364, 261, 474, 277, 273, 374, 274, 277, 411, 818, 30791, 1115, 274, 277, 27245, 288, 10792, 8858, 11665, 5073, 273, 394, 8858, 11665, 12, 896, 461, 9334, 28198, 9334, 28198, 10663, 10792, 13494, 18, 1289, 12, 4173, 1769, 7734, 289, 5411, 289, 13491, 368, 1109, 12415, 5411, 509, 290, 273, 818, 19543, 397, 818, 3594, 1961, 397, 818, 30296, 1031, 31, 5411, 309, 261, 82, 405, 374, 13, 288, 7734, 12415, 273, 394, 5589, 12, 82, 1769, 7734, 364, 261, 474, 277, 273, 374, 274, 277, 411, 290, 274, 277, 27245, 288, 10792, 514, 2461, 273, 855, 461, 5621, 10792, 509, 618, 273, 28198, 5621, 10792, 509, 4003, 273, 28198, 5621, 10792, 509, 6337, 273, 13731, 5621, 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, 8858, 20370, 12, 5139, 17049, 6667, 4414, 13, 1216, 1860, 288, 3639, 333, 18, 11482, 273, 4414, 31, 3639, 333, 18, 892, 273, 4414, 18, 588, 751, 5621, 3639, 333, 18, 1897, 273, 4414, 18, 588, 1782, 5621, 3639, 333, 18, 3674, 273, 4414, 18, 588, 2335, 5621, 3639, 333, 18, 9758, 273, 8984, 31, 3639, 333, 18, 22340, 273, 8984, 31, 7734, 775, 288, 5411, 612, 273, 28198, 5621, 5411, 2943, 273, 28198, 5621, 5411, 818, 30791, 1115, 273, 28198, 5621, 5411, 818, 19543, 273, 28198, 5621, 5411, 818, 3594, 1961, 273, 28198, 5621, 5411, 818, 30296, 1031, 273, 28198, 5621, 13491, 368, 1109, 13494, 5411, 309, 261, 2107, 30791, 1115, 405, 374, 13, 288, 7734, 13494, 2 ]
public Message(String message, String details, IMessage.Kind kind, ISourceLocation sourceLocation, Throwable thrown, ISourceLocation[] extraSourceLocations) { this(message,details,kind,sourceLocation,thrown,extraSourceLocations,false,0,-1,-1); }
public Message(String message, ISourceLocation location, boolean isError) { this(message, (isError ? IMessage.ERROR : IMessage.WARNING), null, location); }
public Message(String message, String details, IMessage.Kind kind, ISourceLocation sourceLocation, Throwable thrown, ISourceLocation[] extraSourceLocations) { this(message,details,kind,sourceLocation,thrown,extraSourceLocations,false,0,-1,-1); }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/4cf9913a74c804176c04e9cc5effcbea24289418/Message.java/buggy/bridge/src/org/aspectj/bridge/Message.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2350, 12, 780, 883, 16, 514, 3189, 16, 467, 1079, 18, 5677, 3846, 16, 3196, 202, 45, 1830, 2735, 1084, 2735, 16, 4206, 6718, 16, 467, 1830, 2735, 8526, 2870, 1830, 10985, 13, 288, 202, 202, 2211, 12, 2150, 16, 6395, 16, 9224, 16, 3168, 2735, 16, 12849, 82, 16, 7763, 1830, 10985, 16, 5743, 16, 20, 16, 17, 21, 16, 17, 21, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2350, 12, 780, 883, 16, 514, 3189, 16, 467, 1079, 18, 5677, 3846, 16, 3196, 202, 45, 1830, 2735, 1084, 2735, 16, 4206, 6718, 16, 467, 1830, 2735, 8526, 2870, 1830, 10985, 13, 288, 202, 202, 2211, 12, 2150, 16, 6395, 16, 9224, 16, 3168, 2735, 16, 12849, 82, 16, 7763, 1830, 10985, 16, 5743, 16, 20, 16, 17, 21, 16, 17, 21, 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 ]
TextFragmentBox box = null; int i; for (i = 0; i < fragments.size(); i++) { box = (TextFragmentBox)fragments.get(i); if (box.getTextTop() > p.y) break; box = null;
TextFragmentBox closestBox = null; int index = 0; for (int i = fragments.size() - 1; i >= 0; i--) { TextFragmentBox box = (TextFragmentBox)fragments.get(i); if (box.getBaseline() - box.getLineRoot().contentAscent > p.y && (closestBox == null || box.getBaseline() < closestBox.getBaseline() || hDistanceBetween(box, p.x) < hDistanceBetween(closestBox, p.x))) { closestBox = box; index = i; }
private int findNextLineOffset(Point p) { if (getBounds().bottom() < p.y) return -1; TextFragmentBox box = null; int i; for (i = 0; i < fragments.size(); i++) { box = (TextFragmentBox)fragments.get(i); if (box.getTextTop() > p.y) break; box = null; } if (box == null) return -1; TextLayout layout = FlowUtilities.getTextLayout(); layout.setFont(getFont()); String fragString = getBidiSubstring(box, i); layout.setText(fragString); int trailing[] = new int[1]; int x = p.x - box.getX(); if (isMirrored()) x = box.getWidth() - x; int layoutOffset = layout.getOffset(x, p.y - box.getTextTop(), trailing) + trailing[0]; return box.offset + layoutOffset;}
11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/0baec18ab26c903d37544c843e8bdec92a23abe0/TextFlow.java/buggy/org.eclipse.draw2d/src/org/eclipse/draw2d/text/TextFlow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 509, 19429, 1670, 2335, 12, 2148, 293, 13, 288, 202, 430, 261, 588, 5694, 7675, 9176, 1435, 411, 293, 18, 93, 13, 202, 202, 2463, 300, 21, 31, 202, 1528, 7456, 3514, 3919, 273, 446, 31, 202, 474, 277, 31, 202, 1884, 261, 77, 273, 374, 31, 277, 411, 14656, 18, 1467, 5621, 277, 27245, 288, 202, 202, 2147, 273, 261, 1528, 7456, 3514, 13, 29528, 18, 588, 12, 77, 1769, 202, 202, 430, 261, 2147, 18, 588, 1528, 3401, 1435, 405, 293, 18, 93, 13, 1082, 202, 8820, 31, 202, 202, 2147, 273, 446, 31, 202, 97, 202, 430, 261, 2147, 422, 446, 13, 202, 202, 2463, 300, 21, 31, 202, 1528, 3744, 3511, 273, 9473, 11864, 18, 588, 1528, 3744, 5621, 202, 6741, 18, 542, 5711, 12, 588, 5711, 10663, 202, 202, 780, 10111, 780, 273, 2882, 350, 77, 1676, 1080, 12, 2147, 16, 277, 1769, 202, 6741, 18, 542, 1528, 12, 17073, 780, 1769, 202, 474, 7341, 8526, 273, 394, 509, 63, 21, 15533, 202, 474, 619, 273, 293, 18, 92, 300, 3919, 18, 588, 60, 5621, 202, 430, 261, 291, 49, 481, 23226, 10756, 202, 202, 92, 273, 3919, 18, 588, 2384, 1435, 300, 619, 31, 202, 474, 3511, 2335, 273, 3511, 18, 588, 2335, 12, 92, 16, 293, 18, 93, 300, 3919, 18, 588, 1528, 3401, 9334, 7341, 13, 1082, 202, 15, 7341, 63, 20, 15533, 202, 2463, 3919, 18, 3348, 397, 3511, 2335, 31, 97, 2, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 509, 19429, 1670, 2335, 12, 2148, 293, 13, 288, 202, 430, 261, 588, 5694, 7675, 9176, 1435, 411, 293, 18, 93, 13, 202, 202, 2463, 300, 21, 31, 202, 1528, 7456, 3514, 3919, 273, 446, 31, 202, 474, 277, 31, 202, 1884, 261, 77, 273, 374, 31, 277, 411, 14656, 18, 1467, 5621, 277, 27245, 288, 202, 202, 2147, 273, 261, 1528, 7456, 3514, 13, 29528, 18, 588, 12, 77, 1769, 202, 202, 430, 261, 2147, 18, 588, 1528, 3401, 1435, 405, 293, 18, 93, 13, 1082, 202, 8820, 31, 202, 202, 2147, 273, 446, 31, 202, 97, 202, 430, 261, 2147, 422, 446, 13, 202, 202, 2463, 300, 21, 31, 202, 1528, 3744, 3511, 273, 9473, 11864, 2 ]
.getActiveWorkbenchShell(), wizard);
.getActiveWorkbenchShell(), wizard) { protected void finishPressed() { ((ManifestEditor)getPage().getEditor()).ensurePluginContextPresence(); super.finishPressed(); } };
public void run() { NewExtensionWizard wizard = new NewExtensionWizard( project, (IPluginModelBase) getPage() .getModel(), (ManifestEditor)getPage().getPDEEditor()); WizardDialog dialog = new WizardDialog(PDEPlugin .getActiveWorkbenchShell(), wizard); dialog.create(); SWTUtil.setDialogSize(dialog, 500, 500); dialog.open(); }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/d310ca6376b9403e0f6ee8265afd4f0a650da210/ExtensionsSection.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExtensionsSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 1435, 288, 25083, 202, 1908, 3625, 27130, 24204, 273, 394, 1166, 3625, 27130, 12, 6862, 9506, 202, 4406, 16, 261, 45, 3773, 1488, 2171, 13, 8957, 1435, 6862, 25083, 202, 18, 588, 1488, 9334, 261, 9121, 6946, 13, 588, 1964, 7675, 588, 52, 1639, 6946, 10663, 25083, 202, 27130, 6353, 6176, 273, 394, 678, 13412, 6353, 12, 52, 1639, 3773, 6862, 9506, 202, 18, 588, 3896, 2421, 22144, 13220, 9334, 24204, 1769, 25083, 202, 12730, 18, 2640, 5621, 25083, 202, 55, 8588, 1304, 18, 542, 6353, 1225, 12, 12730, 16, 6604, 16, 6604, 1769, 25083, 202, 12730, 18, 3190, 5621, 6862, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 1435, 288, 25083, 202, 1908, 3625, 27130, 24204, 273, 394, 1166, 3625, 27130, 12, 6862, 9506, 202, 4406, 16, 261, 45, 3773, 1488, 2171, 13, 8957, 1435, 6862, 25083, 202, 18, 588, 1488, 9334, 261, 9121, 6946, 13, 588, 1964, 7675, 588, 52, 1639, 6946, 10663, 25083, 202, 27130, 6353, 6176, 273, 394, 678, 13412, 6353, 12, 52, 1639, 3773, 6862, 9506, 202, 18, 588, 3896, 2421, 22144, 13220, 9334, 24204, 1769, 25083, 202, 12730, 18, 2640, 5621, 25083, 202, 55, 8588, 1304, 18, 542, 6353, 1225, 12, 12730, 16, 6604, 16, 6604, 1769, 25083, 202, 12730, 18, 3190, 5621, 6862, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super( conn_, type, concurrency ); rawQueryString = conn_.nativeSQL(sql); int i; int numberOfParameters = ParameterUtils.countParameters( rawQueryString ); parameterList = new ParameterListItem[numberOfParameters]; for ( i = 0; i < numberOfParameters; i++ ) parameterList[i] = new ParameterListItem();
this( conn_, sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY );
public PreparedStatement_base(TdsConnection conn_, String sql, int type, int concurrency ) throws SQLException { super( conn_, type, concurrency ); rawQueryString = conn_.nativeSQL(sql); int i; int numberOfParameters = ParameterUtils.countParameters( rawQueryString ); parameterList = new ParameterListItem[numberOfParameters]; for ( i = 0; i < numberOfParameters; i++ ) parameterList[i] = new ParameterListItem(); }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/082f6b97f424e9550bf490d66efbe1c288b8df9b/PreparedStatement_base.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/PreparedStatement_base.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16913, 67, 1969, 12, 56, 2377, 1952, 1487, 67, 16, 514, 1847, 16, 509, 618, 16, 509, 17752, 262, 1216, 6483, 565, 288, 3639, 2240, 12, 1487, 67, 16, 618, 16, 17752, 11272, 3639, 1831, 15276, 273, 1487, 27799, 13635, 3997, 12, 4669, 1769, 3639, 509, 277, 31, 3639, 509, 7922, 2402, 273, 5498, 1989, 18, 1883, 2402, 12, 1831, 15276, 11272, 3639, 1569, 682, 273, 394, 5498, 13575, 63, 2696, 951, 2402, 15533, 3639, 364, 261, 277, 273, 374, 31, 277, 411, 7922, 2402, 31, 277, 9904, 262, 5411, 1569, 682, 63, 77, 65, 273, 394, 5498, 13575, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16913, 67, 1969, 12, 56, 2377, 1952, 1487, 67, 16, 514, 1847, 16, 509, 618, 16, 509, 17752, 262, 1216, 6483, 565, 288, 3639, 2240, 12, 1487, 67, 16, 618, 16, 17752, 11272, 3639, 1831, 15276, 273, 1487, 27799, 13635, 3997, 12, 4669, 1769, 3639, 509, 277, 31, 3639, 509, 7922, 2402, 273, 5498, 1989, 18, 1883, 2402, 12, 1831, 15276, 11272, 3639, 1569, 682, 273, 394, 5498, 13575, 63, 2696, 951, 2402, 15533, 3639, 364, 261, 277, 273, 374, 31, 277, 411, 7922, 2402, 31, 277, 9904, 262, 5411, 1569, 682, 63, 77, 65, 273, 394, 5498, 13575, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertTrue("GrantedAuthorities does not contain ROLE_2", list.contains(role2));
assertTrue("GrantedAuthorities does not contain ROLE_2", list.contains(role2));
public void testFull() throws Exception { GrantedAuthorityImpl role1 = new GrantedAuthorityImpl("ROLE_1"); GrantedAuthorityImpl role2 = new GrantedAuthorityImpl("ROLE_2"); GrantedAuthority[] defaultAuths = new GrantedAuthority[]{ role1, role2, }; UsernamePasswordAuthenticationToken token = new UsernamePasswordAuthenticationToken("user", "password", defaultAuths); assertTrue(jaasProvider.supports(UsernamePasswordAuthenticationToken.class)); Authentication auth = jaasProvider.authenticate(token); assertNotNull(jaasProvider.getAuthorityGranters()); assertNotNull(jaasProvider.getCallbackHandlers()); assertNotNull(jaasProvider.getLoginConfig()); assertNotNull(jaasProvider.getLoginContextName()); List list = Arrays.asList(auth.getAuthorities()); assertTrue("GrantedAuthorities does not contain ROLE_TEST", list.contains(new GrantedAuthorityImpl("ROLE_TEST"))); assertTrue("GrantedAuthorities does not contain ROLE_1", list.contains(role1)); assertTrue("GrantedAuthorities does not contain ROLE_2", list.contains(role2)); boolean foundit = false; for (int i = 0; i < list.size(); i++) { Object obj = list.get(i); if (obj instanceof JaasGrantedAuthority) { JaasGrantedAuthority grant = (JaasGrantedAuthority) obj; assertNotNull("Principal was null on JaasGrantedAuthority", grant.getPrincipal()); foundit = true; } } assertTrue("Could not find a JaasGrantedAuthority", foundit); assertNotNull("Success event not fired", eventCheck.successEvent); assertEquals("Auth objects are not equal", auth, eventCheck.successEvent.getAuthentication()); assertNull("Failure event was fired", eventCheck.failedEvent); }
29994 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29994/e006f521f44c502299cf2412ebd71c5efd8645ba/JaasAuthenticationProviderTests.java/clean/core/src/test/java/org/acegisecurity/providers/jaas/JaasAuthenticationProviderTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5080, 1435, 1216, 1185, 288, 3639, 19689, 329, 10962, 2828, 2478, 21, 273, 394, 19689, 329, 10962, 2828, 2932, 16256, 67, 21, 8863, 3639, 19689, 329, 10962, 2828, 2478, 22, 273, 394, 19689, 329, 10962, 2828, 2932, 16256, 67, 22, 8863, 3639, 19689, 329, 10962, 8526, 805, 1730, 87, 273, 394, 19689, 329, 10962, 63, 7073, 5411, 2478, 21, 16, 5411, 2478, 22, 16, 3639, 289, 31, 3639, 11313, 3913, 6492, 1345, 1147, 273, 394, 11313, 3913, 6492, 1345, 2932, 1355, 3113, 315, 3664, 3113, 805, 1730, 87, 1769, 3639, 1815, 5510, 12, 12333, 345, 2249, 18, 28064, 12, 8575, 3913, 6492, 1345, 18, 1106, 10019, 3639, 8665, 1357, 273, 525, 18020, 2249, 18, 22035, 12, 2316, 1769, 3639, 25395, 12, 12333, 345, 2249, 18, 588, 10962, 43, 2450, 5432, 10663, 3639, 25395, 12, 12333, 345, 2249, 18, 588, 2428, 6919, 10663, 3639, 25395, 12, 12333, 345, 2249, 18, 588, 5358, 809, 10663, 3639, 25395, 12, 12333, 345, 2249, 18, 588, 5358, 1042, 461, 10663, 3639, 987, 666, 273, 5647, 18, 345, 682, 12, 1944, 18, 588, 3594, 1961, 10663, 3639, 1815, 5510, 2932, 14570, 3594, 1961, 1552, 486, 912, 22005, 67, 16961, 3113, 7734, 666, 18, 12298, 12, 2704, 19689, 329, 10962, 2828, 2932, 16256, 67, 16961, 6, 3719, 1769, 3639, 1815, 5510, 2932, 14570, 3594, 1961, 1552, 486, 912, 22005, 67, 21, 3113, 666, 18, 12298, 12, 4615, 21, 10019, 3639, 1815, 5510, 2932, 14570, 3594, 1961, 1552, 486, 912, 22005, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5080, 1435, 1216, 1185, 288, 3639, 19689, 329, 10962, 2828, 2478, 21, 273, 394, 19689, 329, 10962, 2828, 2932, 16256, 67, 21, 8863, 3639, 19689, 329, 10962, 2828, 2478, 22, 273, 394, 19689, 329, 10962, 2828, 2932, 16256, 67, 22, 8863, 3639, 19689, 329, 10962, 8526, 805, 1730, 87, 273, 394, 19689, 329, 10962, 63, 7073, 5411, 2478, 21, 16, 5411, 2478, 22, 16, 3639, 289, 31, 3639, 11313, 3913, 6492, 1345, 1147, 273, 394, 11313, 3913, 6492, 1345, 2932, 1355, 3113, 315, 3664, 3113, 805, 1730, 87, 1769, 3639, 1815, 5510, 12, 12333, 345, 2249, 18, 28064, 12, 8575, 3913, 6492, 1345, 18, 1106, 10019, 3639, 8665, 1357, 273, 525, 18020, 2249, 18, 22035, 2 ]
private OverlayPreferenceStore createOverlayStore(MarkerAnnotationPreferences preferences) { ArrayList overlayKeys = new ArrayList(); Iterator e = preferences.getAnnotationPreferences().iterator(); while (e.hasNext()) { AnnotationPreference info = (AnnotationPreference) e.next(); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, info.getColorPreferenceKey())); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, info.getTextPreferenceKey())); overlayKeys.add( new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, info.getOverviewRulerPreferenceKey())); } overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, CEditor.PREFERENCE_COLOR_FOREGROUND)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN,CEditor.PREFERENCE_COLOR_FOREGROUND_SYSTEM_DEFAULT)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, CEditor.PREFERENCE_COLOR_BACKGROUND)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN,CEditor.PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.INT, CSourceViewerConfiguration.PREFERENCE_TAB_WIDTH)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ICColorConstants.C_MULTI_LINE_COMMENT)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ICColorConstants.C_MULTI_LINE_COMMENT + "_bold")); //$NON-NLS-1$ overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ICColorConstants.C_SINGLE_LINE_COMMENT)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ICColorConstants.C_SINGLE_LINE_COMMENT + "_bold")); //$NON-NLS-1$ overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ICColorConstants.C_KEYWORD)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ICColorConstants.C_KEYWORD + "_bold")); //$NON-NLS-1$ overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ICColorConstants.C_TYPE)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ICColorConstants.C_TYPE + "_bold")); //$NON-NLS-1$ overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ICColorConstants.C_STRING)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ICColorConstants.C_STRING + "_bold")); //$NON-NLS-1$ overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ICColorConstants.C_DEFAULT)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ICColorConstants.C_DEFAULT + "_bold")); //$NON-NLS-1$ overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, CEditor.MATCHING_BRACKETS_COLOR)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, CEditor.MATCHING_BRACKETS)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ExtendedTextEditorPreferenceConstants.EDITOR_CURRENT_LINE_COLOR)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ExtendedTextEditorPreferenceConstants.EDITOR_CURRENT_LINE)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, CEditor.SPACES_FOR_TABS)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ExtendedTextEditorPreferenceConstants.EDITOR_PRINT_MARGIN_COLOR)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.INT, ExtendedTextEditorPreferenceConstants.EDITOR_PRINT_MARGIN_COLUMN)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ExtendedTextEditorPreferenceConstants.EDITOR_PRINT_MARGIN)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, CEditor.LINKED_POSITION_COLOR)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ExtendedTextEditorPreferenceConstants.EDITOR_LINE_NUMBER_RULER_COLOR)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ExtendedTextEditorPreferenceConstants.EDITOR_LINE_NUMBER_RULER)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ExtendedTextEditorPreferenceConstants.EDITOR_OVERVIEW_RULER)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.INT, ContentAssistPreference.AUTOACTIVATION_DELAY)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ContentAssistPreference.AUTOINSERT)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.INT, ContentAssistPreference.TIMEOUT_DELAY)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ContentAssistPreference.PROPOSALS_BACKGROUND)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ContentAssistPreference.PROPOSALS_FOREGROUND)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ContentAssistPreference.PARAMETERS_BACKGROUND)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ContentAssistPreference.PARAMETERS_FOREGROUND)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ContentAssistPreference.AUTOACTIVATION_TRIGGERS_DOT)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ContentAssistPreference.AUTOACTIVATION_TRIGGERS_ARROW)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, ContentAssistPreference.AUTOACTIVATION_TRIGGERS_DOUBLECOLON)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ContentAssistPreference.SHOW_DOCUMENTED_PROPOSALS)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ContentAssistPreference.ORDER_PROPOSALS)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ContentAssistPreference.ADD_INCLUDE)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ContentAssistPreference.CURRENT_FILE_SEARCH_SCOPE)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ContentAssistPreference.PROJECT_SEARCH_SCOPE)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, PreferenceConstants.EDITOR_TASK_TAG_COLOR)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, PreferenceConstants.EDITOR_TASK_TAG_BOLD)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, PreferenceConstants.EDITOR_TASK_INDICATION_COLOR)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, PreferenceConstants.EDITOR_TASK_INDICATION)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, PreferenceConstants.EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER)); overlayKeys.add(new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, CEditor.HYPERLINK_ENABLED)); OverlayPreferenceStore.OverlayKey[] keys = new OverlayPreferenceStore.OverlayKey[overlayKeys.size()]; overlayKeys.toArray(keys); return new OverlayPreferenceStore(getPreferenceStore(), keys); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/5c3d8fdb41948b0b9be7acf9eded59d2ea88c0d8/CEditorPreferencePage.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CEditorPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 26834, 9624, 2257, 752, 11627, 2257, 12, 7078, 3257, 12377, 12750, 13, 288, 202, 202, 19558, 9218, 2396, 273, 394, 2407, 5621, 202, 202, 3198, 425, 273, 12750, 18, 588, 3257, 12377, 7675, 9838, 5621, 202, 202, 17523, 261, 73, 18, 5332, 2134, 10756, 288, 1082, 202, 3257, 9624, 1123, 273, 261, 3257, 9624, 13, 425, 18, 4285, 5621, 1082, 202, 17312, 2396, 18, 1289, 12, 2704, 26834, 9624, 2257, 18, 11627, 653, 12, 11627, 9624, 2257, 18, 5804, 16, 1123, 18, 588, 2957, 9624, 653, 1435, 10019, 1082, 202, 17312, 2396, 18, 1289, 12, 2704, 26834, 9624, 2257, 18, 11627, 653, 12, 11627, 9624, 2257, 18, 17900, 16, 1123, 18, 588, 1528, 9624, 653, 1435, 10019, 1082, 202, 17312, 2396, 18, 1289, 12, 9506, 202, 2704, 26834, 9624, 2257, 18, 11627, 653, 12, 11627, 9624, 2257, 18, 17900, 16, 1123, 18, 588, 26648, 54, 17040, 9624, 653, 1435, 10019, 202, 202, 97, 202, 202, 17312, 2396, 18, 1289, 12, 2704, 26834, 9624, 2257, 18, 11627, 653, 12, 11627, 9624, 2257, 18, 5804, 16, 385, 6946, 18, 3670, 10830, 67, 10989, 67, 3313, 5937, 15092, 10019, 202, 202, 17312, 2396, 18, 1289, 12, 2704, 26834, 9624, 2257, 18, 11627, 653, 12, 11627, 9624, 2257, 18, 17900, 16, 1441, 72, 1811, 18, 3670, 10830, 67, 10989, 67, 3313, 5937, 15092, 67, 14318, 67, 5280, 10019, 202, 202, 17312, 2396, 18, 1289, 12, 2704, 26834, 9624, 2257, 18, 11627, 653, 12, 11627, 9624, 2257, 18, 5804, 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, 26834, 9624, 2257, 752, 11627, 2257, 12, 7078, 3257, 12377, 12750, 13, 288, 202, 202, 19558, 9218, 2396, 273, 394, 2407, 5621, 202, 202, 3198, 425, 273, 12750, 18, 588, 3257, 12377, 7675, 9838, 5621, 202, 202, 17523, 261, 73, 18, 5332, 2134, 10756, 288, 1082, 202, 3257, 9624, 1123, 273, 261, 3257, 9624, 13, 425, 18, 4285, 5621, 1082, 202, 17312, 2396, 18, 1289, 12, 2704, 26834, 9624, 2257, 18, 11627, 653, 12, 11627, 9624, 2257, 18, 5804, 16, 1123, 18, 588, 2957, 9624, 653, 1435, 10019, 1082, 202, 17312, 2396, 18, 1289, 12, 2704, 26834, 9624, 2257, 18, 11627, 653, 12, 11627, 9624, 2257, 18, 17900, 16, 1123, 18, 588, 1528, 9624, 653, 1435, 2 ]
fEntityHandler.endEntity(fCurrentEntity.name);
fEntityHandler.endEntity(fCurrentEntity.name, null);
void endEntity() throws XNIException { // call handler if (DEBUG_BUFFER) { System.out.print("(endEntity: "); print(fCurrentEntity); System.out.println(); } if (fEntityHandler != null) { fEntityHandler.endEntity(fCurrentEntity.name); } // Close the reader for the current entity once we're // done with it, and remove it from our stack. If parsing // is halted at some point, the rest of the readers on // the stack will be closed during cleanup. try { fCurrentEntity.reader.close(); } catch (IOException e) { // ignore } // REVISIT: We should never encounter underflow if the calls // to startEntity and endEntity are balanced, but guard // against the EmptyStackException for now. -- mrglavas if(!fReaderStack.isEmpty()) { fReaderStack.pop(); } // Pop entity stack. fCurrentEntity = fEntityStack.size() > 0 ? (ScannedEntity)fEntityStack.pop() : null; fEntityScanner.setCurrentEntity(fCurrentEntity); if (DEBUG_BUFFER) { System.out.print(")endEntity: "); print(fCurrentEntity); System.out.println(); } } // endEntity()
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/c142befb61e52fe4cf95c40bd1466d0d99b41900/XMLEntityManager.java/buggy/src/org/apache/xerces/impl/XMLEntityManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 679, 1943, 1435, 1216, 1139, 50, 45, 503, 288, 3639, 368, 745, 1838, 3639, 309, 261, 9394, 67, 11302, 13, 288, 5411, 2332, 18, 659, 18, 1188, 2932, 12, 409, 1943, 30, 315, 1769, 5411, 1172, 12, 74, 3935, 1943, 1769, 5411, 2332, 18, 659, 18, 8222, 5621, 3639, 289, 3639, 309, 261, 74, 1943, 1503, 480, 446, 13, 288, 5411, 284, 1943, 1503, 18, 409, 1943, 12, 74, 3935, 1943, 18, 529, 16, 446, 1769, 3639, 289, 7734, 368, 3527, 326, 2949, 364, 326, 783, 1522, 3647, 732, 4565, 540, 368, 2731, 598, 518, 16, 471, 1206, 518, 628, 3134, 2110, 18, 971, 5811, 3639, 368, 353, 19514, 2344, 622, 2690, 1634, 16, 326, 3127, 434, 326, 16527, 603, 3639, 368, 326, 2110, 903, 506, 4375, 4982, 6686, 18, 3639, 775, 288, 5411, 284, 3935, 1943, 18, 10530, 18, 4412, 5621, 3639, 289, 3639, 1044, 261, 14106, 425, 13, 288, 5411, 368, 2305, 3639, 289, 3639, 368, 2438, 26780, 1285, 30, 1660, 1410, 5903, 8273, 3613, 2426, 309, 326, 4097, 3639, 368, 358, 787, 1943, 471, 679, 1943, 854, 11013, 72, 16, 1496, 11026, 3639, 368, 5314, 326, 8953, 2624, 503, 364, 2037, 18, 1493, 9752, 7043, 842, 345, 3639, 309, 12, 5, 74, 2514, 2624, 18, 291, 1921, 10756, 288, 5411, 284, 2514, 2624, 18, 5120, 5621, 3639, 289, 540, 368, 10264, 1522, 2110, 18, 3639, 284, 3935, 1943, 273, 284, 1943, 2624, 18, 1467, 1435, 405, 374, 15604, 692, 261, 1541, 10041, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 679, 1943, 1435, 1216, 1139, 50, 45, 503, 288, 3639, 368, 745, 1838, 3639, 309, 261, 9394, 67, 11302, 13, 288, 5411, 2332, 18, 659, 18, 1188, 2932, 12, 409, 1943, 30, 315, 1769, 5411, 1172, 12, 74, 3935, 1943, 1769, 5411, 2332, 18, 659, 18, 8222, 5621, 3639, 289, 3639, 309, 261, 74, 1943, 1503, 480, 446, 13, 288, 5411, 284, 1943, 1503, 18, 409, 1943, 12, 74, 3935, 1943, 18, 529, 16, 446, 1769, 3639, 289, 7734, 368, 3527, 326, 2949, 364, 326, 783, 1522, 3647, 732, 4565, 540, 368, 2731, 598, 518, 16, 471, 1206, 518, 628, 3134, 2110, 18, 971, 5811, 3639, 368, 353, 19514, 2344, 622, 2690, 1634, 16, 326, 3127, 434, 2 ]
int offset = fc.index << 2;
int offset = fc.offset.toInt();
protected final OPT_MemoryOperand MO_MC(OPT_Instruction s) { OPT_Operand base = Binary.getVal1(s); OPT_Operand val = Binary.getVal2(s); if (val instanceof OPT_FloatConstantOperand) { OPT_FloatConstantOperand fc = (OPT_FloatConstantOperand)val; int offset = fc.index << 2; OPT_LocationOperand loc = new OPT_LocationOperand(offset); if (base instanceof OPT_IntConstantOperand) { return MO_D(IV(base)+offset, DW, loc, TG()); } else { return MO_BD(Binary.getVal1(s), offset, DW, loc, TG()); } } else { OPT_DoubleConstantOperand dc = (OPT_DoubleConstantOperand)val; int offset = dc.index << 2; OPT_LocationOperand loc = new OPT_LocationOperand(offset); if (base instanceof OPT_IntConstantOperand) { return MO_D(IV(base)+offset, QW, loc, TG()); } else { return MO_BD(Binary.getVal1(s), offset, QW, loc, TG()); } } }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/512b7ae853c6979c3f6acf302871ef9527123d44/OPT_BURS_MemOp_Helpers.java/buggy/rvm/src/vm/compilers/optimizing/ir/conversions/lir2mir/OPT_BURS_MemOp_Helpers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 16456, 67, 6031, 10265, 16070, 67, 20022, 12, 15620, 67, 11983, 272, 13, 288, 565, 16456, 67, 10265, 1026, 273, 7896, 18, 588, 3053, 21, 12, 87, 1769, 565, 16456, 67, 10265, 1244, 273, 7896, 18, 588, 3053, 22, 12, 87, 1769, 565, 309, 261, 1125, 1276, 16456, 67, 4723, 6902, 10265, 13, 288, 1377, 16456, 67, 4723, 6902, 10265, 8036, 273, 261, 15620, 67, 4723, 6902, 10265, 13, 1125, 31, 1377, 509, 1384, 273, 8036, 18, 3348, 18, 869, 1702, 5621, 1377, 16456, 67, 2735, 10265, 1515, 273, 394, 16456, 67, 2735, 10265, 12, 3348, 1769, 1377, 309, 261, 1969, 1276, 16456, 67, 1702, 6902, 10265, 13, 288, 3639, 327, 16070, 67, 40, 12, 8188, 12, 1969, 27921, 3348, 16, 463, 59, 16, 1515, 16, 399, 43, 10663, 1377, 289, 469, 288, 3639, 327, 16070, 67, 18096, 12, 5905, 18, 588, 3053, 21, 12, 87, 3631, 1384, 16, 463, 59, 16, 1515, 16, 399, 43, 10663, 1377, 289, 565, 289, 469, 288, 1377, 16456, 67, 5265, 6902, 10265, 6744, 273, 261, 15620, 67, 5265, 6902, 10265, 13, 1125, 31, 1377, 509, 1384, 273, 6744, 18, 1615, 2296, 576, 31, 1377, 16456, 67, 2735, 10265, 1515, 273, 394, 16456, 67, 2735, 10265, 12, 3348, 1769, 1377, 309, 261, 1969, 1276, 16456, 67, 1702, 6902, 10265, 13, 288, 3639, 327, 16070, 67, 40, 12, 8188, 12, 1969, 27921, 3348, 16, 2238, 59, 16, 1515, 16, 399, 43, 10663, 1377, 289, 469, 288, 3639, 327, 16070, 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, 16456, 67, 6031, 10265, 16070, 67, 20022, 12, 15620, 67, 11983, 272, 13, 288, 565, 16456, 67, 10265, 1026, 273, 7896, 18, 588, 3053, 21, 12, 87, 1769, 565, 16456, 67, 10265, 1244, 273, 7896, 18, 588, 3053, 22, 12, 87, 1769, 565, 309, 261, 1125, 1276, 16456, 67, 4723, 6902, 10265, 13, 288, 1377, 16456, 67, 4723, 6902, 10265, 8036, 273, 261, 15620, 67, 4723, 6902, 10265, 13, 1125, 31, 1377, 509, 1384, 273, 8036, 18, 3348, 18, 869, 1702, 5621, 1377, 16456, 67, 2735, 10265, 1515, 273, 394, 16456, 67, 2735, 10265, 12, 3348, 1769, 1377, 309, 261, 1969, 1276, 16456, 67, 1702, 6902, 10265, 13, 288, 3639, 327, 16070, 67, 40, 12, 8188, 2 ]
throw new EvaluatorException(message, sourceName, line, lineSource, lineOffset);
if (chainedReporter != null) { return chainedReporter.runtimeError( message, sourceURI, line, lineText, lineOffset); } else { return new EvaluatorException( message, sourceURI, line, lineText, lineOffset); }
public EvaluatorException runtimeError(String message, String sourceName, int line, String lineSource, int lineOffset) { throw new EvaluatorException(message, sourceName, line, lineSource, lineOffset); }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/4414205de51bdf42acaabd12132990e8acd9fea0/DefaultErrorReporter.java/clean/src/org/mozilla/javascript/DefaultErrorReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 31956, 503, 3099, 668, 12, 780, 883, 16, 514, 28337, 16, 4766, 6647, 509, 980, 16, 514, 980, 1830, 16, 4766, 6647, 509, 980, 2335, 13, 565, 288, 3639, 604, 394, 31956, 503, 12, 2150, 16, 28337, 16, 980, 16, 19694, 980, 1830, 16, 980, 2335, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 31956, 503, 3099, 668, 12, 780, 883, 16, 514, 28337, 16, 4766, 6647, 509, 980, 16, 514, 980, 1830, 16, 4766, 6647, 509, 980, 2335, 13, 565, 288, 3639, 604, 394, 31956, 503, 12, 2150, 16, 28337, 16, 980, 16, 19694, 980, 1830, 16, 980, 2335, 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 ]
thread=new SleeperThread(SLEEP); runTest(thread);
SleeperThread thread=new SleeperThread(SLEEP); runTest(thread);
public void testSleepInterrupt() { thread=new SleeperThread(SLEEP); runTest(thread); }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/dd6282cd73f50a476093653aab3a8de52fc1c5c4/InterruptTest.java/clean/tests/junit/org/jgroups/tests/InterruptTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 20768, 14126, 1435, 288, 202, 5930, 33, 2704, 348, 11182, 457, 3830, 12, 55, 900, 10541, 1769, 202, 2681, 4709, 12, 5930, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 20768, 14126, 1435, 288, 202, 5930, 33, 2704, 348, 11182, 457, 3830, 12, 55, 900, 10541, 1769, 202, 2681, 4709, 12, 5930, 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 ]
public org.quickfix.field.BenchmarkPriceType getBenchmarkPriceType() throws FieldNotFound { org.quickfix.field.BenchmarkPriceType value = new org.quickfix.field.BenchmarkPriceType();
public quickfix.field.BenchmarkPriceType getBenchmarkPriceType() throws FieldNotFound { quickfix.field.BenchmarkPriceType value = new quickfix.field.BenchmarkPriceType();
public org.quickfix.field.BenchmarkPriceType getBenchmarkPriceType() throws FieldNotFound { org.quickfix.field.BenchmarkPriceType value = new org.quickfix.field.BenchmarkPriceType(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityList.java/buggy/src/java/src/quickfix/fix44/SecurityList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 559, 2882, 9737, 5147, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 559, 2882, 9737, 5147, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 559, 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 ]
if ( Platform.getExtensionRegistry( ) != null )
if ( isEclipseMode( ) )
public static URL getURL( String sPluginRelativePath ) { URL url = null; if ( Platform.getExtensionRegistry( ) != null ) { try { url = new URL( CoreUIPlugin.getDefault( ) .getBundle( ) .getEntry( "/" ), sPluginRelativePath ); //$NON-NLS-1$ } catch ( MalformedURLException e ) { WizardBase.displayException( e ); } } else { try { url = new URL( "file:///" + new File( sPluginRelativePath ).getAbsolutePath( ) ); //$NON-NLS-1$ } catch ( MalformedURLException e ) { WizardBase.displayException( e ); } } return url; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/f4298611861d413e6f895c73f8dde535a9a1d9d2/UIHelper.java/buggy/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/utils/UIHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1976, 19341, 12, 514, 272, 3773, 16519, 262, 202, 95, 202, 202, 1785, 880, 273, 446, 31, 202, 202, 430, 261, 11810, 18, 588, 3625, 4243, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 718, 273, 394, 1976, 12, 4586, 5370, 3773, 18, 588, 1868, 12, 262, 25083, 202, 18, 588, 3405, 12, 262, 25083, 202, 18, 588, 1622, 12, 4016, 262, 16, 272, 3773, 16519, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 14683, 261, 20710, 425, 262, 1082, 202, 95, 9506, 202, 27130, 2171, 18, 5417, 503, 12, 425, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 718, 273, 394, 1976, 12, 315, 768, 2207, 4898, 397, 394, 1387, 12, 272, 3773, 16519, 262, 18, 588, 10368, 743, 12, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 14683, 261, 20710, 425, 262, 1082, 202, 95, 9506, 202, 27130, 2171, 18, 5417, 503, 12, 425, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 880, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1976, 19341, 12, 514, 272, 3773, 16519, 262, 202, 95, 202, 202, 1785, 880, 273, 446, 31, 202, 202, 430, 261, 11810, 18, 588, 3625, 4243, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 718, 273, 394, 1976, 12, 4586, 5370, 3773, 18, 588, 1868, 12, 262, 25083, 202, 18, 588, 3405, 12, 262, 25083, 202, 18, 588, 1622, 12, 4016, 262, 16, 272, 3773, 16519, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 14683, 261, 20710, 425, 262, 1082, 202, 95, 9506, 202, 27130, 2171, 18, 5417, 503, 12, 425, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 202, 2 ]
byte[] getNetPacket(int streamId, byte buffer[]) throws IOException { synchronized (socketTable) { VirtualSocket vsock = lookup(streamId); // // Return any cached input // if (vsock.inputPkts > 0) { return dequeueInput(vsock); } // // See if we need to: // 1. Send a request // 2. Read and save another callers request // 3. Flush the end of our previous request and send a new one // if (responseOwner == -1 || responseOwner != streamId || vsock.flushInput) { byte[] tmpBuf; if (responseOwner != -1) { // Complex case there is another socket's data in the network pipe // or we had our own incomplete request to discard first // Read and store other socket's data or flush our own VirtualSocket other = (VirtualSocket)socketTable.get(responseOwner); do { tmpBuf = readPacket(null, other, 0); if (!other.flushInput) { // We need to save this input enqueueInput(other, tmpBuf); } } while (tmpBuf[1] == 0); // Read all data to complete TDS packet other.flushInput = false; } // OK All input either read and stored or read and discarded // now send our cached request packet. tmpBuf = dequeueOutput(vsock); if (tmpBuf == null) { // Oops something has gone wrong. Trying to read but no // complete request packet to send first. throw new IOException("No client request to send"); } while (tmpBuf != null) { getOut().write(tmpBuf, 0, getPktLen(tmpBuf, 2)); tmpBuf = dequeueOutput(vsock); } responseOwner = streamId; } // Simple case we are reading our input directly from the server buffer = readPacket(buffer, vsock, vsock.timeOut); return buffer; } }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/4c38649a7b6957fc5dc28eb631f0dcbb241e4ac6/SharedSocket.java/clean/src/main/net/sourceforge/jtds/jdbc/SharedSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1160, 8526, 336, 7308, 6667, 12, 474, 21035, 16, 1160, 1613, 63, 5717, 1216, 1860, 288, 3639, 3852, 261, 7814, 1388, 13, 288, 5411, 7269, 4534, 6195, 975, 273, 3689, 12, 3256, 548, 1769, 5411, 368, 5411, 368, 2000, 1281, 3472, 810, 5411, 368, 5411, 309, 261, 6904, 975, 18, 2630, 7789, 3428, 405, 374, 13, 288, 7734, 327, 29964, 1210, 12, 6904, 975, 1769, 5411, 289, 13491, 368, 5411, 368, 2164, 309, 732, 1608, 358, 30, 5411, 368, 225, 404, 18, 2479, 279, 590, 5411, 368, 225, 576, 18, 2720, 471, 1923, 4042, 19932, 590, 5411, 368, 225, 890, 18, 11624, 326, 679, 434, 3134, 2416, 590, 471, 1366, 279, 394, 1245, 5411, 368, 5411, 309, 261, 2740, 5541, 422, 300, 21, 747, 766, 5541, 480, 21035, 747, 6195, 975, 18, 11330, 1210, 13, 288, 7734, 1160, 8526, 1853, 5503, 31, 27573, 309, 261, 2740, 5541, 480, 300, 21, 13, 288, 10792, 368, 16060, 648, 1915, 353, 4042, 2987, 1807, 501, 316, 326, 2483, 6010, 10792, 368, 578, 732, 9323, 3134, 4953, 14715, 590, 358, 10388, 1122, 10792, 368, 2720, 471, 1707, 1308, 2987, 1807, 501, 578, 3663, 3134, 4953, 10792, 7269, 4534, 1308, 273, 261, 6466, 4534, 13, 7814, 1388, 18, 588, 12, 2740, 5541, 1769, 4766, 3639, 741, 288, 13491, 1853, 5503, 273, 855, 6667, 12, 2011, 16, 1308, 16, 374, 1769, 4766, 7734, 309, 16051, 3011, 18, 11330, 1210, 13, 288, 7682, 202, 759, 1660, 1608, 358, 1923, 333, 810, 18701, 12850, 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, 1160, 8526, 336, 7308, 6667, 12, 474, 21035, 16, 1160, 1613, 63, 5717, 1216, 1860, 288, 3639, 3852, 261, 7814, 1388, 13, 288, 5411, 7269, 4534, 6195, 975, 273, 3689, 12, 3256, 548, 1769, 5411, 368, 5411, 368, 2000, 1281, 3472, 810, 5411, 368, 5411, 309, 261, 6904, 975, 18, 2630, 7789, 3428, 405, 374, 13, 288, 7734, 327, 29964, 1210, 12, 6904, 975, 1769, 5411, 289, 13491, 368, 5411, 368, 2164, 309, 732, 1608, 358, 30, 5411, 368, 225, 404, 18, 2479, 279, 590, 5411, 368, 225, 576, 18, 2720, 471, 1923, 4042, 19932, 590, 5411, 368, 225, 890, 18, 11624, 326, 679, 434, 3134, 2416, 590, 471, 1366, 279, 394, 1245, 5411, 368, 5411, 309, 261, 2 ]
inFolderKey = null;
public void clearCache() { resourceNameKey = null; descriptionKey = null; inFolderKey = null; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3cb3c464f1eeb8cd773d462560821d8819aec0b7/ConcreteMarker.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ConcreteMarker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19346, 1435, 288, 3639, 9546, 653, 273, 446, 31, 3639, 2477, 653, 273, 446, 31, 6647, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19346, 1435, 288, 3639, 9546, 653, 273, 446, 31, 3639, 2477, 653, 273, 446, 31, 6647, 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 ]
setAccepted(false);
public void testQueryReplyHasProxiesAndCanGIV() throws Exception { drain(testUP[0]); // make sure leaf is sharing assertEquals(2, RouterService.getFileManager().getNumFiles()); // send a query that should be answered QueryRequest query = new QueryRequest(GUID.makeGuid(), (byte) 1, "berkeley", null, null, null, null, false, 0, false, 0); testUP[0].send(query); testUP[0].flush(); // await a response Message m = null; do { m = testUP[0].receive(TIMEOUT); } while (!(m instanceof QueryReply)) ; // confirm it has proxy info QueryReply reply = (QueryReply) m; assertNotNull(reply.getPushProxies()); // check out PushProxy info Set proxies = reply.getPushProxies(); assertEquals(1, proxies.size()); Iterator iter = proxies.iterator(); PushProxyInterface ppi = (PushProxyInterface)iter.next(); assertEquals(ppi.getPushProxyPort(), 6355); assertTrue(ppi.getPushProxyAddress().equals(InetAddress.getLocalHost())); // set up a ServerSocket to get give on ServerSocket ss = new ServerSocket(9000); ss.setReuseAddress(true); ss.setSoTimeout(TIMEOUT); // test that the client responds to a PushRequest PushRequest pr = new PushRequest(GUID.makeGuid(), (byte) 1, RouterService.getMessageRouter()._clientGUID, 0, InetAddress.getLocalHost().getAddress(), 9000); // send the PR off testUP[0].send(pr); testUP[0].flush(); // we should get a incoming GIV Socket givSock = ss.accept(); assertNotNull(givSock); // start reading and confirming the HTTP request String currLine = null; BufferedReader reader = new BufferedReader(new InputStreamReader(givSock.getInputStream())); // confirm a GIV currLine = reader.readLine(); String givLine = "GIV 0:" + (new GUID(RouterService.getMessageRouter()._clientGUID)).toHexString(); assertTrue(currLine.startsWith(givLine)); // everything checks out! givSock.close(); ss.close(); }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/a57c0305af1cc566e19f5d7bf417980f939519e2/ClientSidePushProxyTest.java/clean/components/gnutella-core/src/test/java/com/limegroup/gnutella/ClientSidePushProxyTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 1071, 542, 18047, 12, 5743, 1769, 918, 542, 18047, 12, 5743, 1769, 1842, 1138, 7817, 5582, 21488, 1876, 2568, 43, 8188, 1435, 542, 18047, 12, 5743, 1769, 1216, 542, 18047, 12, 5743, 1769, 1185, 542, 18047, 12, 5743, 1769, 288, 542, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 15427, 12, 3813, 3079, 63, 20, 19226, 542, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 368, 542, 18047, 12, 5743, 1769, 7297, 278, 18047, 12, 5743, 1769, 1597, 6208, 18047, 12, 5743, 1769, 884, 69, 988, 18047, 12, 5743, 1769, 1020, 18047, 12, 5743, 1769, 21001, 542, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 1815, 8867, 12, 22, 16, 542, 18047, 12, 5743, 1769, 9703, 1179, 18, 29925, 1318, 7675, 588, 2578, 2697, 10663, 542, 18047, 12, 5743, 1769, 444, 18047, 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, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 1071, 542, 18047, 12, 5743, 1769, 918, 542, 18047, 12, 5743, 1769, 1842, 1138, 7817, 5582, 21488, 1876, 2568, 43, 8188, 1435, 542, 18047, 12, 5743, 1769, 1216, 542, 18047, 12, 5743, 1769, 1185, 542, 18047, 12, 5743, 1769, 288, 542, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 15427, 12, 3813, 3079, 63, 20, 19226, 542, 18047, 12, 5743, 1769, 444, 18047, 12, 5743, 1769, 444, 18047, 2 ]
iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop);
iCodeTop = addByte(TokenStream.GETPROP, iCodeTop);
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case TokenStream.FUNCTION : { iCodeTop = addByte((byte) TokenStream.CLOSURE, iCodeTop); Node fn = (Node) node.getProp(Node.FUNCTION_PROP); Short index = (Short) fn.getProp(Node.FUNCTION_PROP); iCodeTop = addByte((byte)(index.shortValue() >> 8), iCodeTop); iCodeTop = addByte((byte)(index.shortValue() & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.SCRIPT : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != TokenStream.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.CASE : iCodeTop = updateLineNumber(node, iCodeTop); child = child.getNextSibling(); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.LABEL : case TokenStream.WITH : case TokenStream.LOOP : case TokenStream.DEFAULT : case TokenStream.BLOCK : case TokenStream.VOID : case TokenStream.NOP : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.COMMA : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); break; case TokenStream.SWITCH : { iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; /* reminder - below we construct new GOTO nodes that aren't linked into the tree just for the purpose of having a node to pass to the addGoto routine. (Parallels codegen here). Seems unnecessary. */ Vector cases = (Vector) node.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.elementAt(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.SHEQ, iCodeTop); Node target = new Node(TokenStream.TARGET); thisCase.addChildAfter(target, first); Node branch = new Node(TokenStream.IFEQ); branch.putProp(Node.TARGET_PROP, target); iCodeTop = addGoto(branch, TokenStream.IFEQ, iCodeTop); itsStackDepth--; } Node defaultNode = (Node) node.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node defaultTarget = new Node(TokenStream.TARGET); defaultNode.getFirstChild().addChildToFront(defaultTarget); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, defaultTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } Node breakTarget = (Node) node.getProp(Node.BREAK_PROP); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, breakTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } break; case TokenStream.TARGET : { Object lblObect = node.getProp(Node.LABEL_PROP); if (lblObect == null) { int label = markLabel(acquireLabel(), iCodeTop); node.putProp(Node.LABEL_PROP, new Integer(label)); } else { int label = ((Integer)lblObect).intValue(); markLabel(label, iCodeTop); } // if this target has a FINALLY_PROP, it is a JSR target // and so has a PC value on the top of the stack if (node.getProp(Node.FINALLY_PROP) != null) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.EQOP : case TokenStream.RELOP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int op = node.getInt(); if (version == Context.VERSION_1_2) { if (op == TokenStream.EQ) op = TokenStream.SHEQ; else if (op == TokenStream.NE) op = TokenStream.SHNE; } iCodeTop = addByte((byte) op, iCodeTop); itsStackDepth--; } break; case TokenStream.NEW : case TokenStream.CALL : { if (itsSourceFile != null && (itsData.itsSourceFile == null || ! itsSourceFile.equals(itsData.itsSourceFile))) itsData.itsSourceFile = itsSourceFile; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); int childCount = 0; short nameIndex = -1; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (nameIndex == -1) { if (child.getType() == TokenStream.NAME) nameIndex = (short)(itsData.itsStringTableIndex - 1); else if (child.getType() == TokenStream.GETPROP) nameIndex = (short)(itsData.itsStringTableIndex - 1); } child = child.getNextSibling(); childCount++; } if (node.getProp(Node.SPECIALCALL_PROP) != null) { // embed line number and source filename iCodeTop = addByte((byte) TokenStream.CALLSPECIAL, iCodeTop); iCodeTop = addByte((byte)(itsLineNumber >> 8), iCodeTop); iCodeTop = addByte((byte)(itsLineNumber & 0xff), iCodeTop); iCodeTop = addString(itsSourceFile, iCodeTop); } else { iCodeTop = addByte((byte) type, iCodeTop); iCodeTop = addByte((byte)(nameIndex >> 8), iCodeTop); iCodeTop = addByte((byte)(nameIndex & 0xFF), iCodeTop); } itsStackDepth -= (childCount - 1); // always a result value // subtract from child count to account for [thisObj &] fun if (type == TokenStream.NEW) childCount -= 1; else childCount -= 2; iCodeTop = addByte((byte)(childCount >> 8), iCodeTop); iCodeTop = addByte((byte)(childCount & 0xff), iCodeTop); if (childCount > itsData.itsMaxArgs) itsData.itsMaxArgs = childCount; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); } break; case TokenStream.NEWLOCAL : case TokenStream.NEWTEMP : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); } break; case TokenStream.USELOCAL : { if (node.getProp(Node.TARGET_PROP) != null) iCodeTop = addByte((byte) TokenStream.RETSUB, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } Node temp = (Node) node.getProp(Node.LOCAL_PROP); iCodeTop = addLocalRef(temp, iCodeTop); } break; case TokenStream.USETEMP : { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); Node temp = (Node) node.getProp(Node.TEMP_PROP); iCodeTop = addLocalRef(temp, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.IFEQ : case TokenStream.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case TokenStream.GOTO : iCodeTop = addGoto(node, (byte) type, iCodeTop); break; case TokenStream.JSR : { /* mark the target with a FINALLY_PROP to indicate that it will have an incoming PC value on the top of the stack. !!! This only works if the target follows the JSR in the tree. !!! */ Node target = (Node)(node.getProp(Node.TARGET_PROP)); target.putProp(Node.FINALLY_PROP, node); iCodeTop = addGoto(node, TokenStream.GOSUB, iCodeTop); } break; case TokenStream.AND : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int falseTarget = acquireLabel(); iCodeTop = addGoto(falseTarget, TokenStream.IFNE, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(falseTarget, iCodeTop); } break; case TokenStream.OR : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int trueTarget = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(trueTarget, iCodeTop); } break; case TokenStream.GETPROP : { iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.GETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.GETSCOPEPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } } break; case TokenStream.DELPROP : case TokenStream.BITAND : case TokenStream.BITOR : case TokenStream.BITXOR : case TokenStream.LSH : case TokenStream.RSH : case TokenStream.URSH : case TokenStream.ADD : case TokenStream.SUB : case TokenStream.MOD : case TokenStream.DIV : case TokenStream.MUL : case TokenStream.GETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.CONVERT : { iCodeTop = generateICode(child, iCodeTop); Object toType = node.getProp(Node.TYPE_PROP); if (toType == ScriptRuntime.NumberClass) iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); else badTree(node); } break; case TokenStream.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getInt()) { case TokenStream.VOID : iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); break; case TokenStream.NOT : { int trueTarget = acquireLabel(); int beyond = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.TRUE, iCodeTop); iCodeTop = addGoto(beyond, TokenStream.GOTO, iCodeTop); markLabel(trueTarget, iCodeTop); iCodeTop = addByte((byte) TokenStream.FALSE, iCodeTop); markLabel(beyond, iCodeTop); } break; case TokenStream.BITNOT : iCodeTop = addByte((byte) TokenStream.BITNOT, iCodeTop); break; case TokenStream.TYPEOF : iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); break; case TokenStream.SUB : iCodeTop = addByte((byte) TokenStream.NEG, iCodeTop); break; case TokenStream.ADD : iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); break; default: badTree(node); break; } break; case TokenStream.SETPROP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.SETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.SETPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETPROP, iCodeTop); itsStackDepth -= 2; } } break; case TokenStream.SETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth -= 2; break; case TokenStream.SETNAME : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETNAME, iCodeTop); iCodeTop = addString(firstChild.getString(), iCodeTop); itsStackDepth--; break; case TokenStream.TYPEOF : { String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = itsVariableTable.getOrdinal(name); if (index == -1) { iCodeTop = addByte((byte) TokenStream.TYPEOFNAME, iCodeTop); iCodeTop = addString(name, iCodeTop); } else { iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte) index, iCodeTop); iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.PARENT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPARENT, iCodeTop); break; case TokenStream.GETBASE : case TokenStream.BINDNAME : case TokenStream.NAME : case TokenStream.STRING : iCodeTop = addByte((byte) type, iCodeTop); iCodeTop = addString(node.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.INC : case TokenStream.DEC : { int childType = child.getType(); switch (childType) { case TokenStream.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); itsStackDepth--; } else { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.VARINC : TokenStream.VARDEC), iCodeTop); int i = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte)i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.GETPROP : case TokenStream.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNextSibling(); iCodeTop = generateICode(getPropChild, iCodeTop); if (childType == TokenStream.GETPROP) iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); else iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.ELEMINC : TokenStream.ELEMDEC), iCodeTop); itsStackDepth--; } break; default : { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.NAMEINC : TokenStream.NAMEDEC), iCodeTop); iCodeTop = addString(child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } } break; case TokenStream.NUMBER : { double num = node.getDouble(); if (num == 0.0) { iCodeTop = addByte((byte) TokenStream.ZERO, iCodeTop); } else if (num == 1.0) { iCodeTop = addByte((byte) TokenStream.ONE, iCodeTop); } else { iCodeTop = addByte((byte) TokenStream.NUMBER, iCodeTop); iCodeTop = addNumber(num, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case TokenStream.POP : case TokenStream.POPV : iCodeTop = updateLineNumber(node, iCodeTop); case TokenStream.ENTERWITH : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.GETTHIS : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.NEWSCOPE : iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.LEAVEWITH : iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.TRY : { itsTryDepth++; if (itsTryDepth > itsData.itsMaxTryDepth) itsData.itsMaxTryDepth = itsTryDepth; Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); if (catchTarget == null) { iCodeTop = addByte((byte) TokenStream.TRY, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); } else iCodeTop = addGoto(node, TokenStream.TRY, iCodeTop); int finallyHandler = 0; if (finallyTarget != null) { finallyHandler = acquireLabel(); int theLabel = finallyHandler & 0x7FFFFFFF; itsLabelTable[theLabel].addFixup(iCodeTop); } iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); Node lastChild = null; /* when we encounter the child of the catchTarget, we set the stackDepth to 1 to account for the incoming exception object. */ boolean insertedEndTry = false; while (child != null) { if (catchTarget != null && lastChild == catchTarget) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } /* When the following child is the catchTarget (or the finallyTarget if there are no catches), the current child is the goto at the end of the try statemets, we need to emit the endtry before that goto. */ Node nextSibling = child.getNextSibling(); if (!insertedEndTry && nextSibling != null && (nextSibling == catchTarget || nextSibling == finallyTarget)) { iCodeTop = addByte((byte) TokenStream.ENDTRY, iCodeTop); insertedEndTry = true; } iCodeTop = generateICode(child, iCodeTop); lastChild = child; child = child.getNextSibling(); } itsStackDepth = 0; if (finallyTarget != null) { // normal flow goes around the finally handler stublet int skippy = acquireLabel(); iCodeTop = addGoto(skippy, TokenStream.GOTO, iCodeTop); // on entry the stack will have the exception object markLabel(finallyHandler, iCodeTop); itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); Integer finallyLabel = (Integer)(finallyTarget.getProp(Node.LABEL_PROP)); iCodeTop = addGoto(finallyLabel.intValue(), TokenStream.GOSUB, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.JTHROW, iCodeTop); itsStackDepth = 0; markLabel(skippy, iCodeTop); } itsTryDepth--; } break; case TokenStream.THROW : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.THROW, iCodeTop); itsStackDepth--; break; case TokenStream.RETURN : iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) iCodeTop = generateICode(child, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } iCodeTop = addGoto(node, TokenStream.RETURN, iCodeTop); itsStackDepth--; break; case TokenStream.GETVAR : { String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } else { int index = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.SETVAR : { if (itsData.itsNeedsActivation) { child.setType(TokenStream.BINDNAME); node.setType(TokenStream.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int index = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.SETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); } } break; case TokenStream.PRIMARY: iCodeTop = addByte((byte) node.getInt(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.ENUMINIT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.ENUMINIT, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); itsStackDepth--; break; case TokenStream.ENUMNEXT : { iCodeTop = addByte((byte) TokenStream.ENUMNEXT, iCodeTop); Node init = (Node)node.getProp(Node.ENUM_PROP); iCodeTop = addLocalRef(init, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.ENUMDONE : // could release the local here?? break; case TokenStream.OBJECT : { Node regexp = (Node) node.getProp(Node.REGEXP_PROP); int index = ((Integer)(regexp.getProp( Node.REGEXP_PROP))).intValue(); iCodeTop = addByte((byte) TokenStream.OBJECT, iCodeTop); iCodeTop = addByte((byte)(index >> 8), iCodeTop); iCodeTop = addByte((byte)(index & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; default : badTree(node); break; } return iCodeTop; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/f6c346cc7699c007b0b9b27d9c3cdb5446052c64/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 13491, 648, 3155, 1228, 18, 7788, 294, 288, 4766, 18701, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 13, 3155, 1228, 18, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 2029, 2295, 273, 261, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 7925, 770, 273, 261, 4897, 13, 2295, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 21433, 1615, 18, 6620, 620, 1435, 1671, 1725, 3631, 277, 1085, 3401, 1769, 10792, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 21433, 1615, 18, 6620, 620, 1435, 473, 374, 5297, 3631, 277, 1085, 3401, 1769, 4766, 3639, 2097, 2624, 6148, 9904, 31, 10792, 309, 261, 1282, 2624, 6148, 405, 2097, 751, 18, 1282, 2747, 2624, 13, 13491, 2097, 751, 18, 1282, 2747, 2624, 273, 2097, 2624, 6148, 31, 7734, 289, 7734, 898, 31, 5411, 648, 3155, 1228, 18, 10885, 294, 7734, 277, 1085, 3401, 273, 1089, 31063, 12, 2159, 16, 277, 1085, 3401, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 309, 261, 3624, 18, 588, 559, 1435, 480, 3155, 1228, 18, 7788, 13, 7682, 277, 1085, 3401, 273, 2103, 45, 1085, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 13491, 648, 3155, 1228, 18, 7788, 294, 288, 4766, 18701, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 13, 3155, 1228, 18, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 2029, 2295, 273, 261, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 7925, 770, 273, 261, 4897, 13, 2295, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 277, 1085, 3401, 273, 527, 2 ]
if(source.isConnected() && startTime > (source.timeLastConnected()+Node.HANDSHAKE_TIMEOUT*4))
if(source.isConnected() && (startTime > (source.timeLastConnected()+Node.HANDSHAKE_TIMEOUT*4)))
private void realRun() { runThread = Thread.currentThread(); // FIXME implement rate limiting or something! // Send Accepted Message accepted = DMT.createFNPAccepted(uid); try { source.send(accepted, null); } catch (NotConnectedException e1) { Logger.minor(this, "Lost connection to source"); return; } // Source will send us a DataInsert MessageFilter mf; mf = MessageFilter.create().setType(DMT.FNPDataInsert).setField(DMT.UID, uid).setSource(source).setTimeout(DATA_INSERT_TIMEOUT); Message msg; try { msg = node.usm.waitFor(mf, null); } catch (DisconnectedException e) { Logger.normal(this, "Disconnected while waiting for DataInsert on "+uid); return; } Logger.minor(this, "Received "+msg); if(msg == null) { try { if(source.isConnected() && startTime > (source.timeLastConnected()+Node.HANDSHAKE_TIMEOUT*4)) Logger.error(this, "Did not receive DataInsert on "+uid+" from "+source+" !"); Message tooSlow = DMT.createFNPRejectedTimeout(uid); source.sendAsync(tooSlow, null, 0, null); Message m = DMT.createFNPInsertTransfersCompleted(uid, true); source.sendAsync(m, null, 0, null); prb = new PartiallyReceivedBlock(Node.PACKETS_IN_BLOCK, Node.PACKET_SIZE); br = new BlockReceiver(node.usm, source, uid, prb, null); prb.abort(RetrievalException.NO_DATAINSERT, "No DataInsert"); br.sendAborted(RetrievalException.NO_DATAINSERT, "No DataInsert"); return; } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } } // We have a DataInsert headers = ((ShortBuffer)msg.getObject(DMT.BLOCK_HEADERS)).getData(); // FIXME check the headers // Now create an CHKInsertSender, or use an existing one, or // discover that the data is in the store. // From this point onwards, if we return cleanly we must go through finish(). prb = new PartiallyReceivedBlock(Node.PACKETS_IN_BLOCK, Node.PACKET_SIZE); if(htl > 0) sender = node.makeInsertSender(key, htl, uid, source, headers, prb, false, closestLoc, true); br = new BlockReceiver(node.usm, source, uid, prb, null); // Receive the data, off thread Runnable dataReceiver = new DataReceiver(); Thread t = new Thread(dataReceiver, "InsertHandler$DataReceiver for UID "+uid); t.setDaemon(true); t.start(); if(htl == 0) { canCommit = true; msg = DMT.createFNPInsertReply(uid); sentSuccess = true; try { source.send(msg, null); } catch (NotConnectedException e) { // Ignore } finish(); return; } // Wait... // What do we want to wait for? // If the data receive completes, that's very nice, // but doesn't really matter. What matters is what // happens to the CHKInsertSender. If the data receive // fails, that does matter... // We are waiting for a terminal status on the CHKInsertSender, // including REPLIED_WITH_DATA. // If we get transfer failed, we can check whether the receive // failed first. If it did it's not our fault. // If the receive failed, and we haven't started transferring // yet, we probably want to kill the sender. // So we call the wait method on the CHKInsertSender, but we // also have a flag locally to indicate the receive failed. // And if it does, we interrupt. boolean receivedRejectedOverload = false; while(true) { synchronized(sender) { try { if(sender.getStatus() == CHKInsertSender.NOT_FINISHED) sender.wait(5000); } catch (InterruptedException e) { // Cool, probably this is because the receive failed... } } if(receiveFailed) { // Cancel the sender sender.receiveFailed(); // tell it to stop if it hasn't already failed... unless it's sending from store // Nothing else we can do finish(); return; } if((!receivedRejectedOverload) && sender.receivedRejectedOverload()) { receivedRejectedOverload = true; // Forward it Message m = DMT.createFNPRejectedOverload(uid, false); try { source.send(m, null); } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } } int status = sender.getStatus(); if(status == CHKInsertSender.NOT_FINISHED) { continue; }// // FIXME obviously! For debugging load issues.// if(node.myName.equalsIgnoreCase("Toad #1") &&// node.random.nextBoolean()) {// // Maliciously timeout// Logger.error(this, "Maliciously timing out: was "+sender.getStatusString());// sentSuccess = true;// return;// } // Local RejectedOverload's (fatal). // Internal error counts as overload. It'd only create a timeout otherwise, which is the same thing anyway. // We *really* need a good way to deal with nodes that constantly R_O! if(status == CHKInsertSender.TIMED_OUT || status == CHKInsertSender.GENERATED_REJECTED_OVERLOAD || status == CHKInsertSender.INTERNAL_ERROR) { msg = DMT.createFNPRejectedOverload(uid, true); try { source.send(msg, null); } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } // Might as well store it anyway. if(status == CHKInsertSender.TIMED_OUT || status == CHKInsertSender.GENERATED_REJECTED_OVERLOAD) canCommit = true; finish(); return; } if(status == CHKInsertSender.ROUTE_NOT_FOUND || status == CHKInsertSender.ROUTE_REALLY_NOT_FOUND) { msg = DMT.createFNPRouteNotFound(uid, sender.getHTL()); try { source.send(msg, null); } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } canCommit = true; finish(); return; } if(status == CHKInsertSender.SUCCESS) { msg = DMT.createFNPInsertReply(uid); sentSuccess = true; try { source.send(msg, null); } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } canCommit = true; finish(); return; } // Otherwise...? Logger.error(this, "Unknown status code: "+sender.getStatusString()); msg = DMT.createFNPRejectedOverload(uid, true); try { source.send(msg, null); } catch (NotConnectedException e) { // Ignore } finish(); return; } }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/InsertHandler.java/buggy/src/freenet/node/InsertHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2863, 1997, 1435, 288, 3639, 1086, 3830, 273, 4884, 18, 2972, 3830, 5621, 7734, 368, 9852, 2348, 4993, 1800, 310, 578, 5943, 5, 3639, 368, 2479, 8662, 329, 3639, 2350, 8494, 273, 463, 6152, 18, 2640, 19793, 4066, 4474, 329, 12, 1911, 1769, 3639, 775, 288, 1082, 202, 3168, 18, 4661, 12, 23847, 16, 446, 1769, 202, 202, 97, 1044, 261, 1248, 8932, 503, 425, 21, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 19024, 1459, 358, 1084, 8863, 1082, 202, 2463, 31, 202, 202, 97, 7734, 368, 4998, 903, 1366, 584, 279, 1910, 4600, 7734, 2350, 1586, 14749, 31, 3639, 14749, 273, 2350, 1586, 18, 2640, 7675, 542, 559, 12, 40, 6152, 18, 19793, 52, 751, 4600, 2934, 542, 974, 12, 40, 6152, 18, 3060, 16, 4555, 2934, 542, 1830, 12, 3168, 2934, 542, 2694, 12, 4883, 67, 11356, 67, 9503, 1769, 7734, 2350, 1234, 31, 3639, 775, 288, 5411, 1234, 273, 756, 18, 407, 81, 18, 7048, 1290, 12, 16126, 16, 446, 1769, 3639, 289, 1044, 261, 26303, 503, 425, 13, 288, 5411, 4242, 18, 6130, 12, 2211, 16, 315, 26303, 1323, 7336, 364, 1910, 4600, 603, 13773, 1911, 1769, 5411, 327, 31, 3639, 289, 7734, 4242, 18, 17364, 12, 2211, 16, 315, 8872, 13773, 3576, 1769, 7734, 309, 12, 3576, 422, 446, 13, 288, 540, 202, 698, 288, 540, 202, 202, 430, 12, 3168, 18, 291, 8932, 1435, 597, 261, 1937, 950, 405, 261, 3168, 18, 957, 3024, 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, 2863, 1997, 1435, 288, 3639, 1086, 3830, 273, 4884, 18, 2972, 3830, 5621, 7734, 368, 9852, 2348, 4993, 1800, 310, 578, 5943, 5, 3639, 368, 2479, 8662, 329, 3639, 2350, 8494, 273, 463, 6152, 18, 2640, 19793, 4066, 4474, 329, 12, 1911, 1769, 3639, 775, 288, 1082, 202, 3168, 18, 4661, 12, 23847, 16, 446, 1769, 202, 202, 97, 1044, 261, 1248, 8932, 503, 425, 21, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 19024, 1459, 358, 1084, 8863, 1082, 202, 2463, 31, 202, 202, 97, 7734, 368, 4998, 903, 1366, 584, 279, 1910, 4600, 7734, 2350, 1586, 14749, 31, 3639, 14749, 273, 2350, 1586, 18, 2640, 7675, 542, 559, 12, 40, 6152, 2 ]
doubleBuffer = component.createImage(proposedWidth, proposedHeight);
int width = Math.max(proposedWidth, root.getWidth()); width = Math.min(doubleBufferMaximumSize.width, width); int height = Math.max(proposedHeight, root.getHeight()); height = Math.min(doubleBufferMaximumSize.height, height); buffer = component.createImage(width, height); offscreenBuffers.put(root, buffer);
public Image getOffscreenBuffer(Component component, int proposedWidth, int proposedHeight) { if (doubleBuffer == null || (((doubleBuffer.getWidth(null) < proposedWidth) || (doubleBuffer.getHeight(null) < proposedHeight)) && (proposedWidth < doubleBufferMaximumSize.width) && (proposedHeight < doubleBufferMaximumSize.height))) { doubleBuffer = component.createImage(proposedWidth, proposedHeight); } return doubleBuffer; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/3878be593002f301580025b16c264e41f364beae/RepaintManager.java/buggy/libraries/javalib/external/classpath/javax/swing/RepaintManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3421, 336, 7210, 9252, 1892, 12, 1841, 1794, 16, 509, 20084, 2384, 16, 21394, 509, 20084, 2686, 13, 225, 288, 565, 309, 261, 9056, 1892, 422, 446, 540, 747, 261, 12443, 9056, 1892, 18, 588, 2384, 12, 2011, 13, 411, 20084, 2384, 13, 2868, 747, 261, 9056, 1892, 18, 588, 2686, 12, 2011, 13, 411, 20084, 2686, 3719, 5411, 597, 261, 685, 7423, 2384, 411, 1645, 1892, 13528, 1225, 18, 2819, 13, 5411, 597, 261, 685, 7423, 2686, 411, 1645, 1892, 13528, 1225, 18, 4210, 20349, 1377, 288, 3639, 509, 1835, 273, 2361, 18, 1896, 12, 685, 7423, 2384, 16, 1365, 18, 588, 2384, 10663, 1835, 273, 2361, 18, 1154, 12, 9056, 1892, 13528, 1225, 18, 2819, 16, 1835, 1769, 509, 2072, 273, 2361, 18, 1896, 12, 685, 7423, 2686, 16, 1365, 18, 588, 2686, 10663, 2072, 273, 2361, 18, 1154, 12, 9056, 1892, 13528, 1225, 18, 4210, 16, 2072, 1769, 1613, 273, 1794, 18, 2640, 2040, 12, 2819, 16, 2072, 1769, 3397, 9252, 13699, 18, 458, 12, 3085, 16, 1613, 1769, 1377, 289, 565, 327, 1645, 1892, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3421, 336, 7210, 9252, 1892, 12, 1841, 1794, 16, 509, 20084, 2384, 16, 21394, 509, 20084, 2686, 13, 225, 288, 565, 309, 261, 9056, 1892, 422, 446, 540, 747, 261, 12443, 9056, 1892, 18, 588, 2384, 12, 2011, 13, 411, 20084, 2384, 13, 2868, 747, 261, 9056, 1892, 18, 588, 2686, 12, 2011, 13, 411, 20084, 2686, 3719, 5411, 597, 261, 685, 7423, 2384, 411, 1645, 1892, 13528, 1225, 18, 2819, 13, 5411, 597, 261, 685, 7423, 2686, 411, 1645, 1892, 13528, 1225, 18, 4210, 20349, 1377, 288, 3639, 509, 1835, 273, 2361, 18, 1896, 12, 685, 7423, 2384, 16, 1365, 18, 588, 2384, 10663, 1835, 273, 2361, 18, 1154, 12, 9056, 1892, 13528, 1225, 18, 2819, 2 ]
}
}
public void revokeAllCertByCA(Admin admin, String issuerdn, int reason){ Connection con = null; PreparedStatement ps = null; PreparedStatement ps2 = null; int temprevoked = 0; int revoked = 0; String bcdn = CertTools.stringToBCDNString(issuerdn); final String firstsqlstatement = "UPDATE CertificateData SET status=?" + " WHERE issuerDN=? AND status = ? "; final String secondsqlstatement = "UPDATE CertificateData SET status=?, revocationDate=?, revocationReason=?" + " WHERE issuerDN=? AND status <> ?"; long currentdate = new Date().getTime(); try { // First SQL statement, changing all temporaty revoked certificates to permanently revoked certificates con = getConnection(); ps = con.prepareStatement(firstsqlstatement); ps.setInt(1, CertificateData.CERT_REVOKED); // first statusfield ps.setString(2, bcdn); // issuerdn field ps.setInt(3, CertificateData.CERT_TEMP_REVOKED); // second statusfield temprevoked = ps.executeUpdate(); // Second SQL statement, revoking all non revoked certificates. ps2 = con.prepareStatement(secondsqlstatement); ps2.setInt(1, CertificateData.CERT_REVOKED); // first statusfield ps2.setLong(2, currentdate); // revokedate field ps2.setInt(3, reason); // revokation reason ps2.setString(4, bcdn); // issuer dn ps2.setInt(5, CertificateData.CERT_REVOKED); // second statusfield revoked = ps2.executeUpdate(); getLogSession().log(admin, bcdn.hashCode(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_REVOKEDCERT,("Revoked All CAs certificates successfully. Permantly revoked :" + (revoked + temprevoked) + " Certificates with reason: " + reason)); } catch (Exception e) { getLogSession().log(admin, bcdn.hashCode(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_REVOKEDCERT,"Error when trying to revoke a CA's all certificates", e); throw new EJBException(e); } finally { try { if (ps != null) ps.close(); if (ps2 != null) ps2.close(); if (con!= null) con.close(); } catch(SQLException se) { error("Error cleaning up: ", se); } } } // revokeAllCertByCA
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/6f27459e8db7a9efb8cf0588695ad6fd28539506/LocalCertificateStoreSessionBean.java/clean/src/java/se/anatom/ejbca/ca/store/LocalCertificateStoreSessionBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 1071, 918, 18007, 1595, 5461, 858, 3587, 12, 4446, 3981, 16, 514, 9715, 5176, 16, 509, 3971, 15329, 202, 202, 1952, 356, 273, 446, 31, 377, 202, 29325, 4250, 225, 273, 446, 31, 377, 202, 29325, 4250, 22, 273, 446, 31, 202, 202, 474, 1022, 10001, 14276, 273, 374, 31, 202, 202, 474, 22919, 273, 374, 31, 9506, 202, 780, 324, 20902, 273, 11921, 10348, 18, 1080, 774, 16283, 8609, 780, 12, 17567, 5176, 1769, 1377, 202, 1377, 202, 6385, 514, 1122, 4669, 11516, 273, 315, 8217, 6660, 751, 7855, 1267, 25501, 397, 4766, 1171, 315, 4852, 9715, 8609, 17282, 4116, 1267, 273, 692, 13636, 202, 202, 6385, 514, 3974, 1217, 11516, 273, 315, 8217, 6660, 751, 7855, 1267, 17282, 16, 24158, 1626, 17282, 16, 24158, 8385, 25501, 397, 6862, 6862, 6862, 315, 4852, 9715, 8609, 17282, 4116, 1267, 2813, 692, 14432, 6862, 6862, 6862, 3196, 202, 5748, 783, 712, 273, 394, 2167, 7675, 588, 950, 5621, 6862, 6862, 6862, 1850, 1082, 202, 698, 288, 1082, 202, 759, 5783, 3063, 3021, 16, 12770, 777, 5144, 270, 93, 22919, 12522, 358, 16866, 715, 22919, 12522, 1171, 25083, 202, 591, 273, 6742, 5621, 1082, 202, 1121, 273, 356, 18, 9366, 3406, 12, 3645, 4669, 11516, 1769, 1082, 282, 6862, 9506, 26924, 202, 1121, 18, 542, 1702, 12, 21, 16, 6660, 751, 18, 22367, 67, 862, 17691, 2056, 1769, 368, 1122, 1267, 1518, 1082, 202, 1121, 18, 542, 780, 12, 22, 16, 324, 20902, 1769, 368, 9715, 5176, 652, 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, 1377, 1071, 918, 18007, 1595, 5461, 858, 3587, 12, 4446, 3981, 16, 514, 9715, 5176, 16, 509, 3971, 15329, 202, 202, 1952, 356, 273, 446, 31, 377, 202, 29325, 4250, 225, 273, 446, 31, 377, 202, 29325, 4250, 22, 273, 446, 31, 202, 202, 474, 1022, 10001, 14276, 273, 374, 31, 202, 202, 474, 22919, 273, 374, 31, 9506, 202, 780, 324, 20902, 273, 11921, 10348, 18, 1080, 774, 16283, 8609, 780, 12, 17567, 5176, 1769, 1377, 202, 1377, 202, 6385, 514, 1122, 4669, 11516, 273, 315, 8217, 6660, 751, 7855, 1267, 25501, 397, 4766, 1171, 315, 4852, 9715, 8609, 17282, 4116, 1267, 273, 692, 13636, 202, 202, 6385, 514, 3974, 1217, 11516, 273, 315, 8217, 6660, 751, 7855, 2 ]
awtComponent.setSize(frame_width, frame_height);
{ resizing = true; awtComponent.setSize(frame_width, frame_height); }
protected void postConfigureEvent (int x, int y, int width, int height) { int frame_width = width + insets.left + insets.right; // Since insets.top already includes the MenuBar's height, we need // to subtract the MenuBar's height from the top inset. int frame_height = height + insets.top + insets.bottom - menuBarHeight; if (frame_width != awtComponent.getWidth() || frame_height != awtComponent.getHeight()) awtComponent.setSize(frame_width, frame_height); int frame_x = x - insets.left; // Likewise, since insets.top includes the MenuBar height, we need // to add back the MenuBar height to the frame's y position. If // no MenuBar exists in this frame, the MenuBar height will be 0. int frame_y = y - insets.top + menuBarHeight; if (frame_x != awtComponent.getX() || frame_y != awtComponent.getY()) { // awtComponent.setLocation(frame_x, frame_y); } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/dae8e6ac90d56f430069ca49e1337f4bb85862aa/GtkFramePeer.java/clean/libraries/javalib/gnu/java/awt/peer/gtk/GtkFramePeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1603, 11207, 1133, 261, 474, 619, 16, 509, 677, 16, 509, 1835, 16, 509, 2072, 13, 225, 288, 565, 509, 2623, 67, 2819, 273, 1835, 397, 23576, 18, 4482, 397, 23576, 18, 4083, 31, 565, 368, 7897, 23576, 18, 3669, 1818, 6104, 326, 9809, 5190, 1807, 2072, 16, 732, 1608, 565, 368, 358, 10418, 326, 9809, 5190, 1807, 2072, 628, 326, 1760, 316, 542, 18, 565, 509, 2623, 67, 4210, 273, 2072, 397, 23576, 18, 3669, 397, 23576, 18, 9176, 300, 3824, 5190, 2686, 31, 565, 309, 261, 3789, 67, 2819, 480, 8237, 1841, 18, 588, 2384, 1435, 3639, 747, 2623, 67, 4210, 480, 8237, 1841, 18, 588, 2686, 10756, 1377, 288, 400, 6894, 273, 638, 31, 8237, 1841, 18, 542, 1225, 12, 3789, 67, 2819, 16, 2623, 67, 4210, 1769, 289, 565, 509, 2623, 67, 92, 273, 619, 300, 23576, 18, 4482, 31, 565, 368, 511, 1766, 359, 784, 16, 3241, 23576, 18, 3669, 6104, 326, 9809, 5190, 2072, 16, 732, 1608, 565, 368, 358, 527, 1473, 326, 9809, 5190, 2072, 358, 326, 2623, 1807, 677, 1754, 18, 225, 971, 565, 368, 1158, 9809, 5190, 1704, 316, 333, 2623, 16, 326, 9809, 5190, 2072, 903, 506, 374, 18, 565, 509, 2623, 67, 93, 273, 677, 300, 23576, 18, 3669, 397, 3824, 5190, 2686, 31, 565, 309, 261, 3789, 67, 92, 480, 8237, 1841, 18, 588, 60, 1435, 3639, 747, 2623, 67, 93, 480, 8237, 1841, 18, 588, 61, 10756, 1377, 288, 3639, 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, 282, 4750, 918, 1603, 11207, 1133, 261, 474, 619, 16, 509, 677, 16, 509, 1835, 16, 509, 2072, 13, 225, 288, 565, 509, 2623, 67, 2819, 273, 1835, 397, 23576, 18, 4482, 397, 23576, 18, 4083, 31, 565, 368, 7897, 23576, 18, 3669, 1818, 6104, 326, 9809, 5190, 1807, 2072, 16, 732, 1608, 565, 368, 358, 10418, 326, 9809, 5190, 1807, 2072, 628, 326, 1760, 316, 542, 18, 565, 509, 2623, 67, 4210, 273, 2072, 397, 23576, 18, 3669, 397, 23576, 18, 9176, 300, 3824, 5190, 2686, 31, 565, 309, 261, 3789, 67, 2819, 480, 8237, 1841, 18, 588, 2384, 1435, 3639, 747, 2623, 67, 4210, 480, 8237, 1841, 18, 588, 2686, 10756, 1377, 288, 400, 6894, 273, 638, 2 ]
if (_currentNode != _previousNode) {
if (_currentNode != previousNode) {
public void startElement(String elementName, AttributeList attrList) { if (_elementState == NODE_STATE && elementName.equals("group") && _currentNode != null && attrList != null && (_currentNode instanceof FigClass || _currentNode instanceof FigInterface)) { // compartment of class figure detected String descr = attrList.getValue("description").trim(); if (descr.endsWith("[0, 0, 0, 0]") || descr.endsWith("[0,0,0,0]")) { // the detected compartment need to be hidden ((FigNodeModelElement) _currentNode).enableSizeChecking(false); if (_currentNode != _previousNode) { // it's the first compartment of the class: if (_currentNode instanceof FigClass) ((FigClass) _currentNode).setAttributeVisible(false); else ((FigInterface) _currentNode).setOperationVisible(false); } else { // never reached due to bug in GEF (see below) ((FigClass) _currentNode).setOperationVisible(false); } ((FigNodeModelElement) _currentNode).enableSizeChecking(true); } _previousNode = _currentNode; // remember for next compartment } // The following should not be necessary, but because of a bug in GEF's // PGMLParser, the second FigGroup (which is the operations compartment) // is parsed in the wrong state (DEFAULT_STATE). Result: _currentNode is // lost (set to null). Solution: use saved version in _previousNode and // watch _nestedGroups in order to decide which compartment is parsed. // This code should work even with a fixed PGMLParser of GEF. // (_elementState) DEFAULT_STATE(=0) is private :-( // NODE_STATE = 4 if (_elementState == 0 && elementName.equals("group") && _previousNode != null && _nestedGroups > 0) { String descr = attrList.getValue("description").trim(); _elementState = NODE_STATE; _currentNode = _previousNode; if (descr.endsWith("[0, 0, 0, 0]") || descr.endsWith("[0,0,0,0]")) { if (_previousNode instanceof FigClass) { ((FigNodeModelElement) _previousNode).enableSizeChecking(false); ((FigClass) _previousNode).setOperationVisible(false); ((FigNodeModelElement) _previousNode).enableSizeChecking(true); } } } if ("private".equals(elementName)) { _privateTextDepth++; } // OK, that's all with hiding compartments. Now business as usual... super.startElement(elementName, attrList); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/7c633bc976398bc2decb9e6ece5942983af4c921/PGMLParser.java/buggy/src_new/org/argouml/xml/pgml/PGMLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 14453, 16, 3601, 682, 1604, 682, 13, 288, 202, 430, 261, 67, 2956, 1119, 422, 11922, 67, 7998, 597, 14453, 18, 14963, 2932, 1655, 7923, 597, 202, 565, 389, 2972, 907, 480, 446, 597, 1604, 682, 480, 446, 597, 202, 565, 261, 67, 2972, 907, 1276, 478, 360, 797, 225, 747, 389, 2972, 907, 1276, 478, 360, 1358, 3719, 288, 202, 565, 368, 1161, 24144, 434, 667, 7837, 8316, 202, 565, 514, 18426, 273, 1604, 682, 18, 24805, 2932, 3384, 20387, 5290, 5621, 202, 565, 309, 261, 28313, 18, 5839, 1190, 2932, 63, 20, 16, 374, 16, 374, 16, 374, 4279, 13, 747, 18426, 18, 5839, 1190, 2932, 63, 20, 16, 20, 16, 20, 16, 20, 4279, 3719, 288, 202, 202, 759, 326, 8316, 1161, 24144, 1608, 358, 506, 5949, 202, 202, 12443, 42, 360, 907, 1488, 1046, 13, 389, 2972, 907, 2934, 7589, 1225, 14294, 12, 5743, 1769, 202, 202, 430, 261, 67, 2972, 907, 480, 389, 11515, 907, 13, 288, 1082, 565, 368, 518, 1807, 326, 1122, 1161, 24144, 434, 326, 667, 30, 1082, 565, 309, 261, 67, 2972, 907, 1276, 478, 360, 797, 13, 1082, 202, 12443, 42, 360, 797, 13, 389, 2972, 907, 2934, 542, 1499, 6207, 12, 5743, 1769, 1082, 565, 469, 1082, 202, 12443, 42, 360, 1358, 13, 389, 2972, 907, 2934, 542, 2988, 6207, 12, 5743, 1769, 202, 202, 97, 469, 288, 1082, 565, 368, 5903, 8675, 6541, 358, 7934, 316, 17788, 42, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 14453, 16, 3601, 682, 1604, 682, 13, 288, 202, 430, 261, 67, 2956, 1119, 422, 11922, 67, 7998, 597, 14453, 18, 14963, 2932, 1655, 7923, 597, 202, 565, 389, 2972, 907, 480, 446, 597, 1604, 682, 480, 446, 597, 202, 565, 261, 67, 2972, 907, 1276, 478, 360, 797, 225, 747, 389, 2972, 907, 1276, 478, 360, 1358, 3719, 288, 202, 565, 368, 1161, 24144, 434, 667, 7837, 8316, 202, 565, 514, 18426, 273, 1604, 682, 18, 24805, 2932, 3384, 20387, 5290, 5621, 202, 565, 309, 261, 28313, 18, 5839, 1190, 2932, 63, 20, 16, 374, 16, 374, 16, 374, 4279, 13, 747, 18426, 18, 5839, 1190, 2932, 63, 20, 16, 20, 16, 2 ]
newObj = (( Object[])newObj)[0];
newObj = ( (Object[]) newObj )[0];
public boolean preHandleMouseUp( ) { if ( getRequest( ).getNewObjectType( ) instanceof DataSetHandle ) { try { //insert table grid into layout Object newHandle = InsertInLayoutUtil.performInsert( getRequest( ).getNewObject( ), getTargetEditPart( ) ); if ( newHandle == null ) return false; setModel( newHandle ); //add extended dataset element. Object newObj = getRequest( ).getNewObject(); if( newObj instanceof Object[] && (( Object[])newObj).length>0) { newObj = (( Object[])newObj)[0]; } DesignElementHandle elementHandle = (DesignElementHandle) newObj; if ( elementHandle.getRoot( ) instanceof LibraryHandle ) { ModuleHandle moduleHandle = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ); LibraryHandle library = (LibraryHandle) elementHandle.getRoot( ); try { if ( UIUtil.includeLibrary( moduleHandle, library ) ) { moduleHandle.addElement(moduleHandle.getElementFactory( ) .newElementFrom( elementHandle, null ),moduleHandle.getDataSets().getSlotID()); } } catch ( Exception e ) { ExceptionHandler.handle( e ); } } return super.preHandleMouseUp( ); } catch ( SemanticException e ) { ExceptionHandler.handle( e ); } } return false; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/bf4dbe7c0bf0d0dc52b025bc911850ad88070eea/BasePaletteFactory.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/palette/BasePaletteFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 675, 3259, 9186, 1211, 12, 262, 202, 202, 95, 1082, 202, 430, 261, 4328, 12, 262, 18, 588, 1908, 17610, 12, 262, 1276, 14065, 3259, 262, 1082, 202, 95, 6862, 9506, 202, 698, 9506, 202, 95, 6862, 202, 759, 6387, 1014, 3068, 1368, 3511, 6862, 202, 921, 394, 3259, 273, 8040, 382, 3744, 1304, 18, 16092, 4600, 12, 4328, 12, 262, 18, 588, 1908, 921, 12, 262, 16, 6862, 1082, 202, 588, 2326, 4666, 1988, 12, 262, 11272, 6862, 202, 430, 261, 394, 3259, 422, 446, 262, 25083, 202, 2463, 629, 31, 6862, 202, 542, 1488, 12, 394, 3259, 11272, 6862, 25083, 202, 759, 1289, 7021, 3709, 930, 18, 6862, 202, 921, 23966, 273, 4328, 12, 262, 18, 588, 1908, 921, 5621, 6862, 202, 430, 12, 23966, 1276, 1033, 8526, 597, 14015, 1033, 63, 5717, 2704, 2675, 2934, 2469, 34, 20, 13, 6862, 202, 95, 25083, 202, 2704, 2675, 273, 14015, 1033, 63, 5717, 2704, 2675, 25146, 20, 15533, 6862, 202, 97, 6862, 202, 15478, 1046, 3259, 930, 3259, 273, 261, 15478, 1046, 3259, 13, 23966, 31, 6862, 202, 430, 261, 930, 3259, 18, 588, 2375, 12, 262, 1276, 18694, 3259, 262, 6862, 202, 95, 25083, 202, 3120, 3259, 1605, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 6862, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 25083, 202, 9313, 3259, 5313, 273, 261, 9313, 3259, 13, 930, 3259, 18, 588, 2375, 12, 11272, 25083, 202, 698, 25083, 202, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 675, 3259, 9186, 1211, 12, 262, 202, 202, 95, 1082, 202, 430, 261, 4328, 12, 262, 18, 588, 1908, 17610, 12, 262, 1276, 14065, 3259, 262, 1082, 202, 95, 6862, 9506, 202, 698, 9506, 202, 95, 6862, 202, 759, 6387, 1014, 3068, 1368, 3511, 6862, 202, 921, 394, 3259, 273, 8040, 382, 3744, 1304, 18, 16092, 4600, 12, 4328, 12, 262, 18, 588, 1908, 921, 12, 262, 16, 6862, 1082, 202, 588, 2326, 4666, 1988, 12, 262, 11272, 6862, 202, 430, 261, 394, 3259, 422, 446, 262, 25083, 202, 2463, 629, 31, 6862, 202, 542, 1488, 12, 394, 3259, 11272, 6862, 25083, 202, 759, 1289, 7021, 3709, 930, 18, 6862, 202, 921, 23966, 273, 4328, 2 ]
mb.setMessage("Are you sure you want to clear all information?"); mb.setText("Warning!");
mb.setMessage(Messages.getString("Chef.Dialog.ConfirmNewFile.Message")); mb.setText(Messages.getString("Chef.Dialog.ConfirmNewFile.Title"));
public void newFile() { // AYS: Y/N?? MessageBox mb = new MessageBox(shell, SWT.YES | SWT.NO | SWT.ICON_WARNING ); mb.setMessage("Are you sure you want to clear all information?"); mb.setText("Warning!"); int answer = mb.open(); if (answer == SWT.YES) { jobMeta.clear(); loadRepositoryObjects(); // Add databases if connected to repository setFilename(null); refreshTree(); refreshGraph(); setUndoMenu(); } }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/466ea40abc95c39a5103fe3a9a74262a61dce808/Chef.java/buggy/src/be/ibridge/kettle/chef/Chef.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20592, 1435, 202, 95, 202, 202, 759, 432, 61, 55, 30, 1624, 19, 50, 14646, 202, 202, 27647, 4903, 273, 394, 2350, 3514, 12, 10304, 16, 348, 8588, 18, 29081, 571, 348, 8588, 18, 3417, 571, 348, 8588, 18, 21745, 67, 9511, 11272, 202, 202, 1627, 18, 542, 1079, 2932, 4704, 1846, 3071, 1846, 2545, 358, 2424, 777, 1779, 7225, 1769, 202, 202, 1627, 18, 542, 1528, 2932, 6210, 4442, 1769, 202, 202, 474, 5803, 273, 4903, 18, 3190, 5621, 9506, 202, 430, 261, 13490, 422, 348, 8588, 18, 29081, 13, 202, 202, 95, 1875, 202, 4688, 2781, 18, 8507, 5621, 1082, 202, 945, 3305, 4710, 5621, 565, 368, 1436, 16358, 309, 5840, 358, 3352, 1082, 202, 542, 5359, 12, 2011, 1769, 1082, 202, 9144, 2471, 5621, 1082, 202, 9144, 4137, 5621, 5411, 444, 31224, 4599, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20592, 1435, 202, 95, 202, 202, 759, 432, 61, 55, 30, 1624, 19, 50, 14646, 202, 202, 27647, 4903, 273, 394, 2350, 3514, 12, 10304, 16, 348, 8588, 18, 29081, 571, 348, 8588, 18, 3417, 571, 348, 8588, 18, 21745, 67, 9511, 11272, 202, 202, 1627, 18, 542, 1079, 2932, 4704, 1846, 3071, 1846, 2545, 358, 2424, 777, 1779, 7225, 1769, 202, 202, 1627, 18, 542, 1528, 2932, 6210, 4442, 1769, 202, 202, 474, 5803, 273, 4903, 18, 3190, 5621, 9506, 202, 430, 261, 13490, 422, 348, 8588, 18, 29081, 13, 202, 202, 95, 1875, 202, 4688, 2781, 18, 8507, 5621, 1082, 202, 945, 3305, 4710, 5621, 565, 368, 1436, 16358, 309, 5840, 358, 3352, 2 ]
public NOTATIONDatatypeValidator () throws InvalidDatatypeFacetException { this ( null, null, false );
public NOTATIONDatatypeValidator () { this ( null, null, false, null );
public NOTATIONDatatypeValidator () throws InvalidDatatypeFacetException { this ( null, null, false ); // Native, No Facets defined, Restriction }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/8973a4e0a87c8b8fcad9e9b1f2a9f9b642609e45/NOTATIONDatatypeValidator.java/clean/src/org/apache/xerces/impl/v2/datatypes/NOTATIONDatatypeValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4269, 2689, 20228, 5126, 1832, 1216, 1962, 20228, 11137, 503, 288, 3639, 333, 261, 446, 16, 446, 16, 629, 11272, 368, 16717, 16, 2631, 12618, 2413, 2553, 16, 1124, 6192, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4269, 2689, 20228, 5126, 1832, 1216, 1962, 20228, 11137, 503, 288, 3639, 333, 261, 446, 16, 446, 16, 629, 11272, 368, 16717, 16, 2631, 12618, 2413, 2553, 16, 1124, 6192, 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 ]
getLogger().info("Got selection key: %s (r=%s, w=%s)",
getLogger().debug("Got selection key: %s (r=%s, w=%s)",
public void handleIO() throws IOException { int selected=selector.select(); if(selected > 0) { Set<SelectionKey> selectedKeys=selector.selectedKeys(); assert selected == selectedKeys.size(); for(SelectionKey sk : selectedKeys) { getLogger().info("Got selection key: %s (r=%s, w=%s)", sk, sk.isReadable(), sk.isWritable()); QueueAttachment qa=(QueueAttachment)sk.attachment(); if(qa.ops.size() > 0) { Operation currentOp=qa.ops.peek(); getLogger().info("Current operation: %s", currentOp); // First switch is for IO. switch(currentOp.getState()) { case READING: if(sk.isReadable()) { qa.channel.read(qa.buf); qa.buf.flip(); currentOp.readFromBuffer(qa.buf); qa.buf.clear(); } break; case WRITING: if(sk.isWritable()) { ByteBuffer b=currentOp.getBuffer(); int written=qa.channel.write(b); getLogger().info("Wrote %d bytes for %s", written, currentOp); if(b.remaining() == 0) { currentOp.writeComplete(); } } break; case COMPLETE: assert false : "Current op is in complete state"; break; } // Second switch is for post-IO examination and state transition switch(currentOp.getState()) { case READING: sk.interestOps(SelectionKey.OP_READ); break; case WRITING: getLogger().info("Operation is still writing."); sk.interestOps(SelectionKey.OP_WRITE); break; case COMPLETE: qa.ops.remove(); // If there are more operations in the queue, tell // it we want to write synchronized(qa) { if(qa.ops.size() > 0) { sk.interestOps(SelectionKey.OP_WRITE); } } break; } } else { assert false : "No current operations, but selectors ready"; } } // for each selector selectedKeys.clear(); } else { getLogger().info("No selectors ready, interrupted: " + Thread.interrupted()); } }
53057 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53057/c6550fbfa3915fd4cef04241f0940905c96dea0c/MemcachedConnection.java/buggy/src/java/net/spy/memcached/MemcachedConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 4294, 1435, 1216, 1860, 288, 202, 202, 474, 3170, 33, 9663, 18, 4025, 5621, 202, 202, 430, 12, 8109, 405, 374, 13, 288, 1082, 202, 694, 32, 6233, 653, 34, 3170, 2396, 33, 9663, 18, 8109, 2396, 5621, 1082, 202, 11231, 3170, 422, 3170, 2396, 18, 1467, 5621, 1082, 202, 1884, 12, 6233, 653, 4343, 294, 3170, 2396, 13, 288, 9506, 202, 588, 3328, 7675, 1376, 2932, 15617, 4421, 498, 30, 225, 738, 87, 261, 86, 5095, 87, 16, 341, 5095, 87, 2225, 16, 25083, 202, 7771, 16, 4343, 18, 291, 14151, 9334, 4343, 18, 291, 12061, 10663, 9506, 202, 3183, 6803, 21034, 28657, 3183, 6803, 13, 7771, 18, 11461, 5621, 9506, 202, 430, 12, 7588, 18, 4473, 18, 1467, 1435, 405, 374, 13, 288, 6862, 202, 2988, 783, 3817, 33, 7588, 18, 4473, 18, 347, 3839, 5621, 6862, 202, 588, 3328, 7675, 1376, 2932, 3935, 1674, 30, 738, 87, 3113, 783, 3817, 1769, 6862, 202, 759, 5783, 1620, 353, 364, 1665, 18, 6862, 202, 9610, 12, 2972, 3817, 18, 588, 1119, 10756, 288, 25083, 202, 3593, 10746, 1360, 30, 6862, 1082, 202, 430, 12, 7771, 18, 291, 14151, 10756, 288, 6862, 9506, 202, 7588, 18, 4327, 18, 896, 12, 7588, 18, 4385, 1769, 6862, 9506, 202, 7588, 18, 4385, 18, 12357, 5621, 6862, 9506, 202, 2972, 3817, 18, 896, 1265, 1892, 12, 7588, 18, 4385, 1769, 6862, 9506, 202, 7588, 18, 4385, 18, 8507, 5621, 6862, 1082, 202, 97, 6862, 1082, 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, 4294, 1435, 1216, 1860, 288, 202, 202, 474, 3170, 33, 9663, 18, 4025, 5621, 202, 202, 430, 12, 8109, 405, 374, 13, 288, 1082, 202, 694, 32, 6233, 653, 34, 3170, 2396, 33, 9663, 18, 8109, 2396, 5621, 1082, 202, 11231, 3170, 422, 3170, 2396, 18, 1467, 5621, 1082, 202, 1884, 12, 6233, 653, 4343, 294, 3170, 2396, 13, 288, 9506, 202, 588, 3328, 7675, 1376, 2932, 15617, 4421, 498, 30, 225, 738, 87, 261, 86, 5095, 87, 16, 341, 5095, 87, 2225, 16, 25083, 202, 7771, 16, 4343, 18, 291, 14151, 9334, 4343, 18, 291, 12061, 10663, 9506, 202, 3183, 6803, 21034, 28657, 3183, 6803, 13, 7771, 18, 11461, 5621, 9506, 202, 430, 2 ]
public int setScoreView (Score score, PagePoint pagPt)
public int setScoreView (Score score)
public int setScoreView (Score score, PagePoint pagPt) { if (logger.isDebugEnabled()) { logger.debug("setScoreView score=" + score + " pagPt=" + pagPt); } if (score != null) { // Make sure we have a proper score view ScoreView view = score.getView(); if (view == null) { // Build a brand new display on this score view = new ScoreView(score); } else { // So that scroll bars be OK view.computePositions(); } // Make sure the view is part of the tabbed pane int index = component.indexOfComponent(view.getComponent()); if (index == -1) { views.add(view); // Insert in tabbed pane component.addTab(score.getName(), null, view.getComponent(), score.getRadix()); index = component.indexOfComponent(view.getComponent()); } // Focus info if (pagPt == null) { if (logger.isDebugEnabled()) { logger.debug("No focus specified on Score side"); } // Does the sheet view has a defined focus ? Sheet sheet = score.getSheet(); if (sheet != null) {// SheetView sheetView = sheet.getView();// if (sheetView != null) {// // pagPt = sheetView.getFocus();// } } } if (pagPt != null) { // Use this focus information view.setFocus(pagPt); } return index; } else { return -1; } }
7322 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7322/3f5907a6c81a7ae55dd061308c1963bce78bbc37/ScorePane.java/buggy/src/main/omr/ui/ScorePane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 444, 7295, 1767, 261, 7295, 4462, 16, 11794, 3460, 2148, 4262, 16484, 13, 565, 288, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 2932, 542, 7295, 1767, 4462, 1546, 397, 4462, 397, 315, 4262, 16484, 1546, 397, 4262, 16484, 1769, 3639, 289, 3639, 309, 261, 6355, 480, 446, 13, 288, 5411, 368, 4344, 3071, 732, 1240, 279, 5338, 4462, 1476, 5411, 20671, 1767, 1476, 273, 4462, 18, 588, 1767, 5621, 5411, 309, 261, 1945, 422, 446, 13, 288, 7734, 368, 3998, 279, 15272, 394, 2562, 603, 333, 4462, 7734, 1476, 273, 394, 20671, 1767, 12, 6355, 1769, 5411, 289, 469, 288, 7734, 368, 6155, 716, 5532, 22252, 506, 7791, 7734, 1476, 18, 9200, 11024, 5621, 5411, 289, 5411, 368, 4344, 3071, 326, 1476, 353, 1087, 434, 326, 3246, 2992, 13618, 5411, 509, 770, 273, 1794, 18, 31806, 1841, 12, 1945, 18, 588, 1841, 10663, 5411, 309, 261, 1615, 422, 300, 21, 13, 288, 7734, 7361, 18, 1289, 12, 1945, 1769, 7734, 368, 8040, 316, 3246, 2992, 13618, 7734, 1794, 18, 1289, 5661, 12, 6355, 18, 17994, 9334, 446, 16, 4766, 1476, 18, 588, 1841, 9334, 4462, 18, 588, 6621, 697, 10663, 7734, 770, 273, 1794, 18, 31806, 1841, 12, 1945, 18, 588, 1841, 10663, 5411, 289, 5411, 368, 478, 4560, 1123, 5411, 309, 261, 9095, 16484, 422, 446, 13, 288, 7734, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 10792, 1194, 18, 4148, 2932, 2279, 7155, 1269, 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, 444, 7295, 1767, 261, 7295, 4462, 16, 11794, 3460, 2148, 4262, 16484, 13, 565, 288, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 2932, 542, 7295, 1767, 4462, 1546, 397, 4462, 397, 315, 4262, 16484, 1546, 397, 4262, 16484, 1769, 3639, 289, 3639, 309, 261, 6355, 480, 446, 13, 288, 5411, 368, 4344, 3071, 732, 1240, 279, 5338, 4462, 1476, 5411, 20671, 1767, 1476, 273, 4462, 18, 588, 1767, 5621, 5411, 309, 261, 1945, 422, 446, 13, 288, 7734, 368, 3998, 279, 15272, 394, 2562, 603, 333, 4462, 7734, 1476, 273, 394, 20671, 1767, 12, 6355, 1769, 5411, 289, 469, 288, 7734, 368, 6155, 716, 5532, 22252, 506, 7791, 7734, 2 ]
for (Enumeration i = miscList.elements(); i.hasMoreElements();) {
for (Enumeration i = miscList.elements(); i.hasMoreElements() && activeCount > 0;) {
public int getHeatCapacity() { int capacity = 0; boolean doubleSinks=false; for (Enumeration i = miscList.elements(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement(); if (mounted.isDestroyed() || mounted.isBreached()) { continue; } if (mounted.getType().hasFlag(MiscType.F_HEAT_SINK)) { capacity++; } else if(mounted.getType().hasFlag(MiscType.F_DOUBLE_HEAT_SINK)) { doubleSinks=true; capacity += 2; } } //test for disabled sinks capacity-=(getNumberOfSinks() - getActiveSinks())*(doubleSinks? 2: 1); return capacity; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/fb1e7bc7da0914080b18de7c39cf25da2ed93655/Mech.java/buggy/megamek/src/megamek/common/Mech.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 5256, 270, 7437, 1435, 288, 3639, 509, 7519, 273, 374, 31, 3639, 1250, 1645, 11326, 87, 33, 5743, 31, 7734, 364, 261, 21847, 277, 273, 20448, 682, 18, 6274, 5621, 277, 18, 5332, 7417, 3471, 1435, 597, 2695, 1380, 405, 374, 30943, 288, 5411, 13076, 329, 20919, 273, 261, 8725, 329, 13, 77, 18, 4285, 1046, 5621, 5411, 309, 261, 4778, 329, 18, 291, 28414, 1435, 747, 20919, 18, 291, 38, 266, 2004, 10756, 288, 7734, 1324, 31, 5411, 289, 5411, 309, 261, 4778, 329, 18, 588, 559, 7675, 5332, 4678, 12, 11729, 71, 559, 18, 42, 67, 3900, 789, 67, 55, 8476, 3719, 288, 7734, 7519, 9904, 31, 5411, 289, 469, 309, 12, 4778, 329, 18, 588, 559, 7675, 5332, 4678, 12, 11729, 71, 559, 18, 42, 67, 17088, 67, 3900, 789, 67, 55, 8476, 3719, 288, 7734, 1645, 11326, 87, 33, 3767, 31, 7734, 7519, 1011, 576, 31, 5411, 289, 3639, 289, 3639, 368, 3813, 364, 5673, 28618, 3639, 7519, 17, 28657, 588, 9226, 11326, 87, 1435, 300, 11960, 11326, 87, 10756, 21556, 9056, 11326, 87, 35, 576, 30, 404, 1769, 7734, 327, 7519, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 5256, 270, 7437, 1435, 288, 3639, 509, 7519, 273, 374, 31, 3639, 1250, 1645, 11326, 87, 33, 5743, 31, 7734, 364, 261, 21847, 277, 273, 20448, 682, 18, 6274, 5621, 277, 18, 5332, 7417, 3471, 1435, 597, 2695, 1380, 405, 374, 30943, 288, 5411, 13076, 329, 20919, 273, 261, 8725, 329, 13, 77, 18, 4285, 1046, 5621, 5411, 309, 261, 4778, 329, 18, 291, 28414, 1435, 747, 20919, 18, 291, 38, 266, 2004, 10756, 288, 7734, 1324, 31, 5411, 289, 5411, 309, 261, 4778, 329, 18, 588, 559, 7675, 5332, 4678, 12, 11729, 71, 559, 18, 42, 67, 3900, 789, 67, 55, 8476, 3719, 288, 7734, 7519, 9904, 31, 5411, 289, 469, 309, 12, 4778, 2 ]
createThemesMenuItem(themesMenu, "High Contrast", 'H', "", new ContrastTheme());
createThemesMenuItem(themesMenu, "High Contrast", 'H', "", new ContrastTheme());
private JMenuBar createMenus() { JMenuItem mi; // ***** create the menubar **** menuBar = new JMenuBar(); // ***** create File menu fileMenu = (JMenu) menuBar.add(new JMenu("File")); fileMenu.setMnemonic('F'); createMenuItem(fileMenu, "Print", 'P', "", new PrintAction(this)); createMenuItem(fileMenu, "Close", 'C', "", new CloseAction(this)); createMenuItem(fileMenu, "Exit", 'E', "", new ExitAction()); // ***** create laf switcher menu lafMenu = (JMenu) menuBar.add(new JMenu("Look & Feel")); lafMenu.setMnemonic('L'); mi = createLafMenuItem(lafMenu, "Java Look & Feel", 'J', "", metal); mi.setSelected(true); // this is the default l&f metalMenuItem = mi; createLafMenuItem(lafMenu, "Macintosh Look & Feel", 'M', "", mac); createLafMenuItem(lafMenu, "Motif Look & Feel", 'F', "", motif); createLafMenuItem(lafMenu, "Windows Look & Feel", 'W', "", windows); // ***** create themes menu themesMenu = (JMenu) menuBar.add(new JMenu("Themes")); themesMenu.setMnemonic('T'); mi = createThemesMenuItem(themesMenu, "Default", 'D', "", new DefaultMetalTheme()); mi.setSelected(true); // This is the default theme createThemesMenuItem(themesMenu, "Aqua", 'A', "", new AquaTheme()); createThemesMenuItem(themesMenu, "Charcoal", 'C', "", new CharcoalTheme()); createThemesMenuItem(themesMenu, "High Contrast", 'H', "", new ContrastTheme()); createThemesMenuItem(themesMenu, "Emerald", 'E', "", new EmeraldTheme()); createThemesMenuItem(themesMenu, "Ruby", 'R', "", new RubyTheme()); createThemesMenuItem(themesMenu, "Presentation", 'P', "", new DemoMetalTheme()); createThemesMenuItem(themesMenu, "Sandstone", 'S', "", new KhakiMetalTheme()); createThemesMenuItem(themesMenu, "Big High Contrast", 'I', "", new BigContrastMetalTheme()); createThemesMenuItem(themesMenu, "Blue", 'B', "", new BlueTheme()); createThemesMenuItem(themesMenu, "Cougaar", 'O', "", new CougaarTheme()); createThemesMenuItem(themesMenu, "Cougaar Presentation", 'O', "", new CougaarPresentationTheme()); return menuBar; }
7169 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7169/eec7e5148abd675f73babcc19dd26fd655c458d1/CFrame.java/clean/uiframework/src/org/cougaar/lib/uiframework/ui/components/CFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 4599, 5190, 752, 29755, 1435, 288, 202, 46, 12958, 12837, 31, 202, 759, 380, 1007, 752, 326, 21247, 373, 297, 380, 14465, 202, 5414, 5190, 273, 394, 804, 4599, 5190, 5621, 202, 759, 380, 1007, 752, 1387, 3824, 202, 768, 4599, 273, 261, 46, 4599, 13, 3824, 5190, 18, 1289, 12, 2704, 804, 4599, 2932, 812, 7923, 1769, 3639, 585, 4599, 18, 542, 29668, 20918, 2668, 42, 8284, 3639, 752, 12958, 12, 768, 4599, 16, 315, 5108, 3113, 296, 52, 2187, 23453, 394, 3038, 1803, 12, 2211, 10019, 3639, 752, 12958, 12, 768, 4599, 16, 315, 4605, 3113, 296, 39, 2187, 23453, 394, 3527, 1803, 12, 2211, 10019, 3639, 752, 12958, 12, 768, 4599, 16, 315, 6767, 3113, 296, 41, 2187, 23453, 394, 9500, 1803, 10663, 202, 759, 380, 1007, 752, 328, 1727, 1620, 264, 3824, 202, 80, 1727, 4599, 273, 261, 46, 4599, 13, 3824, 5190, 18, 1289, 12, 2704, 804, 4599, 2932, 9794, 473, 5782, 292, 7923, 1769, 3639, 328, 1727, 4599, 18, 542, 29668, 20918, 2668, 48, 8284, 202, 9197, 273, 752, 48, 1727, 12958, 12, 80, 1727, 4599, 16, 315, 5852, 10176, 473, 5782, 292, 3113, 296, 46, 2187, 23453, 5100, 287, 1769, 202, 9197, 18, 542, 7416, 12, 3767, 1769, 368, 333, 353, 326, 805, 328, 10, 74, 3639, 5100, 287, 12958, 273, 12837, 31, 202, 2640, 48, 1727, 12958, 12, 80, 1727, 4599, 16, 315, 9990, 474, 17636, 10176, 473, 5782, 292, 3113, 296, 49, 2187, 23453, 5318, 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, 804, 4599, 5190, 752, 29755, 1435, 288, 202, 46, 12958, 12837, 31, 202, 759, 380, 1007, 752, 326, 21247, 373, 297, 380, 14465, 202, 5414, 5190, 273, 394, 804, 4599, 5190, 5621, 202, 759, 380, 1007, 752, 1387, 3824, 202, 768, 4599, 273, 261, 46, 4599, 13, 3824, 5190, 18, 1289, 12, 2704, 804, 4599, 2932, 812, 7923, 1769, 3639, 585, 4599, 18, 542, 29668, 20918, 2668, 42, 8284, 3639, 752, 12958, 12, 768, 4599, 16, 315, 5108, 3113, 296, 52, 2187, 23453, 394, 3038, 1803, 12, 2211, 10019, 3639, 752, 12958, 12, 768, 4599, 16, 315, 4605, 3113, 296, 39, 2187, 23453, 394, 3527, 1803, 12, 2211, 10019, 3639, 752, 12958, 12, 768, 4599, 16, 315, 2 ]
getRuby().getRubyScope().setLocalVars(null); getRuby().getRubyScope().setLocalTbl(null);
ruby.getRubyScope().setLocalVars(null); ruby.getRubyScope().setLocalTbl(null);
public RubyObject setupModule(RubyModule module, NODE n) { NODE node = n; // String file = ruby_sourcefile; // int line = ruby_sourceline; // TMP_PROTECT; Frame frame = getRubyFrame(); frame.setTmp(getRubyFrame()); rubyFrame = frame; pushClass(); ruby.setRubyClass(module); getRuby().getRubyScope().push(); RubyVarmap.push(ruby); if (node.nd_tbl() != null) { List tmp = Collections.nCopies(node.nd_tbl()[0].intValue() + 1, ruby.getNil()); ShiftableList vars = new ShiftableList(new ArrayList(tmp)); vars.set(0, (VALUE)node); vars.shift(1); getRuby().getRubyScope().setLocalTbl(node.nd_tbl()); } else { getRuby().getRubyScope().setLocalVars(null); getRuby().getRubyScope().setLocalTbl(null); } PUSH_CREF(module); getRubyFrame().setCbase((VALUE)ruby_cref); // PUSH_TAG(PROT_NONE); RubyObject result = null; // if (( state = EXEC_TAG()) == 0 ) { // if (trace_func) { // call_trace_func("class", file, line, ruby_class, // ruby_frame->last_func, ruby_frame->last_class ); // } result = eval(ruby.getRubyClass(), node.nd_next()); // } // POP_TAG(); POP_CREF(); RubyVarmap.pop(ruby); getRuby().getRubyScope().pop(); popClass(); rubyFrame = frame.getTmp();// if (trace_func) {// call_trace_func("end", file, line, 0, ruby_frame->last_func, ruby_frame->last_class );// } // if (state != 0) { // JUMP_TAG(state); // } return result; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/cf644c556d410c47305ebeba5728efa25f7756dc/RubyInterpreter.java/clean/org/jruby/interpreter/RubyInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 3875, 3120, 12, 54, 10340, 3120, 1605, 16, 11922, 290, 13, 288, 3639, 11922, 756, 273, 290, 31, 7734, 368, 514, 585, 273, 22155, 67, 3168, 768, 31, 3639, 368, 509, 980, 273, 22155, 67, 87, 477, 2183, 558, 31, 7734, 368, 399, 4566, 67, 3373, 1448, 1268, 31, 3639, 8058, 2623, 273, 4170, 10340, 3219, 5621, 3639, 2623, 18, 542, 9161, 12, 588, 54, 10340, 3219, 10663, 3639, 22155, 3219, 273, 2623, 31, 3639, 1817, 797, 5621, 3639, 22155, 18, 542, 54, 10340, 797, 12, 2978, 1769, 3639, 4170, 10340, 7675, 588, 54, 10340, 3876, 7675, 6206, 5621, 3639, 19817, 1537, 1458, 18, 6206, 12, 27768, 1769, 3639, 309, 261, 2159, 18, 4880, 67, 16187, 1435, 480, 446, 13, 288, 5411, 987, 1853, 273, 5737, 18, 82, 15670, 12, 2159, 18, 4880, 67, 16187, 1435, 63, 20, 8009, 474, 620, 1435, 397, 404, 16, 22155, 18, 588, 12616, 10663, 5411, 2638, 430, 2121, 682, 4153, 273, 394, 2638, 430, 2121, 682, 12, 2704, 2407, 12, 5645, 10019, 5411, 4153, 18, 542, 12, 20, 16, 261, 4051, 13, 2159, 1769, 5411, 4153, 18, 4012, 12, 21, 1769, 5411, 4170, 10340, 7675, 588, 54, 10340, 3876, 7675, 542, 2042, 22592, 12, 2159, 18, 4880, 67, 16187, 10663, 3639, 289, 469, 288, 5411, 4170, 10340, 7675, 588, 54, 10340, 3876, 7675, 542, 2042, 5555, 12, 2011, 1769, 5411, 4170, 10340, 7675, 588, 54, 10340, 3876, 7675, 542, 2042, 22592, 12, 2011, 1769, 3639, 289, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 3875, 3120, 12, 54, 10340, 3120, 1605, 16, 11922, 290, 13, 288, 3639, 11922, 756, 273, 290, 31, 7734, 368, 514, 585, 273, 22155, 67, 3168, 768, 31, 3639, 368, 509, 980, 273, 22155, 67, 87, 477, 2183, 558, 31, 7734, 368, 399, 4566, 67, 3373, 1448, 1268, 31, 3639, 8058, 2623, 273, 4170, 10340, 3219, 5621, 3639, 2623, 18, 542, 9161, 12, 588, 54, 10340, 3219, 10663, 3639, 22155, 3219, 273, 2623, 31, 3639, 1817, 797, 5621, 3639, 22155, 18, 542, 54, 10340, 797, 12, 2978, 1769, 3639, 4170, 10340, 7675, 588, 54, 10340, 3876, 7675, 6206, 5621, 3639, 19817, 1537, 1458, 18, 6206, 12, 27768, 1769, 3639, 309, 261, 2159, 18, 4880, 67, 2 ]
.append((scope.focusIsString() || (scope.getBrowseType() == AUTHORS_BROWSE)) ? "" : ", item_id");
.append(((scope.focusIsString() && (scope.getBrowseType() != ITEMS_BY_DATE_BROWSE)) || (scope.getBrowseType() == AUTHORS_BROWSE)) ? "" : ", item_id{2}");
private static String createSqlInternal(BrowseScope scope, String itemValue, boolean isCount) throws SQLException { String tablename = BrowseTables.getTable(scope); String column = BrowseTables.getValueColumn(scope); int browseType = scope.getBrowseType(); StringBuffer sqlb = new StringBuffer(); sqlb.append("select "); sqlb.append(isCount ? "count(" : ""); sqlb.append(getTargetColumns(scope)); sqlb.append(isCount ? ")" : ""); /** * This next bit adds another column to the query, so * authors don't show up lower-case **/ if (browseType == AUTHORS_BROWSE && !isCount) { sqlb.append(",author"); } sqlb.append(" from "); sqlb.append(tablename); // If the browse uses items (or item ids) instead of String values // make a subquery. // We use a separate query to make sure the subquery works correctly // when item values are the same. (this is transactionally // safe because we set the isolation level). // If we're NOT searching from the start, add some clauses boolean addedWhereClause = false; if (scope.hasFocus()) { String subquery = null; if (scope.focusIsItem()) subquery = new StringBuffer() .append(" or ( ") .append(column) // Item id must be before or after the desired item .append(" = ? and item_id {0} ") .append(scope.getFocusItemId()) .append(")") .toString(); if (log.isDebugEnabled()) log.debug("Subquery is \"" + subquery + "\""); sqlb .append(" where ") .append("(") .append(column) // Operator is a parameter .append(" {1} ") .append("?") .append(scope.focusIsItem() ? subquery : "") .append(")"); addedWhereClause = true; } String connector = addedWhereClause ? " and " : " where "; sqlb.append(getScopeClause (scope, connector)); // For counting, skip the "order by" and "limit" clauses if (isCount) return sqlb.toString(); // Add an order by clause -- a parameter sqlb.append(" order by ").append(column).append("{2}") // If an item, make sure it's ordered by item_id as well .append((scope.focusIsString() || (scope.getBrowseType() == AUTHORS_BROWSE)) ? "" : ", item_id"); // A limit on the total returned (Postgres extension) if (! scope.hasNoLimit()) sqlb.append(" LIMIT {3} "); return sqlb.toString(); }
1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/5bf24aabd031924f365f478464f1318f19bffb68/Browse.java/clean/dspace/src/org/dspace/browse/Browse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 752, 5101, 3061, 12, 27304, 3876, 2146, 16, 4766, 5411, 514, 761, 620, 16, 4766, 5411, 1250, 353, 1380, 13, 3639, 1216, 6483, 565, 288, 3639, 514, 19096, 273, 605, 12481, 6905, 18, 588, 1388, 12, 4887, 1769, 3639, 514, 1057, 273, 605, 12481, 6905, 18, 24805, 1494, 12, 4887, 1769, 7734, 509, 21670, 559, 273, 2146, 18, 588, 27304, 559, 5621, 7734, 6674, 1847, 70, 273, 394, 6674, 5621, 3639, 1847, 70, 18, 6923, 2932, 4025, 315, 1769, 3639, 1847, 70, 18, 6923, 12, 291, 1380, 692, 315, 1883, 2932, 294, 1408, 1769, 3639, 202, 4669, 70, 18, 6923, 12, 588, 2326, 3380, 12, 4887, 10019, 3639, 202, 4669, 70, 18, 6923, 12, 291, 1380, 692, 7310, 294, 1408, 1769, 3639, 202, 3639, 202, 26873, 540, 202, 380, 1220, 1024, 2831, 4831, 4042, 1057, 358, 326, 843, 16, 1427, 540, 202, 380, 14494, 2727, 1404, 2405, 731, 2612, 17, 3593, 3639, 202, 26013, 3639, 309, 261, 25731, 559, 422, 12790, 14006, 67, 38, 11226, 1090, 597, 401, 291, 1380, 13, 202, 95, 202, 202, 4669, 70, 18, 6923, 2932, 16, 4161, 8863, 202, 97, 202, 3639, 1847, 70, 18, 6923, 2932, 628, 315, 1769, 3639, 1847, 70, 18, 6923, 12, 7032, 14724, 1769, 3639, 368, 971, 326, 21670, 4692, 1516, 261, 280, 761, 3258, 13, 3560, 434, 514, 924, 3639, 368, 1221, 279, 20074, 18, 3639, 368, 1660, 999, 279, 9004, 843, 358, 1221, 3071, 326, 20074, 6330, 8783, 3639, 368, 1347, 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, 752, 5101, 3061, 12, 27304, 3876, 2146, 16, 4766, 5411, 514, 761, 620, 16, 4766, 5411, 1250, 353, 1380, 13, 3639, 1216, 6483, 565, 288, 3639, 514, 19096, 273, 605, 12481, 6905, 18, 588, 1388, 12, 4887, 1769, 3639, 514, 1057, 273, 605, 12481, 6905, 18, 24805, 1494, 12, 4887, 1769, 7734, 509, 21670, 559, 273, 2146, 18, 588, 27304, 559, 5621, 7734, 6674, 1847, 70, 273, 394, 6674, 5621, 3639, 1847, 70, 18, 6923, 2932, 4025, 315, 1769, 3639, 1847, 70, 18, 6923, 12, 291, 1380, 692, 315, 1883, 2932, 294, 1408, 1769, 3639, 202, 4669, 70, 18, 6923, 12, 588, 2326, 3380, 12, 4887, 10019, 3639, 202, 4669, 70, 18, 6923, 12, 291, 2 ]
case DBRecorder.STATUS_STOPPED: info = "Stopped"; break; case DBRecorder.STATUS_STOPPING: info = "Stopping"; break; case DBRecorder.STATUS_LAUNCHING: info = "Launching"; break; case DBRecorder.STATUS_RUNNING: info = "Running"; break; case DBRecorder.STATUS_BREAK: info = "Break on "+DBEvent.getEventName(debugger.getRecorder().getStoppedOnEvent()); break;
case DBRecorder.STATUS_STOPPED: status = "Stopped"; break; case DBRecorder.STATUS_STOPPING: status = "Stopping"; break; case DBRecorder.STATUS_LAUNCHING: status = "Launching"; break; case DBRecorder.STATUS_RUNNING: status = "Running"; break; case DBRecorder.STATUS_BREAK: status = "Break on "+DBEvent.getEventName(debugger.getRecorder().getStoppedOnEvent()); break;
public void updateStatusInfo() { String info = "-"; switch(debugger.getRecorder().getStatus()) { case DBRecorder.STATUS_STOPPED: info = "Stopped"; break; case DBRecorder.STATUS_STOPPING: info = "Stopping"; break; case DBRecorder.STATUS_LAUNCHING: info = "Launching"; break; case DBRecorder.STATUS_RUNNING: info = "Running"; break; case DBRecorder.STATUS_BREAK: info = "Break on "+DBEvent.getEventName(debugger.getRecorder().getStoppedOnEvent()); break; } infoLabel.setText("Status: "+info); updateInterface(); }
4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/8c76a494f8e5f4ca96db631e84c086632b4b0543/DBControlPanel.java/clean/src/org/antlr/works/debugger/panels/DBControlPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1482, 966, 1435, 288, 3639, 514, 1123, 273, 7514, 31, 3639, 1620, 12, 4148, 693, 18, 588, 10777, 7675, 588, 1482, 10756, 288, 5411, 648, 2383, 10777, 18, 8608, 67, 17513, 12120, 30, 1123, 273, 315, 15294, 14432, 898, 31, 5411, 648, 2383, 10777, 18, 8608, 67, 17513, 20002, 30, 1123, 273, 315, 21994, 14432, 898, 31, 5411, 648, 2383, 10777, 18, 8608, 67, 2534, 2124, 1792, 1360, 30, 1123, 273, 315, 9569, 310, 14432, 898, 31, 5411, 648, 2383, 10777, 18, 8608, 67, 29358, 30, 1123, 273, 315, 7051, 14432, 898, 31, 5411, 648, 2383, 10777, 18, 8608, 67, 27960, 30, 1123, 273, 315, 7634, 603, 13773, 2290, 1133, 18, 588, 24320, 12, 4148, 693, 18, 588, 10777, 7675, 588, 15294, 1398, 1133, 10663, 898, 31, 3639, 289, 3639, 1123, 2224, 18, 542, 1528, 2932, 1482, 30, 13773, 1376, 1769, 3639, 1089, 1358, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1482, 966, 1435, 288, 3639, 514, 1123, 273, 7514, 31, 3639, 1620, 12, 4148, 693, 18, 588, 10777, 7675, 588, 1482, 10756, 288, 5411, 648, 2383, 10777, 18, 8608, 67, 17513, 12120, 30, 1123, 273, 315, 15294, 14432, 898, 31, 5411, 648, 2383, 10777, 18, 8608, 67, 17513, 20002, 30, 1123, 273, 315, 21994, 14432, 898, 31, 5411, 648, 2383, 10777, 18, 8608, 67, 2534, 2124, 1792, 1360, 30, 1123, 273, 315, 9569, 310, 14432, 898, 31, 5411, 648, 2383, 10777, 18, 8608, 67, 29358, 30, 1123, 273, 315, 7051, 14432, 898, 31, 5411, 648, 2383, 10777, 18, 8608, 67, 27960, 30, 1123, 273, 315, 7634, 603, 13773, 2290, 1133, 18, 588, 24320, 12, 4148, 2 ]
return sig.equals("Ljava/util/Hashtable;") || sig.equals("Ljava/util/Date;") || sig.charAt(0) == '[';
return sig.equals("Ljava/util/Hashtable;") || sig.equals("Ljava/util/Date;") || sig.charAt(0) == '[';
static boolean mutableSignature(String sig) { return sig.equals("Ljava/util/Hashtable;") || sig.equals("Ljava/util/Date;") || sig.charAt(0) == '['; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/MutableStaticFields.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/MutableStaticFields.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 1250, 16074, 5374, 12, 780, 3553, 13, 288, 202, 2463, 3553, 18, 14963, 2932, 21159, 19, 1367, 19, 5582, 14544, 4868, 13, 202, 202, 20081, 3553, 18, 14963, 2932, 21159, 19, 1367, 19, 1626, 4868, 13, 1082, 747, 3553, 18, 3001, 861, 12, 20, 13, 422, 8375, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 1250, 16074, 5374, 12, 780, 3553, 13, 288, 202, 2463, 3553, 18, 14963, 2932, 21159, 19, 1367, 19, 5582, 14544, 4868, 13, 202, 202, 20081, 3553, 18, 14963, 2932, 21159, 19, 1367, 19, 1626, 4868, 13, 1082, 747, 3553, 18, 3001, 861, 12, 20, 13, 422, 8375, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
wr.setRect(r);
if (is_INT_PACK) GraphicsUtil.copyData_INT_PACK(r, wr); else GraphicsUtil.copyData_FALLBACK(r, wr);
public void copyToRaster(WritableRaster wr) { int tx0 = getXTile(wr.getMinX()); int ty0 = getYTile(wr.getMinY()); int tx1 = getXTile(wr.getMinX()+wr.getWidth() -1); int ty1 = getYTile(wr.getMinY()+wr.getHeight()-1); if (tx0 < minTileX) tx0 = minTileX; if (ty0 < minTileY) ty0 = minTileY; if (tx1 >= minTileX+numXTiles) tx1 = minTileX+numXTiles-1; if (ty1 >= minTileY+numYTiles) ty1 = minTileY+numYTiles-1; for (int y=ty0; y<=ty1; y++) for (int x=tx0; x<=tx1; x++) { Raster r = getTile(x, y); wr.setRect(r); } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/8309088af3a51d18cd5ca8ee80fca8997e73ca54/AbstractRed.java/buggy/sources/org/apache/batik/ext/awt/image/rendered/AbstractRed.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 29817, 18637, 12, 12061, 18637, 12408, 13, 288, 3639, 509, 2229, 20, 273, 336, 3983, 398, 12, 91, 86, 18, 588, 2930, 60, 10663, 3639, 509, 13806, 20, 273, 10448, 9337, 12, 91, 86, 18, 588, 2930, 61, 10663, 3639, 509, 2229, 21, 273, 336, 3983, 398, 12, 91, 86, 18, 588, 2930, 60, 1435, 15, 91, 86, 18, 588, 2384, 1435, 300, 21, 1769, 3639, 509, 13806, 21, 273, 10448, 9337, 12, 91, 86, 18, 588, 2930, 61, 1435, 15, 91, 86, 18, 588, 2686, 1435, 17, 21, 1769, 3639, 309, 261, 978, 20, 411, 1131, 9337, 60, 13, 2229, 20, 273, 1131, 9337, 60, 31, 3639, 309, 261, 4098, 20, 411, 1131, 9337, 61, 13, 13806, 20, 273, 1131, 9337, 61, 31, 3639, 309, 261, 978, 21, 1545, 1131, 9337, 60, 15, 2107, 3983, 1449, 13, 2229, 21, 273, 1131, 9337, 60, 15, 2107, 3983, 1449, 17, 21, 31, 3639, 309, 261, 4098, 21, 1545, 1131, 9337, 61, 15, 2107, 61, 27669, 13, 13806, 21, 273, 1131, 9337, 61, 15, 2107, 61, 27669, 17, 21, 31, 3639, 364, 261, 474, 677, 33, 4098, 20, 31, 677, 32, 33, 4098, 21, 31, 677, 27245, 5411, 364, 261, 474, 619, 33, 978, 20, 31, 619, 32, 33, 978, 21, 31, 619, 27245, 288, 7734, 30757, 436, 273, 24738, 12, 92, 16, 677, 1769, 7734, 309, 261, 291, 67, 3217, 67, 12231, 13, 16830, 1304, 18, 3530, 751, 67, 3217, 67, 12231, 12, 86, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 29817, 18637, 12, 12061, 18637, 12408, 13, 288, 3639, 509, 2229, 20, 273, 336, 3983, 398, 12, 91, 86, 18, 588, 2930, 60, 10663, 3639, 509, 13806, 20, 273, 10448, 9337, 12, 91, 86, 18, 588, 2930, 61, 10663, 3639, 509, 2229, 21, 273, 336, 3983, 398, 12, 91, 86, 18, 588, 2930, 60, 1435, 15, 91, 86, 18, 588, 2384, 1435, 300, 21, 1769, 3639, 509, 13806, 21, 273, 10448, 9337, 12, 91, 86, 18, 588, 2930, 61, 1435, 15, 91, 86, 18, 588, 2686, 1435, 17, 21, 1769, 3639, 309, 261, 978, 20, 411, 1131, 9337, 60, 13, 2229, 20, 273, 1131, 9337, 60, 31, 3639, 309, 261, 4098, 20, 411, 1131, 9337, 61, 2 ]
debug("start Extension len == " + val.getLength());
if (Configuration.DEBUG) log.fine("start Extension len == " + val.getLength());
private void parse(int version, DERReader der) throws Exception { // RevokedCertificate ::= SEQUENCE { DERValue entry = der.read(); debug("start CRL entry len == " + entry.getLength()); if (!entry.isConstructed()) throw new IOException("malformed revokedCertificate"); encoded = entry.getEncoded(); int len = 0; debug("encoded entry:\n" + Util.hexDump(encoded, ">>>> ")); // userCertificate CertificateSerialNumber, DERValue val = der.read(); serialNo = (BigInteger) val.getValue(); len += val.getEncodedLength(); debug("userCertificate == " + serialNo + " current count == " + len); // revocationDate Time, val = der.read(); revocationDate = (Date) val.getValue(); len += val.getEncodedLength(); debug("revocationDate == " + revocationDate + " current count == " + len); // crlEntryExtensions Extensions OPTIONAL // -- if present MUST be v2 if (len < entry.getLength()) { if (version < 2) throw new IOException("extra data in CRL entry"); DERValue exts = der.read(); if (!exts.isConstructed()) throw new IOException("malformed Extensions"); debug("start Extensions len == " + exts.getLength()); len = 0; while (len < exts.getLength()) { val = der.read(); if (!val.isConstructed()) throw new IOException("malformed Extension"); debug("start Extension len == " + val.getLength()); Extension e = new Extension(val.getEncoded()); extensions.put(e.getOid(), e); der.skip(val.getLength()); len += val.getEncodedLength(); debug("current count == " + len); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRLEntry.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509CRLEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1109, 12, 474, 1177, 16, 21801, 2514, 4854, 13, 1216, 1185, 225, 288, 565, 368, 14477, 14276, 4719, 493, 33, 27118, 288, 565, 21801, 620, 1241, 273, 4854, 18, 896, 5621, 565, 1198, 2932, 1937, 26526, 1241, 282, 562, 422, 315, 397, 1241, 18, 588, 1782, 10663, 565, 309, 16051, 4099, 18, 291, 7249, 329, 10756, 1377, 604, 394, 1860, 2932, 81, 8246, 22919, 4719, 8863, 565, 3749, 273, 1241, 18, 588, 10397, 5621, 565, 509, 562, 273, 374, 31, 565, 1198, 2932, 10787, 1241, 5581, 82, 6, 397, 3564, 18, 7118, 10628, 12, 10787, 16, 315, 9778, 9778, 9369, 1769, 565, 368, 282, 729, 4719, 282, 6660, 6342, 1854, 16, 565, 21801, 620, 1244, 273, 4854, 18, 896, 5621, 565, 2734, 2279, 273, 261, 24198, 13, 1244, 18, 24805, 5621, 565, 562, 1011, 1244, 18, 588, 10397, 1782, 5621, 565, 1198, 2932, 1355, 4719, 422, 315, 397, 2734, 2279, 397, 315, 225, 783, 1056, 422, 315, 397, 562, 1769, 565, 368, 282, 24158, 1626, 282, 2647, 16, 565, 1244, 273, 4854, 18, 896, 5621, 565, 24158, 1626, 273, 261, 1626, 13, 1244, 18, 24805, 5621, 565, 562, 1011, 1244, 18, 588, 10397, 1782, 5621, 565, 1198, 2932, 9083, 4431, 1626, 422, 315, 397, 24158, 1626, 397, 315, 225, 783, 1056, 422, 315, 397, 562, 1769, 565, 368, 282, 18789, 1622, 7513, 282, 23105, 14930, 565, 368, 12900, 1493, 309, 3430, 10685, 506, 331, 22, 565, 309, 261, 1897, 411, 1241, 18, 588, 1782, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1109, 12, 474, 1177, 16, 21801, 2514, 4854, 13, 1216, 1185, 225, 288, 565, 368, 14477, 14276, 4719, 493, 33, 27118, 288, 565, 21801, 620, 1241, 273, 4854, 18, 896, 5621, 565, 1198, 2932, 1937, 26526, 1241, 282, 562, 422, 315, 397, 1241, 18, 588, 1782, 10663, 565, 309, 16051, 4099, 18, 291, 7249, 329, 10756, 1377, 604, 394, 1860, 2932, 81, 8246, 22919, 4719, 8863, 565, 3749, 273, 1241, 18, 588, 10397, 5621, 565, 509, 562, 273, 374, 31, 565, 1198, 2932, 10787, 1241, 5581, 82, 6, 397, 3564, 18, 7118, 10628, 12, 10787, 16, 315, 9778, 9778, 9369, 1769, 565, 368, 282, 729, 4719, 282, 6660, 6342, 1854, 16, 565, 21801, 620, 1244, 273, 2 ]
assertFalse(manager.isActiveToday(task));
assertFalse(manager.isReminderToday(task));
public void testIsActiveToday() { ITask task = new Task("1", "task-1", true); assertFalse(manager.isActiveToday(task)); task.setReminderDate(new Date()); assertFalse(manager.isActiveToday(task)); task.setReminded(true); assertFalse(manager.isActiveToday(task)); task.setReminded(true); Calendar inAnHour = Calendar.getInstance(); inAnHour.set(Calendar.HOUR_OF_DAY, inAnHour.get(Calendar.HOUR_OF_DAY)+1); inAnHour.getTime(); task.setReminderDate(inAnHour.getTime()); Calendar tomorrow = Calendar.getInstance(); manager.setTomorrow(tomorrow); assertEquals(-1, inAnHour.compareTo(tomorrow)); assertTrue(manager.isActiveToday(task)); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/87c056d82f7d9d8bc2394ae7631c86765a052850/TaskListManagerTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2520, 3896, 56, 20136, 1435, 288, 202, 202, 1285, 835, 1562, 273, 394, 3837, 2932, 21, 3113, 315, 4146, 17, 21, 3113, 638, 1769, 202, 202, 11231, 8381, 12, 4181, 18, 291, 3896, 56, 20136, 12, 4146, 10019, 9506, 202, 4146, 18, 542, 1933, 14055, 1626, 12, 2704, 2167, 10663, 202, 202, 11231, 8381, 12, 4181, 18, 291, 3896, 56, 20136, 12, 4146, 10019, 9506, 202, 4146, 18, 542, 1933, 267, 785, 12, 3767, 1769, 202, 202, 11231, 8381, 12, 4181, 18, 291, 3896, 56, 20136, 12, 4146, 10019, 202, 202, 4146, 18, 542, 1933, 267, 785, 12, 3767, 1769, 9506, 202, 7335, 316, 979, 13433, 273, 5542, 18, 588, 1442, 5621, 202, 202, 267, 979, 13433, 18, 542, 12, 7335, 18, 21372, 67, 3932, 67, 10339, 16, 316, 979, 13433, 18, 588, 12, 7335, 18, 21372, 67, 3932, 67, 10339, 27921, 21, 1769, 202, 202, 267, 979, 13433, 18, 588, 950, 5621, 202, 202, 4146, 18, 542, 1933, 14055, 1626, 12, 267, 979, 13433, 18, 588, 950, 10663, 202, 202, 7335, 29998, 15318, 273, 5542, 18, 588, 1442, 5621, 202, 202, 4181, 18, 542, 56, 362, 15318, 12, 3599, 15318, 1769, 202, 202, 11231, 8867, 19236, 21, 16, 316, 979, 13433, 18, 9877, 774, 12, 3599, 15318, 10019, 9506, 202, 11231, 5510, 12, 4181, 18, 291, 3896, 56, 20136, 12, 4146, 10019, 225, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2520, 3896, 56, 20136, 1435, 288, 202, 202, 1285, 835, 1562, 273, 394, 3837, 2932, 21, 3113, 315, 4146, 17, 21, 3113, 638, 1769, 202, 202, 11231, 8381, 12, 4181, 18, 291, 3896, 56, 20136, 12, 4146, 10019, 9506, 202, 4146, 18, 542, 1933, 14055, 1626, 12, 2704, 2167, 10663, 202, 202, 11231, 8381, 12, 4181, 18, 291, 3896, 56, 20136, 12, 4146, 10019, 9506, 202, 4146, 18, 542, 1933, 267, 785, 12, 3767, 1769, 202, 202, 11231, 8381, 12, 4181, 18, 291, 3896, 56, 20136, 12, 4146, 10019, 202, 202, 4146, 18, 542, 1933, 267, 785, 12, 3767, 1769, 9506, 202, 7335, 316, 979, 13433, 273, 5542, 18, 588, 1442, 5621, 202, 202, 2 ]
storedFixnums.remove(item);
public void testObjectSpace() { ObjectSpace os = new ObjectSpace(); IRubyObject o1 = runtime.newFixnum(10); IRubyObject o2 = runtime.newFixnum(20); IRubyObject o3 = runtime.newFixnum(30); IRubyObject o4 = runtime.newString("hello"); os.add(o1); os.add(o2); os.add(o3); os.add(o4); List storedFixnums = new ArrayList(3); storedFixnums.add(o1); storedFixnums.add(o2); storedFixnums.add(o3); Iterator strings = os.iterator(runtime.getClass("String")); assertTrue(strings.hasNext()); assertSame(o4, strings.next()); assertTrue(! strings.hasNext()); Iterator numerics = os.iterator(runtime.getClass("Numeric")); for (int i = 0; i < 3; i++) { assertTrue(numerics.hasNext()); Object item = numerics.next(); assertTrue(storedFixnums.contains(item)); storedFixnums.remove(item); } assertTrue(! numerics.hasNext()); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/0e0821d4b61055cfc934d37f98d2e8770d6b7311/TestObjectSpace.java/buggy/test/org/jruby/test/TestObjectSpace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 921, 3819, 1435, 288, 3639, 1033, 3819, 1140, 273, 394, 1033, 3819, 5621, 3639, 15908, 10340, 921, 320, 21, 273, 3099, 18, 2704, 8585, 2107, 12, 2163, 1769, 3639, 15908, 10340, 921, 320, 22, 273, 3099, 18, 2704, 8585, 2107, 12, 3462, 1769, 3639, 15908, 10340, 921, 320, 23, 273, 3099, 18, 2704, 8585, 2107, 12, 5082, 1769, 3639, 15908, 10340, 921, 320, 24, 273, 3099, 18, 2704, 780, 2932, 23711, 8863, 3639, 1140, 18, 1289, 12, 83, 21, 1769, 3639, 1140, 18, 1289, 12, 83, 22, 1769, 3639, 1140, 18, 1289, 12, 83, 23, 1769, 3639, 1140, 18, 1289, 12, 83, 24, 1769, 3639, 987, 4041, 8585, 21180, 273, 394, 2407, 12, 23, 1769, 3639, 4041, 8585, 21180, 18, 1289, 12, 83, 21, 1769, 3639, 4041, 8585, 21180, 18, 1289, 12, 83, 22, 1769, 3639, 4041, 8585, 21180, 18, 1289, 12, 83, 23, 1769, 3639, 4498, 2064, 273, 1140, 18, 9838, 12, 9448, 18, 588, 797, 2932, 780, 7923, 1769, 3639, 1815, 5510, 12, 10219, 18, 5332, 2134, 10663, 3639, 1815, 8650, 12, 83, 24, 16, 2064, 18, 4285, 10663, 3639, 1815, 5510, 12, 5, 2064, 18, 5332, 2134, 10663, 3639, 4498, 26511, 2102, 273, 1140, 18, 9838, 12, 9448, 18, 588, 797, 2932, 9902, 7923, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 890, 31, 277, 27245, 288, 5411, 1815, 5510, 12, 2107, 264, 2102, 18, 5332, 2134, 10663, 5411, 1033, 761, 273, 26511, 2102, 18, 4285, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 921, 3819, 1435, 288, 3639, 1033, 3819, 1140, 273, 394, 1033, 3819, 5621, 3639, 15908, 10340, 921, 320, 21, 273, 3099, 18, 2704, 8585, 2107, 12, 2163, 1769, 3639, 15908, 10340, 921, 320, 22, 273, 3099, 18, 2704, 8585, 2107, 12, 3462, 1769, 3639, 15908, 10340, 921, 320, 23, 273, 3099, 18, 2704, 8585, 2107, 12, 5082, 1769, 3639, 15908, 10340, 921, 320, 24, 273, 3099, 18, 2704, 780, 2932, 23711, 8863, 3639, 1140, 18, 1289, 12, 83, 21, 1769, 3639, 1140, 18, 1289, 12, 83, 22, 1769, 3639, 1140, 18, 1289, 12, 83, 23, 1769, 3639, 1140, 18, 1289, 12, 83, 24, 1769, 3639, 987, 4041, 8585, 21180, 273, 394, 2407, 12, 23, 1769, 2 ]
final int adjust;
int adjust;
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegion) { adjust = 0; snuggle = 1; } else { adjust = 1; snuggle = 0; } int rightCorner = (((sides & RIGHT) == RIGHT) ? (int) border.right() : adjust); int leftCorner = (((sides & LEFT) == LEFT) ? (int) border.left() - adjust : 0); int topCorner = (((sides & TOP) == TOP) ? (int) border.top() - adjust : 0); int bottomCorner = (((sides & BOTTOM) == BOTTOM) ? (int) border.bottom() : adjust); Polygon poly = null; if (currentSide == TOP) { if ((int) border.top() != 1) { // use polygons for borders over 1px wide poly = new Polygon(); poly.addPoint(bounds.x, bounds.y); poly.addPoint(bounds.x + bounds.width - adjust, bounds.y); poly.addPoint(bounds.x + bounds.width - rightCorner, bounds.y + (int) border.top() - adjust); poly.addPoint(bounds.x + leftCorner, bounds.y + (int) border.top() - adjust); } } else if (currentSide == BOTTOM) { if ((int) border.bottom() != 1) { poly = new Polygon(); // upper right poly.addPoint(bounds.x + bounds.width - rightCorner, bounds.y + bounds.height - (int) border.bottom()); // upper left poly.addPoint(bounds.x + leftCorner, bounds.y + bounds.height - (int) border.bottom()); // lower left poly.addPoint(bounds.x, bounds.y + bounds.height - adjust); // lower right poly.addPoint(bounds.x + bounds.width - adjust, bounds.y + bounds.height - adjust); } } else if (currentSide == RIGHT) { if ((int) border.right() != 1) { poly = new Polygon(); poly.addPoint(bounds.x + bounds.width - adjust, bounds.y); poly.addPoint(bounds.x + bounds.width - (int) border.right(), bounds.y + topCorner - snuggle); poly.addPoint(bounds.x + bounds.width - (int) border.right(), bounds.y + bounds.height - bottomCorner + snuggle); poly.addPoint(bounds.x + bounds.width - adjust, bounds.y + bounds.height - adjust); } } else if (currentSide == LEFT) { if ((int) border.left() != 1) { poly = new Polygon(); poly.addPoint(bounds.x, bounds.y); poly.addPoint(bounds.x + (int) border.left() - adjust, bounds.y + topCorner - snuggle); poly.addPoint(bounds.x + (int) border.left() - adjust, bounds.y + bounds.height - bottomCorner + snuggle); poly.addPoint(bounds.x, bounds.y + bounds.height - adjust); } } return poly; }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/89207459d065862ac78cc417022fde401603ba03/BorderPainter.java/buggy/src/java/org/xhtmlrenderer/render/BorderPainter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 12681, 336, 1919, 941, 1259, 11787, 12, 6385, 13264, 4972, 16, 727, 13525, 1396, 694, 5795, 16, 727, 509, 22423, 16, 509, 783, 8895, 16, 1250, 353, 15339, 5165, 13, 288, 3639, 368, 13362, 364, 7934, 316, 7154, 25740, 3639, 509, 5765, 31, 3639, 368, 13362, 4832, 18398, 358, 1221, 22423, 4845, 4556, 637, 715, 3639, 727, 509, 4556, 637, 3213, 31, 3639, 309, 261, 291, 15339, 5165, 13, 288, 5411, 5765, 273, 374, 31, 5411, 4556, 637, 3213, 273, 404, 31, 3639, 289, 469, 288, 5411, 5765, 273, 404, 31, 5411, 4556, 637, 3213, 273, 374, 31, 3639, 289, 3639, 509, 2145, 23145, 273, 261, 12443, 87, 4369, 473, 13135, 13, 422, 13135, 13, 692, 261, 474, 13, 5795, 18, 4083, 1435, 294, 5765, 1769, 3639, 509, 2002, 23145, 273, 261, 12443, 87, 4369, 473, 9686, 13, 422, 9686, 13, 692, 261, 474, 13, 5795, 18, 4482, 1435, 300, 5765, 294, 374, 1769, 3639, 509, 1760, 23145, 273, 261, 12443, 87, 4369, 473, 18680, 13, 422, 18680, 13, 692, 261, 474, 13, 5795, 18, 3669, 1435, 300, 5765, 294, 374, 1769, 3639, 509, 5469, 23145, 273, 261, 12443, 87, 4369, 473, 30666, 13, 422, 30666, 13, 692, 261, 474, 13, 5795, 18, 9176, 1435, 294, 5765, 1769, 3639, 12681, 7573, 273, 446, 31, 3639, 309, 261, 2972, 8895, 422, 18680, 13, 288, 5411, 309, 14015, 474, 13, 5795, 18, 3669, 1435, 480, 404, 13, 288, 7734, 368, 999, 17294, 364, 24028, 1879, 404, 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, 12681, 336, 1919, 941, 1259, 11787, 12, 6385, 13264, 4972, 16, 727, 13525, 1396, 694, 5795, 16, 727, 509, 22423, 16, 509, 783, 8895, 16, 1250, 353, 15339, 5165, 13, 288, 3639, 368, 13362, 364, 7934, 316, 7154, 25740, 3639, 509, 5765, 31, 3639, 368, 13362, 4832, 18398, 358, 1221, 22423, 4845, 4556, 637, 715, 3639, 727, 509, 4556, 637, 3213, 31, 3639, 309, 261, 291, 15339, 5165, 13, 288, 5411, 5765, 273, 374, 31, 5411, 4556, 637, 3213, 273, 404, 31, 3639, 289, 469, 288, 5411, 5765, 273, 404, 31, 5411, 4556, 637, 3213, 273, 374, 31, 3639, 289, 3639, 509, 2145, 23145, 273, 261, 12443, 87, 4369, 473, 13135, 13, 422, 13135, 13, 692, 2 ]
Scriptable nestedValue = wrap(ScriptableObject.getTopLevelScope(this), nestedClass);
NativeJavaClass nestedValue = new NativeJavaClass (ScriptableObject.getTopLevelScope(this), nestedClass);
public Object get(String name, Scriptable start) { // When used as a constructor, ScriptRuntime.newObject() asks // for our prototype to create an object of the correct type. // We don't really care what the object is, since we're returning // one constructed out of whole cloth, so we return null. if (name.equals("prototype")) return null; Object result = Scriptable.NOT_FOUND; if (fieldAndMethods != null) { result = fieldAndMethods.get(name); if (result != null) return result; } if (members.has(name, true)) { result = members.get(this, name, javaObject, true); } else { // experimental: look for nested classes by appending $name to current class' name. try { String nestedName = getClassObject().getName() + '$' + name; Class nestedClass = ScriptRuntime.loadClassName(nestedName); Scriptable nestedValue = wrap(ScriptableObject.getTopLevelScope(this), nestedClass); nestedValue.setParentScope(this); result = nestedValue; } catch (ClassNotFoundException ex) { throw members.reportMemberNotFound(name); } catch (IllegalArgumentException e) { throw members.reportMemberNotFound(name); } } return result; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/012b28330e6ece4895192a56453b155bffa44390/NativeJavaClass.java/clean/js/rhino/src/org/mozilla/javascript/NativeJavaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 368, 5203, 1399, 487, 279, 3885, 16, 7739, 5576, 18, 2704, 921, 1435, 6827, 87, 3639, 368, 364, 3134, 4409, 358, 752, 392, 733, 434, 326, 3434, 618, 18, 3639, 368, 1660, 2727, 1404, 8654, 7671, 4121, 326, 733, 353, 16, 3241, 732, 4565, 5785, 3639, 368, 1245, 15688, 596, 434, 7339, 927, 10370, 16, 1427, 732, 327, 446, 18, 3639, 309, 261, 529, 18, 14963, 2932, 18541, 6, 3719, 5411, 327, 446, 31, 3639, 1033, 563, 273, 22780, 18, 4400, 67, 9294, 31, 3639, 309, 261, 1518, 1876, 4712, 480, 446, 13, 288, 5411, 563, 273, 652, 1876, 4712, 18, 588, 12, 529, 1769, 5411, 309, 261, 2088, 480, 446, 13, 7734, 327, 563, 31, 3639, 289, 3639, 309, 261, 7640, 18, 5332, 12, 529, 16, 638, 3719, 288, 5411, 563, 273, 4833, 18, 588, 12, 2211, 16, 508, 16, 2252, 921, 16, 638, 1769, 3639, 289, 469, 288, 5411, 368, 23070, 30, 225, 2324, 364, 4764, 3318, 635, 19997, 271, 529, 358, 783, 667, 11, 508, 18, 5411, 775, 288, 7734, 514, 4764, 461, 273, 2900, 921, 7675, 17994, 1435, 397, 11874, 397, 508, 31, 7734, 1659, 4764, 797, 273, 7739, 5576, 18, 945, 3834, 12, 12985, 461, 1769, 7734, 16717, 5852, 797, 4764, 620, 273, 394, 16717, 5852, 797, 261, 3651, 429, 921, 18, 588, 27046, 3876, 12, 2211, 3631, 4764, 797, 1769, 7734, 4764, 620, 18, 542, 3054, 3876, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 368, 5203, 1399, 487, 279, 3885, 16, 7739, 5576, 18, 2704, 921, 1435, 6827, 87, 3639, 368, 364, 3134, 4409, 358, 752, 392, 733, 434, 326, 3434, 618, 18, 3639, 368, 1660, 2727, 1404, 8654, 7671, 4121, 326, 733, 353, 16, 3241, 732, 4565, 5785, 3639, 368, 1245, 15688, 596, 434, 7339, 927, 10370, 16, 1427, 732, 327, 446, 18, 3639, 309, 261, 529, 18, 14963, 2932, 18541, 6, 3719, 5411, 327, 446, 31, 3639, 1033, 563, 273, 22780, 18, 4400, 67, 9294, 31, 3639, 309, 261, 1518, 1876, 4712, 480, 446, 13, 288, 5411, 563, 273, 652, 1876, 4712, 18, 588, 12, 529, 1769, 5411, 2 ]
synchronized (dynaClasses) {
synchronized (lock) { if (dynaClasses == null) { dynaClasses = new HashMap(); }
public static void clear() { synchronized (dynaClasses) { dynaClasses.clear(); } }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/b3ef99f369a4372491436b9e61210750b949c9d2/DynaActionFormClass.java/buggy/src/share/org/apache/struts/action/DynaActionFormClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2424, 1435, 288, 3639, 3852, 261, 739, 13, 288, 309, 261, 72, 23041, 4818, 422, 446, 13, 288, 19417, 69, 4818, 273, 394, 4317, 5621, 289, 5411, 19417, 69, 4818, 18, 8507, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2424, 1435, 288, 3639, 3852, 261, 739, 13, 288, 309, 261, 72, 23041, 4818, 422, 446, 13, 288, 19417, 69, 4818, 273, 394, 4317, 5621, 289, 5411, 19417, 69, 4818, 18, 8507, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public String[][] getParentDocumentAndMenuIdsForDocument( DocumentDomainObject document ) {
public String[][] getParentDocumentAndMenuIdsForDocument(DocumentDomainObject document) {
public String[][] getParentDocumentAndMenuIdsForDocument( DocumentDomainObject document ) { String sqlStr = "SELECT meta_id,menu_index FROM childs, menus WHERE menus.menu_id = childs.menu_id AND to_meta_id = ?"; return service.sqlQueryMulti( sqlStr, new String[]{"" + document.getId()} ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/25d7c7c866e4b2d2d9e20e2d71648b696a1c81f6/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 63, 6362, 65, 5089, 2519, 1876, 4599, 2673, 1290, 2519, 12, 2519, 3748, 921, 1668, 13, 288, 3639, 514, 1847, 1585, 273, 315, 4803, 2191, 67, 350, 16, 5414, 67, 1615, 4571, 21619, 16, 21374, 4852, 21374, 18, 5414, 67, 350, 273, 21619, 18, 5414, 67, 350, 4116, 358, 67, 3901, 67, 350, 273, 692, 14432, 3639, 327, 1156, 18, 4669, 1138, 5002, 12, 1847, 1585, 16, 394, 514, 63, 7073, 3660, 397, 1668, 18, 26321, 17767, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 63, 6362, 65, 5089, 2519, 1876, 4599, 2673, 1290, 2519, 12, 2519, 3748, 921, 1668, 13, 288, 3639, 514, 1847, 1585, 273, 315, 4803, 2191, 67, 350, 16, 5414, 67, 1615, 4571, 21619, 16, 21374, 4852, 21374, 18, 5414, 67, 350, 273, 21619, 18, 5414, 67, 350, 4116, 358, 67, 3901, 67, 350, 273, 692, 14432, 3639, 327, 1156, 18, 4669, 1138, 5002, 12, 1847, 1585, 16, 394, 514, 63, 7073, 3660, 397, 1668, 18, 26321, 17767, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (qualifiers.length() != 0) qualifiers += "; "; qualifiers += lang;
private static String showSet(Set nativeCountries, boolean transliterate, boolean isLanguage) { UnicodeSet BIDI_R = new UnicodeSet( "[[:Bidi_Class=R:][:Bidi_Class=AL:]]"); StringBuffer result = new StringBuffer(); Map sb = new TreeMap(LanguageList.col); // collect multiples by English name for (Iterator it = nativeCountries.iterator(); it.hasNext();) { LanguageList llist = (LanguageList) it.next(); Set s = (Set) sb.get(llist.getEnglishName()); if (s == null) sb.put(llist.getEnglishName(), s = new TreeSet()); s.add(llist); } for (Iterator it = sb.keySet().iterator(); it.hasNext();) { String englishName = (String) it.next(); Set s = (Set) sb.get(englishName); if (result.length() != 0) { result.append(", "); } String qualifiers = "", title = ""; int count = 0; boolean needQualifier = s.size() != 1; for (Iterator it2 = s.iterator(); it2.hasNext();) { count += 1; LanguageList llist = (LanguageList) it2.next(); String localName = llist.getLocalName(); String locale = llist.getLocale(); // see if we need qualifier String lang = locale, country = ""; if (locale.length() > 3 && locale.charAt(locale.length() - 3) == '_') { lang = locale.substring(0, locale.length() - 3); country = locale.substring(locale.length() - 2); } // fix if (BIDI_R.containsSome(localName)) localName = '\u200E' + localName + '\u200E'; if (qualifiers.length() != 0) qualifiers += "; "; qualifiers += lang; if (title.length() != 0) title += "; ";/* if (isLanguage) { title += lang; } else { title += country; }*/ if (!localName.equalsIgnoreCase(englishName)) { needQualifier = true; qualifiers += ", " + localName; if (transliterate && NON_LATIN.containsSome(localName) && !lang.equals("ja")) { String transName = fixedTitleCase(ULocale.ENGLISH, toLatin.transliterate(localName)); if (NON_LATIN.containsSome(transName)) { Log.logln("Can't transliterate " + localName + ": " + transName); } else { title += ", " + transName; } } } } String before = "", after = ""; if (title.length() != 0) { before = "<span title=\'" + BagFormatter.toHTML.transliterate(title) + "'>"; after = "</span>"; } if (!needQualifier) qualifiers = ""; else qualifiers = " (" + qualifiers + ")"; // fix if (englishName.endsWith(", China")) { englishName = englishName.substring(0, englishName.length() - ", China".length()) + " China"; } result.append(before) .append( BagFormatter.toHTML.transliterate(englishName + qualifiers)).append(after); } return result.toString(); }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/d320952c0a8b7f7684167c50d5798bfccc18b724/GenerateStatistics.java/clean/tools/java/org/unicode/cldr/tool/GenerateStatistics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 514, 2405, 694, 12, 694, 6448, 30945, 16, 1250, 2162, 18793, 16, 1082, 202, 6494, 353, 3779, 13, 288, 202, 202, 16532, 694, 605, 30218, 67, 54, 273, 394, 9633, 694, 12, 9506, 202, 6, 63, 10531, 17763, 77, 67, 797, 33, 54, 30, 6362, 30, 17763, 77, 67, 797, 33, 1013, 26894, 4279, 1769, 202, 202, 780, 1892, 563, 273, 394, 6674, 5621, 202, 202, 863, 2393, 273, 394, 16381, 12, 3779, 682, 18, 1293, 1769, 202, 202, 759, 3274, 3309, 6089, 635, 24151, 508, 202, 202, 1884, 261, 3198, 518, 273, 6448, 30945, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 3779, 682, 328, 1098, 273, 261, 3779, 682, 13, 518, 18, 4285, 5621, 1082, 202, 694, 272, 273, 261, 694, 13, 2393, 18, 588, 12, 80, 1098, 18, 588, 664, 13740, 461, 10663, 1082, 202, 430, 261, 87, 422, 446, 13, 9506, 202, 18366, 18, 458, 12, 80, 1098, 18, 588, 664, 13740, 461, 9334, 272, 273, 394, 19461, 10663, 1082, 202, 87, 18, 1289, 12, 80, 1098, 1769, 202, 202, 97, 202, 202, 1884, 261, 3198, 518, 273, 2393, 18, 856, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 780, 26858, 461, 273, 261, 780, 13, 518, 18, 4285, 5621, 1082, 202, 694, 272, 273, 261, 694, 13, 2393, 18, 588, 12, 275, 13740, 461, 1769, 1082, 202, 430, 261, 2088, 18, 2469, 1435, 480, 374, 13, 288, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 514, 2405, 694, 12, 694, 6448, 30945, 16, 1250, 2162, 18793, 16, 1082, 202, 6494, 353, 3779, 13, 288, 202, 202, 16532, 694, 605, 30218, 67, 54, 273, 394, 9633, 694, 12, 9506, 202, 6, 63, 10531, 17763, 77, 67, 797, 33, 54, 30, 6362, 30, 17763, 77, 67, 797, 33, 1013, 26894, 4279, 1769, 202, 202, 780, 1892, 563, 273, 394, 6674, 5621, 202, 202, 863, 2393, 273, 394, 16381, 12, 3779, 682, 18, 1293, 1769, 202, 202, 759, 3274, 3309, 6089, 635, 24151, 508, 202, 202, 1884, 261, 3198, 518, 273, 6448, 30945, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 3779, 682, 328, 1098, 273, 261, 3779, 682, 2 ]
imageCache.dispose();
for (Iterator e = imagesToDispose.iterator(); e.hasNext();) { ((Image) e.next()).dispose(); } imagesToDispose.clear();
public void dispose() { super.dispose(); imageCache.dispose(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/005443ffd616dc42d3b6d216fd803fc9e2cff603/FileEditorMappingLabelProvider.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/FileEditorMappingLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 2240, 18, 2251, 4150, 5621, 3639, 364, 261, 3198, 425, 273, 4602, 774, 1669, 4150, 18, 9838, 5621, 425, 18, 5332, 2134, 5621, 13, 288, 14015, 2040, 13, 425, 18, 4285, 1435, 2934, 2251, 4150, 5621, 289, 4602, 774, 1669, 4150, 18, 8507, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 2240, 18, 2251, 4150, 5621, 3639, 364, 261, 3198, 425, 273, 4602, 774, 1669, 4150, 18, 9838, 5621, 425, 18, 5332, 2134, 5621, 13, 288, 14015, 2040, 13, 425, 18, 4285, 1435, 2934, 2251, 4150, 5621, 289, 4602, 774, 1669, 4150, 18, 8507, 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 ]
public void freeLastData() {
public synchronized void freeLastData() {
public void freeLastData() { lastRequestData.free(); lastRequestData = null; }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/a6a9cc01004d94d4bdefc0b76c0bdb1962187369/USKFetcher.java/clean/src/freenet/client/async/USKFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4843, 3024, 751, 1435, 288, 202, 202, 2722, 17031, 18, 9156, 5621, 202, 202, 2722, 17031, 273, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4843, 3024, 751, 1435, 288, 202, 202, 2722, 17031, 18, 9156, 5621, 202, 202, 2722, 17031, 273, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new DOInfo(details, null));
new DOInfo(details, model, false));
private JComponent buildCenterComponent() { switch (model.getEditorType()) { case Editor.CREATE_EDITOR: return doBasic; case Editor.PROPERTIES_EDITOR: IconManager im = IconManager.getInstance(); JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); tabs.addTab(PROPERTIES_TITLE, im.getIcon(IconManager.PROPERTIES), doBasic); ExperimenterData exp = model.getExperimenterData(); Map details = EditorUtil.transformExperimenterData(exp); tabs.addTab(OWNER_TITLE, im.getIcon(IconManager.OWNER), new DOInfo(details, model)); DataObject hierarchyObject = model.getHierarchyObject(); if (hierarchyObject instanceof ImageData) { details = EditorUtil.transformPixelsData( ((ImageData) hierarchyObject).getDefaultPixels()); tabs.addTab(INFO_TITLE, im.getIcon(IconManager.IMAGE), new DOInfo(details, null)); } return tabs; } return null; }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/0f24af159634bdc4228febad328548fbedecdb1d/EditorUI.java/clean/SRC/org/openmicroscopy/shoola/agents/treeviewer/editors/EditorUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 29058, 1361, 8449, 1841, 1435, 565, 288, 3639, 1620, 261, 2284, 18, 588, 6946, 559, 10756, 288, 5411, 648, 18451, 18, 9344, 67, 13208, 30, 7734, 327, 741, 8252, 31, 5411, 648, 18451, 18, 17421, 67, 13208, 30, 7734, 16011, 1318, 709, 273, 16011, 1318, 18, 588, 1442, 5621, 7734, 804, 5661, 2992, 8485, 10920, 273, 394, 804, 5661, 2992, 8485, 12, 46, 5661, 2992, 8485, 18, 10462, 16, 4766, 10792, 804, 5661, 2992, 8485, 18, 27664, 67, 28899, 67, 7868, 5069, 1769, 7734, 10920, 18, 542, 11535, 60, 12, 10066, 67, 26439, 3212, 1769, 7734, 10920, 18, 1289, 5661, 12, 17421, 67, 14123, 16, 11794, 709, 18, 588, 5554, 12, 5554, 1318, 18, 17421, 3631, 741, 8252, 1769, 7734, 1312, 457, 381, 2328, 751, 1329, 273, 938, 18, 588, 424, 457, 381, 2328, 751, 5621, 7734, 1635, 3189, 273, 18451, 1304, 18, 6547, 424, 457, 381, 2328, 751, 12, 2749, 1769, 7734, 10920, 18, 1289, 5661, 12, 29602, 67, 14123, 16, 225, 709, 18, 588, 5554, 12, 5554, 1318, 18, 29602, 3631, 18701, 394, 5467, 966, 12, 6395, 16, 938, 10019, 7734, 18914, 9360, 921, 273, 938, 18, 588, 12074, 921, 5621, 7734, 309, 261, 17937, 921, 1276, 3421, 751, 13, 288, 10792, 3189, 273, 18451, 1304, 18, 6547, 18079, 751, 12, 18701, 14015, 2040, 751, 13, 9360, 921, 2934, 588, 1868, 18079, 10663, 10792, 10920, 18, 1289, 5661, 12, 5923, 67, 14123, 16, 709, 18, 588, 5554, 12, 5554, 1318, 18, 13603, 3631, 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, 29058, 1361, 8449, 1841, 1435, 565, 288, 3639, 1620, 261, 2284, 18, 588, 6946, 559, 10756, 288, 5411, 648, 18451, 18, 9344, 67, 13208, 30, 7734, 327, 741, 8252, 31, 5411, 648, 18451, 18, 17421, 67, 13208, 30, 7734, 16011, 1318, 709, 273, 16011, 1318, 18, 588, 1442, 5621, 7734, 804, 5661, 2992, 8485, 10920, 273, 394, 804, 5661, 2992, 8485, 12, 46, 5661, 2992, 8485, 18, 10462, 16, 4766, 10792, 804, 5661, 2992, 8485, 18, 27664, 67, 28899, 67, 7868, 5069, 1769, 7734, 10920, 18, 542, 11535, 60, 12, 10066, 67, 26439, 3212, 1769, 7734, 10920, 18, 1289, 5661, 12, 17421, 67, 14123, 16, 11794, 709, 18, 588, 5554, 12, 5554, 1318, 18, 17421, 3631, 741, 2 ]
protected int getPerPeerTimeoutMs() { if (true) return PER_PEER_TIMEOUT; int rv = -1; RateStat rs = getContext().statManager().getRate("netDb.successTime"); if (rs != null) rv = (int)rs.getLifetimeAverageValue();
protected int getPerPeerTimeoutMs(Hash peer) { int timeout = 0; if (_floodfillPeersExhausted && _floodfillSearchesOutstanding <= 0) timeout = _facade.getPeerTimeout(peer); else timeout = PER_FLOODFILL_PEER_TIMEOUT; long now = getContext().clock().now();
protected int getPerPeerTimeoutMs() { if (true) return PER_PEER_TIMEOUT; int rv = -1; RateStat rs = getContext().statManager().getRate("netDb.successTime"); if (rs != null) rv = (int)rs.getLifetimeAverageValue(); rv <<= 1; // double it to give some leeway. (bah, too lazy to record stdev) if ( (rv <= 0) || (rv > PER_PEER_TIMEOUT) ) return PER_PEER_TIMEOUT; else return rv + 1025; // tunnel delay }
27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/deb35f4af44e395f5c9fbd2bc85559092d360018/SearchJob.java/clean/router/java/src/net/i2p/router/networkdb/kademlia/SearchJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 22612, 6813, 2694, 6947, 1435, 288, 3639, 309, 261, 3767, 13, 5411, 327, 10950, 67, 1423, 654, 67, 9503, 31, 3639, 509, 5633, 273, 300, 21, 31, 3639, 13025, 5000, 3597, 273, 6474, 7675, 5642, 1318, 7675, 588, 4727, 2932, 2758, 4331, 18, 4768, 950, 8863, 3639, 309, 261, 5453, 480, 446, 13, 5411, 5633, 273, 261, 474, 13, 5453, 18, 588, 19259, 17115, 620, 5621, 7734, 5633, 22789, 404, 31, 368, 1645, 518, 358, 8492, 2690, 884, 359, 528, 18, 225, 261, 70, 9795, 16, 4885, 7962, 358, 1409, 384, 5206, 13, 3639, 309, 261, 261, 4962, 1648, 374, 13, 747, 261, 4962, 405, 10950, 67, 1423, 654, 67, 9503, 13, 262, 5411, 327, 10950, 67, 1423, 654, 67, 9503, 31, 3639, 469, 5411, 327, 5633, 397, 1728, 2947, 31, 368, 14825, 4624, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 22612, 6813, 2694, 6947, 1435, 288, 3639, 309, 261, 3767, 13, 5411, 327, 10950, 67, 1423, 654, 67, 9503, 31, 3639, 509, 5633, 273, 300, 21, 31, 3639, 13025, 5000, 3597, 273, 6474, 7675, 5642, 1318, 7675, 588, 4727, 2932, 2758, 4331, 18, 4768, 950, 8863, 3639, 309, 261, 5453, 480, 446, 13, 5411, 5633, 273, 261, 474, 13, 5453, 18, 588, 19259, 17115, 620, 5621, 7734, 5633, 22789, 404, 31, 368, 1645, 518, 358, 8492, 2690, 884, 359, 528, 18, 225, 261, 70, 9795, 16, 4885, 7962, 358, 1409, 384, 5206, 13, 3639, 309, 261, 261, 4962, 1648, 374, 13, 747, 261, 4962, 405, 10950, 67, 1423, 654, 67, 9503, 13, 262, 5411, 327, 10950, 2 ]
Collection serviceInfos = (Collection) result; super.invoke(new ProviderInfo(be.getDefaultNameString(), state.bzClass, serviceInfos));
state.scs = (Collection) result; getServiceBindings(state.bs.getBindingTemplates(), state.step5, state.proxy);
public void invoke(Object result) { Collection serviceInfos = (Collection) result; super.invoke(new ProviderInfo(be.getDefaultNameString(), state.bzClass, serviceInfos)); }};
14011 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14011/8dd9238584e68f3f966100e7fde58662c5ffbe73/UDDI4JRegistryQueryServiceComponent.java/clean/servicediscovery/src/org/cougaar/servicediscovery/service/UDDI4JRegistryQueryServiceComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4356, 12, 921, 563, 13, 288, 202, 225, 2200, 1156, 7655, 273, 261, 2532, 13, 563, 31, 202, 225, 2240, 18, 14407, 12, 2704, 7561, 966, 12, 2196, 18, 588, 1868, 461, 780, 9334, 919, 18, 25292, 797, 16, 1156, 7655, 10019, 202, 9090, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4356, 12, 921, 563, 13, 288, 202, 225, 2200, 1156, 7655, 273, 261, 2532, 13, 563, 31, 202, 225, 2240, 18, 14407, 12, 2704, 7561, 966, 12, 2196, 18, 588, 1868, 461, 780, 9334, 919, 18, 25292, 797, 16, 1156, 7655, 10019, 202, 9090, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean selection(Tree tree) {
private boolean selection(Tree tree) {
public boolean selection(Tree tree) { switch (tree) { case Select(Tree qualifier, _): Symbol symbol = tree.symbol(); assert symbol != null && symbol.isTerm(): show(tree); Symbol owner = symbol.owner(); assert owner.isClassType(): show(tree); Type prefix = qualifier.type(); assert prefix.baseType(owner) != Type.NoType: show(tree); return expression(qualifier, prefix); default: throw Debug.abort("illegal case", tree); } }
55146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55146/742a2a14e9acee3c2813d1f0e5b30aea72a22d8d/TreeChecker.java/clean/sources/scalac/checkers/TreeChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 4421, 12, 2471, 2151, 13, 288, 3639, 1620, 261, 3413, 13, 288, 3639, 648, 6766, 12, 2471, 12327, 16, 389, 4672, 5411, 8565, 3273, 273, 2151, 18, 7175, 5621, 5411, 1815, 3273, 480, 446, 597, 3273, 18, 291, 4065, 13332, 2405, 12, 3413, 1769, 5411, 8565, 3410, 273, 3273, 18, 8443, 5621, 5411, 1815, 3410, 18, 291, 18328, 13332, 2405, 12, 3413, 1769, 5411, 1412, 1633, 273, 12327, 18, 723, 5621, 5411, 1815, 1633, 18, 1969, 559, 12, 8443, 13, 480, 1412, 18, 2279, 559, 30, 2405, 12, 3413, 1769, 5411, 327, 2652, 12, 28157, 16, 1633, 1769, 3639, 805, 30, 5411, 604, 4015, 18, 18623, 2932, 31751, 648, 3113, 2151, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 4421, 12, 2471, 2151, 13, 288, 3639, 1620, 261, 3413, 13, 288, 3639, 648, 6766, 12, 2471, 12327, 16, 389, 4672, 5411, 8565, 3273, 273, 2151, 18, 7175, 5621, 5411, 1815, 3273, 480, 446, 597, 3273, 18, 291, 4065, 13332, 2405, 12, 3413, 1769, 5411, 8565, 3410, 273, 3273, 18, 8443, 5621, 5411, 1815, 3410, 18, 291, 18328, 13332, 2405, 12, 3413, 1769, 5411, 1412, 1633, 273, 12327, 18, 723, 5621, 5411, 1815, 1633, 18, 1969, 559, 12, 8443, 13, 480, 1412, 18, 2279, 559, 30, 2405, 12, 3413, 1769, 5411, 327, 2652, 12, 28157, 16, 1633, 1769, 3639, 805, 30, 5411, 604, 4015, 18, 18623, 2932, 31751, 648, 3113, 2151, 1769, 3639, 289, 565, 289, 2 ]
} );
} );
private void createDrillthroughSelectTargetAnchor( Composite container ) { final Group group = new Group( container, SWT.NONE ); group.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); group.setText( Messages.getString( "HyperlinkBuilder.DrillThroughStep2" ) ); //$NON-NLS-1$ group.setLayout( new GridLayout( ) ); targetBookmarkButton = new Button( group, SWT.RADIO ); targetBookmarkButton.setText( Messages.getString( "HyperlinkBuilder.DrillThroughTargetBookmark" ) ); //$NON-NLS-1$ targetBookmarkButton.addSelectionListener( new SelectionListener( ) { public void widgetSelected( SelectionEvent e ) { initAnchorChooser( targetReportHandle, false ); } public void widgetDefaultSelected( SelectionEvent e ) { } } ); tocButton = new Button( group, SWT.RADIO ); tocButton.setText( Messages.getString( "HyperlinkBuilder.DrillThroughTargetToc" ) ); //$NON-NLS-1$ tocButton.addSelectionListener( new SelectionListener( ) { public void widgetSelected( SelectionEvent e ) { initAnchorChooser( targetReportHandle, true ); } public void widgetDefaultSelected( SelectionEvent e ) { } } ); anchorChooser = new Combo( group, SWT.BORDER | SWT.READ_ONLY ); anchorChooser.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); anchorChooser.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { if ( anchorChooser.getData( ) instanceof List ) { List value = (List) anchorChooser.getData( ); bookmarkEditor.setText( (String) value.get( anchorChooser.getSelectionIndex( ) ) ); } else { bookmarkEditor.setText( anchorChooser.getText( ) ); } updateButtons( ); } } ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/f0f5db0d4fb6016387542d6599a3aed1ef300b9f/HyperlinkBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 8956, 737, 10064, 3391, 2326, 11605, 12, 14728, 1478, 262, 202, 95, 202, 202, 6385, 3756, 1041, 273, 394, 3756, 12, 1478, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1655, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 1655, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 15996, 1232, 1263, 18, 8956, 737, 14287, 4160, 22, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1655, 18, 542, 3744, 12, 394, 7145, 3744, 12, 262, 11272, 202, 202, 3299, 22966, 3616, 273, 394, 12569, 12, 1041, 16, 348, 8588, 18, 28829, 4294, 11272, 202, 202, 3299, 22966, 3616, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 15996, 1232, 1263, 18, 8956, 737, 14287, 2326, 22966, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3299, 22966, 3616, 18, 1289, 6233, 2223, 12, 394, 12977, 2223, 12, 262, 288, 1082, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 1082, 202, 95, 9506, 202, 2738, 11605, 17324, 12, 1018, 4820, 3259, 16, 629, 11272, 1082, 202, 97, 1082, 202, 482, 918, 3604, 1868, 7416, 12, 12977, 1133, 425, 262, 1082, 202, 95, 1082, 202, 97, 202, 202, 97, 11272, 202, 202, 1391, 3616, 273, 394, 12569, 12, 1041, 16, 348, 8588, 18, 28829, 4294, 11272, 202, 202, 1391, 3616, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 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, 752, 8956, 737, 10064, 3391, 2326, 11605, 12, 14728, 1478, 262, 202, 95, 202, 202, 6385, 3756, 1041, 273, 394, 3756, 12, 1478, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1655, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 1655, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 15996, 1232, 1263, 18, 8956, 737, 14287, 4160, 22, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1655, 18, 542, 3744, 12, 394, 7145, 3744, 12, 262, 11272, 202, 202, 3299, 22966, 3616, 273, 394, 12569, 12, 1041, 16, 348, 8588, 18, 28829, 4294, 11272, 202, 202, 3299, 2 ]
popupMenu.add(new Action(LABEL_OPEN_IN_BROWSER) {
Menu menu = popupMenu.createContextMenu(attachmentsTable); attachmentsTable.setMenu(menu); final Action openWithBrowserAction = new Action(LABEL_OPEN_WITH_BROWSER) {
protected void createAttachmentLayout(Composite composite) { Section section = toolkit.createSection(composite, ExpandableComposite.TITLE_BAR | Section.TWISTIE); section.setText(LABEL_SECTION_ATTACHMENTS); section.setExpanded(getRepositoryTaskData().getAttachments().size() > 0); section.setLayout(new GridLayout()); section.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); final Composite attachmentsComposite = toolkit.createComposite(section); attachmentsComposite.setLayout(new GridLayout(1, false)); attachmentsComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); section.setClient(attachmentsComposite); if (getRepositoryTaskData().getAttachments().size() > 0) { attachmentsTable = toolkit.createTable(attachmentsComposite, SWT.SINGLE | SWT.BORDER | SWT.FULL_SELECTION); registerDropListener(attachmentsTable); attachmentsTable.setLinesVisible(true); attachmentsTable.setHeaderVisible(true); attachmentsTable.setLayout(new GridLayout()); GridData tableGridData = new GridData(SWT.FILL, SWT.FILL, true, true); // tableGridData.heightHint = 100; tableGridData.widthHint = DESCRIPTION_WIDTH; attachmentsTable.setLayoutData(tableGridData); for (int i = 0; i < attachmentsColumns.length; i++) { TableColumn column = new TableColumn(attachmentsTable, SWT.LEFT, i); column.setText(attachmentsColumns[i]); column.setWidth(attachmentsColumnWidths[i]); } attachmentsTableViewer = new TableViewer(attachmentsTable); attachmentsTableViewer.setUseHashlookup(true); attachmentsTableViewer.setColumnProperties(attachmentsColumns); final AbstractRepositoryConnector connector = TasksUiPlugin.getRepositoryManager().getRepositoryConnector( getRepositoryTaskData().getRepositoryKind()); if (connector != null) { final IOfflineTaskHandler offlineHandler = connector.getOfflineTaskHandler(); if (offlineHandler != null) { attachmentsTableViewer.setSorter(new ViewerSorter() { public int compare(Viewer viewer, Object e1, Object e2) { RepositoryAttachment attachment1 = (RepositoryAttachment) e1; RepositoryAttachment attachment2 = (RepositoryAttachment) e2; Date created1 = offlineHandler.getDateForAttributeType( RepositoryTaskAttribute.ATTACHMENT_DATE, attachment1.getDateCreated()); Date created2 = offlineHandler.getDateForAttributeType( RepositoryTaskAttribute.ATTACHMENT_DATE, attachment2.getDateCreated()); if (created1 != null && created2 != null) { return attachment1.getDateCreated().compareTo(attachment2.getDateCreated()); } else { return 0; } } }); } } attachmentsTableViewer.setContentProvider(new IStructuredContentProvider() { public Object[] getElements(Object inputElement) { return getRepositoryTaskData().getAttachments().toArray(); } public void dispose() { // ignore } public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { if (!viewer.getControl().isDisposed()) { viewer.refresh(); } } }); attachmentsTableViewer.setLabelProvider(new AttachmentTableLabelProvider(new AttachmentLabelProvider(), PlatformUI.getWorkbench().getDecoratorManager().getLabelDecorator())); attachmentsTableViewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { // String address = repository.getUrl() + // ATTACHMENT_URL_SUFFIX; if (!event.getSelection().isEmpty()) { StructuredSelection selection = (StructuredSelection) event.getSelection(); RepositoryAttachment attachment = (RepositoryAttachment) selection.getFirstElement(); // address += attachment.getId() + "&amp;action=view"; TaskUiUtil.openUrl(attachment.getUrl()); } } }); attachmentsTableViewer.setInput(getRepositoryTaskData()); final MenuManager popupMenu = new MenuManager(); popupMenu.add(new Action(LABEL_OPEN_IN_BROWSER) { public void run() { RepositoryAttachment attachment = (RepositoryAttachment) (((StructuredSelection) attachmentsTableViewer .getSelection()).getFirstElement()); TaskUiUtil.openUrl(attachment.getUrl()); } }); popupMenu.add(new Action(SaveRemoteFileAction.TITLE) { public void run() { RepositoryAttachment attachment = (RepositoryAttachment) (((StructuredSelection) attachmentsTableViewer .getSelection()).getFirstElement()); /* Launch Browser */ FileDialog fileChooser = new FileDialog(attachmentsTable.getShell(), SWT.SAVE); String fname = attachment.getAttributeValue(ATTR_FILENAME); // Default name if none is found if (fname.equals("")) { String ctype = attachment.getContentType(); if (ctype.endsWith(CTYPE_HTML)) { fname = ATTACHMENT_DEFAULT_NAME + ".html"; } else if (ctype.startsWith(CTYPE_TEXT)) { fname = ATTACHMENT_DEFAULT_NAME + ".txt"; } else if (ctype.endsWith(CTYPE_OCTET_STREAM)) { fname = ATTACHMENT_DEFAULT_NAME; } else if (ctype.endsWith(CTYPE_ZIP)) { fname = ATTACHMENT_DEFAULT_NAME + "." + CTYPE_ZIP; } else { fname = ATTACHMENT_DEFAULT_NAME + "." + ctype.substring(ctype.indexOf("/") + 1); } } fileChooser.setFileName(fname); String filePath = fileChooser.open(); // Check if the dialog was canceled or an error occured if (filePath == null) { return; } // TODO: Use IAttachmentHandler instead SaveRemoteFileAction save = new SaveRemoteFileAction(); save.setDestinationFilePath(filePath); save.setInputStream(getAttachmentInputStream(attachment.getUrl())); save.run(); } }); final Action copyToClip = new Action(CopyToClipboardAction.TITLE) { public void run() { RepositoryAttachment attachment = (RepositoryAttachment) (((StructuredSelection) attachmentsTableViewer .getSelection()).getFirstElement()); CopyToClipboardAction copyToClip = new CopyToClipboardAction(); copyToClip.setContents(getAttachmentContents(attachment.getUrl())); copyToClip.setControl(attachmentsTable.getParent()); copyToClip.run(); } }; copyToClip.setId("ID_COPY_TO_CLIPBOARD"); final Action applyPatch = new Action("Apply Patch...") { public void run() { // RepositoryAttachment att = // (RepositoryAttachment)(((StructuredSelection)attachmentsTableViewer.getSelection()).getFirstElement()); // implementation pending bug 98707 } }; applyPatch.setId("ID_APPLY_PATCH"); applyPatch.setEnabled(false); // pending bug 98707 popupMenu.add(new Separator()); Menu menu = popupMenu.createContextMenu(attachmentsTable); attachmentsTable.setMenu(menu); /* * Add the apply patch option if the attachment is a patch. Add the * copy to clipboard option if the attachment is text or xml */ attachmentsTableViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent e) { RepositoryAttachment att = (RepositoryAttachment) (((StructuredSelection) e.getSelection()) .getFirstElement()); popupMenu.remove("ID_APPLY_PATCH"); popupMenu.remove("ID_COPY_TO_CLIPBOARD"); if (att.getContentType().startsWith(CTYPE_TEXT) || att.getContentType().endsWith("xml")) { popupMenu.add(copyToClip); } if (att.isPatch()) { popupMenu.add(applyPatch); } } }); } else { Label label = toolkit.createLabel(attachmentsComposite, "No attachments"); registerDropListener(label); } /* Launch a NewAttachemntWizard */ Button addAttachmentButton = toolkit.createButton(attachmentsComposite, "Add...", SWT.PUSH); final RepositoryTaskData taskData = getRepositoryTaskData(); ITask task = TasksUiPlugin.getTaskListManager().getTaskList().getTask( AbstractRepositoryTask.getHandle(repository.getUrl(), taskData.getId())); if (task == null) { addAttachmentButton.setEnabled(false); } addAttachmentButton.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { // ignore } public void widgetSelected(SelectionEvent e) { final RepositoryTaskData taskData = getRepositoryTaskData(); ITask task = TasksUiPlugin.getTaskListManager().getTaskList().getTask( AbstractRepositoryTask.getHandle(repository.getUrl(), taskData.getId())); if (!(task instanceof AbstractRepositoryTask)) { // Should not happen return; } NewAttachmentWizard naw = new NewAttachmentWizard(repository, (AbstractRepositoryTask) task); NewAttachmentWizardDialog dialog = new NewAttachmentWizardDialog(attachmentsComposite.getShell(), naw); naw.setDialog(dialog); dialog.create(); dialog.open(); } }); registerDropListener(section); registerDropListener(attachmentsComposite); registerDropListener(addAttachmentButton); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/9480889a3e4fffd4abc1e34c2b2435e9ddb079bb/AbstractRepositoryTaskEditor.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AbstractRepositoryTaskEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 6803, 3744, 12, 9400, 9635, 13, 288, 202, 202, 5285, 2442, 273, 5226, 8691, 18, 2640, 5285, 12, 27676, 16, 16429, 429, 9400, 18, 14123, 67, 21908, 571, 10092, 18, 18869, 5511, 8732, 1769, 202, 202, 3464, 18, 542, 1528, 12, 13545, 67, 19082, 67, 789, 9833, 1792, 3212, 55, 1769, 202, 202, 3464, 18, 542, 17957, 12, 588, 3305, 2174, 751, 7675, 588, 12961, 7675, 1467, 1435, 405, 374, 1769, 202, 202, 3464, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 3464, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 6385, 14728, 10065, 9400, 273, 5226, 8691, 18, 2640, 9400, 12, 3464, 1769, 202, 202, 17828, 9400, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 629, 10019, 202, 202, 17828, 9400, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 202, 202, 3464, 18, 542, 1227, 12, 17828, 9400, 1769, 202, 202, 430, 261, 588, 3305, 2174, 751, 7675, 588, 12961, 7675, 1467, 1435, 405, 374, 13, 288, 1082, 202, 17828, 1388, 273, 5226, 8691, 18, 2640, 1388, 12, 17828, 9400, 16, 348, 8588, 18, 20184, 571, 348, 8588, 18, 38, 7954, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 1769, 1082, 202, 4861, 7544, 2223, 12, 17828, 1388, 1769, 1082, 202, 17828, 1388, 18, 542, 5763, 6207, 12, 3767, 1769, 1082, 202, 17828, 1388, 18, 542, 1864, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 6803, 3744, 12, 9400, 9635, 13, 288, 202, 202, 5285, 2442, 273, 5226, 8691, 18, 2640, 5285, 12, 27676, 16, 16429, 429, 9400, 18, 14123, 67, 21908, 571, 10092, 18, 18869, 5511, 8732, 1769, 202, 202, 3464, 18, 542, 1528, 12, 13545, 67, 19082, 67, 789, 9833, 1792, 3212, 55, 1769, 202, 202, 3464, 18, 542, 17957, 12, 588, 3305, 2174, 751, 7675, 588, 12961, 7675, 1467, 1435, 405, 374, 1769, 202, 202, 3464, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 3464, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 6385, 14728, 10065, 9400, 273, 5226, 8691, 18, 2640, 9400, 2 ]
return getServiceId(null); }
return getServiceId(null); }
public final String getServiceId() { return getServiceId(null); }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/ServiceComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/ServiceComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 514, 6373, 548, 1435, 288, 3639, 327, 6373, 548, 12, 2011, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 514, 6373, 548, 1435, 288, 3639, 327, 6373, 548, 12, 2011, 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 ]
String path = this.url.getFile(); if (path == null || !path.toLowerCase().endsWith(SVG_EXTENSION)){
String path = this.purl.getPath(); if (path == null || !(path.toLowerCase().endsWith(SVG_EXTENSION) || path.toLowerCase().endsWith(SVGZ_EXTENSION))){
public SVGConverterURLSource(String url) throws SVGConverterException{ try{ this.url = new URL(url); } catch (MalformedURLException e){ throw new SVGConverterException(ERROR_INVALID_URL, new Object[]{url}); } // Get the path portion String path = this.url.getFile(); if (path == null || !path.toLowerCase().endsWith(SVG_EXTENSION)){ throw new SVGConverterException(ERROR_INVALID_URL, new Object[]{url}); } int n = path.lastIndexOf("/"); if (n != -1){ // The following is safe because we know there is at least ".svg" // after the slash. path = path.substring(n+1); } name = path; // // The following will force creation of different output file names // for urls with references (e.g., anne.svg#svgView(viewBox(0,0,4,5))) // String ref = this.url.getRef(); if (ref != null && !"".equals(ref)) { name += "" + ref.hashCode(); } }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/b3bfbdc9cdab85ed31fcac017fd38c721cc6713e/SVGConverterURLSource.java/buggy/sources/org/apache/batik/apps/rasterizer/SVGConverterURLSource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11281, 5072, 1785, 1830, 12, 780, 880, 13, 1216, 11281, 5072, 503, 95, 3639, 775, 95, 5411, 333, 18, 718, 273, 394, 1976, 12, 718, 1769, 3639, 289, 1044, 261, 18695, 20160, 425, 15329, 5411, 604, 394, 11281, 5072, 503, 12, 3589, 67, 9347, 67, 1785, 16, 4766, 2398, 394, 1033, 63, 7073, 718, 22938, 3639, 289, 3639, 368, 968, 326, 589, 14769, 3639, 514, 589, 273, 333, 18, 718, 18, 29925, 5621, 3639, 309, 261, 803, 422, 446, 747, 401, 803, 18, 869, 5630, 7675, 5839, 1190, 12, 26531, 67, 12796, 3719, 95, 5411, 604, 394, 11281, 5072, 503, 12, 3589, 67, 9347, 67, 1785, 16, 4766, 5411, 394, 1033, 63, 7073, 718, 22938, 3639, 289, 3639, 509, 290, 273, 589, 18, 2722, 31985, 2932, 4898, 1769, 3639, 309, 261, 82, 480, 300, 21, 15329, 5411, 368, 1021, 3751, 353, 4183, 2724, 732, 5055, 1915, 353, 622, 4520, 3552, 11451, 6, 5411, 368, 1839, 326, 9026, 18, 5411, 589, 273, 589, 18, 28023, 12, 82, 15, 21, 1769, 3639, 289, 10792, 508, 273, 589, 31, 3639, 368, 3639, 368, 1021, 3751, 903, 2944, 6710, 434, 3775, 876, 585, 1257, 3639, 368, 364, 6903, 598, 5351, 261, 73, 18, 75, 12990, 392, 4644, 18, 11451, 7, 11451, 1767, 12, 1945, 3514, 12, 20, 16, 20, 16, 24, 16, 25, 20349, 3639, 368, 3639, 514, 1278, 273, 333, 18, 718, 18, 588, 1957, 5621, 3639, 309, 261, 1734, 480, 446, 597, 401, 3660, 18, 14963, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11281, 5072, 1785, 1830, 12, 780, 880, 13, 1216, 11281, 5072, 503, 95, 3639, 775, 95, 5411, 333, 18, 718, 273, 394, 1976, 12, 718, 1769, 3639, 289, 1044, 261, 18695, 20160, 425, 15329, 5411, 604, 394, 11281, 5072, 503, 12, 3589, 67, 9347, 67, 1785, 16, 4766, 2398, 394, 1033, 63, 7073, 718, 22938, 3639, 289, 3639, 368, 968, 326, 589, 14769, 3639, 514, 589, 273, 333, 18, 718, 18, 29925, 5621, 3639, 309, 261, 803, 422, 446, 747, 401, 803, 18, 869, 5630, 7675, 5839, 1190, 12, 26531, 67, 12796, 3719, 95, 5411, 604, 394, 11281, 5072, 503, 12, 3589, 67, 9347, 67, 1785, 16, 4766, 5411, 394, 1033, 63, 7073, 718, 22938, 3639, 289, 2 ]
String newStr = getChop(); if (newStr == null) { return getRuntime().getNil(); } setValue(newStr);
int end = getValue().length() - 1; if (end < 0) { return getRuntime().getNil(); } if (getValue().charAt(end) == '\n') { if (end > 0 && getValue().charAt(end-1) == '\r') { end--; } } getValue().delete(end, getValue().length());
public IRubyObject chop_bang() { String newStr = getChop(); if (newStr == null) { return getRuntime().getNil(); } setValue(newStr); return this; }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/buggy/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 31258, 67, 70, 539, 1435, 288, 202, 202, 780, 394, 1585, 273, 336, 782, 556, 5621, 202, 202, 430, 261, 2704, 1585, 422, 446, 13, 288, 1082, 202, 2463, 18814, 7675, 588, 12616, 5621, 202, 202, 97, 202, 202, 542, 620, 12, 2704, 1585, 1769, 202, 202, 2463, 333, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 31258, 67, 70, 539, 1435, 288, 202, 202, 780, 394, 1585, 273, 336, 782, 556, 5621, 202, 202, 430, 261, 2704, 1585, 422, 446, 13, 288, 1082, 202, 2463, 18814, 7675, 588, 12616, 5621, 202, 202, 97, 202, 202, 542, 620, 12, 2704, 1585, 1769, 202, 202, 2463, 333, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} catch(ArrayIndexOutOfBoundsException exc) {
} catch (ArrayIndexOutOfBoundsException exc) {
public void actionPerformed(ActionEvent e) { String cmd = e.getActionCommand(); if(cmd.equals("Cancel")) { setVisible(false); value = null; } else if(cmd.equals("Select")) { if(list.getSelectedIndex() < 0) { return; } try { value = (String)list.getSelectedValue(); } catch(ArrayIndexOutOfBoundsException exc) { return; } setVisible(false); Main.SourceEntry sourceEntry = (Main.SourceEntry)functionMap.get(value); DebuggableScript script = sourceEntry.fnOrScript; if(script != null) { String sourceName = script.getSourceName(); int[] lns = script.getLineNumbers(); int lineNumber = -1; for (int i = 0; i != lns.length; ++i) { if(lineNumber == -1) { lineNumber = lns[i]; } else if(lns[i] < lineNumber) { lineNumber = lns[i]; } } FileWindow w = db.getFileWindow(sourceName); if(w == null) { (new CreateFileWindow(db, sourceName, sourceEntry.source.toString(), lineNumber)).run(); w = db.getFileWindow(sourceName); w.setPosition(-1); } int start = w.getPosition(lineNumber-1); int end = w.getPosition(lineNumber)-1; w.textArea.select(start); w.textArea.setCaretPosition(start); w.textArea.moveCaretPosition(end); try { w.show(); db.requestFocus(); w.requestFocus(); w.textArea.requestFocus(); } catch(Exception exc) { } } } }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/b9766e81693411fa600b26b9a0763dcf621b2770/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 309, 12, 4172, 18, 14963, 2932, 6691, 6, 3719, 288, 5411, 16697, 12, 5743, 1769, 5411, 460, 273, 446, 31, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 3391, 6, 3719, 288, 5411, 309, 12, 1098, 18, 588, 7416, 1016, 1435, 411, 374, 13, 288, 7734, 327, 31, 5411, 289, 5411, 775, 288, 7734, 460, 273, 261, 780, 13, 1098, 18, 588, 7416, 620, 5621, 5411, 289, 1044, 261, 1076, 30548, 3533, 13, 288, 7734, 327, 31, 5411, 289, 5411, 16697, 12, 5743, 1769, 5411, 12740, 18, 1830, 1622, 1084, 1622, 273, 261, 6376, 18, 1830, 1622, 13, 915, 863, 18, 588, 12, 1132, 1769, 5411, 4015, 8455, 3651, 2728, 273, 1084, 1622, 18, 4293, 1162, 3651, 31, 5411, 309, 12, 4263, 480, 446, 13, 288, 7734, 514, 28337, 273, 2728, 18, 588, 1830, 461, 5621, 7734, 509, 8526, 328, 2387, 273, 2728, 18, 588, 1670, 10072, 5621, 7734, 509, 13629, 273, 300, 21, 31, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 480, 328, 2387, 18, 2469, 31, 965, 77, 13, 288, 10792, 309, 12, 1369, 1854, 422, 300, 21, 13, 288, 13491, 13629, 273, 328, 2387, 63, 77, 15533, 10792, 289, 469, 309, 12, 2370, 87, 63, 77, 65, 411, 13629, 13, 288, 13491, 13629, 273, 328, 2387, 63, 77, 15533, 10792, 289, 7734, 289, 7734, 1387, 3829, 341, 273, 1319, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 309, 12, 4172, 18, 14963, 2932, 6691, 6, 3719, 288, 5411, 16697, 12, 5743, 1769, 5411, 460, 273, 446, 31, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 3391, 6, 3719, 288, 5411, 309, 12, 1098, 18, 588, 7416, 1016, 1435, 411, 374, 13, 288, 7734, 327, 31, 5411, 289, 5411, 775, 288, 7734, 460, 273, 261, 780, 13, 1098, 18, 588, 7416, 620, 5621, 5411, 289, 1044, 261, 1076, 30548, 3533, 13, 288, 7734, 327, 31, 5411, 289, 5411, 16697, 12, 5743, 1769, 5411, 12740, 18, 1830, 1622, 1084, 1622, 273, 261, 6376, 18, 1830, 1622, 2 ]
if (oneAttr.dvIndex != DT_ID && oneAttr.dvIndex != DT_ANYURI &&
if (oneAttr.dvIndex != DT_ANYURI &&
public Hashtable checkAttributes(Element element, int eleContext) throws Exception { if (element == null) return null; // Get the proper name: // G_ for global; // LN_ for local + name; // LR_ for local + ref; String elName = element.getLocalName(), name; if (eleContext == ELE_CONTEXT_GLOBAL) { name = PRE_GLOBAL + element.getLocalName(); } else { if (element.getAttributeNode(SchemaSymbols.ATT_REF) == null) name = PRE_LOC_NAME + element.getLocalName(); else name = PRE_LOC_REF + element.getLocalName(); } // get desired attribute list of this element OneElement oneEle = (OneElement)fEleAttrsMap.get(name); if (oneEle == null) { reportSchemaError (SchemaMessageProvider.GenericError, new Object[] {"Element '"+elName+"' cannot appear here"}); return null; } Hashtable attrValues = new Hashtable(); Hashtable attrList = oneEle.attrList; // traverse all attributes NamedNodeMap attrs = element.getAttributes(); Attr sattr = null; int i = 0; while ((sattr = (Attr)attrs.item(i++)) != null) { // skip anything starts with x/X m/M l/L ??? // simply put their values in the return hashtable if (sattr.getName().toLowerCase().startsWith("xml")) { attrValues.put(sattr.getName(), sattr.getValue()); continue; } // check whether this attribute is allowed String attrName = sattr.getLocalName(); OneAttr oneAttr = (OneAttr)attrList.get(attrName); if (oneAttr == null) { reportSchemaError (SchemaMessageProvider.GenericError, new Object[] {"Attribute '"+attrName+"' cannot appear in '"+elName+"'"}); continue; } // get the attribute valud, and check it against the datatype String attrVal = sattr.getValue(); try { // values of ID type might be validated more than once, // which would fail the validation. // disable this temprorily. Enable it after modify TraverseSchema. //??? // and URI doesn't validate relative URIs, so disable it too. //??? // no checking on string needs to be done here. // no checking on xpath needs to be done here. // xpath values are validated in xpath parser if (oneAttr.dvIndex >= 0) { if (oneAttr.dvIndex != DT_ID && oneAttr.dvIndex != DT_ANYURI && oneAttr.dvIndex != DT_STRING && oneAttr.dvIndex != DT_XPATH && oneAttr.dvIndex != DT_XPATH1) fExtraDVs[oneAttr.dvIndex].validate(attrVal, null); attrValues.put(attrName, attrVal); } else { attrVal = validate(attrName, attrVal, oneAttr.dvIndex); attrValues.put(attrName, attrVal); } } catch(InvalidDatatypeValueException ide) { reportSchemaError (SchemaMessageProvider.GenericError, new Object[] {"Invalid attribute value '"+attrVal+"' for '"+attrName+"' in '"+ elName +"'"}); } } // traverse all required attributes Object[] reqAttrs = oneEle.attrArray; for (i = 0; i < reqAttrs.length; i++) { OneAttr oneAttr = (OneAttr)reqAttrs[i]; // if the attribute appreared, skip to the next one if (element.getAttributeNode(oneAttr.name) != null) continue; // if the attribute is required, report an error if (oneAttr.optdflt == ATT_REQUIRED) { reportSchemaError (SchemaMessageProvider.GenericError, new Object[] {"Attribute '"+oneAttr.name+"' must appear in '"+elName+"'"}); } // if the attribute is optional with default value, apply it else if (oneAttr.optdflt == ATT_OPT_DFLT) { attrValues.put(oneAttr.name, oneAttr.dfltValue); } } return attrValues; }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/149e07e14f146c4481ddf14d3477ade18abbe9cd/GeneralAttrCheck.java/buggy/src/org/apache/xerces/validators/schema/GeneralAttrCheck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18559, 866, 2498, 12, 1046, 930, 16, 509, 5043, 1042, 13, 1216, 1185, 288, 3639, 309, 261, 2956, 422, 446, 13, 5411, 327, 446, 31, 3639, 368, 968, 326, 5338, 508, 30, 3639, 368, 611, 67, 364, 2552, 31, 3639, 368, 511, 50, 67, 364, 1191, 397, 508, 31, 3639, 368, 511, 54, 67, 364, 1191, 397, 1278, 31, 3639, 514, 415, 461, 273, 930, 18, 588, 29583, 9334, 508, 31, 3639, 309, 261, 6516, 1042, 422, 512, 900, 67, 13181, 67, 20402, 13, 288, 5411, 508, 273, 7071, 67, 20402, 397, 930, 18, 588, 29583, 5621, 3639, 289, 469, 288, 5411, 309, 261, 2956, 18, 588, 1499, 907, 12, 3078, 14821, 18, 789, 56, 67, 10771, 13, 422, 446, 13, 7734, 508, 273, 7071, 67, 29450, 67, 1985, 397, 930, 18, 588, 29583, 5621, 5411, 469, 7734, 508, 273, 7071, 67, 29450, 67, 10771, 397, 930, 18, 588, 29583, 5621, 3639, 289, 3639, 368, 336, 6049, 1566, 666, 434, 333, 930, 3639, 6942, 1046, 1245, 17274, 273, 261, 3335, 1046, 13, 74, 17274, 8262, 863, 18, 588, 12, 529, 1769, 3639, 309, 261, 476, 17274, 422, 446, 13, 288, 5411, 2605, 3078, 668, 261, 3078, 1079, 2249, 18, 7014, 668, 16, 1171, 9079, 394, 1033, 8526, 12528, 1046, 2119, 15, 292, 461, 15, 5187, 2780, 9788, 2674, 6, 22938, 5411, 327, 446, 31, 3639, 289, 3639, 18559, 1604, 1972, 273, 394, 18559, 5621, 3639, 18559, 1604, 682, 273, 1245, 17274, 18, 1747, 682, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18559, 866, 2498, 12, 1046, 930, 16, 509, 5043, 1042, 13, 1216, 1185, 288, 3639, 309, 261, 2956, 422, 446, 13, 5411, 327, 446, 31, 3639, 368, 968, 326, 5338, 508, 30, 3639, 368, 611, 67, 364, 2552, 31, 3639, 368, 511, 50, 67, 364, 1191, 397, 508, 31, 3639, 368, 511, 54, 67, 364, 1191, 397, 1278, 31, 3639, 514, 415, 461, 273, 930, 18, 588, 29583, 9334, 508, 31, 3639, 309, 261, 6516, 1042, 422, 512, 900, 67, 13181, 67, 20402, 13, 288, 5411, 508, 273, 7071, 67, 20402, 397, 930, 18, 588, 29583, 5621, 3639, 289, 469, 288, 5411, 309, 261, 2956, 18, 588, 1499, 907, 12, 3078, 14821, 18, 789, 56, 67, 10771, 2 ]