rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
final PsiElement containerParent = currentContainer.getParent(); if (exitedStatement.equals(containerParent)) { return;
if (exitedStatement.equals(currentContainer)) { registerStatementError(statement);
public void visitBreakStatement(PsiBreakStatement statement) { super.visitBreakStatement(statement); final PsiIdentifier labelIdentifier = statement.getLabelIdentifier(); if (labelIdentifier == null) { return; } final PsiIdentifier identifier = statement.getLabelIdentifier(); final String labelText = identifier.getText(); if (labelText == null || labelText.length() == 0) { return; } final PsiStatement exitedStatement = statement.findExitedStatement(); if (exitedStatement == null) { return; } if (currentContainer == null) { return; } final PsiElement containerParent = currentContainer.getParent(); if (exitedStatement.equals(containerParent)) { return; } registerStatementError(statement); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/48368e6169604f49edd14f38e67fe08d9e685a63/UnnecessaryLabelOnBreakStatementInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/UnnecessaryLabelOnBreakStatementInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 7634, 3406, 12, 52, 7722, 7634, 3406, 3021, 13, 288, 5411, 2240, 18, 11658, 7634, 3406, 12, 11516, 1769, 5411, 727, 453, 7722, 3004, 1433, 3004, 273, 3021, 18, 588, 2224, 3004, 5621, 5411, 309, 261, 1925, 3004, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 3004, 2756, 273, 3021, 18, 588, 2224, 3004, 5621, 5411, 727, 514, 1433, 1528, 273, 2756, 18, 588, 1528, 5621, 5411, 309, 261, 1925, 1528, 422, 446, 747, 1433, 1528, 18, 2469, 1435, 422, 374, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 3406, 21590, 3406, 273, 3021, 18, 4720, 6767, 329, 3406, 5621, 5411, 309, 261, 8593, 329, 3406, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 309, 261, 2972, 2170, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 1046, 1478, 3054, 273, 783, 2170, 18, 588, 3054, 5621, 5411, 309, 261, 8593, 329, 3406, 18, 14963, 12, 3782, 3054, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 1744, 3406, 668, 12, 11516, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 7634, 3406, 12, 52, 7722, 7634, 3406, 3021, 13, 288, 5411, 2240, 18, 11658, 7634, 3406, 12, 11516, 1769, 5411, 727, 453, 7722, 3004, 1433, 3004, 273, 3021, 18, 588, 2224, 3004, 5621, 5411, 309, 261, 1925, 3004, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 3004, 2756, 273, 3021, 18, 588, 2224, 3004, 5621, 5411, 727, 514, 1433, 1528, 273, 2756, 18, 588, 1528, 5621, 5411, 309, 261, 1925, 1528, 422, 446, 747, 1433, 1528, 18, 2469, 1435, 422, 374, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 3406, 21590, 3406, 273, 3021, 18, 4720, 6767, 329, 3406, 5621, 5411, 309, 261, 8593, 329, 3406, 422, 2 ]
hash.aset(key.toRubyObject(), eval((INode) iterator.next()).toRubyObject());
hash.aset(key, eval((INode) iterator.next()));
public void visitHashNode(HashNode iVisited) { RubyHash hash = RubyHash.newHash(ruby); if (iVisited.getListNode() != null) { Iterator iterator = iVisited.getListNode().iterator(); while (iterator.hasNext()) { IRubyObject key = eval((INode) iterator.next()); if (iterator.hasNext()) { hash.aset(key.toRubyObject(), eval((INode) iterator.next()).toRubyObject()); } else { // XXX throw new RuntimeException("[BUG] odd number list for Hash"); // XXX } } } result = hash; }
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/f235ab756f32ea9496f8f880066b46ad95ebb692/EvaluateVisitor.java/clean/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 2310, 907, 12, 2310, 907, 277, 30019, 13, 288, 3639, 19817, 2310, 1651, 273, 19817, 2310, 18, 2704, 2310, 12, 27768, 1769, 3639, 309, 261, 77, 30019, 18, 588, 682, 907, 1435, 480, 446, 13, 288, 5411, 4498, 2775, 273, 277, 30019, 18, 588, 682, 907, 7675, 9838, 5621, 5411, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 7734, 15908, 10340, 921, 498, 273, 5302, 12443, 23184, 13, 2775, 18, 4285, 10663, 7734, 309, 261, 9838, 18, 5332, 2134, 10756, 288, 10792, 1651, 18, 2759, 12, 856, 16, 5302, 12443, 23184, 13, 2775, 18, 4285, 1435, 10019, 7734, 289, 469, 288, 10792, 368, 11329, 10792, 604, 394, 3235, 2932, 63, 4827, 65, 14800, 1300, 666, 364, 2474, 8863, 10792, 368, 11329, 7734, 289, 5411, 289, 3639, 289, 3639, 563, 273, 1651, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 2310, 907, 12, 2310, 907, 277, 30019, 13, 288, 3639, 19817, 2310, 1651, 273, 19817, 2310, 18, 2704, 2310, 12, 27768, 1769, 3639, 309, 261, 77, 30019, 18, 588, 682, 907, 1435, 480, 446, 13, 288, 5411, 4498, 2775, 273, 277, 30019, 18, 588, 682, 907, 7675, 9838, 5621, 5411, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 7734, 15908, 10340, 921, 498, 273, 5302, 12443, 23184, 13, 2775, 18, 4285, 10663, 7734, 309, 261, 9838, 18, 5332, 2134, 10756, 288, 10792, 1651, 18, 2759, 12, 856, 16, 5302, 12443, 23184, 13, 2775, 18, 4285, 1435, 10019, 7734, 289, 469, 288, 10792, 368, 11329, 10792, 604, 394, 3235, 2932, 63, 4827, 65, 14800, 1300, 666, 2 ]
if (m_statementName != null) { connection.execSQL("DEALLOCATE " + m_statementName); m_statementName = null; m_origSqlFragments = null; m_executeSqlFragments = null; }
public int executeUpdate(String p_sql) throws SQLException { String l_sql = replaceProcessing(p_sql); m_sqlFragments = new String[] {l_sql}; m_binds = new Object[0]; //If we have already created a server prepared statement, we need //to deallocate the existing one if (m_statementName != null) { connection.execSQL("DEALLOCATE " + m_statementName); m_statementName = null; m_origSqlFragments = null; m_executeSqlFragments = null; } return executeUpdate(); }
47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/7ecb6ede284fdf9f138028cc9db042c316e2f65e/AbstractJdbc1Statement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 17521, 12, 780, 293, 67, 4669, 13, 1216, 6483, 202, 95, 202, 202, 780, 328, 67, 4669, 273, 1453, 7798, 12, 84, 67, 4669, 1769, 202, 202, 81, 67, 4669, 27588, 273, 394, 514, 8526, 288, 80, 67, 4669, 20451, 202, 202, 81, 67, 4376, 87, 273, 394, 1033, 63, 20, 15533, 202, 202, 759, 2047, 732, 1240, 1818, 2522, 279, 1438, 8208, 3021, 16, 732, 1608, 202, 202, 759, 869, 443, 16247, 326, 2062, 1245, 202, 202, 430, 261, 81, 67, 11516, 461, 480, 446, 13, 288, 1082, 202, 4071, 18, 4177, 3997, 2932, 1639, 1013, 1502, 13000, 315, 397, 312, 67, 11516, 461, 1769, 1082, 202, 81, 67, 11516, 461, 273, 446, 31, 1082, 202, 81, 67, 4949, 5101, 27588, 273, 446, 31, 1082, 202, 81, 67, 8837, 5101, 27588, 273, 446, 31, 202, 202, 97, 202, 202, 2463, 17521, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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328, 67, 4669, 273, 1453, 7798, 12, 84, 67, 4669, 1769, 202, 202, 81, 67, 4669, 27588, 273, 394, 514, 8526, 288, 80, 67, 4669, 20451, 202, 202, 81, 67, 4376, 87, 273, 394, 1033, 63, 20, 15533, 202, 202, 759, 2047, 732, 1240, 1818, 2522, 279, 1438, 8208, 3021, 16, 732, 1608, 202, 202, 759, 869, 443, 16247, 326, 2062, 1245, 202, 202, 430, 261, 81, 67, 11516, 461, 480, 446, 13, 288, 1082, 202, 4071, 18, 4177, 3997, 2932, 1639, 1013, 1502, 13000, 315, 397, 312, 67, 11516, 461, 1769, 1082, 202, 81, 67, 11516, 461, 273, 446, 31, 2 ]
s += (( s == null ) ? "" : " & " ) + IntfConstants.VPN;
s = (( s == null ) ? "" : s + " & " ) + IntfConstants.VPN;
public String toString() { /* XXX This function is horrendous XXX */ if ( this.userRepresentation == null ) { if ( this.interfaceBitSet == BITSET_ALL ) this.userRepresentation = "any"; else { String s = null; if ( isMatch( IntfConstants.EXTERNAL_INTF )) s = IntfConstants.EXTERNAL; if ( isMatch( IntfConstants.INTERNAL_INTF )) { s += (( s == null ) ? "" : " & " ) + IntfConstants.INTERNAL; } if ( isMatch( IntfConstants.DMZ_INTF )) { s += (( s == null ) ? "" : " & " ) + IntfConstants.DMZ; } if ( isMatch( IntfConstants.VPN_INTF )) { s += (( s == null ) ? "" : " & " ) + IntfConstants.VPN; } this.userRepresentation = s; } } return userRepresentation; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/33eecbe99539569cdbc5f49b8a0f2a85ca056bf5/IntfMatcher.java/clean/mvvm/main/com/metavize/mvvm/tran/firewall/IntfMatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 1748, 11329, 1220, 445, 353, 29404, 20262, 1481, 11329, 1195, 3639, 309, 261, 333, 18, 1355, 13742, 422, 446, 262, 288, 5411, 309, 261, 333, 18, 5831, 5775, 694, 422, 20469, 4043, 67, 4685, 262, 333, 18, 1355, 13742, 273, 315, 2273, 14432, 5411, 469, 288, 7734, 514, 272, 273, 446, 31, 7734, 309, 261, 29895, 12, 3094, 74, 2918, 18, 2294, 11702, 67, 3217, 42, 8623, 272, 273, 3094, 74, 2918, 18, 2294, 11702, 31, 7734, 309, 261, 29895, 12, 3094, 74, 2918, 18, 14005, 67, 3217, 42, 8623, 288, 10792, 272, 1011, 14015, 272, 422, 446, 262, 692, 1408, 294, 315, 473, 315, 262, 397, 3094, 74, 2918, 18, 14005, 31, 7734, 289, 7734, 309, 261, 29895, 12, 3094, 74, 2918, 18, 16125, 62, 67, 3217, 42, 8623, 288, 10792, 272, 1011, 14015, 272, 422, 446, 262, 692, 1408, 294, 315, 473, 315, 262, 397, 3094, 74, 2918, 18, 16125, 62, 31, 7734, 289, 7734, 309, 261, 29895, 12, 3094, 74, 2918, 18, 58, 15124, 67, 3217, 42, 8623, 288, 10792, 272, 273, 14015, 272, 422, 446, 262, 692, 1408, 294, 272, 397, 315, 473, 315, 262, 397, 3094, 74, 2918, 18, 58, 15124, 31, 7734, 289, 7734, 333, 18, 1355, 13742, 273, 272, 31, 5411, 289, 3639, 289, 7734, 327, 729, 13742, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 1748, 11329, 1220, 445, 353, 29404, 20262, 1481, 11329, 1195, 3639, 309, 261, 333, 18, 1355, 13742, 422, 446, 262, 288, 5411, 309, 261, 333, 18, 5831, 5775, 694, 422, 20469, 4043, 67, 4685, 262, 333, 18, 1355, 13742, 273, 315, 2273, 14432, 5411, 469, 288, 7734, 514, 272, 273, 446, 31, 7734, 309, 261, 29895, 12, 3094, 74, 2918, 18, 2294, 11702, 67, 3217, 42, 8623, 272, 273, 3094, 74, 2918, 18, 2294, 11702, 31, 7734, 309, 261, 29895, 12, 3094, 74, 2918, 18, 14005, 67, 3217, 42, 8623, 288, 10792, 272, 1011, 14015, 272, 422, 446, 262, 692, 1408, 294, 315, 473, 315, 262, 397, 3094, 74, 2918, 18, 2 ]
public void update(Delta d) { deltas.add(d);
public void update(MatcherEvent event) { deltas.add(event.getDelta());
public void update(Delta d) { deltas.add(d); }
964 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/964/bf6794f2fe20539c6ad99b318920770e903ed128/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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1089, 12, 9242, 302, 13, 288, 540, 20113, 18, 1289, 12, 72, 1769, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else return returnArray;
return returnArray;
public BioMatter[] takeBioMatterMass(float pMass) { if (pMass <= 0) return new BioMatter[0]; List<BioMatter> itemsToReturn = new Vector<BioMatter>(); List<BioMatter> itemsToRemove = new Vector<BioMatter>(); float collectedMass = 0f; for (Iterator iter = currentBiomassItems.iterator(); iter.hasNext() && (collectedMass <= pMass);) { BioMatter currentBioMatter = (BioMatter) (iter.next()); float massStillNeeded = pMass - collectedMass; //we need to get more bio matter if (currentBioMatter.mass < massStillNeeded) { itemsToReturn.add(currentBioMatter); itemsToRemove.add(currentBioMatter); collectedMass += currentBioMatter.mass; } //we have enough, let's cut up the biomass (if too much) else if (currentBioMatter.mass >= massStillNeeded) { float fractionOfOriginal = massStillNeeded / currentBioMatter.mass; BioMatter partialReturnedBioMatter = new BioMatter( massStillNeeded, currentBioMatter.inedibleFraction, currentBioMatter.edibleWaterContent * fractionOfOriginal, currentBioMatter.inedibleWaterContent * fractionOfOriginal, currentBioMatter.type); currentBioMatter.mass -= partialReturnedBioMatter.mass; itemsToReturn.add(partialReturnedBioMatter); if (currentBioMatter.mass <= 0) itemsToRemove.add(currentBioMatter); collectedMass += partialReturnedBioMatter.mass; } } //Remove items from List for (Iterator iter = itemsToRemove.iterator(); iter.hasNext();) { currentBiomassItems.remove(iter.next()); } currentLevel -= collectedMass; //return the array BioMatter[] emptyArray = new BioMatter[0]; BioMatter[] returnArray = (itemsToReturn .toArray(emptyArray)); if (returnArray == null) return emptyArray; else return returnArray; }
5015 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5015/6925431c436dac1dff1860acb5e82373e91f018d/BiomassStoreImpl.java/buggy/BIOSIM/src/com/traclabs/biosim/server/simulation/food/BiomassStoreImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21209, 49, 9293, 8526, 4862, 38, 1594, 49, 9293, 18060, 12, 5659, 293, 18060, 13, 288, 3639, 309, 261, 84, 18060, 1648, 374, 13, 5411, 327, 394, 21209, 49, 9293, 63, 20, 15533, 3639, 987, 32, 38, 1594, 49, 9293, 34, 1516, 27014, 273, 394, 5589, 32, 38, 1594, 49, 9293, 34, 5621, 3639, 987, 32, 38, 1594, 49, 9293, 34, 1516, 12765, 273, 394, 5589, 32, 38, 1594, 49, 9293, 34, 5621, 3639, 1431, 12230, 18060, 273, 374, 74, 31, 3639, 364, 261, 3198, 1400, 273, 783, 38, 14642, 428, 3126, 18, 9838, 5621, 1400, 18, 5332, 2134, 1435, 7734, 597, 261, 14676, 329, 18060, 1648, 293, 18060, 1769, 13, 288, 5411, 21209, 49, 9293, 783, 38, 1594, 49, 9293, 273, 261, 38, 1594, 49, 9293, 13, 261, 2165, 18, 4285, 10663, 5411, 1431, 8039, 510, 737, 11449, 273, 293, 18060, 300, 12230, 18060, 31, 5411, 368, 1814, 1608, 358, 336, 1898, 25091, 15177, 5411, 309, 261, 2972, 38, 1594, 49, 9293, 18, 10424, 411, 8039, 510, 737, 11449, 13, 288, 7734, 1516, 27014, 18, 1289, 12, 2972, 38, 1594, 49, 9293, 1769, 7734, 1516, 12765, 18, 1289, 12, 2972, 38, 1594, 49, 9293, 1769, 7734, 12230, 18060, 1011, 783, 38, 1594, 49, 9293, 18, 10424, 31, 5411, 289, 5411, 368, 1814, 1240, 7304, 16, 2231, 1807, 6391, 731, 326, 10054, 362, 428, 261, 430, 4885, 9816, 13, 5411, 469, 309, 261, 2972, 38, 1594, 49, 9293, 18, 10424, 1545, 8039, 510, 737, 11449, 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, 21209, 49, 9293, 8526, 4862, 38, 1594, 49, 9293, 18060, 12, 5659, 293, 18060, 13, 288, 3639, 309, 261, 84, 18060, 1648, 374, 13, 5411, 327, 394, 21209, 49, 9293, 63, 20, 15533, 3639, 987, 32, 38, 1594, 49, 9293, 34, 1516, 27014, 273, 394, 5589, 32, 38, 1594, 49, 9293, 34, 5621, 3639, 987, 32, 38, 1594, 49, 9293, 34, 1516, 12765, 273, 394, 5589, 32, 38, 1594, 49, 9293, 34, 5621, 3639, 1431, 12230, 18060, 273, 374, 74, 31, 3639, 364, 261, 3198, 1400, 273, 783, 38, 14642, 428, 3126, 18, 9838, 5621, 1400, 18, 5332, 2134, 1435, 7734, 597, 261, 14676, 329, 18060, 1648, 293, 18060, 1769, 13, 288, 5411, 21209, 49, 9293, 783, 2 ]
pushShouldStripWhitespace(getShouldStripWhitespace());
m_shouldStripWhitespaceStack.push(m_shouldStripWS);
public void startElement (String ns, String localName, String name, Attributes atts) throws SAXException { synchronized (getSynchObject()) { pushShouldStripWhitespace(getShouldStripWhitespace()); m_sourceTreeHandler.startElement(ns, localName, name, atts); } notifyWaiters(); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/0e2298c0c460e281c6e54e92ac95421ec5eca2e4/SourceTreeHandler.java/buggy/src/org/apache/xalan/stree/SourceTreeHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 13591, 261, 780, 3153, 16, 514, 11927, 16, 18701, 514, 508, 16, 9055, 15687, 13, 565, 1216, 14366, 225, 288, 565, 3852, 261, 588, 55, 2515, 921, 10756, 565, 288, 1377, 312, 67, 13139, 16632, 9431, 2624, 18, 6206, 12, 81, 67, 13139, 16632, 2651, 1769, 1377, 312, 67, 3168, 2471, 1503, 18, 1937, 1046, 12, 2387, 16, 11927, 16, 508, 16, 15687, 1769, 565, 289, 565, 5066, 5480, 414, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 13591, 261, 780, 3153, 16, 514, 11927, 16, 18701, 514, 508, 16, 9055, 15687, 13, 565, 1216, 14366, 225, 288, 565, 3852, 261, 588, 55, 2515, 921, 10756, 565, 288, 1377, 312, 67, 13139, 16632, 9431, 2624, 18, 6206, 12, 81, 67, 13139, 16632, 2651, 1769, 1377, 312, 67, 3168, 2471, 1503, 18, 1937, 1046, 12, 2387, 16, 11927, 16, 508, 16, 15687, 1769, 565, 289, 565, 5066, 5480, 414, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ze.setPlatform((versionMadeBy.getValue() >> 8) & 0x0F);
ze.setPlatform( ( versionMadeBy.getValue() >> 8 ) & 0x0F );
private void populateFromCentralDirectory() throws IOException { positionAtCentralDirectory(); byte[] cfh = new byte[CFH_LEN]; byte[] signatureBytes = new byte[4]; archive.readFully(signatureBytes); ZipLong sig = new ZipLong(signatureBytes); while (sig.equals(ZipOutputStream.CFH_SIG)) { archive.readFully(cfh); int off = 0; ZipEntry ze = new ZipEntry(); ZipShort versionMadeBy = new ZipShort(cfh, off); off += 2; ze.setPlatform((versionMadeBy.getValue() >> 8) & 0x0F); off += 4; // skip version info and general purpose byte ze.setMethod((new ZipShort(cfh, off)).getValue()); off += 2; ze.setTime(fromDosTime(new ZipLong(cfh, off)).getTime()); off += 4; ze.setCrc((new ZipLong(cfh, off)).getValue()); off += 4; ze.setCompressedSize((new ZipLong(cfh, off)).getValue()); off += 4; ze.setSize((new ZipLong(cfh, off)).getValue()); off += 4; int fileNameLen = (new ZipShort(cfh, off)).getValue(); off += 2; int extraLen = (new ZipShort(cfh, off)).getValue(); off += 2; int commentLen = (new ZipShort(cfh, off)).getValue(); off += 2; off += 2; // disk number ze.setInternalAttributes((new ZipShort(cfh, off)).getValue()); off += 2; ze.setExternalAttributes((new ZipLong(cfh, off)).getValue()); off += 4; // LFH offset entries.put(ze, new Long((new ZipLong(cfh, off)).getValue())); byte[] fileName = new byte[fileNameLen]; archive.readFully(fileName); ze.setName(getString(fileName)); nameMap.put(ze.getName(), ze); archive.skipBytes(extraLen); byte[] comment = new byte[commentLen]; archive.readFully(comment); ze.setComment(getString(comment)); archive.readFully(signatureBytes); sig = new ZipLong(signatureBytes); } }
55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/4da7a225ba9c01ca94805923e06e3fb2d46bf201/ZipFile.java/buggy/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/zip/ZipFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 6490, 1265, 39, 12839, 2853, 1435, 3639, 1216, 1860, 288, 3639, 1754, 861, 39, 12839, 2853, 5621, 3639, 1160, 8526, 6080, 76, 273, 394, 1160, 63, 8955, 44, 67, 13017, 15533, 3639, 1160, 8526, 3372, 2160, 273, 394, 1160, 63, 24, 15533, 3639, 5052, 18, 896, 16999, 12, 8195, 2160, 1769, 3639, 8603, 3708, 3553, 273, 394, 8603, 3708, 12, 8195, 2160, 1769, 3639, 1323, 261, 7340, 18, 14963, 12, 9141, 4632, 18, 8955, 44, 67, 18513, 3719, 288, 5411, 5052, 18, 896, 16999, 12, 8522, 76, 1769, 5411, 509, 3397, 273, 374, 31, 5411, 23652, 26637, 273, 394, 23652, 5621, 5411, 8603, 4897, 1177, 49, 2486, 858, 273, 394, 8603, 4897, 12, 8522, 76, 16, 3397, 1769, 5411, 3397, 1011, 576, 31, 5411, 26637, 18, 542, 8201, 12, 261, 1177, 49, 2486, 858, 18, 24805, 1435, 1671, 1725, 262, 473, 374, 92, 20, 42, 11272, 5411, 3397, 1011, 1059, 31, 368, 2488, 1177, 1123, 471, 7470, 13115, 1160, 5411, 26637, 18, 542, 1305, 12443, 2704, 8603, 4897, 12, 8522, 76, 16, 3397, 13, 2934, 24805, 10663, 5411, 3397, 1011, 576, 31, 5411, 26637, 18, 542, 950, 12, 2080, 40, 538, 950, 12, 2704, 8603, 3708, 12, 8522, 76, 16, 3397, 13, 2934, 588, 950, 10663, 5411, 3397, 1011, 1059, 31, 5411, 26637, 18, 542, 39, 1310, 12443, 2704, 8603, 3708, 12, 8522, 76, 16, 3397, 13, 2934, 24805, 10663, 5411, 3397, 1011, 1059, 31, 5411, 26637, 18, 542, 16841, 1225, 12443, 2704, 8603, 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, 6490, 1265, 39, 12839, 2853, 1435, 3639, 1216, 1860, 288, 3639, 1754, 861, 39, 12839, 2853, 5621, 3639, 1160, 8526, 6080, 76, 273, 394, 1160, 63, 8955, 44, 67, 13017, 15533, 3639, 1160, 8526, 3372, 2160, 273, 394, 1160, 63, 24, 15533, 3639, 5052, 18, 896, 16999, 12, 8195, 2160, 1769, 3639, 8603, 3708, 3553, 273, 394, 8603, 3708, 12, 8195, 2160, 1769, 3639, 1323, 261, 7340, 18, 14963, 12, 9141, 4632, 18, 8955, 44, 67, 18513, 3719, 288, 5411, 5052, 18, 896, 16999, 12, 8522, 76, 1769, 5411, 509, 3397, 273, 374, 31, 5411, 23652, 26637, 273, 394, 23652, 5621, 5411, 8603, 4897, 1177, 49, 2486, 858, 273, 394, 8603, 4897, 12, 8522, 76, 16, 2 ]
static DbIpInterfaceEntry get(Connection db, int nid, InetAddress addr, int ifIndex)
static DbIpInterfaceEntry get(int nid, InetAddress addr)
static DbIpInterfaceEntry get(Connection db, int nid, InetAddress addr, int ifIndex) throws SQLException { DbIpInterfaceEntry entry = new DbIpInterfaceEntry(nid, addr, ifIndex); if(!entry.load(db)) entry = null; return entry; }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/9da3d5c7363e7cc3dfe19429df2098a1822e3320/DbIpInterfaceEntry.java/buggy/src/services/org/opennms/netmgt/capsd/DbIpInterfaceEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 8408, 5273, 1358, 1622, 336, 12, 1952, 1319, 16, 509, 19416, 16, 14218, 3091, 16, 509, 309, 1016, 13, 202, 202, 15069, 6483, 202, 95, 202, 202, 4331, 5273, 1358, 1622, 1241, 273, 394, 8408, 5273, 1358, 1622, 12, 31030, 16, 3091, 16, 309, 1016, 1769, 202, 202, 430, 12, 5, 4099, 18, 945, 12, 1966, 3719, 1082, 202, 4099, 273, 446, 31, 202, 202, 2463, 1241, 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,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
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 8408, 5273, 1358, 1622, 336, 12, 1952, 1319, 16, 509, 19416, 16, 14218, 3091, 16, 509, 309, 1016, 13, 202, 202, 15069, 6483, 202, 95, 202, 202, 4331, 5273, 1358, 1622, 1241, 273, 394, 8408, 5273, 1358, 1622, 12, 31030, 16, 3091, 16, 309, 1016, 1769, 202, 202, 430, 12, 5, 4099, 18, 945, 12, 1966, 3719, 1082, 202, 4099, 273, 446, 31, 202, 202, 2463, 1241, 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 ]
if ( inputParameter.getDisplayName( ) != null )
if ( !StringUtil.isBlank( inputParameter.getPromptText( ) ) )
protected boolean initDialog( ) { Assert.isNotNull( inputParameter ); nameEditor.setText( inputParameter.getName( ) ); if ( inputParameter.getDisplayName( ) != null ) { promptTextEditor.setText( inputParameter.getDisplayName( ) ); } helpTextEditor.setText( UIUtil.convertToGUIString( inputParameter.getHelpText( ) ) ); if ( inputParameter.getValueType( ) .equals( DesignChoiceConstants.PARAM_VALUE_TYPE_STATIC ) ) { staticRadio.setSelection( true ); for ( Iterator iter = inputParameter.getPropertyHandle( ScalarParameterHandle.SELECTION_LIST_PROP ) .iterator( ); iter.hasNext( ); ) { SelectionChoiceHandle choiceHandle = (SelectionChoiceHandle) iter.next( ); choiceList.add( choiceHandle.getStructure( ) ); } } else { dynamicRadio.setSelection( true ); } if ( isStatic( ) && !DesignChoiceConstants.PARAM_CONTROL_TEXT_BOX.equals( inputParameter.getControlType( ) ) && ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( inputParameter.getDataType( ) ) || DesignChoiceConstants.PARAM_TYPE_STRING.equals( inputParameter.getDataType( ) ) ) ) { defaultValue = removeQuoteString( inputParameter.getDefaultValue( ) ); } else { defaultValue = inputParameter.getDefaultValue( ); } if ( inputParameter.getPropertyHandle( ScalarParameterHandle.LIST_LIMIT_PROP ) .isSet( ) ) { listLimit.setText( String.valueOf( inputParameter.getListlimit( ) ) ); } changeDataType( ); dataTypeChooser.setText( dataType.findChoice( inputParameter.getDataType( ) ) .getDisplayName( ) ); switchParamterType( ); loading = false; return true; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/6fb13bbf69174d2503824b9dbe1439147b493bfa/ParameterDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1208, 6353, 12, 262, 202, 95, 202, 202, 8213, 18, 291, 5962, 12, 810, 1662, 11272, 202, 202, 529, 6946, 18, 542, 1528, 12, 810, 1662, 18, 17994, 12, 262, 11272, 202, 202, 430, 261, 810, 1662, 18, 588, 20524, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 13325, 1528, 6946, 18, 542, 1528, 12, 810, 1662, 18, 588, 20524, 12, 262, 11272, 202, 202, 97, 202, 202, 5201, 1528, 6946, 18, 542, 1528, 12, 6484, 1304, 18, 6283, 774, 43, 5370, 780, 12, 810, 1662, 18, 588, 6696, 1528, 12, 262, 262, 11272, 202, 202, 430, 261, 810, 1662, 18, 588, 17930, 12, 262, 9506, 202, 18, 14963, 12, 29703, 10538, 2918, 18, 8388, 67, 4051, 67, 2399, 67, 22741, 262, 262, 202, 202, 95, 1082, 202, 3845, 19984, 18, 542, 6233, 12, 638, 11272, 1082, 202, 1884, 261, 4498, 1400, 273, 810, 1662, 18, 588, 1396, 3259, 12, 15791, 1662, 3259, 18, 1090, 15445, 67, 7085, 67, 15811, 262, 6862, 202, 18, 9838, 12, 11272, 1400, 18, 5332, 2134, 12, 11272, 262, 1082, 202, 95, 9506, 202, 6233, 10538, 3259, 6023, 3259, 273, 261, 6233, 10538, 3259, 13, 1400, 18, 4285, 12, 11272, 9506, 202, 11569, 682, 18, 1289, 12, 6023, 3259, 18, 588, 6999, 12, 262, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 14507, 19984, 18, 542, 6233, 12, 638, 11272, 202, 202, 97, 202, 202, 430, 261, 16116, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1208, 6353, 12, 262, 202, 95, 202, 202, 8213, 18, 291, 5962, 12, 810, 1662, 11272, 202, 202, 529, 6946, 18, 542, 1528, 12, 810, 1662, 18, 17994, 12, 262, 11272, 202, 202, 430, 261, 810, 1662, 18, 588, 20524, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 13325, 1528, 6946, 18, 542, 1528, 12, 810, 1662, 18, 588, 20524, 12, 262, 11272, 202, 202, 97, 202, 202, 5201, 1528, 6946, 18, 542, 1528, 12, 6484, 1304, 18, 6283, 774, 43, 5370, 780, 12, 810, 1662, 18, 588, 6696, 1528, 12, 262, 262, 11272, 202, 202, 430, 261, 810, 1662, 18, 588, 17930, 12, 262, 9506, 202, 18, 14963, 12, 29703, 10538, 2918, 2 ]
index = indexFromString(s); if (index != NO_INDEX)
long indexTest = indexFromString(s); if (indexTest >= 0) { index = (int)indexTest;
public static Object setElem(Object obj, Object id, Object value, Scriptable scope) { int index; String s; if (id instanceof Number) { double d = ((Number) id).doubleValue(); index = (int) d; s = ((double) index) == d ? null : toString(id); } else { s = toString(id); index = indexFromString(s); if (index != NO_INDEX) s = null; else if (s.length() == 1 && s.charAt(0) == NO_INDEX_CHAR) { // disambiguate return value: was actually a number s = null; } } Scriptable start = obj instanceof Scriptable ? (Scriptable) obj : toObject(scope, obj); Scriptable m = start; if (s != null) { if (s.equals("__proto__")) return setProto(obj, value, scope); if (s.equals("__parent__")) return setParent(obj, value, scope); do { if (m.has(s, start)) { m.put(s, start, value); return value; } m = m.getPrototype(); } while (m != null); start.put(s, start, value); return value; } do { if (m.has(index, start)) { m.put(index, start, value); return value; } m = m.getPrototype(); } while (m != null); start.put(index, start, value); return value; }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/5e0b2ebaed49fc9dc92fb0127fd9256424173c6e/ScriptRuntime.java/clean/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 444, 7498, 12, 921, 1081, 16, 1033, 612, 16, 1033, 460, 16, 4766, 22780, 2146, 13, 565, 288, 3639, 509, 770, 31, 3639, 514, 272, 31, 3639, 309, 261, 350, 1276, 3588, 13, 288, 5411, 1645, 302, 273, 14015, 1854, 13, 612, 2934, 9056, 620, 5621, 5411, 770, 273, 261, 474, 13, 302, 31, 5411, 272, 273, 14015, 9056, 13, 770, 13, 422, 302, 692, 446, 294, 1762, 12, 350, 1769, 3639, 289, 469, 288, 5411, 272, 273, 1762, 12, 350, 1769, 5411, 770, 273, 770, 9193, 12, 87, 1769, 5411, 309, 261, 1615, 480, 3741, 67, 9199, 13, 7734, 272, 273, 446, 31, 5411, 469, 309, 261, 87, 18, 2469, 1435, 422, 404, 597, 272, 18, 3001, 861, 12, 20, 13, 422, 3741, 67, 9199, 67, 7305, 13, 288, 7734, 368, 1015, 26011, 340, 327, 460, 30, 1703, 6013, 279, 1300, 7734, 272, 273, 446, 31, 5411, 289, 3639, 289, 3639, 22780, 787, 273, 1081, 1276, 22780, 5397, 692, 261, 3651, 429, 13, 1081, 5397, 294, 24216, 12, 4887, 16, 1081, 1769, 3639, 22780, 312, 273, 787, 31, 3639, 309, 261, 87, 480, 446, 13, 288, 5411, 309, 261, 87, 18, 14963, 2932, 972, 9393, 14437, 3719, 7734, 327, 444, 6262, 12, 2603, 16, 460, 16, 2146, 1769, 5411, 309, 261, 87, 18, 14963, 2932, 972, 2938, 14437, 3719, 7734, 327, 12548, 12, 2603, 16, 460, 16, 2146, 1769, 5411, 741, 288, 7734, 309, 261, 81, 18, 5332, 12, 87, 16, 787, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 444, 7498, 12, 921, 1081, 16, 1033, 612, 16, 1033, 460, 16, 4766, 22780, 2146, 13, 565, 288, 3639, 509, 770, 31, 3639, 514, 272, 31, 3639, 309, 261, 350, 1276, 3588, 13, 288, 5411, 1645, 302, 273, 14015, 1854, 13, 612, 2934, 9056, 620, 5621, 5411, 770, 273, 261, 474, 13, 302, 31, 5411, 272, 273, 14015, 9056, 13, 770, 13, 422, 302, 692, 446, 294, 1762, 12, 350, 1769, 3639, 289, 469, 288, 5411, 272, 273, 1762, 12, 350, 1769, 5411, 770, 273, 770, 9193, 12, 87, 1769, 5411, 309, 261, 1615, 480, 3741, 67, 9199, 13, 7734, 272, 273, 446, 31, 5411, 469, 309, 261, 87, 18, 2469, 1435, 422, 404, 597, 2 ]
public boolean saveFile(FileSaveSelector com) throws IOException { FileSaveSelector realCommand; final File file; if (!isModifiedSinceSave() && !isUntitled()) { // Don't need to save. // Return true, since the save wasn't "canceled" return true; } try { if (isUntitled()) { realCommand = com; } else { try { file = getFile(); realCommand = new TrivialFSS(file); } catch (FileMovedException fme) { // getFile() failed, prompt the user if a new one should be selected if (com.shouldSaveAfterFileMoved(this, fme.getFile())) { realCommand = com; } else { // User declines to save as a new file, so don't save return false; } } } return saveFileAs(realCommand); } catch (IllegalStateException ise) { // No file-- this should have been caught by isUntitled() throw new UnexpectedException(ise); } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/c59eaaa7c161cda0abd771e7c4bc4857c1a0ee82/DefaultGlobalModel.java/buggy/drjava/src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1923, 812, 12, 812, 4755, 4320, 532, 13, 1216, 1860, 288, 1377, 1387, 4755, 4320, 2863, 2189, 31, 1377, 727, 1387, 585, 31, 1377, 309, 16051, 291, 29943, 4755, 1435, 597, 401, 291, 57, 496, 305, 1259, 10756, 288, 3639, 368, 7615, 1404, 1608, 358, 1923, 18, 3639, 368, 225, 2000, 638, 16, 3241, 326, 1923, 14487, 1404, 315, 10996, 329, 6, 3639, 327, 638, 31, 1377, 289, 1377, 775, 288, 3639, 309, 261, 291, 57, 496, 305, 1259, 10756, 288, 1850, 2863, 2189, 273, 532, 31, 3639, 289, 3639, 469, 288, 1850, 775, 288, 5411, 585, 273, 6034, 5621, 5411, 2863, 2189, 273, 394, 840, 20109, 42, 1260, 12, 768, 1769, 1850, 289, 1850, 1044, 261, 812, 25317, 503, 284, 3501, 13, 288, 5411, 368, 6034, 1435, 2535, 16, 6866, 326, 729, 309, 279, 394, 1245, 1410, 506, 3170, 5411, 309, 261, 832, 18, 13139, 4755, 4436, 812, 25317, 12, 2211, 16, 284, 3501, 18, 29925, 1435, 3719, 288, 2868, 2863, 2189, 273, 532, 31, 5411, 289, 5411, 469, 288, 2868, 368, 2177, 3496, 1465, 358, 1923, 487, 279, 394, 585, 16, 1427, 2727, 1404, 1923, 2868, 327, 629, 31, 5411, 289, 1850, 289, 3639, 289, 7734, 327, 1923, 812, 1463, 12, 7688, 2189, 1769, 1377, 289, 1377, 1044, 261, 12195, 5060, 31248, 13, 288, 3639, 368, 2631, 585, 413, 225, 333, 1410, 1240, 2118, 13537, 635, 353, 57, 496, 305, 1259, 1435, 3639, 604, 394, 9649, 503, 12, 784, 1769, 1377, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1923, 812, 12, 812, 4755, 4320, 532, 13, 1216, 1860, 288, 1377, 1387, 4755, 4320, 2863, 2189, 31, 1377, 727, 1387, 585, 31, 1377, 309, 16051, 291, 29943, 4755, 1435, 597, 401, 291, 57, 496, 305, 1259, 10756, 288, 3639, 368, 7615, 1404, 1608, 358, 1923, 18, 3639, 368, 225, 2000, 638, 16, 3241, 326, 1923, 14487, 1404, 315, 10996, 329, 6, 3639, 327, 638, 31, 1377, 289, 1377, 775, 288, 3639, 309, 261, 291, 57, 496, 305, 1259, 10756, 288, 1850, 2863, 2189, 273, 532, 31, 3639, 289, 3639, 469, 288, 1850, 775, 288, 5411, 585, 273, 6034, 5621, 5411, 2863, 2189, 273, 394, 840, 20109, 42, 1260, 12, 768, 1769, 1850, 289, 1850, 1044, 2 ]
public String getValue() { return value; }
public Object getValue() { return value; }
public String getValue() { return value; }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/46cb53a5c275e1621f93eedcb952b2ad923f49bd/AttributeTypeAndValue.java/buggy/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2366, 1435, 565, 288, 3639, 327, 460, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2366, 1435, 565, 288, 3639, 327, 460, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case 276: break;
case 278: break;
public Symbol next_token() throws java.io.IOException { int yyFlexInput; int yyFlexAction; int [] yyFlexTransL = YY_TRANS; int [] yyFlexRowMapL = YY_ROWMAP; int [] yyFlexAttrL = YY_ATTRIBUTE; int yyFlexPushbackPos_l = yyFlexPushbackPos = -1; boolean yy_was_pushback; while (true) { // cached fields: int yyFlexCurrentPosL; int yyFlexMarkedPosL = yyFlexMarkedPos; int yyFlexEndReadL = yyFlexEndRead; char [] yyFlexBufferL = yyFlexBuffer; char [] yyCMapL = YY_CMAP; boolean yyFlexR = false; for (yyFlexCurrentPosL = yyFlexStartRead; yyFlexCurrentPosL < yyFlexMarkedPosL; yyFlexCurrentPosL++) { switch (yyFlexBufferL[yyFlexCurrentPosL]) { case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yyline++; yycolumn = 0; yyFlexR = false; break; case '\r': yyline++; yycolumn = 0; yyFlexR = true; break; case '\n': if (yyFlexR) yyFlexR = false; else { yyline++; yycolumn = 0; } break; default: yyFlexR = false; yycolumn++; } } if (yyFlexR) { // peek one character ahead if it is \n (if we have counted one line too much) boolean yyFlexPeek; if (yyFlexMarkedPosL < yyFlexEndReadL) yyFlexPeek = yyFlexBufferL[yyFlexMarkedPosL] == '\n'; else if (yyFlexAtEOF) yyFlexPeek = false; else { boolean eof = yyFlexRefill(); yyFlexMarkedPosL = yyFlexMarkedPos; yyFlexBufferL = yyFlexBuffer; if (eof) yyFlexPeek = false; else yyFlexPeek = yyFlexBufferL[yyFlexMarkedPosL] == '\n'; } if (yyFlexPeek) yyline--; } if (yyFlexMarkedPosL > yyFlexStartRead) { switch (yyFlexBufferL[yyFlexMarkedPosL-1]) { case '\n': case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yyFlexAtBOL = true; break; case '\r': if (yyFlexMarkedPosL < yyFlexEndReadL) yyFlexAtBOL = yyFlexBufferL[yyFlexMarkedPosL] != '\n'; else if (yyFlexAtEOF) yyFlexAtBOL = false; else { boolean eof = yyFlexRefill(); yyFlexMarkedPosL = yyFlexMarkedPos; yyFlexBufferL = yyFlexBuffer; if (eof) yyFlexAtBOL = false; else yyFlexAtBOL = yyFlexBufferL[yyFlexMarkedPosL] != '\n'; } break; default: yyFlexAtBOL = false; } } yyFlexAction = -1; yyFlexCurrentPosL = yyFlexCurrentPos = yyFlexStartRead = yyFlexMarkedPosL; if (yyFlexAtBOL) yyFlexState = YY_LEXSTATE[yyFlexLexicalState+1]; else yyFlexState = YY_LEXSTATE[yyFlexLexicalState]; yy_was_pushback = false; yy_forAction: { while (true) { if (yyFlexCurrentPosL < yyFlexEndReadL) yyFlexInput = yyFlexBufferL[yyFlexCurrentPosL++]; else if (yyFlexAtEOF) { yyFlexInput = YYEOF; break yy_forAction; } else { // store back cached positions yyFlexCurrentPos = yyFlexCurrentPosL; yyFlexMarkedPos = yyFlexMarkedPosL; yyFlexPushbackPos = yyFlexPushbackPos_l; boolean eof = yyFlexRefill(); // get translated positions and possibly new buffer yyFlexCurrentPosL = yyFlexCurrentPos; yyFlexMarkedPosL = yyFlexMarkedPos; yyFlexBufferL = yyFlexBuffer; yyFlexEndReadL = yyFlexEndRead; yyFlexPushbackPos_l = yyFlexPushbackPos; if (eof) { yyFlexInput = YYEOF; break yy_forAction; } else { yyFlexInput = yyFlexBufferL[yyFlexCurrentPosL++]; } } int yyFlexNext = yyFlexTransL[ yyFlexRowMapL[yyFlexState] + yyCMapL[yyFlexInput] ]; if (yyFlexNext == -1) break yy_forAction; yyFlexState = yyFlexNext; int yyFlexAttributes = yyFlexAttrL[yyFlexState]; if ( (yyFlexAttributes & 2) == 2 ) yyFlexPushbackPos_l = yyFlexCurrentPosL; if ( (yyFlexAttributes & 1) == 1 ) { yy_was_pushback = (yyFlexAttributes & 4) == 4; yyFlexAction = yyFlexState; yyFlexMarkedPosL = yyFlexCurrentPosL; if ( (yyFlexAttributes & 8) == 8 ) break yy_forAction; } } } // store back cached position yyFlexMarkedPos = yyFlexMarkedPosL; if (yy_was_pushback) yyFlexMarkedPos = yyFlexPushbackPos_l; switch (yyFlexAction < 0 ? yyFlexAction : YY_ACTION[yyFlexAction]) { case 85: { return symbol(FULL); } case 141: break; case 92: { debugOption = true; } case 142: break; case 57: { return symbol(CHAR,new Character('\t')); } case 143: break; case 107: { throw new ScannerException(file,ErrorMessages.NO_BUFFER_SIZE, yyline); } case 144: break; case 91: { isYYEOF = true; } case 145: break; case 54: { return symbol(CHAR, new Character(yytext().charAt(1))); } case 146: break; case 11: { yybegin(REGEXP); } case 147: break; case 112: { isAbstract = true; } case 148: break; case 101: { initCode = conc(initCode,string); yybegin(MACROS); } case 149: break; case 45: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_NL, yyline, yycolumn); } case 150: break; case 12: { return symbol_countUpdate(RBRACE, null); } case 151: break; case 74: { return symbol(REPEAT, new Integer(yytext().substring(1).trim())); } case 152: break; case 55: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8))); } case 153: break; case 97: { columnCount = true; } case 154: break; case 122: { return symbol(LETTERCLASS); } case 155: break; case 15: { if (macroDefinition) { yybegin(MACROS); } return symbol(REGEXPEND); } case 156: break; case 77: { inclusive_states = true; yybegin(STATELIST); } case 157: break; case 56: { return symbol(CHAR,new Character('\n')); } case 158: break; case 81: { return symbol(MACROUSE, yytext().substring(1,yytext().length()-1)); } case 159: break; case 25: { return symbol(OPENBRACKET); } case 160: break; case 123: { throw new ScannerException(file,ErrorMessages.QUIL_INITTHROW, yyline); } case 161: break; case 126: { visibility = "private"; Skeleton.makePrivate(); } case 162: break; case 49: { commentbalance++; } case 163: break; case 9: { throw new ScannerException(file,ErrorMessages.UNKNOWN_OPTION, yyline, yycolumn); } case 164: break; case 68: { string.append('\n'); } case 165: break; case 33: { balance++; actionText.append('{'); } case 166: break; case 48: { if (commentbalance > 0) commentbalance--; else yybegin(nextState); } case 167: break; case 67: { string.append('\"'); } case 168: break; case 95: { tokenType = yytext().substring(6).trim(); } case 169: break; case 79: { return symbol_countUpdate(MACROUSE, makeMacroIdent()); } case 170: break; case 14: { return symbol(CHAR, new Character(yytext().charAt(0))); } case 171: break; case 32: { if (balance > 0) { balance--; actionText.append('}'); } else { yybegin(REGEXPSTART); Action a = new Action(actionText.toString(), action_line); actions.addElement(a); return symbol(ACTION, a); } } case 172: break; case 108: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol_countUpdate(EOFRULE, null); } case 173: break; case 120: { isExtending = yytext().substring(9).trim(); } case 174: break; case 113: { cupSymbol = yytext().substring(8).trim(); if (cupCompatible) Out.warning(ErrorMessages.CUPSYM_AFTER_CUP, yyline); } case 175: break; case 63: { yybegin(REPEATEXP); return symbol(REPEAT, new Integer(yytext().trim().substring(1).trim())); } case 176: break; case 88: { packed = true; useRowMap = true; } case 177: break; case 27: { return symbol(PLUS); } case 178: break; case 99: { isPublic = true; } case 179: break; case 70: { string.append('\r'); } case 180: break; case 76: { inclusive_states = false; yybegin(STATELIST); } case 181: break; case 3: { userCode.append(yytext()); } case 182: break; case 19: { lookAheadUsed = true; return symbol(LOOKAHEAD); } case 183: break; case 110: { lexThrow = concExc(lexThrow,yytext().substring(8).trim()); } case 184: break; case 26: { return symbol(CLOSEBRACKET); } case 185: break; case 80: { string.append( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16)); } case 186: break; case 37: { throw new ScannerException(file,ErrorMessages.UNTERMINATED_STR, yyline, yycolumn); } case 187: break; case 111: { eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 188: break; case 69: { string.append('\t'); } case 189: break; case 23: { return symbol(BANG); } case 190: break; case 17: { yybegin(CHARCLASS); return symbol(OPENCLASS); } case 191: break; case 114: { cupDebug = true; } case 192: break; case 87: { charCount = true; } case 193: break; case 58: { return symbol(CHAR,new Character('\r')); } case 194: break; case 66: { string.append( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8)); } case 195: break; case 134: { scanErrorException = yytext().substring(11).trim(); } case 196: break; case 60: { return symbol(CHAR,new Character('\b')); } case 197: break; case 35: { yybegin(REGEXP); return symbol(MORETHAN); } case 198: break; case 132: { isImplementing = concExc(isImplementing, yytext().substring(12).trim()); } case 199: break; case 78: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16))); } case 200: break; case 90: { isFinal = true; } case 201: break; case 137: { return symbol(UPPERCLASS); } case 202: break; case 46: { yybegin(REGEXP); return symbol(RBRACE); } case 203: break; case 51: { Out.warning(ErrorMessages.NOT_AT_BOL, yyline); yypushback(1); } case 204: break; case 28: { return symbol(QUESTION); } case 205: break; case 36: { string.append(yytext()); } case 206: break; case 135: { initThrow = concExc(initThrow,string); yybegin(MACROS); } case 207: break; case 140: { return symbol(JLETTERDIGITCLASS); } case 208: break; case 53: { nextState = REGEXPSTART; yybegin(COMMENT); } case 209: break; case 130: { eofThrow = concExc(eofThrow,string); yybegin(MACROS); } case 210: break; case 61: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(REGEXPEND); } case 211: break; case 138: { return symbol(LOWERCLASS); } case 212: break; case 38: { yybegin(nextState); return symbol(STRING, string.toString()); } case 213: break; case 82: { classCode = conc(classCode,string); yybegin(MACROS); } case 214: break; case 8: { return symbol(IDENT, yytext()); } case 215: break; case 43: { return symbol(HAT); } case 216: break; case 29: { lookAheadUsed = true; return symbol(DOLLAR); } case 217: break; case 124: { eofThrow = concExc(eofThrow,yytext().substring(10).trim()); } case 218: break; case 5: { states.insert(yytext(),inclusive_states); } case 219: break; case 84: { cupCompatible = true; isImplementing = concExc(isImplementing, "java_cup.runtime.Scanner"); if (functionName == null) functionName = "next_token"; if (tokenType == null) tokenType = "java_cup.runtime.Symbol"; if (eofVal == null) eofVal = "return new java_cup.runtime.Symbol("+cupSymbol+".EOF);"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 220: break; case 127: { standalone = true; isInteger = true; } case 221: break; case 4: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_CHAR, yyline, yycolumn); } case 222: break; case 47: { t.start(); yybegin(MACROS); macroDefinition = true; return symbol(USERCODE,userCode); } case 223: break; case 59: { return symbol(CHAR,new Character('\f')); } case 224: break; case 94: { eofCode = conc(eofCode,string); yybegin(MACROS); } case 225: break; case 65: { string.append(yytext().charAt(1)); } case 226: break; case 115: { caseless = true; } case 227: break; case 39: { throw new ScannerException(file,ErrorMessages.EOL_IN_CHARCLASS,yyline,yycolumn); } case 228: break; case 117: { return symbol(DIGITCLASS); } case 229: break; case 64: { if (macroDefinition) { yybegin(EATWSPNL); return symbol(BAR); } else { yybegin(REGEXPSTART); return symbol(NOACTION); } } case 230: break; case 30: { bolUsed = true; return symbol(HAT); } case 231: break; case 105: { throw new ScannerException(file,ErrorMessages.QUIL_CUPSYM, yyline); } case 232: break; case 102: { isIntWrap = true; } case 233: break; case 41: { if (balance > 0) balance--; else yybegin(REGEXP); return symbol(CLOSECLASS); } case 234: break; case 116: { bufferSize = Integer.parseInt(yytext().substring(8).trim()); } case 235: break; case 31: { actionText.append(yytext()); } case 236: break; case 86: { lineCount = true; } case 237: break; case 128: { throw new ScannerException(file,ErrorMessages.QUIL_SCANERROR, yyline); } case 238: break; case 104: { throw new ScannerException(file,ErrorMessages.QUIL_THROW, yyline); } case 239: break; case 83: { isInteger = true; } case 240: break; case 129: { return symbol(JLETTERCLASS); } case 241: break; case 98: { isInteger = true; if (eofVal == null) eofVal = "return 0;"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 242: break; case 18: { return symbol(STAR); } case 243: break; case 121: { throw new ScannerException(file,ErrorMessages.QUIL_EOFTHROW, yyline); } case 244: break; case 44: { return symbol(DASH); } case 245: break; case 106: { className = yytext().substring(7).trim(); } case 246: break; case 62: { nextState = REGEXP; yybegin(COMMENT); } case 247: break; case 136: { lexThrow = concExc(lexThrow,yytext().substring(12).trim()); } case 248: break; case 22: { return symbol(BAR); } case 249: break; case 125: { functionName = yytext().substring(10).trim(); } case 250: break; case 13: { yybegin(STATES); return symbol_countUpdate(LESSTHAN, null); } case 251: break; case 119: { eofVal = string.toString(); yybegin(MACROS); } case 252: break; case 73: { yypushback(1); yycolumn--; return symbol(CHAR, new Character(yytext().charAt(0))); } case 253: break; case 24: { return symbol(TILDE); } case 254: break; case 139: { lexThrow = concExc(lexThrow,string); yybegin(MACROS); } case 255: break; case 103: { notUnix = true; } case 256: break; case 89: { packed = false; useRowMap = true; } case 257: break; case 20: { string.setLength(0); nextState = REGEXP; yybegin(STRING_CONTENT); } case 258: break; case 2: { /* ignore */ } case 259: break; case 93: { return symbol(UNICODE); } case 260: break; case 16: { return symbol(POINT); } case 261: break; case 72: { string.append('\b'); } case 262: break; case 21: { yybegin(REGEXPSTART); return symbol(LBRACE); } case 263: break; case 131: { initThrow = concExc(initThrow,yytext().substring(11).trim()); } case 264: break; case 96: { packed = false; useRowMap = false; } case 265: break; case 7: { yybegin(MACROS); } case 266: break; case 75: { string.setLength(0); yybegin(COPY); } case 267: break; case 42: { string.setLength(0); nextState = CHARCLASS; yybegin(STRING_CONTENT); } case 268: break; case 118: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(EOFRULE); } case 269: break; case 52: { macroDefinition = false; yybegin(REGEXPSTART); return symbol(DELIMITER); } case 270: break; case 50: { nextState = MACROS; yybegin(COMMENT); } case 271: break; case 10: { yybegin(REGEXP); return symbol(EQUALS); } case 272: break; case 34: { return symbol(COMMA); } case 273: break; case 1: { return symbol(EOF); } case 274: break; case 100: { throw new ScannerException(file,ErrorMessages.EOF_WO_ACTION); } case 275: break; case 71: { string.append('\f'); } case 276: break; case 40: { balance++; return symbol(OPENCLASS); } case 277: break; case 133: { throw new ScannerException(file,ErrorMessages.QUIL_YYLEXTHROW, yyline); } case 278: break; case 109: { File f = new File(yytext().substring(9).trim()); if ( !f.canRead() ) throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); // check for cycle if (files.search(f) > 0) throw new ScannerException(file,ErrorMessages.FILE_CYCLE, yyline); try { yypushStream( new FileReader(f) ); files.push(file); file = f; Out.println("Including \""+file+"\""); } catch (FileNotFoundException e) { throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); } } case 279: break; case 6: { } case 280: break; default: if (yyFlexInput == YYEOF && yyFlexStartRead == yyFlexCurrentPos) { yyFlexAtEOF = true; yyFlexDoEOF(); switch (yyFlexLexicalState) { case STRING_CONTENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_STRING); } case 745: break; case MACROS: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 746: break; case STATELIST: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 747: break; case CHARCLASS: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 748: break; case JAVA_CODE: { throw new ScannerException(file,ErrorMessages.EOF_IN_ACTION, action_line-1); } case 749: break; case REPEATEXP: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 750: break; case COMMENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_COMMENT); } case 751: break; case STATES: { throw new ScannerException(file,ErrorMessages.EOF_IN_STATES); } case 752: break; case COPY: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 753: break; default: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else return symbol(EOF); } } } else { yyFlexScanError(YY_NO_MATCH); } } } }
45285 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45285/9b61944465740d14ca2a4b7d70253b3cd65d7570/LexScan.java/clean/jflex/src/JFlex/LexScan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8565, 1024, 67, 2316, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 9016, 19667, 1210, 31, 565, 509, 9016, 19667, 1803, 31, 565, 509, 5378, 9016, 19667, 1429, 48, 273, 1624, 61, 67, 16596, 31, 565, 509, 5378, 9016, 19667, 1999, 863, 48, 273, 1624, 61, 67, 11226, 8352, 31, 565, 509, 5378, 9016, 19667, 3843, 48, 273, 1624, 61, 67, 11616, 31, 565, 509, 9016, 19667, 7621, 823, 1616, 67, 80, 273, 9016, 19667, 7621, 823, 1616, 273, 300, 21, 31, 565, 1250, 9016, 67, 17416, 67, 6206, 823, 31, 565, 1323, 261, 3767, 13, 288, 1377, 368, 3472, 1466, 30, 1377, 509, 9016, 19667, 3935, 1616, 48, 31, 1377, 509, 9016, 19667, 21486, 1616, 48, 273, 9016, 19667, 21486, 1616, 31, 1377, 509, 9016, 19667, 1638, 1994, 48, 273, 9016, 19667, 1638, 1994, 31, 1377, 1149, 5378, 9016, 19667, 1892, 48, 273, 9016, 19667, 1892, 31, 1377, 1149, 5378, 9016, 39, 863, 48, 273, 1624, 61, 67, 39, 8352, 31, 1377, 1250, 9016, 19667, 54, 273, 629, 31, 1377, 364, 261, 6795, 19667, 3935, 1616, 48, 273, 9016, 19667, 1685, 1994, 31, 9016, 19667, 3935, 1616, 48, 411, 9016, 19667, 21486, 1616, 48, 31, 4766, 11794, 9016, 19667, 3935, 1616, 48, 27245, 288, 3639, 1620, 261, 6795, 19667, 1892, 48, 63, 6795, 19667, 3935, 1616, 48, 5717, 288, 3639, 648, 2337, 89, 3784, 38, 4278, 3639, 648, 2337, 89, 3784, 39, 4278, 3639, 648, 2337, 89, 713, 7140, 4278, 3639, 648, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8565, 1024, 67, 2316, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 9016, 19667, 1210, 31, 565, 509, 9016, 19667, 1803, 31, 565, 509, 5378, 9016, 19667, 1429, 48, 273, 1624, 61, 67, 16596, 31, 565, 509, 5378, 9016, 19667, 1999, 863, 48, 273, 1624, 61, 67, 11226, 8352, 31, 565, 509, 5378, 9016, 19667, 3843, 48, 273, 1624, 61, 67, 11616, 31, 565, 509, 9016, 19667, 7621, 823, 1616, 67, 80, 273, 9016, 19667, 7621, 823, 1616, 273, 300, 21, 31, 565, 1250, 9016, 67, 17416, 67, 6206, 823, 31, 565, 1323, 261, 3767, 13, 288, 1377, 368, 3472, 1466, 30, 1377, 509, 9016, 19667, 3935, 1616, 48, 31, 1377, 509, 9016, 19667, 21486, 2 ]
int iBP = borderProps.getPadding(BorderAndPadding.START,
int iBP = borderProps.getPadding(CommonBorderAndPadding.START,
private MinOptMax getExtraIPD(boolean bNotFirst, boolean bNotLast) { int iBP = borderProps.getPadding(BorderAndPadding.START, bNotFirst); iBP += borderProps.getBorderWidth(BorderAndPadding.START, bNotFirst); iBP += borderProps.getPadding(BorderAndPadding.END, bNotLast); iBP += borderProps.getBorderWidth(BorderAndPadding.END, bNotLast); return new MinOptMax(iBP); }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/f9bee020b38c9c2a4f4b989ee875b677c56780ac/InlineStackingLayoutManager.java/buggy/src/java/org/apache/fop/layoutmgr/InlineStackingLayoutManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5444, 6179, 2747, 24973, 2579, 40, 12, 6494, 324, 1248, 3759, 16, 1250, 324, 1248, 3024, 13, 288, 3639, 509, 277, 30573, 273, 5795, 5047, 18, 588, 9485, 12, 6517, 8107, 1876, 9485, 18, 7570, 16, 4766, 6647, 324, 1248, 3759, 1769, 3639, 277, 30573, 1011, 5795, 5047, 18, 588, 8107, 2384, 12, 8107, 1876, 9485, 18, 7570, 16, 4766, 5411, 324, 1248, 3759, 1769, 3639, 277, 30573, 1011, 5795, 5047, 18, 588, 9485, 12, 8107, 1876, 9485, 18, 4415, 16, 324, 1248, 3024, 1769, 3639, 277, 30573, 1011, 5795, 5047, 18, 588, 8107, 2384, 12, 8107, 1876, 9485, 18, 4415, 16, 324, 1248, 3024, 1769, 3639, 327, 394, 5444, 6179, 2747, 12, 17632, 52, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5444, 6179, 2747, 24973, 2579, 40, 12, 6494, 324, 1248, 3759, 16, 1250, 324, 1248, 3024, 13, 288, 3639, 509, 277, 30573, 273, 5795, 5047, 18, 588, 9485, 12, 6517, 8107, 1876, 9485, 18, 7570, 16, 4766, 6647, 324, 1248, 3759, 1769, 3639, 277, 30573, 1011, 5795, 5047, 18, 588, 8107, 2384, 12, 8107, 1876, 9485, 18, 7570, 16, 4766, 5411, 324, 1248, 3759, 1769, 3639, 277, 30573, 1011, 5795, 5047, 18, 588, 9485, 12, 8107, 1876, 9485, 18, 4415, 16, 324, 1248, 3024, 1769, 3639, 277, 30573, 1011, 5795, 5047, 18, 588, 8107, 2384, 12, 8107, 1876, 9485, 18, 4415, 16, 324, 1248, 3024, 1769, 3639, 327, 394, 5444, 6179, 2747, 12, 17632, 52, 1769, 565, 2 ]
out.print(in); if(StringUtils.isBlank(var)) { out.println(".each {"); } else { out.print(".each { "); out.print(var.substring(1,var.length() -1)); out.println(" ->"); }
doEachMethod(in);
public void doStartTag() { String in = (String) attributes.get(ATTRIBUTE_IN); String var = (String) attributes.get(ATTRIBUTE_VAR); if(StringUtils.isBlank(in)) throw new GrailsTagException("Tag ["+TAG_NAME+"] missing required attribute ["+ATTRIBUTE_IN+"]"); out.print(in); if(StringUtils.isBlank(var)) { out.println(".each {"); } else { out.print(".each { "); out.print(var.substring(1,var.length() -1)); out.println(" ->"); } }
28089 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28089/5d98dcb14a70c2b165105d6fe046441c2cf6fbb8/GroovyEachTag.java/buggy/src/web/org/codehaus/groovy/grails/web/taglib/GroovyEachTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 30512, 1435, 288, 3639, 514, 316, 273, 261, 780, 13, 1677, 18, 588, 12, 11616, 67, 706, 1769, 3639, 514, 569, 273, 261, 780, 13, 1677, 18, 588, 12, 11616, 67, 7716, 1769, 3639, 309, 12, 780, 1989, 18, 291, 7796, 12, 267, 3719, 5411, 604, 394, 10812, 14573, 1805, 503, 2932, 1805, 8247, 15, 7927, 67, 1985, 9078, 65, 3315, 1931, 1566, 8247, 15, 11616, 67, 706, 9078, 4279, 1769, 3639, 596, 18, 1188, 12, 267, 1769, 3639, 309, 12, 780, 1989, 18, 291, 7796, 12, 1401, 3719, 288, 5411, 596, 18, 8222, 2932, 18, 13798, 288, 8863, 3639, 289, 3639, 469, 288, 5411, 596, 18, 1188, 2932, 18, 13798, 288, 315, 1769, 5411, 596, 18, 1188, 12, 1401, 18, 28023, 12, 21, 16, 1401, 18, 2469, 1435, 300, 21, 10019, 5411, 596, 18, 8222, 2932, 317, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 30512, 1435, 288, 3639, 514, 316, 273, 261, 780, 13, 1677, 18, 588, 12, 11616, 67, 706, 1769, 3639, 514, 569, 273, 261, 780, 13, 1677, 18, 588, 12, 11616, 67, 7716, 1769, 3639, 309, 12, 780, 1989, 18, 291, 7796, 12, 267, 3719, 5411, 604, 394, 10812, 14573, 1805, 503, 2932, 1805, 8247, 15, 7927, 67, 1985, 9078, 65, 3315, 1931, 1566, 8247, 15, 11616, 67, 706, 9078, 4279, 1769, 3639, 596, 18, 1188, 12, 267, 1769, 3639, 309, 12, 780, 1989, 18, 291, 7796, 12, 1401, 3719, 288, 5411, 596, 18, 8222, 2932, 18, 13798, 288, 8863, 3639, 289, 3639, 469, 288, 5411, 596, 18, 1188, 2932, 18, 13798, 288, 315, 1769, 5411, 2 ]
int lead = (len - strLen) / 2; int pos = 0; while (pos < len) { if (pos == lead) { sbuf.append(getValue()); pos += strLen; } else { sbuf.append(' '); pos++; } }
int lead = (len - strLen) / 2; for (int i = 0; i < lead; i++) { sbuf.append(pad.charAt(i % padLen)); } sbuf.append(getValue()); int remaining = len - (lead + strLen); for (int i = 0; i < remaining; i++) { sbuf.append(pad.charAt(i % padLen)); }
public IRubyObject center(IRubyObject arg) { int len = RubyNumeric.fix2int(arg); int strLen = getValue().length(); if (len <= strLen) { return dup(); } StringBuffer sbuf = new StringBuffer(len); int lead = (len - strLen) / 2; int pos = 0; while (pos < len) { if (pos == lead) { sbuf.append(getValue()); pos += strLen; } else { sbuf.append(' '); pos++; } } return newString(sbuf.toString()); }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/buggy/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 4617, 12, 7937, 10340, 921, 1501, 13, 288, 202, 202, 474, 562, 273, 19817, 9902, 18, 904, 22, 474, 12, 3175, 1769, 202, 202, 474, 609, 2891, 273, 2366, 7675, 2469, 5621, 202, 202, 430, 261, 1897, 1648, 609, 2891, 13, 288, 1082, 202, 2463, 9417, 5621, 202, 202, 97, 202, 202, 780, 1892, 2393, 696, 273, 394, 6674, 12, 1897, 1769, 202, 202, 474, 5871, 273, 261, 1897, 300, 609, 2891, 13, 342, 576, 31, 202, 202, 474, 949, 273, 374, 31, 202, 202, 17523, 261, 917, 411, 562, 13, 288, 1082, 202, 430, 261, 917, 422, 5871, 13, 288, 9506, 202, 87, 4385, 18, 6923, 12, 24805, 10663, 9506, 202, 917, 1011, 609, 2891, 31, 1082, 202, 97, 469, 288, 9506, 202, 87, 4385, 18, 6923, 2668, 28005, 9506, 202, 917, 9904, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 394, 780, 12, 87, 4385, 18, 10492, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 4617, 12, 7937, 10340, 921, 1501, 13, 288, 202, 202, 474, 562, 273, 19817, 9902, 18, 904, 22, 474, 12, 3175, 1769, 202, 202, 474, 609, 2891, 273, 2366, 7675, 2469, 5621, 202, 202, 430, 261, 1897, 1648, 609, 2891, 13, 288, 1082, 202, 2463, 9417, 5621, 202, 202, 97, 202, 202, 780, 1892, 2393, 696, 273, 394, 6674, 12, 1897, 1769, 202, 202, 474, 5871, 273, 261, 1897, 300, 609, 2891, 13, 342, 576, 31, 202, 202, 474, 949, 273, 374, 31, 202, 202, 17523, 261, 917, 411, 562, 13, 288, 1082, 202, 430, 261, 917, 422, 5871, 13, 288, 9506, 202, 87, 4385, 18, 6923, 12, 24805, 10663, 9506, 202, 917, 2 ]
if (userHasAdminRights(imcref, metaId, user)) {
DocumentMapper documentMapper = imcref.getDocumentMapper(); DocumentDomainObject document = documentMapper.getDocument(metaId); if (user.canEdit( document )) {
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { // Lets get all parameters for this servlet Properties params = this.getParameters(req); log("tyest"); UserDomainObject user = Utility.getLoggedOnUser(req); if (isUserAuthorized(req, res, user)) { // Lets get serverinformation ImcmsServices imcref = Imcms.getServices(); // Lets get a VariableManager VariableManager vm = new VariableManager(); String file = ""; // Lets create the path to our html page if (params.getProperty("HELP_MODE").equalsIgnoreCase("USER")) { file = USER_TEMPLATE; } else if (params.getProperty("HELP_MODE").equalsIgnoreCase("ADMIN")) { //lets see if user has adminrights int metaId = getMetaId(req); if (userHasAdminRights(imcref, metaId, user)) { file = ADMIN_TEMPLATE; if (params.getProperty("HELP_AREA").equalsIgnoreCase("TEMPLATESPEC")) { file = ADMIN_TEMPLATE2; } } else { String header = "ConfHelp servlet. "; new ConfError(req, res, header, 6, user ); return; } } //if( params.getProperty("HELP_SPEC").equalsIgnoreCase("SPEC") ) file = ADMIN_TEMPLATE2 ; this.sendHtml(req, res, vm, file); return; } else { return; } } //DoPost
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/962b9fbccc20a9dc1f7559965c2b0b91e0712a46/ConfHelp.java/clean/server/src/com/imcode/imcms/servlet/conference/ConfHelp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 5411, 1216, 16517, 16, 1860, 288, 3639, 368, 511, 2413, 336, 777, 1472, 364, 333, 8100, 3639, 6183, 859, 273, 333, 18, 588, 2402, 12, 3658, 1769, 3639, 613, 2932, 4098, 395, 8863, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 3658, 1769, 3639, 309, 261, 291, 1299, 15341, 12, 3658, 16, 400, 16, 729, 3719, 288, 5411, 368, 511, 2413, 336, 1438, 13117, 5411, 2221, 6851, 5676, 709, 71, 1734, 273, 2221, 6851, 18, 588, 5676, 5621, 5411, 368, 511, 2413, 336, 279, 7110, 1318, 5411, 7110, 1318, 4268, 273, 394, 7110, 1318, 5621, 5411, 514, 585, 273, 1408, 31, 5411, 368, 511, 2413, 752, 326, 589, 358, 3134, 1729, 1363, 5411, 309, 261, 2010, 18, 588, 1396, 2932, 27396, 67, 7038, 20387, 14963, 5556, 2932, 4714, 6, 3719, 288, 7734, 585, 273, 7443, 67, 12205, 31, 5411, 289, 469, 309, 261, 2010, 18, 588, 1396, 2932, 27396, 67, 7038, 20387, 14963, 5556, 2932, 15468, 6, 3719, 288, 7734, 368, 17307, 2621, 309, 729, 711, 3981, 23700, 7734, 509, 2191, 548, 273, 11312, 548, 12, 3658, 1769, 1171, 4319, 4597, 1668, 4597, 273, 709, 71, 1734, 18, 588, 2519, 4597, 5621, 4319, 3748, 921, 1668, 273, 1668, 4597, 18, 588, 2519, 12, 3901, 548, 1769, 309, 261, 1355, 18, 4169, 4666, 12, 1668, 8623, 288, 10792, 585, 273, 25969, 67, 12205, 31, 10792, 309, 261, 2010, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 5411, 1216, 16517, 16, 1860, 288, 3639, 368, 511, 2413, 336, 777, 1472, 364, 333, 8100, 3639, 6183, 859, 273, 333, 18, 588, 2402, 12, 3658, 1769, 3639, 613, 2932, 4098, 395, 8863, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 3658, 1769, 3639, 309, 261, 291, 1299, 15341, 12, 3658, 16, 400, 16, 729, 3719, 288, 5411, 368, 511, 2413, 336, 1438, 13117, 5411, 2221, 6851, 5676, 709, 71, 1734, 273, 2221, 6851, 18, 588, 5676, 5621, 5411, 368, 511, 2413, 336, 279, 7110, 1318, 5411, 7110, 1318, 4268, 273, 394, 7110, 1318, 5621, 5411, 514, 585, 273, 1408, 31, 2 ]
job.setPriority(Job.DECORATE);
job.setPriority(Job.DECORATE-10);
private void runJob(final IMylarContextNode node, final IJavaElement javaElement, final int degreeOfSeparation, final String kind) { // get the fully qualified name and if it is null, don't search String fullyQualifiedName = getFullyQualifiedName(javaElement); if(fullyQualifiedName == null) return; // Create the search query final XMLSearchOperation query = (XMLSearchOperation)getSearchOperation(node, 0, degreeOfSeparation); if (query != null) { XMLSearchJob job = new XMLSearchJob(query.getLabel(), query); query.addListener(new IActiveSearchListener() { private boolean gathered = false; public void searchCompleted(List<?> l) { // deal with File if(l.isEmpty()) return; Map<String, String> nodes = new HashMap<String, String>(); if (l.get(0) instanceof FileSearchResult){ FileSearchResult fsr = (FileSearchResult) l.get(0); Object[] far = fsr.getElements(); for(int i = 0; i < far.length; i++){ Match[] mar = fsr.getMatches(far[i]); if(far[i] instanceof File){ File f = (File)far[i]; // change the file into a document// FileEditorInput fei = new FileEditorInput(f); for(int j = 0; j < mar.length; j++){ Match m = mar[j]; try{ IMylarStructureBridge bridge = MylarPlugin.getDefault().getStructureBridge(f.getName()); String handle = bridge.getHandleForOffsetInObject(f, m.getOffset()); String second = handle.substring(handle.indexOf(";")); XmlNodeHelper xnode = new XmlNodeHelper(f.getFullPath().toString(), second); nodeMap.put(m, xnode); Object o = bridge.getObjectForHandle(handle); String name = bridge.getName(o); if(o != null){ nodes.put(handle, name); } } catch(Exception e){ MylarPlugin.log(e, "search failed - unable to create match"); } } } } } for(String handle : nodes.keySet()) { incrementInterest(node, PdeStructureBridge.CONTENT_TYPE, handle, degreeOfSeparation); } gathered = true; XmlReferencesProvider.this.searchCompleted(node); } public boolean resultsGathered() { return gathered; } }); runningJobs.add(job); job.setPriority(Job.DECORATE); job.schedule(); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/8fce6b320b2bb9efd57721ef45d10c915cfe8e38/XmlReferencesProvider.java/buggy/org.eclipse.mylyn.resources.ui/src/org/eclipse/mylyn/xml/XmlReferencesProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1086, 2278, 12, 6385, 6246, 93, 7901, 1042, 907, 756, 16, 727, 467, 5852, 1046, 2252, 1046, 16, 727, 509, 10782, 951, 5097, 4302, 16, 727, 514, 3846, 13, 288, 7734, 368, 336, 326, 7418, 9348, 508, 471, 309, 518, 353, 446, 16, 2727, 1404, 1623, 377, 202, 780, 7418, 12345, 273, 10208, 93, 12345, 12, 6290, 1046, 1769, 7734, 309, 12, 4095, 12345, 422, 446, 13, 5411, 327, 31, 7734, 368, 1788, 326, 1623, 843, 540, 727, 3167, 2979, 2988, 843, 273, 261, 4201, 2979, 2988, 13, 588, 2979, 2988, 12, 2159, 16, 374, 16, 10782, 951, 5097, 4302, 1769, 3639, 309, 261, 2271, 480, 446, 13, 288, 5411, 3167, 2979, 2278, 1719, 273, 394, 3167, 2979, 2278, 12, 2271, 18, 588, 2224, 9334, 843, 1769, 5411, 843, 18, 1289, 2223, 12, 2704, 467, 3896, 2979, 2223, 1435, 288, 2398, 202, 2398, 202, 1152, 1250, 11090, 329, 273, 629, 31, 2398, 202, 9079, 1071, 918, 1623, 9556, 12, 682, 12880, 34, 328, 13, 288, 10402, 368, 225, 10490, 598, 1387, 10402, 309, 12, 80, 18, 291, 1921, 10756, 327, 31, 4766, 1377, 1635, 32, 780, 16, 514, 34, 2199, 273, 394, 4317, 32, 780, 16, 514, 34, 5621, 4766, 1377, 309, 261, 80, 18, 588, 12, 20, 13, 1276, 1387, 24916, 15329, 15604, 1387, 24916, 2662, 86, 273, 261, 812, 24916, 13, 328, 18, 588, 12, 20, 1769, 21821, 1033, 8526, 10247, 273, 2662, 86, 18, 588, 3471, 5621, 15604, 364, 12, 474, 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, 1086, 2278, 12, 6385, 6246, 93, 7901, 1042, 907, 756, 16, 727, 467, 5852, 1046, 2252, 1046, 16, 727, 509, 10782, 951, 5097, 4302, 16, 727, 514, 3846, 13, 288, 7734, 368, 336, 326, 7418, 9348, 508, 471, 309, 518, 353, 446, 16, 2727, 1404, 1623, 377, 202, 780, 7418, 12345, 273, 10208, 93, 12345, 12, 6290, 1046, 1769, 7734, 309, 12, 4095, 12345, 422, 446, 13, 5411, 327, 31, 7734, 368, 1788, 326, 1623, 843, 540, 727, 3167, 2979, 2988, 843, 273, 261, 4201, 2979, 2988, 13, 588, 2979, 2988, 12, 2159, 16, 374, 16, 10782, 951, 5097, 4302, 1769, 3639, 309, 261, 2271, 480, 446, 13, 288, 5411, 3167, 2979, 2278, 1719, 273, 394, 2 ]
file.generateDelta(editor); editor.closeFile(null);
file.generateDelta(root.getPath(), editor); editor.closeFile(root.getPath(), null);
private void doCommit(ISVNEntry root, ISVNEditor editor) throws SVNException { if (!isModified(root)) { return; } long revision = -1; String revStr = root.getPropertyValue("svn:entry:committed-rev"); // previous revision! if (revStr != null) { revision = Long.parseLong(revStr); } root.setPropertyValue("svn:entry:committed-rev", null); if (root.isScheduledForDeletion()) { editor.deleteEntry(root.getPath(), revision); } else if (root.isDirectory()) { if (root.isScheduledForAddition()) { editor.addDir(root.getPath(), null, -1); } else { if ("".equals(root.getPath())) { editor.openRoot(revision); } else { editor.openDir(root.getPath(), revision); } } // update modified props. // recurse // drop "schedule" property from entry List toDelete = new LinkedList(); ISVNDirectoryEntry dir = (ISVNDirectoryEntry) root; for(Iterator children = dir.childEntries(); children.hasNext();) { ISVNEntry child = (ISVNEntry) children.next(); doCommit(child, editor); // if was scheduled for deletion => simply delete if (child.isScheduledForDeletion()) { toDelete.add(child.getName()); } else { // remove schedule=add dir.unschedule(child.getName()); } } for(Iterator deleted = toDelete.iterator(); deleted.hasNext();) { dir.deleteChild((String) deleted.next(), false); } editor.closeDir(); if ("".equals(root.getPath())) { SVNCommitInfo info = editor.closeEdit(); updateWorkingCopy(root, info, root.getPropertyValue("svn:entry:uuid")); root.dispose(); } } else { if (root.isScheduledForAddition()) { editor.addFile(root.getPath(), null, -1); } else { editor.openFile(root.getPath(), revision); } // update modified props. // drop "commited-rev" -> will be reset. ISVNFileEntry file = (ISVNFileEntry) root; file.generateDelta(editor); editor.closeFile(null); } }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/6c2a9b21ad94c8ea1ae6d43c84b3c1225fe4e460/TestSVNFSEntries.java/clean/javasvn-test/src/org/tmatesoft/svn/core/test/TestSVNFSEntries.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 5580, 12, 5127, 58, 50, 1622, 1365, 16, 4437, 58, 50, 6946, 4858, 13, 1216, 29537, 50, 503, 288, 3639, 309, 16051, 291, 4575, 12, 3085, 3719, 288, 5411, 327, 31, 3639, 289, 3639, 1525, 6350, 273, 300, 21, 31, 3639, 514, 5588, 1585, 273, 1365, 18, 588, 16107, 2932, 31505, 30, 4099, 30, 7371, 2344, 17, 9083, 8863, 3639, 368, 2416, 6350, 5, 3639, 309, 261, 9083, 1585, 480, 446, 13, 288, 5411, 6350, 273, 3407, 18, 2670, 3708, 12, 9083, 1585, 1769, 3639, 289, 3639, 1365, 18, 542, 16107, 2932, 31505, 30, 4099, 30, 7371, 2344, 17, 9083, 3113, 446, 1769, 3639, 309, 261, 3085, 18, 291, 25311, 10756, 288, 5411, 4858, 18, 3733, 1622, 12, 3085, 18, 588, 743, 9334, 6350, 1769, 3639, 289, 469, 309, 261, 3085, 18, 291, 2853, 10756, 288, 5411, 309, 261, 3085, 18, 291, 10660, 1290, 30296, 10756, 288, 7734, 4858, 18, 1289, 1621, 12, 3085, 18, 588, 743, 9334, 446, 16, 300, 21, 1769, 5411, 289, 469, 288, 7734, 309, 261, 3660, 18, 14963, 12, 3085, 18, 588, 743, 1435, 3719, 288, 10792, 4858, 18, 3190, 2375, 12, 13057, 1769, 7734, 289, 469, 288, 10792, 4858, 18, 3190, 1621, 12, 3085, 18, 588, 743, 9334, 6350, 1769, 7734, 289, 5411, 289, 5411, 368, 1089, 4358, 3458, 18, 5411, 368, 11502, 5411, 368, 3640, 315, 10676, 6, 1272, 628, 1241, 5411, 987, 358, 2613, 273, 394, 10688, 5621, 5411, 4437, 58, 50, 2853, 1622, 1577, 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, 5580, 12, 5127, 58, 50, 1622, 1365, 16, 4437, 58, 50, 6946, 4858, 13, 1216, 29537, 50, 503, 288, 3639, 309, 16051, 291, 4575, 12, 3085, 3719, 288, 5411, 327, 31, 3639, 289, 3639, 1525, 6350, 273, 300, 21, 31, 3639, 514, 5588, 1585, 273, 1365, 18, 588, 16107, 2932, 31505, 30, 4099, 30, 7371, 2344, 17, 9083, 8863, 3639, 368, 2416, 6350, 5, 3639, 309, 261, 9083, 1585, 480, 446, 13, 288, 5411, 6350, 273, 3407, 18, 2670, 3708, 12, 9083, 1585, 1769, 3639, 289, 3639, 1365, 18, 542, 16107, 2932, 31505, 30, 4099, 30, 7371, 2344, 17, 9083, 3113, 446, 1769, 3639, 309, 261, 3085, 18, 291, 25311, 10756, 288, 5411, 4858, 18, 2 ]
return "Node To Node Text Message "+fileNumber+" from "+sourcePeerNode.getName()+" ("+sourcePeerNode.getPeer()+")";
return "Node To Node Text Message "+fileNumber+" from "+sourcePeerNode.getName()+" ("+sourcePeerNode.getPeer()+ ')';
public String getTitle() { return "Node To Node Text Message "+fileNumber+" from "+sourcePeerNode.getName()+" ("+sourcePeerNode.getPeer()+")"; }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/62fd59041864b4ed1f43adc676de6bfb5ea977f3/N2NTMUserAlert.java/clean/src/freenet/node/useralerts/N2NTMUserAlert.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 10786, 1435, 288, 202, 202, 2463, 315, 907, 2974, 2029, 3867, 2350, 13773, 768, 1854, 9078, 628, 13773, 3168, 6813, 907, 18, 17994, 1435, 9078, 7566, 15, 3168, 6813, 907, 18, 588, 6813, 1435, 9078, 2225, 31, 202, 97, 2, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 10786, 1435, 288, 202, 202, 2463, 315, 907, 2974, 2029, 3867, 2350, 13773, 768, 1854, 9078, 628, 13773, 3168, 6813, 907, 18, 17994, 1435, 9078, 7566, 15, 3168, 6813, 907, 18, 588, 6813, 1435, 9078, 2225, 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 ]
if(sorter == null){
if(comparator == null){
private void createAddedElements(Widget widget, Object[] elements) { if(elements.length == 1){ if (equals(elements[0], widget.getData())) { return; } } ViewerSorter sorter = getSorter (); TreePath parentPath = internalGetSorterParentPath(widget, sorter); Item[] items = getChildren(widget); //As the items are sorted already we optimize for a //start position int lastInsertion = 0; //Optimize for the empty case if(items.length == 0){ for (int i = 0; i < elements.length; i++) { createTreeItem(widget, elements[i], -1); } return; } for (int i = 0; i < elements.length; i++) { boolean newItem = true; Object element = elements[i]; int index; if(sorter == null){ if(itemExists(items,element)){ refresh(element); newItem = false; } index = -1; } else{ lastInsertion = insertionPosition(items,sorter,lastInsertion, element, parentPath); //As we are only searching the original array we keep track of those positions only if(lastInsertion == items.length) { index = -1; } else{//See if we should just refresh while(lastInsertion < items.length && internalCompare(sorter,parentPath,element,items[lastInsertion].getData()) == 0){ //As we cannot assume the sorter is consistent with equals() - therefore we can // just check against the item prior to this index (if any) if (items[lastInsertion].getData().equals(element)) { //refresh the element in case it has new children refresh(element); newItem = false; } lastInsertion ++;//We had an insertion so increment } //Did we get to the end? if(lastInsertion == items.length) { index = -1; } else { index = lastInsertion + i; //Add the index as the array is growing } } } if(newItem) { createTreeItem(widget, element, index); } } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/d65c8bc5c0d3aafead5b1e576e57c11cb279f2ca/AbstractTreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 8602, 3471, 12, 4609, 3604, 16, 1033, 8526, 2186, 13, 288, 202, 202, 430, 12, 6274, 18, 2469, 422, 404, 15329, 1082, 202, 430, 261, 14963, 12, 6274, 63, 20, 6487, 3604, 18, 588, 751, 1435, 3719, 288, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 9506, 202, 18415, 24952, 19867, 273, 1322, 4975, 261, 1769, 202, 202, 2471, 743, 17743, 273, 2713, 967, 24952, 3054, 743, 12, 6587, 16, 19867, 1769, 202, 202, 1180, 8526, 1516, 273, 10268, 12, 6587, 1769, 9506, 202, 759, 1463, 326, 1516, 854, 3115, 1818, 732, 10979, 364, 279, 3196, 202, 759, 1937, 1754, 202, 202, 474, 1142, 29739, 273, 374, 31, 25083, 202, 759, 6179, 10153, 364, 326, 1008, 648, 202, 202, 430, 12, 3319, 18, 2469, 422, 374, 15329, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 9506, 202, 2640, 2471, 1180, 12, 6587, 16, 2186, 63, 77, 6487, 300, 21, 1769, 6862, 202, 97, 1082, 202, 2463, 31, 202, 202, 97, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6494, 26536, 273, 638, 31, 1082, 202, 921, 930, 273, 2186, 63, 77, 15533, 1082, 202, 474, 770, 31, 1082, 202, 430, 12, 2467, 387, 422, 446, 15329, 9506, 202, 430, 12, 1726, 4002, 12, 3319, 16, 2956, 3719, 95, 6862, 202, 9144, 12, 2956, 1769, 6862, 202, 2704, 1180, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 8602, 3471, 12, 4609, 3604, 16, 1033, 8526, 2186, 13, 288, 202, 202, 430, 12, 6274, 18, 2469, 422, 404, 15329, 1082, 202, 430, 261, 14963, 12, 6274, 63, 20, 6487, 3604, 18, 588, 751, 1435, 3719, 288, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 9506, 202, 18415, 24952, 19867, 273, 1322, 4975, 261, 1769, 202, 202, 2471, 743, 17743, 273, 2713, 967, 24952, 3054, 743, 12, 6587, 16, 19867, 1769, 202, 202, 1180, 8526, 1516, 273, 10268, 12, 6587, 1769, 9506, 202, 759, 1463, 326, 1516, 854, 3115, 1818, 732, 10979, 364, 279, 3196, 202, 759, 1937, 1754, 202, 202, 474, 1142, 29739, 273, 374, 31, 25083, 202, 759, 6179, 10153, 2 ]
public boolean isSet(org.quickfix.field.SecurityAltID field)
public boolean isSet(quickfix.field.SecurityAltID field)
public boolean isSet(org.quickfix.field.SecurityAltID field) { return isSetField(field); }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralAssignment.java/buggy/src/java/src/quickfix/fix44/CollateralAssignment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 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 ]
System.out.println("queryString => " + request.getQueryString());
public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException { this.request=request; this.response=response; String servletPath=request.getServletPath(); String contextPath=getServletContext().getRealPath(servletPath);System.out.println("queryString => " + request.getQueryString()); send(request.getMethod(), request.getQueryString(), request.getPathInfo(), contextPath, request.getContentType(), request.getContentLength(), request.getRemoteUser(), display_source_mode); try { if (stream != null) stream.close(); } catch (IOException e) { throw new ServletException(e.toString()); } }
5148 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5148/a4016620bfeb8ffccb8f66c90c555dc4a8c4b601/servlet.java/clean/sapi/servlet/servlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1156, 12, 2940, 18572, 590, 16, 13491, 12446, 766, 13, 3639, 1216, 16517, 565, 288, 4202, 333, 18, 2293, 33, 2293, 31, 4202, 333, 18, 2740, 33, 2740, 31, 4202, 514, 8100, 743, 33, 2293, 18, 588, 4745, 743, 5621, 4202, 514, 23154, 33, 588, 4745, 1042, 7675, 588, 6955, 743, 12, 23231, 743, 1769, 3163, 18, 659, 18, 8222, 2932, 2271, 780, 516, 315, 397, 590, 18, 588, 15276, 10663, 4202, 1366, 12, 2293, 18, 588, 1305, 9334, 590, 18, 588, 15276, 9334, 5411, 590, 18, 588, 743, 966, 9334, 23154, 16, 5411, 590, 18, 588, 8046, 9334, 590, 18, 588, 1350, 1782, 9334, 202, 565, 590, 18, 588, 5169, 1299, 9334, 2562, 67, 3168, 67, 3188, 1769, 4202, 775, 288, 540, 309, 261, 3256, 480, 446, 13, 1407, 18, 4412, 5621, 4202, 289, 1044, 261, 14106, 425, 13, 288, 540, 604, 394, 16517, 12, 73, 18, 10492, 10663, 4202, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1156, 12, 2940, 18572, 590, 16, 13491, 12446, 766, 13, 3639, 1216, 16517, 565, 288, 4202, 333, 18, 2293, 33, 2293, 31, 4202, 333, 18, 2740, 33, 2740, 31, 4202, 514, 8100, 743, 33, 2293, 18, 588, 4745, 743, 5621, 4202, 514, 23154, 33, 588, 4745, 1042, 7675, 588, 6955, 743, 12, 23231, 743, 1769, 3163, 18, 659, 18, 8222, 2932, 2271, 780, 516, 315, 397, 590, 18, 588, 15276, 10663, 4202, 1366, 12, 2293, 18, 588, 1305, 9334, 590, 18, 588, 15276, 9334, 5411, 590, 18, 588, 743, 966, 9334, 23154, 16, 5411, 590, 18, 588, 8046, 9334, 590, 18, 588, 1350, 1782, 9334, 202, 565, 590, 18, 588, 5169, 1299, 9334, 2562, 67, 3168, 2 ]
repository.setProperty(TaskRepository.AUTH_HTTP_USERNAME, getHttpAuthUserId()); repository.setProperty(TaskRepository.AUTH_HTTP_PASSWORD, getHttpAuthPassword());
if(getHttpAuthUserId().length()>0 && getHttpAuthPassword().length()>0) { repository.setHttpAuthenticationCredentials(getHttpAuthUserId(), getHttpAuthPassword()); }
public TaskRepository createTaskRepository() { // TaskRepository repository = new // TaskRepository(connector.getRepositoryType(), getServerUrl(), // getVersion(), // getCharacterEncoding(), getTimeZoneId()); TaskRepository repository = new TaskRepository(connector.getRepositoryType(), getServerUrl(), getVersion(), getCharacterEncoding(), ""); repository.setRepositoryLabel(getRepositoryLabel()); repository.setAuthenticationCredentials(getUserName(), getPassword()); repository.setProperty(TaskRepository.AUTH_HTTP_USERNAME, getHttpAuthUserId()); repository.setProperty(TaskRepository.AUTH_HTTP_PASSWORD, getHttpAuthPassword()); repository.setProperty(TaskRepository.PROXY_USEDEFAULT, String.valueOf(getUseDefaultProxy())); repository.setProperty(TaskRepository.PROXY_HOSTNAME, getProxyHostname()); repository.setProperty(TaskRepository.PROXY_PORT, getProxyPort()); if (getProxyUsername() != null && getProxyPassword() != null && getProxyUsername().length() > 0 && getProxyPassword().length() > 0) { repository.setProxyAuthenticationCredentials(getProxyUsername(), getProxyPassword()); } // repository.setProperty(TaskRepository.PROXY_USERNAME, // getProxyUsername()); // repository.setProperty(TaskRepository.PROXY_PASSWORD, // getProxyPassword()); // repository.setProperty(TaskRepository.PROXY_USERNAME, // getHttpAuthUserId()); // repository.setProperty(TaskRepository.PROXY_PASSWORD, // getHttpAuthPassword()); return repository; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/2c2d8f403c6bb88a99265ea4ef11c8cc41ac0c00/AbstractRepositorySettingsPage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3837, 3305, 752, 2174, 3305, 1435, 288, 202, 202, 759, 3837, 3305, 3352, 273, 394, 202, 202, 759, 3837, 3305, 12, 23159, 18, 588, 3305, 559, 9334, 11543, 1489, 9334, 202, 202, 759, 8343, 9334, 202, 202, 759, 31306, 4705, 9334, 28556, 548, 10663, 202, 202, 2174, 3305, 3352, 273, 394, 3837, 3305, 12, 23159, 18, 588, 3305, 559, 9334, 11543, 1489, 9334, 8343, 9334, 9506, 202, 588, 7069, 4705, 9334, 1408, 1769, 202, 202, 9071, 18, 542, 3305, 2224, 12, 588, 3305, 2224, 10663, 202, 202, 9071, 18, 542, 6492, 6163, 12, 588, 15296, 9334, 17397, 10663, 202, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 18, 7131, 67, 3693, 67, 21292, 16, 15012, 1730, 10502, 10663, 202, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 18, 7131, 67, 3693, 67, 13784, 16, 15012, 1730, 3913, 10663, 202, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 18, 16085, 67, 8001, 5280, 16, 514, 18, 1132, 951, 12, 588, 3727, 1868, 3886, 1435, 10019, 202, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 18, 16085, 67, 8908, 1985, 16, 18992, 13769, 10663, 202, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 18, 16085, 67, 6354, 16, 18992, 2617, 10663, 202, 202, 430, 261, 588, 3886, 8575, 1435, 480, 446, 597, 18992, 3913, 1435, 480, 446, 597, 18992, 8575, 7675, 2469, 1435, 405, 374, 9506, 202, 10, 10, 18992, 3913, 7675, 2469, 1435, 405, 374, 13, 288, 1082, 202, 9071, 18, 542, 3886, 6492, 6163, 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, 3837, 3305, 752, 2174, 3305, 1435, 288, 202, 202, 759, 3837, 3305, 3352, 273, 394, 202, 202, 759, 3837, 3305, 12, 23159, 18, 588, 3305, 559, 9334, 11543, 1489, 9334, 202, 202, 759, 8343, 9334, 202, 202, 759, 31306, 4705, 9334, 28556, 548, 10663, 202, 202, 2174, 3305, 3352, 273, 394, 3837, 3305, 12, 23159, 18, 588, 3305, 559, 9334, 11543, 1489, 9334, 8343, 9334, 9506, 202, 588, 7069, 4705, 9334, 1408, 1769, 202, 202, 9071, 18, 542, 3305, 2224, 12, 588, 3305, 2224, 10663, 202, 202, 9071, 18, 542, 6492, 6163, 12, 588, 15296, 9334, 17397, 10663, 202, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 18, 7131, 67, 3693, 67, 21292, 16, 15012, 1730, 2 ]
props.put(Context.OBJECT_FACTORIES, DriverConnectionPoolDataSource.class.getName());
props.put(Context.OBJECT_FACTORIES, ClassFactory.get(ClassFactory.DriverConnectionPoolDataSource).getName());
public void testJNDI() throws Exception { String JNDI_FACTORY = "com.sun.jndi.fscontext.RefFSContextFactory"; Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY); props.put(Context.OBJECT_FACTORIES, DriverConnectionPoolDataSource.class.getName()); checkJNDI(props); }
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/400d6261413dfc9cd6c3c5e0013eac1d364a3c5d/TestDriverConnectionPoolDataSource.java/clean/src/test/org/firebirdsql/pool/TestDriverConnectionPoolDataSource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 46, 24513, 1435, 1216, 1185, 288, 3639, 514, 804, 24513, 67, 16193, 273, 315, 832, 18, 16924, 18, 78, 16564, 18, 2556, 2472, 18, 1957, 4931, 29871, 14432, 3639, 6183, 3458, 273, 394, 6183, 5621, 3639, 3458, 18, 458, 12, 1042, 18, 28497, 67, 13181, 67, 16193, 16, 804, 24513, 67, 16193, 1769, 3639, 3458, 18, 458, 12, 1042, 18, 9422, 67, 26835, 8805, 16, 1659, 1733, 18, 588, 12, 797, 1733, 18, 4668, 1952, 2864, 8597, 2934, 17994, 10663, 7734, 866, 46, 24513, 12, 9693, 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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 3639, 514, 804, 24513, 67, 16193, 273, 315, 832, 18, 16924, 18, 78, 16564, 18, 2556, 2472, 18, 1957, 4931, 29871, 14432, 3639, 6183, 3458, 273, 394, 6183, 5621, 3639, 3458, 18, 458, 12, 1042, 18, 28497, 67, 13181, 67, 16193, 16, 804, 24513, 67, 16193, 1769, 3639, 3458, 18, 458, 12, 1042, 18, 9422, 67, 26835, 8805, 16, 1659, 1733, 18, 588, 12, 797, 1733, 18, 4668, 1952, 2864, 8597, 2934, 17994, 10663, 7734, 866, 46, 24513, 12, 9693, 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 ]
throw new NotYetImplementedException();
if(null == buf){ throw new NullPointerException(); } if(offset < 0 || offset + SHORT_LENGTH > buf.length){ throw new ArrayIndexOutOfBoundsException(); } short result = 0; for (int i = offset; i < offset + SHORT_LENGTH; i++) { result = (short)((result << 8) | (buf[i] & 0xff)); } return result;
protected static short getShort(byte[] buf, int offset) { throw new NotYetImplementedException(); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/24b5bbbe874aa07b9a181edaa7c7b4cc712726b7/BreakIterator.java/clean/modules/text/src/main/java/java/text/BreakIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 760, 3025, 13157, 12, 7229, 8526, 1681, 16, 509, 1384, 13, 288, 202, 202, 12849, 394, 2288, 61, 278, 8644, 503, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 760, 3025, 13157, 12, 7229, 8526, 1681, 16, 509, 1384, 13, 288, 202, 202, 12849, 394, 2288, 61, 278, 8644, 503, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
writeWarning(getClass()+": fillAndDraw(Shape, Color) not implemented.");
writeWarning(getClass() + ": fillAndDraw(Shape, Color) not implemented.");
public void fillAndDraw(Shape shape, Color fillColor) { writeWarning(getClass()+": fillAndDraw(Shape, Color) not implemented."); // Write out the fill with fillColor and stroke of the shape in getColor(). }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/f1a2e8bd347e294e5391728379b76d4500a7093d/DummyGraphics2D.java/clean/freehep-graphicsio/src/main/java/org/freehep/graphicsio/DummyGraphics2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3636, 1876, 6493, 12, 8500, 2179, 16, 5563, 3636, 2957, 13, 288, 3639, 1045, 6210, 12, 588, 797, 1435, 397, 6398, 3636, 1876, 6493, 12, 8500, 16, 5563, 13, 486, 8249, 1199, 1769, 540, 368, 2598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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3636, 1876, 6493, 12, 8500, 2179, 16, 5563, 3636, 2957, 13, 288, 3639, 1045, 6210, 12, 588, 797, 1435, 397, 6398, 3636, 1876, 6493, 12, 8500, 16, 5563, 13, 486, 8249, 1199, 1769, 540, 368, 2598, 596, 326, 3636, 598, 3636, 2957, 471, 11040, 434, 326, 2179, 316, 15672, 7675, 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 ]
ModelAndView mv = helper.handleURI(uri,request,response);
ModelAndView mv = helper.handleURI(uri,request,new GrailsHttpServletResponse(response));
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { // Step 1: determine the correct URI of the request. String uri = this.urlPathHelper.getPathWithinApplication(request); if(LOG.isDebugEnabled()) { LOG.debug("[SimpleGrailsController] Processing request for uri ["+uri+"]"); } ApplicationContext context = (ApplicationContext)this.servletContext.getAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT); this.helper = new SimpleGrailsControllerHelper(this.application,context,this.servletContext); ModelAndView mv = helper.handleURI(uri,request,response); if(LOG.isDebugEnabled()) { if(mv != null) { LOG.debug("[SimpleGrailsController] Forwarding to view ["+mv.getViewName()+"] with model ["+mv.getModel()+"]"); } } return mv; }
52280 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52280/3afaa6d2bd300ddf0fa9f8f8cbff50e1f3676464/SimpleGrailsController.java/buggy/src/web/org/codehaus/groovy/grails/web/servlet/mvc/SimpleGrailsController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3164, 1876, 1767, 15713, 12, 2940, 18572, 590, 16, 4766, 1377, 12446, 766, 13, 1216, 1185, 288, 3639, 368, 8693, 404, 30, 4199, 326, 3434, 3699, 434, 326, 590, 18, 3639, 514, 2003, 273, 333, 18, 718, 743, 2276, 18, 588, 743, 18949, 3208, 12, 2293, 1769, 3639, 309, 12, 4842, 18, 291, 2829, 1526, 10756, 288, 5411, 2018, 18, 4148, 2932, 63, 5784, 14571, 14573, 2933, 65, 19652, 590, 364, 2003, 8247, 15, 1650, 9078, 4279, 1769, 3639, 289, 3639, 4257, 1042, 819, 273, 261, 28278, 13, 2211, 18, 23231, 1042, 18, 588, 1499, 12, 14571, 14573, 3208, 2498, 18, 25039, 67, 13181, 1769, 3639, 333, 18, 4759, 273, 394, 4477, 14571, 14573, 2933, 2276, 12, 2211, 18, 3685, 16, 2472, 16, 2211, 18, 23231, 1042, 1769, 3639, 3164, 1876, 1767, 7701, 273, 4222, 18, 4110, 3098, 12, 1650, 16, 2293, 16, 2704, 10812, 14573, 2940, 29910, 12, 2740, 10019, 3639, 309, 12, 4842, 18, 291, 2829, 1526, 10756, 288, 5411, 309, 12, 17509, 480, 446, 13, 288, 7734, 2018, 18, 4148, 2932, 63, 5784, 14571, 14573, 2933, 65, 17206, 310, 358, 1476, 8247, 15, 17509, 18,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572, 590, 16, 4766, 1377, 12446, 766, 13, 1216, 1185, 288, 3639, 368, 8693, 404, 30, 4199, 326, 3434, 3699, 434, 326, 590, 18, 3639, 514, 2003, 273, 333, 18, 718, 743, 2276, 18, 588, 743, 18949, 3208, 12, 2293, 1769, 3639, 309, 12, 4842, 18, 291, 2829, 1526, 10756, 288, 5411, 2018, 18, 4148, 2932, 63, 5784, 14571, 14573, 2933, 65, 19652, 590, 364, 2003, 8247, 15, 1650, 9078, 4279, 1769, 3639, 289, 3639, 4257, 1042, 819, 273, 261, 28278, 13, 2211, 18, 23231, 1042, 18, 588, 1499, 12, 14571, 14573, 3208, 2498, 18, 25039, 67, 13181, 1769, 3639, 333, 18, 4759, 273, 394, 4477, 14571, 14573, 2933, 2276, 12, 2 ]
return jjMoveStringLiteralDfa1_2(0x4000000L);
return jjMoveStringLiteralDfa1_2(0x20000000L);
private final int jjMoveStringLiteralDfa0_2(){ switch(curChar) { case 35: jjmatchedKind = 15; return jjMoveStringLiteralDfa1_2(0x5000L); case 40: return jjStopAtPos(0, 5); case 102: return jjMoveStringLiteralDfa1_2(0x4000000L); case 116: return jjMoveStringLiteralDfa1_2(0x2000000L); case 123: return jjStopAtPos(0, 58); case 125: return jjStopAtPos(0, 59); default : return jjMoveNfa_2(3, 0); }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/e128e4125429834f73621c8aa67036ca877e731e/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 20, 67, 22, 1435, 95, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13191, 30, 540, 10684, 11073, 5677, 273, 4711, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 22, 12, 20, 92, 25, 3784, 48, 1769, 1377, 648, 8063, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 1381, 1769, 1377, 648, 21822, 30, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 22, 12, 20, 92, 22, 17877, 48, 1769, 1377, 648, 18973, 30, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 22, 12, 20, 92, 22, 9449, 48, 1769, 1377, 648, 17335, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 17066, 1769, 1377, 648, 30616, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 14995, 1769, 1377, 805, 294, 540, 327, 10684, 7607, 50, 507, 67, 22, 12, 23, 16, 374, 1769, 282, 10523, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 20, 67, 22, 1435, 95, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13191, 30, 540, 10684, 11073, 5677, 273, 4711, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 22, 12, 20, 92, 25, 3784, 48, 1769, 1377, 648, 8063, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 1381, 1769, 1377, 648, 21822, 30, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 22, 12, 20, 92, 22, 17877, 48, 1769, 1377, 648, 18973, 30, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 22, 12, 20, 92, 22, 9449, 48, 1769, 1377, 648, 17335, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 2 ]
e.printStackTrace();
throw new RuntimeException("Interrupted while trying to add connection to pool");
public void put(ManagerConnection connection) { try { connections.put(connection); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } }
25582 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25582/bc775586138e4f88e52b7ab5068feb494e4f5644/ManagerConnectionPool.java/buggy/src/main/java/org/asteriskjava/live/internal/ManagerConnectionPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 12, 1318, 1952, 1459, 13, 565, 288, 3639, 775, 3639, 288, 5411, 5921, 18, 458, 12, 4071, 1769, 3639, 289, 3639, 1044, 261, 24485, 503, 425, 13, 3639, 288, 5411, 368, 2660, 8064, 17, 11168, 1044, 1203, 6647, 604, 394, 3235, 2932, 24485, 1323, 8374, 358, 527, 1459, 358, 2845, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 12, 1318, 1952, 1459, 13, 565, 288, 3639, 775, 3639, 288, 5411, 5921, 18, 458, 12, 4071, 1769, 3639, 289, 3639, 1044, 261, 24485, 503, 425, 13, 3639, 288, 5411, 368, 2660, 8064, 17, 11168, 1044, 1203, 6647, 604, 394, 3235, 2932, 24485, 1323, 8374, 358, 527, 1459, 358, 2845, 8863, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(props.size() > 0) { System.err.println("NAKACK.setProperties(): these properties are not recognized:"); props.list(System.out); return false; } return true;
if(props.size() > 0) { System.err.println("NAKACK.setProperties(): these properties are not recognized:"); props.list(System.out); return false; } return true;
public boolean setProperties(Properties props) { String str; long[] tmp; str=props.getProperty("retransmit_timeout"); if(str != null) { tmp=Util.parseCommaDelimitedLongs(str); props.remove("retransmit_timeout"); if(tmp != null && tmp.length > 0) retransmit_timeout=tmp; } str=props.getProperty("rebroadcast_timeout"); if(str != null) { rebroadcast_timeout=Long.parseLong(str); props.remove("rebroadcast_timeout"); } if(props.size() > 0) { System.err.println("NAKACK.setProperties(): these properties are not recognized:"); props.list(System.out); return false; } return true; }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/3a7a5d6ef9a8f574da3e45b696950d0b4bb12acc/NAKACK.java/clean/src/org/jgroups/protocols/NAKACK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 23126, 12, 2297, 3458, 13, 288, 202, 780, 377, 609, 31, 202, 5748, 8526, 377, 1853, 31, 202, 701, 33, 9693, 18, 588, 1396, 2932, 266, 2338, 1938, 67, 4538, 8863, 202, 430, 12, 701, 480, 446, 13, 288, 202, 565, 1853, 33, 1304, 18, 2670, 15594, 23531, 329, 21762, 12, 701, 1769, 202, 565, 3458, 18, 4479, 2932, 266, 2338, 1938, 67, 4538, 8863, 202, 565, 309, 12, 5645, 480, 446, 597, 1853, 18, 2469, 405, 374, 13, 202, 202, 266, 2338, 1938, 67, 4538, 33, 5645, 31, 202, 97, 202, 701, 33, 9693, 18, 588, 1396, 2932, 266, 19805, 67, 4538, 8863, 202, 430, 12, 701, 480, 446, 13, 288, 202, 565, 283, 19805, 67, 4538, 33, 3708, 18, 2670, 3708, 12, 701, 1769, 202, 565, 3458, 18, 4479, 2932, 266, 19805, 67, 4538, 8863, 202, 97, 202, 430, 12, 9693, 18, 1467, 1435, 405, 374, 13, 288, 202, 565, 2332, 18, 370, 18, 8222, 2932, 11277, 47, 3649, 18, 542, 2297, 13332, 4259, 1790, 854, 486, 16332, 2773, 1769, 202, 565, 3458, 18, 1098, 12, 3163, 18, 659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, 13, 288, 202, 780, 377, 609, 31, 202, 5748, 8526, 377, 1853, 31, 202, 701, 33, 9693, 18, 588, 1396, 2932, 266, 2338, 1938, 67, 4538, 8863, 202, 430, 12, 701, 480, 446, 13, 288, 202, 565, 1853, 33, 1304, 18, 2670, 15594, 23531, 329, 21762, 12, 701, 1769, 202, 565, 3458, 18, 4479, 2932, 266, 2338, 1938, 67, 4538, 8863, 202, 565, 309, 12, 5645, 480, 446, 597, 1853, 18, 2469, 405, 374, 13, 202, 202, 266, 2338, 1938, 67, 4538, 33, 5645, 31, 202, 97, 202, 701, 33, 9693, 18, 588, 1396, 2932, 266, 19805, 67, 4538, 8863, 202, 430, 12, 701, 480, 446, 13, 288, 202, 565, 283, 19805, 2 ]
out.append("-");
out.append('-');
public String getPreferredFilename() { boolean logMINOR = Logger.shouldLog(Logger.MINOR, this); Logger.minor(this, "Getting preferred filename for "+this); Vector names = new Vector(); if(keyType.equals("KSK") || keyType.equals("SSK")) { if(logMINOR) Logger.minor(this, "Adding docName: "+docName); names.add(docName); } if(metaStr != null) for(int i=0;i<metaStr.length;i++) { if(logMINOR) Logger.minor(this, "Adding metaString "+i+": "+metaStr[i]); names.add(metaStr[i]); } StringBuffer out = new StringBuffer(); for(int i=0;i<names.size();i++) { String s = (String) names.get(i); if(logMINOR) Logger.minor(this, "name "+i+" = "+s); s = sanitize(s); if(logMINOR) Logger.minor(this, "Sanitized name "+i+" = "+s); if(s.length() > 0) { if(out.length() > 0) out.append("-"); out.append(s); } } if(logMINOR) Logger.minor(this, "out = "+out.toString()); if(out.length() == 0) { if(routingKey != null) { if(logMINOR) Logger.minor(this, "Returning base64 encoded routing key"); return Base64.encode(routingKey); } return "unknown"; } return out.toString(); }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/62fd59041864b4ed1f43adc676de6bfb5ea977f3/FreenetURI.java/clean/src/freenet/keys/FreenetURI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 12822, 4193, 5359, 1435, 288, 202, 202, 6494, 613, 6236, 916, 273, 4242, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 1769, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 19213, 9119, 1544, 364, 13773, 2211, 1769, 202, 202, 5018, 1257, 273, 394, 5589, 5621, 202, 202, 430, 12, 856, 559, 18, 14963, 2932, 47, 11129, 7923, 747, 14867, 18, 14963, 2932, 1260, 47, 6, 3719, 288, 1082, 202, 430, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 13962, 997, 461, 30, 13773, 2434, 461, 1769, 1082, 202, 1973, 18, 1289, 12, 2434, 461, 1769, 202, 202, 97, 202, 202, 430, 12, 3901, 1585, 480, 446, 13, 1082, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 3901, 1585, 18, 2469, 31, 77, 27245, 288, 9506, 202, 430, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 13962, 2191, 780, 13773, 77, 15, 6877, 13773, 3901, 1585, 63, 77, 19226, 9506, 202, 1973, 18, 1289, 12, 3901, 1585, 63, 77, 19226, 1082, 202, 97, 202, 202, 780, 1892, 596, 273, 394, 6674, 5621, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 1973, 18, 1467, 5621, 77, 27245, 288, 1082, 202, 780, 272, 273, 261, 780, 13, 1257, 18, 588, 12, 77, 1769, 1082, 202, 430, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 529, 13773, 77, 9078, 273, 13773, 87, 1769, 1082, 202, 87, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 12822, 4193, 5359, 1435, 288, 202, 202, 6494, 613, 6236, 916, 273, 4242, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 1769, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 19213, 9119, 1544, 364, 13773, 2211, 1769, 202, 202, 5018, 1257, 273, 394, 5589, 5621, 202, 202, 430, 12, 856, 559, 18, 14963, 2932, 47, 11129, 7923, 747, 14867, 18, 14963, 2932, 1260, 47, 6, 3719, 288, 1082, 202, 430, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 13962, 997, 461, 30, 13773, 2434, 461, 1769, 1082, 202, 1973, 18, 1289, 12, 2434, 461, 1769, 202, 202, 97, 202, 202, 430, 12, 3901, 1585, 480, 446, 13, 1082, 2 ]
DebugLog.log("validating: " + name + "=" + value);
private static String validatePropertyValue(String name, String value, boolean force) throws SVNException { DebugLog.log("validating: " + name + "=" + value); if (value == null) { return value; } if (!force && SVNProperty.EOL_STYLE.equals(name)) { value = value.trim(); } else if (!force && SVNProperty.MIME_TYPE.equals(name)) { value = value.trim(); } else if (SVNProperty.IGNORE.equals(name) || SVNProperty.EXTERNALS.equals(name)) { if (!value.endsWith("\n")) { value += "\n"; } if (SVNProperty.EXTERNALS.equals(name)) { DebugLog.log("validating externals: " + value); SVNExternalInfo[] externalInfos = SVNWCAccess.parseExternals( "", value); if (externalInfos != null) { DebugLog.log("validating externals: " + externalInfos.length); } for (int i = 0; externalInfos != null && i < externalInfos.length; i++) { String path = externalInfos[i].getPath(); DebugLog.log("checking path: " + path); if (path.indexOf(".") >= 0 || path.indexOf("..") >= 0 || path.startsWith("/")) { DebugLog.log("throwing exception"); SVNErrorManager .error("svn: Invalid external definition: " + value); } } } } else if (SVNProperty.KEYWORDS.equals(name)) { value = value.trim(); } else if (SVNProperty.EXECUTABLE.equals(name) || SVNProperty.SPECIAL.equals(name) || SVNProperty.NEEDS_LOCK.equals(name)) { value = "*"; } return value; }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/48b673a4eeae723c90a2ec8a9e48e886212b2109/SVNWCClient.java/buggy/javasvn/src/org/tmatesoft/svn/core/wc/SVNWCClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 1954, 16107, 12, 780, 508, 16, 514, 460, 16, 5411, 1250, 2944, 13, 1216, 29537, 50, 503, 288, 9079, 309, 261, 1132, 422, 446, 13, 288, 5411, 327, 460, 31, 3639, 289, 3639, 309, 16051, 5734, 597, 29537, 50, 1396, 18, 5842, 67, 15066, 18, 14963, 12, 529, 3719, 288, 5411, 460, 273, 460, 18, 5290, 5621, 3639, 289, 469, 309, 16051, 5734, 597, 29537, 50, 1396, 18, 18178, 67, 2399, 18, 14963, 12, 529, 3719, 288, 5411, 460, 273, 460, 18, 5290, 5621, 3639, 289, 469, 309, 261, 23927, 50, 1396, 18, 20118, 18, 14963, 12, 529, 13, 7734, 747, 29537, 50, 1396, 18, 2294, 11702, 55, 18, 14963, 12, 529, 3719, 288, 5411, 309, 16051, 1132, 18, 5839, 1190, 31458, 82, 6, 3719, 288, 7734, 460, 1011, 1548, 82, 14432, 5411, 289, 5411, 309, 261, 23927, 50, 1396, 18, 2294, 11702, 55, 18, 14963, 12, 529, 3719, 288, 7734, 4015, 1343, 18, 1330, 2932, 877, 1776, 18885, 1031, 30, 315, 397, 460, 1769, 7734, 29537, 50, 6841, 966, 8526, 3903, 7655, 273, 29537, 50, 59, 39, 1862, 18, 2670, 29764, 1031, 12, 13491, 23453, 460, 1769, 7734, 309, 261, 9375, 7655, 480, 446, 13, 288, 10792, 4015, 1343, 18, 1330, 2932, 877, 1776, 18885, 1031, 30, 315, 18701, 397, 3903, 7655, 18, 2469, 1769, 7734, 289, 7734, 364, 261, 474, 277, 273, 374, 31, 3903, 7655, 480, 446, 13491, 597, 277, 411, 3903, 7655, 18, 2469, 31, 277, 27245, 288, 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, 3238, 760, 514, 1954, 16107, 12, 780, 508, 16, 514, 460, 16, 5411, 1250, 2944, 13, 1216, 29537, 50, 503, 288, 9079, 309, 261, 1132, 422, 446, 13, 288, 5411, 327, 460, 31, 3639, 289, 3639, 309, 16051, 5734, 597, 29537, 50, 1396, 18, 5842, 67, 15066, 18, 14963, 12, 529, 3719, 288, 5411, 460, 273, 460, 18, 5290, 5621, 3639, 289, 469, 309, 16051, 5734, 597, 29537, 50, 1396, 18, 18178, 67, 2399, 18, 14963, 12, 529, 3719, 288, 5411, 460, 273, 460, 18, 5290, 5621, 3639, 289, 469, 309, 261, 23927, 50, 1396, 18, 20118, 18, 14963, 12, 529, 13, 7734, 747, 29537, 50, 1396, 18, 2294, 11702, 55, 18, 14963, 12, 529, 3719, 288, 5411, 2 ]
Object selectedObject = ((IStructuredSelection) TaskListView.getDefault().getViewer().getSelection()) .getFirstElement(); if (selectedObject instanceof ITask) { contentProvider.addTask((ITask) selectedObject); updateEstimatedHours(contentProvider); tableViewer.refresh(); return true; } else if (selectedObject instanceof ITaskListElement) { if (MylarTaskListPlugin.getDefault().getHandlerForElement((ITaskListElement) selectedObject) != null) { ITask task = null; if (selectedObject instanceof ITask) { task = (ITask) selectedObject; } else if (selectedObject instanceof IQueryHit) { task = ((IQueryHit)selectedObject).getOrCreateCorrespondingTask();
IStructuredSelection selection = ((IStructuredSelection) TaskListView .getDefault().getViewer().getSelection()); for (Iterator iter = selection.iterator(); iter.hasNext();) { Object selectedObject = iter.next(); if (selectedObject instanceof ITask) { contentProvider.addTask((ITask) selectedObject); updateEstimatedHours(contentProvider); continue; } else if (selectedObject instanceof ITaskListElement) { if (MylarTaskListPlugin.getDefault() .getHandlerForElement( (ITaskListElement) selectedObject) != null) { ITask task = null; if (selectedObject instanceof ITask) { task = (ITask) selectedObject; } else if (selectedObject instanceof IQueryHit) { task = ((IQueryHit) selectedObject) .getOrCreateCorrespondingTask(); } if (task != null) { contentProvider.addTask(task); updateEstimatedHours(contentProvider); continue; }
private void initDrop(final TableViewer tableViewer, final TaskPlanContentProvider contentProvider) { Transfer[] types = new Transfer[] { TextTransfer.getInstance() }; tableViewer.addDropSupport(DND.DROP_MOVE, types, new ViewerDropAdapter(tableViewer) { { setFeedbackEnabled(false); } @Override public boolean performDrop(Object data) { Object selectedObject = ((IStructuredSelection) TaskListView.getDefault().getViewer().getSelection()) .getFirstElement(); if (selectedObject instanceof ITask) { contentProvider.addTask((ITask) selectedObject); updateEstimatedHours(contentProvider); tableViewer.refresh(); return true; } else if (selectedObject instanceof ITaskListElement) { if (MylarTaskListPlugin.getDefault().getHandlerForElement((ITaskListElement) selectedObject) != null) { ITask task = null; if (selectedObject instanceof ITask) { task = (ITask) selectedObject; } else if (selectedObject instanceof IQueryHit) { task = ((IQueryHit)selectedObject).getOrCreateCorrespondingTask();// task = MylarTaskListPlugin.getDefault().getHandlerForElement(// (ITaskListElement) selectedObject).getCorrespondingTask((IQueryHit) selectedObject); } if (task != null) { contentProvider.addTask(task); updateEstimatedHours(contentProvider); tableViewer.refresh(); return true; } } return false; } return false; } @Override public boolean validateDrop(Object targetObject, int operation, TransferData transferType) { Object selectedObject = ((IStructuredSelection) TaskListView.getDefault().getViewer().getSelection()) .getFirstElement(); if (selectedObject instanceof ITaskListElement && ((ITaskListElement) selectedObject).isDragAndDropEnabled()) { return true; } return TextTransfer.getInstance().isSupportedType(transferType); } }); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/ae82c4d267b795c4d27ac0f1071aea51b6f02374/TaskPlannerEditorPart.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/planner/ui/TaskPlannerEditorPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 7544, 12, 6385, 3555, 18415, 1014, 18415, 16, 727, 3837, 5365, 1350, 2249, 913, 2249, 13, 288, 202, 202, 5912, 8526, 1953, 273, 394, 12279, 8526, 288, 3867, 5912, 18, 588, 1442, 1435, 289, 31, 202, 202, 2121, 18415, 18, 1289, 7544, 6289, 12, 40, 2908, 18, 18768, 67, 16537, 16, 1953, 16, 394, 4441, 264, 7544, 4216, 12, 2121, 18415, 13, 288, 1082, 202, 95, 9506, 202, 542, 15888, 1526, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 36, 6618, 1082, 202, 482, 1250, 3073, 7544, 12, 921, 501, 13, 288, 9506, 202, 921, 3170, 921, 273, 14015, 45, 30733, 6233, 13, 3837, 682, 1767, 18, 588, 1868, 7675, 588, 18415, 7675, 588, 6233, 10756, 25083, 202, 18, 588, 3759, 1046, 5621, 9506, 202, 430, 261, 8109, 921, 1276, 467, 2174, 13, 288, 6862, 202, 1745, 2249, 18, 1289, 2174, 12443, 1285, 835, 13, 3170, 921, 1769, 6862, 202, 2725, 9122, 17275, 14910, 12, 1745, 2249, 1769, 6862, 202, 2121, 18415, 18, 9144, 5621, 6862, 202, 2463, 638, 31, 9506, 202, 97, 469, 309, 261, 8109, 921, 1276, 467, 2174, 682, 1046, 13, 288, 6862, 202, 430, 261, 12062, 7901, 2174, 682, 3773, 18, 588, 1868, 7675, 588, 1503, 1290, 1046, 12443, 1285, 835, 682, 1046, 13, 3170, 921, 13, 480, 446, 13, 288, 25083, 202, 1285, 835, 1562, 273, 446, 31, 25083, 202, 430, 261, 8109, 921, 1276, 467, 2174, 13, 288, 6862, 1082, 202, 4146, 273, 261, 1285, 835, 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, 1208, 7544, 12, 6385, 3555, 18415, 1014, 18415, 16, 727, 3837, 5365, 1350, 2249, 913, 2249, 13, 288, 202, 202, 5912, 8526, 1953, 273, 394, 12279, 8526, 288, 3867, 5912, 18, 588, 1442, 1435, 289, 31, 202, 202, 2121, 18415, 18, 1289, 7544, 6289, 12, 40, 2908, 18, 18768, 67, 16537, 16, 1953, 16, 394, 4441, 264, 7544, 4216, 12, 2121, 18415, 13, 288, 1082, 202, 95, 9506, 202, 542, 15888, 1526, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 36, 6618, 1082, 202, 482, 1250, 3073, 7544, 12, 921, 501, 13, 288, 9506, 202, 921, 3170, 921, 273, 14015, 45, 30733, 6233, 13, 3837, 682, 1767, 18, 588, 1868, 7675, 588, 18415, 7675, 588, 2 ]
if (!viewer.getTable().isDisposed()) viewer.refresh(true); }
if (!viewer.getTable().isDisposed()) viewer.refresh(true); }
public void run() { // refresh all labels since text commands change dynamically if (!viewer.getTable().isDisposed()) viewer.refresh(true); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/50b0f4b798ee84ccffa054a9faa539415a2fbef7/UndoHistoryView.java/clean/examples/org.eclipse.ui.examples.undo/Eclipse UI Examples Undo/org/eclipse/ui/examples/undo/views/UndoHistoryView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 15106, 202, 482, 918, 1086, 1435, 288, 9506, 1171, 202, 759, 4460, 777, 3249, 3241, 977, 4364, 2549, 18373, 9506, 1171, 202, 430, 16051, 25256, 18, 588, 1388, 7675, 291, 1669, 7423, 10756, 9506, 1171, 202, 202, 25256, 18, 9144, 12, 3767, 1769, 9944, 540, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 15106, 202, 482, 918, 1086, 1435, 288, 9506, 1171, 202, 759, 4460, 777, 3249, 3241, 977, 4364, 2549, 18373, 9506, 1171, 202, 430, 16051, 25256, 18, 588, 1388, 7675, 291, 1669, 7423, 10756, 9506, 1171, 202, 202, 25256, 18, 9144, 12, 3767, 1769, 9944, 540, 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 ]
if (Util.equals(activePart, variable)) {
if (equals(activePart, variable)) {
public final EvaluationResult evaluate(final IEvaluationContext context) { final Object variable = context.getVariable(ISources.ACTIVE_PART_NAME); if (Util.equals(activePart, variable)) { return EvaluationResult.TRUE; } return EvaluationResult.FALSE; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ba8772da3d063410cc9112f7f53da28a447f2704/ActivePartExpression.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/expressions/ActivePartExpression.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 17340, 1253, 5956, 12, 6385, 467, 13468, 1042, 819, 13, 288, 202, 202, 6385, 1033, 2190, 273, 819, 18, 588, 3092, 12, 5127, 1418, 18, 13301, 67, 15055, 67, 1985, 1769, 202, 202, 430, 261, 1304, 18, 14963, 12, 3535, 1988, 16, 2190, 3719, 288, 1082, 202, 2463, 17340, 1253, 18, 18724, 31, 202, 202, 97, 202, 202, 2463, 17340, 1253, 18, 21053, 31, 202, 97, 2, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 17340, 1253, 5956, 12, 6385, 467, 13468, 1042, 819, 13, 288, 202, 202, 6385, 1033, 2190, 273, 819, 18, 588, 3092, 12, 5127, 1418, 18, 13301, 67, 15055, 67, 1985, 1769, 202, 202, 430, 261, 1304, 18, 14963, 12, 3535, 1988, 16, 2190, 3719, 288, 1082, 202, 2463, 17340, 1253, 18, 18724, 31, 202, 202, 97, 202, 202, 2463, 17340, 1253, 18, 21053, 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 ]
m_chWeightClass.addItem("Light"); m_chWeightClass.addItem("Medium"); m_chWeightClass.addItem("Heavy"); m_chWeightClass.addItem("Assault"); m_chWeightClass.addItem("All");
m_chWeightClass.addItem(Messages.getString("MechSelectorDialog.Light")); m_chWeightClass.addItem(Messages.getString("MechSelectorDialog.Medium")); m_chWeightClass.addItem(Messages.getString("MechSelectorDialog.Heavy")); m_chWeightClass.addItem(Messages.getString("MechSelectorDialog.Assault")); m_chWeightClass.addItem(Messages.getString("MechSelectorDialog.All"));
private void populateChoices() { /* If you change any of the strings below, be sure to check * the filterMechs method below as some strings may need to * be changed there as well. */ m_chWeightClass.addItem("Light"); m_chWeightClass.addItem("Medium"); m_chWeightClass.addItem("Heavy"); m_chWeightClass.addItem("Assault"); m_chWeightClass.addItem("All"); m_chWeightClass.select(0); m_chType.addItem("IS level 1"); m_chType.addItem("IS level 2"); m_chType.addItem("IS All"); m_chType.addItem("Clan level 2"); m_chType.addItem("IS and Clan"); m_chType.addItem("Mixed (IS) level 2"); m_chType.addItem("Mixed (Clan) level 2"); // More than 8 items causes the drop down to sprout a vertical // scroll bar. I guess we'll sacrifice this next one to stay // under the limit. Stupid AWT Choice class! // m_chType.addItem("Mixed All"); m_chType.addItem("All"); m_chType.select(0); m_chUnitType.addItem("Mek"); m_chUnitType.addItem("Tank"); m_chUnitType.addItem("Infantry"); m_chUnitType.addItem("ProtoMek"); m_chUnitType.addItem("All"); m_chUnitType.select(0); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/18ec0036f3c5df3d8fbef60e9dd53cc153fc889e/MechSelectorDialog.java/clean/megamek/src/megamek/client/ui/AWT/MechSelectorDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 6490, 17442, 1435, 288, 3639, 1748, 971, 1846, 2549, 1281, 434, 326, 2064, 5712, 16, 506, 3071, 358, 866, 540, 380, 326, 1034, 4667, 343, 87, 707, 5712, 487, 2690, 2064, 2026, 1608, 358, 540, 380, 506, 3550, 1915, 487, 5492, 18, 540, 1195, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 12128, 8863, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 25599, 8863, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 5256, 23935, 8863, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 2610, 3714, 8863, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 1595, 8863, 3639, 312, 67, 343, 6544, 797, 18, 4025, 12, 20, 1769, 3639, 312, 67, 343, 559, 18, 1289, 1180, 2932, 5127, 1801, 404, 8863, 3639, 312, 67, 343, 559, 18, 1289, 1180, 2932, 5127, 1801, 576, 8863, 3639, 312, 67, 343, 559, 18, 1289, 1180, 2932, 5127, 4826, 8863, 3639, 312, 67, 343, 559, 18, 1289, 1180, 2932, 2009, 304, 1801, 576, 8863, 3639, 312, 67, 343, 559, 18, 1289, 1180, 2932, 5127, 471, 3905, 304, 8863, 3639, 312, 67, 343, 559, 18, 1289, 1180, 2932, 19846, 261, 5127, 13, 1801, 576, 8863, 3639, 312, 67, 343, 559, 18, 1289, 1180, 2932, 19846, 261, 2009, 304, 13, 1801, 576, 8863, 3639, 368, 16053, 2353, 1725, 1516, 14119, 326, 3640, 2588, 358, 272, 685, 322, 279, 9768, 3639, 368, 225, 5532, 4653, 18, 225, 467, 7274, 732, 5614, 20071, 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, 6490, 17442, 1435, 288, 3639, 1748, 971, 1846, 2549, 1281, 434, 326, 2064, 5712, 16, 506, 3071, 358, 866, 540, 380, 326, 1034, 4667, 343, 87, 707, 5712, 487, 2690, 2064, 2026, 1608, 358, 540, 380, 506, 3550, 1915, 487, 5492, 18, 540, 1195, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 12128, 8863, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 25599, 8863, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 5256, 23935, 8863, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 2610, 3714, 8863, 3639, 312, 67, 343, 6544, 797, 18, 1289, 1180, 2932, 1595, 8863, 3639, 312, 67, 343, 6544, 797, 18, 4025, 12, 20, 2 ]
decrementNestingDepth(); close();
finishedRun();
protected void createButtonsForButtonBar(Composite parent) { Button runInWorkspace = createButton( parent, IDialogConstants.CLOSE_ID, ProgressMessages .getString("ProgressMonitorFocusJobDialog.RunInBackgroundButton"), //$NON-NLS-1$ true); runInWorkspace.addSelectionListener(new SelectionAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent) */ public void widgetSelected(SelectionEvent e) { Rectangle shellPosition = getShell().getBounds(); job.setProperty(IProgressConstants.PROPERTY_IN_DIALOG, Boolean.FALSE); decrementNestingDepth(); close(); ProgressManagerUtil.animateDown(shellPosition); } }); runInWorkspace.setCursor(arrowCursor); createCancelButton(parent); createDetailsButton(parent); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/b540c906180094b023a4d91f22cc579596eca773/ProgressMonitorFocusJobDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressMonitorFocusJobDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 14388, 1290, 3616, 5190, 12, 9400, 982, 13, 288, 202, 202, 3616, 1086, 382, 8241, 273, 752, 3616, 12, 9506, 202, 2938, 16, 9506, 202, 734, 3529, 2918, 18, 13384, 67, 734, 16, 9506, 202, 5491, 5058, 25083, 202, 18, 588, 780, 2932, 5491, 7187, 9233, 2278, 6353, 18, 1997, 382, 8199, 3616, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 3767, 1769, 202, 202, 2681, 382, 8241, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 5328, 88, 18, 5989, 18, 6233, 4216, 7, 6587, 7416, 12, 3341, 18, 20416, 18, 5328, 88, 18, 5989, 18, 6233, 1133, 13, 9506, 1195, 1082, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 19463, 5972, 2555, 273, 7932, 1165, 7675, 588, 5694, 5621, 9506, 202, 4688, 18, 542, 1396, 12, 45, 5491, 2918, 18, 9900, 67, 706, 67, 2565, 18683, 16, 3411, 18, 21053, 1769, 9506, 202, 323, 3702, 50, 10100, 6148, 5621, 9506, 202, 4412, 5621, 9506, 202, 5491, 1318, 1304, 18, 304, 4988, 4164, 12, 10304, 2555, 1769, 1082, 202, 97, 202, 202, 22938, 202, 202, 2681, 382, 8241, 18, 542, 6688, 12, 7815, 6688, 1769, 202, 202, 2640, 6691, 3616, 12, 2938, 1769, 202, 202, 2640, 3790, 3616, 12, 2938, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 14388, 1290, 3616, 5190, 12, 9400, 982, 13, 288, 202, 202, 3616, 1086, 382, 8241, 273, 752, 3616, 12, 9506, 202, 2938, 16, 9506, 202, 734, 3529, 2918, 18, 13384, 67, 734, 16, 9506, 202, 5491, 5058, 25083, 202, 18, 588, 780, 2932, 5491, 7187, 9233, 2278, 6353, 18, 1997, 382, 8199, 3616, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 3767, 1769, 202, 202, 2681, 382, 8241, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 5328, 88, 18, 5989, 18, 6233, 4216, 7, 6587, 7416, 12, 3341, 18, 2 ]
/* System.setOut(consoleOut); System.setErr(consoleErr); */
if (PdeBase.getBoolean("editor.console.enabled", true)) { System.setOut(consoleOut); System.setErr(consoleErr); }
public PdeEditorConsole(PdeEditor editor) { this.editor = editor; lineCount = PdeBase.getInteger("editor.console.lines", 6); maxLineCount = 1000; lines = new String[maxLineCount]; isError = new boolean[maxLineCount]; for (int i = 0; i < maxLineCount; i++) { lines[i] = ""; isError[i] = false; } firstLine = 0; if (systemOut == null) { systemOut = System.out; systemErr = System.err; // not text thing on macos boolean tod = ((PdeBase.platform != PdeBase.MACOSX) && (PdeBase.platform != PdeBase.MACOS9)); if (PdeBase.getBoolean("editor.console.out.enabled", tod)) { String outFileName = PdeBase.get("editor.console.out.file", "lib/stdout.txt"); try { stdoutFile = new FileOutputStream(outFileName); } catch (IOException e) { e.printStackTrace(); } } if (PdeBase.getBoolean("editor.console.err.enabled", tod)) { String errFileName = PdeBase.get("editor.console.err.file", "lib/stderr.txt"); try { stderrFile = new FileOutputStream(errFileName); } catch (IOException e) { e.printStackTrace(); } } consoleOut = new PrintStream(new PdeEditorConsoleStream(this, false, stdoutFile)); consoleErr = new PrintStream(new PdeEditorConsoleStream(this, true, stderrFile)); /* System.setOut(consoleOut); System.setErr(consoleErr); */ } addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); if (!((x > scrollLeft) && (x < scrollRight))) return; if ((y > scrollUpTop) && (y < scrollUpBottom)) { scrollOffset -= lineCount; update(); } else if ((y > scrollDownTop) && (y < scrollDownBottom)) { scrollOffset += lineCount; if (scrollOffset > 0) scrollOffset = 0; update(); } } }); }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/df97780d8cd68ab478975c2fd51dc1c885503e29/PdeEditorConsole.java/buggy/app/PdeEditorConsole.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 453, 323, 6946, 10215, 12, 52, 323, 6946, 4858, 13, 288, 565, 333, 18, 9177, 273, 4858, 31, 565, 980, 1380, 273, 453, 323, 2171, 18, 588, 4522, 2932, 9177, 18, 8698, 18, 3548, 3113, 1666, 1769, 565, 943, 1670, 1380, 273, 4336, 31, 565, 2362, 273, 394, 514, 63, 1896, 1670, 1380, 15533, 565, 14574, 273, 394, 1250, 63, 1896, 1670, 1380, 15533, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 943, 1670, 1380, 31, 277, 27245, 288, 1377, 2362, 63, 77, 65, 273, 1408, 31, 1377, 14574, 63, 77, 65, 273, 629, 31, 565, 289, 565, 24415, 273, 374, 31, 565, 309, 261, 4299, 1182, 422, 446, 13, 288, 1377, 2619, 1182, 273, 2332, 18, 659, 31, 1377, 2619, 2524, 273, 2332, 18, 370, 31, 1377, 368, 486, 977, 7757, 603, 5318, 538, 1377, 1250, 358, 72, 273, 14015, 52, 323, 2171, 18, 9898, 480, 453, 323, 2171, 18, 10875, 4618, 60, 13, 597, 1082, 377, 261, 52, 323, 2171, 18, 9898, 480, 453, 323, 2171, 18, 10875, 4618, 29, 10019, 1377, 309, 261, 52, 323, 2171, 18, 588, 5507, 2932, 9177, 18, 8698, 18, 659, 18, 5745, 3113, 358, 72, 3719, 288, 202, 780, 596, 4771, 273, 3196, 225, 453, 323, 2171, 18, 588, 2932, 9177, 18, 8698, 18, 659, 18, 768, 3113, 315, 2941, 19, 10283, 18, 5830, 8863, 202, 698, 288, 202, 225, 3909, 812, 273, 394, 12942, 12, 659, 4771, 1769, 202, 97, 1044, 261, 14106, 425, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 453, 323, 6946, 10215, 12, 52, 323, 6946, 4858, 13, 288, 565, 333, 18, 9177, 273, 4858, 31, 565, 980, 1380, 273, 453, 323, 2171, 18, 588, 4522, 2932, 9177, 18, 8698, 18, 3548, 3113, 1666, 1769, 565, 943, 1670, 1380, 273, 4336, 31, 565, 2362, 273, 394, 514, 63, 1896, 1670, 1380, 15533, 565, 14574, 273, 394, 1250, 63, 1896, 1670, 1380, 15533, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 943, 1670, 1380, 31, 277, 27245, 288, 1377, 2362, 63, 77, 65, 273, 1408, 31, 1377, 14574, 63, 77, 65, 273, 629, 31, 565, 289, 565, 24415, 273, 374, 31, 565, 309, 261, 4299, 1182, 422, 446, 13, 288, 1377, 2619, 1182, 273, 2 ]
public org.quickfix.field.ContAmtType get(org.quickfix.field.ContAmtType value)
public quickfix.field.ContAmtType get(quickfix.field.ContAmtType value)
public org.quickfix.field.ContAmtType get(org.quickfix.field.ContAmtType value) throws FieldNotFound { getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix44/ExecutionReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 660, 31787, 559, 336, 12, 19525, 904, 18, 1518, 18, 660, 31787, 559, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 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,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286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
(bookComponent.curPage()).curTextRect().setTextRectProp(left, top, width, height); }
public void setTextRectProp(int left,int top, int width,int height) { (bookComponent.curPage()).curTextRect().setTextRectProp(left,top,width,height); }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/cd264ba6a67a155375a4ba85cdb6dc35503ef593/MIFDocument.java/buggy/src/org/apache/fop/mif/MIFDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 7883, 6120, 4658, 12, 474, 2002, 16, 474, 1760, 16, 509, 1835, 16, 474, 2072, 13, 288, 1082, 202, 12, 3618, 1841, 18, 1397, 1964, 1435, 2934, 1397, 1528, 6120, 7675, 542, 1528, 6120, 4658, 12, 4482, 16, 3669, 16, 2819, 16, 4210, 1769, 377, 261, 3618, 1841, 18, 1397, 1964, 1435, 2934, 1397, 1528, 6120, 7675, 542, 1528, 6120, 4658, 12, 4482, 16, 1760, 16, 1835, 16, 2072, 1769, 282, 289, 225, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 7883, 6120, 4658, 12, 474, 2002, 16, 474, 1760, 16, 509, 1835, 16, 474, 2072, 13, 288, 1082, 202, 12, 3618, 1841, 18, 1397, 1964, 1435, 2934, 1397, 1528, 6120, 7675, 542, 1528, 6120, 4658, 12, 4482, 16, 3669, 16, 2819, 16, 4210, 1769, 377, 261, 3618, 1841, 18, 1397, 1964, 1435, 2934, 1397, 1528, 6120, 7675, 542, 1528, 6120, 4658, 12, 4482, 16, 1760, 16, 1835, 16, 2072, 1769, 282, 289, 225, 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 ]
public void handleFiles(List files) { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.newDocument(); Element overviewRoot = Util.addChildElement(doc, "overview-frame", null); Iterator iter = files.iterator(); while (iter.hasNext()) { File file = (File) iter.next(); if (!file.exists() || !file.canRead()) { continue; } Document xmlDoc = handleFile(file); if (xmlDoc != null) { String shortname = Util.getElementValue( xmlDoc.getDocumentElement(), "body/taglib/shortname"); Util.addChildElement(overviewRoot, "shortname", shortname); File reportHtml = new File(destdir, shortname + "-report.html"); Source xml = new DOMSource(xmlDoc); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/taglib-report.xsl")); Result out = new StreamResult(reportHtml); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); } } Source xml = new DOMSource(overviewRoot); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/index.xsl")); Result out = new StreamResult(new File(destdir, "index.html")); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/overview-frame.xsl")); out = new StreamResult(new File(destdir, "overview-frame.html")); t = tf.newTransformer(xsl); t.transform(xml, out); Util.copyFile( "/resources/taglibreport/stylesheet.css", new File(destdir, "stylesheet.css")); Util.copyFile( "/resources/taglibreport/xbPositionableElement.js", new File(destdir, "xbPositionableElement.js")); } catch (Exception e) { e.printStackTrace(); } }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/6c6a574b8da6a8f7989e99ea78e4db5cb63abe6b/TaglibReport.java/buggy/tag-doc/src/java/org/apache/struts/taskdefs/TaglibReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 4110, 2697, 12, 682, 2354, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 26081, 2375, 33, 9506, 202, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 26081, 17, 3789, 3113, 2011, 1769, 1082, 202, 3198, 2165, 33, 2354, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 95, 9506, 202, 812, 768, 28657, 812, 13, 2165, 18, 4285, 5621, 9506, 202, 430, 12, 5, 768, 18, 1808, 1435, 20081, 5, 768, 18, 4169, 1994, 10756, 95, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 2519, 2902, 1759, 33, 4110, 812, 12, 768, 1769, 9506, 202, 430, 12, 2902, 1759, 5, 33, 2011, 15329, 6862, 202, 780, 28650, 33, 25083, 202, 1304, 18, 21336, 620, 12, 6862, 1082, 202, 2902, 1759, 18, 588, 2519, 1046, 9334, 6862, 1082, 202, 6, 3432, 19, 2692, 2941, 19, 28650, 8863, 6862, 202, 1304, 18, 1289, 1763, 1046, 12, 26081, 2375, 10837, 28650, 3113, 28650, 1769, 6862, 202, 25579, 822, 655, 4353, 33, 25083, 202, 2704, 812, 12, 10488, 1214, 16, 28650, 9078, 17, 6006, 18, 2620, 8863, 6862, 202, 1830, 2902, 33, 2704, 8168, 1830, 12, 2902, 1759, 1769, 6862, 202, 1830, 30903, 33, 25083, 202, 2704, 1228, 1830, 12, 6862, 1082, 202, 2211, 18, 588, 797, 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, 6459, 4110, 2697, 12, 682, 2354, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 26081, 2375, 33, 9506, 202, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 26081, 17, 3789, 3113, 2011, 1769, 1082, 202, 3198, 2165, 33, 2354, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 95, 9506, 202, 812, 768, 28657, 812, 13, 2165, 18, 4285, 5621, 9506, 202, 430, 12, 5, 768, 18, 1808, 1435, 20081, 5, 768, 18, 4169, 1994, 10756, 95, 2 ]
mLog.info("Stage 1 Verification complete for Mailbox "+this.mMailboxId);
mLog.info("Stage 1 Verification complete for Mailbox "+this.mMailboxId);
synchronized void chkIndex(boolean repair) throws ServiceException { flush(); Connection conn = null; conn = DbPool.getConnection(); Mailbox mbox = MailboxManager.getInstance().getMailboxById(mMailboxId); /////////////////////////////// // // Stage 1 -- look for missing or extra messages and reindex/delete as necessary. // { DbSearchConstraints c = new DbSearchConstraints(); c.mailbox = mbox; c.sort = DbMailItem.SORT_BY_DATE; c.types = new HashSet<Byte>(); c.types.add(MailItem.TYPE_CONTACT); c.types.add(MailItem.TYPE_MESSAGE); c.types.add(MailItem.TYPE_NOTE); ChkIndexStage1Callback callback = new ChkIndexStage1Callback(this); DbMailItem.search(callback.msgsInMailbox, conn, c); mLog.info("Verifying (repair="+(repair?"TRUE":"FALSE")+") Index for Mailbox "+this.mMailboxId+" with "+callback.msgsInMailbox.size()+" items."); try { this.enumerateTermsForField(new Term(LuceneFields.L_MAILBOX_BLOB_ID, ""), callback); } catch (IOException e) { throw ServiceException.FAILURE("Caught IOException while enumerating fields", e); } mLog.info("Stage 1 Verification complete for Mailbox "+this.mMailboxId); if (repair) { try { mLog.info("Attempting Stage 1 Repair for mailbox "+this.mMailboxId); callback.doIndexRepair(); } catch (IOException e) { throw ServiceException.FAILURE("Caught IOException while repairing index", e); } flush(); } } ///////////////////////////////// // // Stage 2 -- verify SORT_BY_DATE orders match up // { mLog.info("Stage 2 Verify SORT_DATE_ASCENDNIG for Mailbox "+this.mMailboxId); // SORT_BY__DATE_ASC DbSearchConstraints c = new DbSearchConstraints(); c.mailbox = mbox; c.sort = DbMailItem.SORT_BY_DATE | DbMailItem.SORT_ASCENDING; c.types = new HashSet<Byte>(); c.types.add(MailItem.TYPE_CONTACT); c.types.add(MailItem.TYPE_MESSAGE); c.types.add(MailItem.TYPE_NOTE); String lucSortField = LuceneFields.L_DATE; ChkIndexStage2Callback callback = new ChkIndexStage2Callback(this, lucSortField, false); DbMailItem.search(callback.msgsInMailbox, conn, c); MailboxIndex.CountedIndexSearcher searcher = null; try { callback.beginIterating(); searcher = getCountedIndexSearcher(); TermQuery q = new TermQuery(new Term(LuceneFields.L_ALL, LuceneFields.L_ALL_VALUE)); Hits luceneHits = searcher.getSearcher().search(q, mLuceneSortDateAsc); for (int i = 0; i < luceneHits.length(); i++) { callback.onDocument(luceneHits.doc(i)); } } catch (IOException e) { throw ServiceException.FAILURE("Caught IOException while enumerating fields", e); } finally { if (searcher != null) { searcher.release(); } } mLog.info("Stage 2 Verification complete for Mailbox "+this.mMailboxId); } ///////////////////////////////// // // Stage 3 -- verify SORT_BY_DATE orders match up // { mLog.info("Stage 3 Verify SORT_DATE_DESCENDING for Mailbox "+this.mMailboxId); // SORT_BY__DATE_ASC DbSearchConstraints c = new DbSearchConstraints(); c.mailbox = mbox; c.sort = DbMailItem.SORT_BY_DATE | DbMailItem.SORT_DESCENDING; c.types = new HashSet<Byte>(); c.types.add(MailItem.TYPE_CONTACT); c.types.add(MailItem.TYPE_MESSAGE); c.types.add(MailItem.TYPE_NOTE); String lucSortField = LuceneFields.L_DATE; ChkIndexStage2Callback callback = new ChkIndexStage2Callback(this, lucSortField, true); DbMailItem.search(callback.msgsInMailbox, conn, c); MailboxIndex.CountedIndexSearcher searcher = null; try { callback.beginIterating(); searcher = getCountedIndexSearcher(); TermQuery q = new TermQuery(new Term(LuceneFields.L_ALL, LuceneFields.L_ALL_VALUE)); Hits luceneHits = searcher.getSearcher().search(q, mLuceneSortDateDesc); for (int i = 0; i < luceneHits.length(); i++) { callback.onDocument(luceneHits.doc(i)); } } catch (IOException e) { throw ServiceException.FAILURE("Caught IOException while enumerating fields", e); } finally { if (searcher != null) { searcher.release(); } } mLog.info("Stage 3 Verification complete for Mailbox "+this.mMailboxId); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/9f6861227b0f9808a28547edf4255cb279354a1d/MailboxIndex.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/MailboxIndex.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 15000, 1016, 12, 6494, 20994, 13, 1216, 16489, 377, 288, 3639, 3663, 5621, 3639, 4050, 1487, 273, 446, 31, 3639, 1487, 273, 8408, 2864, 18, 588, 1952, 5621, 3639, 11542, 2147, 312, 2147, 273, 11542, 2147, 1318, 18, 588, 1442, 7675, 588, 30239, 5132, 12, 81, 30239, 548, 1769, 3639, 368, 25494, 1307, 19, 3639, 368, 3639, 368, 16531, 404, 1493, 2324, 364, 3315, 578, 2870, 2743, 471, 17492, 19, 3733, 487, 4573, 18, 3639, 368, 3639, 288, 5411, 8408, 2979, 4878, 276, 273, 394, 8408, 2979, 4878, 5621, 5411, 276, 18, 4408, 2147, 273, 312, 2147, 31, 5411, 276, 18, 3804, 273, 8408, 6759, 1180, 18, 23988, 67, 6486, 67, 4594, 31, 5411, 276, 18, 2352, 273, 394, 6847, 32, 3216, 34, 5621, 5411, 276, 18, 2352, 18, 1289, 12, 6759, 1180, 18, 2399, 67, 6067, 6526, 1769, 2398, 276, 18, 2352, 18, 1289, 12, 6759, 1180, 18, 2399, 67, 8723, 1769, 5411, 276, 18, 2352, 18, 1289, 12, 6759, 1180, 18, 2399, 67, 17857, 1769, 5411, 1680, 79, 1016, 8755, 21, 2428, 1348, 273, 394, 1680, 79, 1016, 8755, 21, 2428, 12, 2211, 1769, 5411, 8408, 6759, 1180, 18, 3072, 12, 3394, 18, 27439, 382, 30239, 16, 1487, 16, 276, 1769, 5411, 312, 1343, 18, 1376, 2932, 8097, 310, 261, 266, 6017, 1546, 15, 12, 266, 6017, 7225, 18724, 15563, 21053, 7923, 15, 7923, 3340, 364, 11542, 2147, 13773, 2211, 18, 81, 30239, 548, 9078, 598, 13773, 3394, 18, 27439, 382, 30239, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 15000, 1016, 12, 6494, 20994, 13, 1216, 16489, 377, 288, 3639, 3663, 5621, 3639, 4050, 1487, 273, 446, 31, 3639, 1487, 273, 8408, 2864, 18, 588, 1952, 5621, 3639, 11542, 2147, 312, 2147, 273, 11542, 2147, 1318, 18, 588, 1442, 7675, 588, 30239, 5132, 12, 81, 30239, 548, 1769, 3639, 368, 25494, 1307, 19, 3639, 368, 3639, 368, 16531, 404, 1493, 2324, 364, 3315, 578, 2870, 2743, 471, 17492, 19, 3733, 487, 4573, 18, 3639, 368, 3639, 288, 5411, 8408, 2979, 4878, 276, 273, 394, 8408, 2979, 4878, 5621, 5411, 276, 18, 4408, 2147, 273, 312, 2147, 31, 5411, 276, 18, 3804, 273, 8408, 6759, 1180, 18, 23988, 67, 6486, 67, 4594, 31, 5411, 276, 18, 2 ]
return new TechResultsMessage(random, techHits, advancesAsString);
return new TechResultsMessage(random, techHits, advancesAsString, m_player);
private Message rollTech(IntegerMessage msg) { int techRolls = msg.getMessage(); boolean canPay = checkEnoughMoney(techRolls); if(!canPay) return new StringMessage("Not enough money to pay for that many tech rolls", true); chargeForTechRolls(techRolls); int[] random = m_bridge.getRandom(Constants.MAX_DICE, techRolls, m_player.getName() + " rolling for tech."); int techHits = getTechHits(random); Collection advances = getTechAdvances(techHits); List advancesAsString = new ArrayList(); Iterator iter = advances.iterator(); int count = advances.size(); StringBuffer text = new StringBuffer(); while(iter.hasNext()) { TechAdvance advance = (TechAdvance) iter.next(); advance.perform(m_bridge.getPlayerID(),m_bridge, m_data ); text.append(advance.getName()); count--; advancesAsString.add(advance.getName()); if(count > 1) text.append(", "); if(count == 1) text.append(" and "); m_techTracker.addAdvance(m_bridge.getPlayerID(), m_data, m_bridge, advance); } String transcriptText = m_bridge.getPlayerID().getName() + " discover " + text.toString(); m_bridge.getTranscript().write(transcriptText); return new TechResultsMessage(random, techHits, advancesAsString); }
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/b3fb323fecca90d9af33f93d1783622dd920dd8e/TechnologyDelegate.java/clean/triplea/src/games/strategy/triplea/delegate/TechnologyDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 2350, 5824, 56, 8987, 12, 4522, 1079, 1234, 13, 225, 288, 565, 509, 13878, 4984, 3251, 273, 1234, 18, 24906, 5621, 565, 1250, 848, 9148, 273, 866, 664, 4966, 23091, 12, 28012, 4984, 3251, 1769, 565, 309, 12, 5, 4169, 9148, 13, 1377, 327, 394, 514, 1079, 2932, 1248, 7304, 15601, 358, 8843, 364, 716, 4906, 13878, 5824, 87, 3113, 638, 1769, 565, 13765, 1290, 56, 8987, 4984, 3251, 12, 28012, 4984, 3251, 1769, 565, 509, 8526, 2744, 273, 312, 67, 18337, 18, 588, 8529, 12, 2918, 18, 6694, 67, 2565, 1441, 16, 13878, 4984, 3251, 16, 312, 67, 14872, 18, 17994, 1435, 397, 315, 21793, 364, 13878, 1199, 1769, 565, 509, 13878, 20950, 273, 3181, 8987, 20950, 12, 9188, 1769, 565, 2200, 17825, 6872, 273, 3181, 8987, 28915, 6872, 12, 28012, 20950, 1769, 565, 987, 17825, 6872, 8092, 273, 394, 2407, 5621, 565, 4498, 1400, 273, 17825, 6872, 18, 9838, 5621, 565, 509, 1056, 273, 17825, 6872, 18, 1467, 5621, 565, 6674, 977, 273, 394, 6674, 5621, 565, 1323, 12, 2165, 18, 5332, 2134, 10756, 565, 288, 1377, 399, 8987, 1871, 5882, 8312, 273, 261, 56, 8987, 1871, 5882, 13, 1400, 18, 4285, 5621, 1377, 8312, 18, 16092, 12, 81, 67, 18337, 18, 588, 12148, 734, 9334, 81, 67, 18337, 16, 312, 67, 892, 11272, 1377, 977, 18, 6923, 12, 361, 5882, 18, 17994, 10663, 1377, 1056, 413, 31, 1377, 17825, 6872, 8092, 18, 1289, 12, 361, 5882, 18, 17994, 10663, 1377, 309, 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, 282, 3238, 2350, 5824, 56, 8987, 12, 4522, 1079, 1234, 13, 225, 288, 565, 509, 13878, 4984, 3251, 273, 1234, 18, 24906, 5621, 565, 1250, 848, 9148, 273, 866, 664, 4966, 23091, 12, 28012, 4984, 3251, 1769, 565, 309, 12, 5, 4169, 9148, 13, 1377, 327, 394, 514, 1079, 2932, 1248, 7304, 15601, 358, 8843, 364, 716, 4906, 13878, 5824, 87, 3113, 638, 1769, 565, 13765, 1290, 56, 8987, 4984, 3251, 12, 28012, 4984, 3251, 1769, 565, 509, 8526, 2744, 273, 312, 67, 18337, 18, 588, 8529, 12, 2918, 18, 6694, 67, 2565, 1441, 16, 13878, 4984, 3251, 16, 312, 67, 14872, 18, 17994, 1435, 397, 315, 21793, 364, 13878, 1199, 1769, 565, 509, 13878, 20950, 273, 3181, 8987, 2 ]
case 15:
case F8COLUMN:
public Object getValueAt(int row, int col) { int slotNum; if (_allSlots) { // will show the entire set slotNum = row; } else { slotNum = ithActiveSlot(row); } LocoNetSlot s = SlotManager.instance().slot(slotNum); if (s == null) log.error("slot pointer was null for slot row: "+row+" col: "+col); switch (col) { case 0: // slot number return new Integer(slotNum); case 1: // return new Integer(s.locoAddr()); case 2: // return new Integer(s.speed()); case 3: // switch (s.decoderType()) { case LnConstants.DEC_MODE_128A: return "128 step advanced"; case LnConstants.DEC_MODE_28A: return "28 step advanced"; case LnConstants.DEC_MODE_128: return "128 step"; case LnConstants.DEC_MODE_14: return "14 step"; case LnConstants.DEC_MODE_28TRI: return "28 step trinary"; case LnConstants.DEC_MODE_28: return "28 step"; default: return "<unknown>"; } case 4: // switch (s.slotStatus()) { case LnConstants.LOCO_IN_USE: return "In Use"; case LnConstants.LOCO_IDLE: return "Idle"; case LnConstants.LOCO_COMMON: return "Common"; case LnConstants.LOCO_FREE: return "Free"; default: return "<error>"; } case 5: // switch (s.consistStatus()) { case LnConstants.CONSIST_MID: return "mid"; case LnConstants.CONSIST_TOP: return "top"; case LnConstants.CONSIST_SUB: return "sub"; case LnConstants.CONSIST_NO: return "none"; default: return "<error>"; } case 6: // return (s.isForward() ? "F" : "R"); case 7: // return (s.isF0() ? "On" : "Off"); case 8: // return (s.isF1() ? "On" : "Off"); case 9: // return (s.isF2() ? "On" : "Off"); case 10: // return (s.isF3() ? "On" : "Off"); case 11: // return (s.isF4() ? "On" : "Off"); case 12: // return (s.isF5() ? "On" : "Off"); case 13: // return (s.isF6() ? "On" : "Off"); case 14: // return (s.isF7() ? "On" : "Off"); case 15: // return (s.isF8() ? "On" : "Off"); case 16: return new Integer(s.id()); default: log.error("internal state inconsistent with table requst for "+row+" "+col); return null; } };
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/483c65800b670b9b9b5a9eb7a97cc8f30608cc62/SlotMonDataModel.java/buggy/jmri/jmrix/loconet/slotmon/SlotMonDataModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 2366, 861, 12, 474, 1027, 16, 509, 645, 13, 288, 3639, 509, 4694, 2578, 31, 3639, 309, 261, 67, 454, 16266, 13, 288, 5411, 368, 903, 2405, 326, 7278, 444, 5411, 4694, 2578, 273, 1027, 31, 3639, 289, 469, 288, 5411, 4694, 2578, 273, 277, 451, 3896, 8764, 12, 492, 1769, 3639, 289, 3639, 2851, 83, 7308, 8764, 272, 273, 23195, 1318, 18, 1336, 7675, 14194, 12, 14194, 2578, 1769, 3639, 309, 261, 87, 422, 446, 13, 613, 18, 1636, 2932, 14194, 4407, 1703, 446, 364, 4694, 1027, 30, 13773, 492, 9078, 645, 30, 13773, 1293, 1769, 3639, 1620, 261, 1293, 13, 288, 3639, 648, 374, 30, 225, 368, 4694, 1300, 5411, 327, 394, 2144, 12, 14194, 2578, 1769, 3639, 648, 404, 30, 225, 368, 5411, 327, 394, 2144, 12, 87, 18, 1829, 83, 3178, 10663, 3639, 648, 576, 30, 225, 368, 5411, 327, 394, 2144, 12, 87, 18, 13871, 10663, 3639, 648, 890, 30, 225, 368, 5411, 1620, 261, 87, 18, 21070, 559, 10756, 288, 5411, 648, 511, 82, 2918, 18, 1639, 39, 67, 7038, 67, 10392, 37, 30, 202, 202, 2463, 315, 10392, 2235, 16111, 14432, 5411, 648, 511, 82, 2918, 18, 1639, 39, 67, 7038, 67, 6030, 37, 30, 202, 202, 2463, 315, 6030, 2235, 16111, 14432, 5411, 648, 511, 82, 2918, 18, 1639, 39, 67, 7038, 67, 10392, 30, 202, 202, 2463, 315, 10392, 2235, 14432, 5411, 648, 511, 82, 2918, 18, 1639, 39, 67, 7038, 67, 3461, 30, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 2366, 861, 12, 474, 1027, 16, 509, 645, 13, 288, 3639, 509, 4694, 2578, 31, 3639, 309, 261, 67, 454, 16266, 13, 288, 5411, 368, 903, 2405, 326, 7278, 444, 5411, 4694, 2578, 273, 1027, 31, 3639, 289, 469, 288, 5411, 4694, 2578, 273, 277, 451, 3896, 8764, 12, 492, 1769, 3639, 289, 3639, 2851, 83, 7308, 8764, 272, 273, 23195, 1318, 18, 1336, 7675, 14194, 12, 14194, 2578, 1769, 3639, 309, 261, 87, 422, 446, 13, 613, 18, 1636, 2932, 14194, 4407, 1703, 446, 364, 4694, 1027, 30, 13773, 492, 9078, 645, 30, 13773, 1293, 1769, 3639, 1620, 261, 1293, 13, 288, 3639, 648, 374, 30, 225, 368, 4694, 1300, 5411, 327, 394, 2144, 12, 2 ]
result.addFatalError(computeErrorMessage(method, "RenameMethodRefactoring.not_in_mode"));
result.addFatalError(computeErrorMessage(method, "RenameMethodRefactoring.not_in_model"));
private RefactoringStatus checkRelatedMethods(IProgressMonitor pm) throws JavaModelException{ RefactoringStatus result= new RefactoringStatus(); Iterator methods = getMethodsToRename(getMethod(), pm).iterator(); while (methods.hasNext()){ IMethod method= (IMethod)methods.next(); result.merge(checkIfConstructorName(method)); if (! method.exists()){ result.addFatalError(computeErrorMessage(method, "RenameMethodRefactoring.not_in_mode")); //$NON-NLS-1$ continue; } if (method.isBinary()) result.addFatalError(computeErrorMessage(method, "RenameMethodRefactoring.no_binary")); //$NON-NLS-1$ if (method.isReadOnly()) result.addFatalError(computeErrorMessage(method, "RenameMethodRefactoring.no_read_only")); //$NON-NLS-1$ if (Flags.isNative(method.getFlags())) result.addError(computeErrorMessage(method, "RenameMethodRefactoring.no_native_1")); //$NON-NLS-1$ } return result; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/cd78a62e4449e771959f43a6e4236d8497ddb7b6/RenameMethodRefactoring.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/methods/RenameMethodRefactoring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 868, 3493, 6053, 1482, 866, 8017, 4712, 12, 45, 5491, 7187, 7430, 13, 1216, 5110, 1488, 503, 95, 202, 202, 426, 3493, 6053, 1482, 563, 33, 394, 868, 3493, 6053, 1482, 5621, 202, 202, 3198, 2590, 273, 15429, 774, 16019, 12, 588, 1305, 9334, 7430, 2934, 9838, 5621, 202, 202, 17523, 261, 5163, 18, 5332, 2134, 10756, 95, 1082, 202, 45, 1305, 707, 33, 261, 45, 1305, 13, 5163, 18, 4285, 5621, 25083, 202, 2088, 18, 2702, 12, 1893, 2047, 6293, 461, 12, 2039, 10019, 25083, 202, 430, 16051, 707, 18, 1808, 10756, 95, 9506, 202, 2088, 18, 1289, 19593, 668, 12, 9200, 14935, 12, 2039, 16, 315, 16019, 1305, 426, 3493, 6053, 18, 902, 67, 267, 67, 2284, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 17143, 31, 1082, 202, 97, 9506, 202, 430, 261, 2039, 18, 291, 5905, 10756, 9506, 202, 2088, 18, 1289, 19593, 668, 12, 9200, 14935, 12, 2039, 16, 315, 16019, 1305, 426, 3493, 6053, 18, 2135, 67, 8578, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 261, 2039, 18, 291, 12066, 10756, 9506, 202, 2088, 18, 1289, 19593, 668, 12, 9200, 14935, 12, 2039, 16, 315, 16019, 1305, 426, 3493, 6053, 18, 2135, 67, 896, 67, 3700, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 261, 5094, 18, 291, 9220, 12, 2039, 18, 588, 5094, 1435, 3719, 9506, 202, 2088, 18, 1289, 668, 12, 9200, 14935, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 868, 3493, 6053, 1482, 866, 8017, 4712, 12, 45, 5491, 7187, 7430, 13, 1216, 5110, 1488, 503, 95, 202, 202, 426, 3493, 6053, 1482, 563, 33, 394, 868, 3493, 6053, 1482, 5621, 202, 202, 3198, 2590, 273, 15429, 774, 16019, 12, 588, 1305, 9334, 7430, 2934, 9838, 5621, 202, 202, 17523, 261, 5163, 18, 5332, 2134, 10756, 95, 1082, 202, 45, 1305, 707, 33, 261, 45, 1305, 13, 5163, 18, 4285, 5621, 25083, 202, 2088, 18, 2702, 12, 1893, 2047, 6293, 461, 12, 2039, 10019, 25083, 202, 430, 16051, 707, 18, 1808, 10756, 95, 9506, 202, 2088, 18, 1289, 19593, 668, 12, 9200, 14935, 12, 2039, 16, 315, 16019, 1305, 426, 3493, 6053, 18, 902, 67, 2 ]
return (AtomContainer)ac.clone();
AtomContainer clone = null; try { clone = (AtomContainer)ac.clone(); } catch (CloneNotSupportedException e) { e.printStackTrace(); } return clone;
AtomContainer makeResult() { Bond[] bonds = new Bond[objects.length]; for (int f = 0; f < objects.length; f++) { bonds[f] = ((Bond)objects[f]); } AtomContainer ac = new org.openscience.cdk.AtomContainer(atomContainer); ac.setElectronContainers(bonds); return (AtomContainer)ac.clone(); }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/2b55a607674535cd8492e3539d8f3dce16fc3b92/AtomContainerBondPermutor.java/buggy/src/org/openscience/cdk/graph/AtomContainerBondPermutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3641, 2170, 1221, 1253, 1435, 202, 95, 202, 202, 9807, 8526, 15692, 273, 394, 605, 1434, 63, 6911, 18, 2469, 15533, 202, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 2184, 18, 2469, 31, 284, 27245, 202, 202, 95, 1082, 202, 70, 4096, 63, 74, 65, 273, 14015, 9807, 13, 6911, 63, 74, 19226, 1082, 202, 97, 202, 202, 3641, 2170, 1721, 273, 394, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 3641, 2170, 12, 7466, 2170, 1769, 202, 202, 1077, 18, 542, 28621, 11177, 12, 70, 4096, 1769, 202, 202, 2463, 261, 3641, 2170, 13, 1077, 18, 14056, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 15692, 273, 394, 605, 1434, 63, 6911, 18, 2469, 15533, 202, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 2184, 18, 2469, 31, 284, 27245, 202, 202, 95, 1082, 202, 70, 4096, 63, 74, 65, 273, 14015, 9807, 13, 6911, 63, 74, 19226, 1082, 202, 97, 202, 202, 3641, 2170, 1721, 273, 394, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 3641, 2170, 12, 7466, 2170, 1769, 202, 202, 1077, 18, 542, 28621, 11177, 12, 70, 4096, 1769, 202, 202, 2463, 261, 3641, 2170, 13, 1077, 18, 14056, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final Object insertSpaceBeforeOpeningParenInForOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR); if (insertSpaceBeforeOpeningParenInForOption != null) { this.insert_space_before_opening_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInForOption); } final Object insertSpaceBeforeOpeningParenInIfOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF); if (insertSpaceBeforeOpeningParenInIfOption != null) { this.insert_space_before_opening_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInIfOption); } final Object insertSpaceBeforeOpeningParenInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION); if (insertSpaceBeforeOpeningParenInMethodInvocationOption != null) { this.insert_space_before_opening_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInMethodInvocationOption); } final Object insertSpaceBeforeOpeningParenInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION); if (insertSpaceBeforeOpeningParenInMethodDeclarationOption != null) { this.insert_space_before_opening_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInMethodDeclarationOption); } final Object insertSpaceBeforeOpeningParenInSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH); if (insertSpaceBeforeOpeningParenInSwitchOption != null) { this.insert_space_before_opening_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInSwitchOption); } final Object insertSpaceBeforeOpeningBraceInSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH); if (insertSpaceBeforeOpeningBraceInSwitchOption != null) { this.insert_space_before_opening_brace_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInSwitchOption); }
public void set(Map settings) { final Object alignmentForArgumentsInAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ALLOCATION_EXPRESSION); if (alignmentForArgumentsInAllocationExpressionOption != null) { try { this.alignment_for_arguments_in_allocation_expression = Integer.parseInt((String) alignmentForArgumentsInAllocationExpressionOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT); if (alignmentForArgumentsInEnumConstantOption != null) { try { this.alignment_for_arguments_in_enum_constant = Integer.parseInt((String) alignmentForArgumentsInEnumConstantOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInExplicitConstructorCallOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL); if (alignmentForArgumentsInExplicitConstructorCallOption != null) { try { this.alignment_for_arguments_in_explicit_constructor_call = Integer.parseInt((String) alignmentForArgumentsInExplicitConstructorCallOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION); if (alignmentForArgumentsInMethodInvocationOption != null) { try { this.alignment_for_arguments_in_method_invocation = Integer.parseInt((String) alignmentForArgumentsInMethodInvocationOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInQualifiedAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION); if (alignmentForArgumentsInQualifiedAllocationExpressionOption != null) { try { this.alignment_for_arguments_in_qualified_allocation_expression = Integer.parseInt((String) alignmentForArgumentsInQualifiedAllocationExpressionOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForAssignmentOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ASSIGNMENT); if (alignmentForAssignmentOption != null) { try { this.alignment_for_assignment = Integer.parseInt((String) alignmentForAssignmentOption); } catch (NumberFormatException e) { this.alignment_for_assignment = Alignment.M_ONE_PER_LINE_SPLIT; } catch (ClassCastException e) { this.alignment_for_assignment = Alignment.M_ONE_PER_LINE_SPLIT; } } final Object alignmentForBinaryExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION); if (alignmentForBinaryExpressionOption != null) { try { this.alignment_for_binary_expression = Integer.parseInt((String) alignmentForBinaryExpressionOption); } catch (NumberFormatException e) { this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForCompactIfOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF); if (alignmentForCompactIfOption != null) { try { this.alignment_for_compact_if = Integer.parseInt((String) alignmentForCompactIfOption); } catch (NumberFormatException e) { this.alignment_for_compact_if = Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_INDENT_BY_ONE; } catch (ClassCastException e) { this.alignment_for_compact_if = Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_INDENT_BY_ONE; } } final Object alignmentForConditionalExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION); if (alignmentForConditionalExpressionOption != null) { try { this.alignment_for_conditional_expression = Integer.parseInt((String) alignmentForConditionalExpressionOption); } catch (NumberFormatException e) { this.alignment_for_conditional_expression = Alignment.M_ONE_PER_LINE_SPLIT; } catch (ClassCastException e) { this.alignment_for_conditional_expression = Alignment.M_ONE_PER_LINE_SPLIT; } } final Object alignmentForEnumConstantsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ENUM_CONSTANTS); if (alignmentForEnumConstantsOption != null) { try { this.alignment_for_enum_constants = Integer.parseInt((String) alignmentForEnumConstantsOption); } catch (NumberFormatException e) { this.alignment_for_enum_constants = Alignment.NONE; } catch (ClassCastException e) { this.alignment_for_enum_constants = Alignment.NONE; } } final Object alignmentForExpressionsInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER); if (alignmentForExpressionsInArrayInitializerOption != null) { try { this.alignment_for_expressions_in_array_initializer = Integer.parseInt((String) alignmentForExpressionsInArrayInitializerOption); } catch (NumberFormatException e) { this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForMultipleFieldsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS); if (alignmentForMultipleFieldsOption != null) { try { this.alignment_for_multiple_fields = Integer.parseInt((String) alignmentForMultipleFieldsOption); } catch (NumberFormatException e) { this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForParametersInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION); if (alignmentForParametersInConstructorDeclarationOption != null) { try { this.alignment_for_parameters_in_constructor_declaration = Integer.parseInt((String) alignmentForParametersInConstructorDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForParametersInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION); if (alignmentForParametersInMethodDeclarationOption != null) { try { this.alignment_for_parameters_in_method_declaration = Integer.parseInt((String) alignmentForParametersInMethodDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForSelectorInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION); if (alignmentForSelectorInMethodInvocationOption != null) { try { this.alignment_for_selector_in_method_invocation = Integer.parseInt((String) alignmentForSelectorInMethodInvocationOption); } catch (NumberFormatException e) { this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForSuperclassInTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERCLASS_IN_TYPE_DECLARATION); if (alignmentForSuperclassInTypeDeclarationOption != null) { try { this.alignment_for_superclass_in_type_declaration = Integer.parseInt((String) alignmentForSuperclassInTypeDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_superclass_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } catch(ClassCastException e) { this.alignment_for_superclass_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } } final Object alignmentForSuperinterfacesInEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION); if (alignmentForSuperinterfacesInEnumDeclarationOption != null) { try { this.alignment_for_superinterfaces_in_enum_declaration = Integer.parseInt((String) alignmentForSuperinterfacesInEnumDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } catch(ClassCastException e) { this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } } final Object alignmentForSuperinterfacesInTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_TYPE_DECLARATION); if (alignmentForSuperinterfacesInTypeDeclarationOption != null) { try { this.alignment_for_superinterfaces_in_type_declaration = Integer.parseInt((String) alignmentForSuperinterfacesInTypeDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } catch(ClassCastException e) { this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } } final Object alignmentForThrowsClauseInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION); if (alignmentForThrowsClauseInConstructorDeclarationOption != null) { try { this.alignment_for_throws_clause_in_constructor_declaration = Integer.parseInt((String) alignmentForThrowsClauseInConstructorDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForThrowsClauseInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION); if (alignmentForThrowsClauseInMethodDeclarationOption != null) { try { this.alignment_for_throws_clause_in_method_declaration = Integer.parseInt((String) alignmentForThrowsClauseInMethodDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignTypeMembersOnColumnsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS); if (alignTypeMembersOnColumnsOption != null) { this.align_type_members_on_columns = DefaultCodeFormatterConstants.TRUE.equals(alignTypeMembersOnColumnsOption); } final Object bracePositionForArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER); if (bracePositionForArrayInitializerOption != null) { try { this.brace_position_for_array_initializer = (String) bracePositionForArrayInitializerOption; } catch(ClassCastException e) { this.brace_position_for_array_initializer = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK); if (bracePositionForBlockOption != null) { try { this.brace_position_for_block = (String) bracePositionForBlockOption; } catch(ClassCastException e) { this.brace_position_for_block = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForBlockInCaseOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE); if (bracePositionForBlockInCaseOption != null) { try { this.brace_position_for_block_in_case = (String) bracePositionForBlockInCaseOption; } catch(ClassCastException e) { this.brace_position_for_block_in_case = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION); if (bracePositionForConstructorDeclarationOption != null) { try { this.brace_position_for_constructor_declaration = (String) bracePositionForConstructorDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_constructor_declaration = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT); if (bracePositionForEnumConstantOption != null) { try { this.brace_position_for_enum_constant = (String) bracePositionForEnumConstantOption; } catch(ClassCastException e) { this.brace_position_for_enum_constant = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION); if (bracePositionForEnumDeclarationOption != null) { try { this.brace_position_for_enum_declaration = (String) bracePositionForEnumDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_enum_declaration = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION); if (bracePositionForMethodDeclarationOption != null) { try { this.brace_position_for_method_declaration = (String) bracePositionForMethodDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_method_declaration = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH); if (bracePositionForSwitchOption != null) { try { this.brace_position_for_switch = (String) bracePositionForSwitchOption; } catch(ClassCastException e) { this.brace_position_for_switch = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION); if (bracePositionForTypeDeclarationOption != null) { try { this.brace_position_for_type_declaration = (String) bracePositionForTypeDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object continuationIndentationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION); if (continuationIndentationOption != null) { try { this.continuation_indentation = Integer.parseInt((String) continuationIndentationOption); } catch (NumberFormatException e) { this.continuation_indentation = 2; } catch(ClassCastException e) { this.continuation_indentation = 2; } } final Object continuationIndentationForArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER); if (continuationIndentationForArrayInitializerOption != null) { try { this.continuation_indentation_for_array_initializer = Integer.parseInt((String) continuationIndentationForArrayInitializerOption); } catch (NumberFormatException e) { this.continuation_indentation_for_array_initializer = 2; } catch(ClassCastException e) { this.continuation_indentation_for_array_initializer = 2; } }// final Object blankLinesAfterImportsOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_IMPORTS);// if (blankLinesAfterImportsOption != null) {// try {// this.blank_lines_after_imports = Integer.parseInt((String) blankLinesAfterImportsOption);// } catch (NumberFormatException e) {// this.blank_lines_after_imports = 0;// } catch(ClassCastException e) {// this.blank_lines_after_imports = 0;// }// }// final Object blankLinesAfterPackageOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_PACKAGE);// if (blankLinesAfterPackageOption != null) {// try {// this.blank_lines_after_package = Integer.parseInt((String) blankLinesAfterPackageOption);// } catch (NumberFormatException e) {// this.blank_lines_after_package = 0;// } catch(ClassCastException e) {// this.blank_lines_after_package = 0;// }// }// final Object blankLinesBeforeFieldOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIELD);// if (blankLinesBeforeFieldOption != null) {// try {// this.blank_lines_before_field = Integer.parseInt((String) blankLinesBeforeFieldOption);// } catch (NumberFormatException e) {// this.blank_lines_before_field = 0;// } catch(ClassCastException e) {// this.blank_lines_before_field = 0;// }// }// final Object blankLinesBeforeFirstClassBodyDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION);// if (blankLinesBeforeFirstClassBodyDeclarationOption != null) {// try {// this.blank_lines_before_first_class_body_declaration = Integer.parseInt((String) blankLinesBeforeFirstClassBodyDeclarationOption);// } catch (NumberFormatException e) {// this.blank_lines_before_first_class_body_declaration = 0;// } catch(ClassCastException e) {// this.blank_lines_before_first_class_body_declaration = 0;// }// }// final Object blankLinesBeforeImportsOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_IMPORTS);// if (blankLinesBeforeImportsOption != null) {// try {// this.blank_lines_before_imports = Integer.parseInt((String) blankLinesBeforeImportsOption);// } catch (NumberFormatException e) {// this.blank_lines_before_imports = 0;// } catch(ClassCastException e) {// this.blank_lines_before_imports = 0;// }// }// final Object blankLinesBeforeMemberTypeOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE);// if (blankLinesBeforeMemberTypeOption != null) {// try {// this.blank_lines_before_member_type = Integer.parseInt((String) blankLinesBeforeMemberTypeOption);// } catch (NumberFormatException e) {// this.blank_lines_before_member_type = 0;// } catch(ClassCastException e) {// this.blank_lines_before_member_type = 0;// }// }// final Object blankLinesBeforeMethodOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_METHOD);// if (blankLinesBeforeMethodOption != null) {// try {// this.blank_lines_before_method = Integer.parseInt((String) blankLinesBeforeMethodOption);// } catch (NumberFormatException e) {// this.blank_lines_before_method = 0;// } catch(ClassCastException e) {// this.blank_lines_before_method = 0;// }// }// final Object blankLinesBeforeNewChunkOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK);// if (blankLinesBeforeNewChunkOption != null) {// try {// this.blank_lines_before_new_chunk = Integer.parseInt((String) blankLinesBeforeNewChunkOption);// } catch (NumberFormatException e) {// this.blank_lines_before_new_chunk = 0;// } catch(ClassCastException e) {// this.blank_lines_before_new_chunk = 0;// }// }// final Object blankLinesBeforePackageOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_PACKAGE);// if (blankLinesBeforePackageOption != null) {// try {// this.blank_lines_before_package = Integer.parseInt((String) blankLinesBeforePackageOption);// } catch (NumberFormatException e) {// this.blank_lines_before_package = 0;// } catch(ClassCastException e) {// this.blank_lines_before_package = 0;// }// }// final Object blankLinesBetweenTypeDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS);// if (blankLinesBetweenTypeDeclarationsOption != null) {// try {// this.blank_lines_between_type_declarations = Integer.parseInt((String) blankLinesBetweenTypeDeclarationsOption);// } catch (NumberFormatException e) {// this.blank_lines_between_type_declarations = 0;// } catch(ClassCastException e) {// this.blank_lines_between_type_declarations = 0;// }// }// final Object blankLinesAtBeginningOfMethodBodyOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_AT_BEGINNING_OF_METHOD_BODY);// if (blankLinesAtBeginningOfMethodBodyOption != null) {// try {// this.blank_lines_at_beginning_of_method_body = Integer.parseInt((String) blankLinesAtBeginningOfMethodBodyOption);// } catch (NumberFormatException e) {// this.blank_lines_at_beginning_of_method_body = 0;// } catch(ClassCastException e) {// this.blank_lines_at_beginning_of_method_body = 0;// }// }// final Object commentClearBlankLinesOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES);// if (commentClearBlankLinesOption != null) {// this.comment_clear_blank_lines = CodeFormatterConstants.TRUE.equals(commentClearBlankLinesOption);// }// final Object commentFormatOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT);// if (commentFormatOption != null) {// this.comment_format = CodeFormatterConstants.TRUE.equals(commentFormatOption);// }// final Object commentFormatHeaderOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HEADER);// if (commentFormatHeaderOption != null) {// this.comment_format_header = CodeFormatterConstants.TRUE.equals(commentFormatHeaderOption);// }// final Object commentFormatHtmlOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HTML);// if (commentFormatHtmlOption != null) {// this.comment_format_html = CodeFormatterConstants.TRUE.equals(commentFormatHtmlOption);// }// final Object commentFormatSourceOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT_SOURCE);// if (commentFormatSourceOption != null) {// this.comment_format_source = CodeFormatterConstants.TRUE.equals(commentFormatSourceOption);// }// final Object commentLineLengthOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_LINE_LENGTH);// if (commentLineLengthOption != null) {// try {// this.comment_line_length = Integer.parseInt((String) commentLineLengthOption);// } catch (NumberFormatException e) {// this.comment_line_length = 80;// } catch(ClassCastException e) {// this.comment_line_length = 80;// }// } final Object indentStatementsCompareToBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK); if (indentStatementsCompareToBlockOption != null) { this.indent_statements_compare_to_block = DefaultCodeFormatterConstants.TRUE.equals(indentStatementsCompareToBlockOption); } final Object indentStatementsCompareToBodyOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY); if (indentStatementsCompareToBodyOption != null) { this.indent_statements_compare_to_body = DefaultCodeFormatterConstants.TRUE.equals(indentStatementsCompareToBodyOption); } final Object indentBodyDeclarationsCompareToEnumConstantHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_CONSTANT_HEADER); if (indentBodyDeclarationsCompareToEnumConstantHeaderOption != null) { this.indent_body_declarations_compare_to_enum_constant_header = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToEnumConstantHeaderOption); } final Object indentBodyDeclarationsCompareToEnumDeclarationHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_DECLARATION_HEADER); if (indentBodyDeclarationsCompareToEnumDeclarationHeaderOption != null) { this.indent_body_declarations_compare_to_enum_declaration_header = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToEnumDeclarationHeaderOption); } final Object indentAccessSpecifierCompareToTypeHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_ACCESS_SPECIFIER_COMPARE_TO_TYPE_HEADER); if (indentAccessSpecifierCompareToTypeHeaderOption != null) { this.indent_access_specifier_compare_to_type_header = DefaultCodeFormatterConstants.TRUE.equals(indentAccessSpecifierCompareToTypeHeaderOption); } final Object indentBodyDeclarationsCompareToAccessSpecifierOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ACCESS_SPECIFIER); if (indentBodyDeclarationsCompareToAccessSpecifierOption != null) { this.indent_body_declarations_compare_to_access_specifier = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToAccessSpecifierOption); } final Object indentBreaksCompareToCasesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES); if (indentBreaksCompareToCasesOption != null) { this.indent_breaks_compare_to_cases = DefaultCodeFormatterConstants.TRUE.equals(indentBreaksCompareToCasesOption); } final Object indentEmptyLinesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_EMPTY_LINES); if (indentEmptyLinesOption != null) { this.indent_empty_lines = DefaultCodeFormatterConstants.TRUE.equals(indentEmptyLinesOption); } final Object indentSwitchstatementsCompareToCasesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES); if (indentSwitchstatementsCompareToCasesOption != null) { this.indent_switchstatements_compare_to_cases = DefaultCodeFormatterConstants.TRUE.equals(indentSwitchstatementsCompareToCasesOption); } final Object indentSwitchstatementsCompareToSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH); if (indentSwitchstatementsCompareToSwitchOption != null) { this.indent_switchstatements_compare_to_switch = DefaultCodeFormatterConstants.TRUE.equals(indentSwitchstatementsCompareToSwitchOption); } final Object indentationSizeOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENTATION_SIZE); if (indentationSizeOption != null) { try { this.indentation_size = Integer.parseInt((String) indentationSizeOption); } catch (NumberFormatException e) { this.indentation_size = 4; } catch(ClassCastException e) { this.indentation_size = 4; } }// final Object insertNewLineAfterOpeningBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER);// if (insertNewLineAfterOpeningBraceInArrayInitializerOption != null) {// this.insert_new_line_after_opening_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertNewLineAfterOpeningBraceInArrayInitializerOption);// }// final Object insertNewLineAtEndOfFileIfMissingOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AT_END_OF_FILE_IF_MISSING);// if (insertNewLineAtEndOfFileIfMissingOption != null) {// this.insert_new_line_at_end_of_file_if_missing = CCorePlugin.INSERT.equals(insertNewLineAtEndOfFileIfMissingOption);// }// final Object insertNewLineBeforeCatchInTryStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT);// if (insertNewLineBeforeCatchInTryStatementOption != null) {// this.insert_new_line_before_catch_in_try_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeCatchInTryStatementOption);// }// final Object insertNewLineBeforeClosingBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER);// if (insertNewLineBeforeClosingBraceInArrayInitializerOption != null) {// this.insert_new_line_before_closing_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertNewLineBeforeClosingBraceInArrayInitializerOption);// }// final Object insertNewLineBeforeElseInIfStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT);// if (insertNewLineBeforeElseInIfStatementOption != null) {// this.insert_new_line_before_else_in_if_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeElseInIfStatementOption);// }// final Object insertNewLineBeforeFinallyInTryStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT);// if (insertNewLineBeforeFinallyInTryStatementOption != null) {// this.insert_new_line_before_finally_in_try_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeFinallyInTryStatementOption);// }// final Object insertNewLineBeforeWhileInDoStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT);// if (insertNewLineBeforeWhileInDoStatementOption != null) {// this.insert_new_line_before_while_in_do_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeWhileInDoStatementOption);// }// final Object insertNewLineInEmptyBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK);// if (insertNewLineInEmptyBlockOption != null) {// this.insert_new_line_in_empty_block = CCorePlugin.INSERT.equals(insertNewLineInEmptyBlockOption);// }// final Object insertNewLineInEmptyEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_CONSTANT);// if (insertNewLineInEmptyEnumConstantOption != null) {// this.insert_new_line_in_empty_enum_constant = CCorePlugin.INSERT.equals(insertNewLineInEmptyEnumConstantOption);// }// final Object insertNewLineInEmptyEnumDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION);// if (insertNewLineInEmptyEnumDeclarationOption != null) {// this.insert_new_line_in_empty_enum_declaration = CCorePlugin.INSERT.equals(insertNewLineInEmptyEnumDeclarationOption);// }// final Object insertNewLineInEmptyMethodBodyOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY);// if (insertNewLineInEmptyMethodBodyOption != null) {// this.insert_new_line_in_empty_method_body = CCorePlugin.INSERT.equals(insertNewLineInEmptyMethodBodyOption);// }// final Object insertNewLineInEmptyTypeDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION);// if (insertNewLineInEmptyTypeDeclarationOption != null) {// this.insert_new_line_in_empty_type_declaration = CCorePlugin.INSERT.equals(insertNewLineInEmptyTypeDeclarationOption);// }// final Object insertSpaceAfterAndInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_AND_IN_TYPE_PARAMETER);// if (insertSpaceAfterAndInWildcardOption != null) {// this.insert_space_after_and_in_type_parameter = CCorePlugin.INSERT.equals(insertSpaceAfterAndInWildcardOption);// }// final Object insertSpaceAfterAssignmentOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR);// if (insertSpaceAfterAssignmentOperatorOption != null) {// this.insert_space_after_assignment_operator = CCorePlugin.INSERT.equals(insertSpaceAfterAssignmentOperatorOption);// }// final Object insertSpaceAfterBinaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR);// if (insertSpaceAfterBinaryOperatorOption != null) {// this.insert_space_after_binary_operator = CCorePlugin.INSERT.equals(insertSpaceAfterBinaryOperatorOption);// }// final Object insertSpaceAfterClosingAngleBracketInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceAfterClosingAngleBracketInTypeArgumentsOption != null) {// this.insert_space_after_closing_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterClosingAngleBracketInTypeArgumentsOption);// }// final Object insertSpaceAfterClosingAngleBracketInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceAfterClosingAngleBracketInTypeParametersOption != null) {// this.insert_space_after_closing_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterClosingAngleBracketInTypeParametersOption);// }// final Object insertSpaceAfterClosingParenInCastOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST);// if (insertSpaceAfterClosingParenInCastOption != null) {// this.insert_space_after_closing_paren_in_cast = CCorePlugin.INSERT.equals(insertSpaceAfterClosingParenInCastOption);// }// final Object insertSpaceAfterClosingBraceInBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK);// if (insertSpaceAfterClosingBraceInBlockOption != null) {// this.insert_space_after_closing_brace_in_block = CCorePlugin.INSERT.equals(insertSpaceAfterClosingBraceInBlockOption);// }// final Object insertSpaceAfterColonInAssertOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_ASSERT);// if (insertSpaceAfterColonInAssertOption != null) {// this.insert_space_after_colon_in_assert = CCorePlugin.INSERT.equals(insertSpaceAfterColonInAssertOption);// }// final Object insertSpaceAfterColonInCaseOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE);// if (insertSpaceAfterColonInCaseOption != null) {// this.insert_space_after_colon_in_case = CCorePlugin.INSERT.equals(insertSpaceAfterColonInCaseOption);// }// final Object insertSpaceAfterColonInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL);// if (insertSpaceAfterColonInConditionalOption != null) {// this.insert_space_after_colon_in_conditional = CCorePlugin.INSERT.equals(insertSpaceAfterColonInConditionalOption);// }// final Object insertSpaceAfterColonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_FOR);// if (insertSpaceAfterColonInForOption != null) {// this.insert_space_after_colon_in_for = CCorePlugin.INSERT.equals(insertSpaceAfterColonInForOption);// }// final Object insertSpaceAfterColonInLabeledStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT);// if (insertSpaceAfterColonInLabeledStatementOption != null) {// this.insert_space_after_colon_in_labeled_statement = CCorePlugin.INSERT.equals(insertSpaceAfterColonInLabeledStatementOption);// }// final Object insertSpaceAfterCommaInAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ALLOCATION_EXPRESSION);// if (insertSpaceAfterCommaInAllocationExpressionOption != null) {// this.insert_space_after_comma_in_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInAllocationExpressionOption);// }// final Object insertSpaceAfterCommaInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER);// if (insertSpaceAfterCommaInArrayInitializerOption != null) {// this.insert_space_after_comma_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInArrayInitializerOption);// }// final Object insertSpaceAfterCommaInConstructorDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS);// if (insertSpaceAfterCommaInConstructorDeclarationParametersOption != null) {// this.insert_space_after_comma_in_constructor_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInConstructorDeclarationParametersOption);// }// final Object insertSpaceAfterCommaInConstructorDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS);// if (insertSpaceAfterCommaInConstructorDeclarationThrowsOption != null) {// this.insert_space_after_comma_in_constructor_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInConstructorDeclarationThrowsOption);// }// final Object insertSpaceAfterCommaInEnumConstantArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_CONSTANT_ARGUMENTS);// if (insertSpaceAfterCommaInEnumConstantArgumentsOption != null) {// this.insert_space_after_comma_in_enum_constant_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInEnumConstantArgumentsOption);// }// final Object insertSpaceAfterCommaInEnumDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS);// if (insertSpaceAfterCommaInEnumDeclarationsOption != null) {// this.insert_space_after_comma_in_enum_declarations = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInEnumDeclarationsOption);// }// final Object insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS);// if (insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption != null) {// this.insert_space_after_comma_in_explicit_constructor_call_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption);// }// final Object insertSpaceAfterCommaInForIncrementsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INCREMENTS);// if (insertSpaceAfterCommaInForIncrementsOption != null) {// this.insert_space_after_comma_in_for_increments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInForIncrementsOption);// }// final Object insertSpaceAfterCommaInForInitsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INITS);// if (insertSpaceAfterCommaInForInitsOption != null) {// this.insert_space_after_comma_in_for_inits = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInForInitsOption);// }// final Object insertSpaceAfterCommaInMethodInvocationArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS);// if (insertSpaceAfterCommaInMethodInvocationArgumentsOption != null) {// this.insert_space_after_comma_in_method_invocation_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMethodInvocationArgumentsOption);// }// final Object insertSpaceAfterCommaInMethodDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS);// if (insertSpaceAfterCommaInMethodDeclarationParametersOption != null) {// this.insert_space_after_comma_in_method_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMethodDeclarationParametersOption);// }// final Object insertSpaceAfterCommaInMethodDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_THROWS);// if (insertSpaceAfterCommaInMethodDeclarationThrowsOption != null) {// this.insert_space_after_comma_in_method_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMethodDeclarationThrowsOption);// }// final Object insertSpaceAfterCommaInMultipleFieldDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS);// if (insertSpaceAfterCommaInMultipleFieldDeclarationsOption != null) {// this.insert_space_after_comma_in_multiple_field_declarations = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMultipleFieldDeclarationsOption);// }// final Object insertSpaceAfterCommaInMultipleLocalDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS);// if (insertSpaceAfterCommaInMultipleLocalDeclarationsOption != null) {// this.insert_space_after_comma_in_multiple_local_declarations = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMultipleLocalDeclarationsOption);// }// final Object insertSpaceAfterCommaInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceAfterCommaInParameterizedTypeReferenceOption != null) {// this.insert_space_after_comma_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInParameterizedTypeReferenceOption);// }// final Object insertSpaceAfterCommaInSuperinterfacesOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_SUPERINTERFACES);// if (insertSpaceAfterCommaInSuperinterfacesOption != null) {// this.insert_space_after_comma_in_superinterfaces = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInSuperinterfacesOption);// }// final Object insertSpaceAfterCommaInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS);// if (insertSpaceAfterCommaInTypeArgumentsOption != null) {// this.insert_space_after_comma_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInTypeArgumentsOption);// }// final Object insertSpaceAfterCommaInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_PARAMETERS);// if (insertSpaceAfterCommaInTypeParametersOption != null) {// this.insert_space_after_comma_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInTypeParametersOption);// }// final Object insertSpaceAfterEllipsisOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ELLIPSIS);// if (insertSpaceAfterEllipsisOption != null) {// this.insert_space_after_ellipsis = CCorePlugin.INSERT.equals(insertSpaceAfterEllipsisOption);// }// final Object insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption != null) {// this.insert_space_after_opening_angle_bracket_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption);// }// final Object insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption != null) {// this.insert_space_after_opening_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption);// }// final Object insertSpaceAfterOpeningAngleBracketInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceAfterOpeningAngleBracketInTypeParametersOption != null) {// this.insert_space_after_opening_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningAngleBracketInTypeParametersOption);// }// final Object insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption != null) {// this.insert_space_after_opening_bracket_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption);// }// final Object insertSpaceAfterOpeningBracketInArrayReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_REFERENCE);// if (insertSpaceAfterOpeningBracketInArrayReferenceOption != null) {// this.insert_space_after_opening_bracket_in_array_reference = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningBracketInArrayReferenceOption);// }// final Object insertSpaceAfterOpeningBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER);// if (insertSpaceAfterOpeningBraceInArrayInitializerOption != null) {// this.insert_space_after_opening_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningBraceInArrayInitializerOption);// }// final Object insertSpaceAfterOpeningParenInCastOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST);// if (insertSpaceAfterOpeningParenInCastOption != null) {// this.insert_space_after_opening_paren_in_cast = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInCastOption);// }// final Object insertSpaceAfterOpeningParenInCatchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH);// if (insertSpaceAfterOpeningParenInCatchOption != null) {// this.insert_space_after_opening_paren_in_catch = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInCatchOption);// }// final Object insertSpaceAfterOpeningParenInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceAfterOpeningParenInConstructorDeclarationOption != null) {// this.insert_space_after_opening_paren_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInConstructorDeclarationOption);// }// final Object insertSpaceAfterOpeningParenInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ENUM_CONSTANT);// if (insertSpaceAfterOpeningParenInEnumConstantOption != null) {// this.insert_space_after_opening_paren_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInEnumConstantOption);// }// final Object insertSpaceAfterOpeningParenInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR);// if (insertSpaceAfterOpeningParenInForOption != null) {// this.insert_space_after_opening_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInForOption);// }// final Object insertSpaceAfterOpeningParenInIfOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF);// if (insertSpaceAfterOpeningParenInIfOption != null) {// this.insert_space_after_opening_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInIfOption);// }// final Object insertSpaceAfterOpeningParenInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION);// if (insertSpaceAfterOpeningParenInMethodDeclarationOption != null) {// this.insert_space_after_opening_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInMethodDeclarationOption);// }// final Object insertSpaceAfterOpeningParenInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION);// if (insertSpaceAfterOpeningParenInMethodInvocationOption != null) {// this.insert_space_after_opening_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInMethodInvocationOption);// }// final Object insertSpaceAfterOpeningParenInParenthesizedExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION);// if (insertSpaceAfterOpeningParenInParenthesizedExpressionOption != null) {// this.insert_space_after_opening_paren_in_parenthesized_expression = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInParenthesizedExpressionOption);// }// final Object insertSpaceAfterOpeningParenInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH);// if (insertSpaceAfterOpeningParenInSwitchOption != null) {// this.insert_space_after_opening_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInSwitchOption);// }// final Object insertSpaceAfterOpeningParenInSynchronizedOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SYNCHRONIZED);// if (insertSpaceAfterOpeningParenInSynchronizedOption != null) {// this.insert_space_after_opening_paren_in_synchronized = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInSynchronizedOption);// }// final Object insertSpaceAfterOpeningParenInWhileOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE);// if (insertSpaceAfterOpeningParenInWhileOption != null) {// this.insert_space_after_opening_paren_in_while = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInWhileOption);// }// final Object insertSpaceAfterPostfixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR);// if (insertSpaceAfterPostfixOperatorOption != null) {// this.insert_space_after_postfix_operator = CCorePlugin.INSERT.equals(insertSpaceAfterPostfixOperatorOption);// }// final Object insertSpaceAfterPrefixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR);// if (insertSpaceAfterPrefixOperatorOption != null) {// this.insert_space_after_prefix_operator = CCorePlugin.INSERT.equals(insertSpaceAfterPrefixOperatorOption);// }// final Object insertSpaceAfterQuestionInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL);// if (insertSpaceAfterQuestionInConditionalOption != null) {// this.insert_space_after_question_in_conditional = CCorePlugin.INSERT.equals(insertSpaceAfterQuestionInConditionalOption);// }// final Object insertSpaceAfterQuestionInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_WILDCARD);// if (insertSpaceAfterQuestionInWildcardOption != null) {// this.insert_space_after_question_in_wilcard = CCorePlugin.INSERT.equals(insertSpaceAfterQuestionInWildcardOption);// }// final Object insertSpaceAfterSemicolonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR);// if (insertSpaceAfterSemicolonInForOption != null) {// this.insert_space_after_semicolon_in_for = CCorePlugin.INSERT.equals(insertSpaceAfterSemicolonInForOption);// }// final Object insertSpaceAfterUnaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR);// if (insertSpaceAfterUnaryOperatorOption != null) {// this.insert_space_after_unary_operator = CCorePlugin.INSERT.equals(insertSpaceAfterUnaryOperatorOption);// }// final Object insertSpaceBeforeAndInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_AND_IN_TYPE_PARAMETER);// if (insertSpaceBeforeAndInWildcardOption != null) {// this.insert_space_before_and_in_type_parameter = CCorePlugin.INSERT.equals(insertSpaceBeforeAndInWildcardOption);// }// final Object insertSpaceBeforeAssignmentOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR);// if (insertSpaceBeforeAssignmentOperatorOption != null) {// this.insert_space_before_assignment_operator = CCorePlugin.INSERT.equals(insertSpaceBeforeAssignmentOperatorOption);// }// final Object insertSpaceBeforeBinaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR);// if (insertSpaceBeforeBinaryOperatorOption != null) {// this.insert_space_before_binary_operator = CCorePlugin.INSERT.equals(insertSpaceBeforeBinaryOperatorOption);// }// final Object insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption != null) {// this.insert_space_before_closing_angle_bracket_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption);// }// final Object insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption != null) {// this.insert_space_before_closing_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption);// }// final Object insertSpaceBeforeClosingAngleBracketInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceBeforeClosingAngleBracketInTypeParametersOption != null) {// this.insert_space_before_closing_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingAngleBracketInTypeParametersOption);// }// final Object insertSpaceBeforeClosingBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER);// if (insertSpaceBeforeClosingBraceInArrayInitializerOption != null) {// this.insert_space_before_closing_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingBraceInArrayInitializerOption);// }// final Object insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption != null) {// this.insert_space_before_closing_bracket_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption);// }// final Object insertSpaceBeforeClosingBracketInArrayReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_REFERENCE);// if (insertSpaceBeforeClosingBracketInArrayReferenceOption != null) {// this.insert_space_before_closing_bracket_in_array_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingBracketInArrayReferenceOption);// }// final Object insertSpaceBeforeClosingParenInCastOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST);// if (insertSpaceBeforeClosingParenInCastOption != null) {// this.insert_space_before_closing_paren_in_cast = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInCastOption);// }// final Object insertSpaceBeforeClosingParenInCatchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH);// if (insertSpaceBeforeClosingParenInCatchOption != null) {// this.insert_space_before_closing_paren_in_catch = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInCatchOption);// }// final Object insertSpaceBeforeClosingParenInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBeforeClosingParenInConstructorDeclarationOption != null) {// this.insert_space_before_closing_paren_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInConstructorDeclarationOption);// }// final Object insertSpaceBeforeClosingParenInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ENUM_CONSTANT);// if (insertSpaceBeforeClosingParenInEnumConstantOption != null) {// this.insert_space_before_closing_paren_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInEnumConstantOption);// }// final Object insertSpaceBeforeClosingParenInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR);// if (insertSpaceBeforeClosingParenInForOption != null) {// this.insert_space_before_closing_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInForOption);// }// final Object insertSpaceBeforeClosingParenInIfOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF);// if (insertSpaceBeforeClosingParenInIfOption != null) {// this.insert_space_before_closing_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInIfOption);// }// final Object insertSpaceBeforeClosingParenInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION);// if (insertSpaceBeforeClosingParenInMethodDeclarationOption != null) {// this.insert_space_before_closing_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInMethodDeclarationOption);// }// final Object insertSpaceBeforeClosingParenInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION);// if (insertSpaceBeforeClosingParenInMethodInvocationOption != null) {// this.insert_space_before_closing_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInMethodInvocationOption);// }// final Object insertSpaceBeforeClosingParenInParenthesizedExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_PARENTHESIZED_EXPRESSION);// if (insertSpaceBeforeClosingParenInParenthesizedExpressionOption != null) {// this.insert_space_before_closing_paren_in_parenthesized_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInParenthesizedExpressionOption);// }// final Object insertSpaceBeforeClosingParenInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH);// if (insertSpaceBeforeClosingParenInSwitchOption != null) {// this.insert_space_before_closing_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInSwitchOption);// }// final Object insertSpaceBeforeClosingParenInSynchronizedOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SYNCHRONIZED);// if (insertSpaceBeforeClosingParenInSynchronizedOption != null) {// this.insert_space_before_closing_paren_in_synchronized = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInSynchronizedOption);// }// final Object insertSpaceBeforeClosingParenInWhileOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE);// if (insertSpaceBeforeClosingParenInWhileOption != null) {// this.insert_space_before_closing_paren_in_while = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInWhileOption);// }// final Object insertSpaceBeforeColonInAssertOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_ASSERT);// if (insertSpaceBeforeColonInAssertOption != null) {// this.insert_space_before_colon_in_assert = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInAssertOption);// }// final Object insertSpaceBeforeColonInCaseOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE);// if (insertSpaceBeforeColonInCaseOption != null) {// this.insert_space_before_colon_in_case = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInCaseOption);// }// final Object insertSpaceBeforeColonInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL);// if (insertSpaceBeforeColonInConditionalOption != null) {// this.insert_space_before_colon_in_conditional = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInConditionalOption);// }// final Object insertSpaceBeforeColonInDefaultOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT);// if (insertSpaceBeforeColonInDefaultOption != null) {// this.insert_space_before_colon_in_default = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInDefaultOption);// }// final Object insertSpaceBeforeColonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_FOR);// if (insertSpaceBeforeColonInForOption != null) {// this.insert_space_before_colon_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInForOption);// }// final Object insertSpaceBeforeColonInLabeledStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT);// if (insertSpaceBeforeColonInLabeledStatementOption != null) {// this.insert_space_before_colon_in_labeled_statement = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInLabeledStatementOption);// }// final Object insertSpaceBeforeCommaInAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION);// if (insertSpaceBeforeCommaInAllocationExpressionOption != null) {// this.insert_space_before_comma_in_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInAllocationExpressionOption);// }// final Object insertSpaceBeforeCommaInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER);// if (insertSpaceBeforeCommaInArrayInitializerOption != null) {// this.insert_space_before_comma_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInArrayInitializerOption);// }// final Object insertSpaceBeforeCommaInConstructorDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS);// if (insertSpaceBeforeCommaInConstructorDeclarationParametersOption != null) {// this.insert_space_before_comma_in_constructor_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInConstructorDeclarationParametersOption);// }// final Object insertSpaceBeforeCommaInConstructorDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS);// if (insertSpaceBeforeCommaInConstructorDeclarationThrowsOption != null) {// this.insert_space_before_comma_in_constructor_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInConstructorDeclarationThrowsOption);// }// final Object insertSpaceBeforeCommaInEnumConstantArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_CONSTANT_ARGUMENTS);// if (insertSpaceBeforeCommaInEnumConstantArgumentsOption != null) {// this.insert_space_before_comma_in_enum_constant_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInEnumConstantArgumentsOption);// }// final Object insertSpaceBeforeCommaInEnumDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS);// if (insertSpaceBeforeCommaInEnumDeclarationsOption != null) {// this.insert_space_before_comma_in_enum_declarations = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInEnumDeclarationsOption);// }// final Object insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS);// if (insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption != null) {// this.insert_space_before_comma_in_explicit_constructor_call_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption);// }// final Object insertSpaceBeforeCommaInForIncrementsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INCREMENTS);// if (insertSpaceBeforeCommaInForIncrementsOption != null) {// this.insert_space_before_comma_in_for_increments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInForIncrementsOption);// }// final Object insertSpaceBeforeCommaInForInitsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INITS);// if (insertSpaceBeforeCommaInForInitsOption != null) {// this.insert_space_before_comma_in_for_inits = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInForInitsOption);// }// final Object insertSpaceBeforeCommaInMethodInvocationArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS);// if (insertSpaceBeforeCommaInMethodInvocationArgumentsOption != null) {// this.insert_space_before_comma_in_method_invocation_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMethodInvocationArgumentsOption);// }// final Object insertSpaceBeforeCommaInMethodDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS);// if (insertSpaceBeforeCommaInMethodDeclarationParametersOption != null) {// this.insert_space_before_comma_in_method_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMethodDeclarationParametersOption);// }// final Object insertSpaceBeforeCommaInMethodDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS);// if (insertSpaceBeforeCommaInMethodDeclarationThrowsOption != null) {// this.insert_space_before_comma_in_method_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMethodDeclarationThrowsOption);// }// final Object insertSpaceBeforeCommaInMultipleFieldDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS);// if (insertSpaceBeforeCommaInMultipleFieldDeclarationsOption != null) {// this.insert_space_before_comma_in_multiple_field_declarations = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMultipleFieldDeclarationsOption);// }// final Object insertSpaceBeforeCommaInMultipleLocalDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS);// if (insertSpaceBeforeCommaInMultipleLocalDeclarationsOption != null) {// this.insert_space_before_comma_in_multiple_local_declarations = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMultipleLocalDeclarationsOption);// }// final Object insertSpaceBeforeCommaInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceBeforeCommaInParameterizedTypeReferenceOption != null) {// this.insert_space_before_comma_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInParameterizedTypeReferenceOption);// }// final Object insertSpaceBeforeCommaInSuperinterfacesOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_SUPERINTERFACES);// if (insertSpaceBeforeCommaInSuperinterfacesOption != null) {// this.insert_space_before_comma_in_superinterfaces = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInSuperinterfacesOption);// }// final Object insertSpaceBeforeCommaInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_ARGUMENTS);// if (insertSpaceBeforeCommaInTypeArgumentsOption != null) {// this.insert_space_before_comma_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInTypeArgumentsOption);// }// final Object insertSpaceBeforeCommaInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_PARAMETERS);// if (insertSpaceBeforeCommaInTypeParametersOption != null) {// this.insert_space_before_comma_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInTypeParametersOption);// }// final Object insertSpaceBeforeEllipsisOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ELLIPSIS);// if (insertSpaceBeforeEllipsisOption != null) {// this.insert_space_before_ellipsis = CCorePlugin.INSERT.equals(insertSpaceBeforeEllipsisOption);// }// final Object insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption != null) {// this.insert_space_before_opening_angle_bracket_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption);// }// final Object insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption != null) {// this.insert_space_before_opening_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption);// }// final Object insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption != null) {// this.insert_space_before_opening_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption);// }// final Object insertSpaceBeforeOpeningBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER);// if (insertSpaceBeforeOpeningBraceInArrayInitializerOption != null) {// this.insert_space_before_opening_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInArrayInitializerOption);// }// final Object insertSpaceBeforeOpeningBraceInBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK);// if (insertSpaceBeforeOpeningBraceInBlockOption != null) {// this.insert_space_before_opening_brace_in_block = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInBlockOption);// }// final Object insertSpaceBeforeOpeningBraceInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBeforeOpeningBraceInConstructorDeclarationOption != null) {// this.insert_space_before_opening_brace_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInConstructorDeclarationOption);// }// final Object insertSpaceBeforeOpeningBraceInEnumDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_DECLARATION);// if (insertSpaceBeforeOpeningBraceInEnumDeclarationOption != null) {// this.insert_space_before_opening_brace_in_enum_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInEnumDeclarationOption);// }// final Object insertSpaceBeforeOpeningBraceInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_CONSTANT);// if (insertSpaceBeforeOpeningBraceInEnumConstantOption != null) {// this.insert_space_before_opening_brace_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInEnumConstantOption);// }// final Object insertSpaceBeforeOpeningBraceInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION);// if (insertSpaceBeforeOpeningBraceInMethodDeclarationOption != null) {// this.insert_space_before_opening_brace_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInMethodDeclarationOption);// }// final Object insertSpaceBeforeOpeningBraceInTypeDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION);// if (insertSpaceBeforeOpeningBraceInTypeDeclarationOption != null) {// this.insert_space_before_opening_brace_in_type_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInTypeDeclarationOption);// }// final Object insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption != null) {// this.insert_space_before_opening_bracket_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption);// }// final Object insertSpaceBeforeOpeningBracketInArrayReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_REFERENCE);// if (insertSpaceBeforeOpeningBracketInArrayReferenceOption != null) {// this.insert_space_before_opening_bracket_in_array_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayReferenceOption);// }// final Object insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_TYPE_REFERENCE);// if (insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption != null) {// this.insert_space_before_opening_bracket_in_array_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption);// }// final Object insertSpaceBeforeOpeningParenInCatchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH);// if (insertSpaceBeforeOpeningParenInCatchOption != null) {// this.insert_space_before_opening_paren_in_catch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInCatchOption);// }// final Object insertSpaceBeforeOpeningParenInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBeforeOpeningParenInConstructorDeclarationOption != null) {// this.insert_space_before_opening_paren_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInConstructorDeclarationOption);// }// final Object insertSpaceBeforeOpeningParenInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ENUM_CONSTANT);// if (insertSpaceBeforeOpeningParenInEnumConstantOption != null) {// this.insert_space_before_opening_paren_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInEnumConstantOption);// }// final Object insertSpaceBeforeOpeningParenInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR);// if (insertSpaceBeforeOpeningParenInForOption != null) {// this.insert_space_before_opening_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInForOption);// }// final Object insertSpaceBeforeOpeningParenInIfOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF);// if (insertSpaceBeforeOpeningParenInIfOption != null) {// this.insert_space_before_opening_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInIfOption);// }// final Object insertSpaceBeforeOpeningParenInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION);// if (insertSpaceBeforeOpeningParenInMethodInvocationOption != null) {// this.insert_space_before_opening_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInMethodInvocationOption);// }// final Object insertSpaceBeforeOpeningParenInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION);// if (insertSpaceBeforeOpeningParenInMethodDeclarationOption != null) {// this.insert_space_before_opening_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInMethodDeclarationOption);// }// final Object insertSpaceBeforeOpeningParenInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH);// if (insertSpaceBeforeOpeningParenInSwitchOption != null) {// this.insert_space_before_opening_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInSwitchOption);// }// final Object insertSpaceBeforeOpeningBraceInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH);// if (insertSpaceBeforeOpeningBraceInSwitchOption != null) {// this.insert_space_before_opening_brace_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInSwitchOption);// }// final Object insertSpaceBeforeOpeningParenInSynchronizedOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SYNCHRONIZED);// if (insertSpaceBeforeOpeningParenInSynchronizedOption != null) {// this.insert_space_before_opening_paren_in_synchronized = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInSynchronizedOption);// }// final Object insertSpaceBeforeOpeningParenInParenthesizedExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION);// if (insertSpaceBeforeOpeningParenInParenthesizedExpressionOption != null) {// this.insert_space_before_opening_paren_in_parenthesized_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInParenthesizedExpressionOption);// }// final Object insertSpaceBeforeOpeningParenInWhileOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE);// if (insertSpaceBeforeOpeningParenInWhileOption != null) {// this.insert_space_before_opening_paren_in_while = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInWhileOption);// }// final Object insertSpaceBeforeParenthesizedExpressionInReturnOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_RETURN);// if (insertSpaceBeforeParenthesizedExpressionInReturnOption != null) {// this.insert_space_before_parenthesized_expression_in_return = CCorePlugin.INSERT.equals(insertSpaceBeforeParenthesizedExpressionInReturnOption);// }// final Object insertSpaceBeforePostfixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR);// if (insertSpaceBeforePostfixOperatorOption != null) {// this.insert_space_before_postfix_operator = CCorePlugin.INSERT.equals(insertSpaceBeforePostfixOperatorOption);// }// final Object insertSpaceBeforePrefixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR);// if (insertSpaceBeforePrefixOperatorOption != null) {// this.insert_space_before_prefix_operator = CCorePlugin.INSERT.equals(insertSpaceBeforePrefixOperatorOption);// }// final Object insertSpaceBeforeQuestionInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL);// if (insertSpaceBeforeQuestionInConditionalOption != null) {// this.insert_space_before_question_in_conditional = CCorePlugin.INSERT.equals(insertSpaceBeforeQuestionInConditionalOption);// }// final Object insertSpaceBeforeQuestionInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_WILDCARD);// if (insertSpaceBeforeQuestionInWildcardOption != null) {// this.insert_space_before_question_in_wilcard = CCorePlugin.INSERT.equals(insertSpaceBeforeQuestionInWildcardOption);// }// final Object insertSpaceBeforeSemicolonOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON);// if (insertSpaceBeforeSemicolonOption != null) {// this.insert_space_before_semicolon = CCorePlugin.INSERT.equals(insertSpaceBeforeSemicolonOption);// }// final Object insertSpaceBeforeSemicolonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR);// if (insertSpaceBeforeSemicolonInForOption != null) {// this.insert_space_before_semicolon_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeSemicolonInForOption);// }// final Object insertSpaceBeforeUnaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR);// if (insertSpaceBeforeUnaryOperatorOption != null) {// this.insert_space_before_unary_operator = CCorePlugin.INSERT.equals(insertSpaceBeforeUnaryOperatorOption);// }// final Object insertSpaceBetweenBracketsInArrayTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_TYPE_REFERENCE);// if (insertSpaceBetweenBracketsInArrayTypeReferenceOption != null) {// this.insert_space_between_brackets_in_array_type_reference = CCorePlugin.INSERT.equals(insertSpaceBetweenBracketsInArrayTypeReferenceOption);// }// final Object insertSpaceBetweenEmptyBracesInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER);// if (insertSpaceBetweenEmptyBracesInArrayInitializerOption != null) {// this.insert_space_between_empty_braces_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyBracesInArrayInitializerOption);// }// final Object insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACKETS_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption != null) {// this.insert_space_between_empty_brackets_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption);// }// final Object insertSpaceBetweenEmptyParensInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBetweenEmptyParensInConstructorDeclarationOption != null) {// this.insert_space_between_empty_parens_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInConstructorDeclarationOption);// }// final Object insertSpaceBetweenEmptyParensInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ENUM_CONSTANT);// if (insertSpaceBetweenEmptyParensInEnumConstantOption != null) {// this.insert_space_between_empty_parens_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInEnumConstantOption);// }// final Object insertSpaceBetweenEmptyParensInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION);// if (insertSpaceBetweenEmptyParensInMethodDeclarationOption != null) {// this.insert_space_between_empty_parens_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInMethodDeclarationOption);// }// final Object insertSpaceBetweenEmptyParensInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION);// if (insertSpaceBetweenEmptyParensInMethodInvocationOption != null) {// this.insert_space_between_empty_parens_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInMethodInvocationOption);// }// final Object compactElseIfOption = settings.get(CodeFormatterConstants.FORMATTER_COMPACT_ELSE_IF);// if (compactElseIfOption != null) {// this.compact_else_if = CodeFormatterConstants.TRUE.equals(compactElseIfOption);// }// final Object keepGuardianClauseOnOneLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE);// if (keepGuardianClauseOnOneLineOption != null) {// this.keep_guardian_clause_on_one_line = CodeFormatterConstants.TRUE.equals(keepGuardianClauseOnOneLineOption);// }// final Object keepElseStatementOnSameLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE);// if (keepElseStatementOnSameLineOption != null) {// this.keep_else_statement_on_same_line = CodeFormatterConstants.TRUE.equals(keepElseStatementOnSameLineOption);// }// final Object keepEmptyArrayInitializerOnOneLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE);// if (keepEmptyArrayInitializerOnOneLineOption != null) {// this.keep_empty_array_initializer_on_one_line = CodeFormatterConstants.TRUE.equals(keepEmptyArrayInitializerOnOneLineOption);// }// final Object keepSimpleIfOnOneLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE);// if (keepSimpleIfOnOneLineOption != null) {// this.keep_simple_if_on_one_line = CodeFormatterConstants.TRUE.equals(keepSimpleIfOnOneLineOption);// }// final Object keepThenStatementOnSameLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE);// if (keepThenStatementOnSameLineOption != null) {// this.keep_then_statement_on_same_line = CodeFormatterConstants.TRUE.equals(keepThenStatementOnSameLineOption);// }// final Object numberOfEmptyLinesToPreserveOption = settings.get(CodeFormatterConstants.FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE);// if (numberOfEmptyLinesToPreserveOption != null) {// try {// this.number_of_empty_lines_to_preserve = Integer.parseInt((String) numberOfEmptyLinesToPreserveOption);// } catch (NumberFormatException e) {// this.number_of_empty_lines_to_preserve = 0;// } catch(ClassCastException e) {// this.number_of_empty_lines_to_preserve = 0;// }// }// final Object putEmptyStatementOnNewLineOption = settings.get(CodeFormatterConstants.FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE);// if (putEmptyStatementOnNewLineOption != null) {// this.put_empty_statement_on_new_line = CodeFormatterConstants.TRUE.equals(putEmptyStatementOnNewLineOption);// } final Object tabSizeOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_TAB_SIZE); if (tabSizeOption != null) { try { this.tab_size = Integer.parseInt((String) tabSizeOption); } catch (NumberFormatException e) { this.tab_size = 4; } catch(ClassCastException e) { this.tab_size = 4; } } final Object useTabsOnlyForLeadingIndentationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS); if (useTabsOnlyForLeadingIndentationsOption != null) { this.use_tabs_only_for_leading_indentations = DefaultCodeFormatterConstants.TRUE.equals(useTabsOnlyForLeadingIndentationsOption); } final Object pageWidthOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_LINE_SPLIT); if (pageWidthOption != null) { try { this.page_width = Integer.parseInt((String) pageWidthOption); } catch (NumberFormatException e) { this.page_width = 80; } catch(ClassCastException e) { this.page_width = 80; } } final Object useTabOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR); if (useTabOption != null) { if (CCorePlugin.TAB.equals(useTabOption)) { this.tab_char = TAB; } else if (CCorePlugin.SPACE.equals(useTabOption)) { this.tab_char = SPACE; } else { this.tab_char = MIXED; } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/12f3dd59c579048e11942c9768bb3f6c6a45e156/DefaultCodeFormatterOptions.java/clean/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/formatter/DefaultCodeFormatterOptions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 12, 863, 1947, 13, 288, 202, 202, 6385, 1033, 8710, 1290, 4628, 382, 17353, 2300, 1895, 273, 1947, 18, 588, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26439, 3212, 67, 7473, 67, 18311, 55, 67, 706, 67, 1013, 15277, 67, 19111, 1769, 202, 202, 430, 261, 14409, 1290, 4628, 382, 17353, 2300, 1895, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 29299, 67, 8692, 273, 2144, 18, 2670, 1702, 12443, 780, 13, 8710, 1290, 4628, 382, 17353, 2300, 1895, 1769, 1082, 202, 97, 1044, 261, 1854, 9291, 425, 13, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 29299, 67, 8692, 273, 17804, 18, 49, 67, 4208, 4066, 1268, 67, 17482, 31, 1082, 202, 97, 1044, 261, 797, 22768, 425, 13, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 29299, 67, 8692, 273, 17804, 18, 49, 67, 4208, 4066, 1268, 67, 17482, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 6385, 1033, 8710, 1290, 4628, 382, 3572, 6902, 1895, 273, 1947, 18, 588, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26439, 3212, 67, 7473, 67, 18311, 55, 67, 706, 67, 16509, 67, 25878, 1769, 202, 202, 430, 261, 14409, 1290, 4628, 382, 3572, 6902, 1895, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 7924, 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, 444, 12, 863, 1947, 13, 288, 202, 202, 6385, 1033, 8710, 1290, 4628, 382, 17353, 2300, 1895, 273, 1947, 18, 588, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26439, 3212, 67, 7473, 67, 18311, 55, 67, 706, 67, 1013, 15277, 67, 19111, 1769, 202, 202, 430, 261, 14409, 1290, 4628, 382, 17353, 2300, 1895, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 29299, 67, 8692, 273, 2144, 18, 2670, 1702, 12443, 780, 13, 8710, 1290, 4628, 382, 17353, 2300, 1895, 1769, 1082, 202, 97, 1044, 261, 1854, 9291, 425, 13, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 2 ]
public java.util.List get(int position, int noOfObjects) throws HibernateSearchException
public java.util.List get(int position, int noOfObjects) throws HibernateSearchException
public java.util.List get(int position, int noOfObjects) throws HibernateSearchException { java.util.List returnList = new java.util.ArrayList(); java.util.List list = new java.util.ArrayList(); Session session = null; try { session=getSession(); Query query=prepareQuery(session,queryInputs.getQueryStrings()[1]); query.setFirstResult(position); query.setMaxResults(noOfObjects); list=query.list(); this.queryInputs.setTypes(query.getReturnTypes()); dtoBuilder.setInputs(queryInputs); Query query1 = session.createQuery("select account.globalAccountNum from org.mifos.application.accounts.business.AccountBO account where account.customer.customerId=:customerId and account.accountType.accountTypeId=:accountTypeId and account.accountState.id not in (6,7,9,10,15,17,18) "); if(list!=null) { for(int i=0;i < list.size(); i++) { if(buildDTO) { Object record = buildDTO((Object[])list.get(i)); CustomerSearch cs = ((CustomerSearch)record); query1.setInteger("customerId",cs.getCustomerId()).setShort("accountTypeId",(short)1); cs.setLoanGlobalAccountNum(query1.list()); query1.setShort("accountTypeId",(short)2); cs.setSavingsGlobalAccountNum(query1.list()); returnList.add(cs); } else { if(i<noOfObjects) { returnList.add(list.get(i)); } } } } close(); } catch(Exception e) { throw new HibernateSearchException(HibernateConstants.SEARCH_FAILED,e); } return returnList; }
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/a2a86f9a1a863775511eeb8b1f97d5c210146a39/QueryResultsMainSearchImpl.java/clean/mifos/src/org/mifos/framework/hibernate/helper/QueryResultsMainSearchImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 1071, 2252, 18, 1367, 18, 682, 336, 12, 474, 1754, 16, 509, 1158, 951, 4710, 13, 1216, 670, 24360, 2979, 503, 202, 565, 288, 202, 4697, 3196, 202, 6290, 18, 1367, 18, 682, 327, 682, 273, 394, 2252, 18, 1367, 18, 19558, 5621, 9506, 3196, 202, 6290, 18, 1367, 18, 682, 666, 273, 394, 2252, 18, 1367, 18, 19558, 5621, 1082, 377, 202, 2157, 1339, 273, 446, 31, 1082, 377, 9506, 377, 202, 698, 1082, 377, 202, 95, 1082, 377, 202, 202, 3184, 33, 588, 2157, 5621, 202, 377, 1082, 26924, 377, 202, 202, 1138, 843, 33, 9366, 1138, 12, 3184, 16, 2271, 10059, 18, 588, 1138, 7957, 1435, 63, 21, 19226, 9506, 377, 6862, 377, 202, 2271, 18, 542, 3759, 1253, 12, 3276, 1769, 9506, 377, 202, 2271, 18, 542, 18916, 12, 2135, 951, 4710, 1769, 9506, 377, 6862, 377, 202, 1098, 33, 2271, 18, 1098, 5621, 9506, 377, 6862, 377, 202, 2211, 18, 2271, 10059, 18, 542, 2016, 12, 2271, 18, 588, 990, 2016, 10663, 9506, 377, 6862, 377, 202, 72, 869, 1263, 18, 542, 10059, 12, 2271, 10059, 1769, 9506, 377, 202, 1138, 843, 21, 273, 1339, 18, 2640, 1138, 2932, 4025, 2236, 18, 6347, 3032, 2578, 628, 2358, 18, 81, 430, 538, 18, 3685, 18, 13739, 18, 24510, 18, 3032, 5315, 2236, 1625, 2236, 18, 10061, 18, 10061, 548, 23507, 10061, 548, 471, 2236, 18, 4631, 559, 18, 4631, 11731, 23507, 4631, 11731, 471, 225, 2236, 18, 4631, 1119, 18, 350, 486, 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, 1071, 2252, 18, 1367, 18, 682, 336, 12, 474, 1754, 16, 509, 1158, 951, 4710, 13, 1216, 670, 24360, 2979, 503, 202, 565, 288, 202, 4697, 3196, 202, 6290, 18, 1367, 18, 682, 327, 682, 273, 394, 2252, 18, 1367, 18, 19558, 5621, 9506, 3196, 202, 6290, 18, 1367, 18, 682, 666, 273, 394, 2252, 18, 1367, 18, 19558, 5621, 1082, 377, 202, 2157, 1339, 273, 446, 31, 1082, 377, 9506, 377, 202, 698, 1082, 377, 202, 95, 1082, 377, 202, 202, 3184, 33, 588, 2157, 5621, 202, 377, 1082, 26924, 377, 202, 202, 1138, 843, 33, 9366, 1138, 12, 3184, 16, 2271, 10059, 18, 588, 1138, 7957, 1435, 63, 21, 19226, 9506, 377, 6862, 377, 202, 2271, 2 ]
fail();
fail("NPE expected");
public void testWriteStatement_Null() { MockEncoder enc = new MockEncoder(); try { enc.writeStatement(null); fail(); } catch (NullPointerException e) { // expected } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/bdaa0ab7892902df02c31cf7e4bbe4e8f5f0b280/EncoderTest.java/buggy/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/EncoderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3067, 3406, 67, 2041, 1435, 288, 3639, 7867, 7204, 2446, 273, 394, 7867, 7204, 5621, 3639, 775, 288, 5411, 2446, 18, 2626, 3406, 12, 2011, 1769, 5411, 2321, 2932, 50, 1423, 2665, 8863, 3639, 289, 1044, 261, 2041, 9992, 425, 13, 288, 5411, 368, 2665, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3067, 3406, 67, 2041, 1435, 288, 3639, 7867, 7204, 2446, 273, 394, 7867, 7204, 5621, 3639, 775, 288, 5411, 2446, 18, 2626, 3406, 12, 2011, 1769, 5411, 2321, 2932, 50, 1423, 2665, 8863, 3639, 289, 1044, 261, 2041, 9992, 425, 13, 288, 5411, 368, 2665, 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 ]
+ "," + restartCount + ")");
+ ',' + restartCount + ')');
protected HookedFileBucketOutputStream( String s, long restartCount) throws IOException { super(s, restartCount); streams.addElement(this); if (Logger.shouldLog(Logger.DEBUG, this)) Logger.debug( this, "Created HookedFileBucketOutputStream(" + s + "," + restartCount + ")"); }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/62fd59041864b4ed1f43adc676de6bfb5ea977f3/TempFileBucket.java/buggy/src/freenet/support/io/TempFileBucket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 13725, 329, 812, 4103, 4632, 12, 1082, 202, 780, 272, 16, 1082, 202, 5748, 7870, 1380, 13, 1082, 202, 15069, 1860, 288, 1082, 202, 9565, 12, 87, 16, 7870, 1380, 1769, 1082, 202, 16320, 18, 1289, 1046, 12, 2211, 1769, 1082, 202, 430, 261, 3328, 18, 13139, 1343, 12, 3328, 18, 9394, 16, 333, 3719, 9506, 202, 3328, 18, 4148, 12, 6862, 202, 2211, 16, 6862, 202, 6, 6119, 13725, 329, 812, 4103, 4632, 2932, 25083, 202, 15, 272, 25083, 202, 15, 5753, 25083, 202, 15, 7870, 1380, 25083, 202, 15, 7310, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 13725, 329, 812, 4103, 4632, 12, 1082, 202, 780, 272, 16, 1082, 202, 5748, 7870, 1380, 13, 1082, 202, 15069, 1860, 288, 1082, 202, 9565, 12, 87, 16, 7870, 1380, 1769, 1082, 202, 16320, 18, 1289, 1046, 12, 2211, 1769, 1082, 202, 430, 261, 3328, 18, 13139, 1343, 12, 3328, 18, 9394, 16, 333, 3719, 9506, 202, 3328, 18, 4148, 12, 6862, 202, 2211, 16, 6862, 202, 6, 6119, 13725, 329, 812, 4103, 4632, 2932, 25083, 202, 15, 272, 25083, 202, 15, 5753, 25083, 202, 15, 7870, 1380, 25083, 202, 15, 7310, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int xpos = 0; int ypos = 0;
public void stateChanged(ChangeEvent event) { int xpos = 0; int ypos = 0; JScrollBar vsb = JScrollPane.this.getVerticalScrollBar(); JScrollBar hsb = JScrollPane.this.getHorizontalScrollBar(); if (vsb != null) { BoundedRangeModel vmod = vsb.getModel(); if (vmod != null) ypos = vmod.getValue(); } if (hsb != null) { BoundedRangeModel hmod = hsb.getModel(); if (hmod != null) xpos = hmod.getValue(); } if (JScrollPane.this.viewport != null) JScrollPane.this.viewport.setViewPosition(new Point(xpos, ypos)); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/49e488b8530051383b90b1357fa767c87c9ff7f5/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 919, 5033, 12, 20930, 871, 13, 3639, 288, 1850, 509, 30031, 273, 374, 31, 1850, 509, 30968, 273, 374, 31, 1850, 804, 6806, 5190, 6195, 70, 273, 804, 26360, 18, 2211, 18, 588, 15704, 6806, 5190, 5621, 1850, 804, 6806, 5190, 12670, 70, 273, 804, 26360, 18, 2211, 18, 588, 14457, 6806, 5190, 5621, 10792, 309, 261, 6904, 70, 480, 446, 13, 5411, 288, 2868, 605, 12002, 2655, 1488, 331, 1711, 273, 6195, 70, 18, 588, 1488, 5621, 2868, 309, 261, 90, 1711, 480, 446, 13, 7734, 30968, 273, 331, 1711, 18, 24805, 5621, 5411, 289, 1850, 309, 261, 4487, 70, 480, 446, 13, 5411, 288, 2868, 605, 12002, 2655, 1488, 366, 1711, 273, 12670, 70, 18, 588, 1488, 5621, 2868, 309, 261, 76, 1711, 480, 446, 13, 7734, 30031, 273, 366, 1711, 18, 24805, 5621, 5411, 289, 1850, 309, 261, 46, 26360, 18, 2211, 18, 28852, 480, 446, 13, 5411, 804, 26360, 18, 2211, 18, 28852, 18, 542, 1767, 2555, 12, 2704, 4686, 12, 92, 917, 16, 30968, 10019, 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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, 5190, 5621, 1850, 804, 6806, 5190, 12670, 70, 273, 804, 26360, 18, 2211, 18, 588, 14457, 6806, 5190, 5621, 10792, 309, 261, 6904, 70, 480, 446, 13, 5411, 288, 2868, 605, 12002, 2655, 1488, 331, 1711, 273, 6195, 70, 18, 588, 1488, 5621, 2868, 309, 261, 90, 1711, 480, 446, 13, 7734, 30968, 273, 331, 1711, 18, 24805, 5621, 5411, 289, 1850, 309, 261, 4487, 70, 480, 446, 13, 5411, 288, 2868, 605, 12002, 2655, 1488, 366, 1711, 273, 12670, 70, 2 ]
}
} System.err.println("WTF? Restart returned!?");
void innerUpdate(){ Logger.minor(this, "Update() called"); synchronized(this) { if((result == null) || hasBeenBlown) { Logger.minor(this, "Returning: result="+result+", isAutoUpdateAllowed="+isAutoUpdateAllowed+", hasBeenBlown="+hasBeenBlown); return; } this.revocationDNFCounter = 0; this.finalCheck = true; } System.err.println("Searching for revocation key"); this.queueFetchRevocation(100); synchronized(this) { while(revocationDNFCounter < 3) { System.err.println("Revocation counter: "+revocationDNFCounter); if(this.hasBeenBlown) { Logger.error(this, "The revocation key has been found on the network : blocking auto-update"); return; } try { wait(100*1000); } catch (InterruptedException e) { // Ignore } } } System.err.println("Update in progress"); Logger.normal(this, "Update in progress"); try{ ArrayBucket bucket = (ArrayBucket) result.asBucket(); byte[] data = bucket.toByteArray(); File fRunning = new File("freenet-cvs-snapshot.jar"); File fNew = new File("freenet-cvs-snapshot.jar.new"); boolean nastyRestart = false; if(File.separatorChar != '\\') { // Do nothing. } else { nastyRestart = true; Properties p = WrapperManager.getProperties(); String cp1 = p.getProperty("wrapper.java.classpath.1"); if(cp1.equals("freenet-cvs-snapshot.jar")) { // Cool! } else if(cp1.equals("freenet-cvs-snapshot.jar.new")) { // Swapped; we are running .new File tmp = fRunning; fRunning = fNew; fNew = tmp; } else { cp1 = p.getProperty("wrapper.java.classpath.2"); if(cp1.equals("freenet-cvs-snapshot.jar")) { // Cool! } else if(cp1.equals("freenet-cvs-snapshot.jar.new")) { // Swapped; we are running .new File tmp = fRunning; fRunning = fNew; fNew = tmp; } else { Logger.error(this, "Cannot restart on Windows due to non-standard config file!"); System.err.println("Cannot restart on Windows due to non-standard config file!"); return; } } } fNew.delete(); FileOutputStream fos = new FileOutputStream(fNew); fos.write(data); fos.flush(); fos.close(); System.out.println("################## File written! "+cg.getURI().getSuggestedEdition()+ " " +fNew.getAbsolutePath()); if(!nastyRestart) { // Easy way. if(!fNew.renameTo(fRunning)) { fRunning.delete(); if(!fNew.renameTo(fRunning)) { System.err.println("ERROR renaming the file!"); return; } } } else { // Hard way. if(!WrapperManager.isControlledByNativeWrapper()) { Logger.error(this, "Cannot update because not running under wrapper"); System.err.println("Cannot update because not running under wrapper"); return; } try { File oldConfig = new File("wrapper.conf"); File newConfig = new File("wrapper.conf.new"); FileInputStream fis = new FileInputStream(oldConfig); BufferedInputStream bis = new BufferedInputStream(fis); InputStreamReader isr = new InputStreamReader(bis); BufferedReader br = new BufferedReader(isr); fos = new FileOutputStream(newConfig); BufferedOutputStream bos = new BufferedOutputStream(fos); OutputStreamWriter osw = new OutputStreamWriter(fos); BufferedWriter bw = new BufferedWriter(osw); String line; boolean succeeded = false; boolean stillSucceeded = false; while((line = br.readLine()) != null) { if(line.equals("wrapper.java.classpath.1="+fRunning.getName())) { bw.write("wrapper.java.classpath.1="+fNew.getName()+"\r\n"); succeeded = true; } else if(line.equals("wrapper.java.classpath.2="+fRunning.getName())) { bw.write("wrapper.java.classpath.2="+fNew.getName()+"\r\n"); succeeded = true; } else { if(line.equals("wrapper.restart.reload_configuration=TRUE")) stillSucceeded = true; bw.write(line+"\r\n"); } } bw.close(); br.close(); if(!succeeded) { System.err.println("Not able to update because of non-standard config"); Logger.error(this, "Not able to update because of non-standard config"); return; } if(!stillSucceeded) { System.err.println("Not able to update because of non-standard or old config, add a line saying \"wrapper.restart.reload_configuration=TRUE\""); Logger.error(this, "Not able to update because of non-standard or old config, add a line saying \"wrapper.restart.reload_configuration=TRUE\""); return; } if(!newConfig.renameTo(oldConfig)) { oldConfig.delete(); if(!newConfig.renameTo(oldConfig)) { System.err.println("Failed to rename over old config: update failed."); Logger.error(this, "Failed to rename over old config: update failed."); return; } } // New config installed. } catch (IOException e) { Logger.error(this, "Not able to update because of I/O error: "+e, e); System.err.println("Not able to update because of I/O error: "+e); } } if(node.getNodeStarter()!=null) { System.err.println("Restarting because of update"); node.getNodeStarter().restart(); System.err.println("Restart returned!?"); } else{ System.out.println("New version has been downloaded: please restart your node!"); node.exit(); } }catch(Exception e){ Logger.error(this, "Error while updating the node : "+e); System.out.println("Exception : "+e); e.printStackTrace(); } }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/d296236f0c3888b3327dcc9ff86ef0475d1d33dd/NodeUpdater.java/buggy/src/freenet/node/updater/NodeUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 3443, 1891, 1435, 95, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 1891, 1435, 2566, 8863, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12443, 2088, 422, 446, 13, 747, 711, 25931, 38, 821, 82, 13, 288, 9506, 202, 3328, 18, 17364, 12, 2211, 16, 315, 28365, 30, 563, 1546, 15, 2088, 15, 3113, 27079, 1891, 5042, 1546, 15, 291, 4965, 1891, 5042, 15, 3113, 711, 25931, 38, 821, 82, 1546, 15, 5332, 25931, 38, 821, 82, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 2211, 18, 9083, 4431, 8609, 4488, 2096, 273, 374, 31, 1082, 202, 2211, 18, 6385, 1564, 273, 638, 31, 202, 202, 97, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 2979, 310, 364, 24158, 498, 8863, 202, 202, 2211, 18, 4000, 5005, 28691, 12, 6625, 1769, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 17523, 12, 9083, 4431, 8609, 4488, 2096, 411, 890, 13, 288, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 28691, 3895, 30, 13773, 9083, 4431, 8609, 4488, 2096, 1769, 9506, 202, 430, 12, 2211, 18, 5332, 25931, 38, 821, 82, 13, 288, 6862, 202, 3328, 18, 1636, 12, 2211, 16, 315, 1986, 24158, 498, 711, 2118, 1392, 603, 326, 2483, 294, 9445, 3656, 17, 2725, 8863, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 698, 288, 6862, 202, 7048, 12, 6625, 14, 18088, 1769, 9506, 202, 97, 2332, 18, 370, 18, 8222, 2932, 8588, 42, 35, 20709, 2106, 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, 6459, 3443, 1891, 1435, 95, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 1891, 1435, 2566, 8863, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12443, 2088, 422, 446, 13, 747, 711, 25931, 38, 821, 82, 13, 288, 9506, 202, 3328, 18, 17364, 12, 2211, 16, 315, 28365, 30, 563, 1546, 15, 2088, 15, 3113, 27079, 1891, 5042, 1546, 15, 291, 4965, 1891, 5042, 15, 3113, 711, 25931, 38, 821, 82, 1546, 15, 5332, 25931, 38, 821, 82, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 2211, 18, 9083, 4431, 8609, 4488, 2096, 273, 374, 31, 1082, 202, 2211, 18, 6385, 1564, 273, 638, 31, 202, 202, 97, 9506, 202, 3163, 18, 2 ]
weapons = deployed_ent.getWeaponList(); for (Enumeration i = weapons.elements(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement();
for(Mounted mounted : deployed_ent.getWeaponList()) {
protected Coords[] getStartingCoordsArray() { int test_x, test_y, highest_elev, lowest_elev; int counter, valid_arr_index, arr_x_index; int weapon_count; double av_range, best_fitness, ideal_elev; double[] fitness; double adjusted_damage, max_damage, total_damage; Coords highest_hex = new Coords(); Coords test_hex = new Coords(); Coords[] valid_array; Entity test_ent, deployed_ent; Vector weapons; Vector valid_attackers; Enumeration ammo_slots; deployed_ent = getEntity(game.getFirstDeployableEntityNum()); WeaponAttackAction test_attack; // Create array of hexes in the deployment zone that can be deployed to // Check for prohibited terrain, stacking limits switch (getLocalPlayer().getStartingPos()) { default : case 0 : valid_array = new Coords[game.getBoard().getWidth()*game.getBoard().getHeight()]; fitness = new double[game.getBoard().getWidth()*game.getBoard().getHeight()]; break; case 1 : valid_array = new Coords[(3*game.getBoard().getWidth())+(3*game.getBoard().getHeight())-9]; fitness = new double[(3*game.getBoard().getWidth())+(3*game.getBoard().getHeight())-9]; break; case 2 : valid_array = new Coords[game.getBoard().getWidth()*3]; fitness = new double[game.getBoard().getWidth()*3]; break; case 3 : valid_array = new Coords[(3*game.getBoard().getWidth())+(3*game.getBoard().getHeight())-9]; fitness = new double[(3*game.getBoard().getWidth())+(3*game.getBoard().getHeight())-9]; break; case 4 : valid_array = new Coords[game.getBoard().getHeight()*3]; fitness = new double[game.getBoard().getHeight()*3]; break; case 5 : valid_array = new Coords[(3*game.getBoard().getWidth())+(3*game.getBoard().getHeight())-9]; fitness = new double[(3*game.getBoard().getWidth())+(3*game.getBoard().getHeight())-9]; break; case 6 : valid_array = new Coords[game.getBoard().getWidth()*3]; fitness = new double[game.getBoard().getWidth()*3]; break; case 7 : valid_array = new Coords[(3*game.getBoard().getWidth())+(3*game.getBoard().getHeight())-9]; fitness = new double[(3*game.getBoard().getWidth())+(3*game.getBoard().getHeight())-9]; break; case 8 : valid_array = new Coords[game.getBoard().getHeight()*3]; fitness = new double[game.getBoard().getHeight()*3]; break; } counter = 0; for (test_x = 0; test_x <= game.getBoard().getWidth(); test_x++){ for (test_y = 0; test_y <= game.getBoard().getHeight(); test_y++){ test_hex.x = test_x; test_hex.y = test_y; if (game.getBoard().isLegalDeployment(test_hex, this.getLocalPlayer())){ if (!deployed_ent.isHexProhibited(game.getBoard().getHex(test_hex.x, test_hex.y))) { valid_array[counter] = new Coords(test_hex); counter++; } } } } // Randomize hexes so hexes are not in order // This is to prevent clumping at the upper-left corner on very flat maps for (valid_arr_index = 0; valid_arr_index < counter; valid_arr_index++){ arr_x_index = Compute.randomInt(counter); if (arr_x_index < 0){ arr_x_index = 0; } test_hex = valid_array[valid_arr_index]; valid_array[valid_arr_index] = valid_array[arr_x_index]; valid_array[arr_x_index] = test_hex; } // copy valid hexes into a new array of the correct size, // so we don't return an array that contains null Coords Coords[] valid_new = new Coords[counter]; for (int i = 0; i < counter; i++) { valid_new[i] = valid_array[i]; } valid_array = valid_new; // Now get minimum and maximum elevation levels for these hexes highest_elev = -100; lowest_elev = 100; for (valid_arr_index = 0; valid_arr_index < counter; valid_arr_index++){ if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).getElevation() > highest_elev) { highest_elev = game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).getElevation(); } if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).getElevation() < lowest_elev) { lowest_elev = game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).getElevation(); } } // Calculate average range of all weapons // Do not include ATMs, but DO include each bin of ATM ammo // Increase average range if the unit has an active c3 link av_range = 0.0; weapon_count = 0; weapons = deployed_ent.getWeaponList(); for (Enumeration i = weapons.elements(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement(); WeaponType wtype = (WeaponType)mounted.getType(); if ((wtype.getName() != "ATM 3") && (wtype.getName() != "ATM 6") && (wtype.getName() != "ATM 9") && (wtype.getName() != "ATM 12")){ if (deployed_ent.getC3Master() != null){ av_range += wtype.getLongRange() * 1.25; } else { av_range += wtype.getLongRange(); } weapon_count = ++weapon_count; } } ammo_slots = deployed_ent.getAmmo(); while (ammo_slots.hasMoreElements()) { Mounted mounted = (Mounted)ammo_slots.nextElement(); AmmoType atype = (AmmoType)mounted.getType(); if (atype.getAmmoType() == AmmoType.T_ATM){ weapon_count = ++weapon_count; av_range += 15.0; if ((atype.getAmmoType() == AmmoType.T_ATM) && atype.getMunitionType() == AmmoType.M_HIGH_EXPLOSIVE){ av_range -= 6; } if ((atype.getAmmoType() == AmmoType.T_ATM) && atype.getMunitionType() == AmmoType.M_EXTENDED_RANGE){ av_range += 12.0; } } } av_range = av_range/weapon_count; // Calculate ideal elevation as a factor of average range of 18 being highest elevation ideal_elev = lowest_elev + ((av_range/18) * (highest_elev - lowest_elev)); if (ideal_elev > highest_elev){ ideal_elev = highest_elev; } best_fitness = -100.0; for (valid_arr_index = 0; valid_arr_index < counter; valid_arr_index++){ // Calculate the fitness factor for each hex and save it to the array // -> Absolute difference between hex elevation and ideal elevation decreases fitness fitness[valid_arr_index] = -1*(Math.abs(ideal_elev - game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).getElevation())); // -> Approximate total damage taken in the current position; this keeps units from deploying into x-fires total_damage = 0.0; deployed_ent.setPosition(valid_array[valid_arr_index]); valid_attackers = game.getValidTargets(deployed_ent); for (Enumeration i = valid_attackers.elements(); i.hasMoreElements();){ test_ent = (Entity)i.nextElement(); if (test_ent.isDeployed() == true && !test_ent.isOffBoard()){ weapons = test_ent.getWeaponList(); for (Enumeration j = weapons.elements(); j.hasMoreElements();) { Mounted mounted = (Mounted)j.nextElement(); test_attack = new WeaponAttackAction(test_ent.getId(), deployed_ent.getId(), test_ent.getEquipmentNum(mounted)); adjusted_damage = getDeployDamage(game, test_attack); total_damage += adjusted_damage; } } } fitness[valid_arr_index] = fitness[valid_arr_index] - (total_damage/10); // -> Find the best target for each weapon and approximate the damage; maybe we can kill stuff without moving! // -> Conventional infantry ALWAYS come out on the short end of the stick in damage given/taken... solutions? total_damage = 0.0; weapons = deployed_ent.getWeaponList(); for (Enumeration i = weapons.elements(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement(); max_damage = 0.0; for (Enumeration j = valid_attackers.elements(); j.hasMoreElements();){ test_ent = (Entity)j.nextElement(); if (test_ent.isDeployed() == true && !test_ent.isOffBoard()){ test_attack = new WeaponAttackAction(deployed_ent.getId(), test_ent.getId(), deployed_ent.getEquipmentNum(mounted)); adjusted_damage = getDeployDamage(game, test_attack); if (adjusted_damage > max_damage){ max_damage = adjusted_damage; } } } total_damage += max_damage; } fitness[valid_arr_index] = fitness[valid_arr_index] + (total_damage/10); // Mech if(deployed_ent instanceof Mech){ // -> Trees are good // -> Water isn't that great below depth 1 -> this saves actual ground space for infantry/vehicles (minor) if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).containsTerrain(Terrains.WOODS)){ fitness[valid_arr_index] += 1; } if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).containsTerrain(Terrains.WATER)){ if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).depth() > 1){ fitness[valid_arr_index] -= game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).depth(); } } } // Infantry if(deployed_ent instanceof Infantry) { // -> Trees and buildings make good cover, esp for conventional infantry // rough is nice, to // -> Massed infantry is more effective, so try to cluster them if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).containsTerrain(Terrains.ROUGH)){ fitness[valid_arr_index] += 1.5; } if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).containsTerrain(Terrains.WOODS)){ fitness[valid_arr_index] += 2; } if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).containsTerrain(Terrains.BUILDING)){ fitness[valid_arr_index] += 4; } highest_hex = valid_array[valid_arr_index]; Enumeration ent_list = game.getEntities(highest_hex); while (ent_list.hasMoreElements()) { test_ent = (Entity) ent_list.nextElement(); if (deployed_ent.getOwner() == test_ent.getOwner() && !deployed_ent.equals(test_ent)) { if (test_ent instanceof Infantry){ fitness[valid_arr_index] += 2; break; } } } outer_loop: for (int x = 0; x < 6; x++) { highest_hex = valid_array[valid_arr_index]; highest_hex = highest_hex.translated(x); Enumeration adj_ents = game.getEntities(highest_hex); while (adj_ents.hasMoreElements()) { test_ent = (Entity) adj_ents.nextElement(); if (deployed_ent.getOwner() == test_ent.getOwner() && !deployed_ent.equals(test_ent)) { if (test_ent instanceof Infantry){ fitness[valid_arr_index] += 1; break outer_loop; } } } } // Not sure why bot tries to deploy infantry in water, it SHOULD be caught by the isHexProhibited method when // selecting hexes, but sometimes it has a mind of its own so... if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).containsTerrain(Terrains.WATER)){ fitness[valid_arr_index] -= 10; } } if(deployed_ent instanceof Tank){ // Tracked vehicle // -> Trees increase fitness if(deployed_ent.getMovementMode() == IEntityMovementMode.TRACKED){ if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).containsTerrain(Terrains.WOODS)){ fitness[valid_arr_index] += 2; } } // Wheeled vehicle // -> Not sure what any benefits wheeled vehicles can get; for now, just elevation and damage taken/given // Hover vehicle // -> Water in hex increases fitness, hover vehicles have an advantage in water areas if(deployed_ent.getMovementMode() == IEntityMovementMode.HOVER){ if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).containsTerrain(Terrains.WATER)){ fitness[valid_arr_index] += 2; } } } // ProtoMech // -> // -> Trees increase fitness by +2 (minor) if(deployed_ent instanceof Protomech){ if (game.getBoard().getHex(valid_array[valid_arr_index].x, valid_array[valid_arr_index].y).containsTerrain(Terrains.WOODS)){ fitness[valid_arr_index] += 2; } } // VTOL *PLACEHOLDER* // Record the highest fitness factor if (fitness[valid_arr_index] > best_fitness){ best_fitness = fitness[valid_arr_index]; } } // For each valid deployment hex, find the first hex with the matching fitness factor // The array has already been randomized /* fitness_count2 = 0; for (valid_arr_index = 0; valid_arr_index < counter; valid_arr_index++){ if (fitness[valid_arr_index] == best_fitness){ highest_hex = valid_array[valid_arr_index]; valid_arr_index = fitness.length-1; } } */ // Now sort the valid array. // Okay, this is gonna be INSANELY inefficient. // That's mostly because we're using an annoying early version of Java. // Once we get up to Java 1.5, we can streamline this like a bunch. // Or just rewrite the damned function. // FIXME boolean was_changed; double temp_fitness; do { was_changed = false; for (int x = 0; x < (valid_array.length - 1); x++){ if (fitness[x] < fitness[x + 1]){ test_hex = valid_array[x+1]; temp_fitness = fitness[x+1]; valid_array[x+1] = valid_array[x]; fitness[x+1] = fitness[x]; valid_array[x] = test_hex; fitness[x] = temp_fitness; was_changed = true; break; } } } while (was_changed == true); return valid_array; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c2a90fca192b338ebf5162499c52b535aed6382b/BotClient.java/clean/megamek/src/megamek/client/bot/BotClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10320, 87, 8526, 8635, 310, 13089, 1076, 1435, 288, 3639, 509, 1842, 67, 92, 16, 1842, 67, 93, 16, 9742, 67, 6516, 90, 16, 11981, 67, 6516, 90, 31, 3639, 509, 3895, 16, 923, 67, 5399, 67, 1615, 16, 2454, 67, 92, 67, 1615, 31, 3639, 509, 732, 28629, 67, 1883, 31, 3639, 1645, 1712, 67, 3676, 16, 3796, 67, 7216, 4496, 16, 23349, 67, 6516, 90, 31, 3639, 1645, 8526, 20351, 31, 3639, 1645, 13940, 67, 72, 301, 410, 16, 943, 67, 72, 301, 410, 16, 2078, 67, 72, 301, 410, 31, 3639, 10320, 87, 9742, 67, 7118, 273, 394, 10320, 87, 5621, 3639, 10320, 87, 1842, 67, 7118, 273, 394, 10320, 87, 5621, 3639, 10320, 87, 8526, 923, 67, 1126, 31, 3639, 3887, 1842, 67, 319, 16, 19357, 67, 319, 31, 3639, 5589, 732, 438, 7008, 31, 3639, 5589, 923, 67, 4558, 484, 414, 31, 3639, 13864, 2125, 8683, 67, 18875, 31, 3639, 19357, 67, 319, 273, 6352, 12, 13957, 18, 588, 3759, 10015, 429, 1943, 2578, 10663, 3639, 1660, 28629, 3075, 484, 1803, 1842, 67, 4558, 484, 31, 3639, 368, 225, 1788, 526, 434, 3827, 281, 316, 326, 6314, 4157, 716, 848, 506, 19357, 358, 3639, 368, 282, 2073, 364, 450, 29993, 19272, 7596, 16, 2110, 310, 8181, 3639, 1620, 261, 588, 2042, 12148, 7675, 588, 11715, 1616, 10756, 288, 3639, 805, 294, 3639, 648, 374, 294, 5411, 923, 67, 1126, 273, 394, 10320, 87, 63, 13957, 18, 588, 22233, 7675, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10320, 87, 8526, 8635, 310, 13089, 1076, 1435, 288, 3639, 509, 1842, 67, 92, 16, 1842, 67, 93, 16, 9742, 67, 6516, 90, 16, 11981, 67, 6516, 90, 31, 3639, 509, 3895, 16, 923, 67, 5399, 67, 1615, 16, 2454, 67, 92, 67, 1615, 31, 3639, 509, 732, 28629, 67, 1883, 31, 3639, 1645, 1712, 67, 3676, 16, 3796, 67, 7216, 4496, 16, 23349, 67, 6516, 90, 31, 3639, 1645, 8526, 20351, 31, 3639, 1645, 13940, 67, 72, 301, 410, 16, 943, 67, 72, 301, 410, 16, 2078, 67, 72, 301, 410, 31, 3639, 10320, 87, 9742, 67, 7118, 273, 394, 10320, 87, 5621, 3639, 10320, 87, 1842, 67, 7118, 273, 394, 10320, 87, 5621, 3639, 10320, 2 ]
return null;
checkIndex (parameterIndex, Types.VARCHAR, "String"); return (String)result;
public String getString(int parameterIndex) throws SQLException { return null; }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/00ccc8e9b4c809d4a9e0fcd57f6e850f307d9224/CallableStatement.java/clean/org/postgresql/jdbc2/CallableStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 4997, 12, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 514, 4997, 12, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 2463, 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, -100, -100, -100, -100, -100 ]
public NLSHint(NLSLine[] nlsLines, ICompilationUnit cu) {
public NLSHint(NLSSubstitution[] nlsSubstitution, ICompilationUnit cu) {
public NLSHint(NLSLine[] nlsLines, ICompilationUnit cu) { IPackageFragment defaultPackage = (IPackageFragment) cu.getAncestor(IJavaElement.PACKAGE_FRAGMENT); fPackage = defaultPackage; fResourceBundlePackage = defaultPackage; findMessageClassHint(nlsLines, cu); findPropertyHint(cu); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/eb6f0619842c7f0cb11df4bd9684e3bf0c5c49ab/NLSHint.java/clean/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18520, 2664, 474, 12, 24924, 1260, 373, 14278, 8526, 19668, 23798, 16, 467, 19184, 2802, 15985, 13, 288, 3639, 467, 2261, 7456, 805, 2261, 273, 261, 45, 2261, 7456, 13, 15985, 18, 588, 15637, 12, 45, 5852, 1046, 18, 19077, 67, 9981, 26903, 1769, 3639, 284, 2261, 273, 805, 2261, 31, 3639, 284, 18731, 2261, 273, 805, 2261, 31, 7734, 1104, 1079, 797, 7002, 12, 82, 3251, 5763, 16, 15985, 1769, 3639, 1104, 1396, 7002, 12, 6319, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18520, 2664, 474, 12, 24924, 1260, 373, 14278, 8526, 19668, 23798, 16, 467, 19184, 2802, 15985, 13, 288, 3639, 467, 2261, 7456, 805, 2261, 273, 261, 45, 2261, 7456, 13, 15985, 18, 588, 15637, 12, 45, 5852, 1046, 18, 19077, 67, 9981, 26903, 1769, 3639, 284, 2261, 273, 805, 2261, 31, 3639, 284, 18731, 2261, 273, 805, 2261, 31, 7734, 1104, 1079, 797, 7002, 12, 82, 3251, 5763, 16, 15985, 1769, 3639, 1104, 1396, 7002, 12, 6319, 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 ]
Query query = session.createQuery(queryString); return query.uniqueResult(); }
Query query = session.createQuery(queryString); for (int i = 0; i < queryArgs.length; i++) { query.setParameter(i, queryArgs[i]); } return query.uniqueResult(); }
public Object doInHibernate(Session session) throws HibernateException, SQLException { Query query = session.createQuery(queryString); return query.uniqueResult(); }
50831 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50831/4fccc86f70758d328337f970eedd7c2fbcfc0fdc/GetPersistentMethod.java/clean/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/GetPersistentMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 1033, 741, 382, 44, 24360, 12, 2157, 1339, 13, 1216, 670, 24360, 503, 16, 6483, 288, 6862, 202, 1138, 843, 273, 1339, 18, 2640, 1138, 12, 2271, 780, 1769, 6862, 202, 2463, 843, 18, 6270, 1253, 5621, 6862, 6862, 202, 97, 9506, 2, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4697, 202, 482, 1033, 741, 382, 44, 24360, 12, 2157, 1339, 13, 1216, 670, 24360, 503, 16, 6483, 288, 6862, 202, 1138, 843, 273, 1339, 18, 2640, 1138, 12, 2271, 780, 1769, 6862, 202, 2463, 843, 18, 6270, 1253, 5621, 6862, 6862, 202, 97, 9506, 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 ]
pw.println("# IP: " + WebContext.userIP());
pw.println("# IP: " + ctx.userIP());
private synchronized void write(User u, String requester) { try { OutputStream file = new FileOutputStream(filename, true); // Append PrintWriter pw = new PrintWriter(file); if(lines == 0) { // write the prologue pw.println("## cldr survey registry file."); pw.println("# Items are separated by tabs. "); pw.println("# Comments describe items immediately following."); pw.println("# ID email sponsor real"); lines++; } pw.println("#---------------"); pw.println("# Date: " + new Date().toString()); pw.println("# IP: " + WebContext.userIP()); pw.println("# Requester: " + requester); pw.println(u.id + SEPARATOR + u.email + SEPARATOR + u.sponsor + SEPARATOR + u.real); pw.close(); file.close(); } catch(IOException exception){ System.err.println(exception); // TODO: log this ... } }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/c7db68582d289d059bc19765e48412fc1a6df2a0/UserRegistry.java/buggy/tools/java/org/unicode/cldr/web/UserRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 918, 1045, 12, 1299, 582, 16, 514, 19961, 13, 288, 3639, 775, 288, 1850, 8962, 585, 273, 394, 12942, 12, 3459, 16, 638, 1769, 368, 6181, 1850, 14071, 8772, 273, 394, 14071, 12, 768, 1769, 1850, 309, 12, 3548, 422, 374, 13, 288, 368, 1045, 326, 450, 1330, 344, 5411, 8772, 18, 8222, 2932, 1189, 927, 3069, 14902, 4023, 585, 1199, 1769, 5411, 8772, 18, 8222, 2932, 7, 10240, 854, 8936, 635, 10920, 18, 315, 1769, 5411, 8772, 18, 8222, 2932, 7, 23452, 6401, 1516, 7636, 3751, 1199, 1769, 5411, 8772, 18, 8222, 2932, 7, 1599, 2699, 282, 272, 500, 2467, 2863, 8863, 5411, 2362, 9904, 31, 1850, 289, 1850, 8772, 18, 8222, 2932, 7, 18753, 8863, 1850, 8772, 18, 8222, 2932, 7, 2167, 30, 315, 397, 394, 2167, 7675, 10492, 10663, 1850, 8772, 18, 8222, 2932, 7, 2971, 30, 315, 397, 1103, 18, 1355, 2579, 10663, 1850, 8772, 18, 8222, 2932, 7, 868, 21207, 30, 315, 397, 19961, 1769, 1850, 8772, 18, 8222, 12, 89, 18, 350, 397, 17620, 397, 8227, 582, 18, 3652, 397, 17620, 397, 5397, 582, 18, 87, 500, 2467, 397, 17620, 397, 5397, 582, 18, 7688, 1769, 540, 8772, 18, 4412, 5621, 540, 585, 18, 4412, 5621, 3639, 289, 3639, 1044, 12, 14106, 1520, 15329, 1850, 2332, 18, 370, 18, 8222, 12, 4064, 1769, 1850, 368, 2660, 30, 613, 333, 1372, 540, 289, 565, 289, 2, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 918, 1045, 12, 1299, 582, 16, 514, 19961, 13, 288, 3639, 775, 288, 1850, 8962, 585, 273, 394, 12942, 12, 3459, 16, 638, 1769, 368, 6181, 1850, 14071, 8772, 273, 394, 14071, 12, 768, 1769, 1850, 309, 12, 3548, 422, 374, 13, 288, 368, 1045, 326, 450, 1330, 344, 5411, 8772, 18, 8222, 2932, 1189, 927, 3069, 14902, 4023, 585, 1199, 1769, 5411, 8772, 18, 8222, 2932, 7, 10240, 854, 8936, 635, 10920, 18, 315, 1769, 5411, 8772, 18, 8222, 2932, 7, 23452, 6401, 1516, 7636, 3751, 1199, 1769, 5411, 8772, 18, 8222, 2932, 7, 1599, 2699, 282, 272, 500, 2467, 2863, 8863, 5411, 2362, 9904, 31, 1850, 289, 1850, 8772, 18, 8222, 2932, 7, 18753, 2 ]
io.inStream = new RubyInputStream(ruby.getRuntime().getInputStream());
io.inStream = new RubyInputStream(inStream);
public static RubyObject stdin(Ruby ruby, RubyClass rubyClass) { RubyIO io = new RubyIO(ruby, rubyClass); io.inStream = new RubyInputStream(ruby.getRuntime().getInputStream()); io.readable = true; return io; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/RubyIO.java/buggy/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 921, 8801, 12, 54, 10340, 22155, 16, 19817, 797, 22155, 797, 13, 288, 3639, 19817, 4294, 2527, 273, 394, 19817, 4294, 12, 27768, 16, 22155, 797, 1769, 3639, 2527, 18, 267, 1228, 273, 394, 19817, 4348, 12, 267, 1228, 1769, 3639, 2527, 18, 11018, 273, 638, 31, 3639, 327, 2527, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 921, 8801, 12, 54, 10340, 22155, 16, 19817, 797, 22155, 797, 13, 288, 3639, 19817, 4294, 2527, 273, 394, 19817, 4294, 12, 27768, 16, 22155, 797, 1769, 3639, 2527, 18, 267, 1228, 273, 394, 19817, 4348, 12, 267, 1228, 1769, 3639, 2527, 18, 11018, 273, 638, 31, 3639, 327, 2527, 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 ]
else return d;
else return d;
public java.awt.Dimension getMinimumSize() { if (childs.isEmpty()) { java.awt.Dimension d = getMinimumSizeInternal(); if (d == null) return super.getMinimumSize(); else return d; } else { return super.getMinimumSize(); } }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/a2cd9b6d05be6ee9dc798dfafe5692ec64040fb8/AbstractDataObjectPanel.java/buggy/src/org/objectweb/proactive/ic2d/gui/data/AbstractDataObjectPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 2219, 88, 18, 8611, 30665, 1225, 1435, 288, 565, 309, 261, 3624, 87, 18, 291, 1921, 10756, 288, 1377, 2252, 18, 2219, 88, 18, 8611, 302, 273, 30665, 1225, 3061, 5621, 1377, 309, 261, 72, 422, 446, 13, 3639, 327, 2240, 18, 588, 13042, 1225, 5621, 1377, 469, 327, 302, 31, 565, 289, 469, 288, 1377, 327, 2240, 18, 588, 13042, 1225, 5621, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 2219, 88, 18, 8611, 30665, 1225, 1435, 288, 565, 309, 261, 3624, 87, 18, 291, 1921, 10756, 288, 1377, 2252, 18, 2219, 88, 18, 8611, 302, 273, 30665, 1225, 3061, 5621, 1377, 309, 261, 72, 422, 446, 13, 3639, 327, 2240, 18, 588, 13042, 1225, 5621, 1377, 469, 327, 302, 31, 565, 289, 469, 288, 1377, 327, 2240, 18, 588, 13042, 1225, 5621, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
reportDOMError("DOM Level 1 node: "+element.getNodeName(), DOMError.SEVERITY_ERROR, element, null);
String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "NullLocalElementName", new Object[]{element.getNodeName()}); reportDOMError(msg, DOMError.SEVERITY_ERROR, null, "NullLocalElementName");
protected final void namespaceFixUp (ElementImpl element, AttributeMap attributes){ if (DEBUG) { System.out.println("[ns-fixup] element:" +element.getNodeName()+ " uri: "+element.getNamespaceURI()); } // ------------------------------------ // pick up local namespace declarations // <xsl:stylesheet xmlns:xsl="http://xslt"> // <!-- add the following via DOM // body is bound to http://xslt // --> // <xsl:body xmlns:xsl="http://bound"/> // // ------------------------------------ String value, name, uri, prefix; if (attributes != null) { // Record all valid local declarations for (int k=0; k < attributes.getLength(); k++) { Attr attr = (Attr)attributes.getItem(k); //do the name check only when version of the document was changed & //application has set the value of well-formed features to true if ( ((fConfiguration.features & DOMConfigurationImpl.WELLFORMED) != 0) && fDocument.isXMLVersionChanged()){ //checkQName does checking based on the version of the document fDocument.checkQName(attr.getPrefix() , attr.getLocalName()) ; } uri = attr.getNamespaceURI(); if (uri != null && uri.equals(NamespaceContext.XMLNS_URI)) { // namespace attribute value = attr.getNodeValue(); if (value == null) { value=XMLSymbols.EMPTY_STRING; } // Check for invalid namespace declaration: if (value.equals(NamespaceContext.XMLNS_URI)) { reportDOMError("No prefix other than 'xmlns' can be bound to 'http://www.w3.org/2000/xmlns/' namespace name", DOMError.SEVERITY_ERROR, attr, null); } else { // XML 1.0 Attribute value normalization // value = normalizeAttributeValue(value, attr); prefix = attr.getPrefix(); prefix = (prefix == null || prefix.length() == 0) ? XMLSymbols.EMPTY_STRING :fSymbolTable.addSymbol(prefix); String localpart = fSymbolTable.addSymbol( attr.getLocalName()); if (prefix == XMLSymbols.PREFIX_XMLNS) { //xmlns:prefix value = fSymbolTable.addSymbol(value); if (value.length() != 0) { fNamespaceContext.declarePrefix(localpart, value); } else { // REVISIT: issue error on invalid declarations // xmlns:foo = "" } //removeDefault (attr, attributes); continue; } else { // (localpart == fXmlnsSymbol && prefix == fEmptySymbol) -- xmlns // empty prefix is always bound ("" or some string) value = fSymbolTable.addSymbol(value); fNamespaceContext.declarePrefix(XMLSymbols.EMPTY_STRING, value); //removeDefault (attr, attributes); continue; } } // end-else: valid declaration } // end-if: namespace attribute } } // --------------------------------------------------------- // Fix up namespaces for element: per DOM L3 // Need to consider the following cases: // // case 1: <xsl:stylesheet xmlns:xsl="http://xsl"> // We create another element body bound to the "http://xsl" namespace // as well as namespace attribute rebounding xsl to another namespace. // <xsl:body xmlns:xsl="http://another"> // Need to make sure that the new namespace decl value is changed to // "http://xsl" // // --------------------------------------------------------- // check if prefix/namespace is correct for current element // --------------------------------------------------------- uri = element.getNamespaceURI(); prefix = element.getPrefix(); if (uri != null) { // Element has a namespace uri = fSymbolTable.addSymbol(uri); prefix = (prefix == null || prefix.length() == 0) ? XMLSymbols.EMPTY_STRING :fSymbolTable.addSymbol(prefix); if (fNamespaceContext.getURI(prefix) == uri) { // The xmlns:prefix=namespace or xmlns="default" was declared at parent. // The binder always stores mapping of empty prefix to "". } else { // the prefix is either undeclared // or // conflict: the prefix is bound to another URI addNamespaceDecl(prefix, uri, element); fLocalNSBinder.declarePrefix(prefix, uri); fNamespaceContext.declarePrefix(prefix, uri); } } else { // Element has no namespace if (element.getLocalName() == null) { // Error: DOM Level 1 node! if (fNamespaceValidation) { reportDOMError("DOM Level 1 node: "+element.getNodeName(), DOMError.SEVERITY_FATAL_ERROR, element, null); } else { reportDOMError("DOM Level 1 node: "+element.getNodeName(), DOMError.SEVERITY_ERROR, element, null); } } else { // uri=null and no colon (DOM L2 node) uri = fNamespaceContext.getURI(XMLSymbols.EMPTY_STRING); if (uri !=null && uri.length() > 0) { // undeclare default namespace declaration (before that element // bound to non-zero length uir), but adding xmlns="" decl addNamespaceDecl (XMLSymbols.EMPTY_STRING, XMLSymbols.EMPTY_STRING, element); fLocalNSBinder.declarePrefix(XMLSymbols.EMPTY_STRING, XMLSymbols.EMPTY_STRING); fNamespaceContext.declarePrefix(XMLSymbols.EMPTY_STRING, XMLSymbols.EMPTY_STRING); } } } // ----------------------------------------- // Fix up namespaces for attributes: per DOM L3 // check if prefix/namespace is correct the attributes // ----------------------------------------- if (attributes != null) { // clone content of the attributes attributes.cloneMap(fAttributeList); for (int i = 0; i < fAttributeList.size(); i++) { Attr attr = (Attr) fAttributeList.elementAt(i); if (DEBUG) { System.out.println("==>[ns-fixup] process attribute: "+attr.getNodeName()); } // normalize attribute value attr.normalize(); value = attr.getValue(); name = attr.getNodeName(); uri = attr.getNamespaceURI(); // make sure that value is never null. if (value == null) { value=XMLSymbols.EMPTY_STRING; } if (uri != null) { // attribute has namespace !=null prefix = attr.getPrefix(); prefix = (prefix == null || prefix.length() == 0) ? XMLSymbols.EMPTY_STRING :fSymbolTable.addSymbol(prefix); /*String localpart =*/ fSymbolTable.addSymbol( attr.getLocalName()); // --------------------------------------- // skip namespace declarations // --------------------------------------- // REVISIT: can we assume that "uri" is from some symbol // table, and compare by reference? -SG if (uri != null && uri.equals(NamespaceContext.XMLNS_URI)) { continue; } //--------------------------------------- // check if value of the attribute is namespace well-formed //--------------------------------------- if ( ((fConfiguration.features & DOMConfigurationImpl.WELLFORMED) != 0)){ isAttrValueWF(attributes, (AttrImpl)attr, attr.getValue()); if (fDocument.isXMLVersionChanged()){ boolean wellformed=CoreDocumentImpl.isXMLName(attr.getNodeName() , fDocument.isXML11Version()); if (!wellformed){ if (fErrorHandler != null) { String msg = "Invalid XML Character in element " + attr.getNodeName() ; reportDOMError(msg, DOMError.SEVERITY_ERROR, null, "wf-invalid-character"); } } } } // --------------------------------------- // remove default attributes // --------------------------------------- /* if (removeDefault(attr, attributes)) { continue; } */ // XML 1.0 Attribute value normalization //value = normalizeAttributeValue(value, attr); // reset id-attributes ((AttrImpl)attr).setIdAttribute(false); uri = fSymbolTable.addSymbol(uri); // find if for this prefix a URI was already declared String declaredURI = fNamespaceContext.getURI(prefix); if (prefix == XMLSymbols.EMPTY_STRING || declaredURI != uri) { // attribute has no prefix (default namespace decl does not apply to attributes) // OR // attribute prefix is not declared // OR // conflict: attribute has a prefix that conficlicts with a binding // already active in scope name = attr.getNodeName(); // Find if any prefix for attributes namespace URI is available // in the scope String declaredPrefix = fNamespaceContext.getPrefix(uri); if (declaredPrefix !=null && declaredPrefix !=XMLSymbols.EMPTY_STRING) { // use the prefix that was found (declared previously for this URI prefix = declaredPrefix; } else { if (prefix != XMLSymbols.EMPTY_STRING && fLocalNSBinder.getURI(prefix) == null) { // the current prefix is not null and it has no in scope declaration // use this prefix } else { // find a prefix following the pattern "NS" +index (starting at 1) // make sure this prefix is not declared in the current scope. int counter = 1; prefix = fSymbolTable.addSymbol(PREFIX +counter++); while (fLocalNSBinder.getURI(prefix)!=null) { prefix = fSymbolTable.addSymbol(PREFIX +counter++); } } // add declaration for the new prefix addNamespaceDecl(prefix, uri, element); value = fSymbolTable.addSymbol(value); fLocalNSBinder.declarePrefix(prefix, value); fNamespaceContext.declarePrefix(prefix, uri); } // change prefix for this attribute attr.setPrefix(prefix); } } else { // attribute uri == null // XML 1.0 Attribute value normalization //value = normalizeAttributeValue(value, attr); // reset id-attributes ((AttrImpl)attr).setIdAttribute(false); if (attr.getLocalName() == null) { // It is an error if document has DOM L1 nodes. if (fNamespaceValidation) { reportDOMError("DOM Level 1 node: "+name, DOMError.SEVERITY_FATAL_ERROR, attr, null); } else { reportDOMError("DOM Level 1 node: "+name, DOMError.SEVERITY_ERROR, attr, null ); } } else { // uri=null and no colon // no fix up is needed: default namespace decl does not // --------------------------------------- // remove default attributes // --------------------------------------- // removeDefault(attr, attributes); } } } } // end loop for attributes }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/bc01e3dcf7f13f63a95b83801153271a48e0b07f/DOMNormalizer.java/buggy/src/org/apache/xerces/dom/DOMNormalizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 918, 1981, 8585, 1211, 261, 1046, 2828, 930, 16, 3601, 863, 1677, 15329, 3639, 309, 261, 9394, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 63, 2387, 17, 904, 416, 65, 930, 2773, 397, 2956, 18, 588, 18948, 1435, 15, 1171, 9079, 315, 2003, 30, 13773, 2956, 18, 588, 3402, 3098, 10663, 3639, 289, 3639, 368, 19134, 6062, 3639, 368, 6002, 731, 1191, 1981, 12312, 3639, 368, 411, 30903, 30, 19403, 12302, 30, 30903, 1546, 2505, 2207, 92, 14414, 6441, 3639, 368, 282, 5719, 413, 527, 326, 3751, 3970, 4703, 540, 368, 1850, 1417, 353, 2489, 358, 1062, 2207, 92, 14414, 3639, 368, 565, 15431, 3639, 368, 282, 411, 30903, 30, 3432, 12302, 30, 30903, 1546, 2505, 2207, 3653, 6, 21259, 3639, 368, 3639, 368, 19134, 6062, 3639, 514, 460, 16, 508, 16, 2003, 16, 1633, 31, 3639, 309, 261, 4350, 480, 446, 13, 288, 5411, 368, 5059, 777, 923, 1191, 12312, 5411, 364, 261, 474, 417, 33, 20, 31, 417, 411, 1677, 18, 588, 1782, 5621, 417, 27245, 288, 7734, 11289, 1604, 273, 261, 3843, 13, 4350, 18, 588, 1180, 12, 79, 1769, 1171, 9079, 368, 2896, 326, 508, 866, 1338, 1347, 1177, 434, 326, 1668, 1703, 3550, 473, 7734, 368, 3685, 711, 444, 326, 460, 434, 5492, 17, 7312, 4467, 358, 638, 7734, 309, 261, 14015, 74, 1750, 18, 7139, 473, 4703, 1750, 2828, 18, 59, 21943, 7473, 25773, 13, 480, 374, 13, 597, 5397, 284, 2519, 18, 291, 4201, 1444, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 918, 1981, 8585, 1211, 261, 1046, 2828, 930, 16, 3601, 863, 1677, 15329, 3639, 309, 261, 9394, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 63, 2387, 17, 904, 416, 65, 930, 2773, 397, 2956, 18, 588, 18948, 1435, 15, 1171, 9079, 315, 2003, 30, 13773, 2956, 18, 588, 3402, 3098, 10663, 3639, 289, 3639, 368, 19134, 6062, 3639, 368, 6002, 731, 1191, 1981, 12312, 3639, 368, 411, 30903, 30, 19403, 12302, 30, 30903, 1546, 2505, 2207, 92, 14414, 6441, 3639, 368, 282, 5719, 413, 527, 326, 3751, 3970, 4703, 540, 368, 1850, 1417, 353, 2489, 358, 1062, 2207, 92, 14414, 3639, 368, 565, 15431, 3639, 368, 282, 411, 30903, 30, 3432, 12302, 30, 30903, 2 ]
public org.quickfix.field.CPProgram getCPProgram() throws FieldNotFound { org.quickfix.field.CPProgram value = new org.quickfix.field.CPProgram();
public quickfix.field.CPProgram getCPProgram() throws FieldNotFound { quickfix.field.CPProgram value = new quickfix.field.CPProgram();
public org.quickfix.field.CPProgram getCPProgram() throws FieldNotFound { org.quickfix.field.CPProgram value = new org.quickfix.field.CPProgram(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MarketDataRequest.java/clean/src/java/src/quickfix/fix44/MarketDataRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 9459, 1927, 52, 9459, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 9459, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 9459, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
edit.setEmail(edit.getId() + "@" + m_domain);
edit.setEmail(edit.getEid() + "@" + m_domain);
public boolean getUser(UserEdit edit) { if (!userExists(edit.getId())) return false; edit.setEmail(edit.getId() + "@" + m_domain); edit.setType("kerberos"); return true; } // getUser
9615 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9615/1566e3af520ecf449232665fb81dc37e4e5ec041/KerberosUserDirectoryProvider.java/buggy/kerberos/src/java/org/sakaiproject/component/kerberos/user/KerberosUserDirectoryProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 4735, 12, 1299, 4666, 3874, 13, 202, 95, 202, 202, 430, 16051, 1355, 4002, 12, 4619, 18, 26321, 1435, 3719, 327, 629, 31, 202, 202, 4619, 18, 542, 4134, 12, 4619, 18, 26321, 1435, 397, 18265, 397, 312, 67, 4308, 1769, 202, 202, 4619, 18, 542, 559, 2932, 79, 24704, 8863, 202, 202, 2463, 638, 31, 202, 97, 368, 4735, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 4735, 12, 1299, 4666, 3874, 13, 202, 95, 202, 202, 430, 16051, 1355, 4002, 12, 4619, 18, 26321, 1435, 3719, 327, 629, 31, 202, 202, 4619, 18, 542, 4134, 12, 4619, 18, 26321, 1435, 397, 18265, 397, 312, 67, 4308, 1769, 202, 202, 4619, 18, 542, 559, 2932, 79, 24704, 8863, 202, 202, 2463, 638, 31, 202, 97, 368, 4735, 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 ]
g.drawImage(image, x, y, observer);
Image tmpImage; if ( zoomIndex == BASE_ZOOM_INDEX ){ tmpImage = image; } else { tmpImage = getScaledImage( image, scale ); } g.drawImage(tmpImage, x, y, observer);
public void drawOnto(Graphics g, int x, int y, ImageObserver observer) { if (isReady()) { g.drawImage(image, x, y, observer); } else { // grrr... well be ready next time! prepare(); } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/a9ed297cb5081fb025a01868efe86e5f185402e3/BoardView1.java/buggy/megamek/src/megamek/client/ui/AWT/BoardView1.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3724, 51, 496, 83, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 3421, 11048, 9655, 13, 288, 5411, 309, 261, 291, 8367, 10756, 288, 7734, 3421, 1853, 2040, 31, 309, 261, 7182, 1016, 422, 10250, 67, 62, 51, 1872, 67, 9199, 262, 95, 1853, 2040, 273, 1316, 31, 289, 469, 288, 1853, 2040, 273, 1322, 12825, 2040, 12, 1316, 16, 3159, 11272, 289, 314, 18, 9446, 2040, 12, 5645, 2040, 16, 619, 16, 677, 16, 9655, 1769, 5411, 289, 469, 288, 7734, 368, 314, 523, 86, 2777, 5492, 506, 5695, 1024, 813, 5, 7734, 2911, 5621, 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,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619, 16, 509, 677, 16, 3421, 11048, 9655, 13, 288, 5411, 309, 261, 291, 8367, 10756, 288, 7734, 3421, 1853, 2040, 31, 309, 261, 7182, 1016, 422, 10250, 67, 62, 51, 1872, 67, 9199, 262, 95, 1853, 2040, 273, 1316, 31, 289, 469, 288, 1853, 2040, 273, 1322, 12825, 2040, 12, 1316, 16, 3159, 11272, 289, 314, 18, 9446, 2040, 12, 5645, 2040, 16, 619, 16, 677, 16, 9655, 1769, 5411, 289, 469, 288, 7734, 368, 314, 523, 86, 2777, 5492, 506, 5695, 1024, 813, 5, 7734, 2911, 5621, 5411, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
UIAccess.getDisplay().asyncExec(new Runnable() {
UIAccess.getDisplay().syncExec(new Runnable() {
public void createPartControl(Composite parent) { fTableViewer = new TableViewer(parent, SWT.MULTI | SWT.V_SCROLL | SWT.FULL_SELECTION); fTableViewer.getTable().setLinesVisible(false); fTableViewer.getTable().setHeaderVisible(false); new TableColumn(fTableViewer.getTable(), SWT.DEFAULT); fTableViewer.getTable().addControlListener(new ControlAdapter() { public void controlResized(ControlEvent e) { // adapt the column width to the width of the table Table table = fTableViewer.getTable(); Rectangle area = table.getClientArea(); TableColumn column = table.getColumn(0); column.setWidth(area.width-3); // it looks better with a small gap } }); fTableViewer.setContentProvider(new ViewContentProvider()); fTableViewer.setLabelProvider(new TableLabelProvider()); createActions(); hookContextMenu(); hookDoubleClickAction(); contributeToActionBars(); fTableViewer.addDragSupport( DND.DROP_COPY, new Transfer[] { TextTransfer.getInstance() }, new HistoryDragAdapter(this)); // listen on console changes IToolRegistry toolRegistry = NicoUITools.getRegistry(); connect(toolRegistry.getActiveToolSession(getViewSite().getPage()).getProcess()); fToolRegistryListener = new IToolRegistryListener() { public void toolSessionActivated(ToolSessionUIData info) { final ToolProcess process = info.getProcess(); UIAccess.getDisplay().asyncExec(new Runnable() { public void run() { connect(process); } }); } public void toolSessionClosed(ToolSessionUIData info) { } }; toolRegistry.addListener(fToolRegistryListener, getViewSite().getPage()); }
48482 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48482/d3bba4266f35b585495a603d2b7a2630e87ff6c4/HistoryView.java/clean/de.walware.statet.nico.ui/src/de/walware/statet/nico/ui/views/HistoryView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 9506, 202, 74, 1388, 18415, 273, 394, 3555, 18415, 12, 2938, 16, 348, 8588, 18, 26588, 571, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 1769, 202, 202, 74, 1388, 18415, 18, 588, 1388, 7675, 542, 5763, 6207, 12, 5743, 1769, 202, 202, 74, 1388, 18415, 18, 588, 1388, 7675, 542, 1864, 6207, 12, 5743, 1769, 202, 202, 2704, 3555, 1494, 12, 74, 1388, 18415, 18, 588, 1388, 9334, 348, 8588, 18, 5280, 1769, 202, 202, 74, 1388, 18415, 18, 588, 1388, 7675, 1289, 3367, 2223, 12, 2704, 8888, 4216, 1435, 288, 1082, 202, 482, 918, 3325, 607, 1235, 12, 3367, 1133, 425, 13, 288, 9506, 202, 759, 5855, 326, 1057, 1835, 358, 326, 1835, 434, 326, 1014, 4697, 202, 1388, 1014, 273, 284, 1388, 18415, 18, 588, 1388, 5621, 9506, 202, 19463, 5091, 273, 1014, 18, 588, 1227, 5484, 5621, 9506, 202, 1388, 1494, 1057, 273, 1014, 18, 588, 1494, 12, 20, 1769, 9506, 202, 2827, 18, 542, 2384, 12, 5036, 18, 2819, 17, 23, 1769, 368, 518, 10192, 7844, 598, 279, 5264, 9300, 1082, 202, 97, 202, 202, 22938, 9506, 202, 74, 1388, 18415, 18, 542, 1350, 2249, 12, 2704, 4441, 1350, 2249, 10663, 202, 202, 74, 1388, 18415, 18, 542, 2224, 2249, 12, 2704, 3555, 2224, 2249, 10663, 9506, 202, 2640, 6100, 5621, 202, 202, 4476, 27315, 5621, 202, 202, 4476, 5265, 6563, 1803, 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, 225, 202, 482, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 9506, 202, 74, 1388, 18415, 273, 394, 3555, 18415, 12, 2938, 16, 348, 8588, 18, 26588, 571, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 1769, 202, 202, 74, 1388, 18415, 18, 588, 1388, 7675, 542, 5763, 6207, 12, 5743, 1769, 202, 202, 74, 1388, 18415, 18, 588, 1388, 7675, 542, 1864, 6207, 12, 5743, 1769, 202, 202, 2704, 3555, 1494, 12, 74, 1388, 18415, 18, 588, 1388, 9334, 348, 8588, 18, 5280, 1769, 202, 202, 74, 1388, 18415, 18, 588, 1388, 7675, 1289, 3367, 2223, 12, 2704, 8888, 4216, 1435, 288, 1082, 202, 482, 918, 3325, 607, 1235, 12, 2 ]
throw new DynaSqlException("Could not create a new dyna bean for table "+table.getName(), ex);
throw new SqlDynaException("Could not create a new dyna bean for table "+table.getName(), ex);
public DynaBean createNewInstance(Table table) throws DynaSqlException { try { return getDynaClass(table).newInstance(); } catch (InstantiationException ex) { throw new DynaSqlException("Could not create a new dyna bean for table "+table.getName(), ex); } catch (IllegalAccessException ex) { throw new DynaSqlException("Could not create a new dyna bean for table "+table.getName(), ex); } }
3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/dc09857257388c7ca25cc8225d9bb7d060a13ff3/DynaClassCache.java/clean/src/java/org/apache/ddlutils/dynabean/DynaClassCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 463, 23041, 3381, 15291, 1442, 12, 1388, 1014, 13, 1216, 463, 23041, 5101, 503, 565, 288, 3639, 775, 3639, 288, 5411, 327, 2343, 23041, 797, 12, 2121, 2934, 2704, 1442, 5621, 3639, 289, 3639, 1044, 261, 10675, 7072, 503, 431, 13, 3639, 288, 5411, 604, 394, 8855, 10419, 69, 503, 2932, 4445, 486, 752, 279, 394, 19417, 69, 3931, 364, 1014, 13773, 2121, 18, 17994, 9334, 431, 1769, 3639, 289, 3639, 1044, 261, 12195, 9773, 431, 13, 3639, 288, 5411, 604, 394, 8855, 10419, 69, 503, 2932, 4445, 486, 752, 279, 394, 19417, 69, 3931, 364, 1014, 13773, 2121, 18, 17994, 9334, 431, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 463, 23041, 3381, 15291, 1442, 12, 1388, 1014, 13, 1216, 463, 23041, 5101, 503, 565, 288, 3639, 775, 3639, 288, 5411, 327, 2343, 23041, 797, 12, 2121, 2934, 2704, 1442, 5621, 3639, 289, 3639, 1044, 261, 10675, 7072, 503, 431, 13, 3639, 288, 5411, 604, 394, 8855, 10419, 69, 503, 2932, 4445, 486, 752, 279, 394, 19417, 69, 3931, 364, 1014, 13773, 2121, 18, 17994, 9334, 431, 1769, 3639, 289, 3639, 1044, 261, 12195, 9773, 431, 13, 3639, 288, 5411, 604, 394, 8855, 10419, 69, 503, 2932, 4445, 486, 752, 279, 394, 19417, 69, 3931, 364, 1014, 13773, 2121, 18, 17994, 9334, 431, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Assert.notNull(key, "Key cannot be null");
Assert.notNull(key, "Key cannot be null");
public float getFloat(String key) { Assert.notNull(key, "Key cannot be null"); String value = internalGet(key); if (!StringUtils.hasText(value)) { return getDefaultFloat(key); } return Float.parseFloat(value); }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/1ca92818155f3e0a4aed29e15c396b3c749e2b10/AbstractSettings.java/buggy/sandbox/src/org/springframework/richclient/settings/AbstractSettings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1431, 28276, 12, 780, 498, 13, 288, 3639, 5452, 18, 902, 2041, 12, 856, 16, 315, 653, 2780, 506, 446, 8863, 3639, 514, 460, 273, 2713, 967, 12, 856, 1769, 3639, 309, 16051, 780, 1989, 18, 5332, 1528, 12, 1132, 3719, 288, 5411, 327, 4829, 4723, 12, 856, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1431, 28276, 12, 780, 498, 13, 288, 3639, 5452, 18, 902, 2041, 12, 856, 16, 315, 653, 2780, 506, 446, 8863, 3639, 514, 460, 273, 2713, 967, 12, 856, 1769, 3639, 309, 16051, 780, 1989, 18, 5332, 1528, 12, 1132, 3719, 288, 5411, 327, 4829, 4723, 12, 856, 1769, 3639, 289, 3639, 327, 5450, 18, 2670, 4723, 12, 1132, 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 ]
bestFitTypes = paramTypes;
bestFitTypes = argTypes;
static int findFunction(Member[] methodsOrCtors, Class[][] memberTypes, Object[] args) { if (methodsOrCtors.length == 0) { return -1; } else if (methodsOrCtors.length == 1) { Member member = methodsOrCtors[0]; Class paramTypes[] = memberTypes[0]; int plength = paramTypes.length; if (plength != args.length) { return -1; } for (int j = 0; j != plength; ++j) { if (!NativeJavaObject.canConvert(args[j], paramTypes[j])) { if (debug) printDebug("Rejecting (args can't convert) ", member, paramTypes, args); return -1; } } if (debug) printDebug("Found ", member, paramTypes, args); return 0; } boolean hasMethods = methodsOrCtors[0] instanceof Method; int bestFit = -1; Class[] bestFitTypes = null; int[] ambiguousMethods = null; int ambiguousMethodCount = 0; for (int i = 0; i < methodsOrCtors.length; i++) { Member member = methodsOrCtors[i]; Class paramTypes[] = memberTypes[i]; if (paramTypes.length != args.length) { continue; } if (bestFit < 0) { int j; for (j = 0; j < paramTypes.length; j++) { if (!NativeJavaObject.canConvert(args[j], paramTypes[j])) { if (debug) printDebug("Rejecting (args can't convert) ", member, paramTypes, args); break; } } if (j == paramTypes.length) { if (debug) printDebug("Found ", member, paramTypes, args); bestFit = i; bestFitTypes = paramTypes; } } else { int preference = preferSignature(args, paramTypes, bestFitTypes); if (preference == PREFERENCE_AMBIGUOUS) { if (debug) printDebug("Deferring ", member, paramTypes, args); // add to "ambiguity list" if (ambiguousMethods == null) ambiguousMethods = new int[methodsOrCtors.length]; ambiguousMethods[ambiguousMethodCount++] = i; } else if (preference == PREFERENCE_FIRST_ARG) { if (debug) printDebug("Substituting ", member, paramTypes, args); bestFit = i; bestFitTypes = paramTypes; } else if (preference == PREFERENCE_SECOND_ARG) { if (debug) printDebug("Rejecting ", member, paramTypes, args); } else { if (preference != PREFERENCE_EQUAL) Context.codeBug(); Member best = methodsOrCtors[bestFit]; if (Modifier.isStatic(best.getModifiers()) && best.getDeclaringClass().isAssignableFrom( member.getDeclaringClass())) { // On some JVMs, Class.getMethods will return all // static methods of the class heirarchy, even if // a derived class's parameters match exactly. // We want to call the dervied class's method. if (debug) printDebug( "Substituting (overridden static)", member, paramTypes, args); bestFit = i; bestFitTypes = paramTypes; } else { if (debug) printDebug( "Ignoring same signature member ", member, paramTypes, args); } } } } if (ambiguousMethodCount == 0) return bestFit; // Compare ambiguous methods with best fit, in case // the current best fit removes the ambiguities. int removedCount = 0; for (int k = 0; k != ambiguousMethodCount; ++k) { int i = ambiguousMethods[k]; Member member = methodsOrCtors[i]; Class paramTypes[] = memberTypes[i]; int preference = preferSignature(args, paramTypes, bestFitTypes); if (preference == PREFERENCE_FIRST_ARG) { if (debug) printDebug("Substituting ", member, paramTypes, args); bestFit = i; bestFitTypes = paramTypes; ambiguousMethods[k] = -1; ++removedCount; } else if (preference == PREFERENCE_SECOND_ARG) { if (debug) printDebug("Rejecting ", member, paramTypes, args); ambiguousMethods[k] = -1; ++removedCount; } else { if (debug) printDebug("UNRESOLVED: ", member, paramTypes, args); } } if (removedCount == ambiguousMethodCount) { return bestFit; } // PENDING: report remaining ambiguity StringBuffer buf = new StringBuffer(); ambiguousMethods[ambiguousMethodCount++] = bestFit; boolean first = true; for (int k = 0; k < ambiguousMethodCount; k++) { int i = ambiguousMethods[k]; if (i < 0) { continue; } if (!first) { buf.append(", "); } Member member = methodsOrCtors[i]; if (hasMethods) { Method method = (Method)member; Class rtnType = method.getReturnType(); buf.append(rtnType); buf.append(' '); } buf.append(memberSignature(member, memberTypes[i])); first = false; } Member best = methodsOrCtors[bestFit]; if (!hasMethods) { throw Context.reportRuntimeError3( "msg.constructor.ambiguous", best.getName(), scriptSignature(args), buf.toString()); } else { throw Context.reportRuntimeError4( "msg.method.ambiguous", best.getDeclaringClass().getName(), best.getName(), scriptSignature(args), buf.toString()); } }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/004397fe5ef540e453f60552849d0320b106ace4/NativeJavaMethod.java/buggy/js/rhino/src/org/mozilla/javascript/NativeJavaMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 509, 1104, 2083, 12, 4419, 8526, 2590, 1162, 39, 88, 1383, 16, 1659, 63, 6362, 65, 3140, 2016, 16, 18701, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 374, 13, 288, 5411, 327, 300, 21, 31, 3639, 289, 469, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 404, 13, 288, 5411, 8596, 3140, 273, 2590, 1162, 39, 88, 1383, 63, 20, 15533, 5411, 1659, 21265, 8526, 273, 3140, 2016, 63, 20, 15533, 5411, 509, 886, 1288, 273, 21265, 18, 2469, 31, 5411, 309, 261, 412, 1288, 480, 833, 18, 2469, 13, 288, 7734, 327, 300, 21, 31, 5411, 289, 5411, 364, 261, 474, 525, 273, 374, 31, 525, 480, 886, 1288, 31, 965, 78, 13, 288, 7734, 309, 16051, 9220, 5852, 921, 18, 4169, 2723, 12, 1968, 63, 78, 6487, 21265, 63, 78, 22643, 288, 10792, 309, 261, 4148, 13, 1172, 2829, 2932, 21705, 310, 261, 1968, 848, 1404, 1765, 13, 3104, 4766, 1850, 3140, 16, 21265, 16, 833, 1769, 10792, 327, 300, 21, 31, 7734, 289, 5411, 289, 5411, 309, 261, 4148, 13, 1172, 2829, 2932, 2043, 3104, 3140, 16, 21265, 16, 833, 1769, 5411, 327, 374, 31, 3639, 289, 3639, 1250, 711, 4712, 273, 2590, 1162, 39, 88, 1383, 63, 20, 65, 1276, 2985, 31, 3639, 509, 3796, 14219, 273, 300, 21, 31, 3639, 1659, 8526, 3796, 14219, 2016, 273, 446, 31, 3639, 509, 8526, 20399, 4712, 273, 446, 31, 3639, 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, 377, 760, 509, 1104, 2083, 12, 4419, 8526, 2590, 1162, 39, 88, 1383, 16, 1659, 63, 6362, 65, 3140, 2016, 16, 18701, 1033, 8526, 833, 13, 565, 288, 3639, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 374, 13, 288, 5411, 327, 300, 21, 31, 3639, 289, 469, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 404, 13, 288, 5411, 8596, 3140, 273, 2590, 1162, 39, 88, 1383, 63, 20, 15533, 5411, 1659, 21265, 8526, 273, 3140, 2016, 63, 20, 15533, 5411, 509, 886, 1288, 273, 21265, 18, 2469, 31, 5411, 309, 261, 412, 1288, 480, 833, 18, 2469, 13, 288, 7734, 327, 300, 21, 31, 5411, 289, 5411, 364, 261, 474, 525, 273, 374, 2 ]
FileInputStream stream = null;
RandomAccessFile dataFile = null;
synchronized Object loadFieldValue(int offset) throws IOException, ClassNotFoundException { checkValid(); FileInputStream stream = null; try { stream = new FileInputStream(mFile); ObjectInputStream objIn = new ObjectInputStream(stream); stream.skip(offset); Object value = objIn.readObject(); stream.close(); return value; } finally { if (stream != null) { try { stream.close(); } catch (IOException exc) { } } } }
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/4e1714770f6e91554bd6f978b71cbb83fd5e5ead/OnDemandDayProgramFile.java/clean/tvbrowser/src/tvbrowser/core/data/OnDemandDayProgramFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3852, 1033, 1262, 13559, 12, 474, 1384, 13, 1216, 1860, 16, 10403, 288, 565, 29969, 5621, 3639, 8072, 26933, 501, 812, 273, 446, 31, 565, 775, 288, 1377, 1407, 273, 394, 11907, 12, 81, 812, 1769, 1377, 22726, 1081, 382, 273, 394, 22726, 12, 3256, 1769, 1377, 1407, 18, 7457, 12, 3348, 1769, 1377, 1033, 460, 273, 1081, 382, 18, 896, 921, 5621, 2398, 1407, 18, 4412, 5621, 1377, 327, 460, 31, 565, 289, 3095, 288, 1377, 309, 261, 3256, 480, 446, 13, 288, 3639, 775, 288, 1850, 1407, 18, 4412, 5621, 3639, 289, 1044, 261, 14106, 3533, 13, 288, 3639, 289, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 3852, 1033, 1262, 13559, 12, 474, 1384, 13, 1216, 1860, 16, 10403, 288, 565, 29969, 5621, 3639, 8072, 26933, 501, 812, 273, 446, 31, 565, 775, 288, 1377, 1407, 273, 394, 11907, 12, 81, 812, 1769, 1377, 22726, 1081, 382, 273, 394, 22726, 12, 3256, 1769, 1377, 1407, 18, 7457, 12, 3348, 1769, 1377, 1033, 460, 273, 1081, 382, 18, 896, 921, 5621, 2398, 1407, 18, 4412, 5621, 1377, 327, 460, 31, 565, 289, 3095, 288, 1377, 309, 261, 3256, 480, 446, 13, 288, 3639, 775, 288, 1850, 1407, 18, 4412, 5621, 3639, 289, 1044, 261, 14106, 3533, 13, 288, 3639, 289, 1377, 289, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{
{
public void repaint(long tm, int x, int y, int width, int height) { Rectangle dirty = new Rectangle(x, y, width, height); Rectangle vis = getVisibleRect(); dirty = dirty.intersection(vis); RepaintManager.currentManager(this).addDirtyRegion(this, dirty.x, dirty.y, dirty.width, dirty.height); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 24962, 12, 5748, 6118, 16, 509, 619, 16, 509, 677, 16, 509, 1835, 16, 509, 2072, 13, 202, 95, 565, 13264, 9603, 273, 394, 13264, 12, 92, 16, 677, 16, 1835, 16, 2072, 1769, 565, 13264, 2281, 273, 31564, 6120, 5621, 565, 9603, 273, 9603, 18, 30231, 12, 3516, 1769, 565, 868, 84, 1598, 1318, 18, 2972, 1318, 12, 2211, 2934, 1289, 10785, 5165, 12, 2211, 16, 9603, 18, 92, 16, 9603, 18, 93, 16, 4766, 15604, 9603, 18, 2819, 16, 4766, 15604, 9603, 18, 4210, 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, 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, 1835, 16, 2072, 1769, 565, 13264, 2281, 273, 31564, 6120, 5621, 565, 9603, 273, 9603, 18, 30231, 12, 3516, 1769, 565, 868, 84, 1598, 1318, 18, 2972, 1318, 12, 2211, 2934, 1289, 10785, 5165, 12, 2211, 16, 9603, 18, 92, 16, 9603, 18, 93, 16, 4766, 15604, 9603, 18, 2819, 16, 4766, 15604, 9603, 18, 4210, 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 ]
public ArrayList getHistory(Date lastBuild, Date now, long quietPeriod) { // Clean out the modifications list. // Otherwise we get duplicate entries when this function is called more than once in a quiet period breach // We normally would need to clean out the email list as well, except we know that all entries in current list // will still be required modifications.clear(); // Clean hashtables used to store file lists nowFiles.clear(); lastBuildFiles.clear(); // Store OLEDate equivalents of now and lastbuild for performance nowDate = new OLEDate(now.getTime()); lastBuildDate = new OLEDate(lastBuild.getTime()); // Set up two view snapshots, one at lastbuild time, one now View view = StarTeamFinder.openView(this.username + ":" + this.password + "@" + this.url); Server server = view.getServer(); View snapshotAtNow = new View(view, ViewConfiguration.createFromTime(nowDate)); View snapshotAtLastBuild = new View(view, ViewConfiguration.createFromTime(lastBuildDate)); // Visit all files in the snapshots and add to Hashtables nowFiles = visit(StarTeamFinder.findFolder(snapshotAtNow.getRootFolder(), this.folderName), nowFiles, nowDate); lastBuildFiles = visit(StarTeamFinder.findFolder(snapshotAtLastBuild.getRootFolder(), this.folderName), lastBuildFiles, lastBuildDate); // Compare old and new file lists to determine what happened for (Enumeration e = nowFiles.elements() ; e.hasMoreElements() ;) { File currentNowFile = (File)e.nextElement(); Integer currentItemID = new Integer(currentNowFile.getItemID()); if (lastBuildFiles.containsKey(currentItemID)) { File matchingLastBuildFile = (File)lastBuildFiles.get(currentItemID); if (currentNowFile.getContentVersion() != matchingLastBuildFile.getContentVersion()) { // File has been modified addRevision(currentNowFile, "modified"); } else if (!currentNowFile.getParentFolder().getFolderHierarchy(). equals(matchingLastBuildFile.getParentFolder().getFolderHierarchy())) { // File has been moved within view folder hierarchy addRevision(currentNowFile, "moved"); } // Remove the identified last build file from the list of last build files. // It will make processing the delete check on the last builds quicker lastBuildFiles.remove(currentItemID); } else { // File is new addRevision(currentNowFile, "new"); } } // Now examine old files. They have to have been deleted as we know they are not in // the new list from the processing above for (Enumeration e = lastBuildFiles.elements() ; e.hasMoreElements() ;) { File currentLastBuildFile = (File)e.nextElement(); addRevision((File)currentLastBuildFile.getFromHistoryByDate(nowDate), "deleted"); } log(modifications.size() + " modifications in " + folderName); return (ArrayList) modifications; }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/05a09f95c873b19abccfd57c85fb3409716070ee/StarTeamElement.java/buggy/main/src/net/sourceforge/cruisecontrol/StarTeamElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2407, 336, 5623, 12, 1626, 1142, 3116, 16, 2167, 2037, 16, 1525, 10902, 5027, 13, 288, 7734, 368, 9645, 596, 326, 17953, 666, 18, 3639, 368, 5272, 732, 336, 6751, 3222, 1347, 333, 445, 353, 2566, 1898, 2353, 3647, 316, 279, 10902, 3879, 324, 12974, 3639, 368, 1660, 15849, 4102, 1608, 358, 2721, 596, 326, 2699, 666, 487, 5492, 16, 1335, 732, 5055, 716, 777, 3222, 316, 783, 666, 3639, 368, 903, 4859, 506, 1931, 3639, 17953, 18, 8507, 5621, 7734, 368, 9645, 711, 647, 1538, 1399, 358, 1707, 585, 6035, 3639, 2037, 2697, 18, 8507, 5621, 3639, 1142, 3116, 2697, 18, 8507, 5621, 7734, 368, 4994, 531, 900, 1626, 1298, 5162, 4877, 434, 2037, 471, 1142, 3510, 364, 9239, 3639, 2037, 1626, 4202, 273, 394, 531, 900, 1626, 12, 3338, 18, 588, 950, 10663, 3639, 1142, 3116, 1626, 273, 394, 531, 900, 1626, 12, 2722, 3116, 18, 588, 950, 10663, 7734, 368, 1000, 731, 2795, 1476, 12808, 16, 1245, 622, 1142, 3510, 813, 16, 1245, 2037, 3639, 4441, 1476, 273, 934, 297, 8689, 8441, 18, 3190, 1767, 12, 2211, 18, 5053, 397, 6153, 397, 333, 18, 3664, 397, 18265, 397, 333, 18, 718, 1769, 3639, 3224, 1438, 273, 1476, 18, 588, 2081, 5621, 7734, 4441, 4439, 861, 8674, 273, 394, 4441, 12, 1945, 16, 4441, 1750, 18, 2640, 1265, 950, 12, 3338, 1626, 10019, 3639, 4441, 4439, 861, 3024, 3116, 273, 394, 4441, 12, 1945, 16, 4441, 1750, 18, 2640, 1265, 950, 12, 2722, 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, 2407, 336, 5623, 12, 1626, 1142, 3116, 16, 2167, 2037, 16, 1525, 10902, 5027, 13, 288, 7734, 368, 9645, 596, 326, 17953, 666, 18, 3639, 368, 5272, 732, 336, 6751, 3222, 1347, 333, 445, 353, 2566, 1898, 2353, 3647, 316, 279, 10902, 3879, 324, 12974, 3639, 368, 1660, 15849, 4102, 1608, 358, 2721, 596, 326, 2699, 666, 487, 5492, 16, 1335, 732, 5055, 716, 777, 3222, 316, 783, 666, 3639, 368, 903, 4859, 506, 1931, 3639, 17953, 18, 8507, 5621, 7734, 368, 9645, 711, 647, 1538, 1399, 358, 1707, 585, 6035, 3639, 2037, 2697, 18, 8507, 5621, 3639, 1142, 3116, 2697, 18, 8507, 5621, 7734, 368, 4994, 531, 900, 1626, 1298, 5162, 4877, 434, 2037, 471, 1142, 2 ]
int index = str.lastIndexOf(">"); if (index != -1) { receivedText.append(str.substring(0, index + 1)); receivedText.append(NEWLINE); if (str.length() > index) { receivedText.append(str.substring(index + 1));
int index = str.lastIndexOf(">"); if (index != -1) { if (receivedText.getLineCount() >= EnhancedDebuggerWindow.MAX_TABLE_ROWS) { try { receivedText.replaceRange("", 0, receivedText.getLineEndOffset(0)); } catch (BadLocationException e) { e.printStackTrace(); } } receivedText.append(str.substring(0, index + 1)); receivedText.append(NEWLINE); if (str.length() > index) { receivedText.append(str.substring(index + 1)); } } else { receivedText.append(str); }
public void read(String str) { if (EnhancedDebuggerWindow.PERSISTED_DEBUGGER && !EnhancedDebuggerWindow.getInstance().isVisible()) { // Do not add content if the parent is not visible return; } int index = str.lastIndexOf(">"); if (index != -1) { receivedText.append(str.substring(0, index + 1)); receivedText.append(NEWLINE); if (str.length() > index) { receivedText.append(str.substring(index + 1)); } } else { receivedText.append(str); } }
45655 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45655/9acdd912d95d1f972f6668737fad4b74d9cd9393/EnhancedDebugger.java/buggy/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 855, 12, 780, 609, 13, 288, 7734, 309, 261, 664, 17221, 24113, 3829, 18, 3194, 18732, 2056, 67, 9394, 3101, 597, 13491, 401, 664, 17221, 24113, 3829, 18, 588, 1442, 7675, 291, 6207, 10756, 288, 10792, 368, 2256, 486, 527, 913, 309, 326, 982, 353, 486, 6021, 10792, 327, 31, 7734, 289, 7734, 509, 770, 273, 609, 18, 2722, 31985, 2932, 2984, 1769, 7734, 309, 261, 1615, 480, 300, 21, 13, 288, 10792, 5079, 1528, 18, 6923, 12, 701, 18, 28023, 12, 20, 16, 770, 397, 404, 10019, 10792, 5079, 1528, 18, 6923, 12, 12917, 5997, 1769, 10792, 309, 261, 701, 18, 2469, 1435, 405, 770, 13, 288, 13491, 5079, 1528, 18, 6923, 12, 701, 18, 28023, 12, 1615, 397, 404, 10019, 10792, 289, 7734, 289, 7734, 469, 288, 10792, 5079, 1528, 18, 6923, 12, 701, 1769, 7734, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 855, 12, 780, 609, 13, 288, 7734, 309, 261, 664, 17221, 24113, 3829, 18, 3194, 18732, 2056, 67, 9394, 3101, 597, 13491, 401, 664, 17221, 24113, 3829, 18, 588, 1442, 7675, 291, 6207, 10756, 288, 10792, 368, 2256, 486, 527, 913, 309, 326, 982, 353, 486, 6021, 10792, 327, 31, 7734, 289, 7734, 509, 770, 273, 609, 18, 2722, 31985, 2932, 2984, 1769, 7734, 309, 261, 1615, 480, 300, 21, 13, 288, 10792, 5079, 1528, 18, 6923, 12, 701, 18, 28023, 12, 20, 16, 770, 397, 404, 10019, 10792, 5079, 1528, 18, 6923, 12, 12917, 5997, 1769, 10792, 309, 261, 701, 18, 2469, 1435, 405, 770, 13, 288, 13491, 5079, 1528, 18, 6923, 12, 701, 18, 2 ]
ExtendedItemDesign extendedItem = new ExtendedItemDesign(); setupReportItem(extendedItem, obj);
ExtendedItemDesign extendedItem = new ExtendedItemDesign( ); setupReportItem( extendedItem, obj );
protected void visitExtendedItem( ExtendedItemHandle obj ) { ExtendedItemDesign extendedItem = new ExtendedItemDesign(); setupReportItem(extendedItem, obj); currentElement = extendedItem; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/cf03a7fc4ecb4dccf8765f8db6da7417d043ca05/EngineIRVisitor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3757, 11456, 1180, 12, 14094, 1180, 3259, 1081, 262, 202, 95, 202, 202, 11456, 1180, 15478, 7021, 1180, 273, 394, 14094, 1180, 15478, 5621, 202, 202, 8401, 4820, 1180, 12, 14948, 1180, 16, 1081, 1769, 9506, 202, 2972, 1046, 273, 7021, 1180, 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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, 3757, 11456, 1180, 12, 14094, 1180, 3259, 1081, 262, 202, 95, 202, 202, 11456, 1180, 15478, 7021, 1180, 273, 394, 14094, 1180, 15478, 5621, 202, 202, 8401, 4820, 1180, 12, 14948, 1180, 16, 1081, 1769, 9506, 202, 2972, 1046, 273, 7021, 1180, 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 ]
return (Vector) clientXML.execute("Systeme.listerPermissions", params);
return (Vector) clientXML.execute("Systeme.listerPermission", params);
public Vector listerPermissions(String login) { // Si l'utilisateur est connect au seveur //if (etatConnecte) { System.err.println("INFO: Liste des permissions..."); try { // Cration de la requte Vector params = new Vector(); params.addElement(login); // Adresse la requte et affiche les rsultats return (Vector) clientXML.execute("Systeme.listerPermissions", params); } catch (Exception e) { System.err.println("ERREUR : " + e); return null; } /* // Sinon, non connect } else { System.err.println("WARNING: Client non connect au serveur !"); return null; }*/ }
55998 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55998/acc245dc2d9abf6207417def50c3bf290d896cda/XMLClient.java/buggy/NetJukeBox/src/proto/client/XMLClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5589, 666, 264, 6521, 12, 780, 3925, 13, 288, 202, 202, 759, 27834, 328, 11, 1367, 24954, 4387, 3077, 20309, 695, 537, 295, 202, 202, 759, 430, 261, 278, 270, 5215, 73, 13, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 5923, 30, 987, 73, 2832, 4371, 7070, 1769, 1082, 202, 698, 288, 9506, 202, 759, 385, 7034, 443, 7125, 1111, 624, 9506, 202, 5018, 859, 273, 394, 5589, 5621, 9506, 202, 2010, 18, 1289, 1046, 12, 5819, 1769, 9506, 202, 759, 4052, 7613, 7125, 1111, 624, 3393, 279, 29884, 18022, 3597, 406, 2323, 9506, 202, 2463, 261, 5018, 13, 1004, 4201, 18, 8837, 2932, 3163, 73, 18, 1098, 264, 6521, 3113, 859, 1769, 1082, 202, 97, 1044, 261, 503, 425, 13, 288, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 654, 862, 1099, 294, 315, 397, 425, 1769, 9506, 202, 2463, 446, 31, 1082, 202, 97, 202, 202, 20308, 202, 759, 348, 267, 265, 16, 1661, 3077, 202, 202, 97, 469, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 9511, 30, 2445, 1661, 3077, 20309, 12175, 295, 401, 8863, 1082, 202, 2463, 446, 31, 202, 202, 97, 5549, 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, 5589, 666, 264, 6521, 12, 780, 3925, 13, 288, 202, 202, 759, 27834, 328, 11, 1367, 24954, 4387, 3077, 20309, 695, 537, 295, 202, 202, 759, 430, 261, 278, 270, 5215, 73, 13, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 5923, 30, 987, 73, 2832, 4371, 7070, 1769, 1082, 202, 698, 288, 9506, 202, 759, 385, 7034, 443, 7125, 1111, 624, 9506, 202, 5018, 859, 273, 394, 5589, 5621, 9506, 202, 2010, 18, 1289, 1046, 12, 5819, 1769, 9506, 202, 759, 4052, 7613, 7125, 1111, 624, 3393, 279, 29884, 18022, 3597, 406, 2323, 9506, 202, 2463, 261, 5018, 13, 1004, 4201, 18, 8837, 2932, 3163, 73, 18, 1098, 264, 6521, 3113, 859, 1769, 1082, 2 ]
public String open() { Shell parent = getParent(); Display display = parent.getDisplay(); shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.MAX | SWT.MIN); props.setLook(shell); lsMod = new ModifyListener() { public void modifyText(ModifyEvent e) { input.setChanged(); } }; changed = input.hasChanged(); FormLayout formLayout = new FormLayout (); formLayout.marginWidth = Const.FORM_MARGIN; formLayout.marginHeight = Const.FORM_MARGIN; shell.setLayout(formLayout); shell.setText(Messages.getString("GetFileNamesDialog.DialogTitle")); middle = props.getMiddlePct(); margin = Const.MARGIN; // Stepname line wlStepname=new Label(shell, SWT.RIGHT); wlStepname.setText(Messages.getString("System.Label.StepName")); props.setLook(wlStepname); fdlStepname=new FormData(); fdlStepname.left = new FormAttachment(0, 0); fdlStepname.top = new FormAttachment(0, margin); fdlStepname.right= new FormAttachment(middle, -margin); wlStepname.setLayoutData(fdlStepname); wStepname=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER); wStepname.setText(stepname); props.setLook(wStepname); wStepname.addModifyListener(lsMod); fdStepname=new FormData(); fdStepname.left = new FormAttachment(middle, 0); fdStepname.top = new FormAttachment(0, margin); fdStepname.right= new FormAttachment(100, 0); wStepname.setLayoutData(fdStepname); wTabFolder = new CTabFolder(shell, SWT.BORDER); props.setLook(wTabFolder, Props.WIDGET_STYLE_TAB); ////////////////////////// // START OF FILE TAB /// ////////////////////////// wFileTab=new CTabItem(wTabFolder, SWT.NONE); wFileTab.setText(Messages.getString("GetFileNamesDialog.FileTab.TabTitle")); wFileComp = new Composite(wTabFolder, SWT.NONE); props.setLook(wFileComp); FormLayout fileLayout = new FormLayout(); fileLayout.marginWidth = 3; fileLayout.marginHeight = 3; wFileComp.setLayout(fileLayout); // Filename line wlFilename=new Label(wFileComp, SWT.RIGHT); wlFilename.setText(Messages.getString("GetFileNamesDialog.Filename.Label")); props.setLook(wlFilename); fdlFilename=new FormData(); fdlFilename.left = new FormAttachment(0, 0); fdlFilename.top = new FormAttachment(0, 0); fdlFilename.right= new FormAttachment(middle, -margin); wlFilename.setLayoutData(fdlFilename); wbbFilename=new Button(wFileComp, SWT.PUSH| SWT.CENTER); props.setLook(wbbFilename); wbbFilename.setText(Messages.getString("System.Button.Browse")); wbbFilename.setToolTipText(Messages.getString("System.Tooltip.BrowseForFileOrDirAndAdd")); fdbFilename=new FormData(); fdbFilename.right= new FormAttachment(100, 0); fdbFilename.top = new FormAttachment(0, 0); wbbFilename.setLayoutData(fdbFilename); wbvFilename=new Button(wFileComp, SWT.PUSH| SWT.CENTER); props.setLook(wbvFilename); wbvFilename.setText(Messages.getString("System.Button.Variable")); wbvFilename.setToolTipText(Messages.getString("System.Tooltip.VariableToFileOrDir")); fdbvFilename=new FormData(); fdbvFilename.right= new FormAttachment(wbbFilename, -margin); fdbvFilename.top = new FormAttachment(0, 0); wbvFilename.setLayoutData(fdbvFilename); wbaFilename=new Button(wFileComp, SWT.PUSH| SWT.CENTER); props.setLook(wbaFilename); wbaFilename.setText(Messages.getString("GetFileNamesDialog.FilenameAdd.Button")); wbaFilename.setToolTipText(Messages.getString("GetFileNamesDialog.FilenameAdd.Tooltip")); fdbaFilename=new FormData(); fdbaFilename.right= new FormAttachment(wbvFilename, -margin); fdbaFilename.top = new FormAttachment(0, 0); wbaFilename.setLayoutData(fdbaFilename); wFilename=new Text(wFileComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wFilename); wFilename.addModifyListener(lsMod); fdFilename=new FormData(); fdFilename.left = new FormAttachment(middle, 0); fdFilename.right= new FormAttachment(wbaFilename, -margin); fdFilename.top = new FormAttachment(0, 0); wFilename.setLayoutData(fdFilename); wlFilemask=new Label(wFileComp, SWT.RIGHT); wlFilemask.setText(Messages.getString("GetFileNamesDialog.Filemask.Label")); props.setLook(wlFilemask); fdlFilemask=new FormData(); fdlFilemask.left = new FormAttachment(0, 0); fdlFilemask.top = new FormAttachment(wFilename, margin); fdlFilemask.right= new FormAttachment(middle, -margin); wlFilemask.setLayoutData(fdlFilemask); wFilemask=new Text(wFileComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wFilemask); wFilemask.addModifyListener(lsMod); fdFilemask=new FormData(); fdFilemask.left = new FormAttachment(middle, 0); fdFilemask.top = new FormAttachment(wFilename, margin); fdFilemask.right= new FormAttachment(100, 0); wFilemask.setLayoutData(fdFilemask); // Whenever something changes, set the tooltip to the expanded version of the filename: wFilename.addModifyListener(getModifyListenerTooltipText(wFilename)); // Listen to the Variable... button wbvFilename.addSelectionListener(VariableButtonListenerFactory.getSelectionAdapter(shell, wFilename)); // Filename list line wlFilenameList=new Label(wFileComp, SWT.RIGHT); wlFilenameList.setText(Messages.getString("GetFileNamesDialog.FilenameList.Label")); props.setLook(wlFilenameList); fdlFilenameList=new FormData(); fdlFilenameList.left = new FormAttachment(0, 0); fdlFilenameList.top = new FormAttachment(wFilemask, margin); fdlFilenameList.right= new FormAttachment(middle, -margin); wlFilenameList.setLayoutData(fdlFilenameList); // Buttons to the right of the screen... wbdFilename=new Button(wFileComp, SWT.PUSH| SWT.CENTER); props.setLook(wbdFilename); wbdFilename.setText(Messages.getString("GetFileNamesDialog.FilenameDelete.Button")); wbdFilename.setToolTipText(Messages.getString("GetFileNamesDialog.FilenameDelete.Tooltip")); fdbdFilename=new FormData(); fdbdFilename.right = new FormAttachment(100, 0); fdbdFilename.top = new FormAttachment (wFilemask, 40); wbdFilename.setLayoutData(fdbdFilename); wbeFilename=new Button(wFileComp, SWT.PUSH| SWT.CENTER); props.setLook(wbeFilename); wbeFilename.setText(Messages.getString("GetFileNamesDialog.FilenameEdit.Button")); wbeFilename.setToolTipText(Messages.getString("GetFileNamesDialog.FilenameEdit.Tooltip")); fdbeFilename=new FormData(); fdbeFilename.right = new FormAttachment(100, 0); fdbeFilename.top = new FormAttachment (wbdFilename, margin); wbeFilename.setLayoutData(fdbeFilename); wbShowFiles=new Button(wFileComp, SWT.PUSH| SWT.CENTER); props.setLook(wbShowFiles); wbShowFiles.setText(Messages.getString("GetFileNamesDialog.ShowFiles.Button")); fdbShowFiles=new FormData(); fdbShowFiles.left = new FormAttachment(middle, 0); fdbShowFiles.bottom = new FormAttachment(100, 0); wbShowFiles.setLayoutData(fdbShowFiles); ColumnInfo[] colinfo=new ColumnInfo[] { new ColumnInfo(Messages.getString("GetFileNamesDialog.FileDirColumn.Column"), ColumnInfo.COLUMN_TYPE_TEXT, false), new ColumnInfo(Messages.getString("GetFileNamesDialog.WildcardColumn.Column"), ColumnInfo.COLUMN_TYPE_TEXT, false ), }; colinfo[ 1].setToolTip(Messages.getString("GetFileNamesDialog.RegExpColumn.Column")); wFilenameList = new TableView(wFileComp, SWT.FULL_SELECTION | SWT.SINGLE | SWT.BORDER, colinfo, colinfo.length, lsMod, props ); props.setLook(wFilenameList); fdFilenameList=new FormData(); fdFilenameList.left = new FormAttachment(middle, 0); fdFilenameList.right = new FormAttachment(wbdFilename, -margin); fdFilenameList.top = new FormAttachment(wFilemask, margin); fdFilenameList.bottom = new FormAttachment(wbShowFiles, -margin); wFilenameList.setLayoutData(fdFilenameList); fdFileComp=new FormData(); fdFileComp.left = new FormAttachment(0, 0); fdFileComp.top = new FormAttachment(0, 0); fdFileComp.right = new FormAttachment(100, 0); fdFileComp.bottom= new FormAttachment(100, 0); wFileComp.setLayoutData(fdFileComp); wFileComp.layout(); wFileTab.setControl(wFileComp); ///////////////////////////////////////////////////////////// /// END OF FILE TAB ///////////////////////////////////////////////////////////// fdTabFolder = new FormData(); fdTabFolder.left = new FormAttachment(0, 0); fdTabFolder.top = new FormAttachment(wStepname, margin); fdTabFolder.right = new FormAttachment(100, 0); fdTabFolder.bottom= new FormAttachment(100, -50); wTabFolder.setLayoutData(fdTabFolder); wOK=new Button(shell, SWT.PUSH); wOK.setText(Messages.getString("System.Button.OK")); wPreview=new Button(shell, SWT.PUSH); wPreview.setText(Messages.getString("GetFileNamesDialog.Preview.Button")); wCancel=new Button(shell, SWT.PUSH); wCancel.setText(Messages.getString("System.Button.Cancel")); setButtonPositions(new Button[] { wOK, wPreview, wCancel }, margin, wTabFolder); // Add listeners lsOK = new Listener() { public void handleEvent(Event e) { ok(); } }; lsPreview = new Listener() { public void handleEvent(Event e) { preview(); } }; lsCancel = new Listener() { public void handleEvent(Event e) { cancel(); } }; wOK.addListener (SWT.Selection, lsOK ); wPreview.addListener (SWT.Selection, lsPreview ); wCancel.addListener (SWT.Selection, lsCancel ); lsDef=new SelectionAdapter() { public void widgetDefaultSelected(SelectionEvent e) { ok(); } }; wStepname.addSelectionListener( lsDef ); // Add the file to the list of files... SelectionAdapter selA = new SelectionAdapter() { public void widgetSelected(SelectionEvent arg0) { wFilenameList.add(new String[] { wFilename.getText(), wFilemask.getText() } ); wFilename.setText(""); wFilemask.setText(""); wFilenameList.removeEmptyRows(); wFilenameList.setRowNums(); wFilenameList.optWidth(true); } }; wbaFilename.addSelectionListener(selA); wFilename.addSelectionListener(selA); // Delete files from the list of files... wbdFilename.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent arg0) { int idx[] = wFilenameList.getSelectionIndices(); wFilenameList.remove(idx); wFilenameList.removeEmptyRows(); wFilenameList.setRowNums(); } }); // Edit the selected file & remove from the list... wbeFilename.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent arg0) { int idx = wFilenameList.getSelectionIndex(); if (idx>=0) { String string[] = wFilenameList.getItem(idx); wFilename.setText(string[0]); wFilemask.setText(string[1]); wFilenameList.remove(idx); } wFilenameList.removeEmptyRows(); wFilenameList.setRowNums(); } }); // Show the files that are selected at this time... wbShowFiles.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { GetFileNamesMeta tfii = new GetFileNamesMeta(); getInfo(tfii); String files[] = tfii.getFilePaths(); if (files!=null && files.length>0) { EnterSelectionDialog esd = new EnterSelectionDialog(shell, props, files, "Files read", "Files read:"); esd.setViewOnly(); esd.open(); } else { MessageBox mb = new MessageBox(shell, SWT.OK | SWT.ICON_ERROR ); mb.setMessage(Messages.getString("GetFileNamesDialog.NoFilesFound.DialogMessage")); mb.setText(Messages.getString("System.Dialog.Error.Title")); mb.open(); } } } ); // Listen to the Browse... button wbbFilename.addSelectionListener ( new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { if (wFilemask.getText()!=null && wFilemask.getText().length()>0) // A mask: a directory! { DirectoryDialog dialog = new DirectoryDialog(shell, SWT.OPEN); if (wFilename.getText()!=null) { String fpath = StringUtil.environmentSubstitute(wFilename.getText()); dialog.setFilterPath( fpath ); } if (dialog.open()!=null) { String str= dialog.getFilterPath(); wFilename.setText(str); } } else { FileDialog dialog = new FileDialog(shell, SWT.OPEN); dialog.setFilterExtensions(new String[] {"*.txt;*.csv", "*.csv", "*.txt", "*"}); if (wFilename.getText()!=null) { String fname = StringUtil.environmentSubstitute(wFilename.getText()); dialog.setFileName( fname ); } dialog.setFilterNames(new String[] {Messages.getString("GetFileNamesDialog.FileType.TextAndCSVFiles"), Messages.getString("System.FileType.CSVFiles"), Messages.getString("System.FileType.TextFiles"), Messages.getString("System.FileType.AllFiles")}); if (dialog.open()!=null) { String str = dialog.getFilterPath()+System.getProperty("file.separator")+dialog.getFileName(); wFilename.setText(str); } } } } ); // Detect X or ALT-F4 or something that kills this window... shell.addShellListener( new ShellAdapter() { public void shellClosed(ShellEvent e) { cancel(); } } ); wTabFolder.setSelection(0); // Set the shell size, based upon previous time... getData(input); setSize(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } return stepname; }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/e1fac432cc56bbc2ac07761e81d693a957cbef82/GetFileNamesDialog.java/clean/src/be/ibridge/kettle/trans/step/getfilenames/GetFileNamesDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1696, 1435, 202, 95, 202, 202, 13220, 982, 273, 5089, 5621, 202, 202, 4236, 2562, 273, 982, 18, 588, 4236, 5621, 202, 202, 10304, 273, 394, 19433, 12, 2938, 16, 348, 8588, 18, 2565, 18683, 67, 6566, 49, 571, 348, 8588, 18, 862, 4574, 571, 348, 8588, 18, 6694, 571, 348, 8588, 18, 6236, 1769, 3196, 202, 9693, 18, 542, 9794, 12, 10304, 1769, 202, 202, 3251, 1739, 273, 394, 9518, 2223, 1435, 3196, 202, 95, 1082, 202, 482, 918, 5612, 1528, 12, 11047, 1133, 425, 13, 1875, 202, 95, 9506, 202, 2630, 18, 542, 5033, 5621, 1082, 202, 97, 202, 202, 20451, 202, 202, 6703, 540, 273, 810, 18, 5332, 5033, 5621, 9506, 202, 1204, 3744, 646, 3744, 273, 394, 2748, 3744, 261, 1769, 202, 202, 687, 3744, 18, 10107, 2384, 225, 273, 9333, 18, 4983, 67, 19772, 7702, 31, 202, 202, 687, 3744, 18, 10107, 2686, 273, 9333, 18, 4983, 67, 19772, 7702, 31, 202, 202, 10304, 18, 542, 3744, 12, 687, 3744, 1769, 202, 202, 10304, 18, 542, 1528, 12, 5058, 18, 588, 780, 2932, 967, 812, 1557, 6353, 18, 6353, 4247, 7923, 1769, 9506, 202, 18661, 273, 3458, 18, 588, 21924, 52, 299, 5621, 202, 202, 10107, 273, 9333, 18, 19772, 7702, 31, 202, 202, 759, 8693, 529, 980, 202, 202, 21504, 4160, 529, 33, 2704, 5287, 12, 10304, 16, 348, 8588, 18, 11847, 1769, 202, 202, 21504, 4160, 529, 18, 542, 1528, 12, 5058, 18, 588, 780, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1696, 1435, 202, 95, 202, 202, 13220, 982, 273, 5089, 5621, 202, 202, 4236, 2562, 273, 982, 18, 588, 4236, 5621, 202, 202, 10304, 273, 394, 19433, 12, 2938, 16, 348, 8588, 18, 2565, 18683, 67, 6566, 49, 571, 348, 8588, 18, 862, 4574, 571, 348, 8588, 18, 6694, 571, 348, 8588, 18, 6236, 1769, 3196, 202, 9693, 18, 542, 9794, 12, 10304, 1769, 202, 202, 3251, 1739, 273, 394, 9518, 2223, 1435, 3196, 202, 95, 1082, 202, 482, 918, 5612, 1528, 12, 11047, 1133, 425, 13, 1875, 202, 95, 9506, 202, 2630, 18, 542, 5033, 5621, 1082, 202, 97, 202, 202, 20451, 202, 202, 6703, 540, 273, 810, 18, 5332, 5033, 5621, 9506, 202, 2 ]
mNSConnectButton.setMaximumSize(new Dimension(60, 18)); mNSConnectButton.setMinimumSize(new Dimension(60, 18));
mNSConnectButton.setMaximumSize(new Dimension(91, 26)); mNSConnectButton.setMinimumSize(new Dimension(91, 26)); mNSConnectButton.setPreferredSize(new Dimension(91, 26));
private void jbInit() throws Exception { mNSConnectBorder = new TitledBorder(new EtchedBorder(EtchedBorder.RAISED,Color.white,new Color(142, 142, 142)),"Naming Service Connection"); mSubjectMgrBorder = new TitledBorder(new EtchedBorder(EtchedBorder.RAISED,Color.white,new Color(142, 142, 142)),"Subject Manager Choice"); mNSConnectPanel.setLayout(mNSConnectLayout); mNSConnectPanel.setBorder(mNSConnectBorder); mNSConnectPanel.setMinimumSize(new Dimension(450, 175)); mNSConnectPanel.setPreferredSize(new Dimension(450, 175)); mNSHostLabel.setHorizontalAlignment(SwingConstants.TRAILING); mNSHostLabel.setText("Naming Service Host"); mNSHostField.setMinimumSize(new Dimension(80, 17)); mNSHostField.setPreferredSize(new Dimension(180, 17)); mNSHostField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { validateNetworkAddress(e); } }); mNSPortField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { validateNetworkAddress(e); } }); mSubjectMgrPanel.setBorder(mSubjectMgrBorder); mSubjectMgrPanel.setMinimumSize(new Dimension(450, 200)); mSubjectMgrPanel.setPreferredSize(new Dimension(450, 200)); mSubjectMgrPanel.setLayout(mSubjectMgrLayout); mSubjectMgrSplitPane.setDividerSize(7); mNSConnectButton.setEnabled(false); mNSConnectButton.setMaximumSize(new Dimension(60, 18)); mNSConnectButton.setMinimumSize(new Dimension(60, 18)); mNSConnectButton.setText("Connect"); mNSConnectButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { namingServiceConnectAction(e); } }); mOkayButton.setEnabled(false); mSubjectMgrList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); mButtonPanel.setMinimumSize(new Dimension(450, 33)); mButtonPanel.setPreferredSize(new Dimension(450, 33)); mSubjectMgrListPane.setMinimumSize(new Dimension(100, 90)); mSubjectMgrListPane.setPreferredSize(new Dimension(180, 90)); mSubjectMgrInfoPane.setMinimumSize(new Dimension(100, 90)); mSubjectMgrInfoPane.setPreferredSize(new Dimension(180, 90)); mNSPortLabel.setHorizontalAlignment(SwingConstants.TRAILING); mNamingContextLabel.setHorizontalAlignment(SwingConstants.TRAILING); mNSConnectPanel.add(mNSHostLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 2), 47, 18)); mNSConnectPanel.add(mNSHostField, new GridBagConstraints(1, 0, 1, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 14, 6)); mNSPortLabel.setText("Naming Service Port"); mNSPortField.setMinimumSize(new Dimension(50, 17)); mNSPortField.setPreferredSize(new Dimension(50, 17)); mNSConnectPanel.add(mNSPortLabel, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 2), 51, 18)); mNSConnectPanel.add(mNSPortField, new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 10, 6)); mNamingContextLabel.setText("Naming Subcontext"); mNamingContextField.setMinimumSize(new Dimension(80, 17)); mNamingContextField.setPreferredSize(new Dimension(150, 17)); mOkayButton.setText("OK"); mOkayButton.setMnemonic('O'); mOkayButton.setSelected(true); mOkayButton.addActionListener(new ActionListener() { public void actionPerformed (ActionEvent e) { okButtonAction(e); } }); mCancelButton.setText("Cancel"); mCancelButton.setMnemonic('C'); mCancelButton.addActionListener(new ActionListener() { public void actionPerformed (ActionEvent e) { cancelButtonAction(e); } }); this.getContentPane().add(mNSConnectPanel, BorderLayout.NORTH); mNSConnectPanel.add(mNamingContextLabel, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 2), 56, 18)); mNSConnectPanel.add(mNamingContextField, new GridBagConstraints(1, 2, 1, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 44, 6)); mNSConnectPanel.add(mNSConnectButton, new GridBagConstraints(0, 3, 2, 1, 0.0, 0.0 ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 0, 0, 0), 45, 5)); this.getContentPane().add(mButtonPanel, BorderLayout.SOUTH); mButtonPanel.add(mOkayButton, null); mButtonPanel.add(mCancelButton, null); this.getContentPane().add(mSubjectMgrPanel, BorderLayout.CENTER); mSubjectMgrPanel.add(mSubjectMgrSplitPane, BorderLayout.CENTER); mSubjectMgrSplitPane.add(mSubjectMgrListPane, JSplitPane.LEFT); mSubjectMgrSplitPane.add(mSubjectMgrInfoPane, JSplitPane.RIGHT); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/47790a2d724f0f4094ad5ebaae4b3e7c91ba99ce/ConnectionDialog.java/clean/modules/tweek/java/org/vrjuggler/tweek/gui/ConnectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 20515, 2570, 1435, 1216, 1185, 282, 288, 1377, 312, 3156, 5215, 8107, 273, 394, 399, 305, 1259, 8107, 12, 2704, 512, 88, 2049, 8107, 12, 41, 88, 2049, 8107, 18, 2849, 45, 18204, 16, 2957, 18, 14739, 16, 2704, 5563, 12, 29126, 16, 5045, 22, 16, 5045, 22, 13, 3631, 6, 24102, 1956, 4050, 8863, 1377, 312, 6638, 9455, 8107, 273, 394, 399, 305, 1259, 8107, 12, 2704, 512, 88, 2049, 8107, 12, 41, 88, 2049, 8107, 18, 2849, 45, 18204, 16, 2957, 18, 14739, 16, 2704, 5563, 12, 29126, 16, 5045, 22, 16, 5045, 22, 13, 3631, 6, 6638, 8558, 16432, 8863, 1377, 312, 3156, 5215, 5537, 18, 542, 3744, 12, 81, 3156, 5215, 3744, 1769, 1377, 312, 3156, 5215, 5537, 18, 542, 8107, 12, 81, 3156, 5215, 8107, 1769, 1377, 312, 3156, 5215, 5537, 18, 542, 13042, 1225, 12, 2704, 13037, 12, 24, 3361, 16, 404, 5877, 10019, 1377, 312, 3156, 5215, 5537, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 24, 3361, 16, 404, 5877, 10019, 1377, 312, 3156, 2594, 2224, 18, 542, 14457, 11535, 12, 6050, 310, 2918, 18, 20060, 2627, 1360, 1769, 1377, 312, 3156, 2594, 2224, 18, 542, 1528, 2932, 24102, 1956, 4893, 8863, 1377, 312, 3156, 2594, 974, 18, 542, 13042, 1225, 12, 2704, 13037, 12, 3672, 16, 8043, 10019, 1377, 312, 3156, 2594, 974, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 18278, 16, 8043, 10019, 1377, 312, 3156, 2594, 974, 18, 1289, 1803, 2223, 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, 565, 3238, 918, 20515, 2570, 1435, 1216, 1185, 282, 288, 1377, 312, 3156, 5215, 8107, 273, 394, 399, 305, 1259, 8107, 12, 2704, 512, 88, 2049, 8107, 12, 41, 88, 2049, 8107, 18, 2849, 45, 18204, 16, 2957, 18, 14739, 16, 2704, 5563, 12, 29126, 16, 5045, 22, 16, 5045, 22, 13, 3631, 6, 24102, 1956, 4050, 8863, 1377, 312, 6638, 9455, 8107, 273, 394, 399, 305, 1259, 8107, 12, 2704, 512, 88, 2049, 8107, 12, 41, 88, 2049, 8107, 18, 2849, 45, 18204, 16, 2957, 18, 14739, 16, 2704, 5563, 12, 29126, 16, 5045, 22, 16, 5045, 22, 13, 3631, 6, 6638, 8558, 16432, 8863, 1377, 312, 3156, 5215, 5537, 18, 542, 3744, 12, 81, 3156, 5215, 3744, 2 ]
System.err.println("Shrinking from "+chkBlocksInStore+" to "+maxChkBlocks);
long realSize = countCHKBlocksFromFile(); System.err.println("Shrinking from "+chkBlocksInStore+" to "+maxChkBlocks+" (from db "+countCHKBlocksFromDatabase()+" from file "+countCHKBlocksFromFile()+")");
private void maybeSlowShrink(boolean dontCheck, boolean inStartUp) throws DatabaseException, IOException { Vector wantedKeep = new Vector(); // keep; content is wanted, and is in the right place Vector unwantedIgnore = new Vector(); // ignore; content is not wanted, and is not in the right place Vector wantedMove = new Vector(); // content is wanted, but is in the wrong part of the store Vector unwantedMove = new Vector(); // content is not wanted, but is in the wrong part of the store Cursor c = null; Transaction t = null; long newSize = maxChkBlocks; if(chkBlocksInStore < maxChkBlocks) return; WrapperManager.signalStarting(24*60*60*1000); System.err.println("Shrinking from "+chkBlocksInStore+" to "+maxChkBlocks); try { t = environment.beginTransaction(null,null); c = chkDB_accessTime.openCursor(t,null); DatabaseEntry keyDBE = new DatabaseEntry(); DatabaseEntry blockDBE = new DatabaseEntry(); OperationStatus opStat; opStat = c.getLast(keyDBE, blockDBE, LockMode.RMW); if(opStat == OperationStatus.NOTFOUND) { System.err.println("Database is empty."); c.close(); c = null; t.abort(); t = null; return; } //Logger.minor(this, "Found first key"); int x = 0; while(true) { StoreBlock storeBlock = (StoreBlock) storeBlockTupleBinding.entryToObject(blockDBE); //Logger.minor(this, "Found another key ("+(x++)+") ("+storeBlock.offset+")"); long block = storeBlock.offset; Long blockNum = new Long(storeBlock.offset); Long seqNum = new Long(storeBlock.recentlyUsed); //System.out.println("#"+x+" seq "+seqNum+": block "+blockNum); if(x < newSize) { // Wanted if(block < newSize) { //System.out.println("Keep where it is: block "+blockNum+" seq # "+x+" / "+newSize); wantedKeep.add(blockNum); } else { //System.out.println("Move to where it should go: "+blockNum+" seq # "+x+" / "+newSize); wantedMove.add(blockNum); } } else { // Unwanted if(block < newSize) { //System.out.println("Overwrite: "+blockNum+" seq # "+x+" / "+newSize); unwantedMove.add(blockNum); } else { //System.out.println("Ignore, will be wiped: block "+blockNum+" seq # "+x+" / "+newSize); unwantedIgnore.add(blockNum); } } opStat = c.getPrev(keyDBE, blockDBE, LockMode.RMW); if(opStat == OperationStatus.NOTFOUND) { break; } x++; if(x % 1024 == 0) { System.out.println("Reading store prior to shrink: "+(x*100/chkBlocksInStore)+ "% ( "+x+"/"+chkBlocksInStore+")"); } if(x == Integer.MAX_VALUE) { System.err.println("Key number "+x+" - ignoring store after "+(x*(dataBlockSize+headerBlockSize)+" bytes")); break; } } } finally { if(c != null) c.close(); if(t != null) t.abort(); } System.err.println("Keys to keep where they are: "+wantedKeep.size()); System.err.println("Keys which will be wiped anyway: "+unwantedIgnore.size()); System.err.println("Keys to move: "+wantedMove.size()); System.err.println("Keys to be moved over: "+unwantedMove.size()); // Now move all the wantedMove blocks onto the corresponding unwantedMove's. byte[] buf = new byte[headerBlockSize + dataBlockSize]; t = null; try { t = environment.beginTransaction(null,null); for(int i=0;i<wantedMove.size();i++) { Long wantedBlock = (Long)wantedMove.get(i); Long unwantedBlock = (Long)unwantedMove.get(i); // Delete unwantedBlock from the store DatabaseEntry wantedBlockEntry = new DatabaseEntry(); longTupleBinding.objectToEntry(wantedBlock, wantedBlockEntry); DatabaseEntry unwantedBlockEntry = new DatabaseEntry(); longTupleBinding.objectToEntry(unwantedBlock, unwantedBlockEntry); // Delete the old block from the database. chkDB_blockNum.delete(t, unwantedBlockEntry); long seekTo = wantedBlock.longValue() * (headerBlockSize + dataBlockSize); chkStore.seek(seekTo); chkStore.readFully(buf); seekTo = unwantedBlock.longValue() * (headerBlockSize + dataBlockSize); chkStore.seek(seekTo); chkStore.write(buf); DatabaseEntry routingKeyDBE = new DatabaseEntry(); DatabaseEntry blockDBE = new DatabaseEntry(); chkDB_blockNum.get(t, wantedBlockEntry, routingKeyDBE, blockDBE, LockMode.RMW); StoreBlock block = (StoreBlock) storeBlockTupleBinding.entryToObject(blockDBE); block.offset = unwantedBlock.longValue(); storeBlockTupleBinding.objectToEntry(block, blockDBE); chkDB.put(t, routingKeyDBE, blockDBE); if((i+1) % 2048 == 0) { t.commit(); t = environment.beginTransaction(null,null); System.out.println("Moving blocks: "+(i*100/wantedMove.size())+ "% ( "+i+"/"+wantedMove.size()+")"); } //System.err.println("Moved "+wantedBlock+" to "+unwantedBlock); } System.out.println("Moved all "+wantedMove.size()+" blocks"); if(t != null) { t.commit(); t = null; } } finally { if(t != null) t.abort(); } maybeQuickShrink(false); }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/6627b28789c87121ba2b2847c9c58d6dd6f19439/BerkeleyDBFreenetStore.java/clean/src/freenet/store/BerkeleyDBFreenetStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6944, 28733, 28747, 12, 6494, 14046, 1564, 16, 1250, 316, 1685, 1211, 13, 1216, 27215, 16, 1860, 288, 202, 202, 5018, 15504, 11523, 273, 394, 5589, 5621, 368, 3455, 31, 913, 353, 15504, 16, 471, 353, 316, 326, 2145, 3166, 202, 202, 5018, 30264, 3777, 273, 394, 5589, 5621, 368, 2305, 31, 913, 353, 486, 15504, 16, 471, 353, 486, 316, 326, 2145, 3166, 202, 202, 5018, 15504, 7607, 273, 394, 5589, 5621, 368, 913, 353, 15504, 16, 1496, 353, 316, 326, 7194, 1087, 434, 326, 1707, 202, 202, 5018, 30264, 7607, 273, 394, 5589, 5621, 368, 913, 353, 486, 15504, 16, 1496, 353, 316, 326, 7194, 1087, 434, 326, 1707, 1082, 377, 202, 6688, 276, 273, 446, 31, 377, 202, 3342, 268, 273, 446, 31, 377, 202, 5748, 21402, 273, 943, 782, 79, 6450, 31, 377, 202, 430, 12, 27038, 6450, 382, 2257, 411, 943, 782, 79, 6450, 13, 327, 31, 377, 202, 377, 202, 3611, 1318, 18, 10420, 11715, 12, 3247, 14, 4848, 14, 4848, 14, 18088, 1769, 377, 202, 377, 202, 5748, 2863, 1225, 273, 1056, 1792, 47, 6450, 13087, 5621, 225, 2332, 18, 370, 18, 8222, 2932, 28747, 310, 628, 13773, 27038, 6450, 382, 2257, 9078, 358, 13773, 1896, 782, 79, 6450, 9078, 261, 2080, 1319, 13773, 1883, 1792, 47, 6450, 1265, 4254, 1435, 9078, 628, 585, 13773, 1883, 1792, 47, 6450, 13087, 1435, 9078, 2225, 1769, 377, 202, 377, 202, 698, 288, 1082, 202, 88, 273, 3330, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6944, 28733, 28747, 12, 6494, 14046, 1564, 16, 1250, 316, 1685, 1211, 13, 1216, 27215, 16, 1860, 288, 202, 202, 5018, 15504, 11523, 273, 394, 5589, 5621, 368, 3455, 31, 913, 353, 15504, 16, 471, 353, 316, 326, 2145, 3166, 202, 202, 5018, 30264, 3777, 273, 394, 5589, 5621, 368, 2305, 31, 913, 353, 486, 15504, 16, 471, 353, 486, 316, 326, 2145, 3166, 202, 202, 5018, 15504, 7607, 273, 394, 5589, 5621, 368, 913, 353, 15504, 16, 1496, 353, 316, 326, 7194, 1087, 434, 326, 1707, 202, 202, 5018, 30264, 7607, 273, 394, 5589, 5621, 368, 913, 353, 486, 15504, 16, 1496, 353, 316, 326, 7194, 1087, 434, 326, 1707, 1082, 377, 202, 6688, 2 ]
for (int i = 0; i < fields.length; i++) { final PsiField field = fields[i]; if (!(field.hasModifierProperty(PsiModifier.STATIC)
for(final PsiField field : fields){ if(!(field.hasModifierProperty(PsiModifier.STATIC)
private static boolean allFieldsPublicStaticFinal(PsiClass aClass) { boolean allFieldsStaticFinal = true; final PsiField[] fields = aClass.getFields(); for (int i = 0; i < fields.length; i++) { final PsiField field = fields[i]; if (!(field.hasModifierProperty(PsiModifier.STATIC) && field.hasModifierProperty(PsiModifier.FINAL) && field.hasModifierProperty(PsiModifier.PUBLIC))) { allFieldsStaticFinal = false; } } return allFieldsStaticFinal; }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/2d46d291193579a7564649b4881c7ea8e02eda5b/ClassMayBeInterfaceInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/classlayout/ClassMayBeInterfaceInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 760, 1250, 777, 2314, 4782, 5788, 7951, 12, 52, 7722, 797, 20148, 13, 288, 5411, 1250, 777, 2314, 5788, 7951, 273, 638, 31, 5411, 727, 453, 7722, 974, 8526, 1466, 273, 20148, 18, 588, 2314, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 7734, 727, 453, 7722, 974, 652, 273, 1466, 63, 77, 15533, 7734, 309, 16051, 12, 1518, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 22741, 13, 13491, 597, 652, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 7263, 1013, 13, 13491, 597, 652, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 14939, 20349, 288, 10792, 777, 2314, 5788, 7951, 273, 629, 31, 7734, 289, 5411, 289, 5411, 327, 777, 2314, 5788, 7951, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 760, 1250, 777, 2314, 4782, 5788, 7951, 12, 52, 7722, 797, 20148, 13, 288, 5411, 1250, 777, 2314, 5788, 7951, 273, 638, 31, 5411, 727, 453, 7722, 974, 8526, 1466, 273, 20148, 18, 588, 2314, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 7734, 727, 453, 7722, 974, 652, 273, 1466, 63, 77, 15533, 7734, 309, 16051, 12, 1518, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 22741, 13, 13491, 597, 652, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 7263, 1013, 13, 13491, 597, 652, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 14939, 20349, 288, 10792, 777, 2314, 5788, 7951, 273, 629, 2 ]
BpelC bpelc = BpelC.newBpelCompiler(); bpelc.setOutputDirectory(_duDirectory); bpelc.setWsdlFinder(new DUWsdlFinder(_duDirectory)); bpelc.setXsltFinder(new DUXsltFinder(_duDirectory)); try { bpelc.compile(bpelFile.toURL()); } catch (IOException e) { __log.error("Couldn't compile process file!", e);
BpelC bpelc = BpelC.newBpelCompiler(); bpelc.setOutputDirectory(_duDirectory); bpelc.setWsdlFinder(new DUWsdlFinder(_duDirectory)); bpelc.setXsltFinder(new DUXsltFinder(_duDirectory)); try { bpelc.compile(bpelFile.toURL()); } catch (IOException e) { __log.error("Couldn't compile process file!", e); }
private void compile(File bpelFile) { BpelC bpelc = BpelC.newBpelCompiler(); bpelc.setOutputDirectory(_duDirectory); bpelc.setWsdlFinder(new DUWsdlFinder(_duDirectory)); bpelc.setXsltFinder(new DUXsltFinder(_duDirectory)); try { bpelc.compile(bpelFile.toURL()); } catch (IOException e) { __log.error("Couldn't compile process file!", e); } }
45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/7622ffd0b40d0eb70799f28fc221a2dfc101f427/DeploymentUnitImpl.java/clean/bpel-runtime/src/main/java/org/apache/ode/bpel/deploy/DeploymentUnitImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4074, 12, 812, 9107, 292, 812, 13, 288, 565, 605, 84, 292, 39, 9107, 292, 71, 273, 605, 84, 292, 39, 18, 2704, 38, 84, 292, 9213, 5621, 565, 9107, 292, 71, 18, 542, 1447, 2853, 24899, 2544, 2853, 1769, 565, 9107, 292, 71, 18, 542, 15444, 5761, 8441, 12, 2704, 463, 57, 15444, 5761, 8441, 24899, 2544, 2853, 10019, 565, 9107, 292, 71, 18, 542, 60, 14414, 8441, 12, 2704, 463, 57, 60, 14414, 8441, 24899, 2544, 2853, 10019, 565, 775, 288, 1377, 9107, 292, 71, 18, 11100, 12, 17152, 292, 812, 18, 869, 1785, 10663, 565, 289, 1044, 261, 14106, 425, 13, 288, 1377, 1001, 1330, 18, 1636, 2932, 16342, 1404, 4074, 1207, 585, 5, 3113, 425, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4074, 12, 812, 9107, 292, 812, 13, 288, 565, 605, 84, 292, 39, 9107, 292, 71, 273, 605, 84, 292, 39, 18, 2704, 38, 84, 292, 9213, 5621, 565, 9107, 292, 71, 18, 542, 1447, 2853, 24899, 2544, 2853, 1769, 565, 9107, 292, 71, 18, 542, 15444, 5761, 8441, 12, 2704, 463, 57, 15444, 5761, 8441, 24899, 2544, 2853, 10019, 565, 9107, 292, 71, 18, 542, 60, 14414, 8441, 12, 2704, 463, 57, 60, 14414, 8441, 24899, 2544, 2853, 10019, 565, 775, 288, 1377, 9107, 292, 71, 18, 11100, 12, 17152, 292, 812, 18, 869, 1785, 10663, 565, 289, 1044, 261, 14106, 425, 13, 288, 1377, 1001, 1330, 18, 1636, 2932, 16342, 1404, 4074, 1207, 585, 2 ]
int col = G.getStone (x, y, z); if (col != Colour.EMPTY) { Stone stone = new Stone (col); TransformGroup objTranslate = translate (x, y, z); objTranslate.addChild (stone); BranchGroup b = new BranchGroup (); b.addChild (objTranslate); p.addChild (b); setCursor (x, y, z);
int col = G.getStone (x, y, z); if (col != Colour.EMPTY) { Stone stone = new Stone (col); TransformGroup objTranslate = translate (x, y, z); objTranslate.addChild (stone); BranchGroup b = new BranchGroup (); b.addChild (objTranslate); p.addChild (b); setCursor (x, y, z); }
void drawStone (int x, int y, int z, BranchGroup p) { int col = G.getStone (x, y, z); if (col != Colour.EMPTY) { Stone stone = new Stone (col); // stone.setPickable (false); // stone.clearCapability (Geometry.ALLOW_INTERSECT); // PickTool.setCapabilities(stone, PickTool.INTERSECT_FULL); TransformGroup objTranslate = translate (x, y, z); objTranslate.addChild (stone); BranchGroup b = new BranchGroup (); b.addChild (objTranslate); p.addChild (b); setCursor (x, y, z); } }
388 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/388/518270cc649a5de8c58d13774d50e35a03f1e61a/J3DApp.java/buggy/go-3/J3DApp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3724, 510, 476, 261, 474, 619, 16, 509, 677, 16, 509, 998, 16, 15449, 1114, 293, 13, 288, 202, 474, 645, 273, 611, 18, 588, 510, 476, 261, 92, 16, 677, 16, 998, 1769, 202, 430, 261, 1293, 480, 1558, 477, 18, 13625, 13, 288, 202, 565, 934, 476, 384, 476, 273, 394, 934, 476, 261, 1293, 1769, 202, 565, 368, 202, 565, 384, 476, 18, 542, 17968, 429, 261, 5743, 1769, 202, 565, 368, 202, 565, 384, 476, 18, 8507, 17035, 261, 9823, 18, 13511, 67, 9125, 1090, 1268, 1769, 202, 565, 368, 202, 565, 23038, 6364, 18, 542, 14012, 12, 13925, 16, 23038, 6364, 18, 9125, 1090, 1268, 67, 18111, 1769, 202, 565, 11514, 1114, 1081, 12818, 273, 4204, 261, 92, 16, 677, 16, 998, 1769, 202, 565, 1081, 12818, 18, 1289, 1763, 261, 13925, 1769, 202, 565, 15449, 1114, 324, 273, 394, 15449, 1114, 261, 1769, 202, 565, 324, 18, 1289, 1763, 261, 2603, 12818, 1769, 202, 565, 293, 18, 1289, 1763, 261, 70, 1769, 202, 565, 444, 6688, 261, 92, 16, 677, 16, 998, 1769, 202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, 619, 16, 509, 677, 16, 509, 998, 16, 15449, 1114, 293, 13, 288, 202, 474, 645, 273, 611, 18, 588, 510, 476, 261, 92, 16, 677, 16, 998, 1769, 202, 430, 261, 1293, 480, 1558, 477, 18, 13625, 13, 288, 202, 565, 934, 476, 384, 476, 273, 394, 934, 476, 261, 1293, 1769, 202, 565, 368, 202, 565, 384, 476, 18, 542, 17968, 429, 261, 5743, 1769, 202, 565, 368, 202, 565, 384, 476, 18, 8507, 17035, 261, 9823, 18, 13511, 67, 9125, 1090, 1268, 1769, 202, 565, 368, 202, 565, 23038, 6364, 18, 542, 14012, 12, 13925, 16, 23038, 6364, 18, 9125, 1090, 1268, 67, 18111, 1769, 202, 565, 11514, 1114, 2 ]
private boolean isEqualParameters( List params1, List params2 ) { if ( params1 == params2 ) return true; if ( isEqualBasicCol( params1, params2 ) == false ) return false; Iterator it = params1.iterator( ); Iterator it2 = params2.iterator( ); while ( it.hasNext( ) ) { IParameterDefinition pd = (IParameterDefinition) it.next( ); IParameterDefinition pd2 = (IParameterDefinition) it2.next( ); if ( isEqualParameter( pd, pd2 ) == false ) return false; } return true; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/b30656e40bc3ada71d2c01a41e40c0ea1b450c55/DataSourceAndDataSet.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSourceAndDataSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 21614, 2402, 12, 987, 859, 21, 16, 987, 859, 22, 262, 202, 95, 202, 202, 430, 261, 859, 21, 422, 859, 22, 262, 1082, 202, 2463, 638, 31, 202, 202, 430, 261, 21614, 8252, 914, 12, 859, 21, 16, 859, 22, 262, 422, 629, 262, 1082, 202, 2463, 629, 31, 202, 202, 3198, 518, 273, 859, 21, 18, 9838, 12, 11272, 202, 202, 3198, 518, 22, 273, 859, 22, 18, 9838, 12, 11272, 202, 202, 17523, 261, 518, 18, 5332, 2134, 12, 262, 262, 202, 202, 95, 1082, 202, 45, 1662, 1852, 4863, 273, 261, 45, 1662, 1852, 13, 518, 18, 4285, 12, 11272, 1082, 202, 45, 1662, 1852, 4863, 22, 273, 261, 45, 1662, 1852, 13, 518, 22, 18, 4285, 12, 11272, 1082, 202, 430, 261, 21614, 1662, 12, 4863, 16, 4863, 22, 262, 422, 629, 262, 9506, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 21614, 2402, 12, 987, 859, 21, 16, 987, 859, 22, 262, 202, 95, 202, 202, 430, 261, 859, 21, 422, 859, 22, 262, 1082, 202, 2463, 638, 31, 202, 202, 430, 261, 21614, 8252, 914, 12, 859, 21, 16, 859, 22, 262, 422, 629, 262, 1082, 202, 2463, 629, 31, 202, 202, 3198, 518, 273, 859, 21, 18, 9838, 12, 11272, 202, 202, 3198, 518, 22, 273, 859, 22, 18, 9838, 12, 11272, 202, 202, 17523, 261, 518, 18, 5332, 2134, 12, 262, 262, 202, 202, 95, 1082, 202, 45, 1662, 1852, 4863, 273, 261, 45, 1662, 1852, 13, 518, 18, 4285, 12, 11272, 1082, 202, 45, 1662, 1852, 4863, 22, 273, 261, 45, 1662, 2 ]
public void setFeature(String name, boolean value) throws TransformerConfigurationException { // feature name cannot be null if (name == null) { throw new NullPointerException( "Trying to set a feature with a null name: " + CLASS_NAME + "#setFeature(null, " + value + ")" ); } // secure processing? if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) { featureSecureProcessing = value; // all done processing feature return; } // unknown feature throw new TransformerConfigurationException( "Trying to set the unknown feature \"" + name + "\": " + CLASS_NAME + "#setFeature(" + name + ", " + value + ")" ); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/f22658e0d69f8550b3494a8593653ad91e44410c/SmartTransformerFactoryImpl.java/clean/src/org/apache/xalan/xsltc/trax/SmartTransformerFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 542, 4595, 12, 780, 529, 16, 6494, 1132, 13, 15069, 8319, 10737, 95, 202, 759, 7238, 529, 12892, 19425, 420, 202, 430, 12, 529, 631, 2011, 15329, 202, 12849, 2704, 2041, 9992, 12, 202, 202, 6, 18038, 14627, 1066, 7238, 1918, 304, 420, 529, 2773, 202, 202, 15, 5237, 67, 1985, 9078, 7, 542, 4595, 12, 2011, 10837, 15, 1132, 9078, 2225, 202, 202, 1769, 202, 97, 1082, 202, 759, 8869, 10632, 35, 202, 430, 12, 529, 18, 14963, 12, 4201, 2918, 18, 18257, 67, 11944, 4830, 67, 16560, 1360, 3719, 95, 202, 7238, 12834, 7798, 33, 1132, 31, 1082, 202, 759, 454, 8734, 10632, 7238, 202, 2463, 31, 202, 97, 1082, 202, 759, 8172, 7238, 202, 12849, 2704, 8319, 10737, 12, 202, 202, 6, 18038, 14627, 278, 5787, 8172, 7238, 8530, 15, 529, 9078, 2412, 2773, 202, 202, 15, 5237, 67, 1985, 9078, 7, 542, 4595, 2932, 15, 529, 15, 15937, 15, 1132, 9078, 2225, 202, 202, 1769, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 542, 4595, 12, 780, 529, 16, 6494, 1132, 13, 15069, 8319, 10737, 95, 202, 759, 7238, 529, 12892, 19425, 420, 202, 430, 12, 529, 631, 2011, 15329, 202, 12849, 2704, 2041, 9992, 12, 202, 202, 6, 18038, 14627, 1066, 7238, 1918, 304, 420, 529, 2773, 202, 202, 15, 5237, 67, 1985, 9078, 7, 542, 4595, 12, 2011, 10837, 15, 1132, 9078, 2225, 202, 202, 1769, 202, 97, 1082, 202, 759, 8869, 10632, 35, 202, 430, 12, 529, 18, 14963, 12, 4201, 2918, 18, 18257, 67, 11944, 4830, 67, 16560, 1360, 3719, 95, 202, 7238, 12834, 7798, 33, 1132, 31, 1082, 202, 759, 454, 8734, 10632, 7238, 202, 2463, 31, 202, 97, 1082, 202, 759, 8172, 7238, 202, 2 ]
addNamedColor("black", getColorNumber (0, 0, 0)); addNamedColor("white", getColorNumber (255, 255, 255)); addNamedColor("red", getColorNumber (255, 0, 0)); addNamedColor("green", getColorNumber (0, 255, 0)); addNamedColor("blue", getColorNumber (0, 0, 255)); addNamedColor("cyan", getColorNumber (0, 255, 255)); addNamedColor("magenta", getColorNumber (255, 0, 255)); addNamedColor("yellow", getColorNumber (255, 255, 0));
addNamedColor("black", getColorNumber (0, 0, 0).intValue()); addNamedColor("white", getColorNumber (255, 255, 255).intValue()); addNamedColor("red", getColorNumber (255, 0, 0).intValue()); addNamedColor("green", getColorNumber (0, 255, 0).intValue()); addNamedColor("blue", getColorNumber (0, 0, 255).intValue()); addNamedColor("cyan", getColorNumber (0, 255, 255).intValue()); addNamedColor("magenta", getColorNumber (255, 0, 255).intValue()); addNamedColor("yellow", getColorNumber (255, 255, 0).intValue());
private void init () { addNamedColor("black", getColorNumber (0, 0, 0)); addNamedColor("white", getColorNumber (255, 255, 255)); addNamedColor("red", getColorNumber (255, 0, 0)); addNamedColor("green", getColorNumber (0, 255, 0)); addNamedColor("blue", getColorNumber (0, 0, 255)); addNamedColor("cyan", getColorNumber (0, 255, 255)); addNamedColor("magenta", getColorNumber (255, 0, 255)); addNamedColor("yellow", getColorNumber (255, 255, 0)); getColorNumber (0, 0, 128); getColorNumber (0, 128, 128); getColorNumber (0, 128, 0); getColorNumber (128, 0, 128); getColorNumber (128, 0, 0); getColorNumber (128, 128, 0); getColorNumber (128, 128, 128); // Added by Normand Masse // Gray color added addNamedColor("gray", getColorNumber(128, 128, 128)); getColorNumber (192, 192, 192); }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/28f6b5b9db31862cbc5aa858b6d098f32f8a792a/RtfColorTable.java/clean/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfColorTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1832, 288, 3639, 527, 7604, 2957, 2932, 11223, 3113, 15672, 1854, 261, 20, 16, 374, 16, 374, 10019, 3639, 527, 7604, 2957, 2932, 14739, 3113, 15672, 1854, 261, 10395, 16, 4561, 16, 4561, 10019, 3639, 527, 7604, 2957, 2932, 1118, 3113, 15672, 1854, 261, 10395, 16, 374, 16, 374, 10019, 3639, 527, 7604, 2957, 2932, 11571, 3113, 15672, 1854, 261, 20, 16, 4561, 16, 374, 10019, 3639, 527, 7604, 2957, 2932, 14081, 3113, 15672, 1854, 261, 20, 16, 374, 16, 4561, 10019, 3639, 527, 7604, 2957, 2932, 25879, 3113, 15672, 1854, 261, 20, 16, 4561, 16, 4561, 10019, 3639, 527, 7604, 2957, 2932, 4527, 24066, 3113, 15672, 1854, 261, 10395, 16, 374, 16, 4561, 10019, 3639, 527, 7604, 2957, 2932, 19227, 3113, 15672, 1854, 261, 10395, 16, 4561, 16, 374, 10019, 3639, 15672, 1854, 261, 20, 16, 374, 16, 8038, 1769, 3639, 15672, 1854, 261, 20, 16, 8038, 16, 8038, 1769, 3639, 15672, 1854, 261, 20, 16, 8038, 16, 374, 1769, 3639, 15672, 1854, 261, 10392, 16, 374, 16, 8038, 1769, 3639, 15672, 1854, 261, 10392, 16, 374, 16, 374, 1769, 3639, 15672, 1854, 261, 10392, 16, 8038, 16, 374, 1769, 3639, 15672, 1854, 261, 10392, 16, 8038, 16, 8038, 1769, 540, 368, 25808, 635, 24773, 464, 490, 345, 307, 1850, 368, 12435, 2036, 3096, 3639, 527, 7604, 2957, 2932, 22440, 3113, 15672, 1854, 12, 10392, 16, 8038, 16, 8038, 10019, 3639, 15672, 1854, 261, 15561, 16, 20217, 16, 20217, 1769, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1832, 288, 3639, 527, 7604, 2957, 2932, 11223, 3113, 15672, 1854, 261, 20, 16, 374, 16, 374, 10019, 3639, 527, 7604, 2957, 2932, 14739, 3113, 15672, 1854, 261, 10395, 16, 4561, 16, 4561, 10019, 3639, 527, 7604, 2957, 2932, 1118, 3113, 15672, 1854, 261, 10395, 16, 374, 16, 374, 10019, 3639, 527, 7604, 2957, 2932, 11571, 3113, 15672, 1854, 261, 20, 16, 4561, 16, 374, 10019, 3639, 527, 7604, 2957, 2932, 14081, 3113, 15672, 1854, 261, 20, 16, 374, 16, 4561, 10019, 3639, 527, 7604, 2957, 2932, 25879, 3113, 15672, 1854, 261, 20, 16, 4561, 16, 4561, 10019, 3639, 527, 7604, 2957, 2932, 4527, 24066, 3113, 15672, 1854, 261, 10395, 16, 374, 16, 4561, 10019, 2 ]
rolesRightsToBeCopied.meta_id = nexFreeMetaId.intValue();
rolesRightsToBeCopied.meta_id = nextFreeMetaId.intValue();
private int copyDocument( final Integer meta_id ) { final SQLTransaction transaction = sqlProcessor.startTransaction(); transaction.executeAndCommit( new TransactionContent() { public void execute() throws SQLException { Integer nexFreeMetaId = getMaxIntValuePlusOne( transaction, "meta", "meta_id" ); Table_meta metaToBeCopied = selectFrom_meta( meta_id ); metaToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_meta( transaction, metaToBeCopied ); Table_text_docs textDocsToBeCopied = selectFrom_text_docs( meta_id ); if( null != textDocsToBeCopied ) { textDocsToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_text_docs( transaction, textDocsToBeCopied ); } Table_url_docs urlDocsToBeCopied = selectFrom_url_docs( meta_id ); if( null != urlDocsToBeCopied ) { urlDocsToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_url_docs( transaction, urlDocsToBeCopied ); } Table_browser_docs browserDocsToBeCopied = selectFrom_browser_docs( meta_id ); if( null != browserDocsToBeCopied ) { browserDocsToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_browser_docs( transaction, browserDocsToBeCopied ); } Table_frameset_docs framesetDocsToBeCopied = selectFrom_frameset_docs( meta_id ); if( null != framesetDocsToBeCopied ) { framesetDocsToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_frameset_docs( transaction, framesetDocsToBeCopied ); } Table_fileupload_docs fileUploadDocsToBeCopied = selectFrom_fileupload_docs( meta_id ); if( null != fileUploadDocsToBeCopied ) { fileUploadDocsToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_fileupload_docs( transaction, fileUploadDocsToBeCopied ); } Table_texts[] textsToBeCopied = selectFrom_texts( meta_id ); for( int i = 0; i < textsToBeCopied.length; i++ ) { Table_texts textToBeCopied = textsToBeCopied[i]; textToBeCopied.meta_id = meta_id.intValue(); Integer newCounterValue = getMaxIntValuePlusOne( transaction, "texts", "counter" ); textToBeCopied.counter = newCounterValue.intValue(); insertInto_texts( transaction, textToBeCopied ); } Table_images[] imagesToBeCopied = selectFrom_images( meta_id ); for( int i = 0; i < imagesToBeCopied.length; i++ ) { Table_images imageToBeCopied = imagesToBeCopied[i]; imageToBeCopied.meta_id = meta_id.intValue(); insertInto_images( transaction, imageToBeCopied ); } Table_includes[] includesToBeCopied = selectFrom_includes( meta_id ); for( int i = 0; i < includesToBeCopied.length; i++ ) { Table_includes table_includes = includesToBeCopied[i]; table_includes.meta_id = nexFreeMetaId.intValue(); insertInto_includes( transaction, table_includes ); } Table_doc_permission_sets docPermissionSetsToBeCopied = selectFrom_doc_permission_sets( meta_id ); if( null != docPermissionSetsToBeCopied ) { docPermissionSetsToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_doc_permission_sets( transaction, docPermissionSetsToBeCopied ); } Table_new_doc_permission_sets newDocPermissionSetsToBeCopied = selectFrom_new_doc_permission_sets( meta_id ); if( null != newDocPermissionSetsToBeCopied ) { newDocPermissionSetsToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_new_doc_permission_sets( transaction, newDocPermissionSetsToBeCopied ); } Table_doc_permission_sets_ex docPermissionsSetsExToBeCopied = selectFrom_doc_permission_sets_ex( meta_id ); if( null != docPermissionsSetsExToBeCopied ) { docPermissionsSetsExToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_doc_permission_sets_ex( transaction, docPermissionsSetsExToBeCopied ); } Table_new_doc_permission_sets_ex newDocPermissionSetsExToBeCopied = selectFrom_new_doc_permission_sets_ex( meta_id ); if( null != newDocPermissionSetsExToBeCopied ) { newDocPermissionSetsExToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_new_doc_permission_sets_ex( transaction, newDocPermissionSetsExToBeCopied ); } Table_roles_rights rolesRightsToBeCopied = selectFrom_roles_rights( meta_id ); if( null != rolesRightsToBeCopied ) { rolesRightsToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_roles_rights( transaction, rolesRightsToBeCopied ); } Table_meta_classification metaClassificationToBeCopied = selectFrom_meta_classification( meta_id ); if( null != metaClassificationToBeCopied ) { metaClassificationToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_meta_classification( transaction, metaClassificationToBeCopied ); } Table_meta_section metaSectionToBeCopied = selectFrom_meta_section( meta_id ); if( null != metaSectionToBeCopied ) { metaSectionToBeCopied.meta_id = nexFreeMetaId.intValue(); insertInto_meta_section( transaction, metaSectionToBeCopied ); } } } ); return transaction.getRowCount(); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/92985c71b38c159d3e33b0a6189f7037c00bd8c7/DatabaseService.java/buggy/server/src/imcode/server/db/DatabaseService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1610, 2519, 12, 727, 2144, 2191, 67, 350, 262, 288, 3639, 727, 3063, 3342, 2492, 273, 1847, 5164, 18, 1937, 3342, 5621, 3639, 2492, 18, 8837, 1876, 5580, 12, 394, 5947, 1350, 1435, 288, 5411, 1071, 918, 1836, 1435, 1216, 6483, 288, 7734, 2144, 290, 338, 9194, 2781, 548, 273, 7288, 1702, 620, 13207, 3335, 12, 2492, 16, 315, 3901, 3113, 315, 3901, 67, 350, 6, 11272, 7734, 3555, 67, 3901, 2191, 15360, 28127, 273, 2027, 1265, 67, 3901, 12, 2191, 67, 350, 11272, 7734, 2191, 15360, 28127, 18, 3901, 67, 350, 273, 290, 338, 9194, 2781, 548, 18, 474, 620, 5621, 7734, 2243, 5952, 67, 3901, 12, 2492, 16, 2191, 15360, 28127, 11272, 7734, 3555, 67, 955, 67, 8532, 977, 1759, 11634, 1919, 28127, 273, 2027, 1265, 67, 955, 67, 8532, 12, 2191, 67, 350, 11272, 7734, 309, 12, 446, 480, 977, 1759, 11634, 1919, 28127, 262, 288, 10792, 977, 1759, 11634, 1919, 28127, 18, 3901, 67, 350, 273, 290, 338, 9194, 2781, 548, 18, 474, 620, 5621, 10792, 2243, 5952, 67, 955, 67, 8532, 12, 2492, 16, 977, 1759, 11634, 1919, 28127, 11272, 7734, 289, 7734, 3555, 67, 718, 67, 8532, 880, 1759, 11634, 1919, 28127, 273, 2027, 1265, 67, 718, 67, 8532, 12, 2191, 67, 350, 11272, 7734, 309, 12, 446, 480, 880, 1759, 11634, 1919, 28127, 262, 288, 10792, 880, 1759, 11634, 1919, 28127, 18, 3901, 67, 350, 273, 290, 338, 9194, 2781, 548, 18, 474, 620, 5621, 10792, 2243, 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, 1610, 2519, 12, 727, 2144, 2191, 67, 350, 262, 288, 3639, 727, 3063, 3342, 2492, 273, 1847, 5164, 18, 1937, 3342, 5621, 3639, 2492, 18, 8837, 1876, 5580, 12, 394, 5947, 1350, 1435, 288, 5411, 1071, 918, 1836, 1435, 1216, 6483, 288, 7734, 2144, 290, 338, 9194, 2781, 548, 273, 7288, 1702, 620, 13207, 3335, 12, 2492, 16, 315, 3901, 3113, 315, 3901, 67, 350, 6, 11272, 7734, 3555, 67, 3901, 2191, 15360, 28127, 273, 2027, 1265, 67, 3901, 12, 2191, 67, 350, 11272, 7734, 2191, 15360, 28127, 18, 3901, 67, 350, 273, 290, 338, 9194, 2781, 548, 18, 474, 620, 5621, 7734, 2243, 5952, 67, 3901, 12, 2492, 16, 2191, 15360, 28127, 11272, 7734, 3555, 2 ]
log.error("Unrecognised trigger object presented to index builder " + sbi);
log .error("Unrecognised trigger object presented to index builder " + sbi);
public void processToDoListTransaction(SearchIndexBuilderWorker worker) { Connection connection = null; try { connection = dataSource.getConnection(); long startTime = System.currentTimeMillis(); int totalDocs = 0; IndexWriter indexWrite = null; // Load the list List runtimeToDo = findPending(indexBatchSize, connection); totalDocs = runtimeToDo.size(); log.debug("Processing " + totalDocs + " documents"); if (totalDocs > 0) { try { indexStorage.doPreIndexUpdate(); if (indexStorage.indexExists()) { IndexReader indexReader = null; try { indexReader = indexStorage.getIndexReader(); // Open the index for (Iterator tditer = runtimeToDo.iterator(); worker.isRunning() && tditer.hasNext();) { SearchBuilderItem sbi = (SearchBuilderItem) tditer.next(); if (!SearchBuilderItem.STATE_PENDING.equals(sbi.getSearchstate())) { // should only be getting pending // items log.warn(" Found Item that was not pending " + sbi.getName()); continue; } if (SearchBuilderItem.ACTION_UNKNOWN.equals(sbi.getSearchaction())) { sbi.setSearchstate(SearchBuilderItem.STATE_COMPLETED); updateOrSave(connection,sbi); connection.commit(); continue; } // remove document // if this is mult segment it might not work. try { indexReader.deleteDocuments(new Term(SearchService.FIELD_REFERENCE, sbi.getName())); if (SearchBuilderItem.ACTION_DELETE.equals(sbi.getSearchaction())) { sbi.setSearchstate(SearchBuilderItem.STATE_COMPLETED); updateOrSave(connection,sbi); connection.commit(); } else { sbi.setSearchstate(SearchBuilderItem.STATE_PENDING_2); } } catch (IOException ex) { log.warn("Failed to delete Page ", ex); } } } finally { if (indexReader != null) { indexReader.close(); indexReader = null; } } if (worker.isRunning()) { indexWrite = indexStorage.getIndexWriter(false); } } else { // create for update if (worker.isRunning()) { indexWrite = indexStorage.getIndexWriter(true); } } for (Iterator tditer = runtimeToDo.iterator(); worker.isRunning() && tditer.hasNext();) { Reader contentReader = null; try { SearchBuilderItem sbi = (SearchBuilderItem) tditer.next(); // only add adds, that have been deleted // sucessfully if (!SearchBuilderItem.STATE_PENDING_2.equals(sbi.getSearchstate())) { continue; } Reference ref = entityManager.newReference(sbi.getName()); if (ref == null) { log.error("Unrecognised trigger object presented to index builder " + sbi); } long startDocIndex = System.currentTimeMillis(); worker.setStartDocIndex(startDocIndex); worker.setNowIndexing(ref.getReference()); try { try { Entity entity = ref.getEntity(); EntityContentProducer sep = searchIndexBuilder.newEntityContentProducer(ref); if (sep != null && sep.isForIndex(ref) && ref.getContext() != null) { Document doc = new Document(); String container = ref.getContainer(); if (container == null) container = ""; doc.add(new Field(SearchService.DATE_STAMP, String.valueOf(System.currentTimeMillis()), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_CONTAINER, container, Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_ID, ref.getId(), Field.Store.YES, Field.Index.NO)); doc.add(new Field(SearchService.FIELD_TYPE, ref.getType(), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_SUBTYPE, ref.getSubType(), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_REFERENCE, ref.getReference(), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_CONTEXT, sep.getSiteId(ref), Field.Store.YES, Field.Index.UN_TOKENIZED)); if (sep.isContentFromReader(entity)) { contentReader = sep.getContentReader(entity); doc.add(new Field(SearchService.FIELD_CONTENTS, contentReader, Field.TermVector.YES)); } else { doc.add(new Field(SearchService.FIELD_CONTENTS, sep.getContent(entity), Field.Store.YES, Field.Index.TOKENIZED, Field.TermVector.YES)); } doc.add(new Field(SearchService.FIELD_TITLE, sep.getTitle(entity), Field.Store.YES, Field.Index.TOKENIZED, Field.TermVector.YES)); doc.add(new Field(SearchService.FIELD_TOOL, sep.getTool(), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_URL, sep.getUrl(entity), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_SITEID, sep.getSiteId(ref), Field.Store.YES, Field.Index.UN_TOKENIZED)); // add the custom properties Map m = sep.getCustomProperties(); if (m != null) { for (Iterator cprops = m.keySet().iterator(); cprops.hasNext();) { String key = (String) cprops.next(); Object value = m.get(key); String[] values = null; if (value instanceof String) { values = new String[1]; values[0] = (String) value; } if (value instanceof String[]) { values = (String[]) value; } if (values == null) { log.info("Null Custom Properties value has been suppled by " + sep + " in index " + key); } else { for (int i = 0; i < values.length; i++) { doc.add(new Field(key, values[i], Field.Store.YES, Field.Index.UN_TOKENIZED)); } } } } log.debug("Indexing Document " + doc); indexWrite.addDocument(doc); log.debug("Done Indexing Document " + doc); processRDF(sep); } else { log.debug("Ignored Document " + ref.getId()); } } catch (Exception e1) { log.info(" Failed to index document cause: " + e1.getMessage()); } sbi.setSearchstate(SearchBuilderItem.STATE_COMPLETED); updateOrSave(connection,sbi); connection.commit(); } catch (Exception e1) { log.debug(" Failed to index document cause: " + e1.getMessage()); } long endDocIndex = System.currentTimeMillis(); worker.setLastIndex(endDocIndex - startDocIndex); if ((endDocIndex - startDocIndex) > 60000L) { log.warn("Slow index operation " + String.valueOf((endDocIndex - startDocIndex) / 1000) + " seconds to index " + ref.getReference()); } // update this node lock to indicate its // still alove, no document should // take more than 2 mins to process if ( !worker.getLockTransaction(15L * 60L * 1000L,true) ) { throw new Exception("Transaction Lock Expired while indexing "+ref.getReference()); } } finally { if (contentReader != null) { try { contentReader.close(); } catch (IOException ioex) { } } } } worker.setStartDocIndex(System.currentTimeMillis()); worker.setNowIndexing("-idle-"); } finally { if (indexWrite != null) { indexWrite.close(); indexWrite = null; } } totalDocs = 0; try { for (Iterator tditer = runtimeToDo.iterator(); worker.isRunning() && tditer.hasNext();) { SearchBuilderItem sbi = (SearchBuilderItem) tditer.next(); if (SearchBuilderItem.STATE_COMPLETED.equals(sbi.getSearchstate())) { if (SearchBuilderItem.ACTION_DELETE.equals(sbi.getSearchaction())) { delete(connection, sbi); connection.commit(); } else { updateOrSave(connection, sbi); connection.commit(); } } } totalDocs = runtimeToDo.size(); } catch (Exception ex) { log.warn("Failed to update state in database due to " + ex.getMessage() + " this will be corrected on the next run of the IndexBuilder, no cause for alarm"); } } try { indexStorage.doPostIndexUpdate(); } catch (IOException e) { log.error("Failed to do Post Index Update", e); } if (worker.isRunning()) { eventTrackingService.post(eventTrackingService.newEvent(SearchService.EVENT_TRIGGER_INDEX_RELOAD, "/searchindexreload", true, NotificationService.PREF_IMMEDIATE)); long endTime = System.currentTimeMillis(); float totalTime = endTime - startTime; float ndocs = totalDocs; if (totalDocs > 0) { float docspersec = 1000 * ndocs / totalTime; log.info("Completed Process List of " + totalDocs + " at " + docspersec + " documents/per second"); } } } catch (Exception ex) { log.warn("Failed to perform index cycle " + ex.getMessage()); log.debug("Traceback is ", ex); } finally { try { connection.close(); } catch (Exception ex) { } } }
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/20ccf8886abe7d3c214de2a86a0f559bd200b82f/SearchIndexBuilderWorkerDaoJdbcImpl.java/clean/search/search-impl/impl/src/java/org/sakaiproject/search/component/dao/impl/SearchIndexBuilderWorkerDaoJdbcImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1207, 774, 3244, 682, 3342, 12, 2979, 1016, 1263, 6671, 4322, 13, 202, 95, 202, 202, 1952, 1459, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 4071, 273, 10233, 18, 588, 1952, 5621, 1082, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 1082, 202, 474, 2078, 12656, 273, 374, 31, 1082, 202, 1016, 2289, 770, 3067, 273, 446, 31, 1082, 202, 759, 4444, 326, 666, 1082, 202, 682, 3099, 774, 3244, 273, 1104, 8579, 12, 1615, 23304, 16, 1459, 1769, 1082, 202, 4963, 12656, 273, 3099, 774, 3244, 18, 1467, 5621, 1082, 202, 1330, 18, 4148, 2932, 7798, 315, 397, 2078, 12656, 397, 315, 7429, 8863, 1082, 202, 430, 261, 4963, 12656, 405, 374, 13, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 1615, 3245, 18, 2896, 1386, 1016, 1891, 5621, 6862, 202, 430, 261, 1615, 3245, 18, 1615, 4002, 10756, 6862, 202, 95, 25083, 202, 1016, 2514, 770, 2514, 273, 446, 31, 25083, 202, 698, 25083, 202, 95, 6862, 1082, 202, 1615, 2514, 273, 770, 3245, 18, 588, 1016, 2514, 5621, 6862, 1082, 202, 759, 3502, 326, 770, 6862, 1082, 202, 1884, 261, 3198, 6655, 2165, 273, 3099, 774, 3244, 18, 9838, 5621, 4322, 18, 291, 7051, 1435, 597, 6655, 2165, 18, 5332, 2134, 5621, 13, 6862, 1082, 202, 95, 6862, 9506, 202, 2979, 1263, 1180, 2393, 77, 273, 261, 2979, 1263, 1180, 13, 6655, 2165, 18, 4285, 5621, 6862, 9506, 202, 430, 16051, 2979, 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, 1207, 774, 3244, 682, 3342, 12, 2979, 1016, 1263, 6671, 4322, 13, 202, 95, 202, 202, 1952, 1459, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 4071, 273, 10233, 18, 588, 1952, 5621, 1082, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 1082, 202, 474, 2078, 12656, 273, 374, 31, 1082, 202, 1016, 2289, 770, 3067, 273, 446, 31, 1082, 202, 759, 4444, 326, 666, 1082, 202, 682, 3099, 774, 3244, 273, 1104, 8579, 12, 1615, 23304, 16, 1459, 1769, 1082, 202, 4963, 12656, 273, 3099, 774, 3244, 18, 1467, 5621, 1082, 202, 1330, 18, 4148, 2932, 7798, 315, 397, 2078, 12656, 397, 315, 7429, 8863, 1082, 202, 430, 261, 4963, 2 ]
writeFileHeader(project,(CmsFile)resource);
public void chown(A_CmsProject project, String filename, A_CmsUser newOwner) throws CmsException { CmsResource resource = null; // check if its a file or a folder if (filename.endsWith("/")) { //read the folder resource = readFolder(project,filename); } else { resource = (CmsFile)readFileHeader(project,filename); } //set the flags resource.setOwnerId(newOwner.getId()); //update file if (filename.endsWith("/")) { writeFolder(project,(CmsFolder)resource); } else { writeFileHeader(project,(CmsFile)resource); } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/95a9c02f06acd3100278d024929b4b0d15ba4341/CmsRbFile.java/buggy/src/com/opencms/file/CmsRbFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 462, 995, 12, 37, 67, 4747, 4109, 1984, 16, 514, 1544, 16, 432, 67, 4747, 1299, 394, 5541, 13, 202, 202, 15069, 11228, 288, 540, 7630, 1058, 273, 446, 31, 7734, 368, 866, 309, 2097, 279, 585, 578, 279, 3009, 3639, 309, 261, 3459, 18, 5839, 1190, 2932, 4898, 3719, 288, 8227, 368, 896, 326, 3009, 5411, 1058, 273, 855, 3899, 12, 4406, 16, 3459, 1769, 3639, 289, 469, 288, 5411, 1058, 273, 261, 4747, 812, 13, 896, 812, 1864, 12, 4406, 16, 3459, 1769, 3639, 289, 3639, 368, 542, 326, 2943, 3639, 1058, 18, 542, 5541, 548, 12, 2704, 5541, 18, 26321, 10663, 3639, 368, 2725, 585, 3639, 309, 261, 3459, 18, 5839, 1190, 2932, 4898, 3719, 288, 9079, 1045, 3899, 12, 4406, 16, 12, 4747, 3899, 13, 3146, 1769, 3639, 289, 469, 288, 10792, 289, 377, 289, 2, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 462, 995, 12, 37, 67, 4747, 4109, 1984, 16, 514, 1544, 16, 432, 67, 4747, 1299, 394, 5541, 13, 202, 202, 15069, 11228, 288, 540, 7630, 1058, 273, 446, 31, 7734, 368, 866, 309, 2097, 279, 585, 578, 279, 3009, 3639, 309, 261, 3459, 18, 5839, 1190, 2932, 4898, 3719, 288, 8227, 368, 896, 326, 3009, 5411, 1058, 273, 855, 3899, 12, 4406, 16, 3459, 1769, 3639, 289, 469, 288, 5411, 1058, 273, 261, 4747, 812, 13, 896, 812, 1864, 12, 4406, 16, 3459, 1769, 3639, 289, 3639, 368, 542, 326, 2943, 3639, 1058, 18, 542, 5541, 548, 12, 2704, 5541, 18, 26321, 10663, 3639, 368, 2725, 585, 3639, 309, 261, 3459, 18, 5839, 1190, 2 ]
synchronized (familyKey) { Collection currentListeners; if (familyListeners.containsKey(family)) {
synchronized (familyKey) { Collection currentListeners; if (familyListeners.containsKey(family)) {
void addListenerToFamily(Object family, IJobBusyListener listener) { synchronized (familyKey) { Collection currentListeners; if (familyListeners.containsKey(family)) { currentListeners = (Collection) familyListeners.get(family); } else { currentListeners = new HashSet(); } currentListeners.add(listener); familyListeners.put(family, currentListeners); } }
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, 918, 12087, 774, 9203, 12, 921, 6755, 16, 467, 2278, 29289, 2223, 2991, 13, 288, 3639, 3852, 261, 9309, 653, 13, 288, 5411, 2200, 783, 5583, 31, 5411, 309, 261, 9309, 5583, 18, 12298, 653, 12, 9309, 3719, 288, 9506, 202, 2972, 5583, 273,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 12087, 774, 9203, 12, 921, 6755, 16, 467, 2278, 29289, 2223, 2991, 13, 288, 3639, 3852, 261, 9309, 653, 13, 288, 5411, 2200, 783, 5583, 31, 5411, 309, 261, 9309, 5583, 18, 12298, 653, 12, 9309, 3719, 288, 9506, 202, 2972, 5583, 273, 261, 2532, 13, 6755, 5583, 18, 588, 12, 9309, 1769, 1082, 202, 97, 469, 288, 9506, 202, 2972, 5583, 273, 394, 6847, 5621, 1082, 202, 97, 5411, 783, 5583, 18, 1289, 12, 12757, 1769, 5411, 6755, 5583, 18, 458, 12, 9309, 16, 783, 5583, 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 ]
else
} else {
public void down(Event evt) { byte[] state; Address target, requester; StateTransferInfo info; StateHeader hdr; switch(evt.getType()) { case Event.TMP_VIEW: case Event.VIEW_CHANGE: handleViewChange((View)evt.getArg()); break; // generated by JChannel.getState(). currently, getting the state from more than 1 mbr is not implemented case Event.GET_STATE: info=(StateTransferInfo)evt.getArg(); if(info.target == null) { target=determineCoordinator(); } else { target=info.target; if(target.equals(local_addr)) { if(log.isErrorEnabled()) log.error("GET_STATE: cannot fetch state from myself !"); target=null; } } if(target == null) { if(log.isDebugEnabled()) log.debug("GET_STATE: first member (no state)"); passUp(new Event(Event.GET_STATE_OK, new StateTransferInfo())); } else { if(use_flush) { startFlush(flush_timeout); } Message state_req=new Message(target, null, null); state_req.putHeader(name, new StateHeader(StateHeader.STATE_REQ, local_addr, state_id++, null, info.state_id)); if(log.isDebugEnabled()) log.debug("GET_STATE: asking " + target + " for state"); // suspend sending and handling of mesage garbage collection gossip messages, // fixes bugs #943480 and #938584). Wake up when state has been received if(log.isDebugEnabled()) log.debug("passing down a SUSPEND_STABLE event"); passDown(new Event(Event.SUSPEND_STABLE, new Long(info.timeout))); waiting_for_state_response=true; start=System.currentTimeMillis(); passDown(new Event(Event.MSG, state_req)); } return; // don't pass down any further ! case Event.GET_APPLSTATE_OK: info=(StateTransferInfo)evt.getArg(); state=info.state; String id=info.state_id; synchronized(state_requesters) { if(state_requesters.size() == 0) { if(warn) log.warn("GET_APPLSTATE_OK: received application state, but there are no requesters !"); return; } if(isDigestNeeded()){ if(digest == null) if(warn) log.warn("GET_APPLSTATE_OK: received application state, but there is no digest !"); else digest=digest.copy(); } if(stats) { num_state_reqs++; if(state != null) num_bytes_sent+=state.length; avg_state_size=num_bytes_sent / num_state_reqs; } Set requesters=(Set)state_requesters.get(id); if(requesters == null || requesters.size() == 0) { log.warn("received state for id=" + id + ", but there are no requesters for this ID"); } else { for(Iterator it=requesters.iterator(); it.hasNext();) { requester=(Address)it.next(); final Message state_rsp=new Message(requester, null, state); hdr=new StateHeader(StateHeader.STATE_RSP, local_addr, 0, digest, id); state_rsp.putHeader(name, hdr); if(trace) log.trace("sending state for ID=" + id + " to " + requester + " (" + state.length + " bytes)"); // This has to be done in a separate thread, so we don't block on FC // (see http://jira.jboss.com/jira/browse/JGRP-225 for details). This will be reverted once // we have the threadless stack (http://jira.jboss.com/jira/browse/JGRP-181) // and out-of-band messages (http://jira.jboss.com/jira/browse/JGRP-205) new Thread() { public void run() { passDown(new Event(Event.MSG, state_rsp)); } }.start(); // passDown(new Event(Event.MSG, state_rsp)); } state_requesters.remove(id); } } return; // don't pass down any further ! case Event.SUSPEND_OK: if(use_flush) { flush_promise.setResult(Boolean.TRUE); } break; case Event.CONFIG : Map config = (Map) evt.getArg(); if(config != null && config.containsKey("flush_timeout")){ Long ftimeout = (Long) config.get("flush_timeout"); use_flush = true; flush_timeout = ftimeout.longValue(); } break; } passDown(evt); // pass on to the layer below us }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/61313a9e0df23feb018c54e39a23629fbea9461d/STATE_TRANSFER.java/buggy/src/org/jgroups/protocols/pbcast/STATE_TRANSFER.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2588, 12, 1133, 6324, 13, 288, 3639, 1160, 8526, 919, 31, 3639, 5267, 1018, 16, 19961, 31, 3639, 3287, 5912, 966, 1123, 31, 3639, 3287, 1864, 7723, 31, 3639, 1620, 12, 73, 11734, 18, 588, 559, 10756, 288, 5411, 648, 2587, 18, 28259, 67, 12145, 30, 5411, 648, 2587, 18, 12145, 67, 14473, 30, 7734, 1640, 1767, 3043, 12443, 1767, 13, 73, 11734, 18, 588, 4117, 10663, 7734, 898, 31, 5411, 368, 4374, 635, 804, 2909, 18, 588, 1119, 7675, 4551, 16, 8742, 326, 919, 628, 1898, 2353, 404, 312, 2848, 353, 486, 8249, 5411, 648, 2587, 18, 3264, 67, 7998, 30, 7734, 1123, 28657, 1119, 5912, 966, 13, 73, 11734, 18, 588, 4117, 5621, 7734, 309, 12, 1376, 18, 3299, 422, 446, 13, 288, 10792, 1018, 33, 24661, 25307, 5621, 7734, 289, 7734, 289, 469, 288, 288, 10792, 1018, 33, 1376, 18, 3299, 31, 10792, 309, 12, 3299, 18, 14963, 12, 3729, 67, 4793, 3719, 288, 13491, 309, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 3264, 67, 7998, 30, 2780, 2158, 919, 628, 3399, 2890, 401, 8863, 13491, 1018, 33, 2011, 31, 10792, 289, 7734, 289, 7734, 309, 12, 3299, 422, 446, 13, 288, 10792, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 3264, 67, 7998, 30, 1122, 3140, 261, 2135, 919, 2225, 1769, 10792, 1342, 1211, 12, 2704, 2587, 12, 1133, 18, 3264, 67, 7998, 67, 3141, 16, 394, 3287, 5912, 966, 1435, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2588, 12, 1133, 6324, 13, 288, 3639, 1160, 8526, 919, 31, 3639, 5267, 1018, 16, 19961, 31, 3639, 3287, 5912, 966, 1123, 31, 3639, 3287, 1864, 7723, 31, 3639, 1620, 12, 73, 11734, 18, 588, 559, 10756, 288, 5411, 648, 2587, 18, 28259, 67, 12145, 30, 5411, 648, 2587, 18, 12145, 67, 14473, 30, 7734, 1640, 1767, 3043, 12443, 1767, 13, 73, 11734, 18, 588, 4117, 10663, 7734, 898, 31, 5411, 368, 4374, 635, 804, 2909, 18, 588, 1119, 7675, 4551, 16, 8742, 326, 919, 628, 1898, 2353, 404, 312, 2848, 353, 486, 8249, 5411, 648, 2587, 18, 3264, 67, 7998, 30, 7734, 1123, 28657, 1119, 5912, 966, 13, 73, 11734, 18, 588, 4117, 5621, 7734, 2 ]
Iterator iter = qControllers.iterator();
Iterator iter = master.getControllers().iterator();
public void cueChange(Collection qControllers) { // get all the current and pending cues String text = "<html><body>"; Iterator iter = qControllers.iterator(); boolean init = true; while (iter.hasNext()) { if (!init) text +="<br>"; init = false; QController qc = (QController)iter.next(); Cue curQ = qc.getCurrentCue(); Cue pendingQ = qc.getPendingCue(); text += qc.getTitle() + ": "; text += curQ.getCueNumber(); text += " - "; if (pendingQ == null) text += "END"; else text += pendingQ.getCueNumber(); } // display the new cue info in big 'ol letters cDisp.setText(text + "</body></html>"); }
48962 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48962/7fde50a75c70ce36124c66b933acf38c05569440/DisplayCueChange.java/buggy/plugins/DisplayCueChange.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 276, 344, 3043, 12, 2532, 1043, 13745, 13, 288, 565, 368, 336, 777, 326, 783, 471, 4634, 276, 3610, 565, 514, 977, 273, 3532, 2620, 4438, 3432, 2984, 31, 565, 4498, 1400, 273, 4171, 18, 588, 13745, 7675, 9838, 5621, 565, 1250, 1208, 273, 638, 31, 565, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 1377, 309, 16051, 2738, 13, 977, 1011, 6, 32, 2848, 2984, 31, 1377, 1208, 273, 629, 31, 1377, 2238, 2933, 29032, 273, 261, 53, 2933, 13, 2165, 18, 4285, 5621, 1377, 385, 344, 662, 53, 273, 29032, 18, 588, 3935, 39, 344, 5621, 1377, 385, 344, 4634, 53, 273, 29032, 18, 588, 8579, 39, 344, 5621, 1377, 977, 1011, 29032, 18, 588, 4247, 1435, 397, 6398, 13636, 1377, 977, 1011, 662, 53, 18, 588, 39, 344, 1854, 5621, 1377, 977, 1011, 315, 300, 13636, 1377, 309, 261, 9561, 53, 422, 446, 13, 225, 202, 955, 1011, 315, 4415, 14432, 1377, 469, 977, 1011, 4634, 53, 18, 588, 39, 344, 1854, 5621, 565, 289, 565, 368, 2562, 326, 394, 276, 344, 1123, 316, 5446, 296, 355, 13768, 565, 276, 1669, 84, 18, 542, 1528, 12, 955, 397, 6823, 3432, 4695, 2620, 2984, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 276, 344, 3043, 12, 2532, 1043, 13745, 13, 288, 565, 368, 336, 777, 326, 783, 471, 4634, 276, 3610, 565, 514, 977, 273, 3532, 2620, 4438, 3432, 2984, 31, 565, 4498, 1400, 273, 4171, 18, 588, 13745, 7675, 9838, 5621, 565, 1250, 1208, 273, 638, 31, 565, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 1377, 309, 16051, 2738, 13, 977, 1011, 6, 32, 2848, 2984, 31, 1377, 1208, 273, 629, 31, 1377, 2238, 2933, 29032, 273, 261, 53, 2933, 13, 2165, 18, 4285, 5621, 1377, 385, 344, 662, 53, 273, 29032, 18, 588, 3935, 39, 344, 5621, 1377, 385, 344, 4634, 53, 273, 29032, 18, 588, 8579, 39, 344, 5621, 1377, 977, 1011, 29032, 18, 2 ]
PluggableMapIO p = (PluggableMapIO) c.newInstance(); String clname = c.toString(); clname = clname.substring(clname.indexOf(' ')+1); String filter = p.getFilter(); String[] ext = filter.split(","); if (isReader(c)) { for(int i = 0; i < ext.length; i++) { readerFormats.put(ext[i], clname); } } else { for (int i = 0; i < ext.length; i++){ writerFormats.put(ext[i], clname); } }
try{ PluggableMapIO p = (PluggableMapIO) c.newInstance(); String clname = c.toString(); clname = clname.substring(clname.indexOf(' ')+1); String filter = p.getFilter(); String[] ext = filter.split(","); if (isReader(c)) { for(int i = 0; i < ext.length; i++) { readerFormats.put(ext[i], clname); } } else { for (int i = 0; i < ext.length; i++){ writerFormats.put(ext[i], clname); } } }catch (NoClassDefFoundError e) { System.err.println("**Failed loading plugin: "+e.toString()); }
private void _add(Class c) throws Exception{ PluggableMapIO p = (PluggableMapIO) c.newInstance(); String clname = c.toString(); clname = clname.substring(clname.indexOf(' ')+1); String filter = p.getFilter(); String[] ext = filter.split(","); if (isReader(c)) { for(int i = 0; i < ext.length; i++) { readerFormats.put(ext[i], clname); } } else { for (int i = 0; i < ext.length; i++){ writerFormats.put(ext[i], clname); } } }
6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/9c4bad23e791ad6cab98a509bd7b7a2e6677b6f3/PluginClassLoader.java/clean/tiled/mapeditor/plugin/PluginClassLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 389, 1289, 12, 797, 276, 13, 1216, 1185, 95, 3639, 3008, 30382, 863, 4294, 293, 273, 261, 1749, 30382, 863, 4294, 13, 276, 18, 2704, 1442, 5621, 3639, 514, 927, 529, 273, 276, 18, 10492, 5621, 3639, 927, 529, 273, 927, 529, 18, 28023, 12, 830, 529, 18, 31806, 2668, 8624, 15, 21, 1769, 3639, 514, 1034, 273, 293, 18, 588, 1586, 5621, 3639, 514, 8526, 1110, 273, 1034, 18, 4939, 2932, 16, 8863, 3639, 309, 261, 291, 2514, 12, 71, 3719, 288, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1110, 18, 2469, 31, 277, 27245, 288, 7734, 2949, 8976, 18, 458, 12, 408, 63, 77, 6487, 927, 529, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1110, 18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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 389, 1289, 12, 797, 276, 13, 1216, 1185, 95, 3639, 3008, 30382, 863, 4294, 293, 273, 261, 1749, 30382, 863, 4294, 13, 276, 18, 2704, 1442, 5621, 3639, 514, 927, 529, 273, 276, 18, 10492, 5621, 3639, 927, 529, 273, 927, 529, 18, 28023, 12, 830, 529, 18, 31806, 2668, 8624, 15, 21, 1769, 3639, 514, 1034, 273, 293, 18, 588, 1586, 5621, 3639, 514, 8526, 1110, 273, 1034, 18, 4939, 2932, 16, 8863, 3639, 309, 261, 291, 2514, 12, 71, 3719, 288, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1110, 18, 2469, 31, 277, 27245, 288, 7734, 2949, 8976, 18, 458, 12, 408, 63, 77, 6487, 927, 529, 1769, 5411, 289, 3639, 2 ]
iCodeTop = addByte(Token.THROW, iCodeTop);
iCodeTop = addToken(Token.THROW, iCodeTop);
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case Token.FUNCTION : { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); FunctionNode fn = scriptOrFn.getFunctionNode(fnIndex); if (fn.itsFunctionType != FunctionNode.FUNCTION_STATEMENT) { // Only function expressions or function expression // statements needs closure code creating new function // object on stack as function statements are initialized // at script/function start iCodeTop = addByte(Token.CLOSURE, iCodeTop); iCodeTop = addIndex(fnIndex, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SCRIPT : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != Token.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.CASE : iCodeTop = updateLineNumber(node, iCodeTop); child = child.getNext(); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.LABEL : case Token.LOOP : case Token.DEFAULT : case Token.BLOCK : case Token.VOID : case Token.NOP : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.WITH : ++itsWithDepth; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsWithDepth; break; case Token.COMMA : iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; iCodeTop = generateICode(child, iCodeTop); } break; case Token.SWITCH : { iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte(Token.NEWTEMP, iCodeTop); iCodeTop = addByte(theLocalSlot, iCodeTop); iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; ObjArray cases = (ObjArray) node.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.get(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(Token.USETEMP, iCodeTop); iCodeTop = addByte(theLocalSlot, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte(Token.SHEQ, iCodeTop); itsStackDepth--; Node target = new Node(Token.TARGET); thisCase.addChildAfter(target, first); iCodeTop = addGoto(target, Token.IFEQ, iCodeTop); } Node defaultNode = (Node) node.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node defaultTarget = new Node(Token.TARGET); defaultNode.getFirstChild(). addChildToFront(defaultTarget); iCodeTop = addGoto(defaultTarget, Token.GOTO, iCodeTop); } Node breakTarget = (Node) node.getProp(Node.BREAK_PROP); iCodeTop = addGoto(breakTarget, Token.GOTO, iCodeTop); break; } case Token.TARGET : { markTargetLabel(node, iCodeTop); break; } case Token.EQOP : case Token.RELOP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int op = node.getOperation(); if (version == Context.VERSION_1_2) { if (op == Token.EQ) { op = Token.SHEQ; } else if (op == Token.NE) { op = Token.SHNE; } } iCodeTop = addByte(op, iCodeTop); itsStackDepth--; break; } case Token.NEW : case Token.CALL : { int childCount = 0; String functionName = null; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (functionName == null) { int childType = child.getType(); if (childType == Token.NAME || childType == Token.GETPROP) { functionName = lastAddString; } } child = child.getNext(); childCount++; } int callType = node.getIntProp(Node.SPECIALCALL_PROP, Node.NON_SPECIALCALL); if (callType != Node.NON_SPECIALCALL) { // embed line number and source filename iCodeTop = addByte(Icode_CALLSPECIAL, iCodeTop); iCodeTop = addByte(callType, iCodeTop); iCodeTop = addByte(type == Token.NEW ? 1 : 0, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); } else { iCodeTop = addByte(type, iCodeTop); iCodeTop = addString(functionName, iCodeTop); } itsStackDepth -= (childCount - 1); // always a result value // subtract from child count to account for [thisObj &] fun if (type == Token.NEW) { childCount -= 1; } else { childCount -= 2; } iCodeTop = addIndex(childCount, iCodeTop); if (childCount > itsData.itsMaxCalleeArgs) itsData.itsMaxCalleeArgs = childCount; break; } case Token.NEWLOCAL : case Token.NEWTEMP : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.NEWTEMP, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); break; } case Token.USELOCAL : { if (node.getProp(Node.TARGET_PROP) != null) { iCodeTop = addByte(Icode_RETSUB, iCodeTop); } else { iCodeTop = addByte(Token.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } Node temp = (Node) node.getProp(Node.LOCAL_PROP); iCodeTop = addLocalRef(temp, iCodeTop); break; } case Token.USETEMP : { iCodeTop = addByte(Token.USETEMP, iCodeTop); Node temp = (Node) node.getProp(Node.TEMP_PROP); iCodeTop = addLocalRef(temp, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.IFEQ : case Token.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case Token.GOTO : { Node target = (Node)(node.getProp(Node.TARGET_PROP)); iCodeTop = addGoto(target, (byte) type, iCodeTop); break; } case Token.JSR : { Node target = (Node)(node.getProp(Node.TARGET_PROP)); iCodeTop = addGoto(target, Icode_GOSUB, iCodeTop); break; } case Token.AND : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int falseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFNE, iCodeTop); iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(falseJumpStart, iCodeTop); break; } case Token.OR : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int trueJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFEQ, iCodeTop); iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(trueJumpStart, iCodeTop); break; } case Token.GETPROP : { iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) { iCodeTop = addByte(Icode_GETPROTO, iCodeTop); } else if (s.equals("__parent__")) { iCodeTop = addByte(Icode_GETSCOPEPARENT, iCodeTop); } else { badTree(node); } } else { child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.GETPROP, iCodeTop); itsStackDepth--; } break; } case Token.DELPROP : case Token.BITAND : case Token.BITOR : case Token.BITXOR : case Token.LSH : case Token.RSH : case Token.URSH : case Token.ADD : case Token.SUB : case Token.MOD : case Token.DIV : case Token.MUL : case Token.GETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); itsStackDepth--; break; case Token.CONVERT : { iCodeTop = generateICode(child, iCodeTop); Object toType = node.getProp(Node.TYPE_PROP); if (toType == ScriptRuntime.NumberClass) { iCodeTop = addByte(Token.POS, iCodeTop); } else { badTree(node); } break; } case Token.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getOperation()) { case Token.VOID : iCodeTop = addByte(Token.POP, iCodeTop); iCodeTop = addByte(Token.UNDEFINED, iCodeTop); break; case Token.NOT : { int trueJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFEQ, iCodeTop); iCodeTop = addByte(Token.TRUE, iCodeTop); int beyondJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.GOTO, iCodeTop); resolveForwardGoto(trueJumpStart, iCodeTop); iCodeTop = addByte(Token.FALSE, iCodeTop); resolveForwardGoto(beyondJumpStart, iCodeTop); break; } case Token.BITNOT : iCodeTop = addByte(Token.BITNOT, iCodeTop); break; case Token.TYPEOF : iCodeTop = addByte(Token.TYPEOF, iCodeTop); break; case Token.SUB : iCodeTop = addByte(Token.NEG, iCodeTop); break; case Token.ADD : iCodeTop = addByte(Token.POS, iCodeTop); break; default: badTree(node); break; } break; case Token.SETPROP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) { iCodeTop = addByte(Icode_SETPROTO, iCodeTop); } else if (s.equals("__parent__")) { iCodeTop = addByte(Icode_SETPARENT, iCodeTop); } else { badTree(node); } } else { child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.SETPROP, iCodeTop); itsStackDepth -= 2; } break; } case Token.SETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); itsStackDepth -= 2; break; case Token.SETNAME : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.SETNAME, iCodeTop); iCodeTop = addString(firstChild.getString(), iCodeTop); itsStackDepth--; break; case Token.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 = scriptOrFn.getParamOrVarIndex(name); if (index == -1) { iCodeTop = addByte(Token.TYPEOFNAME, iCodeTop); iCodeTop = addString(name, iCodeTop); } else { iCodeTop = addByte(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); iCodeTop = addByte(Token.TYPEOF, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.PARENT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Icode_GETPARENT, iCodeTop); break; case Token.GETBASE : case Token.BINDNAME : case Token.NAME : case Token.STRING : iCodeTop = addByte(type, iCodeTop); iCodeTop = addString(node.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.INC : case Token.DEC : { int childType = child.getType(); switch (childType) { case Token.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addByte(Icode_SCOPE, iCodeTop); iCodeTop = addByte(Token.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte(type == Token.INC ? Token.PROPINC : Token.PROPDEC, iCodeTop); itsStackDepth--; } else { int i = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addByte(type == Token.INC ? Token.VARINC : Token.VARDEC, iCodeTop); iCodeTop = addByte(i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.GETPROP : case Token.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNext(); iCodeTop = generateICode(getPropChild, iCodeTop); if (childType == Token.GETPROP) { iCodeTop = addByte(type == Token.INC ? Token.PROPINC : Token.PROPDEC, iCodeTop); } else { iCodeTop = addByte(type == Token.INC ? Token.ELEMINC : Token.ELEMDEC, iCodeTop); } itsStackDepth--; break; } default : { iCodeTop = addByte(type == Token.INC ? Token.NAMEINC : Token.NAMEDEC, iCodeTop); iCodeTop = addString(child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } } break; } case Token.NUMBER : { double num = node.getDouble(); int inum = (int)num; if (inum == num) { if (inum == 0) { iCodeTop = addByte(Token.ZERO, iCodeTop); } else if (inum == 1) { iCodeTop = addByte(Token.ONE, iCodeTop); } else if ((short)inum == inum) { iCodeTop = addByte(Icode_SHORTNUMBER, iCodeTop); iCodeTop = addShort(inum, iCodeTop); } else { iCodeTop = addByte(Icode_INTNUMBER, iCodeTop); iCodeTop = addInt(inum, iCodeTop); } } else { iCodeTop = addByte(Token.NUMBER, iCodeTop); iCodeTop = addDouble(num, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.POP : case Token.POPV : iCodeTop = updateLineNumber(node, iCodeTop); case Token.ENTERWITH : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); itsStackDepth--; break; case Token.GETTHIS : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); break; case Token.NEWSCOPE : iCodeTop = addByte(type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.LEAVEWITH : iCodeTop = addByte(type, iCodeTop); break; case Token.TRY : { Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); int tryStart = iCodeTop; int tryEnd = -1; int catchStart = -1; int finallyStart = -1; while (child != null) { boolean generated = false; if (child == catchTarget) { if (child.getType() != Token.TARGET) Context.codeBug(); if (tryEnd >= 0) Context.codeBug(); tryEnd = iCodeTop; catchStart = iCodeTop; markTargetLabel(child, iCodeTop); generated = true; // Catch code has exception object on the stack itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } else if (child == finallyTarget) { if (child.getType() != Token.TARGET) Context.codeBug(); if (tryEnd < 0) { tryEnd = iCodeTop; } finallyStart = iCodeTop; markTargetLabel(child, iCodeTop); generated = true; // Adjust stack for finally code: on the top of the // stack it has either a PC value when called from // GOSUB or exception object to rethrow when called // from exception handler itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) { itsData.itsMaxStack = itsStackDepth; } } if (!generated) { iCodeTop = generateICode(child, iCodeTop); } child = child.getNext(); } itsStackDepth = 0; // [tryStart, tryEnd) contains GOSUB to call finally when it // presents at the end of try code and before return, break // continue that transfer control outside try. // After finally is executed the control will be // transfered back into [tryStart, tryEnd) and exception // handling assumes that the only code executed after // finally returns will be a jump outside try which could not // trigger exceptions. // It does not hold if instruction observer throws during // goto. Currently it may lead to double execution of finally. addExceptionHandler(tryStart, tryEnd, catchStart, finallyStart, itsWithDepth); break; } case Token.THROW : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.THROW, iCodeTop); itsStackDepth--; break; case Token.RETURN : iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.RETURN, iCodeTop); itsStackDepth--; } else { iCodeTop = addByte(Icode_RETUNDEF, iCodeTop); } break; case Token.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(Icode_SCOPE, iCodeTop); iCodeTop = addByte(Token.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte(Token.GETPROP, iCodeTop); itsStackDepth--; } else { int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addByte(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SETVAR : { if (itsData.itsNeedsActivation) { child.setType(Token.BINDNAME); node.setType(Token.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addByte(Token.SETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); } break; } case Token.PRIMARY: iCodeTop = addByte(node.getOperation(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.ENUMINIT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.ENUMINIT, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); itsStackDepth--; break; case Token.ENUMNEXT : { iCodeTop = addByte(Token.ENUMNEXT, iCodeTop); Node init = (Node)node.getProp(Node.ENUM_PROP); iCodeTop = addLocalRef(init, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.ENUMDONE : // could release the local here?? break; case Token.REGEXP : { int index = node.getExistingIntProp(Node.REGEXP_PROP); iCodeTop = addByte(Token.REGEXP, iCodeTop); iCodeTop = addIndex(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } default : badTree(node); break; } return iCodeTop; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/faf2a30c39fc508f2635416a94f9662c4ae41ad3/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, 5411, 648, 3155, 18, 7788, 294, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 4293, 1016, 1769, 7734, 309, 261, 4293, 18, 1282, 2083, 559, 480, 4284, 907, 18, 7788, 67, 28411, 13, 288, 10792, 368, 5098, 445, 8041, 578, 445, 2652, 10792, 368, 6317, 4260, 7213, 981, 4979, 394, 445, 10792, 368, 733, 603, 2110, 487, 445, 6317, 854, 6454, 10792, 368, 622, 2728, 19, 915, 787, 10792, 277, 1085, 3401, 273, 527, 3216, 12, 1345, 18, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 277, 1085, 3401, 273, 26794, 12, 4293, 1016, 16, 277, 1085, 3401, 1769, 10792, 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, 289, 5411, 648, 3155, 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, 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, 5411, 648, 3155, 18, 7788, 294, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 4293, 1016, 1769, 7734, 309, 261, 4293, 18, 1282, 2083, 559, 480, 4284, 907, 18, 7788, 67, 28411, 13, 288, 10792, 368, 5098, 445, 8041, 578, 445, 2652, 10792, 368, 6317, 4260, 7213, 981, 2 ]
public OMNamespace getNamespace() throws OMException { if (ns == null && parent != null) { ns = parent.getNamespace(); } if (ns == null) throw new OMException("all elements in a soap message must be namespace qualified"); return ns; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/af7717d39bf334b9910718812650d5561f1cbe1c/OMNamedNodeImpl.java/clean/modules/om/src/java/org/apache/axis/om/impl/llom/OMNamedNodeImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1872, 3402, 588, 3402, 1435, 15069, 1872, 503, 95, 430, 12, 2387, 631, 2011, 10, 10, 2938, 5, 33, 2011, 15329, 2387, 33, 2938, 18, 588, 3402, 5621, 97, 430, 12, 2387, 631, 2011, 13, 12849, 2704, 1872, 503, 2932, 454, 6274, 267, 345, 83, 438, 81, 403, 346, 351, 641, 70, 6809, 909, 19724, 8863, 2463, 2387, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1872, 3402, 588, 3402, 1435, 15069, 1872, 503, 95, 430, 12, 2387, 631, 2011, 10, 10, 2938, 5, 33, 2011, 15329, 2387, 33, 2938, 18, 588, 3402, 5621, 97, 430, 12, 2387, 631, 2011, 13, 12849, 2704, 1872, 503, 2932, 454, 6274, 267, 345, 83, 438, 81, 403, 346, 351, 641, 70, 6809, 909, 19724, 8863, 2463, 2387, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (current_row == rows_size - 1 && rows_size > 0);
if (rows_size == 0) return false; if (current_row != (rows_size - 1)) return false; String cursorName = statement.getFetchingCursorName(); if (cursorName == null || lastFetchSize == 0 || rows_size < lastFetchSize) { return true; } byte[][] saveThisRow = this_row; String[] sql = new String[] { fetchSize == 0 ? ("FETCH FORWARD ALL FROM " + cursorName) : "FETCH FORWARD " + fetchSize + " FROM " + cursorName }; QueryExecutor.execute(sql, new String[0], this); rows.insertElementAt(saveThisRow, 0); current_row = 0; this_row = saveThisRow; row_offset += (rows_size - 1); lastFetchSize = (fetchSize == 0 ? 0 : fetchSize + 1); return (rows.size() == 1);
public boolean isLast() throws SQLException { final int rows_size = rows.size(); return (current_row == rows_size - 1 && rows_size > 0); }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/d9216a27dc4ef3f9c2223a6add07c4bfc9a0903e/AbstractJdbc2ResultSet.java/buggy/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 23075, 1435, 1216, 6483, 202, 95, 202, 202, 6385, 509, 2595, 67, 1467, 273, 2595, 18, 1467, 5621, 202, 202, 2463, 261, 2972, 67, 492, 422, 2595, 67, 1467, 300, 404, 597, 2595, 67, 1467, 405, 374, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 23075, 1435, 1216, 6483, 202, 95, 202, 202, 6385, 509, 2595, 67, 1467, 273, 2595, 18, 1467, 5621, 202, 202, 2463, 261, 2972, 67, 492, 422, 2595, 67, 1467, 300, 404, 597, 2595, 67, 1467, 405, 374, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void updateUI() { ButtonUI b = (ButtonUI) UIManager.getUI(this); setUI(b); }
public void updateUI() { ButtonUI b = (ButtonUI)UIManager.getUI(this); setUI(b); }
public void updateUI() { ButtonUI b = (ButtonUI) UIManager.getUI(this); setUI(b); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/JToggleButton.java/buggy/core/src/classpath/javax/javax/swing/JToggleButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 5370, 1435, 288, 202, 202, 3616, 5370, 324, 273, 261, 3616, 5370, 13, 6484, 1318, 18, 588, 5370, 12, 2211, 1769, 202, 202, 542, 5370, 12, 70, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 5370, 1435, 288, 202, 202, 3616, 5370, 324, 273, 261, 3616, 5370, 13, 6484, 1318, 18, 588, 5370, 12, 2211, 1769, 202, 202, 542, 5370, 12, 70, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
PriorsClassSon[i][j]=m_CondiCounts[i][sIndex+j][sIndex+j]/m_NumInstances;
PriorsClassSon[i][j]=m_ClassAttAttCounts[i][sIndex+j][sIndex+j]/m_NumInstances;
private double conditionalMutualInfo(int son, int parent)throws Exception{ double CondiMutualInfo=0; int sIndex=m_StartAttIndex[son]; int pIndex=m_StartAttIndex[parent]; double[] PriorsClass = new double[m_NumClasses]; double[][] PriorsClassSon=new double[m_NumClasses][m_NumAttValues[son]]; double[][] PriorsClassParent=new double[m_NumClasses][m_NumAttValues[parent]]; double[][][] PriorsClassParentSon=new double[m_NumClasses][m_NumAttValues[parent]][m_NumAttValues[son]]; for(int i=0;i<m_NumClasses;i++){ PriorsClass[i]=m_ClassCounts[i]/m_NumInstances; } for(int i=0;i<m_NumClasses;i++){ for(int j=0;j<m_NumAttValues[son];j++){ PriorsClassSon[i][j]=m_CondiCounts[i][sIndex+j][sIndex+j]/m_NumInstances; } } for(int i=0;i<m_NumClasses;i++){ for(int j=0;j<m_NumAttValues[parent];j++){ PriorsClassParent[i][j]=m_CondiCounts[i][pIndex+j][pIndex+j]/m_NumInstances; } } for(int i=0;i<m_NumClasses;i++){ for(int j=0;j<m_NumAttValues[parent];j++){ for(int k=0;k<m_NumAttValues[son];k++){ PriorsClassParentSon[i][j][k]=m_CondiCounts[i][pIndex+j][sIndex+k]/m_NumInstances; } } } for(int i=0;i<m_NumClasses;i++){ for(int j=0;j<m_NumAttValues[parent];j++){ for(int k=0;k<m_NumAttValues[son];k++){ CondiMutualInfo+=PriorsClassParentSon[i][j][k]*log2(PriorsClassParentSon[i][j][k]*PriorsClass[i],PriorsClassParent[i][j]*PriorsClassSon[i][k]); } } } return CondiMutualInfo; }
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/acb76c66a79a41aa2598fae461f79648f63f8e5f/HNB.java/buggy/trunk/weka/classifiers/bayes/HNB.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1645, 11139, 7420, 1462, 966, 12, 474, 18882, 16, 509, 982, 13, 15069, 1185, 95, 565, 1645, 735, 3211, 7420, 1462, 966, 33, 20, 31, 565, 509, 272, 1016, 33, 81, 67, 1685, 3075, 1016, 63, 816, 15533, 565, 509, 293, 1016, 33, 81, 67, 1685, 3075, 1016, 63, 2938, 15533, 565, 1645, 8526, 453, 566, 1383, 797, 273, 394, 1645, 63, 81, 67, 2578, 4818, 15533, 565, 1645, 63, 6362, 65, 453, 566, 1383, 797, 55, 265, 33, 2704, 1645, 63, 81, 67, 2578, 4818, 6362, 81, 67, 2578, 3075, 1972, 63, 816, 13563, 31, 565, 1645, 63, 6362, 65, 453, 566, 1383, 797, 3054, 33, 2704, 1645, 63, 81, 67, 2578, 4818, 6362, 81, 67, 2578, 3075, 1972, 63, 2938, 13563, 31, 565, 1645, 63, 6362, 6362, 65, 453, 566, 1383, 797, 3054, 55, 265, 33, 2704, 1645, 63, 81, 67, 2578, 4818, 6362, 81, 67, 2578, 3075, 1972, 63, 2938, 65, 6362, 81, 67, 2578, 3075, 1972, 63, 816, 13563, 31, 565, 364, 12, 474, 277, 33, 20, 31, 77, 32, 81, 67, 2578, 4818, 31, 77, 27245, 95, 1377, 453, 566, 1383, 797, 63, 77, 65, 33, 81, 67, 797, 9211, 63, 77, 18537, 81, 67, 2578, 5361, 31, 565, 289, 565, 364, 12, 474, 277, 33, 20, 31, 77, 32, 81, 67, 2578, 4818, 31, 77, 27245, 95, 1377, 364, 12, 474, 525, 33, 20, 31, 78, 32, 81, 67, 2578, 3075, 1972, 63, 816, 15533, 78, 27245, 95, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1645, 11139, 7420, 1462, 966, 12, 474, 18882, 16, 509, 982, 13, 15069, 1185, 95, 565, 1645, 735, 3211, 7420, 1462, 966, 33, 20, 31, 565, 509, 272, 1016, 33, 81, 67, 1685, 3075, 1016, 63, 816, 15533, 565, 509, 293, 1016, 33, 81, 67, 1685, 3075, 1016, 63, 2938, 15533, 565, 1645, 8526, 453, 566, 1383, 797, 273, 394, 1645, 63, 81, 67, 2578, 4818, 15533, 565, 1645, 63, 6362, 65, 453, 566, 1383, 797, 55, 265, 33, 2704, 1645, 63, 81, 67, 2578, 4818, 6362, 81, 67, 2578, 3075, 1972, 63, 816, 13563, 31, 565, 1645, 63, 6362, 65, 453, 566, 1383, 797, 3054, 33, 2704, 1645, 63, 81, 67, 2578, 4818, 6362, 81, 67, 2 ]
return true; }
return true; }
public boolean hasDescription() { return true; }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/InvokeCountMatcher.java/buggy/jmock/examples/timed-cache/src/test/jmock/examples/timedcache/InvokeCountMatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 3291, 1435, 288, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 3291, 1435, 288, 3639, 327, 638, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
throws JDOMException {
public Document createDocument() throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException { // We need DOM Level 2 and thus JAXP 1.1. // If JAXP 1.0 is all that's available then we error out. Class.forName("javax.xml.transform.Transformer"); // Try JAXP 1.1 calls to build the document Class factoryClass = Class.forName("javax.xml.parsers.DocumentBuilderFactory"); // factory = DocumentBuilderFactory.newInstance(); Method newParserInstance = factoryClass.getMethod("newInstance", null); Object factory = newParserInstance.invoke(null, null); // jaxpParser = factory.newDocumentBuilder(); Method newDocBuilder = factoryClass.getMethod("newDocumentBuilder", null); Object jaxpParser = newDocBuilder.invoke(factory, null); // domDoc = jaxpParser.newDocument(); Class parserClass = jaxpParser.getClass(); Method newDoc = parserClass.getMethod("newDocument", null); org.w3c.dom.Document domDoc = (org.w3c.dom.Document) newDoc.invoke(jaxpParser, null); return domDoc; // System.out.println("Using jaxp " + // domDoc.getClass().getName()); // Allow all exceptions to pass through }
49530 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49530/10afc7e2bf09908695ad07beab9d457703ab65fe/JAXPDOMAdapter.java/buggy/core/src/java/org/jdom/adapters/JAXPDOMAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 27569, 1435, 540, 1216, 10403, 16, 15959, 16, 7734, 11900, 16, 15342, 288, 3639, 368, 1660, 1608, 4703, 4557, 576, 471, 12493, 7431, 52, 404, 18, 21, 18, 3639, 368, 971, 7431, 52, 404, 18, 20, 353, 777, 716, 1807, 2319, 1508, 732, 555, 596, 18, 3639, 1659, 18, 1884, 461, 2932, 28384, 18, 2902, 18, 6547, 18, 8319, 8863, 3639, 368, 6161, 7431, 52, 404, 18, 21, 4097, 358, 1361, 326, 1668, 3639, 1659, 3272, 797, 273, 5411, 1659, 18, 1884, 461, 2932, 28384, 18, 2902, 18, 11104, 18, 2519, 20692, 8863, 3639, 368, 3272, 273, 30236, 18, 2704, 1442, 5621, 3639, 2985, 394, 2678, 1442, 273, 5411, 3272, 797, 18, 588, 1305, 2932, 2704, 1442, 3113, 446, 1769, 3639, 1033, 3272, 273, 394, 2678, 1442, 18, 14407, 12, 2011, 16, 446, 1769, 3639, 368, 20516, 84, 2678, 273, 3272, 18, 2704, 2519, 1263, 5621, 3639, 2985, 394, 1759, 1263, 273, 5411, 3272, 797, 18, 588, 1305, 2932, 2704, 2519, 1263, 3113, 446, 1769, 3639, 1033, 20516, 84, 2678, 225, 273, 394, 1759, 1263, 18, 14407, 12, 6848, 16, 446, 1769, 3639, 368, 4092, 1759, 273, 20516, 84, 2678, 18, 2704, 2519, 5621, 3639, 1659, 2082, 797, 273, 20516, 84, 2678, 18, 588, 797, 5621, 3639, 2985, 394, 1759, 273, 2082, 797, 18, 588, 1305, 2932, 2704, 2519, 3113, 446, 1769, 3639, 2358, 18, 91, 23, 71, 18, 9859, 18, 2519, 4092, 1759, 273, 5411, 261, 3341, 18, 91, 23, 71, 18, 9859, 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, 4319, 27569, 1435, 540, 1216, 10403, 16, 15959, 16, 7734, 11900, 16, 15342, 288, 3639, 368, 1660, 1608, 4703, 4557, 576, 471, 12493, 7431, 52, 404, 18, 21, 18, 3639, 368, 971, 7431, 52, 404, 18, 20, 353, 777, 716, 1807, 2319, 1508, 732, 555, 596, 18, 3639, 1659, 18, 1884, 461, 2932, 28384, 18, 2902, 18, 6547, 18, 8319, 8863, 3639, 368, 6161, 7431, 52, 404, 18, 21, 4097, 358, 1361, 326, 1668, 3639, 1659, 3272, 797, 273, 5411, 1659, 18, 1884, 461, 2932, 28384, 18, 2902, 18, 11104, 18, 2519, 20692, 8863, 3639, 368, 3272, 273, 30236, 18, 2704, 1442, 5621, 3639, 2985, 394, 2678, 1442, 273, 5411, 3272, 797, 18, 588, 1305, 2932, 2704, 2 ]
ExecSQL("rollback; " + getIsolationLevelSQL());
execSQL("rollback; " + getIsolationLevelSQL());
public void rollback() throws SQLException { if (autoCommit) return ; if (haveMinimumServerVersion("7.3")) { //we don't automatically start a transaction //but let the server functionality automatically start //one when the first statement is executed ExecSQL("rollback; " + getIsolationLevelSQL()); } else if (haveMinimumServerVersion("7.1")) { ExecSQL("rollback; begin;" + getIsolationLevelSQL()); } else { ExecSQL("rollback"); ExecSQL("begin"); ExecSQL(getIsolationLevelSQL()); } }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/16a30346c86590fbdcd83cacd2a0a9dbd2cd00dc/AbstractJdbc1Connection.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 8006, 1435, 1216, 6483, 202, 95, 202, 202, 430, 261, 6079, 5580, 13, 1082, 202, 2463, 274, 202, 202, 430, 261, 21516, 13042, 2081, 1444, 2932, 27, 18, 23, 6, 3719, 202, 202, 95, 1082, 202, 759, 1814, 2727, 1404, 6635, 787, 279, 2492, 1875, 202, 759, 12885, 2231, 326, 1438, 14176, 6635, 787, 1082, 202, 759, 476, 1347, 326, 1122, 3021, 353, 7120, 1082, 202, 1905, 3997, 2932, 20050, 31, 315, 397, 14279, 12255, 2355, 3997, 10663, 202, 202, 97, 202, 202, 12107, 309, 261, 21516, 13042, 2081, 1444, 2932, 27, 18, 21, 6, 3719, 202, 202, 95, 1082, 202, 1905, 3997, 2932, 20050, 31, 2376, 4868, 397, 14279, 12255, 2355, 3997, 10663, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 1905, 3997, 2932, 20050, 8863, 1082, 202, 1905, 3997, 2932, 10086, 8863, 1082, 202, 1905, 3997, 12, 588, 22982, 2355, 3997, 10663, 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, 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 95, 1082, 202, 759, 1814, 2727, 1404, 6635, 787, 279, 2492, 1875, 202, 759, 12885, 2231, 326, 1438, 14176, 6635, 787, 1082, 202, 759, 476, 1347, 326, 1122, 3021, 353, 7120, 1082, 202, 1905, 3997, 2932, 20050, 31, 315, 397, 14279, 12255, 2355, 3997, 10663, 202, 202, 97, 202, 202, 12107, 309, 261, 21516, 13042, 2081, 1444, 2932, 27, 18, 21, 6, 3719, 202, 202, 95, 1082, 202, 1905, 3997, 2932, 20050, 31, 2376, 4868, 397, 14279, 12255, 2355, 3997, 10663, 202, 2 ]
isInGlobalElement = true;
mIsInGlobalElement = true;
public void startElement(String aNamespaceURI, String aLocalName, String aQName, Attributes aAtts) { mBuf.setLength(0); if ("global".equals(aQName)) { isInGlobalElement = true; } else if ("check".equals(aQName)) { //first apply overriding properties if (!isInCheckMode) { isInCheckMode = true; for (Enumeration enum = mOverrideProps.keys(); enum.hasMoreElements();) { final String key = (String)enum.nextElement(); final String value = (String)mOverrideProps.get(key); mProps.setProperty(key, value); } } mCurrent = new CheckConfiguration(); mCurrent.setClassname(aAtts.getValue("classname")); }
31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/303352fe2d7b467edce0bf02064e0a519a139250/ConfigurationLoader.java/buggy/src/checkstyle/com/puppycrawl/tools/checkstyle/ConfigurationLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 279, 3402, 3098, 16, 11794, 514, 279, 29583, 16, 11794, 514, 279, 13688, 16, 11794, 9055, 279, 3075, 87, 13, 565, 288, 3639, 312, 5503, 18, 542, 1782, 12, 20, 1769, 3639, 309, 7566, 6347, 9654, 14963, 12, 69, 13688, 3719, 288, 5411, 312, 2520, 382, 5160, 1046, 273, 638, 31, 3639, 289, 3639, 469, 309, 7566, 1893, 9654, 14963, 12, 69, 13688, 3719, 288, 5411, 368, 3645, 2230, 19488, 1790, 5411, 309, 16051, 291, 382, 1564, 2309, 13, 288, 7734, 8048, 1564, 2309, 273, 638, 31, 7734, 364, 261, 21847, 2792, 273, 312, 6618, 5047, 18, 2452, 5621, 8227, 2792, 18, 5332, 7417, 3471, 5621, 13, 7734, 288, 10792, 727, 514, 498, 273, 261, 780, 13, 7924, 18, 4285, 1046, 5621, 10792, 727, 514, 460, 273, 261, 780, 13, 81, 6618, 5047, 18, 588, 12, 856, 1769, 10792, 312, 5047, 18, 542, 1396, 12, 856, 16, 460, 1769, 7734, 289, 5411, 289, 5411, 28326, 273, 394, 2073, 1750, 5621, 5411, 28326, 18, 542, 20531, 12, 69, 3075, 87, 18, 24805, 2932, 18340, 7923, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 13591, 12, 780, 279, 3402, 3098, 16, 11794, 514, 279, 29583, 16, 11794, 514, 279, 13688, 16, 11794, 9055, 279, 3075, 87, 13, 565, 288, 3639, 312, 5503, 18, 542, 1782, 12, 20, 1769, 3639, 309, 7566, 6347, 9654, 14963, 12, 69, 13688, 3719, 288, 5411, 312, 2520, 382, 5160, 1046, 273, 638, 31, 3639, 289, 3639, 469, 309, 7566, 1893, 9654, 14963, 12, 69, 13688, 3719, 288, 5411, 368, 3645, 2230, 19488, 1790, 5411, 309, 16051, 291, 382, 1564, 2309, 13, 288, 7734, 8048, 1564, 2309, 273, 638, 31, 7734, 364, 261, 21847, 2792, 273, 312, 6618, 5047, 18, 2452, 5621, 8227, 2792, 18, 5332, 7417, 3471, 5621, 13, 7734, 288, 10792, 727, 514, 498, 2 ]