rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
"error in event handler for event " + event, null));
"error in event handler for event " + event, null));
public void handleEvent(String event) { ComponentDescription act; synchronized (this) { if (finished) return; if (singleEvent) finished = true; // even if not known how to handle... } try { String name = "otherwise"; try { act = (ComponentDescription) sfResolve(event); name = event; } catch (SmartFrogResolutionException e) { act = (ComponentDescription) sfResolve(name); } sfCreateNewChild(name+index++, act, null); } catch (SmartFrogResolutionException e) { // no handler - log and ignore Logger.log(this.sfCompleteNameSafe()+"ignoring unknown event " + event); } catch (Exception e) { // error in handler - log and ignore sfTerminate(TerminationRecord.abnormal( "error in event handler for event " + event, null)); } }
4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/0994a5caa339e3146f4c17ed4db93fca1583d301/OnEvent.java/buggy/core/smartfrog/src/org/smartfrog/sfcore/workflow/components/OnEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 1133, 12, 780, 871, 13, 288, 3639, 5435, 3291, 1328, 31, 202, 22043, 261, 2211, 13, 288, 202, 565, 309, 261, 13527, 13, 327, 31, 202, 565, 309, 261, 7526, 1133, 13, 6708, 273, 638, 31, 368, 5456, 309, 486, 4846, 3661, 358, 1640, 2777, 202, 97, 3639, 775, 288, 5411, 514, 508, 273, 315, 29778, 14432, 5411, 775, 288, 7734, 1328, 273, 261, 1841, 3291, 13, 9033, 8460, 12, 2575, 1769, 7734, 508, 273, 871, 31, 5411, 289, 1044, 261, 23824, 42, 303, 75, 11098, 503, 425, 13, 288, 7734, 1328, 273, 261, 1841, 3291, 13, 9033, 8460, 12, 529, 1769, 5411, 289, 202, 565, 9033, 1684, 1908, 1763, 12, 529, 15, 1615, 9904, 16, 1328, 16, 446, 1769, 3639, 289, 1044, 261, 23824, 42, 303, 75, 11098, 503, 425, 13, 288, 202, 565, 368, 1158, 1838, 300, 613, 471, 2305, 202, 565, 4242, 18, 1330, 12, 2211, 18, 21668, 6322, 461, 9890, 1435, 9078, 724, 6053, 5917, 871, 315, 397, 871, 1769, 202, 97, 1044, 261, 503, 425, 13, 288, 5411, 368, 555, 316, 225, 1838, 300, 613, 471, 2305, 5411, 9033, 26106, 12, 16516, 2115, 18, 378, 6130, 12, 10792, 315, 1636, 316, 871, 1838, 364, 871, 315, 397, 871, 16, 446, 10019, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 1133, 12, 780, 871, 13, 288, 3639, 5435, 3291, 1328, 31, 202, 22043, 261, 2211, 13, 288, 202, 565, 309, 261, 13527, 13, 327, 31, 202, 565, 309, 261, 7526, 1133, 13, 6708, 273, 638, 31, 368, 5456, 309, 486, 4846, 3661, 358, 1640, 2777, 202, 97, 3639, 775, 288, 5411, 514, 508, 273, 315, 29778, 14432, 5411, 775, 288, 7734, 1328, 273, 261, 1841, 3291, 13, 9033, 8460, 12, 2575, 1769, 7734, 508, 273, 871, 31, 5411, 289, 1044, 261, 23824, 42, 303, 75, 11098, 503, 425, 13, 288, 7734, 1328, 273, 261, 1841, 3291, 13, 9033, 8460, 12, 529, 1769, 5411, 289, 202, 565, 9033, 1684, 1908, 1763, 12, 529, 15, 1615, 9904, 2 ]
return getRuby().getNil(); }
return getRuby().getNil(); }
public RubyObject m_attr_writer(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), false, true, true); } return getRuby().getNil(); }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 312, 67, 1747, 67, 6299, 12, 54, 10340, 921, 8526, 833, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 1082, 202, 1289, 1499, 12443, 12, 54, 10340, 5335, 13, 833, 63, 77, 65, 2934, 869, 548, 9334, 629, 16, 638, 16, 638, 1769, 202, 202, 97, 202, 202, 2463, 4170, 10340, 7675, 588, 12616, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 312, 67, 1747, 67, 6299, 12, 54, 10340, 921, 8526, 833, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 1082, 202, 1289, 1499, 12443, 12, 54, 10340, 5335, 13, 833, 63, 77, 65, 2934, 869, 548, 9334, 629, 16, 638, 16, 638, 1769, 202, 202, 97, 202, 202, 2463, 4170, 10340, 7675, 588, 12616, 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 ]
else if (! isClassGenerated() && ! getInlineOnly())
else if (getInlineOnly()) closureEnv = parentFrame; else if (! isClassGenerated())
public Variable declareClosureEnv() { if (closureEnv == null && getNeedsClosureEnv()) { LambdaExp parent = outerLambda(); if (parent instanceof ClassExp) parent = parent.outerLambda(); Variable parentFrame = parent.heapFrame != null ? parent.heapFrame : parent.closureEnv; if (isClassMethod()) closureEnv = declareThis(type); else if (parent.heapFrame == null && ! parent.getNeedsStaticLink() && ! (parent instanceof ModuleExp)) closureEnv = null; else if (! isClassGenerated() && ! getInlineOnly()) { Method primMethod = getMainMethod(); if (! primMethod.getStaticFlag()) closureEnv = declareThis(primMethod.getDeclaringClass()); else { Type envType = primMethod.getParameterTypes()[0]; closureEnv = new Variable("closureEnv", envType); scope.addVariableAfter(null, closureEnv); closureEnv.setArtificial(true); closureEnv.setParameter(true); } } else { LambdaExp caller = getInlineOnly() ? getCaller() : null; if (parent == caller) closureEnv = parentFrame; else if (caller != null && parent == caller.outerLambdaNotInline()) closureEnv = caller.closureEnv; else { closureEnv = new Variable("closureEnv", parentFrame.getType()); scope.addVariable(closureEnv); closureEnv.setArtificial(true); } } } return closureEnv; }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/150b0209e204b96c5ff5d2a060d276895d3f1d76/LambdaExp.java/clean/gnu/expr/LambdaExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7110, 14196, 10573, 3491, 1435, 225, 288, 565, 309, 261, 20823, 3491, 422, 446, 597, 336, 26419, 10573, 3491, 10756, 1377, 288, 202, 12025, 2966, 982, 273, 6390, 12025, 5621, 202, 430, 261, 2938, 1276, 1659, 2966, 13, 202, 225, 982, 273, 982, 18, 14068, 12025, 5621, 202, 3092, 982, 3219, 273, 982, 18, 25506, 3219, 480, 446, 692, 225, 982, 18, 25506, 3219, 202, 225, 294, 982, 18, 20823, 3491, 31, 202, 430, 261, 291, 797, 1305, 10756, 202, 225, 7213, 3491, 273, 14196, 2503, 12, 723, 1769, 202, 12107, 309, 261, 2938, 18, 25506, 3219, 422, 446, 597, 401, 982, 18, 588, 26419, 5788, 2098, 1435, 1082, 597, 401, 261, 2938, 1276, 5924, 2966, 3719, 202, 225, 7213, 3491, 273, 446, 31, 202, 12107, 309, 16051, 25975, 7823, 1435, 597, 401, 7854, 1369, 3386, 10756, 202, 225, 288, 202, 565, 2985, 15610, 1305, 273, 15011, 1305, 5621, 202, 565, 309, 16051, 15610, 1305, 18, 588, 5788, 4678, 10756, 202, 1377, 7213, 3491, 273, 14196, 2503, 12, 30438, 1305, 18, 588, 3456, 14682, 10663, 202, 565, 469, 202, 1377, 288, 202, 202, 559, 1550, 559, 273, 15610, 1305, 18, 588, 1662, 2016, 1435, 63, 20, 15533, 202, 202, 20823, 3491, 273, 394, 7110, 2932, 20823, 3491, 3113, 1550, 559, 1769, 202, 202, 4887, 18, 1289, 3092, 4436, 12, 2011, 16, 7213, 3491, 1769, 202, 202, 20823, 3491, 18, 542, 4411, 1507, 649, 12, 3767, 1769, 202, 202, 20823, 3491, 18, 542, 1662, 12, 3767, 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, 7110, 14196, 10573, 3491, 1435, 225, 288, 565, 309, 261, 20823, 3491, 422, 446, 597, 336, 26419, 10573, 3491, 10756, 1377, 288, 202, 12025, 2966, 982, 273, 6390, 12025, 5621, 202, 430, 261, 2938, 1276, 1659, 2966, 13, 202, 225, 982, 273, 982, 18, 14068, 12025, 5621, 202, 3092, 982, 3219, 273, 982, 18, 25506, 3219, 480, 446, 692, 225, 982, 18, 25506, 3219, 202, 225, 294, 982, 18, 20823, 3491, 31, 202, 430, 261, 291, 797, 1305, 10756, 202, 225, 7213, 3491, 273, 14196, 2503, 12, 723, 1769, 202, 12107, 309, 261, 2938, 18, 25506, 3219, 422, 446, 597, 401, 982, 18, 588, 26419, 5788, 2098, 1435, 1082, 597, 401, 261, 2938, 1276, 5924, 2966, 3719, 2 ]
AST __t372 = _t; AST tmp958_AST_in = (AST)_t;
AST __t357 = _t; AST tmp962_AST_in = (AST)_t;
public final void definebrowsestate(AST _t) throws RecognitionException { AST definebrowsestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST def = null; AST id = null; AST fi1 = null; AST fi2 = null; AST __t355 = _t; def = _t==ASTNULL ? null :(AST)_t; match(_t,DEFINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: case SHARED: { def_shared(_t); _t = _retTree; break; } case BROWSE: case PRIVATE: case PUBLIC: case PROTECTED: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVATE: case PUBLIC: case PROTECTED: { def_visib(_t); _t = _retTree; break; } case BROWSE: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp953_AST_in = (AST)_t; match(_t,BROWSE); _t = _t.getNextSibling(); id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { push(action.defineBrowse(def, id)); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QUERY: { AST __t359 = _t; AST tmp954_AST_in = (AST)_t; match(_t,QUERY); _t = _t.getFirstChild(); AST tmp955_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); _t = __t359; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case CONTEXTHELPID: case DISPLAY: case EXCLUSIVELOCK: case NOLOCK: case NOWAIT: case SHARELOCK: case TOOLTIP: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { _loop361: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCLUSIVELOCK: case NOLOCK: case SHARELOCK: { lockhow(_t); _t = _retTree; break; } case NOWAIT: { AST tmp956_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } default: { break _loop361; } } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DISPLAY: { AST __t363 = _t; AST tmp957_AST_in = (AST)_t; match(_t,DISPLAY); _t = _t.getFirstChild(); { _loop370: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { AST __t365 = _t; fi1 = _t==ASTNULL ? null :(AST)_t; match(_t,Form_item); _t = _t.getFirstChild(); { boolean synPredMatched368 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==RECORD_NAME))) { AST __t368 = _t; synPredMatched368 = true; inputState.guessing++; try { { tbl(_t,CQ.INIT); _t = _retTree; } } catch (RecognitionException pe) { synPredMatched368 = false; } _t = __t368;inputState.guessing--; } if ( synPredMatched368 ) { tbl(_t,CQ.INIT); _t = _retTree; } else if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { columnformat(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } } else if ((_t.getType()==SPACE)) { spacephrase(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } if ( inputState.guessing==0 ) { action.formItem(fi1); } _t = __t365; _t = _t.getNextSibling(); } else { break _loop370; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t372 = _t; AST tmp958_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop374: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { fld1(_t,CQ.SYMBOL); _t = _retTree; } else { break _loop374; } } while (true); } _t = __t372; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t363; _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ENABLE: { AST __t376 = _t; AST tmp959_AST_in = (AST)_t; match(_t,ENABLE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALL: { AST __t378 = _t; AST tmp960_AST_in = (AST)_t; match(_t,ALL); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t380 = _t; AST tmp961_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop382: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { fld(_t,CQ.SYMBOL); _t = _retTree; } else { break _loop382; } } while (true); } _t = __t380; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t378; _t = _t.getNextSibling(); break; } case 3: case Form_item: { { _loop389: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { AST __t384 = _t; fi2 = _t==ASTNULL ? null :(AST)_t; match(_t,Form_item); _t = _t.getFirstChild(); fld(_t,CQ.SYMBOL); _t = _retTree; if ( inputState.guessing==0 ) { action.formItem(fi2); } { _loop388: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case HELP: { AST __t386 = _t; AST tmp962_AST_in = (AST)_t; match(_t,HELP); _t = _t.getFirstChild(); constant(_t); _t = _retTree; _t = __t386; _t = _t.getNextSibling(); break; } case VALIDATE: { AST __t387 = _t; AST tmp963_AST_in = (AST)_t; match(_t,VALIDATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t387; _t = _t.getNextSibling(); break; } case AUTORETURN: { AST tmp964_AST_in = (AST)_t; match(_t,AUTORETURN); _t = _t.getNextSibling(); break; } case DISABLEAUTOZAP: { AST tmp965_AST_in = (AST)_t; match(_t,DISABLEAUTOZAP); _t = _t.getNextSibling(); break; } default: { break _loop388; } } } while (true); } _t = __t384; _t = _t.getNextSibling(); } else { break _loop389; } } while (true); } break; } default: { throw new NoViableAltException(_t); } } } _t = __t376; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case CONTEXTHELPID: case TOOLTIP: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } break; } case EOF: case PERIOD: case CONTEXTHELPID: case TOOLTIP: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { _loop391: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==WITH)) { display_with(_t); _t = _retTree; } else { break _loop391; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TOOLTIP: { tooltip_expr(_t); _t = _retTree; break; } case EOF: case PERIOD: case CONTEXTHELPID: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CONTEXTHELPID: { AST __t394 = _t; AST tmp966_AST_in = (AST)_t; match(_t,CONTEXTHELPID); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t394; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; if ( inputState.guessing==0 ) { action.addToSymbolScope(pop()); } _t = __t355; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4426, 70, 3870, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 70, 3870, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 202, 202, 9053, 7314, 21, 273, 446, 31, 202, 202, 9053, 7314, 22, 273, 446, 31, 9506, 202, 9053, 1001, 88, 23, 2539, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 12887, 30, 202, 202, 3593, 9777, 5879, 30, 202, 202, 95, 1082, 202, 536, 67, 11574, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 605, 11226, 1090, 30, 202, 202, 3593, 23685, 30, 202, 202, 3593, 17187, 30, 202, 202, 3593, 4629, 26729, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4426, 70, 3870, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 70, 3870, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 202, 202, 9053, 7314, 21, 273, 446, 31, 202, 202, 9053, 7314, 22, 273, 446, 31, 9506, 202, 9053, 1001, 88, 23, 2539, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 2 ]
private static IAsmSourceLine[] createSourceLines( IAddressFactory factory, ISourceLocator locator, ICDIMixedInstruction[] mi ) {
private void createSourceLines( IAddressFactory factory, ISourceLocator locator, ICDIMixedInstruction[] mi ) {
private static IAsmSourceLine[] createSourceLines( IAddressFactory factory, ISourceLocator locator, ICDIMixedInstruction[] mi ) { IAsmSourceLine[] result = new IAsmSourceLine[mi.length]; LineNumberReader reader = null; if ( result.length > 0 && locator != null ) { String fileName = mi[0].getFileName(); Object element = null; if ( locator instanceof ISourceLookupDirector ) { element = ((ISourceLookupDirector)locator).getSourceElement( fileName ); } if ( locator instanceof ICSourceLocator ) { element = ((ICSourceLocator)locator).findSourceElement( fileName ); } File file= null; if ( element instanceof IFile ) { file = ((IFile)element).getLocation().toFile(); } else if ( element instanceof IStorage ) { file = ((IStorage)element).getFullPath().toFile(); } if ( file != null ) { try { reader = new LineNumberReader( new FileReader( file ) ); } catch( FileNotFoundException e ) { } } } for ( int i = 0; i < result.length; ++i ) { String text = null; if ( reader != null ) { int lineNumber = mi[i].getLineNumber(); while( reader.getLineNumber() + 1 < lineNumber ) { try { reader.readLine(); } catch( IOException e ) { } } if ( reader.getLineNumber() + 1 == lineNumber ) { try { text = reader.readLine() + '\n'; } catch( IOException e ) { } } } result[i] = new AsmSourceLine( factory, text, mi[i].getInstructions() ); } return result; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/288e94d28e58e9e919cb33249e4690e266ea40bd/DisassemblyBlock.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/DisassemblyBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 467, 1463, 81, 1830, 1670, 8526, 752, 1830, 5763, 12, 467, 1887, 1733, 3272, 16, 467, 1830, 5786, 8871, 16, 26899, 2565, 19846, 11983, 8526, 12837, 262, 288, 202, 202, 45, 1463, 81, 1830, 1670, 8526, 563, 273, 394, 467, 1463, 81, 1830, 1670, 63, 9197, 18, 2469, 15533, 202, 202, 31063, 2514, 2949, 273, 446, 31, 202, 202, 430, 261, 563, 18, 2469, 405, 374, 597, 8871, 480, 446, 262, 288, 1082, 202, 780, 3968, 273, 12837, 63, 20, 8009, 588, 4771, 5621, 1082, 202, 921, 930, 273, 446, 31, 1082, 202, 430, 261, 8871, 1276, 467, 1830, 6609, 28280, 262, 288, 9506, 202, 2956, 273, 14015, 45, 1830, 6609, 28280, 13, 20048, 2934, 588, 1830, 1046, 12, 3968, 11272, 1082, 202, 97, 1082, 202, 430, 261, 8871, 1276, 26899, 1830, 5786, 262, 288, 9506, 202, 2956, 273, 14015, 2871, 1830, 5786, 13, 20048, 2934, 4720, 1830, 1046, 12, 3968, 11272, 1082, 202, 97, 1082, 202, 812, 585, 33, 446, 31, 1082, 202, 430, 261, 930, 1276, 467, 812, 262, 288, 9506, 202, 768, 273, 14015, 45, 812, 13, 2956, 2934, 588, 2735, 7675, 869, 812, 5621, 1082, 202, 97, 1082, 202, 12107, 309, 261, 930, 1276, 467, 3245, 262, 288, 9506, 202, 768, 273, 14015, 45, 3245, 13, 2956, 2934, 588, 24173, 7675, 869, 812, 5621, 1082, 202, 97, 1082, 202, 430, 261, 585, 480, 446, 262, 288, 9506, 202, 698, 288, 6862, 202, 10530, 273, 394, 5377, 1854, 2514, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 467, 1463, 81, 1830, 1670, 8526, 752, 1830, 5763, 12, 467, 1887, 1733, 3272, 16, 467, 1830, 5786, 8871, 16, 26899, 2565, 19846, 11983, 8526, 12837, 262, 288, 202, 202, 45, 1463, 81, 1830, 1670, 8526, 563, 273, 394, 467, 1463, 81, 1830, 1670, 63, 9197, 18, 2469, 15533, 202, 202, 31063, 2514, 2949, 273, 446, 31, 202, 202, 430, 261, 563, 18, 2469, 405, 374, 597, 8871, 480, 446, 262, 288, 1082, 202, 780, 3968, 273, 12837, 63, 20, 8009, 588, 4771, 5621, 1082, 202, 921, 930, 273, 446, 31, 1082, 202, 430, 261, 8871, 1276, 467, 1830, 6609, 28280, 262, 288, 9506, 202, 2956, 273, 14015, 45, 1830, 6609, 28280, 13, 20048, 2934, 2 ]
public org.quickfix.field.UnderlyingFactor getUnderlyingFactor() throws FieldNotFound { org.quickfix.field.UnderlyingFactor value = new org.quickfix.field.UnderlyingFactor();
public quickfix.field.UnderlyingFactor getUnderlyingFactor() throws FieldNotFound { quickfix.field.UnderlyingFactor value = new quickfix.field.UnderlyingFactor();
public org.quickfix.field.UnderlyingFactor getUnderlyingFactor() throws FieldNotFound { org.quickfix.field.UnderlyingFactor value = new org.quickfix.field.UnderlyingFactor(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/AllocationInstruction.java/buggy/src/java/src/quickfix/fix44/AllocationInstruction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 10833, 765, 6291, 6837, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 10833, 765, 6291, 6837, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 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 ]
Context cx = Context.enter(); errorReporter = new ToolErrorReporter(false, err); cx.setErrorReporter(errorReporter); global = new Global(); args = processOptions(cx, args); Object[] array = args; if (args.length > 0) { int length = args.length - 1; array = new Object[length]; System.arraycopy(args, 1, array, 0, length); } Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); Environment.defineClass(global); Environment environment = new Environment(global); global.defineProperty("environment", environment, ScriptableObject.DONTENUM); global.history = (NativeArray) cx.newArray(global, 0); global.defineProperty("history", global.history, ScriptableObject.DONTENUM); /* TODO: enable debugger if (global.debug) { global.debug_dm = new DebugManager(); global.debug_stm = new SourceTextManagerImpl(); global.debug_dm.setSourceTextManager(global.debug_stm); cx.setSourceTextManager(global.debug_stm); global.debug_dm.createdContext(cx); if (global.showDebuggerUI) { out.println("Launching JSDebugger..."); try { Class clazz = Class.forName( "org.mozilla.jsdebugging.ifcui.launcher.rhino.LaunchNetscapeJavaScriptDebugger"); ILaunchableDebugger debugger = (ILaunchableDebugger) clazz.newInstance(); debugger.launch(global.debug_dm, global.debug_stm, false); } catch (Exception e) { out.println(e); out.println("Failed to launch the JSDebugger"); } } out.println("Debug level set to "+cx.getDebugLevel()); } */ if (global.processStdin) processSource(cx, args.length == 0 ? null : args[0]); cx.exit(); System.exit(global.exitCode);
int result = exec(args); System.exit(result);
public static void main(String args[]) { Context cx = Context.enter(); errorReporter = new ToolErrorReporter(false, err); cx.setErrorReporter(errorReporter); // Create the "global" object where top-level variables will live. global = new Global(); args = processOptions(cx, args); // Set up "arguments" in the global scope to contain the command // line arguments after the name of the script to execute Object[] array = args; if (args.length > 0) { int length = args.length - 1; array = new Object[length]; System.arraycopy(args, 1, array, 0, length); } Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); // Set up "environment" in the global scope to provide access to the // System environment variables. Environment.defineClass(global); Environment environment = new Environment(global); global.defineProperty("environment", environment, ScriptableObject.DONTENUM); global.history = (NativeArray) cx.newArray(global, 0); global.defineProperty("history", global.history, ScriptableObject.DONTENUM); /* TODO: enable debugger if (global.debug) { global.debug_dm = new DebugManager(); global.debug_stm = new SourceTextManagerImpl(); global.debug_dm.setSourceTextManager(global.debug_stm); cx.setSourceTextManager(global.debug_stm); global.debug_dm.createdContext(cx); if (global.showDebuggerUI) { out.println("Launching JSDebugger..."); try { Class clazz = Class.forName( "org.mozilla.jsdebugging.ifcui.launcher.rhino.LaunchNetscapeJavaScriptDebugger"); ILaunchableDebugger debugger = (ILaunchableDebugger) clazz.newInstance(); debugger.launch(global.debug_dm, global.debug_stm, false); } catch (Exception e) { // eat it... out.println(e); out.println("Failed to launch the JSDebugger"); } } out.println("Debug level set to "+cx.getDebugLevel()); } */ if (global.processStdin) processSource(cx, args.length == 0 ? null : args[0]); cx.exit(); System.exit(global.exitCode); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/913e66ba3cba216a4eaf9778710a58738f9afd42/Main.java/buggy/js/rhino/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 393, 1769, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 368, 1788, 326, 315, 6347, 6, 733, 1625, 1760, 17, 2815, 3152, 903, 8429, 18, 3639, 2552, 273, 394, 8510, 5621, 3639, 833, 273, 1207, 1320, 12, 71, 92, 16, 833, 1769, 3639, 368, 1000, 731, 315, 7099, 6, 316, 326, 2552, 2146, 358, 912, 326, 1296, 3639, 368, 980, 1775, 1839, 326, 508, 434, 326, 2728, 358, 1836, 3639, 1033, 8526, 526, 273, 833, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 509, 769, 273, 833, 18, 2469, 300, 404, 31, 5411, 526, 273, 394, 1033, 63, 2469, 15533, 5411, 2332, 18, 1126, 3530, 12, 1968, 16, 404, 16, 526, 16, 374, 16, 769, 1769, 3639, 289, 3639, 22780, 833, 2675, 273, 9494, 18, 2704, 1076, 12, 6347, 16, 526, 1769, 3639, 2552, 18, 11255, 1396, 2932, 7099, 3113, 833, 2675, 16, 17311, 22780, 921, 18, 40, 10079, 16509, 1769, 7734, 368, 1000, 731, 315, 10274, 6, 316, 326, 2552, 2146, 358, 5615, 2006, 358, 326, 3639, 368, 2332, 3330, 3152, 18, 3639, 7518, 18, 11255, 797, 12, 6347, 1769, 3639, 7518, 3330, 273, 394, 7518, 12, 6347, 1769, 3639, 2552, 18, 11255, 1396, 2932, 10274, 3113, 3330, 16, 17311, 22780, 921, 18, 40, 10079, 16509, 1769, 7734, 2552, 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, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 393, 1769, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 368, 1788, 326, 315, 6347, 6, 733, 1625, 1760, 17, 2815, 3152, 903, 8429, 18, 3639, 2552, 273, 394, 8510, 5621, 3639, 833, 273, 1207, 1320, 12, 71, 92, 16, 833, 1769, 3639, 368, 1000, 731, 315, 7099, 6, 316, 326, 2552, 2146, 358, 912, 326, 1296, 3639, 368, 980, 1775, 1839, 326, 508, 434, 326, 2728, 358, 1836, 3639, 1033, 8526, 526, 273, 833, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 2 ]
if (jj_scan_token(SEMICOLON)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
final private boolean jj_3R_185() { if (jj_3R_215()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(SEMICOLON)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/050f1d327a4f37a9453fd61c6eb891b6097d82f6/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 30489, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 22, 3600, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 1090, 22972, 1741, 673, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 30489, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 22, 3600, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 1090, 22972, 1741, 673, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
FigActionState figactionstate = new FigActionState();
FigActionState figactionstate = new FigActionState();
public void testAssignIDsToObjects() { MClass testmc = CoreFactory.getFactory().buildClass(); UMLActivityDiagram actdiag = new UMLActivityDiagram(); UMLClassDiagram classdiag = new UMLClassDiagram(); UMLCollaborationDiagram colldiag = new UMLCollaborationDiagram(); UMLDeploymentDiagram depdiag = new UMLDeploymentDiagram(); UMLSequenceDiagram seqdiag = new UMLSequenceDiagram(); UMLStateDiagram statediag = new UMLStateDiagram(); UMLUseCaseDiagram ucdiag = new UMLUseCaseDiagram(); FigActionState figactionstate = new FigActionState(); // FigAssociationRole figassociationrole = new FigAssociationRole(); FigClassifierRole figclassifierrole = new FigClassifierRole(); FigComponent figcomponent = new FigComponent(); FigComponentInstance figcomponentinstance = new FigComponentInstance(); FigMNode figmnode = new FigMNode(); FigMNodeInstance figmnodeinstance = new FigMNodeInstance(); FigObject figobject = new FigObject(); FigSeqLink figseqlink = new FigSeqLink(); FigSeqObject figseqobject = new FigSeqObject(); FigSeqStimulus figseqstimulus = new FigSeqStimulus(); FigBranchState figbranchstate = new FigBranchState(); FigCompositeState figcompositestate = new FigCompositeState(); FigDeepHistoryState figdeephistorystate = new FigDeepHistoryState(); FigFinalState figfinalstate = new FigFinalState(); FigForkState figforkstate = new FigForkState(); FigHistoryState fighistorystate = new FigHistoryState(); FigInitialState figinitialstate = new FigInitialState(); FigJoinState figjoinstate = new FigJoinState(); FigShallowHistoryState figshallowhistorystate = new FigShallowHistoryState(); //FigState figstate = new FigState(); FigTransition figtransition = new FigTransition(); FigClass figclass = new FigClass(); FigEdgeNote figedgenote = new FigEdgeNote(); FigInstance figinstance = new FigInstance(); FigInterface figinterface = new FigInterface(); FigLink figlink = new FigLink(); FigPackage figpackage = new FigPackage(); FigActor figactor = new FigActor(); FigExtend figextend = new FigExtend(); FigInclude figinclude = new FigInclude(); FigUseCase figusecase = new FigUseCase(); checkAssignIDToObject(testmc, true, true); checkAssignIDToObject(actdiag, true, true); checkAssignIDToObject(classdiag, true, true); checkAssignIDToObject(colldiag, true, true); checkAssignIDToObject(depdiag, true, true); checkAssignIDToObject(seqdiag, true, true); checkAssignIDToObject(statediag, true, true); checkAssignIDToObject(ucdiag, true, true); checkAssignIDToObject(figactionstate, true, true); //checkAssignIDToObject(figassociationrole, true, true); checkAssignIDToObject(figclassifierrole, true, true); checkAssignIDToObject(figcomponent, true, true); checkAssignIDToObject(figcomponentinstance, true, true); checkAssignIDToObject(figmnode, true, true); checkAssignIDToObject(figmnodeinstance, true, true); checkAssignIDToObject(figobject, true, true); checkAssignIDToObject(figseqlink, true, true); checkAssignIDToObject(figseqobject, true, true); checkAssignIDToObject(figseqstimulus, true, true); checkAssignIDToObject(figbranchstate, true, true); checkAssignIDToObject(figcompositestate, true, true); checkAssignIDToObject(figdeephistorystate, true, true); checkAssignIDToObject(figfinalstate, true, true); checkAssignIDToObject(figforkstate, true, true); checkAssignIDToObject(fighistorystate, true, true); checkAssignIDToObject(figinitialstate, true, true); checkAssignIDToObject(figjoinstate, true, true); checkAssignIDToObject(figshallowhistorystate, true, true); //checkAssignIDToObject(figstate, true, true); checkAssignIDToObject(figtransition, true, true); checkAssignIDToObject(figclass, true, true); checkAssignIDToObject(figedgenote, true, true); checkAssignIDToObject(figinstance, true, true); checkAssignIDToObject(figinterface, true, true); checkAssignIDToObject(figlink, true, true); checkAssignIDToObject(figpackage, true, true); checkAssignIDToObject(figactor, true, true); checkAssignIDToObject(figextend, true, true); checkAssignIDToObject(figinclude, true, true); checkAssignIDToObject(figusecase, true, true); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/5f6191c876d7ba33373fe98de4e3c7d94a09c303/TestItemUID.java/buggy/tests/org/argouml/cognitive/TestItemUID.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4910, 5103, 774, 4710, 1435, 288, 202, 202, 49, 797, 1842, 13952, 273, 4586, 1733, 18, 588, 1733, 7675, 3510, 797, 5621, 202, 202, 57, 1495, 6193, 14058, 1940, 1328, 12264, 273, 394, 587, 1495, 6193, 14058, 1940, 5621, 202, 202, 57, 1495, 797, 14058, 1940, 667, 12264, 273, 394, 587, 1495, 797, 14058, 1940, 5621, 202, 202, 57, 1495, 22894, 22226, 14058, 1940, 645, 1236, 8852, 273, 394, 587, 1495, 22894, 22226, 14058, 1940, 5621, 202, 202, 57, 1495, 6733, 14058, 1940, 5993, 12264, 273, 394, 587, 1495, 6733, 14058, 1940, 5621, 202, 202, 57, 1495, 4021, 14058, 1940, 3833, 12264, 273, 394, 587, 1495, 4021, 14058, 1940, 5621, 202, 202, 57, 1495, 1119, 14058, 1940, 28936, 8852, 273, 394, 587, 1495, 1119, 14058, 1940, 5621, 202, 202, 57, 1495, 3727, 2449, 14058, 1940, 6232, 12264, 273, 394, 587, 1495, 3727, 2449, 14058, 1940, 5621, 202, 202, 42, 360, 1803, 1119, 4291, 1128, 2019, 273, 394, 478, 360, 1803, 1119, 5621, 202, 202, 759, 202, 202, 42, 360, 7174, 2996, 4291, 19358, 4615, 273, 394, 478, 360, 7174, 2996, 5621, 202, 202, 42, 360, 13860, 2996, 4291, 1106, 1251, 4615, 273, 394, 478, 360, 13860, 2996, 5621, 202, 202, 42, 360, 1841, 4291, 4652, 273, 394, 478, 360, 1841, 5621, 202, 202, 42, 360, 1841, 1442, 4291, 4652, 1336, 273, 394, 478, 360, 1841, 1442, 5621, 202, 202, 42, 360, 49, 907, 4291, 81, 2159, 273, 394, 478, 360, 49, 907, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4910, 5103, 774, 4710, 1435, 288, 202, 202, 49, 797, 1842, 13952, 273, 4586, 1733, 18, 588, 1733, 7675, 3510, 797, 5621, 202, 202, 57, 1495, 6193, 14058, 1940, 1328, 12264, 273, 394, 587, 1495, 6193, 14058, 1940, 5621, 202, 202, 57, 1495, 797, 14058, 1940, 667, 12264, 273, 394, 587, 1495, 797, 14058, 1940, 5621, 202, 202, 57, 1495, 22894, 22226, 14058, 1940, 645, 1236, 8852, 273, 394, 587, 1495, 22894, 22226, 14058, 1940, 5621, 202, 202, 57, 1495, 6733, 14058, 1940, 5993, 12264, 273, 394, 587, 1495, 6733, 14058, 1940, 5621, 202, 202, 57, 1495, 4021, 14058, 1940, 3833, 12264, 273, 394, 587, 1495, 4021, 14058, 1940, 5621, 202, 202, 57, 1495, 2 ]
Vector conList = m_conList;
Vector conList = this.conList;
public void timerTask() { // get all connections ArrayList inactiveCons = new ArrayList(); long currTime = System.currentTimeMillis(); Vector conList = m_conList; if(conList == null) { return; } // get inactive client connection list synchronized(conList) { long idleTimeMillis = m_defaultIdleSec*1000L; for( int i = conList.size(); --i>=0; ) { IConnection con = (IConnection)conList.get(i); if(con == null) { continue; } // idle client connection FtpRequestImpl request = (FtpRequestImpl)con.getRequest(); if(request == null) { continue; } if(request.isTimeout(currTime)) { inactiveCons.add(con); } // idle data connection FtpDataConnection dataCon = request.getFtpDataConnection(); if(dataCon == null) { continue; } synchronized(dataCon) { // data transfer is going on - no need to close if(dataCon.isActive()) { continue; } // data connection is already closed long requestTime = dataCon.getRequestTime(); if(requestTime == 0L) { continue; } // idle data connectin timeout - close it if( (currTime - requestTime) > idleTimeMillis ) { m_log.info("Removing idle data connection for " + request.getUser()); dataCon.closeDataSocket(); } } } } // close idle client connections for( Iterator conIt=inactiveCons.iterator(); conIt.hasNext(); ) { IConnection connection = (IConnection)conIt.next(); if(connection == null) { continue; } FtpRequest request = connection.getRequest(); if(request == null) { continue; } m_log.info("Removing idle user " + request.getUser()); closeConnection(connection); } }
48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/f8bdbb2dab0d67be139dd05d6110e466306c8868/ConnectionManagerImpl.java/buggy/src/java/org/apache/ftpserver/ConnectionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5441, 2174, 1435, 288, 5411, 368, 336, 777, 5921, 3639, 2407, 16838, 9054, 273, 394, 2407, 5621, 3639, 1525, 4306, 950, 273, 2332, 18, 2972, 28512, 5621, 3639, 5589, 356, 682, 273, 333, 18, 591, 682, 31, 3639, 309, 12, 591, 682, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 7734, 368, 336, 16838, 1004, 1459, 666, 540, 3852, 12, 591, 682, 13, 288, 5411, 1525, 12088, 28512, 273, 312, 67, 1886, 13834, 2194, 14, 18088, 48, 31, 5411, 364, 12, 509, 277, 273, 356, 682, 18, 1467, 5621, 1493, 77, 34, 33, 20, 31, 262, 288, 7734, 467, 1952, 356, 273, 261, 45, 1952, 13, 591, 682, 18, 588, 12, 77, 1769, 7734, 309, 12, 591, 422, 446, 13, 288, 10792, 1324, 31, 7734, 289, 4766, 565, 368, 12088, 1004, 1459, 7734, 478, 6834, 691, 2828, 590, 273, 261, 42, 6834, 691, 2828, 13, 591, 18, 588, 691, 5621, 7734, 309, 12, 2293, 422, 446, 13, 288, 10792, 1324, 31, 7734, 289, 7734, 309, 12, 2293, 18, 291, 2694, 12, 17016, 950, 3719, 288, 10792, 16838, 9054, 18, 1289, 12, 591, 1769, 7734, 289, 27573, 368, 12088, 501, 1459, 7734, 478, 6834, 751, 1952, 501, 442, 273, 590, 18, 588, 42, 6834, 751, 1952, 5621, 7734, 309, 12, 892, 442, 422, 446, 13, 288, 10792, 1324, 31, 7734, 289, 7734, 3852, 12, 892, 442, 13, 288, 4766, 3639, 368, 501, 7412, 353, 8554, 603, 300, 1158, 1608, 358, 1746, 10792, 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, 377, 1071, 918, 5441, 2174, 1435, 288, 5411, 368, 336, 777, 5921, 3639, 2407, 16838, 9054, 273, 394, 2407, 5621, 3639, 1525, 4306, 950, 273, 2332, 18, 2972, 28512, 5621, 3639, 5589, 356, 682, 273, 333, 18, 591, 682, 31, 3639, 309, 12, 591, 682, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 7734, 368, 336, 16838, 1004, 1459, 666, 540, 3852, 12, 591, 682, 13, 288, 5411, 1525, 12088, 28512, 273, 312, 67, 1886, 13834, 2194, 14, 18088, 48, 31, 5411, 364, 12, 509, 277, 273, 356, 682, 18, 1467, 5621, 1493, 77, 34, 33, 20, 31, 262, 288, 7734, 467, 1952, 356, 273, 261, 45, 1952, 13, 591, 682, 18, 588, 12, 77, 1769, 7734, 309, 2 ]
long[][] array1 = new long[][] {{2,5}, {4,5}}; long[][] array2 = new long[][] {{2,5}, {4,6}}; assertEquals(true, ArrayUtils.isEquals(array1, array1)); assertEquals(false, ArrayUtils.isEquals(array1, array2)); Object[] array3 = new Object[] {new String(new char[] {'A', 'B'})}; Object[] array4 = new Object[] {"AB"};
long[][] larray1 = new long[][]{{2, 5}, {4, 5}}; long[][] larray2 = new long[][]{{2, 5}, {4, 6}}; long[] larray3 = new long[]{2, 5}; this.assertIsEquals(larray1, larray2, larray3); int[][] iarray1 = new int[][]{{2, 5}, {4, 5}}; int[][] iarray2 = new int[][]{{2, 5}, {4, 6}}; int[] iarray3 = new int[]{2, 5}; this.assertIsEquals(iarray1, iarray2, iarray3); short[][] sarray1 = new short[][]{{2, 5}, {4, 5}}; short[][] sarray2 = new short[][]{{2, 5}, {4, 6}}; short[] sarray3 = new short[]{2, 5}; this.assertIsEquals(sarray1, sarray2, sarray3); float[][] farray1 = new float[][]{{2, 5}, {4, 5}}; float[][] farray2 = new float[][]{{2, 5}, {4, 6}}; float[] farray3 = new float[]{2, 5}; this.assertIsEquals(farray1, farray2, farray3); double[][] darray1 = new double[][]{{2, 5}, {4, 5}}; double[][] darray2 = new double[][]{{2, 5}, {4, 6}}; double[] darray3 = new double[]{2, 5}; this.assertIsEquals(darray1, darray2, darray3); byte[][] byteArray1 = new byte[][]{{2, 5}, {4, 5}}; byte[][] byteArray2 = new byte[][]{{2, 5}, {4, 6}}; byte[] byteArray3 = new byte[]{2, 5}; this.assertIsEquals(byteArray1, byteArray2, byteArray3); char[][] charArray1 = new char[][]{{2, 5}, {4, 5}}; char[][] charArray2 = new char[][]{{2, 5}, {4, 6}}; char[] charArray3 = new char[]{2, 5}; this.assertIsEquals(charArray1, charArray2, charArray3); boolean[][] barray1 = new boolean[][]{{true, false}, {true, true}}; boolean[][] barray2 = new boolean[][]{{true, false}, {true, false}}; boolean[] barray3 = new boolean[]{false, true}; this.assertIsEquals(barray1, barray2, barray3); Object[] array3 = new Object[]{new String(new char[]{'A', 'B'})}; Object[] array4 = new Object[]{"AB"};
public void testIsEquals() { long[][] array1 = new long[][] {{2,5}, {4,5}}; long[][] array2 = new long[][] {{2,5}, {4,6}}; assertEquals(true, ArrayUtils.isEquals(array1, array1)); assertEquals(false, ArrayUtils.isEquals(array1, array2)); Object[] array3 = new Object[] {new String(new char[] {'A', 'B'})}; Object[] array4 = new Object[] {"AB"}; assertEquals(true, ArrayUtils.isEquals(array3, array3)); assertEquals(true, ArrayUtils.isEquals(array3, array4)); assertEquals(true, ArrayUtils.isEquals(null, null)); assertEquals(false, ArrayUtils.isEquals(null, array4)); }
7060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7060/ccf4e93bb7f7699d4a87db07a9822c05031af73e/ArrayUtilsTest.java/buggy/src/test/org/apache/commons/lang/ArrayUtilsTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2520, 8867, 1435, 288, 3639, 1525, 63, 6362, 65, 526, 21, 273, 394, 1525, 63, 6362, 65, 10179, 22, 16, 25, 5779, 288, 24, 16, 25, 9090, 31, 3639, 1525, 63, 6362, 65, 526, 22, 273, 394, 1525, 63, 6362, 65, 10179, 22, 16, 25, 5779, 288, 24, 16, 26, 9090, 31, 3639, 1815, 8867, 12, 3767, 16, 20548, 18, 291, 8867, 12, 1126, 21, 16, 526, 21, 10019, 3639, 1815, 8867, 12, 5743, 16, 20548, 18, 291, 8867, 12, 1126, 21, 16, 526, 22, 10019, 7734, 1033, 8526, 526, 23, 273, 394, 1033, 8526, 288, 2704, 514, 12, 2704, 1149, 8526, 13666, 37, 2187, 296, 38, 11, 6792, 20451, 3639, 1033, 8526, 526, 24, 273, 394, 1033, 8526, 12528, 2090, 6, 20451, 3639, 1815, 8867, 12, 3767, 16, 20548, 18, 291, 8867, 12, 1126, 23, 16, 526, 23, 10019, 3639, 1815, 8867, 12, 3767, 16, 20548, 18, 291, 8867, 12, 1126, 23, 16, 526, 24, 10019, 3639, 1815, 8867, 12, 3767, 16, 20548, 18, 291, 8867, 12, 2011, 16, 446, 10019, 3639, 1815, 8867, 12, 5743, 16, 20548, 18, 291, 8867, 12, 2011, 16, 526, 24, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2520, 8867, 1435, 288, 3639, 1525, 63, 6362, 65, 526, 21, 273, 394, 1525, 63, 6362, 65, 10179, 22, 16, 25, 5779, 288, 24, 16, 25, 9090, 31, 3639, 1525, 63, 6362, 65, 526, 22, 273, 394, 1525, 63, 6362, 65, 10179, 22, 16, 25, 5779, 288, 24, 16, 26, 9090, 31, 3639, 1815, 8867, 12, 3767, 16, 20548, 18, 291, 8867, 12, 1126, 21, 16, 526, 21, 10019, 3639, 1815, 8867, 12, 5743, 16, 20548, 18, 291, 8867, 12, 1126, 21, 16, 526, 22, 10019, 7734, 1033, 8526, 526, 23, 273, 394, 1033, 8526, 288, 2704, 514, 12, 2704, 1149, 8526, 13666, 37, 2187, 296, 38, 11, 6792, 20451, 3639, 1033, 8526, 526, 24, 2 ]
int n = idata.availablePacks.indexOf(packs.get(i));
int n = idata.allPacks.indexOf(packs.get(i));
public void run() { instances.add(this); try { listener.startUnpack(); String currentOs = System.getProperty("os.name").toLowerCase(); // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); List packs = idata.selectedPacks; int npacks = packs.size(); udata = UninstallData.getInstance(); // Specific to the web installers if (idata.kind.equalsIgnoreCase("web") || idata.kind.equalsIgnoreCase("web-kunststoff")) { InputStream kin = getClass().getResourceAsStream("/res/WebInstallers.url"); BufferedReader kreader = new BufferedReader(new InputStreamReader(kin)); jarLocation = kreader.readLine(); } // We unpack the selected packs for (int i = 0; i < npacks; i++) { // We get the pack stream int n = idata.availablePacks.indexOf(packs.get(i)); ObjectInputStream objIn = new ObjectInputStream(getPackAsStream(n)); // We unpack the files int nfiles = objIn.readInt(); listener.changeUnpack(0, nfiles, ((Pack) packs.get(i)).name); for (int j = 0; j < nfiles; j++) { // We read the header PackFile pf = (PackFile) objIn.readObject(); if (null == pf.os || currentOs.indexOf(pf.os.toLowerCase()) > -1) { // We translate & build the path String path = translatePath(pf.targetPath); File pathFile = new File(path); String fname = pathFile.getName(); int z = fname.length(); File dest = pathFile.getParentFile(); if (!dest.exists()) dest.mkdirs(); // We add the path to the log, udata.addFile(path); listener.progressUnpack(j, path); //if this file exists and shouldnot override skip this file if (((pf.override == false) && (pathFile.exists()))) { objIn.skip(pf.length); continue; } // We copy the file out = new FileOutputStream(path); byte[] buffer = new byte[5120]; long bytesCopied = 0; while (bytesCopied < pf.length) { int maxBytes = (pf.length - bytesCopied < buffer.length ? (int) (pf.length - bytesCopied) : buffer.length); int bytesInBuffer = objIn.read(buffer, 0, maxBytes); if (bytesInBuffer == -1) throw new IOException("Unexpected end of stream"); out.write(buffer, 0, bytesInBuffer); bytesCopied += bytesInBuffer; } // Cleanings out.close(); // Empty dirs restoring String _n = pathFile.getName(); if (_n.startsWith("izpack-keepme") && _n.endsWith(".tmp")) pathFile.delete(); } else objIn.skip(pf.length); } // Load information about parsable files int numParsables = objIn.readInt(); int k; for (k = 0; k < numParsables; k++) { ParsableFile pf = (ParsableFile) objIn.readObject(); pf.path = translatePath(pf.path); parsables.add(pf); } // Load information about executable files int numExecutables = objIn.readInt(); for (k = 0; k < numExecutables; k++) { ExecutableFile ef = (ExecutableFile) objIn.readObject(); ef.path = translatePath(ef.path); if (null != ef.argList && !ef.argList.isEmpty()) { String arg = null; for (int j = 0; j < ef.argList.size(); j++) { arg = (String) ef.argList.get(j); arg = translatePath(arg); ef.argList.set(j, arg); } } executables.add(ef); if(ef.executionStage == ExecutableFile.UNINSTALL) { udata.addExecutable(ef); } } objIn.close(); } // We use the scripts parser ScriptParser parser = new ScriptParser(parsables, vs); parser.parseFiles(); // We use the file executor FileExecutor executor = new FileExecutor(executables); if (executor.executeFiles(ExecutableFile.POSTINSTALL) != 0) javax.swing.JOptionPane.showMessageDialog( null, "The installation was not completed.", "Installation warning", javax.swing.JOptionPane.WARNING_MESSAGE); // We put the uninstaller putUninstaller(); // The end :-) listener.stopUnpack(); } catch (Exception err) { listener.stopUnpack(); listener.errorUnpack(err.toString()); } instances.remove(instances.indexOf(this)); }
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/c3234416ca8408295e1d45c60daee2efe9c3f5db/Unpacker.java/clean/src/lib/com/izforge/izpack/installer/Unpacker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 1435, 225, 288, 565, 3884, 18, 1289, 12, 2211, 1769, 565, 775, 565, 288, 1377, 2991, 18, 1937, 23649, 5621, 1377, 514, 783, 15112, 273, 2332, 18, 588, 1396, 2932, 538, 18, 529, 20387, 869, 5630, 5621, 1377, 368, 1377, 368, 10188, 291, 1012, 1377, 12942, 596, 273, 446, 31, 1377, 2407, 13249, 1538, 273, 394, 2407, 5621, 1377, 2407, 28743, 1538, 273, 394, 2407, 5621, 1377, 987, 2298, 87, 273, 612, 396, 18, 8109, 4420, 87, 31, 1377, 509, 1130, 22098, 273, 2298, 87, 18, 1467, 5621, 1377, 582, 892, 273, 1351, 5425, 751, 18, 588, 1442, 5621, 1377, 368, 23043, 358, 326, 3311, 3799, 414, 1377, 309, 261, 350, 396, 18, 9224, 18, 14963, 5556, 2932, 4875, 7923, 747, 3639, 612, 396, 18, 9224, 18, 14963, 5556, 2932, 4875, 17, 79, 23412, 334, 3674, 6, 3719, 1377, 288, 3639, 5037, 417, 267, 273, 2900, 7675, 588, 1420, 17052, 2932, 19, 455, 19, 4079, 6410, 414, 18, 718, 8863, 3639, 10633, 417, 10530, 273, 394, 10633, 12, 2704, 15322, 12, 15984, 10019, 3639, 7334, 2735, 273, 417, 10530, 18, 896, 1670, 5621, 1377, 289, 1377, 368, 1660, 6167, 326, 3170, 2298, 87, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1130, 22098, 31, 277, 27245, 1377, 288, 3639, 368, 1660, 336, 326, 2298, 1407, 3639, 509, 290, 273, 612, 396, 18, 454, 4420, 87, 18, 31806, 12, 2920, 87, 18, 588, 12, 77, 10019, 3639, 22726, 1081, 382, 6647, 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, 282, 1071, 918, 1086, 1435, 225, 288, 565, 3884, 18, 1289, 12, 2211, 1769, 565, 775, 565, 288, 1377, 2991, 18, 1937, 23649, 5621, 1377, 514, 783, 15112, 273, 2332, 18, 588, 1396, 2932, 538, 18, 529, 20387, 869, 5630, 5621, 1377, 368, 1377, 368, 10188, 291, 1012, 1377, 12942, 596, 273, 446, 31, 1377, 2407, 13249, 1538, 273, 394, 2407, 5621, 1377, 2407, 28743, 1538, 273, 394, 2407, 5621, 1377, 987, 2298, 87, 273, 612, 396, 18, 8109, 4420, 87, 31, 1377, 509, 1130, 22098, 273, 2298, 87, 18, 1467, 5621, 1377, 582, 892, 273, 1351, 5425, 751, 18, 588, 1442, 5621, 1377, 368, 23043, 358, 326, 3311, 3799, 414, 1377, 309, 261, 350, 396, 18, 9224, 18, 2 ]
public String getDatabaseTypeCode(long id_database_type) throws KettleDatabaseException
public synchronized String getDatabaseTypeCode(long id_database_type) throws KettleDatabaseException
public String getDatabaseTypeCode(long id_database_type) throws KettleDatabaseException { return getStringWithID("R_DATABASE_TYPE", "ID_DATABASE_TYPE", id_database_type, "CODE"); }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/4b43172b1fa3ffc5a55f1a91b608713e59b09cdb/Repository.java/buggy/kettle/src/be/ibridge/kettle/repository/Repository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11263, 15460, 12, 5748, 612, 67, 6231, 67, 723, 13, 1216, 1475, 278, 5929, 4254, 503, 202, 95, 202, 202, 2463, 4997, 1190, 734, 2932, 54, 67, 22366, 67, 2399, 3113, 315, 734, 67, 22366, 67, 2399, 3113, 612, 67, 6231, 67, 723, 16, 315, 5572, 8863, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11263, 15460, 12, 5748, 612, 67, 6231, 67, 723, 13, 1216, 1475, 278, 5929, 4254, 503, 202, 95, 202, 202, 2463, 4997, 1190, 734, 2932, 54, 67, 22366, 67, 2399, 3113, 315, 734, 67, 22366, 67, 2399, 3113, 612, 67, 6231, 67, 723, 16, 315, 5572, 8863, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
prop2db = new Hashtable (); db2prop = new Hashtable ();
prop2db = new HashMap (); db2prop = new HashMap ();
public DbMapping (Application app) { this.app = app; prop2db = new Hashtable (); db2prop = new Hashtable (); parent = null; // subnodes = null; // properties = null; idField = "id"; }
3798 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3798/15941ce4f4b9cfa413415fbb4c56160c5c48e6d5/DbMapping.java/clean/src/helma/objectmodel/db/DbMapping.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8408, 3233, 261, 3208, 595, 13, 288, 202, 2211, 18, 2910, 273, 595, 31, 202, 5986, 22, 1966, 273, 394, 18559, 261, 1769, 202, 1966, 22, 5986, 273, 394, 18559, 261, 1769, 202, 2938, 273, 446, 31, 202, 759, 720, 4690, 273, 446, 31, 202, 759, 1790, 273, 446, 31, 202, 350, 974, 273, 315, 350, 14432, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8408, 3233, 261, 3208, 595, 13, 288, 202, 2211, 18, 2910, 273, 595, 31, 202, 5986, 22, 1966, 273, 394, 18559, 261, 1769, 202, 1966, 22, 5986, 273, 394, 18559, 261, 1769, 202, 2938, 273, 446, 31, 202, 759, 720, 4690, 273, 446, 31, 202, 759, 1790, 273, 446, 31, 202, 350, 974, 273, 315, 350, 14432, 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 ]
this.spectator_seats[seat.index].index = seat.index; this.spectator_seats[seat.index].name = seat.name;
this.spectator_seats[seat.index] = seat;
void set_spectator_seat(TableSeat seat) { String oldSeatName; Server server; Game game; // Check if our array is big enough to hold the new seat. if (seat.index >= get_num_spectator_seats()) { int oldLength = get_num_spectator_seats(); int newLength = oldLength; /* * Grow the array geometrically to keep a constant ammortized * overhead. */ while (seat.index >= newLength) { newLength = newLength > 0 ? newLength * 2 : 1; } log.fine("Increasing number of spectator seats to " + newLength + "."); TableSeat[] oldArray = this.spectator_seats; this.spectator_seats = new TableSeat[newLength]; if (oldArray != null) { System.arraycopy(oldArray, 0, this.spectator_seats, 0, oldArray.length); } for (int i = oldLength; i < newLength; i++) { this.spectator_seats[i] = new TableSeat(i, SeatType.GGZ_SEAT_NONE, null); } } oldSeatName = this.spectator_seats[seat.index].name; this.spectator_seats[seat.index].index = seat.index; this.spectator_seats[seat.index].name = seat.name; /* Check for specific seat changes */ if (seat.name != null) { log.fine(seat.name + " spectating seat " + seat.index + " at table " + this.id); if (this.room != null) this.room.player_set_table(seat.name, this.id); } if (oldSeatName != null) { log.fine(oldSeatName + " stopped spectating seat at table " + this.id); if (this.room != null) { this.room.player_set_table(oldSeatName, -1); } } /* If this is our table, alert the game module. */ if (this.room != null && ((server = this.room.get_server()) != null) && ((game = server.get_cur_game()) != null) && this.room.get_id() == game.get_room_id()) { String me = server.get_handle(); int game_table = game.get_table_id(); if (this.id == game_table) { game.set_spectator_seat(seat); } if (!me.equals(seat.name)) { game.set_player(true, seat.index); if (game_table < 0) { game.set_table(game.get_room_id(), this.id); } } } }
45800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45800/686fd63f220aa50720439ca7c62cd8f49bb56224/Table.java/clean/java/src/ggz/client/core/Table.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 444, 67, 13234, 639, 67, 307, 270, 12, 1388, 1761, 270, 695, 270, 13, 288, 3639, 514, 1592, 1761, 270, 461, 31, 3639, 3224, 1438, 31, 3639, 14121, 7920, 31, 3639, 368, 2073, 309, 3134, 526, 353, 5446, 7304, 358, 6887, 326, 394, 695, 270, 18, 3639, 309, 261, 307, 270, 18, 1615, 1545, 336, 67, 2107, 67, 13234, 639, 67, 307, 2323, 10756, 288, 5411, 509, 1592, 1782, 273, 336, 67, 2107, 67, 13234, 639, 67, 307, 2323, 5621, 5411, 509, 394, 1782, 273, 1592, 1782, 31, 5411, 1748, 2398, 380, 611, 492, 326, 526, 7364, 1591, 1230, 358, 3455, 279, 5381, 2125, 81, 499, 1235, 2398, 380, 23188, 18, 2398, 1195, 5411, 1323, 261, 307, 270, 18, 1615, 1545, 394, 1782, 13, 288, 7734, 394, 1782, 273, 394, 1782, 405, 374, 692, 394, 1782, 380, 576, 294, 404, 31, 5411, 289, 5411, 613, 18, 74, 558, 2932, 27597, 11730, 1300, 434, 23242, 639, 695, 2323, 358, 315, 397, 394, 1782, 397, 4585, 1769, 5411, 3555, 1761, 270, 8526, 1592, 1076, 273, 333, 18, 13234, 639, 67, 307, 2323, 31, 5411, 333, 18, 13234, 639, 67, 307, 2323, 273, 394, 3555, 1761, 270, 63, 2704, 1782, 15533, 5411, 309, 261, 1673, 1076, 480, 446, 13, 288, 7734, 2332, 18, 1126, 3530, 12, 1673, 1076, 16, 374, 16, 333, 18, 13234, 639, 67, 307, 2323, 16, 374, 16, 13491, 1592, 1076, 18, 2469, 1769, 5411, 289, 5411, 364, 261, 474, 277, 273, 1592, 1782, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 444, 67, 13234, 639, 67, 307, 270, 12, 1388, 1761, 270, 695, 270, 13, 288, 3639, 514, 1592, 1761, 270, 461, 31, 3639, 3224, 1438, 31, 3639, 14121, 7920, 31, 3639, 368, 2073, 309, 3134, 526, 353, 5446, 7304, 358, 6887, 326, 394, 695, 270, 18, 3639, 309, 261, 307, 270, 18, 1615, 1545, 336, 67, 2107, 67, 13234, 639, 67, 307, 2323, 10756, 288, 5411, 509, 1592, 1782, 273, 336, 67, 2107, 67, 13234, 639, 67, 307, 2323, 5621, 5411, 509, 394, 1782, 273, 1592, 1782, 31, 5411, 1748, 2398, 380, 611, 492, 326, 526, 7364, 1591, 1230, 358, 3455, 279, 5381, 2125, 81, 499, 1235, 2398, 380, 23188, 18, 2398, 1195, 5411, 1323, 261, 307, 2 ]
for (int i = 0; i < params.size(); i++) { JParameter jParam = (JParameter)params.get(i); if (i > 0) sb.append(", ");
for (int i = 0; i < _params.size(); i++) { JParameter jParam = (JParameter) _params.get(i); if (i > 0) { sb.append(", "); }
public String toString() { StringBuffer sb = new StringBuffer(); if (returnType != null) { sb.append(returnType); } else sb.append("void"); sb.append(' '); sb.append(name); sb.append('('); //-- print parameters for (int i = 0; i < params.size(); i++) { JParameter jParam = (JParameter)params.get(i); if (i > 0) sb.append(", "); sb.append(jParam.getType().getName()); } sb.append(") "); return sb.toString(); } //-- toString
57307 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57307/639ed93115321ad51c2450f306c4d50d146ede46/JMethodSignature.java/buggy/src/main/java/org/exolab/javasource/JMethodSignature.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 309, 261, 2463, 559, 480, 446, 13, 288, 5411, 2393, 18, 6923, 12, 2463, 559, 1769, 3639, 289, 3639, 469, 2393, 18, 6923, 2932, 6459, 8863, 3639, 2393, 18, 6923, 2668, 28005, 3639, 2393, 18, 6923, 12, 529, 1769, 3639, 2393, 18, 6923, 2668, 2668, 1769, 7734, 368, 413, 1172, 1472, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 859, 18, 1467, 5621, 277, 27245, 288, 5411, 804, 1662, 525, 786, 273, 261, 46, 1662, 13, 2010, 18, 588, 12, 77, 1769, 5411, 309, 261, 77, 405, 374, 13, 2393, 18, 6923, 2932, 16, 315, 1769, 5411, 2393, 18, 6923, 12, 78, 786, 18, 588, 559, 7675, 17994, 10663, 3639, 289, 3639, 2393, 18, 6923, 2932, 13, 315, 1769, 3639, 327, 2393, 18, 10492, 5621, 565, 289, 368, 413, 1762, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 309, 261, 2463, 559, 480, 446, 13, 288, 5411, 2393, 18, 6923, 12, 2463, 559, 1769, 3639, 289, 3639, 469, 2393, 18, 6923, 2932, 6459, 8863, 3639, 2393, 18, 6923, 2668, 28005, 3639, 2393, 18, 6923, 12, 529, 1769, 3639, 2393, 18, 6923, 2668, 2668, 1769, 7734, 368, 413, 1172, 1472, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 859, 18, 1467, 5621, 277, 27245, 288, 5411, 804, 1662, 525, 786, 273, 261, 46, 1662, 13, 2010, 18, 588, 12, 77, 1769, 5411, 309, 261, 77, 405, 374, 13, 2393, 18, 6923, 2932, 16, 315, 1769, 5411, 2393, 18, 6923, 12, 78, 786, 2 ]
} else if (event instanceof SModelAttributeEvent) { eventNode = ((SModelAttributeEvent) event).getAttributedNode();
/*package*/ EditorCell createEditorCell(EditorContext context, List<SModelEvent> events, ReferencedNodeContext refContext) { SNode node = refContext.getNode(); for (SNode attribute : node.getNodeAttributes()) { //if the whole node has attribute if (attribute != null) { //if creating this cell for this attribute for the first time if (!myAttributesStack.contains(attribute)) { myAttributesStack.push(attribute); EditorCell nodeCell = createEditorCell(context, events, refContext.contextWithOneMoreAttribute(attribute)); EditorCell result = createNodeAttributeCell(context, attribute, nodeCell); SNode poppedAttribute = myAttributesStack.pop(); LOG.assertLog(poppedAttribute == attribute); return result; } } } AbstractEditorComponent nodeEditorComponent = context.getNodeEditorComponent(); EditorCell oldCell = nodeEditorComponent.getBigCellForRefContext(refContext); if (events != null) { boolean nodeChanged = false; for (SModelEvent event : events) { SNode eventNode; if (event instanceof SModelChildEvent) { eventNode = ((SModelChildEvent) event).getParent(); } else if (event instanceof SModelReferenceEvent) { eventNode = ((SModelReferenceEvent) event).getReference().getSourceNode(); } else if (event instanceof SModelPropertyEvent) { eventNode = ((SModelPropertyEvent) event).getNode(); } else if (event instanceof SModelAttributeEvent) { eventNode = ((SModelAttributeEvent) event).getAttributedNode(); } else continue; if (nodeEditorComponent.doesCellDependOnNode(oldCell, eventNode)) { nodeChanged = true; break; } } if (!nodeChanged) { if (myMap.containsKey(refContext)) { EditorCell editorCell = myMap.get(refContext); final Set<SNode> nodesOldCellDependsOn = nodeEditorComponent.getCopyOfNodesCellDependsOn(editorCell); final Set<SNodeProxy> refTargetsOldCellDependsOn = nodeEditorComponent.getCopyOfRefTargetsCellDependsOn(editorCell); if (nodesOldCellDependsOn != null || refTargetsOldCellDependsOn != null) { //voodoo for editor incremental rebuild support: // add listen-nothing listener, fill it up, // remove listener to report recorded nodes to parent listener CellBuildNodeAccessListener listensNothingListener = new CellBuildNodeAccessListener(nodeEditorComponent); NodeReadAccessCaster.setNodeReadAccessListener(listensNothingListener); if (nodesOldCellDependsOn != null) listensNothingListener.addNodesToDependOn(nodesOldCellDependsOn); if (refTargetsOldCellDependsOn != null) listensNothingListener.addRefTargetsToDependOn(refTargetsOldCellDependsOn); NodeReadAccessCaster.removeNodeAccessListener(); //--voodoo } return editorCell; } } else { myMap.putAll(findBigDescendantCellsAndTheirNodes(oldCell)); } } nodeEditorComponent.clearNodesCellDependsOn(oldCell); return createEditorCell_internal(context, myCreatingInspectedCell, refContext); }
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/64550d3cfe0ed54faa3c5463839c677241791d7e/EditorManager.java/buggy/source/jetbrains/mps/nodeEditor/EditorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1748, 5610, 5549, 18451, 4020, 752, 6946, 4020, 12, 6946, 1042, 819, 16, 987, 32, 55, 1488, 1133, 34, 2641, 16, 6268, 72, 907, 1042, 1278, 1042, 13, 288, 565, 348, 907, 756, 273, 1278, 1042, 18, 588, 907, 5621, 565, 364, 261, 55, 907, 1566, 294, 756, 18, 588, 907, 2498, 10756, 288, 1377, 368, 430, 326, 7339, 756, 711, 1566, 1377, 309, 261, 4589, 480, 446, 13, 288, 3639, 368, 430, 4979, 333, 2484, 364, 333, 1566, 364, 326, 1122, 813, 3639, 309, 16051, 4811, 2498, 2624, 18, 12298, 12, 4589, 3719, 288, 1850, 3399, 2498, 2624, 18, 6206, 12, 4589, 1769, 1850, 18451, 4020, 756, 4020, 273, 752, 6946, 4020, 12, 2472, 16, 2641, 16, 1278, 1042, 18, 2472, 1190, 3335, 7417, 1499, 12, 4589, 10019, 1850, 18451, 4020, 563, 273, 24584, 1499, 4020, 12, 2472, 16, 1566, 16, 756, 4020, 1769, 1850, 348, 907, 30766, 1499, 273, 3399, 2498, 2624, 18, 5120, 5621, 1850, 2018, 18, 11231, 1343, 12, 5120, 1845, 1499, 422, 1566, 1769, 1850, 327, 563, 31, 3639, 289, 1377, 289, 565, 289, 565, 4115, 6946, 1841, 756, 6946, 1841, 273, 819, 18, 588, 907, 6946, 1841, 5621, 565, 18451, 4020, 1592, 4020, 273, 756, 6946, 1841, 18, 588, 9901, 4020, 1290, 1957, 1042, 12, 1734, 1042, 1769, 565, 309, 261, 5989, 480, 446, 13, 288, 1377, 1250, 756, 5033, 273, 629, 31, 1377, 364, 261, 55, 1488, 1133, 871, 294, 2641, 13, 288, 3639, 348, 907, 871, 907, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1748, 5610, 5549, 18451, 4020, 752, 6946, 4020, 12, 6946, 1042, 819, 16, 987, 32, 55, 1488, 1133, 34, 2641, 16, 6268, 72, 907, 1042, 1278, 1042, 13, 288, 565, 348, 907, 756, 273, 1278, 1042, 18, 588, 907, 5621, 565, 364, 261, 55, 907, 1566, 294, 756, 18, 588, 907, 2498, 10756, 288, 1377, 368, 430, 326, 7339, 756, 711, 1566, 1377, 309, 261, 4589, 480, 446, 13, 288, 3639, 368, 430, 4979, 333, 2484, 364, 333, 1566, 364, 326, 1122, 813, 3639, 309, 16051, 4811, 2498, 2624, 18, 12298, 12, 4589, 3719, 288, 1850, 3399, 2498, 2624, 18, 6206, 12, 4589, 1769, 1850, 18451, 4020, 756, 4020, 273, 752, 6946, 4020, 12, 2472, 16, 2641, 16, 2 ]
if (op == REOP_ENDCHILD) { pc = currentContinuation_pc; op = currentContinuation_op; }
executeREBytecode(REGlobalData gData, char[] chars, int end) { int pc = 0; byte program[] = gData.regexp.program; int op = program[pc++]; int currentContinuation_op; int currentContinuation_pc; boolean result = false; currentContinuation_pc = 0; currentContinuation_op = REOP_END;if (debug) {System.out.println("Input = \"" + new String(chars) + "\", start at " + gData.cp);} for (;;) {if (debug) {System.out.println("Testing at " + gData.cp + ", op = " + op);} switch (op) { case REOP_EMPTY: result = true; break; case REOP_BOL: if (gData.cp != 0) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp - 1])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_EOL: if (gData.cp != end) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_WBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ !((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_WNONBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ ((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_DOT: result = (gData.cp != end && !isLineTerm(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_DIGIT: result = (gData.cp != end && isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONDIGIT: result = (gData.cp != end && !isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_SPACE: result = (gData.cp != end && isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONSPACE: result = (gData.cp != end && !isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_ALNUM: result = (gData.cp != end && isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONALNUM: result = (gData.cp != end && !isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_FLAT: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNMatcher(gData, offset, length, chars, end); } break; case REOP_FLATi: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNIMatcher(gData, offset, length, chars, end); } break; case REOP_FLAT1: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_FLAT1i: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_UCFLAT1: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_UCFLAT1i: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_ALT: { int nextpc; byte nextop; pushProgState(gData, 0, 0, null, currentContinuation_pc, currentContinuation_op); nextpc = pc + GET_OFFSET(program, pc); nextop = program[nextpc++]; pushBackTrackState(gData, nextop, nextpc); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_JUMP: { int offset; REProgState state = popProgState(gData); currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; offset = GET_OFFSET(program, pc); pc += offset; op = program[pc++]; } continue; case REOP_LPAREN: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; gData.set_parens(parenIndex, gData.cp, 0); op = program[pc++]; } continue; case REOP_RPAREN: { int cap_index; int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; cap_index = gData.parens_index(parenIndex); gData.set_parens(parenIndex, cap_index, gData.cp - cap_index); if (parenIndex > gData.lastParen) gData.lastParen = parenIndex; op = program[pc++]; } continue; case REOP_BACKREF: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; result = backrefMatcher(gData, parenIndex, chars, end); } break; case REOP_CLASS: { int index = GET_ARG(program, pc); pc += ARG_LEN; if (gData.cp != end) { if (classMatcher(gData, gData.regexp.classList[index], chars[gData.cp])) { gData.cp++; result = true; break; } } result = false; } break; case REOP_ASSERT: case REOP_ASSERT_NOT: { byte testOp; pushProgState(gData, 0, 0, gData.backTrackLast, currentContinuation_pc, currentContinuation_op); if (op == REOP_ASSERT) { testOp = REOP_ASSERTTEST; } else { testOp = REOP_ASSERTNOTTEST; } pushBackTrackState(gData, testOp, pc + GET_OFFSET(program, pc)); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_ASSERTTEST: case REOP_ASSERTNOTTEST: { REProgState state = popProgState(gData); gData.cp = state.index; gData.backTrackLast = state.savedBackTrackLast; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; if (result) { if (op == REOP_ASSERTTEST) { result = true; } else { result = false; } } else { if (op == REOP_ASSERTTEST) { // Do nothing } else { result = true; } } } break; case REOP_STAR: case REOP_PLUS: case REOP_OPT: case REOP_QUANT: case REOP_MINIMALSTAR: case REOP_MINIMALPLUS: case REOP_MINIMALOPT: case REOP_MINIMALQUANT: { int min, max; boolean greedy = false; switch (op) { case REOP_STAR: greedy = true; // fallthrough case REOP_MINIMALSTAR: min = 0; max = -1; break; case REOP_PLUS: greedy = true; // fallthrough case REOP_MINIMALPLUS: min = 1; max = -1; break; case REOP_OPT: greedy = true; // fallthrough case REOP_MINIMALOPT: min = 0; max = 1; break; case REOP_QUANT: greedy = true; // fallthrough case REOP_MINIMALQUANT: min = GET_ARG(program, pc); pc += ARG_LEN; max = GET_ARG(program, pc); pc += ARG_LEN; break; default: throw Kit.codeBug(); } pushProgState(gData, min, max, null, currentContinuation_pc, currentContinuation_op); if (greedy) { currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); /* Step over <parencount>, <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { if (min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; /* <parencount> <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); popProgState(gData); pc += 2 * ARG_LEN; // <parencount> & <parenindex> pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } } } continue; case REOP_ENDCHILD: pc = currentContinuation_pc; op = currentContinuation_op; continue; case REOP_REPEAT: { REProgState state = popProgState(gData); if (!result) { // // There's been a failure, see if we have enough // children. // if (state.min == 0) result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(program, pc); break; } else { if (state.min == 0 && gData.cp == state.index) { // matched an empty string, that'll get us nowhere result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } int new_min = state.min, new_max = state.max; if (new_min != 0) new_min--; if (new_max != -1) new_max--; if (new_max == 0) { result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } pushProgState(gData, new_min, new_max, null, state.continuation_pc, state.continuation_op); currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; op = program[pc++]; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } } } continue; case REOP_MINIMALREPEAT: { REProgState state = popProgState(gData); if (!result) { // // Non-greedy failure - try to consume another child. // if (state.max == -1 || state.max > 0) { pushProgState(gData, state.min, state.max, null, state.continuation_pc, state.continuation_op); currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } op = program[pc++]; continue; } else { // Don't need to adjust pc since we're going to pop. currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } } else { if (state.min == 0 && gData.cp == state.index) { // Matched an empty string, that'll get us nowhere. result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } int new_min = state.min, new_max = state.max; if (new_min != 0) new_min--; if (new_max != -1) new_max--; pushProgState(gData, new_min, new_max, null, state.continuation_pc, state.continuation_op); if (new_min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } op = program[pc++]; } else { currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); popProgState(gData); pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } continue; } } case REOP_END: return true; default: throw Kit.codeBug(); } /* * If the match failed and there's a backtrack option, take it. * Otherwise this is a complete and utter failure. */ if (!result) { REBackTrackData backTrackData = gData.backTrackLast; if (backTrackData != null) { gData.backTrackLast = backTrackData.previous; gData.lastParen = backTrackData.lastParen; // XXX: If backTrackData will no longer be used, then // there is no need to clone backTrackData.parens if (backTrackData.parens != null) { gData.parens = (long[])backTrackData.parens.clone(); } gData.cp = backTrackData.cp; for (int k = 0; k < backTrackData.precedingStateTop; k++) gData.stateStack[k] = backTrackData.precedingState[k]; gData.stateStackTop = backTrackData.precedingStateTop + 1; gData.stateStack[gData.stateStackTop - 1] = backTrackData.currentState; currentContinuation_op = gData.stateStack[gData.stateStackTop - 1].continuation_op; currentContinuation_pc = gData.stateStack[gData.stateStackTop - 1].continuation_pc; pc = backTrackData.continuation_pc; op = backTrackData.continuation_op; continue; } else return false; } /* * Continue with the expression. If this the end of the child, use * the current continuation. */ op = program[pc++]; if (op == REOP_ENDCHILD) { pc = currentContinuation_pc; op = currentContinuation_op; } } }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/21f0e29bbdfc8503803ff1fb05a60d0d11f579d5/NativeRegExp.java/clean/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 1149, 8526, 5230, 16, 509, 679, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 509, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 509, 783, 660, 23946, 67, 556, 31, 3639, 509, 783, 660, 23946, 67, 2436, 31, 3639, 1250, 563, 273, 629, 31, 3639, 783, 660, 23946, 67, 2436, 273, 374, 31, 3639, 783, 660, 23946, 67, 556, 273, 2438, 3665, 67, 4415, 31, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 1210, 273, 11843, 397, 394, 514, 12, 7549, 13, 397, 1548, 3113, 787, 622, 315, 397, 314, 751, 18, 4057, 1769, 97, 3639, 364, 261, 25708, 13, 288, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 22218, 622, 315, 397, 314, 751, 18, 4057, 397, 3104, 1061, 273, 315, 397, 1061, 1769, 97, 5411, 1620, 261, 556, 13, 288, 5411, 648, 2438, 3665, 67, 13625, 30, 7734, 563, 273, 638, 31, 7734, 898, 31, 5411, 648, 2438, 3665, 67, 38, 1741, 30, 7734, 309, 261, 75, 751, 18, 4057, 480, 374, 13, 288, 10792, 309, 261, 75, 751, 18, 5421, 12554, 747, 18701, 14015, 75, 751, 18, 17745, 18, 7133, 473, 6756, 5937, 67, 12845, 30690, 13, 480, 374, 3719, 288, 13491, 309, 16051, 291, 1670, 4065, 12, 7549, 63, 75, 751, 18, 4057, 300, 404, 22643, 288, 18701, 563, 273, 629, 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, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 1149, 8526, 5230, 16, 509, 679, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 509, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 509, 783, 660, 23946, 67, 556, 31, 3639, 509, 783, 660, 23946, 67, 2436, 31, 3639, 1250, 563, 273, 629, 31, 3639, 783, 660, 23946, 67, 2436, 273, 374, 31, 3639, 783, 660, 23946, 67, 556, 273, 2438, 3665, 67, 4415, 31, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 1210, 273, 11843, 397, 394, 514, 12, 7549, 13, 397, 1548, 3113, 787, 622, 315, 397, 314, 2 ]
EORelationship relationship = ERXUtilities.relationshipWithObjectAndKeyPath((EOEnterpriseObject)_source, _localRelationshipKey()); if(relationship!=null) { destinationEntity = relationship.destinationEntity();
anEditingContext = ((EOEnterpriseObject)_source).editingContext(); } if (anEditingContext == null) { anEditingContext = session().defaultEditingContext() ; } if(anEntityName != null) { anEntityName = _localSourceEntityName(); EOEntity anEntity = EOUtilities.entityNamed(anEditingContext, anEntityName); if (anEntity == null) { throw new IllegalStateException("<" + getClass().getName() + " could not find entity named " + anEntityName + ">");
protected EOEntity destinationEntity() { String anEntityName = _localSourceEntityName(); // FIXME (msanchez, 08/00, 2520053): use modelGroup on ObjectStoreCoordinator of our editingContext EOModelGroup aModelGroup = EOModelGroup.defaultGroup(); EOEntity anEntity = aModelGroup.entityNamed(anEntityName); if (anEntity == null) { throw new IllegalStateException("<" + getClass().getName() + " could not find entity named " + anEntityName + ">"); } EOEntity destinationEntity = null; Object _source = _localSourceObject(); if (_source instanceof EOEnterpriseObject) { EORelationship relationship = ERXUtilities.relationshipWithObjectAndKeyPath((EOEnterpriseObject)_source, _localRelationshipKey()); if(relationship!=null) { destinationEntity = relationship.destinationEntity(); } } if (destinationEntity == null) { destinationEntity = entityWithEntityAndKeyPath(anEntity, _localRelationshipKey()); } return destinationEntity; }
46145 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46145/c87d59873f0f352b1a3f31c049ac1a35a657a0e8/ERXToManyRelationship.java/clean/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXToManyRelationship.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 512, 51, 1943, 2929, 1943, 1435, 288, 3639, 514, 392, 19441, 273, 389, 3729, 1830, 19441, 5621, 3639, 368, 9852, 261, 959, 304, 343, 6664, 16, 16314, 19, 713, 16, 6969, 6976, 8643, 4672, 999, 938, 1114, 603, 1033, 2257, 25307, 434, 3134, 15755, 1042, 3639, 512, 51, 1488, 1114, 279, 1488, 1114, 273, 512, 51, 1488, 1114, 18, 1886, 1114, 5621, 3639, 512, 51, 1943, 392, 1943, 273, 279, 1488, 1114, 18, 1096, 7604, 12, 304, 19441, 1769, 3639, 309, 261, 304, 1943, 422, 446, 13, 288, 5411, 604, 394, 5477, 2932, 32, 6, 397, 2900, 7675, 17994, 1435, 397, 315, 3377, 486, 1104, 1522, 4141, 315, 397, 392, 19441, 397, 14675, 1769, 3639, 289, 3639, 512, 51, 1943, 2929, 1943, 273, 446, 31, 3639, 1033, 389, 3168, 273, 389, 3729, 1830, 921, 5621, 3639, 309, 261, 67, 3168, 1276, 512, 51, 30699, 921, 13, 288, 5411, 512, 916, 292, 367, 3261, 5232, 273, 4232, 60, 11864, 18, 12873, 1190, 921, 1876, 653, 743, 12443, 41, 51, 30699, 921, 13, 67, 3168, 16, 28524, 13491, 389, 3729, 8180, 653, 10663, 5411, 309, 12, 12873, 5, 33, 2011, 13, 288, 7734, 2929, 1943, 273, 5232, 18, 10590, 1943, 5621, 5411, 289, 3639, 289, 3639, 309, 261, 10590, 1943, 422, 446, 13, 288, 5411, 2929, 1943, 273, 1522, 1190, 1943, 1876, 653, 743, 12, 304, 1943, 16, 389, 3729, 8180, 653, 10663, 3639, 289, 3639, 327, 2929, 1943, 31, 565, 289, 2, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 512, 51, 1943, 2929, 1943, 1435, 288, 3639, 514, 392, 19441, 273, 389, 3729, 1830, 19441, 5621, 3639, 368, 9852, 261, 959, 304, 343, 6664, 16, 16314, 19, 713, 16, 6969, 6976, 8643, 4672, 999, 938, 1114, 603, 1033, 2257, 25307, 434, 3134, 15755, 1042, 3639, 512, 51, 1488, 1114, 279, 1488, 1114, 273, 512, 51, 1488, 1114, 18, 1886, 1114, 5621, 3639, 512, 51, 1943, 392, 1943, 273, 279, 1488, 1114, 18, 1096, 7604, 12, 304, 19441, 1769, 3639, 309, 261, 304, 1943, 422, 446, 13, 288, 5411, 604, 394, 5477, 2932, 32, 6, 397, 2900, 7675, 17994, 1435, 397, 315, 3377, 486, 1104, 1522, 4141, 315, 397, 392, 19441, 397, 14675, 1769, 3639, 289, 3639, 2 ]
if (getTextExtents(token, f).width + x <= clipRect.getTopRight().x) {
if (tokenWidth + x <= clipRect.getTopRight().x) {
private void paintText(Graphics graphics) { String subString = getSubStringText(); StringTokenizer tokenizer = new StringTokenizer(subString, "\n"); //$NON-NLS-1$ Font f = getFont(); int fontHeight = MapMode.DPtoLP(FigureUtilities.getFontMetrics(f) .getHeight()); int textWidth = getTextExtents(subString, f).width; int y = getTextLocation().y; // If the font's leading area is 0 then we need to add an offset to // avoid truncating at the top (e.g. Korean fonts) if (0 == FigureUtilities.getFontMetrics(f).getLeading()) { int offset = MapMode.DPtoLP(2); // 2 is the leading area for default English y += offset; } while (tokenizer.hasMoreTokens()) { String token = tokenizer.nextToken(); int tokenWidth = getTextExtents(token, f).width; int x = getTextLocation().x; switch (getTextWrapAlignment()) { case CENTER: x += (textWidth - tokenWidth) / 2; break; case RIGHT: x += textWidth - tokenWidth; break; } // increase the clipping rectangle by a small amount to account for font overhang // from italic / irregular characters etc. Rectangle clipRect = new Rectangle(); graphics.getClip(clipRect); if (getTextExtents(token, f).width + x <= clipRect.getTopRight().x) { Rectangle newClipRect = new Rectangle(clipRect); newClipRect.width += getTextExtents(token.substring(token.length() - 1), f).width / 2; graphics.setClip(newClipRect); } graphics.drawText(token, x, y); graphics.setClip(clipRect); y += fontHeight; if (isTextUnderlined()) graphics.drawLine(x, y - 1, x + tokenWidth, y - 1); if (isTextStrikedThrough()) graphics.drawLine(x, y - fontHeight / 2 + 1, x + tokenWidth, y - fontHeight / 2 + 1); } }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/adc1102179d667e4a670bfc5711892726a23a343/WrapLabel.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.draw2d.ui/src/org/eclipse/gmf/runtime/draw2d/ui/figures/WrapLabel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12574, 1528, 12, 17558, 17313, 13, 288, 202, 202, 780, 720, 780, 273, 7040, 780, 1528, 5621, 202, 202, 780, 10524, 10123, 273, 394, 16370, 12, 1717, 780, 16, 1548, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 5711, 284, 273, 18776, 5621, 202, 202, 474, 3512, 2686, 273, 1635, 2309, 18, 8640, 869, 14461, 12, 42, 15906, 11864, 18, 588, 5711, 5653, 12, 74, 13, 1082, 202, 18, 588, 2686, 10663, 202, 202, 474, 977, 2384, 273, 6701, 2482, 4877, 12, 1717, 780, 16, 284, 2934, 2819, 31, 202, 202, 474, 677, 273, 6701, 2735, 7675, 93, 31, 9506, 202, 759, 971, 326, 3512, 1807, 7676, 5091, 353, 374, 1508, 732, 1608, 358, 527, 392, 1384, 358, 202, 202, 759, 4543, 6956, 1776, 622, 326, 1760, 261, 73, 18, 75, 18, 1475, 479, 304, 16450, 13, 202, 202, 430, 261, 20, 422, 18818, 11864, 18, 588, 5711, 5653, 12, 74, 2934, 588, 19112, 10756, 288, 1082, 202, 474, 1384, 273, 1635, 2309, 18, 8640, 869, 14461, 12, 22, 1769, 368, 576, 353, 326, 7676, 5091, 364, 805, 24151, 1082, 202, 93, 1011, 1384, 31, 202, 202, 97, 25083, 202, 17523, 261, 2316, 1824, 18, 5332, 7417, 5157, 10756, 288, 1082, 202, 780, 1147, 273, 10123, 18, 4285, 1345, 5621, 1082, 202, 474, 1147, 2384, 273, 6701, 2482, 4877, 12, 2316, 16, 284, 2934, 2819, 31, 1082, 202, 474, 619, 273, 6701, 2735, 7675, 92, 31, 1082, 202, 9610, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12574, 1528, 12, 17558, 17313, 13, 288, 202, 202, 780, 720, 780, 273, 7040, 780, 1528, 5621, 202, 202, 780, 10524, 10123, 273, 394, 16370, 12, 1717, 780, 16, 1548, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 5711, 284, 273, 18776, 5621, 202, 202, 474, 3512, 2686, 273, 1635, 2309, 18, 8640, 869, 14461, 12, 42, 15906, 11864, 18, 588, 5711, 5653, 12, 74, 13, 1082, 202, 18, 588, 2686, 10663, 202, 202, 474, 977, 2384, 273, 6701, 2482, 4877, 12, 1717, 780, 16, 284, 2934, 2819, 31, 202, 202, 474, 677, 273, 6701, 2735, 7675, 93, 31, 9506, 202, 759, 971, 326, 3512, 1807, 7676, 5091, 353, 374, 1508, 732, 2 ]
return encode(cx, str, methodId == Id_encodeURI);
return encode(cx, str, f.methodId == Id_encodeURI);
public Object execMethod(int methodId, IdFunction function, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (scopeSlaveFlag) { switch (methodId) { case Id_decodeURI: case Id_decodeURIComponent: { String str = ScriptRuntime.toString(args, 0); return decode(cx, str, methodId == Id_decodeURI); } case Id_encodeURI: case Id_encodeURIComponent: { String str = ScriptRuntime.toString(args, 0); return encode(cx, str, methodId == Id_encodeURI); } case Id_escape: return js_escape(cx, args); case Id_eval: return js_eval(cx, scope, args); case Id_isFinite: { if (args.length < 1) return Boolean.FALSE; double d = ScriptRuntime.toNumber(args[0]); return (d != d || d == Double.POSITIVE_INFINITY || d == Double.NEGATIVE_INFINITY) ? Boolean.FALSE : Boolean.TRUE; } case Id_isNaN: { // The global method isNaN, as per ECMA-262 15.1.2.6. if (args.length < 1) return Boolean.TRUE; double d = ScriptRuntime.toNumber(args[0]); return (d != d) ? Boolean.TRUE : Boolean.FALSE; } case Id_parseFloat: return js_parseFloat(cx, args); case Id_parseInt: return js_parseInt(cx, args); case Id_unescape: return js_unescape(cx, args); case Id_uneval: { Object value = (args.length != 0) ? args[0] : Undefined.instance; return ScriptRuntime.uneval(cx, scope, value); } case Id_new_CommonError: // The implementation of all the ECMA error constructors // (SyntaxError, TypeError, etc.) return NativeError.make(cx, scope, function, args); } } throw IdFunction.onBadMethodId(this, methodId); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/8f28fc868ac3f30ea37494abfddb6358154786c3/NativeGlobal.java/buggy/js/rhino/src/org/mozilla/javascript/NativeGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 12, 474, 707, 548, 16, 3124, 2083, 445, 16, 1772, 9494, 16, 11794, 22780, 2146, 16, 22780, 15261, 16, 11794, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 4887, 20302, 4678, 13, 288, 5411, 1620, 261, 2039, 548, 13, 288, 7734, 648, 3124, 67, 3922, 3098, 30, 7734, 648, 3124, 67, 3922, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 10792, 327, 2495, 12, 71, 92, 16, 609, 16, 707, 548, 422, 3124, 67, 3922, 3098, 1769, 7734, 289, 7734, 648, 3124, 67, 3015, 3098, 30, 7734, 648, 3124, 67, 3015, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 10792, 327, 2017, 12, 71, 92, 16, 609, 16, 284, 18, 2039, 548, 422, 3124, 67, 3015, 3098, 1769, 7734, 289, 7734, 648, 3124, 67, 6939, 30, 10792, 327, 3828, 67, 6939, 12, 71, 92, 16, 833, 1769, 7734, 648, 3124, 67, 8622, 30, 10792, 327, 3828, 67, 8622, 12, 71, 92, 16, 2146, 16, 833, 1769, 7734, 648, 3124, 67, 291, 26491, 30, 288, 10792, 309, 261, 1968, 18, 2469, 411, 404, 13, 13491, 327, 3411, 18, 21053, 31, 10792, 1645, 302, 273, 7739, 5576, 18, 869, 1854, 12, 1968, 63, 20, 19226, 10792, 327, 261, 72, 480, 302, 747, 302, 422, 3698, 18, 7057, 16325, 67, 17716, 747, 18701, 302, 422, 3698, 18, 5407, 22421, 67, 17716, 13, 21821, 692, 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, 1196, 1305, 12, 474, 707, 548, 16, 3124, 2083, 445, 16, 1772, 9494, 16, 11794, 22780, 2146, 16, 22780, 15261, 16, 11794, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 4887, 20302, 4678, 13, 288, 5411, 1620, 261, 2039, 548, 13, 288, 7734, 648, 3124, 67, 3922, 3098, 30, 7734, 648, 3124, 67, 3922, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 10792, 327, 2495, 12, 71, 92, 16, 609, 16, 707, 548, 422, 3124, 67, 3922, 3098, 1769, 7734, 289, 7734, 648, 3124, 67, 3015, 3098, 30, 7734, 648, 3124, 67, 3015, 19000, 30, 288, 10792, 514, 609, 273, 7739, 5576, 18, 2 ]
throw new WrappedException(e);
throw new WrappedException(e.getTargetException());
Object get(Scriptable scope, String name, Object javaObject, boolean isStatic) { Hashtable ht = isStatic ? staticMembers : members; Object member = ht.get(name); if (!isStatic && member == null) { // Try to get static member from instance (LC3) member = staticMembers.get(name); } if (member == null) { member = this.getExplicitFunction(scope, name, javaObject, isStatic); if (member == null) return Scriptable.NOT_FOUND; } if (member instanceof Scriptable) return member; // why is this here? Object rval; Class type; try { if (member instanceof BeanProperty) { BeanProperty bp = (BeanProperty) member; rval = bp.getter.invoke(javaObject, ScriptRuntime.emptyArgs); type = bp.getter.getReturnType(); } else { Field field = (Field) member; rval = field.get(isStatic ? null : javaObject); type = field.getType(); } } catch (IllegalAccessException accEx) { throw new RuntimeException("unexpected IllegalAccessException "+ "accessing Java field"); } catch (InvocationTargetException e) { throw new WrappedException(e); } // Need to wrap the object before we return it. scope = ScriptableObject.getTopLevelScope(scope); return NativeJavaObject.wrap(scope, rval, type); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/97b2229648801e1f1ef62fafc501944d48c9f50c/JavaMembers.java/clean/js/rhino/org/mozilla/javascript/JavaMembers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 336, 12, 3651, 429, 2146, 16, 514, 508, 16, 1033, 2252, 921, 16, 9079, 1250, 16116, 13, 565, 288, 3639, 18559, 14049, 273, 16116, 692, 760, 6918, 294, 4833, 31, 3639, 1033, 3140, 273, 14049, 18, 588, 12, 529, 1769, 3639, 309, 16051, 291, 5788, 597, 3140, 422, 446, 13, 288, 5411, 368, 6161, 358, 336, 760, 3140, 628, 791, 261, 13394, 23, 13, 5411, 3140, 273, 760, 6918, 18, 588, 12, 529, 1769, 3639, 289, 3639, 309, 261, 5990, 422, 446, 13, 288, 5411, 3140, 273, 333, 18, 588, 17186, 2083, 12, 4887, 16, 508, 16, 4766, 9079, 2252, 921, 16, 16116, 1769, 5411, 309, 261, 5990, 422, 446, 13, 7734, 327, 22780, 18, 4400, 67, 9294, 31, 3639, 289, 3639, 309, 261, 5990, 1276, 22780, 13, 5411, 327, 3140, 31, 1377, 368, 11598, 353, 333, 2674, 35, 3639, 1033, 14267, 31, 3639, 1659, 618, 31, 3639, 775, 288, 5411, 309, 261, 5990, 1276, 7704, 1396, 13, 288, 7734, 7704, 1396, 9107, 273, 261, 3381, 1396, 13, 3140, 31, 7734, 14267, 273, 9107, 18, 11990, 18, 14407, 12, 6290, 921, 16, 7739, 5576, 18, 5531, 2615, 1769, 7734, 618, 273, 9107, 18, 11990, 18, 588, 9102, 5621, 5411, 289, 469, 288, 7734, 2286, 652, 273, 261, 974, 13, 3140, 31, 7734, 14267, 273, 652, 18, 588, 12, 291, 5788, 692, 446, 294, 2252, 921, 1769, 7734, 618, 273, 652, 18, 588, 559, 5621, 5411, 289, 3639, 289, 1044, 261, 12195, 9773, 4078, 424, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 336, 12, 3651, 429, 2146, 16, 514, 508, 16, 1033, 2252, 921, 16, 9079, 1250, 16116, 13, 565, 288, 3639, 18559, 14049, 273, 16116, 692, 760, 6918, 294, 4833, 31, 3639, 1033, 3140, 273, 14049, 18, 588, 12, 529, 1769, 3639, 309, 16051, 291, 5788, 597, 3140, 422, 446, 13, 288, 5411, 368, 6161, 358, 336, 760, 3140, 628, 791, 261, 13394, 23, 13, 5411, 3140, 273, 760, 6918, 18, 588, 12, 529, 1769, 3639, 289, 3639, 309, 261, 5990, 422, 446, 13, 288, 5411, 3140, 273, 333, 18, 588, 17186, 2083, 12, 4887, 16, 508, 16, 4766, 9079, 2252, 921, 16, 16116, 1769, 5411, 309, 261, 5990, 422, 446, 13, 7734, 327, 22780, 18, 4400, 67, 2 ]
public Preferences getPreferences() { return new PreferencesHelper(workspaceRoot).getPreferences(); }
public Preferences getPreferences() { return preferences; }
public Preferences getPreferences() { return new PreferencesHelper(workspaceRoot).getPreferences(); }
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/20ce4291e66714bf3e247fd859433dc7113a0ed4/WorkspaceHelper.java/buggy/client-model/src/main/java/com/thinkparity/model/parity/model/workspace/WorkspaceHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 28310, 336, 12377, 1435, 288, 9506, 202, 2463, 394, 28310, 2276, 12, 14915, 2375, 2934, 588, 12377, 5621, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 28310, 336, 12377, 1435, 288, 9506, 202, 2463, 394, 28310, 2276, 12, 14915, 2375, 2934, 588, 12377, 5621, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
k.attach (att);
if (att != null) key.attach(att);
public final SelectionKey register (Selector selin, int ops, Object att) throws ClosedChannelException { if (!isOpen ()) throw new ClosedChannelException(); SelectionKey k = null; AbstractSelector selector = (AbstractSelector) selin; synchronized (LOCK) { k = locate (selector); if (k != null) { k.attach (att); } else { k = selector.register (this, ops, att); if (k != null) add (k); } } return k; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelectableChannel.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelectableChannel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 12977, 653, 1744, 261, 4320, 357, 267, 16, 509, 6727, 16, 1033, 2403, 13, 565, 1216, 25582, 2909, 503, 225, 288, 565, 309, 16051, 291, 3678, 1832, 13, 1377, 604, 394, 25582, 2909, 503, 5621, 565, 12977, 653, 417, 273, 446, 31, 565, 4115, 4320, 3451, 273, 261, 7469, 4320, 13, 357, 267, 31, 565, 3852, 261, 6589, 13, 1377, 288, 3639, 417, 273, 10627, 261, 9663, 1769, 3639, 309, 261, 79, 480, 446, 13, 1850, 288, 5411, 309, 261, 4558, 480, 446, 13, 498, 18, 7331, 12, 4558, 1769, 1850, 289, 3639, 469, 1850, 288, 5411, 417, 273, 3451, 18, 4861, 261, 2211, 16, 6727, 16, 2403, 1769, 377, 1082, 5411, 309, 261, 79, 480, 446, 13, 2868, 527, 261, 79, 1769, 1850, 289, 1377, 289, 565, 327, 417, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 12977, 653, 1744, 261, 4320, 357, 267, 16, 509, 6727, 16, 1033, 2403, 13, 565, 1216, 25582, 2909, 503, 225, 288, 565, 309, 16051, 291, 3678, 1832, 13, 1377, 604, 394, 25582, 2909, 503, 5621, 565, 12977, 653, 417, 273, 446, 31, 565, 4115, 4320, 3451, 273, 261, 7469, 4320, 13, 357, 267, 31, 565, 3852, 261, 6589, 13, 1377, 288, 3639, 417, 273, 10627, 261, 9663, 1769, 3639, 309, 261, 79, 480, 446, 13, 1850, 288, 5411, 309, 261, 4558, 480, 446, 13, 498, 18, 7331, 12, 4558, 1769, 1850, 289, 3639, 469, 1850, 288, 5411, 417, 273, 3451, 18, 4861, 261, 2211, 16, 6727, 16, 2403, 1769, 377, 1082, 5411, 309, 261, 79, 480, 2 ]
titleRow(suite.getName(),7);
titleRow( suite.getName(), 7);
private void summarize(List<ISuite> suites) { tableStart( "param"); out.print("<tr><th>Test</th>"); tableColumnStart("Methods<br/>Passed"); tableColumnStart("Scenarios<br/>Passed"); tableColumnStart("# skipped"); tableColumnStart("# failed"); tableColumnStart("Total<br/>Time"); tableColumnStart("Included<br/>Groups"); tableColumnStart("Excluded<br/>Groups"); out.println("</tr>"); NumberFormat formatter=new DecimalFormat("#,##0.0"); int qty_tests=0; int qty_pass_m=0; int qty_pass_s=0; int qty_skip=0; int qty_fail=0; long time_start=Long.MAX_VALUE; long time_end=Long.MIN_VALUE; for(ISuite suite:suites) { if(suites.size()>1) { titleRow(suite.getName(),7); } Map<String,ISuiteResult> tests=suite.getResults(); for(ISuiteResult r : tests.values()) { qty_tests+=1; ITestContext overview=r.getTestContext(); startSummaryRow(overview.getName()); int q=getMethodSet(overview.getPassedTests()).size(); qty_pass_m+=q; summaryCell(q); q=overview.getPassedTests().size(); qty_pass_s+=q; summaryCell(q); q=getMethodSet(overview.getSkippedTests()).size(); qty_skip+=q; summaryCell(q); q=getMethodSet(overview.getFailedTests()).size(); qty_fail+=q; summaryCell(q); time_start=Math.min(overview.getStartDate().getTime(),time_start); time_end=Math.max(overview.getEndDate().getTime(),time_end); summaryCell(formatter.format( (overview.getEndDate().getTime()-overview.getStartDate().getTime())/1000.) +" seconds"); summaryCell(overview.getIncludedGroups()); summaryCell(overview.getExcludedGroups()); out.println("</tr>"); } } if(qty_tests>1) { out.println("<tr class=\"total\"><td>Total</td>"); summaryCell(qty_pass_m); summaryCell(qty_pass_s); summaryCell(qty_skip); summaryCell(qty_fail); summaryCell(formatter.format( (time_end-time_start)/1000.) +" seconds"); out.println("<td colspan=\"2\">&nbsp;</td></tr>"); out.println("</table>"); } }
47060 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47060/2c30372d5bda4ec1fa4ac94eaa43d64f3e1d0a1a/EmailableReporter.java/clean/src/main/org/testng/reporters/EmailableReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 28712, 12, 682, 32, 5127, 9519, 34, 27208, 13, 225, 288, 565, 1014, 1685, 12, 1377, 315, 891, 8863, 565, 596, 18, 1188, 2932, 32, 313, 4438, 451, 34, 4709, 1757, 451, 2984, 1769, 565, 1014, 1494, 1685, 2932, 4712, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 1541, 18087, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 7, 9700, 8863, 565, 1014, 1494, 1685, 2932, 7, 2535, 8863, 565, 1014, 1494, 1685, 2932, 5269, 32, 2848, 21259, 950, 8863, 565, 1014, 1494, 1685, 2932, 19323, 32, 2848, 21259, 3621, 8863, 565, 1014, 1494, 1685, 2932, 16461, 32, 2848, 21259, 3621, 8863, 565, 596, 18, 8222, 2932, 1757, 313, 2984, 1769, 565, 29587, 4453, 33, 2704, 29665, 2932, 7, 16, 1189, 20, 18, 20, 8863, 565, 509, 26667, 67, 16341, 33, 20, 31, 565, 509, 26667, 67, 5466, 67, 81, 33, 20, 31, 565, 509, 26667, 67, 5466, 67, 87, 33, 20, 31, 565, 509, 26667, 67, 7457, 33, 20, 31, 565, 509, 26667, 67, 6870, 33, 20, 31, 565, 1525, 813, 67, 1937, 33, 3708, 18, 6694, 67, 4051, 31, 565, 1525, 813, 67, 409, 33, 3708, 18, 6236, 67, 4051, 31, 565, 364, 12, 5127, 9519, 11371, 30, 26560, 2997, 13, 288, 1377, 309, 12, 26560, 2997, 18, 1467, 1435, 34, 21, 13, 288, 3639, 2077, 1999, 12, 11371, 18, 17994, 9334, 2371, 1769, 1377, 289, 1377, 1635, 32, 780, 16, 5127, 9519, 1253, 34, 7434, 33, 30676, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 28712, 12, 682, 32, 5127, 9519, 34, 27208, 13, 225, 288, 565, 1014, 1685, 12, 1377, 315, 891, 8863, 565, 596, 18, 1188, 2932, 32, 313, 4438, 451, 34, 4709, 1757, 451, 2984, 1769, 565, 1014, 1494, 1685, 2932, 4712, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 1541, 18087, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 7, 9700, 8863, 565, 1014, 1494, 1685, 2932, 7, 2535, 8863, 565, 1014, 1494, 1685, 2932, 5269, 32, 2848, 21259, 950, 8863, 565, 1014, 1494, 1685, 2932, 19323, 32, 2848, 21259, 3621, 8863, 565, 1014, 1494, 1685, 2932, 16461, 32, 2848, 21259, 3621, 8863, 565, 596, 18, 8222, 2932, 1757, 313, 2984, 1769, 565, 2 ]
cx = UnitProcessor.svgToUserSpace(s, svgElement, UnitProcessor.HORIZONTAL_LENGTH, uctx);
cx = SVGUtilities.svgToUserSpace(svgElement, ATTR_CX, s, uctx, UnitProcessor.HORIZONTAL_LENGTH);
protected Shape createShape(BridgeContext ctx, SVGElement svgElement, CSSStyleDeclaration decl, UnitProcessor.Context uctx) { // parse the cx attribute, (default is 0) String s = svgElement.getAttributeNS(null, ATTR_CX); float cx = 0; if (s.length() != 0) { cx = UnitProcessor.svgToUserSpace(s, svgElement, UnitProcessor.HORIZONTAL_LENGTH, uctx); } // parse the cy attribute, (default is 0) s = svgElement.getAttributeNS(null, ATTR_CY); float cy = 0; if (s.length() != 0) { cy = UnitProcessor.svgToUserSpace(s, svgElement, UnitProcessor.VERTICAL_LENGTH, uctx); } // parse the rx attribute, (required and must be positive) s = svgElement.getAttributeNS(null, ATTR_RX); float rx; if (s.length() == 0) { throw new MissingAttributeException( Messages.formatMessage("ellipse.rx.required", null)); } else { rx = UnitProcessor.svgToUserSpace(s, svgElement, UnitProcessor.HORIZONTAL_LENGTH, uctx); if (rx < 0) { throw new IllegalAttributeValueException( Messages.formatMessage("ellipse.rx.negative", null)); } } // parse the ry attribute, (required and must be positive) s = svgElement.getAttributeNS(null, ATTR_RY); float ry; if (s.length() == 0) { throw new MissingAttributeException( Messages.formatMessage("ellipse.ry.required", null)); } else { ry = UnitProcessor.svgToUserSpace(s, svgElement, UnitProcessor.VERTICAL_LENGTH, uctx); if (ry < 0) { throw new IllegalAttributeValueException( Messages.formatMessage("ellipse.ry.negative", null)); } } float x = cx - rx; float y = cy - ry; return new Ellipse2D.Float(x, y, rx*2, ry*2); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/94eb1826d4d8a3c54ea7f79fdb50ab133be0dc95/SVGEllipseElementBridge.java/buggy/sources/org/apache/batik/refimpl/bridge/SVGEllipseElementBridge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 12383, 752, 8500, 12, 13691, 1042, 1103, 16, 27573, 11281, 1046, 9804, 1046, 16, 27573, 6765, 2885, 6094, 3496, 16, 27573, 8380, 5164, 18, 1042, 582, 5900, 13, 288, 3639, 368, 1109, 326, 9494, 1566, 16, 261, 1886, 353, 374, 13, 3639, 514, 272, 273, 9804, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 12759, 67, 39, 60, 1769, 3639, 1431, 9494, 273, 374, 31, 3639, 309, 261, 87, 18, 2469, 1435, 480, 374, 13, 288, 5411, 9494, 273, 8380, 5164, 18, 11451, 774, 1299, 3819, 12, 87, 16, 4766, 2868, 9804, 1046, 16, 4766, 2868, 8380, 5164, 18, 44, 20344, 67, 7096, 16, 4766, 2868, 582, 5900, 1769, 3639, 289, 3639, 368, 1109, 326, 6143, 1566, 16, 261, 1886, 353, 374, 13, 3639, 272, 273, 9804, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 12759, 67, 16068, 1769, 3639, 1431, 6143, 273, 374, 31, 3639, 309, 261, 87, 18, 2469, 1435, 480, 374, 13, 288, 5411, 6143, 273, 8380, 5164, 18, 11451, 774, 1299, 3819, 12, 87, 16, 4766, 2868, 9804, 1046, 16, 4766, 2868, 8380, 5164, 18, 21654, 10109, 67, 7096, 16, 4766, 2868, 582, 5900, 1769, 3639, 289, 3639, 368, 1109, 326, 8581, 1566, 16, 261, 4718, 471, 1297, 506, 6895, 13, 3639, 272, 273, 9804, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 12759, 67, 54, 60, 1769, 3639, 1431, 8581, 31, 3639, 309, 261, 87, 18, 2469, 1435, 422, 374, 13, 288, 5411, 604, 394, 10230, 1499, 503, 12, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 12383, 752, 8500, 12, 13691, 1042, 1103, 16, 27573, 11281, 1046, 9804, 1046, 16, 27573, 6765, 2885, 6094, 3496, 16, 27573, 8380, 5164, 18, 1042, 582, 5900, 13, 288, 3639, 368, 1109, 326, 9494, 1566, 16, 261, 1886, 353, 374, 13, 3639, 514, 272, 273, 9804, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 12759, 67, 39, 60, 1769, 3639, 1431, 9494, 273, 374, 31, 3639, 309, 261, 87, 18, 2469, 1435, 480, 374, 13, 288, 5411, 9494, 273, 8380, 5164, 18, 11451, 774, 1299, 3819, 12, 87, 16, 4766, 2868, 9804, 1046, 16, 4766, 2868, 8380, 5164, 18, 44, 20344, 67, 7096, 16, 4766, 2868, 582, 5900, 1769, 3639, 289, 3639, 368, 1109, 326, 6143, 1566, 2 ]
public void waitForPlayers() { m_messenger.addMessageListener(m_messageListener); m_messenger.addErrorListener(m_messengerErrorListener); m_messenger.setConnectionAccepter(m_connectionAccepter); m_messenger.setAcceptNewConnections(true); try { synchronized(m_lock) { m_lock.wait(); } } catch(InterruptedException ie) { ie.printStackTrace(); } m_messenger.setAcceptNewConnections(false); m_messenger.setConnectionAccepter(null); m_messenger.removeMessageListener(m_messageListener); m_messenger.removeErrorListener(m_messengerErrorListener); }
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/65dc97c8bd1d73da6a21d79d5ad468e6bb971a9b/ServerStartup.java/clean/src/games/strategy/engine/framework/ui/ServerStartup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10712, 1749, 3907, 1435, 202, 95, 202, 202, 81, 67, 81, 18912, 18, 1289, 1079, 2223, 12, 81, 67, 2150, 2223, 1769, 202, 202, 81, 67, 81, 18912, 18, 1289, 668, 2223, 12, 81, 67, 81, 18912, 668, 2223, 1769, 9506, 202, 81, 67, 81, 18912, 18, 542, 1952, 5933, 264, 12, 81, 67, 4071, 5933, 264, 1769, 202, 202, 81, 67, 81, 18912, 18, 542, 5933, 1908, 9314, 12, 3767, 1769, 9506, 202, 698, 202, 202, 95, 1082, 202, 22043, 12, 81, 67, 739, 13, 1082, 202, 95, 9506, 202, 81, 67, 739, 18, 7048, 5621, 1082, 202, 97, 6862, 202, 97, 1044, 12, 24485, 503, 9228, 13, 202, 202, 95, 1082, 202, 1385, 18, 1188, 6332, 5621, 202, 202, 97, 9506, 202, 81, 67, 81, 18912, 18, 542, 5933, 1908, 9314, 12, 5743, 1769, 202, 202, 81, 67, 81, 18912, 18, 542, 1952, 5933, 264, 12, 2011, 1769, 9506, 202, 81, 67, 81, 18912, 18, 4479, 1079, 2223, 12, 81, 67, 2150, 2223, 1769, 202, 202, 81, 67, 81, 18912, 18, 4479, 668, 2223, 12, 81, 67, 81, 18912, 668, 2223, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10712, 1749, 3907, 1435, 202, 95, 202, 202, 81, 67, 81, 18912, 18, 1289, 1079, 2223, 12, 81, 67, 2150, 2223, 1769, 202, 202, 81, 67, 81, 18912, 18, 1289, 668, 2223, 12, 81, 67, 81, 18912, 668, 2223, 1769, 9506, 202, 81, 67, 81, 18912, 18, 542, 1952, 5933, 264, 12, 81, 67, 4071, 5933, 264, 1769, 202, 202, 81, 67, 81, 18912, 18, 542, 5933, 1908, 9314, 12, 3767, 1769, 9506, 202, 698, 202, 202, 95, 1082, 202, 22043, 12, 81, 67, 739, 13, 1082, 202, 95, 9506, 202, 81, 67, 739, 18, 7048, 5621, 1082, 202, 97, 6862, 202, 97, 1044, 12, 24485, 503, 9228, 13, 202, 202, 95, 1082, 202, 1385, 2 ]
public AttributeDescr agenda_group() throws RecognitionException { AttributeDescr d; Token loc=null; Token name=null; d = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:508:17: (loc= 'agenda-group' opt_eol name= STRING ( ';' )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:508:17: loc= 'agenda-group' opt_eol name= STRING ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,37,FOLLOW_37_in_agenda_group1160); following.push(FOLLOW_opt_eol_in_agenda_group1162); opt_eol(); following.pop(); name=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_agenda_group1166); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:508:56: ( ';' )? int alt38=2; int LA38_0 = input.LA(1); if ( LA38_0==15 ) { alt38=1; } else if ( LA38_0==EOL||LA38_0==22||LA38_0==27||LA38_0==29||LA38_0==31||(LA38_0>=33 && LA38_0<=38) ) { alt38=2; } else { NoViableAltException nvae = new NoViableAltException("508:56: ( \';\' )?", 38, 0, input); throw nvae; } switch (alt38) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:508:56: ';' { match(input,15,FOLLOW_15_in_agenda_group1168); } break; } following.push(FOLLOW_opt_eol_in_agenda_group1171); opt_eol(); following.pop(); d = new AttributeDescr( "agenda-group", getString( name ) ); d.setLocation( loc.getLine(), loc.getCharPositionInLine() ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/297a1e0ef2967d8b4f7be9c022102a5a56e97489/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 28809, 67, 1655, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 508, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3361, 28, 30, 4033, 30, 261, 1829, 33, 296, 346, 18883, 17, 1655, 11, 2153, 67, 30951, 508, 33, 9469, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3361, 28, 30, 4033, 30, 1515, 33, 296, 346, 18883, 17, 1655, 11, 2153, 67, 30951, 508, 33, 9469, 261, 7554, 7851, 2153, 67, 30951, 5411, 288, 5411, 1515, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 6418, 16, 29890, 67, 6418, 67, 267, 67, 346, 18883, 67, 1655, 21, 16874, 1769, 2398, 3751, 18, 6206, 12, 29890, 67, 3838, 67, 30951, 67, 267, 67, 346, 18883, 67, 1655, 20562, 22, 1769, 5411, 2153, 67, 30951, 5621, 5411, 3751, 18, 5120, 5621, 5411, 508, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 5804, 16, 29890, 67, 5804, 67, 267, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 28809, 67, 1655, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 508, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3361, 28, 30, 4033, 30, 261, 1829, 33, 296, 346, 18883, 17, 1655, 11, 2153, 67, 30951, 508, 33, 9469, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 2 ]
if( a2update < NUM_OVERSHOOT_BYTES )
if( a2update < NUM_OVERSHOOT_BYTES ) {
private void mainSort() { int i; int j; int ss; int sb; int runningOrder[] = new int[ 256 ]; int copy[] = new int[ 256 ]; boolean bigDone[] = new boolean[ 256 ]; int c1; int c2; int numQSorted; /* * In the various block-sized structures, live data runs * from 0 to last+NUM_OVERSHOOT_BYTES inclusive. First, * set up the overshoot area for block. */ // if (verbosity >= 4) fprintf ( stderr, " sort initialise ...\n" ); for( i = 0; i < NUM_OVERSHOOT_BYTES; i++ ) block[ last + i + 2 ] = block[ ( i % ( last + 1 ) ) + 1 ]; for( i = 0; i <= last + NUM_OVERSHOOT_BYTES; i++ ) quadrant[ i ] = 0; block[ 0 ] = (char)( block[ last + 1 ] ); if( last < 4000 ) { /* * Use simpleSort(), since the full sorting mechanism * has quite a large constant overhead. */ for( i = 0; i <= last; i++ ) zptr[ i ] = i; firstAttempt = false; workDone = workLimit = 0; simpleSort( 0, last, 0 ); } else { numQSorted = 0; for( i = 0; i <= 255; i++ ) bigDone[ i ] = false; for( i = 0; i <= 65536; i++ ) ftab[ i ] = 0; c1 = block[ 0 ]; for( i = 0; i <= last; i++ ) { c2 = block[ i + 1 ]; ftab[ ( c1 << 8 ) + c2 ]++; c1 = c2; } for( i = 1; i <= 65536; i++ ) ftab[ i ] += ftab[ i - 1 ]; c1 = block[ 1 ]; for( i = 0; i < last; i++ ) { c2 = block[ i + 2 ]; j = ( c1 << 8 ) + c2; c1 = c2; ftab[ j ]--; zptr[ ftab[ j ] ] = i; } j = ( ( block[ last + 1 ] ) << 8 ) + ( block[ 1 ] ); ftab[ j ]--; zptr[ ftab[ j ] ] = last; /* * Now ftab contains the first loc of every small bucket. * Calculate the running order, from smallest to largest * big bucket. */ for( i = 0; i <= 255; i++ ) runningOrder[ i ] = i; { int vv; int h = 1; do h = 3 * h + 1; while( h <= 256 ); do { h = h / 3; for( i = h; i <= 255; i++ ) { vv = runningOrder[ i ]; j = i; while( ( ftab[ ( ( runningOrder[ j - h ] ) + 1 ) << 8 ] - ftab[ ( runningOrder[ j - h ] ) << 8 ] ) > ( ftab[ ( ( vv ) + 1 ) << 8 ] - ftab[ ( vv ) << 8 ] ) ) { runningOrder[ j ] = runningOrder[ j - h ]; j = j - h; if( j <= ( h - 1 ) ) break; } runningOrder[ j ] = vv; } } while( h != 1 ); } /* * The main sorting loop. */ for( i = 0; i <= 255; i++ ) { /* * Process big buckets, starting with the least full. */ ss = runningOrder[ i ]; /* * Complete the big bucket [ss] by quicksorting * any unsorted small buckets [ss, j]. Hopefully * previous pointer-scanning phases have already * completed many of the small buckets [ss, j], so * we don't have to sort them at all. */ for( j = 0; j <= 255; j++ ) { sb = ( ss << 8 ) + j; if( !( ( ftab[ sb ] & SETMASK ) == SETMASK ) ) { int lo = ftab[ sb ] & CLEARMASK; int hi = ( ftab[ sb + 1 ] & CLEARMASK ) - 1; if( hi > lo ) { qSort3( lo, hi, 2 ); numQSorted += ( hi - lo + 1 ); if( workDone > workLimit && firstAttempt ) return; } ftab[ sb ] |= SETMASK; } } /* * The ss big bucket is now done. Record this fact, * and update the quadrant descriptors. Remember to * update quadrants in the overshoot area too, if * necessary. The "if (i < 255)" test merely skips * this updating for the last bucket processed, since * updating for the last bucket is pointless. */ bigDone[ ss ] = true; if( i < 255 ) { int bbStart = ftab[ ss << 8 ] & CLEARMASK; int bbSize = ( ftab[ ( ss + 1 ) << 8 ] & CLEARMASK ) - bbStart; int shifts = 0; while( ( bbSize >> shifts ) > 65534 ) shifts++; for( j = 0; j < bbSize; j++ ) { int a2update = zptr[ bbStart + j ]; int qVal = ( j >> shifts ); quadrant[ a2update ] = qVal; if( a2update < NUM_OVERSHOOT_BYTES ) quadrant[ a2update + last + 1 ] = qVal; } if( !( ( ( bbSize - 1 ) >> shifts ) <= 65535 ) ) panic(); } /* * Now scan this big bucket so as to synthesise the * sorted order for small buckets [t, ss] for all t != ss. */ for( j = 0; j <= 255; j++ ) copy[ j ] = ftab[ ( j << 8 ) + ss ] & CLEARMASK; for( j = ftab[ ss << 8 ] & CLEARMASK; j < ( ftab[ ( ss + 1 ) << 8 ] & CLEARMASK ); j++ ) { c1 = block[ zptr[ j ] ]; if( !bigDone[ c1 ] ) { zptr[ copy[ c1 ] ] = zptr[ j ] == 0 ? last : zptr[ j ] - 1; copy[ c1 ]++; } } for( j = 0; j <= 255; j++ ) ftab[ ( j << 8 ) + ss ] |= SETMASK; } } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/8ce1de2178a0422105fa437c327b49fb5637ff28/CBZip2OutputStream.java/buggy/proposal/myrmidon/src/java/org/apache/aut/bzip2/CBZip2OutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2774, 4416, 1435, 565, 288, 3639, 509, 277, 31, 3639, 509, 525, 31, 3639, 509, 5202, 31, 3639, 509, 2393, 31, 3639, 509, 3549, 2448, 8526, 273, 394, 509, 63, 8303, 308, 31, 3639, 509, 1610, 8526, 273, 394, 509, 63, 8303, 308, 31, 3639, 1250, 5446, 7387, 8526, 273, 394, 1250, 63, 8303, 308, 31, 3639, 509, 276, 21, 31, 3639, 509, 276, 22, 31, 3639, 509, 818, 53, 11739, 31, 3639, 1748, 540, 380, 657, 326, 11191, 1203, 17, 87, 1235, 12597, 16, 8429, 501, 7597, 540, 380, 628, 374, 358, 1142, 15, 6069, 67, 12959, 2664, 51, 1974, 67, 13718, 13562, 18, 225, 5783, 16, 540, 380, 444, 731, 326, 28327, 76, 1632, 5091, 364, 1203, 18, 540, 1195, 3639, 368, 282, 309, 261, 16629, 8807, 1545, 1059, 13, 284, 1461, 261, 4514, 16, 315, 3639, 1524, 21301, 1372, 64, 82, 6, 11272, 3639, 364, 12, 277, 273, 374, 31, 277, 411, 9443, 67, 12959, 2664, 51, 1974, 67, 13718, 31, 277, 9904, 262, 5411, 1203, 63, 1142, 397, 277, 397, 576, 308, 273, 1203, 63, 261, 277, 738, 261, 1142, 397, 404, 262, 262, 397, 404, 308, 31, 3639, 364, 12, 277, 273, 374, 31, 277, 1648, 1142, 397, 9443, 67, 12959, 2664, 51, 1974, 67, 13718, 31, 277, 9904, 262, 5411, 9474, 6890, 63, 277, 308, 273, 374, 31, 3639, 1203, 63, 374, 308, 273, 261, 3001, 21433, 1203, 63, 1142, 397, 404, 308, 11272, 3639, 309, 12, 1142, 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, 2774, 4416, 1435, 565, 288, 3639, 509, 277, 31, 3639, 509, 525, 31, 3639, 509, 5202, 31, 3639, 509, 2393, 31, 3639, 509, 3549, 2448, 8526, 273, 394, 509, 63, 8303, 308, 31, 3639, 509, 1610, 8526, 273, 394, 509, 63, 8303, 308, 31, 3639, 1250, 5446, 7387, 8526, 273, 394, 1250, 63, 8303, 308, 31, 3639, 509, 276, 21, 31, 3639, 509, 276, 22, 31, 3639, 509, 818, 53, 11739, 31, 3639, 1748, 540, 380, 657, 326, 11191, 1203, 17, 87, 1235, 12597, 16, 8429, 501, 7597, 540, 380, 628, 374, 358, 1142, 15, 6069, 67, 12959, 2664, 51, 1974, 67, 13718, 13562, 18, 225, 5783, 16, 540, 380, 444, 731, 326, 28327, 76, 1632, 2 ]
String username = userinfo.substring(0, separatorPosition); String password = userinfo.substring(separatorPosition + 1);
String username = separatorPosition == -1 ? userinfo : userinfo.substring(0, separatorPosition); String password = separatorPosition == -1 ? "" : userinfo.substring(separatorPosition + 1);
public void connect() throws IOException { if (!connected) { String userinfo = url.getUserInfo(); HttpClient client = new HttpClient(); if (userinfo != null) { // Set username and password int separatorPosition = userinfo.indexOf(":"); String username = userinfo.substring(0, separatorPosition); String password = userinfo.substring(separatorPosition + 1); client.getState().setCredentials( new AuthScope(url.getHost(), 80), new UsernamePasswordCredentials(username, password) ); } // If method has not been set, use GET if (method == null) method = new GetMethod(url.toString()); // Create request entity with body if (requestBody != null && method instanceof EntityEnclosingMethod) { HandlerRequestEntity requestEntity = new HandlerRequestEntity(requestBody, getRequestProperty("content-type")); ((EntityEnclosingMethod) method).setRequestEntity(requestEntity); } // Set headers for (Iterator keyIteratory = requestProperties.keySet().iterator(); keyIteratory.hasNext();) { String key = (String) keyIteratory.next(); method.setRequestHeader(key, (String) requestProperties.get(key)); } // Handle authentication challenge method.setDoAuthentication(true); // Make request responseCode = client.executeMethod(method); connected = true; } }
10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/e293e016a76409736afea46c48d0d7acf78fd952/HTTPURLConnection.java/buggy/src/java/org/orbeon/oxf/resources/handler/HTTPURLConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3077, 1435, 1216, 1860, 288, 3639, 309, 16051, 8537, 13, 288, 5411, 514, 18297, 273, 880, 18, 588, 21015, 5621, 5411, 16308, 1004, 273, 394, 16308, 5621, 5411, 309, 261, 31271, 480, 446, 13, 288, 7734, 368, 1000, 2718, 471, 2201, 7734, 509, 4182, 2555, 273, 18297, 18, 31806, 2932, 2773, 1769, 7734, 514, 2718, 273, 18297, 18, 28023, 12, 20, 16, 4182, 2555, 1769, 7734, 514, 2201, 273, 18297, 18, 28023, 12, 11287, 2555, 397, 404, 1769, 7734, 1004, 18, 588, 1119, 7675, 542, 6163, 12, 10792, 394, 3123, 3876, 12, 718, 18, 588, 2594, 9334, 8958, 3631, 10792, 394, 11313, 3913, 6163, 12, 5053, 16, 2201, 13, 7734, 11272, 5411, 289, 5411, 368, 971, 707, 711, 486, 2118, 444, 16, 999, 4978, 5411, 309, 261, 2039, 422, 446, 13, 7734, 707, 273, 394, 968, 1305, 12, 718, 18, 10492, 10663, 5411, 368, 1788, 590, 1522, 598, 1417, 5411, 309, 261, 2293, 2250, 480, 446, 597, 707, 1276, 3887, 21594, 1305, 13, 288, 7734, 4663, 691, 1943, 590, 1943, 273, 394, 4663, 691, 1943, 12, 2293, 2250, 16, 4328, 1396, 2932, 1745, 17, 723, 7923, 1769, 7734, 14015, 1943, 21594, 1305, 13, 707, 2934, 542, 691, 1943, 12, 2293, 1943, 1769, 5411, 289, 5411, 368, 1000, 1607, 5411, 364, 261, 3198, 498, 2360, 8452, 273, 590, 2297, 18, 856, 694, 7675, 9838, 5621, 498, 2360, 8452, 18, 5332, 2134, 5621, 13, 288, 7734, 514, 498, 273, 261, 780, 13, 498, 2360, 8452, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3077, 1435, 1216, 1860, 288, 3639, 309, 16051, 8537, 13, 288, 5411, 514, 18297, 273, 880, 18, 588, 21015, 5621, 5411, 16308, 1004, 273, 394, 16308, 5621, 5411, 309, 261, 31271, 480, 446, 13, 288, 7734, 368, 1000, 2718, 471, 2201, 7734, 509, 4182, 2555, 273, 18297, 18, 31806, 2932, 2773, 1769, 7734, 514, 2718, 273, 18297, 18, 28023, 12, 20, 16, 4182, 2555, 1769, 7734, 514, 2201, 273, 18297, 18, 28023, 12, 11287, 2555, 397, 404, 1769, 7734, 1004, 18, 588, 1119, 7675, 542, 6163, 12, 10792, 394, 3123, 3876, 12, 718, 18, 588, 2594, 9334, 8958, 3631, 10792, 394, 11313, 3913, 6163, 12, 5053, 16, 2201, 13, 7734, 11272, 5411, 289, 5411, 368, 971, 2 ]
gd.horizontalSpan = 2;
public void run() { GridLayout gl = new GridLayout(); gl.numColumns = 2; shell.setLayout(gl); GridData gd; worldGroup = new Group(shell, SWT.NONE); worldGroup.setLayout(new FillLayout()); visualWorld = new VisualWorld(worldGroup, SWT.NONE, kMainMapCellSize); updateWorldGroup(); gd = new GridData(); gd.widthHint = visualWorld.getWidth(); gd.heightHint = visualWorld.getHeight(); gd.verticalSpan = 3; worldGroup.setLayoutData(gd); visualWorld.addMouseListener(new MouseAdapter() { public void mouseDown(MouseEvent e) { Player eater = visualWorld.getPlayerAtPixel(e.x, e.y); if (eater == null) { return; } agentDisplay.selectPlayer(eater); } }); Group group1 = new Group(shell, SWT.NONE); gd = new GridData(); group1.setLayoutData(gd); group1.setText("Simulation"); group1.setLayout(new FillLayout()); simButtons = new SimulationButtons(group1); Group group2 = new Group(shell, SWT.NONE); gd = new GridData(); group2.setLayoutData(gd); group2.setText("Map"); gl = new GridLayout(); gl.numColumns = 2; group2.setLayout(gl); Label foodLabel = new Label(group2, SWT.NONE); gd = new GridData(); gd.horizontalSpan = 2; // FIXME: should remove this row completely foodLabel.setLayoutData(gd); foodLabel.setText(kFoodRemaining); Label scoreLabel = new Label(group2, SWT.NONE); gd = new GridData(); scoreLabel.setLayoutData(gd); scoreLabel.setText(kScoreRemaining); scoreCount = new Label(group2, SWT.NONE); gd = new GridData(); gd.widthHint = 50; scoreCount.setLayoutData(gd); updateFoodAndScoreCount(); mapButtons = new MapButtons(group2); gd = new GridData(); gd.horizontalSpan = 2; mapButtons.setLayoutData(gd); agentDisplay = new AgentDisplay(shell); gd = new GridData(); agentDisplay.setLayoutData(gd); VisualWorld.remapFoodColors(); VisualWorld.remapPlayerColors(); shell.setText("Java Eaters"); shell.setSize(shell.computeSize(SWT.DEFAULT, SWT.DEFAULT)); shell.addShellListener(new ShellAdapter() { public void shellDeactivated(ShellEvent e) { agentDisplay.worldChangeEvent(); visualWorld.redraw(); } public void shellActivated(ShellEvent e) { agentDisplay.worldChangeEvent(); visualWorld.setRepaint(); visualWorld.redraw(); } public void shellDeiconified(ShellEvent e) { agentDisplay.worldChangeEvent(); visualWorld.setRepaint(); visualWorld.redraw(); } }); shell.addControlListener(new ControlAdapter() { public void controlMoved(ControlEvent e) { agentDisplay.worldChangeEvent(); visualWorld.setRepaint(); visualWorld.redraw(); } public void controlResized(ControlEvent e) { agentDisplay.worldChangeEvent(); visualWorld.setRepaint(); visualWorld.redraw(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/63e7f26ee9f82326fb41caf0822be4b3ff094c2d/WindowManager.java/buggy/SoarSuite/Environments/Soar2D/src/soar2d/visuals/WindowManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 6313, 3744, 5118, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 18, 2107, 3380, 273, 576, 31, 202, 202, 10304, 18, 542, 3744, 12, 7043, 1769, 9506, 202, 6313, 751, 15551, 31, 9506, 202, 18179, 1114, 273, 394, 3756, 12, 10304, 16, 348, 8588, 18, 9826, 1769, 202, 202, 18179, 1114, 18, 542, 3744, 12, 2704, 14192, 3744, 10663, 202, 202, 26671, 18071, 273, 394, 26832, 18071, 12, 18179, 1114, 16, 348, 8588, 18, 9826, 16, 417, 6376, 863, 4020, 1225, 1769, 202, 202, 2725, 18071, 1114, 5621, 202, 202, 19016, 273, 394, 7145, 751, 5621, 202, 202, 19016, 18, 2819, 7002, 273, 11623, 18071, 18, 588, 2384, 5621, 202, 202, 19016, 18, 4210, 7002, 273, 11623, 18071, 18, 588, 2686, 5621, 202, 202, 19016, 18, 17824, 6952, 273, 890, 31, 202, 202, 18179, 1114, 18, 542, 3744, 751, 12, 19016, 1769, 202, 202, 26671, 18071, 18, 1289, 9186, 2223, 12, 2704, 17013, 4216, 1435, 288, 1082, 202, 482, 918, 7644, 4164, 12, 9186, 1133, 425, 13, 288, 9506, 202, 12148, 425, 2045, 273, 11623, 18071, 18, 588, 12148, 861, 9037, 12, 73, 18, 92, 16, 425, 18, 93, 1769, 9506, 202, 430, 261, 73, 2045, 422, 446, 13, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 5629, 4236, 18, 4025, 12148, 12, 73, 2045, 1769, 1082, 202, 97, 202, 202, 22938, 202, 202, 1114, 1041, 21, 273, 394, 3756, 12, 10304, 16, 348, 8588, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 6313, 3744, 5118, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 18, 2107, 3380, 273, 576, 31, 202, 202, 10304, 18, 542, 3744, 12, 7043, 1769, 9506, 202, 6313, 751, 15551, 31, 9506, 202, 18179, 1114, 273, 394, 3756, 12, 10304, 16, 348, 8588, 18, 9826, 1769, 202, 202, 18179, 1114, 18, 542, 3744, 12, 2704, 14192, 3744, 10663, 202, 202, 26671, 18071, 273, 394, 26832, 18071, 12, 18179, 1114, 16, 348, 8588, 18, 9826, 16, 417, 6376, 863, 4020, 1225, 1769, 202, 202, 2725, 18071, 1114, 5621, 202, 202, 19016, 273, 394, 7145, 751, 5621, 202, 202, 19016, 18, 2819, 7002, 273, 11623, 18071, 18, 588, 2384, 5621, 202, 2 ]
private Object get( Object o ) {
private Object get( final Object o ) {
private Object get( Object o ) { if( o instanceof Number ) { final Number n = (Number) o; final int i = n.intValue(); return get( i, this ); } else { final String key = String.valueOf( o ); return get( key, this ); } }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/ElementArray.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/ElementArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 336, 12, 727, 1033, 320, 262, 288, 3639, 309, 12, 320, 1276, 3588, 262, 288, 5411, 727, 3588, 290, 273, 261, 1854, 13, 320, 31, 5411, 727, 509, 277, 273, 290, 18, 474, 620, 5621, 5411, 327, 336, 12, 277, 16, 333, 11272, 3639, 289, 3639, 469, 288, 5411, 727, 514, 498, 273, 514, 18, 1132, 951, 12, 320, 11272, 5411, 327, 336, 12, 498, 16, 333, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 336, 12, 727, 1033, 320, 262, 288, 3639, 309, 12, 320, 1276, 3588, 262, 288, 5411, 727, 3588, 290, 273, 261, 1854, 13, 320, 31, 5411, 727, 509, 277, 273, 290, 18, 474, 620, 5621, 5411, 327, 336, 12, 277, 16, 333, 11272, 3639, 289, 3639, 469, 288, 5411, 727, 514, 498, 273, 514, 18, 1132, 951, 12, 320, 11272, 5411, 327, 336, 12, 498, 16, 333, 11272, 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 ]
this.javaClassCache = javaClassCache; }
this.javaClassCache = javaClassCache; }
public void setJavaClassCache(JavaClassCache javaClassCache) { this.javaClassCache = javaClassCache; }
2045 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2045/535f98248271a083250e6e13606282db97d185ef/JavaClass.java/clean/qdox/src/java/com/thoughtworks/qdox/model/JavaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 5852, 797, 1649, 12, 5852, 797, 1649, 2252, 797, 1649, 13, 288, 4202, 333, 18, 6290, 797, 1649, 273, 2252, 797, 1649, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 5852, 797, 1649, 12, 5852, 797, 1649, 2252, 797, 1649, 13, 288, 4202, 333, 18, 6290, 797, 1649, 273, 2252, 797, 1649, 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 ]
String parameterName; if (args[0] instanceof Literal && args[0].getType() == Category.String) { parameterName = (String) ((Literal) args[0]).getValue(); } else { throw newEvalException(dummyFunDef, "Parameter name must be a string constant"); } return new ParameterFunDef(dummyFunDef, parameterName, null, Category.Unknown, null, null); }
String parameterName; if (args[0] instanceof Literal && args[0].getType() == Category.String) { parameterName = (String) ((Literal) args[0]).getValue(); } else { throw newEvalException(dummyFunDef, "Parameter name must be a string constant"); } return new ParameterFunDef(dummyFunDef, parameterName, null, Category.Unknown, null, null); }
protected FunDef createFunDef(Exp[] args, FunDef dummyFunDef) { String parameterName; if (args[0] instanceof Literal && args[0].getType() == Category.String) { parameterName = (String) ((Literal) args[0]).getValue(); } else { throw newEvalException(dummyFunDef, "Parameter name must be a string constant"); } return new ParameterFunDef(dummyFunDef, parameterName, null, Category.Unknown, null, null); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 478, 318, 3262, 752, 22783, 3262, 12, 2966, 8526, 833, 16, 478, 318, 3262, 9609, 22783, 3262, 13, 288, 9506, 202, 780, 15524, 31, 9506, 202, 430, 261, 1968, 63, 20, 65, 1276, 14392, 597, 25083, 202, 1968, 63, 20, 8009, 588, 559, 1435, 422, 9856, 18, 780, 13, 288, 6862, 202, 6775, 461, 273, 261, 780, 13, 14015, 6177, 13, 833, 63, 20, 65, 2934, 24805, 5621, 9506, 202, 97, 469, 288, 6862, 202, 12849, 394, 13904, 503, 12, 21050, 22783, 3262, 16, 315, 1662, 508, 1297, 506, 279, 533, 5381, 8863, 9506, 202, 97, 9506, 202, 2463, 394, 5498, 22783, 3262, 12, 21050, 22783, 3262, 16, 15524, 16, 446, 16, 9856, 18, 4874, 16, 446, 16, 446, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 478, 318, 3262, 752, 22783, 3262, 12, 2966, 8526, 833, 16, 478, 318, 3262, 9609, 22783, 3262, 13, 288, 9506, 202, 780, 15524, 31, 9506, 202, 430, 261, 1968, 63, 20, 65, 1276, 14392, 597, 25083, 202, 1968, 63, 20, 8009, 588, 559, 1435, 422, 9856, 18, 780, 13, 288, 6862, 202, 6775, 461, 273, 261, 780, 13, 14015, 6177, 13, 833, 63, 20, 65, 2934, 24805, 5621, 9506, 202, 97, 469, 288, 6862, 202, 12849, 394, 13904, 503, 12, 21050, 22783, 3262, 16, 315, 1662, 508, 1297, 506, 279, 533, 5381, 8863, 9506, 202, 97, 9506, 202, 2463, 394, 5498, 22783, 3262, 12, 21050, 22783, 3262, 16, 15524, 16, 446, 16, 9856, 18, 4874, 16, 2 ]
protected abstract void sendOutboundScriptPrefix(PrintWriter out) throws IOException;
protected abstract void sendOutboundScriptPrefix(PrintWriter out, String batchId) throws IOException;
protected abstract void sendOutboundScriptPrefix(PrintWriter out) throws IOException;
45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/7de576ce477a96152764438d826cfc156cdf2a6a/BaseCallMarshaller.java/buggy/java/org/directwebremoting/dwrp/BaseCallMarshaller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8770, 918, 1366, 17873, 3651, 2244, 12, 5108, 2289, 596, 13, 1216, 1860, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8770, 918, 1366, 17873, 3651, 2244, 12, 5108, 2289, 596, 13, 1216, 1860, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Integer layer = getLayer (c); decrLayer (layer);
int layer = getLayer (c); decrLayer (new Integer(layer));
public void remove (int index) { Component c = getComponent (index); Integer layer = getLayer (c); decrLayer (layer); componentToLayer.remove (c); super.remove (index); revalidate(); repaint(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/9e763280cf1369c9681ea91b32ae758840a76dc3/JLayeredPane.java/buggy/core/src/classpath/javax/javax/swing/JLayeredPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1206, 261, 474, 770, 13, 225, 288, 565, 5435, 276, 273, 10322, 261, 1615, 1769, 565, 2144, 3018, 273, 25763, 261, 71, 1769, 565, 2109, 86, 4576, 261, 6363, 1769, 565, 1794, 774, 4576, 18, 4479, 261, 71, 1769, 565, 2240, 18, 4479, 261, 1615, 1769, 565, 283, 5662, 5621, 565, 24962, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1206, 261, 474, 770, 13, 225, 288, 565, 5435, 276, 273, 10322, 261, 1615, 1769, 565, 2144, 3018, 273, 25763, 261, 71, 1769, 565, 2109, 86, 4576, 261, 6363, 1769, 565, 1794, 774, 4576, 18, 4479, 261, 71, 1769, 565, 2240, 18, 4479, 261, 1615, 1769, 565, 283, 5662, 5621, 565, 24962, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (list == null) return 0; return list.size();
return size;
public int size() { if (list == null) return 0; return list.size(); }
49530 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49530/ec6a1e4c490d510c5e8636356539d82e44add204/ContentList.java/clean/core/src/java/org/jdom/ContentList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 963, 1435, 288, 3639, 309, 261, 1098, 422, 446, 13, 5411, 327, 374, 31, 3639, 327, 666, 18, 1467, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 963, 1435, 288, 3639, 309, 261, 1098, 422, 446, 13, 5411, 327, 374, 31, 3639, 327, 666, 18, 1467, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_loop433:
_loop92:
protected final void mID(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = ID; int _saveIndex; mNMSTART(false); { _loop433: do { if ((_tokenSet_3.member(LA(1)))) { mNMCHAR(false); } else { break _loop433; } } while (true); } _ttype = testLiteralsTable(new String(text.getBuffer(),_begin,text.length()-_begin),_ttype); if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/79512eae28b7219239f4a67965b185d1c560ab43/XPathLexer.java/buggy/src/org/exist/parser/XPathLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 312, 734, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 1599, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 81, 50, 49, 7570, 12, 5743, 1769, 202, 202, 95, 202, 202, 67, 6498, 24, 3707, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 67, 2316, 694, 67, 23, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 9506, 202, 81, 50, 49, 7305, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 8820, 389, 6498, 24, 3707, 31, 1082, 202, 97, 6862, 202, 97, 1323, 261, 3767, 1769, 202, 202, 97, 202, 202, 67, 88, 723, 273, 1842, 48, 11235, 1388, 12, 2704, 514, 12, 955, 18, 588, 1892, 9334, 67, 10086, 16, 955, 18, 2469, 1435, 17, 67, 10086, 3631, 67, 88, 723, 1769, 202, 202, 430, 261, 389, 2640, 1345, 597, 389, 2316, 631, 2011, 597, 389, 88, 723, 5, 33, 1345, 18, 22589, 262, 288, 1082, 202, 67, 2316, 273, 1221, 1345, 24899, 88, 723, 1769, 1082, 202, 67, 2316, 18, 542, 1528, 12, 2704, 514, 12, 955, 18, 588, 1892, 9334, 389, 10086, 16, 977, 18, 2469, 1435, 17, 67, 10086, 10019, 202, 202, 97, 202, 202, 67, 2463, 1345, 273, 389, 2316, 31, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 312, 734, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 1599, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 81, 50, 49, 7570, 12, 5743, 1769, 202, 202, 95, 202, 202, 67, 6498, 24, 3707, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 67, 2316, 694, 67, 23, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 9506, 202, 81, 50, 49, 7305, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 2 ]
getId(result, docs, id);
getId(context, result, docs, id);
public Value eval( StaticContext context, DocumentSet docs, NodeSet contextSet, NodeProxy contextNode) throws XPathException { if (getArgumentCount() < 1) throw new XPathException("function id requires one argument"); if (contextNode != null) contextSet = new SingleNodeSet(contextNode); Expression arg = getArgument(0); Value idval = arg.eval(context, docs, contextSet); ArraySet result = new ArraySet(5); if (idval.getType() == Value.isNodeList) { NodeSet set = (NodeSet) idval.getNodeList(); for (int i = 0; i < idval.getLength(); i++) { QName id = new QName("&" + set.get(i).getNodeValue(), "", null); getId(result, docs, id); } } else { QName id = new QName("&" + idval.getStringValue(), "", null); getId(result, docs, id); } return new ValueNodeSet(result); }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/bfcf33dba9c98234a0edaa282c8909b27b6a6ac4/FunId.java/clean/src/org/exist/xpath/FunId.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1445, 5302, 12, 202, 202, 5788, 1042, 819, 16, 202, 202, 2519, 694, 3270, 16, 202, 202, 907, 694, 819, 694, 16, 202, 202, 907, 3886, 819, 907, 13, 1216, 10172, 503, 288, 202, 202, 430, 261, 588, 1379, 1380, 1435, 411, 404, 13, 1082, 202, 12849, 394, 10172, 503, 2932, 915, 612, 4991, 1245, 1237, 8863, 202, 202, 430, 261, 2472, 907, 480, 446, 13, 1082, 202, 2472, 694, 273, 394, 10326, 907, 694, 12, 2472, 907, 1769, 202, 202, 2300, 1501, 273, 11950, 12, 20, 1769, 202, 202, 620, 612, 1125, 273, 1501, 18, 8622, 12, 2472, 16, 3270, 16, 819, 694, 1769, 202, 202, 1076, 694, 563, 273, 394, 1510, 694, 12, 25, 1769, 202, 202, 430, 261, 350, 1125, 18, 588, 559, 1435, 422, 1445, 18, 291, 19914, 13, 288, 1082, 202, 907, 694, 444, 273, 261, 907, 694, 13, 612, 1125, 18, 588, 19914, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 612, 1125, 18, 588, 1782, 5621, 277, 27245, 288, 9506, 202, 13688, 612, 273, 394, 16723, 2932, 10, 6, 397, 444, 18, 588, 12, 77, 2934, 588, 907, 620, 9334, 23453, 446, 1769, 9506, 202, 26321, 12, 2088, 16, 3270, 16, 612, 1769, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 13688, 612, 273, 394, 16723, 2932, 10, 6, 397, 612, 1125, 18, 588, 19733, 9334, 23453, 446, 1769, 1082, 202, 26321, 12, 2088, 16, 3270, 16, 612, 1769, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1445, 5302, 12, 202, 202, 5788, 1042, 819, 16, 202, 202, 2519, 694, 3270, 16, 202, 202, 907, 694, 819, 694, 16, 202, 202, 907, 3886, 819, 907, 13, 1216, 10172, 503, 288, 202, 202, 430, 261, 588, 1379, 1380, 1435, 411, 404, 13, 1082, 202, 12849, 394, 10172, 503, 2932, 915, 612, 4991, 1245, 1237, 8863, 202, 202, 430, 261, 2472, 907, 480, 446, 13, 1082, 202, 2472, 694, 273, 394, 10326, 907, 694, 12, 2472, 907, 1769, 202, 202, 2300, 1501, 273, 11950, 12, 20, 1769, 202, 202, 620, 612, 1125, 273, 1501, 18, 8622, 12, 2472, 16, 3270, 16, 819, 694, 1769, 202, 202, 1076, 694, 563, 273, 394, 1510, 694, 12, 25, 2 ]
logFiles.addLast(olf);
synchronized(logFiles) { logFiles.addLast(olf); }
public void findOldLogFiles() { int slashIndex = baseFilename.lastIndexOf(File.separatorChar); File dir; String prefix; if(slashIndex == -1) { dir = new File(System.getProperty("user.dir")); prefix = baseFilename.toLowerCase(); } else { dir = new File(baseFilename.substring(0, slashIndex)); prefix = baseFilename.substring(slashIndex+1).toLowerCase(); } File[] files = dir.listFiles(); if(files == null) return; java.util.Arrays.sort(files); long lastStartTime = -1; File oldFile = null; previousFile.delete(); latestFile.renameTo(previousFile); for(int i=0;i<files.length;i++) { File f = files[i]; String name = f.getName(); if(name.toLowerCase().startsWith(prefix)) { if(name.equals(previousFile.getName()) || name.equals(latestFile.getName())) { continue; } if(!name.endsWith(".log.gz")) { Logger.minor(this, "Does not end in .log.gz: "+name); f.delete(); continue; } else { name = name.substring(0, name.length()-".log.gz".length()); } name = name.substring(prefix.length()); if(name.length() == 0 || name.charAt(0) != '-') { Logger.minor(this, "Deleting unrecognized: "+name+" ("+f.getPath()+")"); f.delete(); continue; } else name = name.substring(1); String[] tokens = name.split("-"); int[] nums = new int[tokens.length]; for(int j=0;j<tokens.length;j++) { try { nums[j] = Integer.parseInt(tokens[j]); } catch (NumberFormatException e) { Logger.normal(this, "Could not parse: "+tokens[j]+" into number from "+name); // Broken f.delete(); continue; } } // First field: version if(nums[0] != Version.buildNumber()) { Logger.minor(this, "Deleting old log from build "+nums[0]+", current="+Version.buildNumber()); // Logs that old are useless f.delete(); continue; } GregorianCalendar gc = new GregorianCalendar(); if(nums.length > 1) gc.set(Calendar.YEAR, nums[1]); if(nums.length > 2) gc.set(Calendar.MONTH, nums[2]-1); if(nums.length > 3) gc.set(Calendar.DAY_OF_MONTH, nums[3]); if(nums.length > 4) gc.set(Calendar.HOUR_OF_DAY, nums[4]); if(nums.length > 5) gc.set(Calendar.MINUTE, nums[5]); gc.set(Calendar.SECOND, 0); gc.set(Calendar.MILLISECOND, 0); long startTime = gc.getTimeInMillis(); if(oldFile != null) { long l = oldFile.length(); OldLogFile olf = new OldLogFile(oldFile, lastStartTime, startTime, l); logFiles.addLast(olf); oldLogFilesDiskSpaceUsage += l; } lastStartTime = startTime; oldFile = f; } else { // Nothing to do with us Logger.normal(this, "Unknown file: "+name+" in the log directory"); } } if(oldFile != null) { long l = oldFile.length(); OldLogFile olf = new OldLogFile(oldFile, lastStartTime, System.currentTimeMillis(), l); logFiles.addLast(olf); oldLogFilesDiskSpaceUsage += l; } trimOldLogFiles(); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/8ebf3f1ce41727bf2fa15f7295507c959db0143f/FileLoggerHook.java/buggy/src/freenet/support/FileLoggerHook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1104, 7617, 1343, 2697, 1435, 288, 202, 202, 474, 9026, 1016, 273, 1026, 5359, 18, 2722, 31985, 12, 812, 18, 11287, 2156, 1769, 202, 202, 812, 1577, 31, 202, 202, 780, 1633, 31, 202, 202, 430, 12, 12877, 1016, 422, 300, 21, 13, 288, 1082, 202, 1214, 273, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 1355, 18, 1214, 7923, 1769, 1082, 202, 3239, 273, 1026, 5359, 18, 869, 5630, 5621, 202, 202, 97, 469, 288, 1082, 202, 1214, 273, 394, 1387, 12, 1969, 5359, 18, 28023, 12, 20, 16, 9026, 1016, 10019, 1082, 202, 3239, 273, 1026, 5359, 18, 28023, 12, 12877, 1016, 15, 21, 2934, 869, 5630, 5621, 202, 202, 97, 202, 202, 812, 8526, 1390, 273, 1577, 18, 1098, 2697, 5621, 202, 202, 430, 12, 2354, 422, 446, 13, 327, 31, 202, 202, 6290, 18, 1367, 18, 12726, 18, 3804, 12, 2354, 1769, 202, 202, 5748, 1142, 13649, 273, 300, 21, 31, 202, 202, 812, 1592, 812, 273, 446, 31, 202, 202, 11515, 812, 18, 3733, 5621, 202, 202, 13550, 812, 18, 18539, 774, 12, 11515, 812, 1769, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 2354, 18, 2469, 31, 77, 27245, 288, 1082, 202, 812, 284, 273, 1390, 63, 77, 15533, 1082, 202, 780, 508, 273, 284, 18, 17994, 5621, 1082, 202, 430, 12, 529, 18, 869, 5630, 7675, 17514, 1190, 12, 3239, 3719, 288, 9506, 202, 430, 12, 529, 18, 14963, 12, 11515, 812, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1104, 7617, 1343, 2697, 1435, 288, 202, 202, 474, 9026, 1016, 273, 1026, 5359, 18, 2722, 31985, 12, 812, 18, 11287, 2156, 1769, 202, 202, 812, 1577, 31, 202, 202, 780, 1633, 31, 202, 202, 430, 12, 12877, 1016, 422, 300, 21, 13, 288, 1082, 202, 1214, 273, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 1355, 18, 1214, 7923, 1769, 1082, 202, 3239, 273, 1026, 5359, 18, 869, 5630, 5621, 202, 202, 97, 469, 288, 1082, 202, 1214, 273, 394, 1387, 12, 1969, 5359, 18, 28023, 12, 20, 16, 9026, 1016, 10019, 1082, 202, 3239, 273, 1026, 5359, 18, 28023, 12, 12877, 1016, 15, 21, 2934, 869, 5630, 5621, 202, 202, 97, 202, 202, 2 ]
GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
GLCanvas canvas = new GLCanvas();
public static void main(String[] args) { boolean vboEnabled = true; if (args.length > 1) { usage(); } if (args.length == 1) { if (args[0].equals("-slow")) { vboEnabled = false; } else { usage(); } } GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities()); VertexBufferObject demo = new VertexBufferObject(); demo.vboEnabled = vboEnabled; canvas.addGLEventListener(demo); final Animator animator = new Animator(canvas); animator.setRunAsFastAsPossible(true); demo.setDemoListener(new DemoListener() { public void shutdownDemo() { runExit(animator); } public void repaint() {} }); Frame frame = new Frame("Very Simple vertex_buffer_object demo"); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { runExit(animator); } }); frame.setLayout(new BorderLayout()); canvas.setSize(800, 800); frame.add(canvas, BorderLayout.CENTER); frame.pack(); frame.show(); canvas.requestFocus(); animator.start(); }
6783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6783/c01ade1249ca5175510a4d6a699ac0772c6b11d9/VertexBufferObject.java/buggy/src/demos/vertexBufferObject/VertexBufferObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 565, 1250, 331, 1075, 1526, 273, 638, 31, 565, 309, 261, 1968, 18, 2469, 405, 404, 13, 288, 1377, 4084, 5621, 565, 289, 565, 309, 261, 1968, 18, 2469, 422, 404, 13, 288, 1377, 309, 261, 1968, 63, 20, 8009, 14963, 2932, 17, 87, 821, 6, 3719, 288, 3639, 331, 1075, 1526, 273, 629, 31, 1377, 289, 469, 288, 3639, 4084, 5621, 1377, 289, 565, 289, 565, 10252, 12971, 5953, 273, 394, 10252, 12971, 5621, 565, 12541, 1892, 921, 21477, 273, 394, 12541, 1892, 921, 5621, 565, 21477, 18, 90, 1075, 1526, 273, 331, 1075, 1526, 31, 565, 5953, 18, 1289, 43, 900, 616, 2223, 12, 27928, 1769, 565, 727, 1922, 12502, 10536, 639, 273, 394, 1922, 12502, 12, 15424, 1769, 565, 10536, 639, 18, 542, 1997, 1463, 12305, 1463, 13576, 12, 3767, 1769, 565, 21477, 18, 542, 27126, 2223, 12, 2704, 27744, 83, 2223, 1435, 288, 3639, 1071, 918, 5731, 27126, 1435, 288, 1850, 1086, 6767, 12, 304, 12502, 1769, 3639, 289, 3639, 1071, 918, 24962, 1435, 2618, 1377, 15549, 565, 8058, 2623, 273, 394, 8058, 2932, 58, 627, 4477, 5253, 67, 4106, 67, 1612, 21477, 8863, 565, 2623, 18, 1289, 3829, 2223, 12, 2704, 6076, 4216, 1435, 288, 3639, 1071, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 1850, 1086, 6767, 12, 304, 12502, 1769, 3639, 289, 1377, 15549, 565, 2623, 18, 542, 3744, 12, 2704, 30814, 10663, 565, 5953, 18, 542, 1225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 565, 1250, 331, 1075, 1526, 273, 638, 31, 565, 309, 261, 1968, 18, 2469, 405, 404, 13, 288, 1377, 4084, 5621, 565, 289, 565, 309, 261, 1968, 18, 2469, 422, 404, 13, 288, 1377, 309, 261, 1968, 63, 20, 8009, 14963, 2932, 17, 87, 821, 6, 3719, 288, 3639, 331, 1075, 1526, 273, 629, 31, 1377, 289, 469, 288, 3639, 4084, 5621, 1377, 289, 565, 289, 565, 10252, 12971, 5953, 273, 394, 10252, 12971, 5621, 565, 12541, 1892, 921, 21477, 273, 394, 12541, 1892, 921, 5621, 565, 21477, 18, 90, 1075, 1526, 273, 331, 1075, 1526, 31, 565, 5953, 18, 1289, 43, 900, 616, 2223, 12, 27928, 1769, 2 ]
ranger, ranger, ranger, null, null, null, null, null,
gargoyle, cyclops, cyclops, cyclops, gorgon, gorgon, ranger, null,
public void testLOS2() { VariantSupport.loadVariant("TG-ConceptIII"); String hexLabel = "1"; // Plains - Delta defender = new Legion("Gr03", "Gr01", hexLabel, null, troll, troll, troll, troll, wyvern, null, null, null, "Green", game); attacker = new Legion("Bk03", "Bk01", hexLabel, null, ranger, ranger, ranger, null, null, null, null, null, "Black", game); game.getPlayer("Green").addLegion(defender); game.getPlayer("Black").addLegion(attacker); attacker.setEntrySide(5); battle = new Battle(game, attacker.getMarkerId(), defender.getMarkerId(), Constants.ATTACKER, hexLabel, 2, Constants.FIGHT); Critter troll1 = defender.getCritter(0); Critter troll2 = defender.getCritter(1); Critter troll3 = defender.getCritter(2); Critter troll4 = defender.getCritter(3); Critter wyvern1 = defender.getCritter(4); Critter ranger1 = attacker.getCritter(0); Critter ranger2 = attacker.getCritter(1); Critter ranger3 = attacker.getCritter(2); troll1.setCurrentHexLabel("D6"); troll2.setCurrentHexLabel("B3"); troll3.setCurrentHexLabel("C3"); troll4.setCurrentHexLabel("E4"); wyvern1.setCurrentHexLabel("E3"); ranger1.setCurrentHexLabel("E1"); ranger2.setCurrentHexLabel("E2"); ranger3.setCurrentHexLabel("F2"); assertTrue(battle.isLOSBlocked(ranger1.getCurrentHex(), troll1.getCurrentHex())); assertTrue(battle.isLOSBlocked(ranger1.getCurrentHex(), troll2.getCurrentHex())); assertTrue(!battle.isLOSBlocked(ranger1.getCurrentHex(), troll3.getCurrentHex())); assertTrue(battle.isLOSBlocked(ranger1.getCurrentHex(), troll4.getCurrentHex())); assertTrue(battle.isLOSBlocked(ranger1.getCurrentHex(), wyvern1.getCurrentHex())); assertTrue(!ranger1.canStrike(troll1)); assertTrue(!ranger1.canStrike(troll2)); assertTrue(ranger1.canStrike(troll3)); assertTrue(!ranger1.canStrike(troll4)); assertTrue(!ranger1.canStrike(wyvern1)); assertTrue(battle.isLOSBlocked(ranger2.getCurrentHex(), troll1.getCurrentHex())); assertTrue(battle.isLOSBlocked(ranger2.getCurrentHex(), troll2.getCurrentHex())); assertTrue(!battle.isLOSBlocked(ranger2.getCurrentHex(), troll3.getCurrentHex())); assertTrue(battle.isLOSBlocked(ranger2.getCurrentHex(), troll4.getCurrentHex())); assertTrue(!battle.isLOSBlocked(ranger2.getCurrentHex(), wyvern1.getCurrentHex())); assertTrue(!ranger2.canStrike(troll1)); assertTrue(!ranger2.canStrike(troll2)); assertTrue(!ranger2.canStrike(troll3)); assertTrue(!ranger2.canStrike(troll4)); assertTrue(ranger2.canStrike(wyvern1)); assertTrue(battle.isLOSBlocked(ranger3.getCurrentHex(), troll1.getCurrentHex())); assertTrue(battle.isLOSBlocked(ranger3.getCurrentHex(), troll2.getCurrentHex())); assertTrue(battle.isLOSBlocked(ranger3.getCurrentHex(), troll3.getCurrentHex())); assertTrue(!battle.isLOSBlocked(ranger3.getCurrentHex(), troll4.getCurrentHex())); assertTrue(!battle.isLOSBlocked(ranger3.getCurrentHex(), wyvern1.getCurrentHex())); assertTrue(!ranger3.canStrike(troll1)); assertTrue(!ranger3.canStrike(troll2)); assertTrue(!ranger3.canStrike(troll3)); assertTrue(!ranger3.canStrike(troll4)); assertTrue(ranger3.canStrike(wyvern1)); }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/c2bcb5e8ab7b09e28b37fb8d19c0d03aadea8edb/LOSTest.java/clean/Colossus/net/sf/colossus/server/LOSTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1502, 55, 22, 1435, 565, 288, 3639, 17122, 6289, 18, 945, 9356, 2932, 56, 43, 17, 15433, 6954, 45, 8863, 3639, 514, 3827, 2224, 273, 315, 21, 14432, 225, 368, 3008, 4167, 300, 17799, 3639, 1652, 2345, 273, 394, 17167, 285, 2932, 20799, 4630, 3113, 315, 20799, 1611, 3113, 3827, 2224, 16, 446, 16, 5411, 268, 2693, 16, 268, 2693, 16, 268, 2693, 16, 268, 2693, 16, 341, 93, 502, 82, 16, 446, 16, 446, 16, 446, 16, 5411, 315, 21453, 3113, 7920, 1769, 3639, 13843, 264, 273, 394, 17167, 285, 2932, 38, 79, 4630, 3113, 315, 38, 79, 1611, 3113, 3827, 2224, 16, 446, 16, 5411, 314, 26999, 1362, 16, 6143, 7550, 1121, 16, 6143, 7550, 1121, 16, 6143, 7550, 1121, 16, 314, 3341, 265, 16, 314, 3341, 265, 16, 436, 11455, 16, 446, 16, 5411, 315, 13155, 3113, 7920, 1769, 3639, 7920, 18, 588, 12148, 2932, 21453, 20387, 1289, 8329, 285, 12, 536, 2345, 1769, 3639, 7920, 18, 588, 12148, 2932, 13155, 20387, 1289, 8329, 285, 12, 4558, 484, 264, 1769, 3639, 13843, 264, 18, 542, 1622, 8895, 12, 25, 1769, 3639, 324, 4558, 298, 273, 394, 605, 4558, 298, 12, 13957, 16, 13843, 264, 18, 588, 7078, 548, 9334, 2398, 1652, 2345, 18, 588, 7078, 548, 9334, 5245, 18, 789, 56, 3649, 654, 16, 3827, 2224, 16, 5411, 576, 16, 5245, 18, 5236, 5062, 1769, 3639, 385, 583, 387, 268, 2693, 21, 273, 1652, 2345, 18, 588, 39, 583, 387, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1502, 55, 22, 1435, 565, 288, 3639, 17122, 6289, 18, 945, 9356, 2932, 56, 43, 17, 15433, 6954, 45, 8863, 3639, 514, 3827, 2224, 273, 315, 21, 14432, 225, 368, 3008, 4167, 300, 17799, 3639, 1652, 2345, 273, 394, 17167, 285, 2932, 20799, 4630, 3113, 315, 20799, 1611, 3113, 3827, 2224, 16, 446, 16, 5411, 268, 2693, 16, 268, 2693, 16, 268, 2693, 16, 268, 2693, 16, 341, 93, 502, 82, 16, 446, 16, 446, 16, 446, 16, 5411, 315, 21453, 3113, 7920, 1769, 3639, 13843, 264, 273, 394, 17167, 285, 2932, 38, 79, 4630, 3113, 315, 38, 79, 1611, 3113, 3827, 2224, 16, 446, 16, 5411, 314, 26999, 1362, 16, 6143, 7550, 1121, 16, 2 ]
return loadImage(fis,true);
return loadImage(fis,true, null);
public ByteBuffer loadImage(InputStream fis) throws IOException { return loadImage(fis,true); }
53247 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53247/33d4c7f11d36ea17fb100d15619c1d6e5e4e25e4/TGAImageData.java/buggy/Slick/src/org/newdawn/slick/opengl/TGAImageData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7400, 1262, 2040, 12, 4348, 15324, 13, 1216, 1860, 288, 202, 202, 2463, 1262, 2040, 12, 74, 291, 16, 3767, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7400, 1262, 2040, 12, 4348, 15324, 13, 1216, 1860, 288, 202, 202, 2463, 1262, 2040, 12, 74, 291, 16, 3767, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
BeanInfo[] infos = info.getAdditionalBeanInfo(); if(infos != null) { for(int i = 0; i < infos.length; ++i) {
if (infos != null) { for (int i = 0; i < infos.length; ++i) {
public EventSetDescriptor[] getEventSetDescriptors() { EventSetDescriptor[] result = null; EventSetDescriptor[] infoResult = null; if(info != null) { infoResult = info.getEventSetDescriptors(); BeanInfo[] infos = info.getAdditionalBeanInfo(); if(infos != null) { for(int i = 0; i < infos.length; ++i) { BeanInfo additionalInfo = infos[i]; if(infoResult == null) { infoResult = additionalInfo.getEventSetDescriptors(); } else { infoResult = concatArraysToOneArray(infoResult, additionalInfo.getEventSetDescriptors()); } } } } if(info == null || infoResult == null) { EventSetDescriptor[] implResult = impl.getEventSetDescriptors(); // merge with parent info if(parentBeanInfoWrapper != null) { EventSetDescriptor[] parentResult = parentBeanInfoWrapper.getEventSetDescriptors(); Map<String, FeatureDescriptor> hm = concatArraysUniqueByName(implResult, parentResult); Collection<FeatureDescriptor> values = hm.values(); result = new EventSetDescriptor[values.size()]; int idx = 0; Iterator<FeatureDescriptor> iterator = values.iterator(); while(iterator.hasNext()) { result[idx++] = (EventSetDescriptor) iterator.next(); } Arrays.sort(result, new Comparator<EventSetDescriptor>() { public int compare(EventSetDescriptor esd1, EventSetDescriptor esd2) { return esd1.getName().compareTo(esd2.getName()); } public boolean equals(Object o) { return false; } }); } else { result = implResult; } } else { result = infoResult; } return result; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/40effaf129249b2248e897d030f9998321d4020f/BeanInfoWrapper.java/clean/modules/beans/src/main/java/java/beans/BeanInfoWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2587, 694, 3187, 8526, 9832, 694, 12705, 1435, 288, 3639, 2587, 694, 3187, 8526, 563, 273, 446, 31, 3639, 2587, 694, 3187, 8526, 1123, 1253, 273, 446, 31, 7734, 309, 12, 1376, 480, 446, 13, 288, 5411, 1123, 1253, 273, 1123, 18, 588, 1133, 694, 12705, 5621, 13491, 7704, 966, 8526, 10626, 273, 1123, 18, 588, 10552, 3381, 966, 5621, 5411, 309, 12, 18227, 480, 446, 13, 288, 7734, 364, 12, 474, 277, 273, 374, 31, 277, 411, 10626, 18, 2469, 31, 965, 77, 13, 288, 10792, 7704, 966, 3312, 966, 273, 10626, 63, 77, 15533, 4766, 3639, 309, 12, 1376, 1253, 422, 446, 13, 288, 13491, 1123, 1253, 273, 3312, 966, 18, 588, 1133, 694, 12705, 5621, 10792, 289, 469, 288, 13491, 1123, 1253, 273, 3835, 1076, 11634, 3335, 1076, 12, 1376, 1253, 16, 27573, 3312, 966, 18, 588, 1133, 694, 12705, 10663, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 7734, 309, 12, 1376, 422, 446, 747, 1123, 1253, 422, 446, 13, 288, 5411, 2587, 694, 3187, 8526, 9380, 1253, 273, 9380, 18, 588, 1133, 694, 12705, 5621, 13491, 368, 2691, 598, 982, 1123, 5411, 309, 12, 2938, 3381, 966, 3611, 480, 446, 13, 288, 7734, 2587, 694, 3187, 8526, 982, 1253, 273, 13491, 982, 3381, 966, 3611, 18, 588, 1133, 694, 12705, 5621, 7734, 1635, 32, 780, 16, 7881, 3187, 34, 16349, 273, 3835, 12726, 6303, 5911, 12, 11299, 1253, 16, 982, 1253, 1769, 27573, 2200, 32, 4595, 3187, 34, 924, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2587, 694, 3187, 8526, 9832, 694, 12705, 1435, 288, 3639, 2587, 694, 3187, 8526, 563, 273, 446, 31, 3639, 2587, 694, 3187, 8526, 1123, 1253, 273, 446, 31, 7734, 309, 12, 1376, 480, 446, 13, 288, 5411, 1123, 1253, 273, 1123, 18, 588, 1133, 694, 12705, 5621, 13491, 7704, 966, 8526, 10626, 273, 1123, 18, 588, 10552, 3381, 966, 5621, 5411, 309, 12, 18227, 480, 446, 13, 288, 7734, 364, 12, 474, 277, 273, 374, 31, 277, 411, 10626, 18, 2469, 31, 965, 77, 13, 288, 10792, 7704, 966, 3312, 966, 273, 10626, 63, 77, 15533, 4766, 3639, 309, 12, 1376, 1253, 422, 446, 13, 288, 13491, 1123, 1253, 273, 3312, 966, 18, 588, 1133, 694, 12705, 2 ]
if(my_addr == null || other_addr == null) { Trace.warn("NAKACK.up()", "my vid or message's vid does not contain " + "a coordinator; discarding message !"); return; } if(!my_addr.equals(other_addr)) { Trace.warn("NAKACK.up()", "creator of own vid (" + my_addr + ")is different from " + "creator of message's vid (" + other_addr + "); discarding message !"); return; }
if(my_addr == null || other_addr == null) { Trace.warn("NAKACK.up()", "my vid or message's vid does not contain " + "a coordinator; discarding message !"); return; } if(!my_addr.equals(other_addr)) { Trace.warn("NAKACK.up()", "creator of own vid (" + my_addr + ")is different from " + "creator of message's vid (" + other_addr + "); discarding message !"); return; }
public void up(Event evt) { NakAckHeader hdr=null; Message msg, msg_copy; int rc; switch(evt.getType()) { case Event.SUSPECT: if(Trace.trace) Trace.info("NAKACK.up()", "received SUSPECT event (suspected member=" + evt.getArg() + ")"); naker.suspect((Address) evt.getArg()); out_of_bander.suspect((Address) evt.getArg()); break; case Event.STABLE: // generated by STABLE layer. Delete stable messages passed in arg naker.stable((long[])evt.getArg()); return; // don't pass up further (Bela Aug 7 2001) case Event.SET_LOCAL_ADDRESS: local_addr=(Address)evt.getArg(); break; case Event.GET_MSGS_RECEIVED: // returns the highest seqnos delivered to the appl. (used by STABLE) long[] highest=naker.getHighestSeqnosDelivered(); passDown(new Event(Event.GET_MSGS_RECEIVED_OK, highest)); return; // don't pass up further (bela Aug 7 2001) case Event.MSG: synchronized (this) { msg=(Message)evt.getArg(); // check to see if this is a wrapped msg. If yes, send an ACK hdr=(NakAckHeader)msg.removeHeader(WRAPPED_MSG_KEY); // see whether it is a wrapped message if(hdr != null && hdr.type == NakAckHeader.WRAPPED_MSG) { // send back an ACK to hdr.sender Message ack_msg=new Message(hdr.sender, null, null); NakAckHeader h=new NakAckHeader(NakAckHeader.NAK_ACK_RSP, hdr.seqno, null); if(hdr.sender == null) Trace.warn("NAKACK.up()", "WRAPPED: header's 'sender' field is null; " + "cannot send ACK !"); ack_msg.putHeader(getName(), h); passDown(new Event(Event.MSG, ack_msg)); } hdr=(NakAckHeader)msg.removeHeader(getName()); if(hdr == null) break; // pass up switch(hdr.type) { case NakAckHeader.NAK_ACK_MSG: case NakAckHeader.NAK_MSG: if(hdr.type == NakAckHeader.NAK_ACK_MSG) { // first thing: send ACK back to sender Message ack_msg=new Message(msg.getSrc(), null, null); NakAckHeader h=new NakAckHeader(NakAckHeader.NAK_ACK_RSP, hdr.seqno, null); ack_msg.putHeader(getName(), h); passDown(new Event(Event.MSG, ack_msg)); } // while still a client, we just pass up all messages, without checking for message // view IDs or seqnos: other layers further up will discard messages not destined // for us (e.g. based on view IDs). // Also: store msg in queue, when view change is received, replay messages with the same // vid as the new view if(!is_server) { msg_copy=msg.copy(); // msg without header msg_copy.putHeader(getName(), hdr); // put header back on as we removed it above queued_msgs.add(msg_copy); // need a copy since passUp() will modify msg passUp(new Event(Event.MSG, msg)); return; } // check for VIDs: is the message's VID the same as ours ? if(vid != null && hdr.vid != null) { // only check if our vid and message's vid available Address my_addr=vid.getCoordAddress(), other_addr=hdr.vid.getCoordAddress(); if(my_addr == null || other_addr == null) { Trace.warn("NAKACK.up()", "my vid or message's vid does not contain " + "a coordinator; discarding message !"); return; } if(!my_addr.equals(other_addr)) { Trace.warn("NAKACK.up()", "creator of own vid (" + my_addr + ")is different from " + "creator of message's vid (" + other_addr + "); discarding message !"); return; } rc=hdr.vid.compareTo(vid); if(rc > 0) { // message is sent in next view -> store ! if(Trace.trace) Trace.info("NAKACK.up()", "message's vid (" + hdr.vid + "#" + hdr.seqno + ") is bigger than current vid: (" + vid+ ") message is queued !"); msg.putHeader(getName(), hdr); // put header back on as we removed it above queued_msgs.add(msg); return; } if(rc < 0) { // message sent in prev. view -> discard ! if(Trace.trace) Trace.warn("NAKACK.up()", "message's vid (" + hdr.vid +") is smaller than " + "current vid ("+ vid+"): message <"+ msg.getSrc() + ":#" + hdr.seqno + "> is discarded ! Hdr is " + hdr); return; } // If we made it down here, the vids are the same --> OK } msg.putHeader(getName(), hdr); // stored in received_msgs, re-sent later that's why hdr is added ! naker.receive(hdr.seqno, msg, null); return; // naker passes message up for us ! case NakAckHeader.RETRANSMIT_MSG: naker.retransmit(msg.getSrc(), hdr.seqno, hdr.last_seqno); return; case NakAckHeader.NAK_ACK_RSP: naker.receiveAck(hdr.seqno, msg.getSrc()); return; // discard, no need to pass up case NakAckHeader.OUT_OF_BAND_MSG: out_of_bander.receive(hdr.seqno, msg, hdr.stable_msgs); return; // naker passes message up for us ! case NakAckHeader.OUT_OF_BAND_RSP: out_of_bander.receiveAck(hdr.seqno, msg.getSrc()); return; default: Trace.error("NAKACK.up()", "NakAck header type " + hdr.type + " not known !"); break; } } //end synchronized } passUp(evt); }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/75359f4186603c5a949e15ffab51fb811f04ed8e/NAKACK.java/clean/src/org/jgroups/protocols/NAKACK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 731, 12, 1133, 6324, 13, 288, 202, 50, 581, 11931, 1864, 225, 7723, 33, 2011, 31, 202, 1079, 4202, 1234, 16, 1234, 67, 3530, 31, 202, 474, 6647, 4519, 31, 202, 9610, 12, 73, 11734, 18, 588, 559, 10756, 288, 202, 3593, 2587, 18, 55, 3378, 1423, 1268, 30, 202, 565, 309, 12, 3448, 18, 5129, 13, 202, 202, 3448, 18, 1376, 2932, 11277, 47, 3649, 18, 416, 1435, 3113, 315, 15213, 348, 3378, 1423, 1268, 871, 261, 87, 407, 1789, 3140, 1546, 397, 6324, 18, 588, 4117, 1435, 397, 7310, 1769, 202, 565, 290, 6388, 18, 87, 407, 1181, 12443, 1887, 13, 6324, 18, 588, 4117, 10663, 202, 565, 596, 67, 792, 67, 12752, 264, 18, 87, 407, 1181, 12443, 1887, 13, 6324, 18, 588, 4117, 10663, 202, 565, 898, 31, 202, 377, 202, 3593, 2587, 18, 882, 2782, 30, 225, 368, 4374, 635, 2347, 2782, 3018, 18, 2504, 14114, 2743, 2275, 316, 1501, 202, 565, 290, 6388, 18, 15021, 12443, 5748, 63, 5717, 73, 11734, 18, 588, 4117, 10663, 202, 565, 327, 31, 368, 2727, 1404, 1342, 731, 9271, 261, 18097, 69, 432, 637, 2371, 4044, 21, 13, 202, 3593, 2587, 18, 4043, 67, 14922, 67, 15140, 30, 202, 565, 1191, 67, 4793, 28657, 1887, 13, 73, 11734, 18, 588, 4117, 5621, 202, 565, 898, 31, 202, 3593, 2587, 18, 3264, 67, 11210, 55, 67, 27086, 20764, 30, 225, 368, 1135, 326, 9742, 3833, 18050, 22112, 358, 326, 27808, 18, 261, 3668, 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, 731, 12, 1133, 6324, 13, 288, 202, 50, 581, 11931, 1864, 225, 7723, 33, 2011, 31, 202, 1079, 4202, 1234, 16, 1234, 67, 3530, 31, 202, 474, 6647, 4519, 31, 202, 9610, 12, 73, 11734, 18, 588, 559, 10756, 288, 202, 3593, 2587, 18, 55, 3378, 1423, 1268, 30, 202, 565, 309, 12, 3448, 18, 5129, 13, 202, 202, 3448, 18, 1376, 2932, 11277, 47, 3649, 18, 416, 1435, 3113, 315, 15213, 348, 3378, 1423, 1268, 871, 261, 87, 407, 1789, 3140, 1546, 397, 6324, 18, 588, 4117, 1435, 397, 7310, 1769, 202, 565, 290, 6388, 18, 87, 407, 1181, 12443, 1887, 13, 6324, 18, 588, 4117, 10663, 202, 565, 596, 67, 792, 67, 12752, 264, 2 ]
lacLabel.setLabel( LabelImpl.create( ), chart.getUnits( ) ); lacLabel.layout( );
private void resetUI( ) { txtStartValue.setText( "" ); //$NON-NLS-1$ txtEndValue.setText( "" ); //$NON-NLS-1$ txtInnerRadius.setText( "0.0" ); //$NON-NLS-1$ txtOuterRadius.setText( "0.0" ); //$NON-NLS-1$ fccRange.setFill( null ); liacMarkerRange.setLineAttributes( null ); liacMarkerRange.layout( ); lacLabel.setLabel( LabelImpl.create( ), chart.getUnits( ) ); lacLabel.layout( ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/de85d4981f9b7f11d9a7ca3342a3f17342e07a93/SeriesRegionSheet.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/series/SeriesRegionSheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2715, 5370, 12, 262, 202, 95, 202, 202, 5830, 1685, 620, 18, 542, 1528, 12, 1408, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 5830, 1638, 620, 18, 542, 1528, 12, 1408, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 5830, 2857, 10196, 18, 542, 1528, 12, 315, 20, 18, 20, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 5830, 15040, 10196, 18, 542, 1528, 12, 315, 20, 18, 20, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 74, 952, 2655, 18, 542, 8026, 12, 446, 11272, 202, 202, 549, 1077, 7078, 2655, 18, 542, 1670, 2498, 12, 446, 11272, 202, 202, 549, 1077, 7078, 2655, 18, 6741, 12, 11272, 202, 202, 80, 1077, 2224, 18, 542, 2224, 12, 5287, 2828, 18, 2640, 12, 262, 16, 4980, 18, 588, 7537, 12, 262, 11272, 202, 202, 80, 1077, 2224, 18, 6741, 12, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2715, 5370, 12, 262, 202, 95, 202, 202, 5830, 1685, 620, 18, 542, 1528, 12, 1408, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 5830, 1638, 620, 18, 542, 1528, 12, 1408, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 5830, 2857, 10196, 18, 542, 1528, 12, 315, 20, 18, 20, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 5830, 15040, 10196, 18, 542, 1528, 12, 315, 20, 18, 20, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 74, 952, 2655, 18, 542, 8026, 12, 446, 11272, 202, 202, 549, 1077, 7078, 2655, 18, 542, 1670, 2498, 12, 446, 11272, 202, 202, 549, 1077, 7078, 2 ]
if ((workspace.getRoot().getFolder(resourcePath).exists() || workspace.getRoot().getFile(resourcePath).exists())) { setErrorMessage(DTDUIMessages.ResourceGroup_nameExists); return false;
IWorkspace workspace = ResourcesPlugin.getWorkspace(); IStatus result = workspace.validatePath(resourcePath.toString(), IResource.FOLDER); if (!result.isOK()) { setErrorMessage(result.getMessage()); return false; } if ((workspace.getRoot().getFolder(resourcePath).exists() || workspace.getRoot().getFile(resourcePath).exists())) { setErrorMessage(DTDUIMessages.ResourceGroup_nameExists); return false; }
protected boolean validatePage() { IContentType type = getContentType(); String fileName = getFileName(); // check that filename does not contain invalid extension if ((fileName.lastIndexOf('.') != -1) && (!type.isAssociatedWith(fileName))) { setErrorMessage(NLS.bind(DTDUIMessages._ERROR_FILENAME_MUST_END_DTD, getValidExtensions().toString())); return false; } // no file extension specified so check adding default // extension doesn't equal a file that already exists if (fileName.lastIndexOf('.') == -1) { String newFileName = addDefaultExtension(fileName); IPath resourcePath = getContainerFullPath().append(newFileName); IWorkspace workspace = ResourcesPlugin.getWorkspace(); IStatus result = workspace.validatePath(resourcePath.toString(), IResource.FOLDER); if (!result.isOK()) { // path invalid setErrorMessage(result.getMessage()); return false; } if ((workspace.getRoot().getFolder(resourcePath).exists() || workspace.getRoot().getFile(resourcePath).exists())) { setErrorMessage(DTDUIMessages.ResourceGroup_nameExists); return false; } } setErrorMessage(null); return super.validatePage(); }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/df228a8751f1f8f8179076db801c967587158e65/NewDTDWizard.java/buggy/bundles/org.eclipse.wst.dtd.ui/src/org/eclipse/wst/dtd/ui/internal/wizard/NewDTDWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 1250, 1954, 1964, 1435, 288, 9506, 202, 45, 8046, 618, 273, 17470, 5621, 9506, 202, 780, 3968, 273, 13807, 5621, 9506, 202, 759, 866, 716, 1544, 1552, 486, 912, 2057, 2710, 9506, 202, 430, 14015, 17812, 18, 2722, 31985, 2668, 1093, 13, 480, 300, 21, 13, 597, 16051, 723, 18, 291, 19233, 1190, 12, 17812, 20349, 288, 6862, 202, 542, 14935, 12, 5106, 18, 4376, 12, 9081, 16214, 3445, 1753, 6315, 3589, 67, 16080, 67, 49, 5996, 67, 4415, 67, 25728, 16, 22574, 7513, 7675, 10492, 1435, 10019, 6862, 202, 2463, 629, 31, 9506, 202, 97, 9506, 202, 759, 1158, 585, 2710, 1269, 1427, 866, 6534, 805, 9506, 202, 759, 2710, 3302, 1404, 3959, 279, 585, 716, 1818, 1704, 9506, 202, 430, 261, 17812, 18, 2722, 31985, 2668, 1093, 13, 422, 300, 21, 13, 288, 6862, 202, 780, 394, 4771, 273, 28297, 3625, 12, 17812, 1769, 6862, 202, 45, 743, 15467, 273, 9272, 24173, 7675, 6923, 12, 2704, 4771, 1769, 6862, 202, 45, 8241, 6003, 273, 8128, 3773, 18, 588, 8241, 5621, 6862, 202, 45, 1482, 563, 273, 6003, 18, 5662, 743, 12, 3146, 743, 18, 10492, 9334, 467, 1420, 18, 17357, 1769, 6862, 202, 430, 16051, 2088, 18, 291, 3141, 10756, 288, 25083, 202, 759, 589, 2057, 25083, 202, 542, 14935, 12, 2088, 18, 24906, 10663, 25083, 202, 2463, 629, 31, 6862, 202, 97, 6862, 202, 430, 14015, 14915, 18, 588, 2375, 7675, 588, 3899, 12, 3146, 743, 2934, 1808, 1435, 747, 6003, 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, 1875, 202, 1117, 1250, 1954, 1964, 1435, 288, 9506, 202, 45, 8046, 618, 273, 17470, 5621, 9506, 202, 780, 3968, 273, 13807, 5621, 9506, 202, 759, 866, 716, 1544, 1552, 486, 912, 2057, 2710, 9506, 202, 430, 14015, 17812, 18, 2722, 31985, 2668, 1093, 13, 480, 300, 21, 13, 597, 16051, 723, 18, 291, 19233, 1190, 12, 17812, 20349, 288, 6862, 202, 542, 14935, 12, 5106, 18, 4376, 12, 9081, 16214, 3445, 1753, 6315, 3589, 67, 16080, 67, 49, 5996, 67, 4415, 67, 25728, 16, 22574, 7513, 7675, 10492, 1435, 10019, 6862, 202, 2463, 629, 31, 9506, 202, 97, 9506, 202, 759, 1158, 585, 2710, 1269, 1427, 866, 6534, 805, 9506, 202, 759, 2710, 3302, 1404, 3959, 279, 585, 2 ]
newVector.addElement(new Option( "\tSets the random number seed (default 1).", "S", 1, "-S <random number seed>"));
public Enumeration listOptions() { Vector newVector = new Vector(5); newVector.addElement(new Option( "\tTurn on debugging output.", "D", 0, "-D")); newVector.addElement(new Option( "\tFull name of classifier to perform parameter selection on.\n" + "\teg: weka.classifiers.bayes.NaiveBayes", "W", 1, "-W <classifier class name>")); newVector.addElement(new Option( "\tNumber of folds used for cross validation (default 10).", "X", 1, "-X <number of folds>")); newVector.addElement(new Option( "\tClassifier parameter options.\n" + "\teg: \"N 1 5 10\" Sets an optimisation parameter for the\n" + "\tclassifier with name -N, with lower bound 1, upper bound\n" + "\t5, and 10 optimisation steps. The upper bound may be the\n" + "\tcharacter 'A' or 'I' to substitute the number of\n" + "\tattributes or instances in the training data,\n" + "\trespectively. This parameter may be supplied more than\n" + "\tonce to optimise over several classifier options\n" + "\tsimultaneously.", "P", 1, "-P <classifier parameter>")); newVector.addElement(new Option( "\tSets the random number seed (default 1).", "S", 1, "-S <random number seed>")); if ((m_Classifier != null) && (m_Classifier instanceof OptionHandler)) { newVector.addElement(new Option("", "", 0, "\nOptions specific to sub-classifier " + m_Classifier.getClass().getName() + ":\n(use -- to signal start of sub-classifier options)")); Enumeration enum = ((OptionHandler)m_Classifier).listOptions(); while (enum.hasMoreElements()) { newVector.addElement(enum.nextElement()); } }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/dc4f7d7e47ae062ce6df124d2507ee97cd99835e/CVParameterSelection.java/buggy/classifiers/meta/CVParameterSelection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13864, 666, 1320, 1435, 288, 565, 5589, 394, 5018, 273, 394, 5589, 12, 25, 1769, 565, 394, 5018, 18, 1289, 1046, 12, 2704, 2698, 12, 202, 1377, 1548, 88, 15858, 603, 10450, 876, 1199, 16, 202, 1377, 315, 40, 3113, 374, 16, 3701, 40, 7923, 1769, 565, 394, 5018, 18, 1289, 1046, 12, 2704, 2698, 12, 202, 1377, 1548, 88, 5080, 508, 434, 14622, 358, 3073, 1569, 4421, 603, 8403, 82, 6, 202, 1377, 397, 1548, 736, 75, 30, 732, 7282, 18, 1106, 3383, 18, 70, 528, 281, 18, 24101, 688, 38, 528, 281, 3113, 202, 1377, 315, 59, 3113, 404, 16, 3701, 59, 411, 1106, 1251, 667, 508, 2984, 10019, 565, 394, 5018, 18, 1289, 1046, 12, 2704, 2698, 12, 202, 1377, 1548, 88, 1854, 434, 11590, 87, 1399, 364, 6828, 3379, 261, 1886, 1728, 14944, 16, 202, 1377, 315, 60, 3113, 404, 16, 3701, 60, 411, 2696, 434, 11590, 87, 2984, 10019, 565, 394, 5018, 18, 1289, 1046, 12, 2704, 2698, 12, 202, 1377, 1548, 88, 13860, 1569, 702, 8403, 82, 6, 202, 1377, 397, 1548, 736, 75, 30, 1239, 50, 404, 1381, 1728, 2412, 11511, 392, 5213, 10742, 1569, 364, 326, 64, 82, 6, 202, 1377, 397, 1548, 88, 1106, 1251, 598, 508, 300, 50, 16, 598, 2612, 2489, 404, 16, 3854, 2489, 64, 82, 6, 202, 1377, 397, 1548, 88, 25, 16, 471, 1728, 5213, 10742, 6075, 18, 1021, 3854, 2489, 2026, 506, 326, 64, 82, 6, 202, 1377, 397, 1548, 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, 13864, 666, 1320, 1435, 288, 565, 5589, 394, 5018, 273, 394, 5589, 12, 25, 1769, 565, 394, 5018, 18, 1289, 1046, 12, 2704, 2698, 12, 202, 1377, 1548, 88, 15858, 603, 10450, 876, 1199, 16, 202, 1377, 315, 40, 3113, 374, 16, 3701, 40, 7923, 1769, 565, 394, 5018, 18, 1289, 1046, 12, 2704, 2698, 12, 202, 1377, 1548, 88, 5080, 508, 434, 14622, 358, 3073, 1569, 4421, 603, 8403, 82, 6, 202, 1377, 397, 1548, 736, 75, 30, 732, 7282, 18, 1106, 3383, 18, 70, 528, 281, 18, 24101, 688, 38, 528, 281, 3113, 202, 1377, 315, 59, 3113, 404, 16, 3701, 59, 411, 1106, 1251, 667, 508, 2984, 10019, 565, 394, 5018, 18, 1289, 1046, 2 ]
Object bean = pageContext.findAttribute(name);
Object bean = RequestUtils.lookup(pageContext, name, null);
public int doStartTag() throws JspException { // Acquire the current value of the appropriate field Object current = null; Object bean = pageContext.findAttribute(name); if (bean == null) throw new JspException (messages.getMessage("getter.bean", name)); try { current = BeanUtils.getProperty(bean, property); if (current == null) current = ""; // @since Struts 1.1 if (idName != null) { Object idBean = pageContext.findAttribute(idName); if (idBean == null) throw new JspException (messages.getMessage("getter.bean", idName)); value = BeanUtils.getProperty(idBean, value); if (value == null) value = ""; } } catch (IllegalAccessException e) { throw new JspException (messages.getMessage("getter.access", property, name)); } catch (InvocationTargetException e) { Throwable t = e.getTargetException(); throw new JspException (messages.getMessage("getter.result", property, t.toString())); } catch (NoSuchMethodException e) { throw new JspException (messages.getMessage("getter.method", property, name)); } // Create an appropriate "input" element based on our parameters StringBuffer results = new StringBuffer("<input type=\"radio\""); results.append(" name=\""); // @since Struts 1.1 if( indexed ) prepareIndex( results, name ); results.append(this.property); results.append("\""); if (accesskey != null) { results.append(" accesskey=\""); results.append(accesskey); results.append("\""); } if (tabindex != null) { results.append(" tabindex=\""); results.append(tabindex); results.append("\""); } results.append(" value=\""); results.append(this.value); results.append("\""); if (value.equals(current.toString())) results.append(" checked=\"checked\""); results.append(prepareEventHandlers()); results.append(prepareStyles()); results.append(getElementClose()); // Print this field to our output writer ResponseUtils.write(pageContext, results.toString()); // Continue processing this page this.text = null; return (EVAL_BODY_TAG); }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/59973d4ef1e406262accfe500f1f2a8d91994057/RadioTag.java/clean/src/share/org/apache/struts/taglib/html/RadioTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 368, 28822, 326, 783, 460, 434, 326, 5505, 652, 3639, 1033, 783, 273, 446, 31, 3639, 1033, 3931, 273, 1567, 1989, 18, 8664, 12, 2433, 1042, 16, 508, 16, 446, 1769, 3639, 309, 261, 14496, 422, 446, 13, 5411, 604, 394, 27485, 7734, 261, 6833, 18, 24906, 2932, 11990, 18, 14496, 3113, 508, 10019, 3639, 775, 288, 5411, 783, 273, 7704, 1989, 18, 588, 1396, 12, 14496, 16, 1272, 1769, 5411, 309, 261, 2972, 422, 446, 13, 7734, 783, 273, 1408, 31, 5411, 368, 632, 9256, 3978, 12940, 404, 18, 21, 5411, 309, 261, 350, 461, 480, 446, 13, 288, 7734, 1033, 612, 3381, 273, 21442, 18, 4720, 1499, 12, 350, 461, 1769, 7734, 309, 261, 350, 3381, 422, 446, 13, 10402, 604, 394, 27485, 10792, 261, 6833, 18, 24906, 2932, 11990, 18, 14496, 3113, 612, 461, 10019, 7734, 460, 273, 7704, 1989, 18, 588, 1396, 12, 350, 3381, 16, 460, 1769, 7734, 309, 261, 1132, 422, 446, 13, 460, 273, 1408, 31, 5411, 289, 5411, 289, 1044, 261, 12195, 9773, 425, 13, 288, 7734, 604, 394, 27485, 10792, 261, 6833, 18, 24906, 2932, 11990, 18, 3860, 3113, 1272, 16, 508, 10019, 5411, 289, 1044, 261, 9267, 14950, 425, 13, 288, 7734, 4206, 268, 273, 425, 18, 588, 14950, 5621, 7734, 604, 394, 27485, 10792, 261, 6833, 18, 24906, 2932, 11990, 18, 2088, 3113, 29159, 1272, 16, 268, 18, 10492, 1435, 10019, 3639, 289, 1044, 261, 28341, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 368, 28822, 326, 783, 460, 434, 326, 5505, 652, 3639, 1033, 783, 273, 446, 31, 3639, 1033, 3931, 273, 1567, 1989, 18, 8664, 12, 2433, 1042, 16, 508, 16, 446, 1769, 3639, 309, 261, 14496, 422, 446, 13, 5411, 604, 394, 27485, 7734, 261, 6833, 18, 24906, 2932, 11990, 18, 14496, 3113, 508, 10019, 3639, 775, 288, 5411, 783, 273, 7704, 1989, 18, 588, 1396, 12, 14496, 16, 1272, 1769, 5411, 309, 261, 2972, 422, 446, 13, 7734, 783, 273, 1408, 31, 5411, 368, 632, 9256, 3978, 12940, 404, 18, 21, 5411, 309, 261, 350, 461, 480, 446, 13, 288, 7734, 1033, 612, 3381, 273, 21442, 18, 4720, 1499, 2 ]
if(sourceViewer instanceof CEditor.AdaptedSourceViewer) { String language = ((CEditor.AdaptedSourceViewer)sourceViewer).getDisplayLanguage();
if(sourceViewer instanceof CSourceViewer) { String language = ((CSourceViewer)sourceViewer).getDisplayLanguage();
public IPresentationReconciler getPresentationReconciler(ISourceViewer sourceViewer) { PresentationReconciler reconciler= new PresentationReconciler(); RuleBasedScanner scanner; if(sourceViewer instanceof CEditor.AdaptedSourceViewer) { String language = ((CEditor.AdaptedSourceViewer)sourceViewer).getDisplayLanguage(); if(language != null && language.equals(CEditor.LANGUAGE_CPP)) { scanner= fTextTools.getCppCodeScanner(); } else { scanner= fTextTools.getCCodeScanner(); } } else { scanner= fTextTools.getCCodeScanner(); } DefaultDamagerRepairer dr= new DefaultDamagerRepairer(scanner); reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE); reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE); //TextAttribute attr = new TextAttribute(manager.getColor(ICColorConstants.C_DEFAULT)); dr= new DefaultDamagerRepairer(getSinglelineCommentScanner()); reconciler.setDamager(dr, CPartitionScanner.C_SINGLE_LINE_COMMENT); reconciler.setRepairer(dr, CPartitionScanner.C_SINGLE_LINE_COMMENT); dr= new DefaultDamagerRepairer(getStringScanner()); reconciler.setDamager(dr, CPartitionScanner.C_STRING); reconciler.setRepairer(dr, CPartitionScanner.C_STRING); dr= new DefaultDamagerRepairer(getMultilineCommentScanner()); reconciler.setDamager(dr, CPartitionScanner.C_MULTILINE_COMMENT); reconciler.setRepairer(dr, CPartitionScanner.C_MULTILINE_COMMENT); return reconciler; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/57a32ca95df934949ba675be3940098a4062aea6/CSourceViewerConfiguration.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CSourceViewerConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2971, 1581, 367, 426, 11504, 2895, 1689, 1581, 367, 426, 11504, 2895, 12, 45, 1830, 18415, 1084, 18415, 13, 288, 202, 202, 6351, 367, 426, 11504, 2895, 19078, 2895, 33, 394, 25130, 367, 426, 11504, 2895, 5621, 202, 202, 2175, 9802, 11338, 7683, 31, 202, 202, 430, 12, 3168, 18415, 1276, 385, 6946, 18, 13716, 329, 1830, 18415, 13, 288, 1082, 202, 780, 2653, 273, 14015, 1441, 72, 1811, 18, 13716, 329, 1830, 18415, 13, 3168, 18415, 2934, 588, 4236, 3779, 5621, 1082, 202, 430, 12, 4923, 480, 446, 597, 2653, 18, 14963, 12, 1441, 72, 1811, 18, 15547, 67, 4258, 52, 3719, 288, 9506, 202, 26842, 33, 284, 1528, 10348, 18, 588, 39, 11858, 1085, 11338, 5621, 1082, 202, 97, 469, 288, 9506, 202, 26842, 33, 284, 1528, 10348, 18, 588, 39, 1085, 11338, 5621, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 26842, 33, 284, 1528, 10348, 18, 588, 39, 1085, 11338, 5621, 202, 202, 97, 202, 202, 1868, 40, 301, 6817, 426, 6017, 264, 5081, 33, 394, 2989, 40, 301, 6817, 426, 6017, 264, 12, 26842, 1769, 202, 202, 266, 11504, 2895, 18, 542, 40, 301, 6817, 12, 3069, 16, 1599, 504, 650, 18, 5280, 67, 9689, 67, 2399, 1769, 202, 202, 266, 11504, 2895, 18, 542, 426, 6017, 264, 12, 3069, 16, 1599, 504, 650, 18, 5280, 67, 9689, 67, 2399, 1769, 202, 202, 759, 1528, 1499, 1604, 273, 394, 3867, 1499, 12, 4181, 18, 588, 2957, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2971, 1581, 367, 426, 11504, 2895, 1689, 1581, 367, 426, 11504, 2895, 12, 45, 1830, 18415, 1084, 18415, 13, 288, 202, 202, 6351, 367, 426, 11504, 2895, 19078, 2895, 33, 394, 25130, 367, 426, 11504, 2895, 5621, 202, 202, 2175, 9802, 11338, 7683, 31, 202, 202, 430, 12, 3168, 18415, 1276, 385, 6946, 18, 13716, 329, 1830, 18415, 13, 288, 1082, 202, 780, 2653, 273, 14015, 1441, 72, 1811, 18, 13716, 329, 1830, 18415, 13, 3168, 18415, 2934, 588, 4236, 3779, 5621, 1082, 202, 430, 12, 4923, 480, 446, 597, 2653, 18, 14963, 12, 1441, 72, 1811, 18, 15547, 67, 4258, 52, 3719, 288, 9506, 202, 26842, 33, 284, 1528, 10348, 18, 588, 39, 11858, 1085, 2 ]
javaCommand.append(policyFile);
javaCommand.append(checkWhiteSpaces(policyFile));
protected String buildJavaCommand() { StringBuffer javaCommand = new StringBuffer(); // append java command if (javaPath == null) { javaCommand.append("java"); } else { javaCommand.append(javaPath); } if (bootClasspath != null) { javaCommand.append(" -Xbootclasspath:"); javaCommand.append(bootClasspath); javaCommand.append(" "); } // append jvmParameters if (jvmParameters != null) { javaCommand.append(" " + jvmParameters); } // append classpath if ((classpath != null) && (classpath.length() > 0)) { javaCommand.append(" -cp "); javaCommand.append(classpath); } // append policy option if (policyFile != null) { javaCommand.append(POLICY_OPTION); javaCommand.append(policyFile); } // append log4j option if (log4jFile != null) { javaCommand.append(LOG4J_OPTION); javaCommand.append(log4jFile); } // append proactive policy File // if (securityFile != null) { // javaCommand.append(PROACTIVE_POLICYFILE_OPTION); // javaCommand.append(securityFile); // }// else if (System.getProperty("proactive.runtime.security") != null) { // javaCommand.append(PROACTIVE_POLICYFILE_OPTION); // javaCommand.append(System.getProperty("proactive.runtime.security")); // } // append classname javaCommand.append(" "); javaCommand.append(classname); if (logger.isDebugEnabled()) { logger.debug("JVMProcessImpl.buildJavaCommand() Parameters " + parameters); } if (parameters != null) { javaCommand.append(" "); javaCommand.append(parameters); } if (logger.isDebugEnabled()) { logger.debug(javaCommand.toString()); } if (logger.isDebugEnabled()) { logger.debug(javaCommand.toString() + "\n"); } if (logger.isDebugEnabled()) { logger.debug("JVMProcessImpl.buildJavaCommand() " + javaCommand); } return javaCommand.toString(); }
50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/0a1e13992609b7e4b984e6bc3c79af652f043446/JVMProcessImpl.java/clean/src/org/objectweb/proactive/core/process/JVMProcessImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 1361, 5852, 2189, 1435, 288, 3639, 6674, 2252, 2189, 273, 394, 6674, 5621, 3639, 368, 714, 2252, 1296, 3639, 309, 261, 6290, 743, 422, 446, 13, 288, 5411, 2252, 2189, 18, 6923, 2932, 6290, 8863, 3639, 289, 469, 288, 5411, 2252, 2189, 18, 6923, 12, 6290, 743, 1769, 3639, 289, 3639, 309, 261, 7137, 17461, 480, 446, 13, 288, 5411, 2252, 2189, 18, 6923, 2932, 300, 60, 7137, 26302, 2773, 1769, 5411, 2252, 2189, 18, 6923, 12, 7137, 17461, 1769, 5411, 2252, 2189, 18, 6923, 2932, 315, 1769, 3639, 289, 3639, 368, 714, 13555, 2402, 3639, 309, 261, 78, 3489, 2402, 480, 446, 13, 288, 5411, 2252, 2189, 18, 6923, 2932, 315, 397, 13555, 2402, 1769, 3639, 289, 3639, 368, 714, 10006, 3639, 309, 14015, 26302, 480, 446, 13, 597, 261, 26302, 18, 2469, 1435, 405, 374, 3719, 288, 5411, 2252, 2189, 18, 6923, 2932, 300, 4057, 315, 1769, 5411, 2252, 2189, 18, 6923, 12, 26302, 1769, 3639, 289, 3639, 368, 714, 3329, 1456, 3639, 309, 261, 5086, 812, 480, 446, 13, 288, 5411, 2252, 2189, 18, 6923, 12, 26366, 67, 7425, 1769, 5411, 2252, 2189, 18, 6923, 12, 1893, 13407, 12077, 12, 5086, 812, 10019, 3639, 289, 3639, 368, 714, 613, 24, 78, 1456, 3639, 309, 261, 1330, 24, 78, 812, 480, 446, 13, 288, 5411, 2252, 2189, 18, 6923, 12, 4842, 24, 46, 67, 7425, 1769, 5411, 2252, 2189, 18, 6923, 12, 1330, 24, 78, 812, 1769, 3639, 289, 3639, 368, 714, 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, 514, 1361, 5852, 2189, 1435, 288, 3639, 6674, 2252, 2189, 273, 394, 6674, 5621, 3639, 368, 714, 2252, 1296, 3639, 309, 261, 6290, 743, 422, 446, 13, 288, 5411, 2252, 2189, 18, 6923, 2932, 6290, 8863, 3639, 289, 469, 288, 5411, 2252, 2189, 18, 6923, 12, 6290, 743, 1769, 3639, 289, 3639, 309, 261, 7137, 17461, 480, 446, 13, 288, 5411, 2252, 2189, 18, 6923, 2932, 300, 60, 7137, 26302, 2773, 1769, 5411, 2252, 2189, 18, 6923, 12, 7137, 17461, 1769, 5411, 2252, 2189, 18, 6923, 2932, 315, 1769, 3639, 289, 3639, 368, 714, 13555, 2402, 3639, 309, 261, 78, 3489, 2402, 480, 446, 13, 288, 5411, 2252, 2189, 18, 6923, 2932, 315, 397, 13555, 2402, 1769, 2 ]
} return image;
} return null;
public Image getImage(Object element) { Image image = null; if (element instanceof TaskCategory) { TaskCategory category = (TaskCategory) element; if (category.isArchive()) { image = TaskListImages.getImage(TaskListImages.CATEGORY_ARCHIVE); } else { image = TaskListImages.getImage(TaskListImages.CATEGORY); } } else if (element instanceof AbstractRepositoryQuery) { image = TaskListImages.getImage(TaskListImages.QUERY); } else if (element instanceof AbstractQueryHit) { AbstractQueryHit hit = (AbstractQueryHit)element; if (hit.getCorrespondingTask() != null) { image = getImage(hit.getCorrespondingTask()); } else { image = TaskListImages.getImage(TaskListImages.TASK_REMOTE); } } else if (element instanceof AbstractRepositoryTask) { AbstractRepositoryTask repositoryTask = (AbstractRepositoryTask)element; if (repositoryTask.getSyncState() == RepositoryTaskSyncState.OUTGOING) { image = TaskListImages.getImage(TaskListImages.TASK_REPOSITORY_OUTGOING); } else if (repositoryTask.getSyncState() == RepositoryTaskSyncState.INCOMING) { image = TaskListImages.getImage(TaskListImages.TASK_REPOSITORY_INCOMMING); } else if (repositoryTask.getSyncState() == RepositoryTaskSyncState.CONFLICT) { image = TaskListImages.getImage(TaskListImages.TASK_REPOSITORY_CONFLICT); } else { image = TaskListImages.getImage(TaskListImages.TASK_REPOSITORY); } } else if (element instanceof ITask) { ITask task = (ITask)element; String url = task.getUrl(); if (url != null && !url.trim().equals("") && !url.equals("http://")) { image = TaskListImages.getImage(TaskListImages.TASK_WEB); } else { image = TaskListImages.getImage(TaskListImages.TASK); } } return image; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c6164d4405c7699e978c55094e91294d849057f6/TaskElementLabelProvider.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskElementLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3421, 10567, 12, 921, 930, 13, 288, 202, 202, 2040, 1316, 273, 446, 31, 202, 202, 430, 261, 2956, 1276, 3837, 4457, 13, 288, 1082, 202, 2174, 4457, 3150, 273, 261, 2174, 4457, 13, 930, 31, 1082, 202, 430, 261, 4743, 18, 291, 7465, 10756, 288, 9506, 202, 2730, 273, 3837, 682, 8946, 18, 588, 2040, 12, 2174, 682, 8946, 18, 24847, 67, 10586, 5354, 1769, 1082, 202, 97, 469, 288, 9506, 202, 2730, 273, 3837, 682, 8946, 18, 588, 2040, 12, 2174, 682, 8946, 18, 24847, 1769, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 2956, 1276, 4115, 3305, 1138, 13, 288, 1082, 202, 2730, 273, 3837, 682, 8946, 18, 588, 2040, 12, 2174, 682, 8946, 18, 10753, 1769, 202, 202, 97, 469, 309, 261, 2956, 1276, 4115, 1138, 13616, 13, 288, 1082, 202, 7469, 1138, 13616, 6800, 273, 261, 7469, 1138, 13616, 13, 2956, 31, 1082, 202, 430, 261, 15989, 18, 588, 6217, 17863, 310, 2174, 1435, 480, 446, 13, 288, 9506, 202, 2730, 273, 10567, 12, 15989, 18, 588, 6217, 17863, 310, 2174, 10663, 1082, 202, 97, 469, 288, 9506, 202, 2730, 273, 3837, 682, 8946, 18, 588, 2040, 12, 2174, 682, 8946, 18, 15580, 67, 15790, 1769, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 2956, 1276, 4115, 3305, 2174, 13, 288, 1082, 202, 7469, 3305, 2174, 3352, 2174, 273, 261, 7469, 3305, 2174, 13, 2956, 31, 1082, 202, 430, 261, 9071, 2174, 18, 588, 4047, 1119, 1435, 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, 3421, 10567, 12, 921, 930, 13, 288, 202, 202, 2040, 1316, 273, 446, 31, 202, 202, 430, 261, 2956, 1276, 3837, 4457, 13, 288, 1082, 202, 2174, 4457, 3150, 273, 261, 2174, 4457, 13, 930, 31, 1082, 202, 430, 261, 4743, 18, 291, 7465, 10756, 288, 9506, 202, 2730, 273, 3837, 682, 8946, 18, 588, 2040, 12, 2174, 682, 8946, 18, 24847, 67, 10586, 5354, 1769, 1082, 202, 97, 469, 288, 9506, 202, 2730, 273, 3837, 682, 8946, 18, 588, 2040, 12, 2174, 682, 8946, 18, 24847, 1769, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 2956, 1276, 4115, 3305, 1138, 13, 288, 1082, 202, 2730, 273, 3837, 682, 8946, 18, 588, 2040, 12, 2174, 2 ]
int b = (int) (255 * HUEtoRGB(m1, m2, h - (1f / 3f)));
int b = (int) (255 * HUEtoRGB(m1, m2, h - (1f / 3)));
private static final int HSLtoRGB(float h, float s, float l) { float m2 = (l <= 0.5) ? (l * (s + 1f)) : (l + s - l * s); float m1 = 2f * l - m2; int r = (int) (255 * HUEtoRGB(m1, m2, h + (1f / 3f))); int g = (int) (255 * HUEtoRGB(m1, m2, h)); int b = (int) (255 * HUEtoRGB(m1, m2, h - (1f / 3f))); return (((r << 8) | g) << 8) | b; }
50663 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50663/fc3049923730d7d004f0b54bfd9ffdcac4984aef/ImageUtil.java/clean/robocode/robocode/util/ImageUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 509, 670, 4559, 869, 11343, 12, 5659, 366, 16, 1431, 272, 16, 1431, 328, 13, 288, 202, 202, 5659, 312, 22, 273, 261, 80, 1648, 374, 18, 25, 13, 692, 261, 80, 380, 261, 87, 397, 404, 74, 3719, 294, 261, 80, 397, 272, 300, 328, 380, 272, 1769, 202, 202, 5659, 312, 21, 273, 576, 74, 380, 328, 300, 312, 22, 31, 202, 202, 474, 436, 273, 261, 474, 13, 261, 10395, 380, 670, 1821, 869, 11343, 12, 81, 21, 16, 312, 22, 16, 366, 397, 261, 21, 74, 342, 890, 74, 3719, 1769, 202, 202, 474, 314, 273, 261, 474, 13, 261, 10395, 380, 670, 1821, 869, 11343, 12, 81, 21, 16, 312, 22, 16, 366, 10019, 202, 202, 474, 324, 273, 261, 474, 13, 261, 10395, 380, 670, 1821, 869, 11343, 12, 81, 21, 16, 312, 22, 16, 366, 300, 261, 21, 74, 342, 890, 74, 3719, 1769, 202, 202, 2463, 261, 12443, 86, 2296, 1725, 13, 571, 314, 13, 2296, 1725, 13, 571, 324, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 509, 670, 4559, 869, 11343, 12, 5659, 366, 16, 1431, 272, 16, 1431, 328, 13, 288, 202, 202, 5659, 312, 22, 273, 261, 80, 1648, 374, 18, 25, 13, 692, 261, 80, 380, 261, 87, 397, 404, 74, 3719, 294, 261, 80, 397, 272, 300, 328, 380, 272, 1769, 202, 202, 5659, 312, 21, 273, 576, 74, 380, 328, 300, 312, 22, 31, 202, 202, 474, 436, 273, 261, 474, 13, 261, 10395, 380, 670, 1821, 869, 11343, 12, 81, 21, 16, 312, 22, 16, 366, 397, 261, 21, 74, 342, 890, 74, 3719, 1769, 202, 202, 474, 314, 273, 261, 474, 13, 261, 10395, 380, 670, 1821, 869, 11343, 12, 81, 21, 16, 2 ]
log.error("***** Gossip.run(): received invalid draw command " + comm.mode);
System.err.println("***** Gossip.run(): received invalid draw command " + comm.mode);
public void run() { Object tmp; Message msg=null; Command comm; boolean fl=true; Vector mbrs; ObjectOutputStream os; while(fl) { try { tmp=channel.receive(0); // System.out.println("Gossip.run(): received " + tmp); if(tmp == null) continue; if(tmp instanceof View) { View v=(View)tmp; member_size=v.size(); mbrs=v.getMembers(); members.removeAllElements(); for(int i=0; i < mbrs.size(); i++) members.addElement(mbrs.elementAt(i)); if(mainFrame != null) setTitle(); continue; } if(tmp instanceof ExitEvent) { // System.out.println("-- Gossip.main(): received EXIT, waiting for ChannelReconnected callback"); break; } if(!(tmp instanceof Message)) continue; msg=(Message)tmp; comm=null; Object obj=msg.getObject(); // System.out.println("obj is " + obj); if(obj instanceof Command) comm=(Command)obj; else if(obj instanceof Message) { System.out.println("*** Message is " + Util.printMessage((Message)obj)); Util.dumpStack(true); } else { if(obj != null) System.out.println("obj is " + obj.getClass() + ", hdrs are" + msg.printObjectHeaders()); else System.out.println("hdrs are" + msg.printObjectHeaders()); Util.dumpStack(true); } switch(comm.mode) { case Command.GOSSIP: if(graphics != null) { colorPanel(comm.r, comm.g, comm.b); comm.not_seen.removeElement(local_addr); if(comm.not_seen.size() > 0) { // forward gossip Vector v=Util.pickSubset(comm.not_seen, subset); out.reset(); os=new ObjectOutputStream(out); os.writeObject(comm); os.flush(); for(int i=0; i < v.size(); i++) { channel.send(new Message((Address)v.elementAt(i), null, out.toByteArray())); } } } break; case Command.CLEAR: clearPanel(); continue; default: log.error("***** Gossip.run(): received invalid draw command " + comm.mode); break; } } catch(ChannelNotConnectedException not) { log.error("Gossip: " + not); break; } catch(ChannelClosedException closed) { log.error("Gossip: channel was closed"); break; } catch(Exception e) { log.error(e); continue; // break; } } }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/5ad015d9a78e1da3350d9b398b46b2f5d4508564/Gossip.java/clean/src/org/jgroups/demos/Gossip.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 1033, 1853, 31, 3639, 2350, 1234, 33, 2011, 31, 3639, 3498, 1543, 31, 3639, 1250, 1183, 33, 3767, 31, 3639, 5589, 312, 2848, 87, 31, 3639, 23438, 1140, 31, 3639, 1323, 12, 2242, 13, 288, 5411, 775, 288, 7734, 1853, 33, 4327, 18, 18149, 12, 20, 1769, 7734, 368, 2332, 18, 659, 18, 8222, 2932, 43, 15616, 18, 2681, 13332, 5079, 315, 397, 1853, 1769, 7734, 309, 12, 5645, 422, 446, 13, 1324, 31, 7734, 309, 12, 5645, 1276, 4441, 13, 288, 10792, 4441, 331, 28657, 1767, 13, 5645, 31, 10792, 3140, 67, 1467, 33, 90, 18, 1467, 5621, 10792, 312, 2848, 87, 33, 90, 18, 588, 6918, 5621, 10792, 4833, 18, 4479, 1595, 3471, 5621, 10792, 364, 12, 474, 277, 33, 20, 31, 277, 411, 312, 2848, 87, 18, 1467, 5621, 277, 27245, 13491, 4833, 18, 1289, 1046, 12, 1627, 5453, 18, 2956, 861, 12, 77, 10019, 10792, 309, 12, 5254, 3219, 480, 446, 13, 13491, 14109, 5621, 10792, 1324, 31, 7734, 289, 7734, 309, 12, 5645, 1276, 9500, 1133, 13, 288, 10792, 368, 2332, 18, 659, 18, 8222, 2932, 413, 30263, 18, 5254, 13332, 5079, 28407, 16, 7336, 364, 5307, 426, 8537, 1348, 8863, 10792, 898, 31, 7734, 289, 7734, 309, 12, 5, 12, 5645, 1276, 2350, 3719, 10792, 1324, 31, 7734, 1234, 28657, 1079, 13, 5645, 31, 7734, 1543, 33, 2011, 31, 7734, 1033, 1081, 33, 3576, 18, 588, 921, 5621, 7734, 368, 2332, 18, 659, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 1033, 1853, 31, 3639, 2350, 1234, 33, 2011, 31, 3639, 3498, 1543, 31, 3639, 1250, 1183, 33, 3767, 31, 3639, 5589, 312, 2848, 87, 31, 3639, 23438, 1140, 31, 3639, 1323, 12, 2242, 13, 288, 5411, 775, 288, 7734, 1853, 33, 4327, 18, 18149, 12, 20, 1769, 7734, 368, 2332, 18, 659, 18, 8222, 2932, 43, 15616, 18, 2681, 13332, 5079, 315, 397, 1853, 1769, 7734, 309, 12, 5645, 422, 446, 13, 1324, 31, 7734, 309, 12, 5645, 1276, 4441, 13, 288, 10792, 4441, 331, 28657, 1767, 13, 5645, 31, 10792, 3140, 67, 1467, 33, 90, 18, 1467, 5621, 10792, 312, 2848, 87, 33, 90, 18, 588, 6918, 5621, 10792, 4833, 18, 2 ]
setupLex(Parser.PARENCLOSE);
setupLex(Parser.BRACECLOSE);
public void testMethodArray() throws Exception { // setup values setupLex(Parser.CLASS); setupLex(Parser.IDENTIFIER, "x"); setupLex(Parser.PARENOPEN); setupLex(Parser.IDENTIFIER, "int"); setupLex(Parser.SQUAREOPEN); setupLex(Parser.SQUARECLOSE); setupLex(Parser.IDENTIFIER, "count"); setupLex(Parser.BRACKETOPEN); setupLex(Parser.BRACKETCLOSE); setupLex(Parser.SEMI); setupLex(Parser.PARENCLOSE); setupLex(0); // expectations MethodDef mth = new MethodDef(); mth.name = "count"; mth.returns = "int"; mth.dimensions = 1; builder.addExpectedAddMethodValues(mth); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
5818 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5818/965f3f001c3ba451603c4915ad20ae6271dac0ef/ParserTest.java/buggy/src/test/com/thoughtworks/qdox/parser/ParserTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1305, 1076, 1435, 1216, 1185, 288, 202, 202, 759, 3875, 924, 202, 202, 8401, 14756, 12, 2678, 18, 5237, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 16606, 16, 315, 92, 8863, 202, 202, 8401, 14756, 12, 2678, 18, 11713, 3417, 52, 1157, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 16606, 16, 315, 474, 8863, 202, 202, 8401, 14756, 12, 2678, 18, 19716, 11437, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 19716, 13384, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 16606, 16, 315, 1883, 8863, 202, 202, 8401, 14756, 12, 2678, 18, 21217, 11437, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 21217, 13384, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 1090, 7492, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 11713, 10346, 9320, 1769, 202, 202, 8401, 14756, 12, 20, 1769, 202, 202, 759, 26305, 202, 202, 1305, 3262, 312, 451, 273, 394, 2985, 3262, 5621, 202, 202, 81, 451, 18, 529, 273, 315, 1883, 14432, 202, 202, 81, 451, 18, 6154, 273, 315, 474, 14432, 202, 202, 81, 451, 18, 14797, 273, 404, 31, 202, 202, 9574, 18, 1289, 6861, 986, 1305, 1972, 12, 81, 451, 1769, 202, 202, 759, 1836, 202, 202, 2678, 2082, 273, 394, 6783, 12, 31731, 16, 2089, 1769, 202, 202, 4288, 18, 2670, 5621, 202, 202, 759, 3929, 202, 202, 9574, 18, 8705, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1305, 1076, 1435, 1216, 1185, 288, 202, 202, 759, 3875, 924, 202, 202, 8401, 14756, 12, 2678, 18, 5237, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 16606, 16, 315, 92, 8863, 202, 202, 8401, 14756, 12, 2678, 18, 11713, 3417, 52, 1157, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 16606, 16, 315, 474, 8863, 202, 202, 8401, 14756, 12, 2678, 18, 19716, 11437, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 19716, 13384, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 16606, 16, 315, 1883, 8863, 202, 202, 8401, 14756, 12, 2678, 18, 21217, 11437, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 21217, 13384, 1769, 202, 202, 8401, 14756, 12, 2678, 2 ]
okEnable &= ( count != 0 );
private void updateButtons( ) { boolean okEnable = true; if ( dataSet == null ) { okEnable = false; } else { Iterator iter = inputParameterGroup.getParameters( ).iterator( ); if ( !iter.hasNext( ) ) { okEnable = false; } else { int count = 0; while ( iter.hasNext( ) ) { Object obj = iter.next( ); if ( obj instanceof ScalarParameterHandle ) { ScalarParameterHandle param = (ScalarParameterHandle) obj; count++; if ( param.getValueExpr( ) == null ) { okEnable = false; break; } } } okEnable &= ( count != 0 ); } } getOkButton( ).setEnabled( okEnable ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/ffe25c84db39ac36a136a2b6d3c13bc9dc6b6fd2/CascadingParametersDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 14388, 12, 262, 202, 95, 202, 202, 6494, 1529, 8317, 273, 638, 31, 202, 202, 430, 261, 14837, 422, 446, 262, 202, 202, 95, 1082, 202, 601, 8317, 273, 629, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 3198, 1400, 273, 810, 19094, 18, 588, 2402, 12, 262, 18, 9838, 12, 11272, 1082, 202, 430, 261, 401, 2165, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 601, 8317, 273, 629, 31, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 474, 1056, 273, 374, 31, 9506, 202, 17523, 261, 1400, 18, 5332, 2134, 12, 262, 262, 9506, 202, 95, 6862, 202, 921, 1081, 273, 1400, 18, 4285, 12, 11272, 6862, 202, 430, 261, 1081, 1276, 15791, 1662, 3259, 262, 6862, 202, 95, 25083, 202, 13639, 1662, 3259, 579, 273, 261, 13639, 1662, 3259, 13, 1081, 31, 25083, 202, 1883, 9904, 31, 25083, 202, 430, 261, 579, 18, 24805, 4742, 12, 262, 422, 446, 262, 25083, 202, 95, 6862, 1082, 202, 601, 8317, 273, 629, 31, 6862, 1082, 202, 8820, 31, 25083, 202, 97, 6862, 202, 97, 9506, 202, 97, 9506, 202, 601, 8317, 12058, 261, 1056, 480, 374, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 588, 8809, 3616, 12, 262, 18, 542, 1526, 12, 1529, 8317, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 14388, 12, 262, 202, 95, 202, 202, 6494, 1529, 8317, 273, 638, 31, 202, 202, 430, 261, 14837, 422, 446, 262, 202, 202, 95, 1082, 202, 601, 8317, 273, 629, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 3198, 1400, 273, 810, 19094, 18, 588, 2402, 12, 262, 18, 9838, 12, 11272, 1082, 202, 430, 261, 401, 2165, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 601, 8317, 273, 629, 31, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 474, 1056, 273, 374, 31, 9506, 202, 17523, 261, 1400, 18, 5332, 2134, 12, 262, 262, 9506, 202, 95, 6862, 202, 921, 1081, 273, 1400, 2 ]
return ret + " java.io.ByteArrayOutputStream "+fname+"=a_.readBuffer(\""+tag+"\");\n";
return ret + " "+fname+"=a_.readBuffer(\""+tag+"\");\n";
public String genJavaReadWrapper(String fname, String tag, boolean decl) { String ret = ""; if (decl) { ret = " java.io.ByteArrayOutputStream "+fname+";\n"; } return ret + " java.io.ByteArrayOutputStream "+fname+"=a_.readBuffer(\""+tag+"\");\n"; }
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/9f5faa2a6577866a7e08f808015dda161829734c/JBuffer.java/clean/src/java/org/apache/hadoop/record/compiler/JBuffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3157, 5852, 1994, 3611, 12, 780, 5299, 16, 514, 1047, 16, 1250, 3496, 13, 288, 3639, 514, 325, 273, 1408, 31, 3639, 309, 261, 8840, 13, 288, 5411, 325, 273, 315, 565, 2252, 18, 1594, 18, 8826, 4632, 13773, 12749, 9078, 9747, 82, 14432, 3639, 289, 3639, 327, 325, 397, 315, 3639, 13773, 12749, 9078, 33, 69, 27799, 896, 1892, 12, 8530, 15, 2692, 9078, 2412, 20472, 82, 14432, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3157, 5852, 1994, 3611, 12, 780, 5299, 16, 514, 1047, 16, 1250, 3496, 13, 288, 3639, 514, 325, 273, 1408, 31, 3639, 309, 261, 8840, 13, 288, 5411, 325, 273, 315, 565, 2252, 18, 1594, 18, 8826, 4632, 13773, 12749, 9078, 9747, 82, 14432, 3639, 289, 3639, 327, 325, 397, 315, 3639, 13773, 12749, 9078, 33, 69, 27799, 896, 1892, 12, 8530, 15, 2692, 9078, 2412, 20472, 82, 14432, 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 ]
Token.NUMBER );
Token.FLOAT_NUMBER );
public void testNumber_FloatingPoint() throws Exception { assertSimple( "42.84", Token.NUMBER ); }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/82661774a6c5e65d33ab2e7f3c830026c0556f4d/LexerTest.java/clean/src/test/org/codehaus/groovy/syntax/lexer/LexerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1854, 67, 28344, 2148, 1435, 3639, 1216, 1185, 565, 288, 3639, 1815, 5784, 12, 315, 9452, 18, 5193, 3113, 8227, 3155, 18, 15640, 67, 9931, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1854, 67, 28344, 2148, 1435, 3639, 1216, 1185, 565, 288, 3639, 1815, 5784, 12, 315, 9452, 18, 5193, 3113, 8227, 3155, 18, 15640, 67, 9931, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
reportSchemaError("src-notation", new Object[]{"<notation> must have a name"}, elmNode);
reportSchemaError("s4s-att-must-appear", new Object[]{SchemaSymbols.ELT_NOTATION, SchemaSymbols.ATT_NAME}, elmNode);
XSNotationDecl traverse(Element elmNode, XSDocumentInfo schemaDoc, SchemaGrammar grammar) { // General Attribute Checking for elmNode Object[] attrValues = fAttrChecker.checkAttributes(elmNode, true, schemaDoc); //get attributes String nameAttr = (String) attrValues[XSAttributeChecker.ATTIDX_NAME]; String publicAttr = (String) attrValues[XSAttributeChecker.ATTIDX_PUBLIC]; String systemAttr = (String) attrValues[XSAttributeChecker.ATTIDX_SYSTEM]; if (nameAttr == null) { reportSchemaError("src-notation", new Object[]{"<notation> must have a name"}, elmNode); fAttrChecker.returnAttrArray(attrValues, schemaDoc); return null; } if (publicAttr == null) { reportSchemaError("src-notation", new Object[]{"<notation> must have 'public' attribute"}, elmNode); } XSNotationDecl notation = new XSNotationDecl(); notation.fName = nameAttr; notation.fTargetNamespace = schemaDoc.fTargetNamespace; notation.fPublicId = publicAttr; notation.fSystemId = systemAttr; //check content Element content = DOMUtil.getFirstChildElement(elmNode); if (content != null) { // traverse annotation if any if (DOMUtil.getLocalName(content).equals(SchemaSymbols.ELT_ANNOTATION)) { traverseAnnotationDecl(content, attrValues, false, schemaDoc); content = DOMUtil.getNextSiblingElement(content); } } if (content!=null){ Object[] args = new Object [] { DOMUtil.getLocalName(content) }; reportSchemaError("src-notation", args, content); } grammar.addGlobalNotationDecl(notation); fAttrChecker.returnAttrArray(attrValues, schemaDoc); return notation; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/facde1e3e12e4e8cd7378f1a20a8ed53b61379c1/XSDNotationTraverser.java/buggy/src/org/apache/xerces/impl/xs/traversers/XSDNotationTraverser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1139, 55, 14818, 3456, 10080, 12, 1046, 12531, 907, 16, 18701, 1139, 55, 2519, 966, 1963, 1759, 16, 18701, 4611, 18576, 6473, 13, 288, 3639, 368, 9544, 3601, 24471, 364, 12531, 907, 3639, 1033, 8526, 1604, 1972, 273, 284, 3843, 8847, 18, 1893, 2498, 12, 19597, 907, 16, 638, 16, 1963, 1759, 1769, 3639, 368, 588, 1677, 3639, 514, 225, 508, 3843, 282, 273, 261, 780, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 1985, 15533, 3639, 514, 225, 1071, 3843, 273, 261, 780, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 14939, 15533, 3639, 514, 225, 2619, 3843, 273, 261, 780, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 14318, 15533, 3639, 309, 261, 529, 3843, 422, 446, 13, 288, 5411, 2605, 3078, 668, 2932, 87, 24, 87, 17, 4558, 17, 11926, 17, 438, 17964, 3113, 394, 1033, 63, 7073, 3078, 14821, 18, 2247, 56, 67, 4400, 2689, 16, 4611, 14821, 18, 789, 56, 67, 1985, 5779, 12531, 907, 1769, 5411, 284, 3843, 8847, 18, 2463, 3843, 1076, 12, 1747, 1972, 16, 1963, 1759, 1769, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 482, 3843, 422, 446, 13, 288, 5411, 2605, 3078, 668, 2932, 4816, 17, 1819, 3113, 394, 1033, 63, 7073, 6, 32, 1819, 34, 1297, 1240, 296, 482, 11, 1566, 6, 5779, 12531, 907, 1769, 3639, 289, 3639, 1139, 55, 14818, 3456, 12155, 273, 394, 1139, 55, 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, 1139, 55, 14818, 3456, 10080, 12, 1046, 12531, 907, 16, 18701, 1139, 55, 2519, 966, 1963, 1759, 16, 18701, 4611, 18576, 6473, 13, 288, 3639, 368, 9544, 3601, 24471, 364, 12531, 907, 3639, 1033, 8526, 1604, 1972, 273, 284, 3843, 8847, 18, 1893, 2498, 12, 19597, 907, 16, 638, 16, 1963, 1759, 1769, 3639, 368, 588, 1677, 3639, 514, 225, 508, 3843, 282, 273, 261, 780, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 1985, 15533, 3639, 514, 225, 1071, 3843, 273, 261, 780, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 14939, 15533, 3639, 514, 225, 2619, 3843, 273, 261, 780, 13, 1604, 1972, 63, 60, 55, 2 ]
push(regexpFlags);
cfw.addPush(regexpFlags);
private void generateInit(Context cx, String superClassName) { String methodName = (inFunction) ? "<init>" : "initScript"; classFile.startMethod(methodName, "(Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;)V", ClassFileWriter.ACC_PUBLIC); final byte ALOAD_SCOPE = ByteCode.ALOAD_1; final byte ALOAD_CONTEXT = ByteCode.ALOAD_2; if (inFunction) { addByteCode(ByteCode.ALOAD_0); addSpecialInvoke(superClassName, "<init>", "()V"); addByteCode(ByteCode.ALOAD_0); addByteCode(ALOAD_SCOPE); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/ScriptableObject", "parent", "Lorg/mozilla/javascript/Scriptable;"); /* * Generate code to initialize functionName field with the name * of the function. */ String name = fnCurrent.getFunctionName(); if (name.length() != 0) { addByteCode(ByteCode.ALOAD_0); classFile.addLoadConstant(name); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "functionName", "Ljava/lang/String;"); } } /* * Generate code to initialize argNames string array with the names * of the parameters and the vars. Initialize argCount * to the number of formal parameters. */ int N = scriptOrFn.getParamAndVarCount(); if (N != 0) { push(N); addByteCode(ByteCode.ANEWARRAY, "java/lang/String"); for (int i = 0; i != N; i++) { addByteCode(ByteCode.DUP); push(i); push(scriptOrFn.getParamOrVarName(i)); addByteCode(ByteCode.AASTORE); } addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.SWAP); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "argNames", "[Ljava/lang/String;"); } int parmCount = scriptOrFn.getParamCount(); if (parmCount != 0) { if (!inFunction) Context.codeBug(); addByteCode(ByteCode.ALOAD_0); push(parmCount); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "argCount", "S"); } // Initialize NativeFunction.version with Context's version. if (cx.getLanguageVersion() != 0) { addByteCode(ByteCode.ALOAD_0); push(cx.getLanguageVersion()); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "version", "S"); } // precompile all regexp literals int regexpCount = scriptOrFn.getRegexpCount(); if (regexpCount != 0) { for (int i = 0; i != regexpCount; ++i) { String fieldName = getRegexpFieldName(i); short flags = ClassFileWriter.ACC_PRIVATE; if (inFunction) { flags |= ClassFileWriter.ACC_FINAL; } classFile.addField( fieldName, "Lorg/mozilla/javascript/regexp/NativeRegExp;", flags); addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ByteCode.NEW, "org/mozilla/javascript/regexp/NativeRegExp"); addByteCode(ByteCode.DUP); addByteCode(ALOAD_CONTEXT); addByteCode(ALOAD_SCOPE); push(scriptOrFn.getRegexpString(i)); String regexpFlags = scriptOrFn.getRegexpFlags(i); if (regexpFlags == null) { addByteCode(ByteCode.ACONST_NULL); } else { push(regexpFlags); } push(0); addSpecialInvoke("org/mozilla/javascript/regexp/NativeRegExp", "<init>", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/String;Ljava/lang/String;" +"Z" +")V"); classFile.add(ByteCode.PUTFIELD, generatedClassName, fieldName, "Lorg/mozilla/javascript/regexp/NativeRegExp;"); } } classFile.addField(MAIN_SCRIPT_FIELD, mainCodegen.generatedClassSignature, (short)0); // For top level script or function init scriptMaster to self if (isMainCodegen) { addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.DUP); classFile.add(ByteCode.PUTFIELD, generatedClassName, MAIN_SCRIPT_FIELD, mainCodegen.generatedClassSignature); } addByteCode(ByteCode.RETURN); // 3 = this + scope + context classFile.stopMethod((short)3, null); // Add static method to return encoded source tree for decompilation // which will be called from OptFunction/OptScrript.getSourcesTree // via reflection. See NativeFunction.getSourcesTree for documentation. // Note that nested function decompilation currently depends on the // elements of the fns array being defined in source order. // (per function/script, starting from 0.) // Change Parser if changing ordering. if (mainCodegen.encodedSource != null) { // Override NativeFunction.getEncodedSourceg() with // public String getEncodedSource() // { // return main_class.getEncodedSourceImpl(START, END); // } short flags = ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_STATIC; String getSourceMethodStr = "getEncodedSourceImpl"; String mainImplSig = "(II)Ljava/lang/String;"; classFile.startMethod("getEncodedSource", "()Ljava/lang/Object;", ClassFileWriter.ACC_PUBLIC); push(scriptOrFn.getEncodedSourceStart()); push(scriptOrFn.getEncodedSourceEnd()); classFile.addInvoke(ByteCode.INVOKESTATIC, mainCodegen.generatedClassName, getSourceMethodStr, mainImplSig); addByteCode(ByteCode.ARETURN); // 1: this and no argument or locals classFile.stopMethod((short)1, null); if (isMainCodegen) { // generate // public static String getEncodedSourceImpl(int start, int end) // { // return ENCODED.substring(start, end); // } classFile.startMethod(getSourceMethodStr, mainImplSig, (short)flags); push(encodedSource); addByteCode(ByteCode.ILOAD_0); addByteCode(ByteCode.ILOAD_1); classFile.addInvoke(ByteCode.INVOKEVIRTUAL, "java/lang/String", "substring", "(II)Ljava/lang/String;"); addByteCode(ByteCode.ARETURN); classFile.stopMethod((short)2, null); } } }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2570, 12, 1042, 9494, 16, 514, 2240, 3834, 13, 565, 288, 3639, 514, 4918, 273, 261, 267, 2083, 13, 692, 3532, 2738, 2984, 294, 225, 315, 2738, 3651, 14432, 3639, 29728, 18, 1937, 1305, 12, 2039, 461, 16, 17311, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 17311, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 30943, 58, 3113, 17311, 30614, 2289, 18, 31414, 67, 14939, 1769, 3639, 727, 1160, 432, 7783, 67, 19444, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 21, 31, 3639, 727, 1160, 432, 7783, 67, 13181, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 22, 31, 3639, 309, 261, 267, 2083, 13, 288, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 5411, 527, 12193, 10969, 12, 9565, 3834, 16, 3532, 2738, 2984, 16, 25605, 58, 8863, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 5411, 527, 3216, 1085, 12, 1013, 51, 1880, 67, 19444, 1769, 5411, 29728, 18, 1289, 12, 3216, 1085, 18, 4762, 6776, 16, 12900, 315, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 921, 3113, 12900, 315, 2938, 3113, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 1769, 5411, 1748, 2398, 380, 6654, 981, 358, 4046, 14117, 652, 598, 326, 508, 2398, 380, 434, 326, 445, 18, 2398, 1195, 5411, 514, 508, 273, 2295, 3935, 18, 588, 25258, 5621, 5411, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2570, 12, 1042, 9494, 16, 514, 2240, 3834, 13, 565, 288, 3639, 514, 4918, 273, 261, 267, 2083, 13, 692, 3532, 2738, 2984, 294, 225, 315, 2738, 3651, 14432, 3639, 29728, 18, 1937, 1305, 12, 2039, 461, 16, 17311, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 17311, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 30943, 58, 3113, 17311, 30614, 2289, 18, 31414, 67, 14939, 1769, 3639, 727, 1160, 432, 7783, 67, 19444, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 21, 31, 3639, 727, 1160, 432, 7783, 67, 13181, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 22, 31, 3639, 309, 261, 267, 2083, 13, 288, 2 ]
vertical.setIncrement( (int) ( getClientArea( ).height / 100 ) ); vertical.setPageIncrement( (int) ( getClientArea( ).height ) );
vertical.setIncrement( ( getClientArea( ).height / 100 ) ); vertical.setPageIncrement( ( getClientArea( ).height ) );
public void syncScrollBars( ) { if ( sourceImage == null ) { redraw( ); return; } AffineTransform af = transform; double sx = af.getScaleX( ), sy = af.getScaleY( ); double tx = af.getTranslateX( ), ty = af.getTranslateY( ); if ( tx > 0 ) tx = 0; if ( ty > 0 ) ty = 0; Rectangle imageBound = sourceImage.getBounds( ); int cw = getClientArea( ).width, ch = getClientArea( ).height; ScrollBar horizontal = getHorizontalBar( ); if ( horizontal != null ) { horizontal.setIncrement( (int) ( getClientArea( ).width / 100 ) ); horizontal.setPageIncrement( getClientArea( ).width ); if ( imageBound.width * sx > cw ) { horizontal.setMaximum( (int) ( imageBound.width * sx ) ); horizontal.setEnabled( true ); if ( ( (int) -tx ) > horizontal.getMaximum( ) - cw ) tx = -horizontal.getMaximum( ) + cw; } else { horizontal.setEnabled( false ); tx = ( cw - imageBound.width * sx ) / 2; } horizontal.setSelection( (int) ( -tx ) ); horizontal.setThumb( (int) ( getClientArea( ).width ) ); } ScrollBar vertical = getVerticalBar( ); if ( vertical != null ) { vertical.setIncrement( (int) ( getClientArea( ).height / 100 ) ); vertical.setPageIncrement( (int) ( getClientArea( ).height ) ); if ( imageBound.height * sy > ch ) { vertical.setMaximum( (int) ( imageBound.height * sy ) ); vertical.setEnabled( true ); if ( ( (int) -ty ) > vertical.getMaximum( ) - ch ) ty = -vertical.getMaximum( ) + ch; } else { vertical.setEnabled( false ); ty = ( ch - imageBound.height * sy ) / 2; } vertical.setSelection( (int) ( -ty ) ); vertical.setThumb( (int) ( getClientArea( ).height ) ); } af = AffineTransform.getScaleInstance( sx, sy ); af.preConcatenate( AffineTransform.getTranslateInstance( tx, ty ) ); transform = af; redraw( ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/3977e7457fff96597d3b6c5700f59e61c7a0e836/IconCanvas.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/IconCanvas.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3792, 6806, 5190, 87, 12, 262, 202, 95, 202, 202, 430, 261, 1084, 2040, 422, 446, 262, 202, 202, 95, 1082, 202, 1118, 1899, 12, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 13785, 558, 4059, 10073, 273, 2510, 31, 202, 202, 9056, 13280, 273, 10073, 18, 588, 5587, 60, 12, 262, 16, 1393, 273, 10073, 18, 588, 5587, 61, 12, 11272, 202, 202, 9056, 2229, 273, 10073, 18, 588, 12818, 60, 12, 262, 16, 13806, 273, 10073, 18, 588, 12818, 61, 12, 11272, 202, 202, 430, 261, 2229, 405, 374, 262, 1082, 202, 978, 273, 374, 31, 202, 202, 430, 261, 13806, 405, 374, 262, 1082, 202, 4098, 273, 374, 31, 202, 202, 19463, 1316, 3499, 273, 1084, 2040, 18, 588, 5694, 12, 11272, 202, 202, 474, 14098, 273, 7635, 5484, 12, 262, 18, 2819, 16, 462, 273, 7635, 5484, 12, 262, 18, 4210, 31, 202, 202, 6806, 5190, 10300, 273, 7628, 6359, 5190, 12, 11272, 202, 202, 430, 261, 10300, 480, 446, 262, 202, 202, 95, 1082, 202, 18396, 18, 542, 10798, 12, 261, 474, 13, 261, 7635, 5484, 12, 262, 18, 2819, 342, 2130, 262, 11272, 1082, 202, 18396, 18, 542, 1964, 10798, 12, 7635, 5484, 12, 262, 18, 2819, 11272, 1082, 202, 430, 261, 1316, 3499, 18, 2819, 380, 13280, 405, 14098, 262, 1082, 202, 95, 9506, 202, 18396, 18, 542, 13528, 12, 261, 474, 13, 261, 1316, 3499, 18, 2819, 380, 13280, 262, 11272, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3792, 6806, 5190, 87, 12, 262, 202, 95, 202, 202, 430, 261, 1084, 2040, 422, 446, 262, 202, 202, 95, 1082, 202, 1118, 1899, 12, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 13785, 558, 4059, 10073, 273, 2510, 31, 202, 202, 9056, 13280, 273, 10073, 18, 588, 5587, 60, 12, 262, 16, 1393, 273, 10073, 18, 588, 5587, 61, 12, 11272, 202, 202, 9056, 2229, 273, 10073, 18, 588, 12818, 60, 12, 262, 16, 13806, 273, 10073, 18, 588, 12818, 61, 12, 11272, 202, 202, 430, 261, 2229, 405, 374, 262, 1082, 202, 978, 273, 374, 31, 202, 202, 430, 261, 13806, 405, 374, 262, 1082, 202, 4098, 273, 374, 31, 202, 2 ]
public void visitOdaDataSet( OdaDataSet obj ) { writer.startElement( DesignSchemaConstants.ODA_DATA_SET_TAG ); attribute( obj, OdaDataSet.EXTENSION_ID_PROP, OdaDataSet.EXTENSION_ID_PROP ); super.visitOdaDataSet( obj ); writeStructureList( obj, DataSet.PARAMETERS_PROP ); writeStructureList( obj, DataSet.RESULT_SET_PROP ); if ( (String) obj.getLocalProperty( getModule( ), OdaDataSet.QUERY_TEXT_PROP ) != null ) { property( obj, OdaDataSet.QUERY_TEXT_PROP ); } property( obj, OdaDataSet.RESULT_SET_NAME_PROP ); writeOdaDesignerState( obj, OdaDataSet.DESIGNER_STATE_PROP ); propertyCDATA( obj, OdaDataSet.DESIGNER_VALUES_PROP ); List properties = (List) obj.getLocalProperty( getModule( ), OdaDataSet.PRIVATE_DRIVER_PROPERTIES_PROP ); writeExtendedProperties( properties, OdaDataSet.PRIVATE_DRIVER_PROPERTIES_PROP ); writeOdaExtensionProperties( obj, OdaDataSet.EXTENSION_ID_PROP ); writer.endElement( ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/f8b898ae4cef1c8f5638128f8989d655c3c4f61c/ModuleWriter.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 51, 2414, 13676, 12, 531, 2414, 13676, 1081, 262, 202, 95, 202, 202, 6299, 18, 1937, 1046, 12, 29703, 3078, 2918, 18, 1212, 37, 67, 4883, 67, 4043, 67, 7927, 11272, 202, 202, 4589, 12, 1081, 16, 531, 2414, 13676, 18, 12796, 67, 734, 67, 15811, 16, 9506, 202, 51, 2414, 13676, 18, 12796, 67, 734, 67, 15811, 11272, 202, 202, 9565, 18, 11658, 51, 2414, 13676, 12, 1081, 11272, 9506, 202, 2626, 6999, 682, 12, 1081, 16, 14065, 18, 20103, 67, 15811, 11272, 202, 202, 2626, 6999, 682, 12, 1081, 16, 14065, 18, 12289, 67, 4043, 67, 15811, 11272, 202, 202, 430, 261, 261, 780, 13, 1081, 18, 588, 2042, 1396, 12, 11251, 12, 262, 16, 9506, 202, 51, 2414, 13676, 18, 10753, 67, 5151, 67, 15811, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 4468, 12, 1081, 16, 531, 2414, 13676, 18, 10753, 67, 5151, 67, 15811, 11272, 202, 202, 97, 202, 202, 4468, 12, 1081, 16, 531, 2414, 13676, 18, 12289, 67, 4043, 67, 1985, 67, 15811, 11272, 202, 202, 2626, 51, 2414, 15478, 264, 1119, 12, 1081, 16, 531, 2414, 13676, 18, 1639, 11260, 654, 67, 7998, 67, 15811, 11272, 202, 202, 4468, 18375, 12, 1081, 16, 531, 2414, 13676, 18, 1639, 11260, 654, 67, 16386, 67, 15811, 11272, 9506, 202, 682, 1790, 273, 261, 682, 13, 1081, 18, 588, 2042, 1396, 12, 11251, 12, 262, 16, 9506, 202, 51, 2414, 13676, 18, 20055, 67, 27720, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 51, 2414, 13676, 12, 531, 2414, 13676, 1081, 262, 202, 95, 202, 202, 6299, 18, 1937, 1046, 12, 29703, 3078, 2918, 18, 1212, 37, 67, 4883, 67, 4043, 67, 7927, 11272, 202, 202, 4589, 12, 1081, 16, 531, 2414, 13676, 18, 12796, 67, 734, 67, 15811, 16, 9506, 202, 51, 2414, 13676, 18, 12796, 67, 734, 67, 15811, 11272, 202, 202, 9565, 18, 11658, 51, 2414, 13676, 12, 1081, 11272, 9506, 202, 2626, 6999, 682, 12, 1081, 16, 14065, 18, 20103, 67, 15811, 11272, 202, 202, 2626, 6999, 682, 12, 1081, 16, 14065, 18, 12289, 67, 4043, 67, 15811, 11272, 202, 202, 430, 261, 261, 780, 13, 1081, 18, 588, 2042, 1396, 12, 11251, 2 ]
miEditSearch .addListener(SWT.Selection, lsEditSearch); miEditVars .addListener(SWT.Selection, lsEditVars);
public void addMenu() { Menu mBar = new Menu(shell, SWT.BAR); shell.setMenuBar(mBar); /* * File menu * */ MenuItem mFile = new MenuItem(mBar, SWT.CASCADE); mFile.setText(Messages.getString("Chef.Menu.File")); //$NON-NLS-1$ msFile = new Menu(shell, SWT.DROP_DOWN); mFile.setMenu(msFile); MenuItem miFileNew = new MenuItem(msFile, SWT.CASCADE); miFileNew.setText(Messages.getString("Chef.Menu.File.New")); //$NON-NLS-1$ MenuItem miFileOpen = new MenuItem(msFile, SWT.CASCADE); miFileOpen.setText(Messages.getString("Chef.Menu.File.Open")); //$NON-NLS-1$ MenuItem miFileSave = new MenuItem(msFile, SWT.CASCADE); miFileSave.setText(Messages.getString("Chef.Menu.File.Save")); //$NON-NLS-1$ MenuItem miFileSaveAs = new MenuItem(msFile, SWT.CASCADE); miFileSaveAs.setText(Messages.getString("Chef.Menu.File.SaveAs")); //$NON-NLS-1$ new MenuItem(msFile, SWT.SEPARATOR); MenuItem miFilePrint = new MenuItem(msFile, SWT.CASCADE); miFilePrint.setText(Messages.getString("Chef.Menu.File.Print")); //$NON-NLS-1$ new MenuItem(msFile, SWT.SEPARATOR); MenuItem miFileQuit = new MenuItem(msFile, SWT.CASCADE); miFileQuit.setText(Messages.getString("Chef.Menu.File.Quit")); //$NON-NLS-1$ miFileSep3 = new MenuItem(msFile, SWT.SEPARATOR); addMenuLast(); Listener lsFileOpen = new Listener() { public void handleEvent(Event e) { openFile(false); } }; Listener lsFileNew = new Listener() { public void handleEvent(Event e) { newFile(); } }; Listener lsFileSave = new Listener() { public void handleEvent(Event e) { saveFile(); } }; Listener lsFileSaveAs = new Listener() { public void handleEvent(Event e) { saveFileAs(); } }; Listener lsFilePrint = new Listener() { public void handleEvent(Event e) { printFile(); } }; Listener lsFileQuit = new Listener() { public void handleEvent(Event e) { quitFile(); } }; miFileOpen .addListener (SWT.Selection, lsFileOpen ); miFileNew .addListener (SWT.Selection, lsFileNew ); miFileSave .addListener (SWT.Selection, lsFileSave ); miFileSaveAs .addListener (SWT.Selection, lsFileSaveAs ); miFilePrint .addListener (SWT.Selection, lsFilePrint ); miFileQuit .addListener (SWT.Selection, lsFileQuit ); /* * Edit menu * */ MenuItem mEdit = new MenuItem(mBar, SWT.CASCADE); mEdit.setText(Messages.getString("Chef.Menu.Edit")); //$NON-NLS-1$ Menu msEdit = new Menu(shell, SWT.DROP_DOWN); mEdit.setMenu(msEdit); miEditUndo = new MenuItem(msEdit, SWT.CASCADE); miEditRedo = new MenuItem(msEdit, SWT.CASCADE); setUndoMenu(); new MenuItem(msEdit, SWT.SEPARATOR); MenuItem miEditUnselectAll = new MenuItem(msEdit, SWT.CASCADE); miEditUnselectAll.setText(Messages.getString("Chef.Menu.Edit.ClearSelection")); //$NON-NLS-1$ MenuItem miEditSelectAll = new MenuItem(msEdit, SWT.CASCADE); miEditSelectAll.setText(Messages.getString("Chef.Menu.Edit.SelectAllSteps")); //$NON-NLS-1$ new MenuItem(msEdit, SWT.SEPARATOR); MenuItem miEditSearch = new MenuItem(msEdit, SWT.CASCADE); miEditSearch.setText(Messages.getString("Chef.Menu.Edit.Search")); //Search Metadata \tCTRL-F MenuItem miEditVars = new MenuItem(msEdit, SWT.CASCADE); miEditVars.setText(Messages.getString("Chef.Menu.Edit.Variables")); //Edit/Enter variables \tCTRL-F new MenuItem(msEdit, SWT.SEPARATOR); MenuItem miEditOptions = new MenuItem(msEdit, SWT.CASCADE); miEditOptions.setText(Messages.getString("Chef.Menu.Edit.Options")); //$NON-NLS-1$ Listener lsEditUndo = new Listener() { public void handleEvent(Event e) { undoAction(); } }; Listener lsEditRedo = new Listener() { public void handleEvent(Event e) { redoAction(); } }; Listener lsEditUnselectAll = new Listener() { public void handleEvent(Event e) { editUnselectAll(); } }; Listener lsEditSelectAll = new Listener() { public void handleEvent(Event e) { editSelectAll(); } }; Listener lsEditSearch = new Listener() { public void handleEvent(Event e) { searchMetaData(); } }; Listener lsEditVars = new Listener() { public void handleEvent(Event e) { getVariables(); } }; Listener lsEditOptions = new Listener() { public void handleEvent(Event e) { editOptions(); } }; miEditUndo .addListener(SWT.Selection, lsEditUndo); miEditRedo .addListener(SWT.Selection, lsEditRedo); miEditUnselectAll.addListener(SWT.Selection, lsEditUnselectAll); miEditSelectAll .addListener(SWT.Selection, lsEditSelectAll); miEditSearch .addListener(SWT.Selection, lsEditSearch); miEditVars .addListener(SWT.Selection, lsEditVars); miEditOptions .addListener(SWT.Selection, lsEditOptions); // main Repository menu... MenuItem mRep = new MenuItem(mBar, SWT.CASCADE); mRep.setText(Messages.getString("Chef.Menu.Repository")); //$NON-NLS-1$ Menu msRep = new Menu(shell, SWT.DROP_DOWN); mRep.setMenu(msRep); MenuItem miRepConnect = new MenuItem(msRep, SWT.CASCADE); miRepConnect.setText(Messages.getString("Chef.Menu.Repository.Connect")); //$NON-NLS-1$ MenuItem miRepDisconnect = new MenuItem(msRep, SWT.CASCADE); miRepDisconnect.setText(Messages.getString("Chef.Menu.Repository.Disconnect")); //$NON-NLS-1$ MenuItem miRepExplore = new MenuItem(msRep, SWT.CASCADE); miRepExplore.setText(Messages.getString("Chef.Menu.Repository.Explore")); //$NON-NLS-1$ new MenuItem(msRep, SWT.SEPARATOR); MenuItem miRepUser = new MenuItem(msRep, SWT.CASCADE); miRepUser.setText(Messages.getString("Chef.Menu.Repository.EditUser")); //$NON-NLS-1$ Listener lsRepConnect = new Listener() { public void handleEvent(Event e) { openRepository(); } }; Listener lsRepDisconnect = new Listener() { public void handleEvent(Event e) { closeRepository(); } }; Listener lsRepExplore = new Listener() { public void handleEvent(Event e) { exploreRepository(); } }; Listener lsRepUser = new Listener() { public void handleEvent(Event e) { editRepositoryUser();} }; miRepConnect .addListener (SWT.Selection, lsRepConnect ); miRepDisconnect .addListener (SWT.Selection, lsRepDisconnect); miRepExplore .addListener (SWT.Selection, lsRepExplore ); miRepUser .addListener (SWT.Selection, lsRepUser ); /* * Job menu * */ MenuItem mJob = new MenuItem(mBar, SWT.CASCADE); mJob.setText(Messages.getString("Chef.Menu.Job")); //$NON-NLS-1$ Menu msJob = new Menu(shell, SWT.DROP_DOWN); mJob.setMenu(msJob); MenuItem miJobRun = new MenuItem(msJob, SWT.CASCADE); miJobRun.setText(Messages.getString("Chef.Menu.Job.Run")); //$NON-NLS-1$ new MenuItem(msJob, SWT.SEPARATOR); MenuItem miJobCopy = new MenuItem(msJob, SWT.CASCADE); miJobCopy.setText(Messages.getString("Chef.Menu.Job.CopyToClipboard")); //$NON-NLS-1$ new MenuItem(msJob, SWT.SEPARATOR); MenuItem miJobInfo = new MenuItem(msJob, SWT.CASCADE); miJobInfo.setText(Messages.getString("Chef.Menu.Job.Settings")); //$NON-NLS-1$ Listener lsJobInfo = new Listener() { public void handleEvent(Event e) { setJob(); } }; miJobInfo.addListener (SWT.Selection, lsJobInfo ); Listener lsJobCopy = new Listener() { public void handleEvent(Event e) { toClipboard(XMLHandler.getXMLHeader() + jobMeta.getXML()); } }; miJobCopy.addListener(SWT.Selection, lsJobCopy ); // Wizard menu MenuItem mWizard = new MenuItem(mBar, SWT.CASCADE); mWizard.setText(Messages.getString("Chef.Menu.Wizard")); //$NON-NLS-1$ Menu msWizard = new Menu(shell, SWT.DROP_DOWN ); mWizard.setMenu(msWizard); MenuItem miWizardNewConnection = new MenuItem(msWizard, SWT.CASCADE); miWizardNewConnection.setText(Messages.getString("Chef.Menu.Wizard.CreateDatabaseConnection")); //$NON-NLS-1$ Listener lsWizardNewConnection= new Listener() { public void handleEvent(Event e) { createDatabaseWizard(); } }; miWizardNewConnection.addListener(SWT.Selection, lsWizardNewConnection); MenuItem miWizardRipDatabase = new MenuItem(msWizard, SWT.CASCADE); miWizardRipDatabase.setText(Messages.getString("Chef.Menu.Wizard.CopyTables")); //$NON-NLS-1$ Listener lsWizardRipDatabase= new Listener() { public void handleEvent(Event e) { ripDBWizard(); } }; miWizardRipDatabase.addListener(SWT.Selection, lsWizardRipDatabase); /* * Help menu * */ MenuItem mHelp = new MenuItem(mBar, SWT.CASCADE); mHelp.setText(Messages.getString("Chef.Menu.Help")); //$NON-NLS-1$ Menu msHelp = new Menu(shell, SWT.DROP_DOWN); mHelp.setMenu(msHelp); MenuItem miHelpAbout = new MenuItem(msHelp, SWT.CASCADE); miHelpAbout.setText(Messages.getString("Chef.Menu.Help.About")); //$NON-NLS-1$ Listener lsHelpAbout = new Listener() { public void handleEvent(Event e) { helpAbout(); } }; miHelpAbout .addListener (SWT.Selection, lsHelpAbout ); }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/e5b766330c1bd5fdf6cae30756ca241e19225661/Chef.java/clean/src/be/ibridge/kettle/chef/Chef.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 4599, 1435, 202, 95, 202, 202, 4599, 312, 5190, 273, 394, 9809, 12, 10304, 16, 348, 8588, 18, 21908, 1769, 202, 202, 10304, 18, 542, 4599, 5190, 12, 81, 5190, 1769, 202, 202, 20308, 1082, 380, 1387, 3824, 1082, 380, 1875, 1195, 9506, 202, 12958, 312, 812, 273, 394, 25085, 12, 81, 5190, 16, 348, 8588, 18, 3587, 25517, 1769, 312, 812, 18, 542, 1528, 12, 5058, 18, 588, 780, 2932, 39, 580, 74, 18, 4599, 18, 812, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 225, 4086, 812, 273, 394, 9809, 12, 10304, 16, 348, 8588, 18, 18768, 67, 12711, 1769, 1082, 225, 312, 812, 18, 542, 4599, 12, 959, 812, 1769, 1082, 225, 25085, 12837, 812, 1908, 565, 273, 394, 25085, 12, 959, 812, 16, 348, 8588, 18, 3587, 25517, 1769, 12837, 812, 1908, 18, 542, 1528, 12, 5058, 18, 588, 780, 2932, 39, 580, 74, 18, 4599, 18, 812, 18, 1908, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 225, 25085, 12837, 812, 3678, 282, 273, 394, 25085, 12, 959, 812, 16, 348, 8588, 18, 3587, 25517, 1769, 12837, 812, 3678, 18, 542, 1528, 12, 5058, 18, 588, 780, 2932, 39, 580, 74, 18, 4599, 18, 812, 18, 3678, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 225, 25085, 12837, 812, 4755, 282, 273, 394, 25085, 12, 959, 812, 16, 348, 8588, 18, 3587, 25517, 1769, 12837, 812, 4755, 18, 542, 1528, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 4599, 1435, 202, 95, 202, 202, 4599, 312, 5190, 273, 394, 9809, 12, 10304, 16, 348, 8588, 18, 21908, 1769, 202, 202, 10304, 18, 542, 4599, 5190, 12, 81, 5190, 1769, 202, 202, 20308, 1082, 380, 1387, 3824, 1082, 380, 1875, 1195, 9506, 202, 12958, 312, 812, 273, 394, 25085, 12, 81, 5190, 16, 348, 8588, 18, 3587, 25517, 1769, 312, 812, 18, 542, 1528, 12, 5058, 18, 588, 780, 2932, 39, 580, 74, 18, 4599, 18, 812, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 225, 4086, 812, 273, 394, 9809, 12, 10304, 16, 348, 8588, 18, 18768, 67, 12711, 1769, 1082, 225, 312, 812, 18, 542, 4599, 12, 959, 812, 2 ]
public ResultsFrame()
public ResultsFrame(final SortedBugCollection bugs, BProject project)
public ResultsFrame() { this(new SortedBugCollection()); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/263d5d3de51dcf97e754edc4cd1bdbdb2ddd2438/ResultsFrame.java/clean/bluej/src/edu/umd/cs/findbugs/bluej/ResultsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10351, 3219, 1435, 202, 95, 202, 202, 2211, 12, 2704, 13717, 19865, 2532, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10351, 3219, 1435, 202, 95, 202, 202, 2211, 12, 2704, 13717, 19865, 2532, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (Boolean.getBoolean("fnd.derefs.ignoreexceptions")) {
if (SystemProperties.getBoolean("fnd.derefs.ignoreexceptions")) {
private boolean ignoreThisEdge(Edge edge) { if (Boolean.getBoolean("fnd.derefs.ignoreexceptions")) { // Ignore all exception edges return edge.isExceptionEdge(); } return AnalysisContext.currentAnalysisContext().getBoolProperty(AnalysisFeatures.ACCURATE_EXCEPTIONS) && edge.isExceptionEdge() && !edge.isFlagSet(EdgeTypes.EXPLICIT_EXCEPTIONS_FLAG); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/95908fe799ac6c7c01b7e71417f7e6d1a3bcd93f/UnconditionalValueDerefAnalysis.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/deref/UnconditionalValueDerefAnalysis.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2305, 2503, 6098, 12, 6098, 3591, 13, 288, 9506, 202, 430, 261, 5507, 18, 588, 5507, 2932, 4293, 72, 18, 765, 73, 2556, 18, 6185, 11855, 6, 3719, 288, 1082, 202, 759, 8049, 777, 1520, 5231, 1082, 202, 2463, 3591, 18, 291, 503, 6098, 5621, 202, 202, 97, 9506, 202, 2463, 16318, 1042, 18, 2972, 9418, 1042, 7675, 588, 7464, 1396, 12, 9418, 8696, 18, 2226, 7509, 1777, 67, 12658, 55, 13, 9506, 202, 10, 10, 3591, 18, 291, 503, 6098, 1435, 9506, 202, 10, 10, 401, 7126, 18, 291, 4678, 694, 12, 6098, 2016, 18, 16109, 28165, 67, 12658, 55, 67, 9651, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2305, 2503, 6098, 12, 6098, 3591, 13, 288, 9506, 202, 430, 261, 5507, 18, 588, 5507, 2932, 4293, 72, 18, 765, 73, 2556, 18, 6185, 11855, 6, 3719, 288, 1082, 202, 759, 8049, 777, 1520, 5231, 1082, 202, 2463, 3591, 18, 291, 503, 6098, 5621, 202, 202, 97, 9506, 202, 2463, 16318, 1042, 18, 2972, 9418, 1042, 7675, 588, 7464, 1396, 12, 9418, 8696, 18, 2226, 7509, 1777, 67, 12658, 55, 13, 9506, 202, 10, 10, 3591, 18, 291, 503, 6098, 1435, 9506, 202, 10, 10, 401, 7126, 18, 291, 4678, 694, 12, 6098, 2016, 18, 16109, 28165, 67, 12658, 55, 67, 9651, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Thread t = new Thread(this, "InsertSender for UID "+uid+" on "+node.portNumber);
Thread t = new Thread(this, "InsertSender for UID "+uid+" on "+node.portNumber+" at "+System.currentTimeMillis());
InsertSender(NodeCHK myKey, long uid, byte[] headers, short htl, PeerNode source, Node node, PartiallyReceivedBlock prb, boolean fromStore, double closestLocation) { this.myKey = myKey; this.target = myKey.toNormalizedDouble(); this.uid = uid; this.headers = headers; this.htl = htl; this.source = source; this.node = node; this.prb = prb; this.fromStore = fromStore; this.closestLocation = closestLocation; Thread t = new Thread(this, "InsertSender for UID "+uid+" on "+node.portNumber); t.setDaemon(true); t.start(); }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/b65da6d7400224aceca597e3463b9ed8ec21e4b9/InsertSender.java/buggy/src/freenet/node/InsertSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8040, 12021, 12, 907, 1792, 47, 3399, 653, 16, 1525, 4555, 16, 1160, 8526, 1607, 16, 3025, 366, 6172, 16, 2398, 10669, 907, 1084, 16, 2029, 756, 16, 6393, 6261, 8872, 1768, 846, 70, 16, 1250, 628, 2257, 16, 1645, 9219, 2735, 13, 288, 3639, 333, 18, 4811, 653, 273, 3399, 653, 31, 3639, 333, 18, 3299, 273, 3399, 653, 18, 869, 15577, 5265, 5621, 3639, 333, 18, 1911, 273, 4555, 31, 3639, 333, 18, 2485, 273, 1607, 31, 3639, 333, 18, 647, 80, 273, 366, 6172, 31, 3639, 333, 18, 3168, 273, 1084, 31, 3639, 333, 18, 2159, 273, 756, 31, 3639, 333, 18, 683, 70, 273, 846, 70, 31, 3639, 333, 18, 2080, 2257, 273, 628, 2257, 31, 3639, 333, 18, 7550, 7781, 2735, 273, 9219, 2735, 31, 3639, 4884, 268, 273, 394, 4884, 12, 2211, 16, 315, 4600, 12021, 364, 10034, 13773, 1911, 9078, 603, 13773, 2159, 18, 655, 1854, 9078, 622, 13773, 3163, 18, 2972, 28512, 10663, 3639, 268, 18, 542, 12858, 12, 3767, 1769, 3639, 268, 18, 1937, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8040, 12021, 12, 907, 1792, 47, 3399, 653, 16, 1525, 4555, 16, 1160, 8526, 1607, 16, 3025, 366, 6172, 16, 2398, 10669, 907, 1084, 16, 2029, 756, 16, 6393, 6261, 8872, 1768, 846, 70, 16, 1250, 628, 2257, 16, 1645, 9219, 2735, 13, 288, 3639, 333, 18, 4811, 653, 273, 3399, 653, 31, 3639, 333, 18, 3299, 273, 3399, 653, 18, 869, 15577, 5265, 5621, 3639, 333, 18, 1911, 273, 4555, 31, 3639, 333, 18, 2485, 273, 1607, 31, 3639, 333, 18, 647, 80, 273, 366, 6172, 31, 3639, 333, 18, 3168, 273, 1084, 31, 3639, 333, 18, 2159, 273, 756, 31, 3639, 333, 18, 683, 70, 273, 846, 70, 31, 3639, 333, 18, 2080, 2257, 273, 628, 2 ]
myErrorMessage = createDefaultErrorMessage(myConnection.getHost(), myStatus, "{0} of ''{1}''", new Object[] {request, path});
myErrorMessage = createDefaultErrorMessage(myConnection.getHost(), myStatus, context.getMessageTemplate(), context.getRelatedObjects());
public void dispatch(String request, String path, Map header, int ok1, int ok2) throws IOException { int length = 0; if (myRequestBody != null) { length = myRequestBody.length; } else if (myRequestStream instanceof ByteArrayInputStream) { length = ((ByteArrayInputStream) myRequestStream).available(); } else if (myRequestStream instanceof IMeasurable) { length = (int) ((IMeasurable) myRequestStream).getLength(); } StringBuffer headerText = composeHTTPHeader(request, path, header, length); myConnection.sendData(headerText.toString().getBytes()); if (myRequestBody != null && length > 0) { myConnection.sendData(myRequestBody); } else if (myRequestStream != null && length > 0) { myConnection.sendData(myRequestStream, length); } myConnection.readHeader(this); // check status. if (myStatus.getCode() == HttpURLConnection.HTTP_MOVED_PERM || myStatus.getCode() == HttpURLConnection.HTTP_MOVED_TEMP || myStatus.getCode() == HttpURLConnection.HTTP_FORBIDDEN || myStatus.getCode() == HttpURLConnection.HTTP_UNAUTHORIZED) { // these errors are always processed by the caller, to allow retry. myErrorMessage = createDefaultErrorMessage(myConnection.getHost(), myStatus, "{0} of ''{1}''", new Object[] {request, path}); myConnection.skipData(this); return; } boolean notExpected = false; int expectedCode = "PROPFIND".equals(request) ? 207 : 200; if (ok1 >= 0) { if (ok1 == 0) { ok1 = "PROPFIND".equals(request) ? 207 : 200; } if (ok2 <= 0) { ok2 = ok1; } notExpected = !(myStatus.getCode() == ok1 || myStatus.getCode() == ok2); } if (notExpected) { // unexpected response code. myErrorMessage = readError(request, path); } else if (myStatus.getCode() == HttpURLConnection.HTTP_NO_CONTENT) { myConnection.skipData(this); } else if (myStatus.getCode() >= 300 || myStatus.getCode() != expectedCode) { SVNErrorMessage error = readError(request, path); myStatus.setError(error); } else if (myResponseStream != null) { myErrorMessage = myConnection.readData(this, myResponseStream); } else if (myResponseHandler != null) { myErrorMessage = myConnection.readData(this, request, path, myResponseHandler); } else { myConnection.skipData(this); } }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/db9ca7d7d37fb12a1144fecbb24a45b3a5f4d5e8/HTTPRequest.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/dav/http/HTTPRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3435, 12, 780, 590, 16, 514, 589, 16, 1635, 1446, 16, 509, 1529, 21, 16, 509, 1529, 22, 13, 1216, 1860, 288, 3639, 509, 769, 273, 374, 31, 3639, 309, 261, 4811, 28843, 480, 446, 13, 288, 5411, 769, 273, 3399, 28843, 18, 2469, 31, 3639, 289, 469, 309, 261, 4811, 691, 1228, 1276, 16180, 13, 288, 5411, 769, 273, 14015, 8826, 4348, 13, 3399, 691, 1228, 2934, 5699, 5621, 3639, 289, 469, 309, 261, 4811, 691, 1228, 1276, 467, 23177, 7463, 13, 288, 5411, 769, 273, 261, 474, 13, 14015, 3445, 73, 345, 7463, 13, 3399, 691, 1228, 2934, 588, 1782, 5621, 3639, 289, 3639, 6674, 1446, 1528, 273, 11458, 3693, 1864, 12, 2293, 16, 589, 16, 1446, 16, 769, 1769, 3639, 3399, 1952, 18, 4661, 751, 12, 3374, 1528, 18, 10492, 7675, 588, 2160, 10663, 3639, 309, 261, 4811, 28843, 480, 446, 597, 769, 405, 374, 13, 288, 5411, 3399, 1952, 18, 4661, 751, 12, 4811, 28843, 1769, 3639, 289, 469, 309, 261, 4811, 691, 1228, 480, 446, 597, 769, 405, 374, 13, 288, 5411, 3399, 1952, 18, 4661, 751, 12, 4811, 691, 1228, 16, 769, 1769, 3639, 289, 3639, 3399, 1952, 18, 896, 1864, 12, 2211, 1769, 7734, 368, 866, 1267, 18, 3639, 309, 261, 4811, 1482, 18, 588, 1085, 1435, 422, 19084, 18, 3693, 67, 5980, 12135, 67, 3194, 49, 747, 1171, 3399, 1482, 18, 588, 1085, 1435, 422, 19084, 18, 3693, 67, 5980, 12135, 67, 10258, 747, 7734, 3399, 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, 3435, 12, 780, 590, 16, 514, 589, 16, 1635, 1446, 16, 509, 1529, 21, 16, 509, 1529, 22, 13, 1216, 1860, 288, 3639, 509, 769, 273, 374, 31, 3639, 309, 261, 4811, 28843, 480, 446, 13, 288, 5411, 769, 273, 3399, 28843, 18, 2469, 31, 3639, 289, 469, 309, 261, 4811, 691, 1228, 1276, 16180, 13, 288, 5411, 769, 273, 14015, 8826, 4348, 13, 3399, 691, 1228, 2934, 5699, 5621, 3639, 289, 469, 309, 261, 4811, 691, 1228, 1276, 467, 23177, 7463, 13, 288, 5411, 769, 273, 261, 474, 13, 14015, 3445, 73, 345, 7463, 13, 3399, 691, 1228, 2934, 588, 1782, 5621, 3639, 289, 3639, 6674, 1446, 1528, 273, 11458, 3693, 1864, 12, 2293, 16, 2 ]
public static String getFragment(String content, boolean hasCalendar) { String remainder = content.trim(); String backup = remainder; StringBuffer fragment = new StringBuffer(); if (hasCalendar) remainder = skipFragmentHeader(remainder, true); remainder = skipQuotedText(remainder, true); boolean elided = false, mainMessage = true; while (fragment.length() <= Fragment.MAX_FRAGMENT_LENGTH) { if (remainder.startsWith(">") || remainder.startsWith("|")) { if (mainMessage) { remainder = skipQuotedText(remainder, false); elided = true; } else remainder = remainder.substring(1).trim(); } if (remainder.equals("")) break; int returnIndex = remainder.indexOf('\n'); if ((returnIndex == 3 && remainder.startsWith("-- ")) || (returnIndex == 4 && remainder.startsWith("-- \r"))) break; String line = (returnIndex == -1 ? remainder : remainder.substring(0, returnIndex)).trim(); if (mainMessage && line.endsWith(":") && returnIndex != -1) { String trimmed = skipQuotedText(remainder, false); if (trimmed != remainder) { remainder = trimmed; elided = true; continue; } } line = compressLine(line); if (line.equalsIgnoreCase(STOPWORD_REPLY_1) || line.equalsIgnoreCase(STOPWORD_REPLY_2) || line.equalsIgnoreCase(STOPWORD_REPLY_3) || line.equalsIgnoreCase(STOPWORD_FORWARD_1) || line.equalsIgnoreCase(STOPWORD_FORWARD_2)) { if (fragment.length() != 0 || returnIndex == -1) break; fragment.append(line); remainder = skipFragmentHeader(remainder.substring(returnIndex).trim(), false); elided = mainMessage = false; continue; } if (fragment.length() != 0) { if (elided) fragment.append(" ..."); fragment.append(' '); } fragment.append(line); remainder = (returnIndex == -1 ? "" : remainder.substring(returnIndex).trim()); elided = false; } String result = fragment.toString(); if (result.equals("")) result = compressLine(backup); boolean isTruncated = (result.length() > Fragment.MAX_FRAGMENT_LENGTH); result = result.substring(0, isTruncated ? Fragment.MAX_FRAGMENT_LENGTH : result.length()); if (isTruncated) { int wspIndex = Math.max(result.lastIndexOf('\n'), result.lastIndexOf(' ')); wspIndex = Math.max(wspIndex, result.lastIndexOf('\t')); if (wspIndex != -1) result = result.substring(0, wspIndex).trim(); if (!result.endsWith(" ...")) result = result.concat(" ..."); } return result;
public static String getFragment(byte[] content) { int maxLen = Fragment.MAX_FRAGMENT_LENGTH * 20; maxLen = (content.length > maxLen) ? maxLen : content.length; return getFragment(new String(content, 0, maxLen), false);
public static String getFragment(String content, boolean hasCalendar) { String remainder = content.trim(); String backup = remainder; StringBuffer fragment = new StringBuffer(); // skip the "Where:", "When:", "Organizer:", etc. headers for Outlook calendar invites if (hasCalendar) remainder = skipFragmentHeader(remainder, true); // skip "On foosday, Herbie wrote:\n> blah..." remainder = skipQuotedText(remainder, true); boolean elided = false, mainMessage = true; while (fragment.length() <= Fragment.MAX_FRAGMENT_LENGTH) { // detect quoted stuff and skip it (or unquote it if we're fragmenting a message that's nothing but quotes) if (remainder.startsWith(">") || remainder.startsWith("|")) { if (mainMessage) { remainder = skipQuotedText(remainder, false); elided = true; } else remainder = remainder.substring(1).trim(); } // if we're done, we're done if (remainder.equals("")) break; // DASH-DASH-SPACE-RETURN is the standard signature delimiter int returnIndex = remainder.indexOf('\n'); if ((returnIndex == 3 && remainder.startsWith("-- ")) || (returnIndex == 4 && remainder.startsWith("-- \r"))) break; // check for another "On foosday, Herbie wrote:\n> blah..." and skip (unless we're fragmenting a message that's nothing but quotes) String line = (returnIndex == -1 ? remainder : remainder.substring(0, returnIndex)).trim(); if (mainMessage && line.endsWith(":") && returnIndex != -1) { String trimmed = skipQuotedText(remainder, false); if (trimmed != remainder) { remainder = trimmed; elided = true; continue; } } // sanitize for XML and collapse whitespace and some chars that people make lines out of line = compressLine(line); // check for stopwords that mean that what follows is a quoted message if (line.equalsIgnoreCase(STOPWORD_REPLY_1) || line.equalsIgnoreCase(STOPWORD_REPLY_2) || line.equalsIgnoreCase(STOPWORD_REPLY_3) || line.equalsIgnoreCase(STOPWORD_FORWARD_1) || line.equalsIgnoreCase(STOPWORD_FORWARD_2)) { if (fragment.length() != 0 || returnIndex == -1) break; // if we're here, the message was nothing but quoted text, so leave in the "-- Original Message --" and add a few more lines fragment.append(line); remainder = skipFragmentHeader(remainder.substring(returnIndex).trim(), false); elided = mainMessage = false; continue; } // and now we can finally add the line to the fragment we're building up if (fragment.length() != 0) { if (elided) fragment.append(" ..."); fragment.append(' '); } fragment.append(line); remainder = (returnIndex == -1 ? "" : remainder.substring(returnIndex).trim()); elided = false; } // almost done! just make sure we haven't accidentally trimmed off everything (in which case we'll just use the original content) String result = fragment.toString(); if (result.equals("")) result = compressLine(backup); boolean isTruncated = (result.length() > Fragment.MAX_FRAGMENT_LENGTH); result = result.substring(0, isTruncated ? Fragment.MAX_FRAGMENT_LENGTH : result.length()); // try to break at word boundaries and add an ellipsis if we've truncated the fragment // can't use the actual ellipsis character ('?') because of broken fonts on Linux if (isTruncated) { int wspIndex = Math.max(result.lastIndexOf('\n'), result.lastIndexOf(' ')); wspIndex = Math.max(wspIndex, result.lastIndexOf('\t')); if (wspIndex != -1) result = result.substring(0, wspIndex).trim(); if (!result.endsWith(" ...")) result = result.concat(" ..."); } return result; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/662a6f2481ca72fb28a26f844eaadc8c14b07bb1/Fragment.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/Fragment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 2812, 3520, 12, 780, 913, 16, 1250, 711, 7335, 13, 288, 3639, 514, 10022, 273, 913, 18, 5290, 5621, 3639, 514, 5114, 565, 273, 10022, 31, 3639, 6674, 5481, 273, 394, 6674, 5621, 3639, 368, 2488, 326, 315, 5262, 2773, 16, 315, 9434, 2773, 16, 315, 6001, 304, 1824, 2773, 16, 5527, 18, 1607, 364, 2976, 7330, 5686, 2198, 2997, 3639, 309, 261, 5332, 7335, 13, 5411, 10022, 273, 2488, 7456, 1864, 12, 2764, 25407, 16, 638, 1769, 3639, 368, 2488, 315, 1398, 18261, 538, 2881, 16, 670, 264, 70, 1385, 341, 21436, 5581, 82, 34, 2811, 9795, 7070, 3639, 10022, 273, 2488, 15919, 1528, 12, 2764, 25407, 16, 638, 1769, 3639, 1250, 415, 13898, 273, 629, 16, 2774, 1079, 273, 638, 31, 3639, 1323, 261, 11956, 18, 2469, 1435, 1648, 18009, 18, 6694, 67, 9981, 26903, 67, 7096, 13, 288, 5411, 368, 5966, 9298, 10769, 471, 2488, 518, 261, 280, 25611, 518, 309, 732, 4565, 5481, 310, 279, 883, 716, 1807, 5083, 1496, 10681, 13, 5411, 309, 261, 2764, 25407, 18, 17514, 1190, 2932, 2984, 13, 747, 10022, 18, 17514, 1190, 2932, 22317, 3719, 288, 7734, 309, 261, 5254, 1079, 13, 288, 10792, 10022, 273, 2488, 15919, 1528, 12, 2764, 25407, 16, 629, 1769, 10792, 415, 13898, 273, 638, 31, 7734, 289, 469, 10792, 10022, 273, 10022, 18, 28023, 12, 21, 2934, 5290, 5621, 5411, 289, 5411, 368, 309, 732, 4565, 2731, 16, 732, 4565, 2731, 5411, 309, 261, 2764, 25407, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 2812, 3520, 12, 780, 913, 16, 1250, 711, 7335, 13, 288, 3639, 514, 10022, 273, 913, 18, 5290, 5621, 3639, 514, 5114, 565, 273, 10022, 31, 3639, 6674, 5481, 273, 394, 6674, 5621, 3639, 368, 2488, 326, 315, 5262, 2773, 16, 315, 9434, 2773, 16, 315, 6001, 304, 1824, 2773, 16, 5527, 18, 1607, 364, 2976, 7330, 5686, 2198, 2997, 3639, 309, 261, 5332, 7335, 13, 5411, 10022, 273, 2488, 7456, 1864, 12, 2764, 25407, 16, 638, 1769, 3639, 368, 2488, 315, 1398, 18261, 538, 2881, 16, 670, 264, 70, 1385, 341, 21436, 5581, 82, 34, 2811, 9795, 7070, 3639, 10022, 273, 2488, 15919, 1528, 12, 2764, 25407, 16, 638, 1769, 3639, 1250, 415, 13898, 2 ]
protected void expectPropertySet(String target, String property) { expectPropertySet(target, property, "true");
protected void expectPropertySet(String target, String property, String value) { executeTarget(target); assertPropertyEquals(property, value);
protected void expectPropertySet(String target, String property) { expectPropertySet(target, property, "true"); }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/25a478af3824cccebc5b190c54363a36ccf1fcfe/BuildFileTest.java/buggy/src/testcases/org/apache/tools/ant/BuildFileTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4489, 1396, 694, 12, 780, 1018, 16, 514, 1272, 13, 288, 3639, 4489, 1396, 694, 12, 3299, 16, 1272, 16, 315, 3767, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4489, 1396, 694, 12, 780, 1018, 16, 514, 1272, 13, 288, 3639, 4489, 1396, 694, 12, 3299, 16, 1272, 16, 315, 3767, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
File artifactTarget = new File( targetRepo.getBasedir(), targetRepo.pathOf( artifact ) );
File artifactTarget = new File( targetRepo.getBasedir(), targetRepo.pathOf( artifact ).replace('+', '-') );
private void rewriteArtifactsAndPoms( List artifacts, ArtifactRepository sourceRepo, ArtifactRepository targetRepo, RepositoryCleanerConfiguration configuration, File reportsBase, File sourceRepositoryBase, File targetRepositoryBase, FileReporter repoReporter ) throws Exception { Logger logger = getLogger(); ArtifactPomRewriter artifactPomRewriter = null; try { logger.info( "Rewriting up to " + artifacts.size() + " artifacts (Should be " + ( artifacts.size() * 2 ) + " rewrites including POMs)." ); int actualRewriteCount = 0; for ( Iterator it = artifacts.iterator(); it.hasNext(); ) { Artifact artifact = (Artifact) it.next(); RewriteTransaction transaction = new RewriteTransaction( artifact ); String artifactReportPath = buildArtifactReportPath( artifact ); FileReporter artifactReporter = null; try { artifactReporter = new FileReporter( reportsBase, artifactReportPath ); boolean errorOccurred = false; File artifactSource = new File( sourceRepo.getBasedir(), sourceRepo.pathOf( artifact ) ); File artifactTarget = new File( targetRepo.getBasedir(), targetRepo.pathOf( artifact ) ); transaction.addFile( artifactTarget ); artifact.setFile( artifactSource ); boolean targetMissingOrOlder = !artifactTarget.exists() || artifactTarget.lastModified() < artifactSource.lastModified(); if ( artifactSource.exists() && ( configuration.force() || targetMissingOrOlder ) ) { actualRewriteCount++; transaction.addFile( artifactTarget ); try { if ( !configuration.reportOnly() ) { if ( logger.isDebugEnabled() ) { logger.debug( "sourceRepo basedir is: \'" + sourceRepo.getBasedir() + "\'" ); logger.debug( "targetRepo basedir is: \'" + targetRepo.getBasedir() + "\'" ); } File targetParent = artifactTarget.getParentFile(); if ( !targetParent.exists() ) { transaction.addFile( targetParent ); targetParent.mkdirs(); } if ( logger.isDebugEnabled() ) { logger.debug( "Copying artifact[" + artifact.getId() + "] from \'" + artifactSource + "\' to \'" + artifactTarget + "\'." ); } copyArtifact( artifact, artifactTarget, artifactReporter ); } } catch ( Exception e ) { repoReporter.error( "Error transferring artifact[" + artifact.getId() + "] to the target repository.", e ); throw e; } if ( logger.isDebugEnabled() ) { logger.debug( "working on digest for artifact[" + artifact.getId() + "] with groupId: \'" + artifact.getGroupId() + "\'" ); } try { digestVerifier.verifyDigest( artifactSource, artifactTarget, transaction, artifactReporter, configuration.reportOnly() ); } catch ( Exception e ) { repoReporter.error( "Error verifying digest for artifact[" + artifact.getId() + "]", e ); throw e; } ArtifactMetadata pom = new ProjectMetadata( artifact ); artifactPomRewriter = (ArtifactPomRewriter) container.lookup( ArtifactPomRewriter.ROLE, configuration .getSourcePomVersion() ); File sourcePom = new File( sourceRepositoryBase, sourceRepo.pathOfMetadata( pom ) ); File targetPom = new File( targetRepositoryBase, targetRepo.pathOfMetadata( pom ) ); transaction.addFile( targetPom ); File bridgedTargetPom = new File( targetRepositoryBase, bridgingLayout.pathOfMetadata( pom ) ); transaction.addFile( bridgedTargetPom ); try { artifactPomRewriter.rewrite( artifact, sourcePom, targetPom, artifactReporter, configuration.reportOnly() ); boolean wroteBridge = bridgePomLocations( targetPom, bridgedTargetPom, artifactReporter ); digestVerifier.verifyDigest( sourcePom, targetPom, transaction, artifactReporter, configuration.reportOnly() ); if(wroteBridge) { digestVerifier.verifyDigest( sourcePom, bridgedTargetPom, transaction, artifactReporter, configuration.reportOnly() ); } } catch ( Exception e ) { repoReporter.error( "Error rewriting POM for artifact[" + artifact.getId() + "] into the target repository.\n Error message: " + e.getMessage() ); } } else if ( !targetMissingOrOlder ) { artifactReporter.warn( "Target file for artifact is present and not stale. (Artifact: \'" + artifact.getId() + "\' in path: \'" + artifactSource + "\' with target path: " + artifactTarget + ")." ); } else { artifactReporter.error( "Cannot find source file for artifact: \'" + artifact.getId() + "\' under path: \'" + artifactSource + "\'" ); } if ( artifactReporter.hasError() ) { repoReporter.warn( "Error(s) occurred while rewriting artifact: \'" + artifact.getId() + "\' or its POM." ); } } catch ( Exception e ) { if ( !configuration.force() ) { try { transaction.rollback(); } catch ( RollbackException re ) { repoReporter.error( "Error rolling back conversion transaction.", re ); } } artifactReporter.error( "Error while rewriting file or POM for artifact: \'" + artifact.getId() + "\'. See report at: \'" + artifactReportPath + "\'.", e ); } finally { if ( artifactReporter != null ) { artifactReporter.close(); } } } logger.info( "Actual number of artifacts rewritten: " + actualRewriteCount + " (" + ( actualRewriteCount * 2 ) + " including POMs)." ); } finally { if ( artifactPomRewriter != null ) { container.release( artifactPomRewriter ); } } }
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/35cc18bfbd5c958609a32196b7b67f082f2bdebe/RepositoryCleaner.java/buggy/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/RepositoryCleaner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 10738, 16981, 1876, 52, 25390, 12, 987, 16259, 16, 14022, 3305, 1084, 8791, 16, 14022, 3305, 1018, 8791, 16, 29159, 6281, 7605, 264, 1750, 1664, 16, 1387, 10557, 2171, 16, 29159, 1387, 1084, 3305, 2171, 16, 1387, 1018, 3305, 2171, 16, 1387, 13289, 3538, 13289, 262, 3639, 1216, 1185, 565, 288, 3639, 4242, 1194, 273, 7156, 5621, 3639, 14022, 52, 362, 17631, 1091, 6462, 52, 362, 17631, 1091, 273, 446, 31, 3639, 775, 3639, 288, 5411, 1194, 18, 1376, 12, 315, 17631, 583, 310, 731, 358, 315, 397, 16259, 18, 1467, 1435, 397, 315, 16259, 261, 14309, 506, 315, 397, 261, 16259, 18, 1467, 1435, 380, 576, 262, 7734, 397, 315, 283, 13284, 6508, 453, 1872, 87, 14944, 11272, 5411, 509, 3214, 19618, 1380, 273, 374, 31, 5411, 364, 261, 4498, 518, 273, 16259, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 14022, 6462, 273, 261, 7581, 13, 518, 18, 4285, 5621, 7734, 17851, 3342, 2492, 273, 394, 17851, 3342, 12, 6462, 11272, 7734, 514, 6462, 4820, 743, 273, 1361, 7581, 4820, 743, 12, 6462, 11272, 7734, 1387, 13289, 6462, 13289, 273, 446, 31, 7734, 775, 7734, 288, 10792, 6462, 13289, 273, 394, 1387, 13289, 12, 10557, 2171, 16, 6462, 4820, 743, 11272, 10792, 1250, 555, 30096, 273, 629, 31, 10792, 1387, 6462, 1830, 273, 394, 1387, 12, 1084, 8791, 18, 588, 2171, 1214, 9334, 1084, 8791, 18, 803, 951, 12, 6462, 262, 11272, 10792, 1387, 6462, 2326, 273, 394, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 10738, 16981, 1876, 52, 25390, 12, 987, 16259, 16, 14022, 3305, 1084, 8791, 16, 14022, 3305, 1018, 8791, 16, 29159, 6281, 7605, 264, 1750, 1664, 16, 1387, 10557, 2171, 16, 29159, 1387, 1084, 3305, 2171, 16, 1387, 1018, 3305, 2171, 16, 1387, 13289, 3538, 13289, 262, 3639, 1216, 1185, 565, 288, 3639, 4242, 1194, 273, 7156, 5621, 3639, 14022, 52, 362, 17631, 1091, 6462, 52, 362, 17631, 1091, 273, 446, 31, 3639, 775, 3639, 288, 5411, 1194, 18, 1376, 12, 315, 17631, 583, 310, 731, 358, 315, 397, 16259, 18, 1467, 1435, 397, 315, 16259, 261, 14309, 506, 315, 397, 261, 16259, 18, 1467, 1435, 380, 576, 262, 7734, 397, 315, 283, 13284, 6508, 453, 1872, 2 ]
idMap.put(name, elements[j].getAttribute(ATTR_ID));
String id= elements[j].getAttribute(ATTR_ID); idMap.put(name, id);
private void initializeFormatters() { idMap = new HashMap(); idMap.put(NONE, null); IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(CCorePlugin.PLUGIN_ID, CCorePlugin.FORMATTER_EXTPOINT_ID); if (point != null) { IExtension[] exts = point.getExtensions(); for (int i = 0; i < exts.length; i++) { IConfigurationElement[] elements = exts[i].getConfigurationElements(); for (int j = 0; j < elements.length; ++j) { String name = elements[j].getAttribute(ATTR_NAME); idMap.put(name, elements[j].getAttribute(ATTR_ID)); } } } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/12f3dd59c579048e11942c9768bb3f6c6a45e156/CustomCodeFormatterBlock.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/formatter/CustomCodeFormatterBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4046, 31332, 1435, 288, 202, 202, 350, 863, 273, 394, 4317, 5621, 202, 202, 350, 863, 18, 458, 12, 9826, 16, 446, 1769, 202, 202, 45, 3625, 2148, 1634, 273, 11810, 18, 588, 3625, 4243, 7675, 588, 3625, 2148, 12, 39, 4670, 3773, 18, 19415, 67, 734, 16, 385, 4670, 3773, 18, 7254, 2560, 67, 4142, 8941, 67, 734, 1769, 202, 202, 430, 261, 1153, 480, 446, 13, 288, 1082, 202, 45, 3625, 8526, 20793, 273, 1634, 18, 588, 7513, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 20793, 18, 2469, 31, 277, 27245, 288, 1082, 3196, 202, 45, 1750, 1046, 8526, 2186, 273, 20793, 63, 77, 8009, 588, 1750, 3471, 5621, 1082, 3196, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 2186, 18, 2469, 31, 965, 78, 13, 288, 1082, 1875, 202, 780, 508, 273, 2186, 63, 78, 8009, 588, 1499, 12, 12043, 67, 1985, 1769, 1082, 1875, 202, 350, 863, 18, 458, 12, 529, 16, 2186, 63, 78, 8009, 588, 1499, 12, 12043, 67, 734, 10019, 1082, 3196, 202, 97, 1082, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4046, 31332, 1435, 288, 202, 202, 350, 863, 273, 394, 4317, 5621, 202, 202, 350, 863, 18, 458, 12, 9826, 16, 446, 1769, 202, 202, 45, 3625, 2148, 1634, 273, 11810, 18, 588, 3625, 4243, 7675, 588, 3625, 2148, 12, 39, 4670, 3773, 18, 19415, 67, 734, 16, 385, 4670, 3773, 18, 7254, 2560, 67, 4142, 8941, 67, 734, 1769, 202, 202, 430, 261, 1153, 480, 446, 13, 288, 1082, 202, 45, 3625, 8526, 20793, 273, 1634, 18, 588, 7513, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 20793, 18, 2469, 31, 277, 27245, 288, 1082, 3196, 202, 45, 1750, 1046, 8526, 2186, 273, 20793, 63, 77, 8009, 588, 1750, 3471, 2 ]
public NewExampleAction(IWorkbenchWindow window) { super(WorkbenchMessages.getString("NewExampleAction.text")); Assert.isNotNull(window); this.window = window; ISharedImages images = PlatformUI.getWorkbench().getSharedImages(); setImageDescriptor( images.getImageDescriptor(ISharedImages.IMG_TOOL_NEW_WIZARD)); setHoverImageDescriptor( images.getImageDescriptor(ISharedImages.IMG_TOOL_NEW_WIZARD_HOVER)); setDisabledImageDescriptor( images.getImageDescriptor(ISharedImages.IMG_TOOL_NEW_WIZARD_DISABLED)); setToolTipText(WorkbenchMessages.getString("NewExampleAction.toolTip")); WorkbenchHelp.setHelp(this, IHelpContextIds.NEW_ACTION);
public NewExampleAction() { this(PlatformUI.getWorkbench().getActiveWorkbenchWindow());
public NewExampleAction(IWorkbenchWindow window) { super(WorkbenchMessages.getString("NewExampleAction.text")); //$NON-NLS-1$ Assert.isNotNull(window); this.window = window; ISharedImages images = PlatformUI.getWorkbench().getSharedImages(); setImageDescriptor( images.getImageDescriptor(ISharedImages.IMG_TOOL_NEW_WIZARD)); setHoverImageDescriptor( images.getImageDescriptor(ISharedImages.IMG_TOOL_NEW_WIZARD_HOVER)); setDisabledImageDescriptor( images.getImageDescriptor(ISharedImages.IMG_TOOL_NEW_WIZARD_DISABLED)); setToolTipText(WorkbenchMessages.getString("NewExampleAction.toolTip")); //$NON-NLS-1$ WorkbenchHelp.setHelp(this, IHelpContextIds.NEW_ACTION); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/cc97b9a809e6814474642e1e2131704f1c481f9a/NewExampleAction.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/NewExampleAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1166, 10908, 1803, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 202, 202, 9565, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 1908, 10908, 1803, 18, 955, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 8213, 18, 291, 5962, 12, 5668, 1769, 202, 202, 2211, 18, 5668, 273, 2742, 31, 202, 202, 45, 7887, 8946, 4602, 273, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 7887, 8946, 5621, 202, 202, 542, 2040, 3187, 12, 1082, 202, 7369, 18, 588, 2040, 3187, 12, 45, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 12917, 67, 59, 6867, 8085, 10019, 202, 202, 542, 21184, 2040, 3187, 12, 1082, 202, 7369, 18, 588, 2040, 3187, 12, 45, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 12917, 67, 59, 6867, 8085, 67, 7995, 2204, 10019, 202, 202, 542, 8853, 2040, 3187, 12, 1082, 202, 7369, 18, 588, 2040, 3187, 12, 45, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 12917, 67, 59, 6867, 8085, 67, 24493, 10019, 202, 202, 542, 29250, 1528, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 1908, 10908, 1803, 18, 6738, 14189, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2421, 22144, 6696, 18, 542, 6696, 12, 2211, 16, 467, 6696, 1042, 2673, 18, 12917, 67, 12249, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1166, 10908, 1803, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 202, 202, 9565, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 1908, 10908, 1803, 18, 955, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 8213, 18, 291, 5962, 12, 5668, 1769, 202, 202, 2211, 18, 5668, 273, 2742, 31, 202, 202, 45, 7887, 8946, 4602, 273, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 7887, 8946, 5621, 202, 202, 542, 2040, 3187, 12, 1082, 202, 7369, 18, 588, 2040, 3187, 12, 45, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 12917, 67, 59, 6867, 8085, 10019, 202, 202, 542, 21184, 2040, 3187, 12, 1082, 202, 7369, 18, 588, 2040, 3187, 12, 45, 2 ]
WorkbenchHelp.setHelp( composite, GDB_MI_HELP_CONTEXT );
protected Control createContents( Composite parent ) { WorkbenchHelp.setHelp( getControl(), IMIHelpContextIds.MI_PREFERENCE_PAGE ); //The main composite Composite composite = new Composite( parent, SWT.NULL ); GridLayout layout = new GridLayout(); layout.numColumns = 1; layout.marginHeight = 0; layout.marginWidth = 0; composite.setLayout( layout ); GridData data = new GridData(); data.verticalAlignment = GridData.FILL; data.horizontalAlignment = GridData.FILL; composite.setLayoutData( data ); createSpacer( composite, 1 ); createCommunicationPreferences( composite ); WorkbenchHelp.setHelp( composite, GDB_MI_HELP_CONTEXT ); return composite; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/b7f2832d9247550a834fca14b61a978e7db9dbfa/MIPreferencePage.java/clean/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/preferences/MIPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6323, 12, 14728, 982, 262, 288, 202, 202, 2421, 22144, 6696, 18, 542, 6696, 12, 27174, 9334, 6246, 45, 6696, 1042, 2673, 18, 7492, 67, 3670, 10830, 67, 11219, 11272, 202, 202, 759, 1986, 2774, 9635, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 8560, 11272, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 404, 31, 202, 202, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 27676, 18, 542, 3744, 12, 3511, 11272, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 5621, 202, 202, 892, 18, 17824, 11535, 273, 7145, 751, 18, 29818, 31, 202, 202, 892, 18, 18396, 11535, 273, 7145, 751, 18, 29818, 31, 202, 202, 27676, 18, 542, 3744, 751, 12, 501, 11272, 202, 202, 2640, 3389, 10598, 12, 9635, 16, 404, 11272, 202, 202, 2640, 25219, 12377, 12, 9635, 11272, 202, 202, 2421, 22144, 6696, 18, 542, 6696, 12, 9635, 16, 611, 2290, 67, 7492, 67, 27396, 67, 13181, 11272, 202, 202, 2463, 9635, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6323, 12, 14728, 982, 262, 288, 202, 202, 2421, 22144, 6696, 18, 542, 6696, 12, 27174, 9334, 6246, 45, 6696, 1042, 2673, 18, 7492, 67, 3670, 10830, 67, 11219, 11272, 202, 202, 759, 1986, 2774, 9635, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 8560, 11272, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 404, 31, 202, 202, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 27676, 18, 542, 3744, 12, 3511, 11272, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 5621, 202, 202, 892, 18, 17824, 11535, 273, 2 ]
waitForRefresh();
public void testImportSingleZip() { try { IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); IProject[] workspaceProjects = root.getProjects(); for (int i = 0; i < workspaceProjects.length; i++) FileUtil.deleteProject(workspaceProjects[i]); URL archiveFile = Platform.asLocalURL(Platform.find(TestPlugin.getDefault().getBundle(), new Path(DATA_PATH_PREFIX + ARCHIVE_HELLOWORLD + ".zip"))); WizardProjectsImportPage wpip = getNewWizard(); HashSet projects = new HashSet(); projects.add("HelloWorld"); wpip.getProjectFromDirectoryRadio().setSelection((false)); //We want the other one selected wpip.updateProjectsList(archiveFile.getPath()); ProjectRecord[] selectedProjects= wpip.getValidProjects(); ArrayList projectNames = new ArrayList(); for (int i = 0; i < selectedProjects.length; i++) { projectNames.add(selectedProjects[i].getProjectName()); } assertTrue("Not all projects were found correctly in zip", projectNames.containsAll(projects)); CheckboxTreeViewer projectsList= wpip.getProjectsList(); projectsList.setCheckedElements(selectedProjects); wpip.createProjects(); // Try importing all the projects we found // "HelloWorld" should be the only project in the workspace workspaceProjects = root.getProjects(); if (workspaceProjects.length != 1) fail("Incorrect Number of projects imported"); IFolder helloFolder = workspaceProjects[0].getFolder("HelloWorld"); if (helloFolder.exists()) fail("Project was imported as a folder into itself"); verifyProjectInWorkspace(true, workspaceProjects[0], FILE_LIST, true); } catch (IOException e) { fail(e.toString()); } catch (CoreException e) { fail(e.toString()); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/30807e10cc3fd4b2844a733922e0ca637ad02238/ImportExistingTest.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/datatransfer/ImportExistingTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7048, 1290, 8323, 5621, 225, 918, 7048, 1290, 8323, 5621, 225, 1842, 5010, 5281, 9141, 1435, 7048, 1290, 8323, 5621, 225, 288, 202, 202, 698, 7048, 1290, 8323, 5621, 225, 288, 1082, 202, 45, 8241, 2375, 7048, 1290, 8323, 5621, 225, 1365, 7048, 1290, 8323, 5621, 225, 273, 7048, 1290, 8323, 5621, 225, 8128, 3773, 18, 588, 8241, 7675, 588, 2375, 5621, 25083, 202, 45, 4109, 8526, 7048, 1290, 8323, 5621, 225, 6003, 4109, 5328, 1540, 1290, 8323, 5621, 225, 273, 7048, 1290, 8323, 5621, 225, 1365, 18, 588, 15298, 5621, 7048, 1290, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 364, 7048, 1290, 8323, 5621, 225, 261, 474, 7048, 1290, 8323, 5621, 225, 277, 7048, 1290, 8323, 5621, 225, 273, 7048, 1290, 8323, 5621, 225, 374, 31, 7048, 1290, 8323, 5621, 225, 277, 7048, 1290, 8323, 5621, 225, 411, 7048, 1290, 8323, 5621, 225, 6003, 15298, 18, 2469, 31, 7048, 1290, 8323, 5621, 225, 277, 27245, 7048, 1290, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 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, 7048, 1290, 8323, 5621, 225, 918, 7048, 1290, 8323, 5621, 225, 1842, 5010, 5281, 9141, 1435, 7048, 1290, 8323, 5621, 225, 288, 202, 202, 698, 7048, 1290, 8323, 5621, 225, 288, 1082, 202, 45, 8241, 2375, 7048, 1290, 8323, 5621, 225, 1365, 7048, 1290, 8323, 5621, 225, 273, 7048, 1290, 8323, 5621, 225, 8128, 3773, 18, 588, 8241, 7675, 588, 2375, 5621, 25083, 202, 45, 4109, 8526, 7048, 1290, 8323, 5621, 225, 6003, 4109, 5328, 1540, 1290, 8323, 5621, 225, 273, 7048, 1290, 8323, 5621, 225, 1365, 18, 588, 15298, 5621, 7048, 1290, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 10712, 8323, 5621, 225, 2 ]
synPredMatched193 = false;
synPredMatched199 = false;
public final void nodeTest() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST nodeTest_AST = null; boolean synPredMatched193 = false; if (((_tokenSet_4.member(LA(1))))) { int _m193 = mark(); synPredMatched193 = true; inputState.guessing++; try { { matchNot(EOF); match(LPAREN); } } catch (RecognitionException pe) { synPredMatched193 = false; } rewind(_m193); inputState.guessing--; } if ( synPredMatched193 ) { kindTest(); astFactory.addASTChild(currentAST, returnAST); nodeTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((_tokenSet_10.member(LA(1)))) { nameTest(); astFactory.addASTChild(currentAST, returnAST); nodeTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } returnAST = nodeTest_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/942d71ceffee004821cc1b2e75c2538951c04027/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 756, 4709, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 756, 4709, 67, 9053, 273, 446, 31, 9506, 202, 6494, 6194, 10391, 15400, 3657, 23, 273, 629, 31, 202, 202, 430, 261, 12443, 67, 2316, 694, 67, 24, 18, 5990, 12, 2534, 12, 21, 3719, 20349, 288, 1082, 202, 474, 389, 81, 3657, 23, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 3657, 23, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 1916, 1248, 12, 12706, 1769, 9506, 202, 1916, 12, 48, 15111, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 5650, 7909, 503, 2804, 13, 288, 9506, 202, 11982, 10391, 15400, 3657, 23, 273, 629, 31, 1082, 202, 97, 1082, 202, 266, 10094, 24899, 81, 3657, 23, 1769, 1082, 202, 2630, 1119, 18, 20885, 310, 413, 31, 202, 202, 97, 202, 202, 430, 261, 6194, 10391, 15400, 3657, 23, 262, 288, 1082, 202, 9224, 4709, 5621, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 1082, 202, 2159, 4709, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 2972, 9053, 18, 3085, 31, 202, 202, 97, 202, 202, 12107, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 756, 4709, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 756, 4709, 67, 9053, 273, 446, 31, 9506, 202, 6494, 6194, 10391, 15400, 3657, 23, 273, 629, 31, 202, 202, 430, 261, 12443, 67, 2316, 694, 67, 24, 18, 5990, 12, 2534, 12, 21, 3719, 20349, 288, 1082, 202, 474, 389, 81, 3657, 23, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 3657, 23, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 2 ]
return true;
return modified;
public boolean isSourceModified(Resource resource) { String path = (String) templatePaths.get(resource.getName()); File file = new File( path, resource.getName() ); if ( file.canRead() ) { return (file.lastModified() != resource.getLastModified()); } /* * If the file is now unreadable, or it has * just plain disappeared then we'll just say * that it's modified :-) When the loader attempts * to load the stream it will fail and the error * will be reported then. */ return true; }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/9b4443d5eca31f626b7c125b0ce2c6b66e76b995/FileResourceLoader.java/clean/src/java/org/apache/velocity/runtime/resource/loader/FileResourceLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 1830, 4575, 12, 1420, 1058, 13, 565, 288, 3639, 514, 589, 273, 261, 780, 13, 1542, 4466, 18, 588, 12, 3146, 18, 17994, 10663, 3639, 1387, 585, 273, 394, 1387, 12, 589, 16, 1058, 18, 17994, 1435, 11272, 21821, 309, 261, 585, 18, 4169, 1994, 1435, 262, 3639, 288, 5411, 327, 261, 768, 18, 2722, 4575, 1435, 480, 1058, 18, 588, 14747, 10663, 3639, 289, 7734, 1748, 540, 380, 971, 326, 585, 353, 2037, 640, 11018, 16, 578, 518, 711, 540, 380, 2537, 7351, 1015, 438, 347, 2258, 1508, 732, 5614, 2537, 12532, 540, 380, 716, 518, 1807, 4358, 294, 17, 13, 5203, 326, 4088, 7531, 540, 380, 358, 1262, 326, 1407, 518, 903, 2321, 471, 326, 555, 540, 380, 903, 506, 14010, 1508, 18, 540, 1195, 9079, 327, 4358, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 1830, 4575, 12, 1420, 1058, 13, 565, 288, 3639, 514, 589, 273, 261, 780, 13, 1542, 4466, 18, 588, 12, 3146, 18, 17994, 10663, 3639, 1387, 585, 273, 394, 1387, 12, 589, 16, 1058, 18, 17994, 1435, 11272, 21821, 309, 261, 585, 18, 4169, 1994, 1435, 262, 3639, 288, 5411, 327, 261, 768, 18, 2722, 4575, 1435, 480, 1058, 18, 588, 14747, 10663, 3639, 289, 7734, 1748, 540, 380, 971, 326, 585, 353, 2037, 640, 11018, 16, 578, 518, 711, 540, 380, 2537, 7351, 1015, 438, 347, 2258, 1508, 732, 5614, 2537, 12532, 540, 380, 716, 518, 1807, 4358, 294, 17, 13, 5203, 326, 4088, 7531, 540, 380, 358, 1262, 326, 1407, 518, 903, 2321, 2 ]
* always try the local context then innerContext--even if localcontextscope */
* always try the local context then innerContext--even if localcontextscope */
public Object get( String key ) { /* * first, see if it's a VMPA */ Object o = null; VMProxyArg vmpa = (VMProxyArg) vmproxyhash.get( key ); if( vmpa != null ) { o = vmpa.getObject( wrappedContext ); } else { /* * always try the local context then innerContext--even if localcontextscope */ o = localcontext.get( key ); if ( o == null) { /* * last chance */ o = innerContext.get( key ); } } return o; }
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/3947ee2f4220d23c09340926c564fc0b0641aa75/VMContext.java/clean/src/java/org/apache/velocity/context/VMContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 514, 498, 262, 565, 288, 3639, 1748, 540, 380, 1122, 16, 2621, 309, 518, 1807, 279, 8251, 4066, 540, 1195, 3639, 1033, 320, 273, 446, 31, 3639, 8251, 3886, 4117, 331, 1291, 69, 273, 261, 7397, 3886, 4117, 13, 4268, 5656, 2816, 18, 588, 12, 498, 11272, 3639, 309, 12, 331, 1291, 69, 480, 446, 262, 3639, 288, 5411, 320, 273, 331, 1291, 69, 18, 588, 921, 12, 5805, 1042, 11272, 3639, 289, 3639, 469, 3639, 288, 5411, 1748, 5411, 380, 225, 3712, 775, 326, 1191, 819, 1508, 3443, 1042, 413, 16728, 309, 225, 1191, 2472, 4887, 5411, 1195, 5411, 320, 273, 1191, 2472, 18, 588, 12, 498, 11272, 5411, 309, 261, 320, 422, 446, 13, 5411, 288, 7734, 1748, 7734, 380, 1142, 17920, 7734, 1195, 7734, 320, 273, 3443, 1042, 18, 588, 12, 498, 11272, 5411, 289, 3639, 289, 3639, 327, 320, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 514, 498, 262, 565, 288, 3639, 1748, 540, 380, 1122, 16, 2621, 309, 518, 1807, 279, 8251, 4066, 540, 1195, 3639, 1033, 320, 273, 446, 31, 3639, 8251, 3886, 4117, 331, 1291, 69, 273, 261, 7397, 3886, 4117, 13, 4268, 5656, 2816, 18, 588, 12, 498, 11272, 3639, 309, 12, 331, 1291, 69, 480, 446, 262, 3639, 288, 5411, 320, 273, 331, 1291, 69, 18, 588, 921, 12, 5805, 1042, 11272, 3639, 289, 3639, 469, 3639, 288, 5411, 1748, 5411, 380, 225, 3712, 775, 326, 1191, 819, 1508, 3443, 1042, 413, 16728, 309, 225, 1191, 2472, 4887, 5411, 1195, 5411, 320, 273, 1191, 2472, 18, 588, 12, 498, 11272, 5411, 309, 261, 320, 422, 2 ]
if(isEmpty())
if(isEmpty())
String argTo() { String top = top(); shift(); if(isEmpty()) throw new IllegalArgumentException("Missing argument to " + top); return top(); }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/2dd5d409f975be7307a8a1e53285410b7d4adad8/Main.java/clean/aop/abc/src/abc/main/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 514, 1501, 774, 1435, 288, 5411, 514, 1760, 273, 1760, 5621, 5411, 4654, 5621, 5411, 309, 12, 291, 1921, 10756, 1171, 604, 394, 2754, 2932, 4841, 1237, 358, 315, 397, 1760, 1769, 5411, 327, 1760, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 514, 1501, 774, 1435, 288, 5411, 514, 1760, 273, 1760, 5621, 5411, 4654, 5621, 5411, 309, 12, 291, 1921, 10756, 1171, 604, 394, 2754, 2932, 4841, 1237, 358, 315, 397, 1760, 1769, 5411, 327, 1760, 5621, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
MAX_HTL, random.nextLong(), null, headers, prb, false);
MAX_HTL, uid, null, headers, prb, false);
public void putCHK(ClientCHKBlock block) { byte[] data = block.getData(); byte[] headers = block.getHeader(); PartiallyReceivedBlock prb = new PartiallyReceivedBlock(PACKETS_IN_BLOCK, PACKET_SIZE, data); InsertSender is; synchronized(this) { try { datastore.put(block); } catch (IOException e) { Logger.error(this, "Datastore failure: "+e, e); } is = makeInsertSender(block.getClientKey().getNodeCHK(), MAX_HTL, random.nextLong(), null, headers, prb, false); } is.waitUntilFinished(); if(is.getStatus() == InsertSender.SUCCESS) { Logger.normal(this, "Succeeded inserting "+block); } else { int status = is.getStatus(); String msg = "Failed inserting "+block+" : "+is.getStatusString(); if(status == is.ROUTE_NOT_FOUND) msg += " - this is normal on small networks; the data will still be propagated, but it can't find the 20+ nodes needed for full success"; Logger.error(this, msg); } }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/0ccfe041f35ffce73f0269505e8fdafd82c8455b/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 1792, 47, 12, 1227, 1792, 47, 1768, 1203, 13, 288, 3639, 1160, 8526, 501, 273, 1203, 18, 588, 751, 5621, 3639, 1160, 8526, 1607, 273, 1203, 18, 588, 1864, 5621, 3639, 6393, 6261, 8872, 1768, 846, 70, 273, 394, 6393, 6261, 8872, 1768, 12, 12231, 1584, 55, 67, 706, 67, 11403, 16, 453, 17750, 67, 4574, 16, 501, 1769, 3639, 8040, 12021, 353, 31, 3639, 3852, 12, 2211, 13, 288, 5411, 775, 288, 7734, 9290, 18, 458, 12, 2629, 1769, 5411, 289, 1044, 261, 14106, 425, 13, 288, 7734, 4242, 18, 1636, 12, 2211, 16, 315, 21191, 5166, 30, 13773, 73, 16, 425, 1769, 5411, 289, 5411, 353, 273, 1221, 4600, 12021, 12, 2629, 18, 588, 1227, 653, 7675, 588, 907, 1792, 47, 9334, 5397, 4552, 67, 5062, 48, 16, 4555, 16, 446, 16, 1607, 16, 846, 70, 16, 629, 1769, 3639, 289, 3639, 353, 18, 7048, 9716, 10577, 5621, 3639, 309, 12, 291, 18, 588, 1482, 1435, 422, 8040, 12021, 18, 12778, 13, 288, 5411, 4242, 18, 6130, 12, 2211, 16, 315, 30500, 21079, 13773, 2629, 1769, 3639, 289, 469, 288, 5411, 509, 1267, 273, 353, 18, 588, 1482, 5621, 5411, 514, 1234, 273, 315, 2925, 21079, 13773, 2629, 9078, 294, 13773, 291, 18, 588, 1482, 780, 5621, 5411, 309, 12, 2327, 422, 353, 18, 30334, 67, 4400, 67, 9294, 13, 7734, 1234, 1011, 315, 300, 333, 353, 2212, 603, 5264, 13884, 31, 326, 501, 903, 4859, 506, 29786, 16, 1496, 518, 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, 1378, 1792, 47, 12, 1227, 1792, 47, 1768, 1203, 13, 288, 3639, 1160, 8526, 501, 273, 1203, 18, 588, 751, 5621, 3639, 1160, 8526, 1607, 273, 1203, 18, 588, 1864, 5621, 3639, 6393, 6261, 8872, 1768, 846, 70, 273, 394, 6393, 6261, 8872, 1768, 12, 12231, 1584, 55, 67, 706, 67, 11403, 16, 453, 17750, 67, 4574, 16, 501, 1769, 3639, 8040, 12021, 353, 31, 3639, 3852, 12, 2211, 13, 288, 5411, 775, 288, 7734, 9290, 18, 458, 12, 2629, 1769, 5411, 289, 1044, 261, 14106, 425, 13, 288, 7734, 4242, 18, 1636, 12, 2211, 16, 315, 21191, 5166, 30, 13773, 73, 16, 425, 1769, 5411, 289, 5411, 353, 273, 1221, 4600, 12021, 12, 2629, 18, 2 ]
lblTop.setText("Top:");
lblTop.setText(Messages.getString("InsetsComposite.Lbl.Top"));
private void placeComponents() { FillLayout flMain = new FillLayout(); flMain.marginHeight = 0; flMain.marginWidth = 0; GridLayout glGroup = new GridLayout(); glGroup.horizontalSpacing = 5; glGroup.verticalSpacing = 5; glGroup.marginHeight = 4; glGroup.marginWidth = 4; glGroup.numColumns = 4; this.setLayout(flMain); grpInsets = new Group(this, SWT.NONE); grpInsets.setLayout(glGroup); grpInsets.setText("Insets (in " + sUnits + ")"); Label lblTop = new Label(grpInsets, SWT.NONE); GridData gdLTop = new GridData(GridData.VERTICAL_ALIGN_CENTER); gdLTop.heightHint = 20; lblTop.setLayoutData(gdLTop); lblTop.setText("Top:"); txtTop = new TextEditorComposite(grpInsets, SWT.BORDER); GridData gdTTop = new GridData(GridData.FILL_BOTH); gdTTop.heightHint = 20; gdTTop.widthHint = 45; txtTop.setLayoutData(gdTTop); double dblPoints = insets.getTop(); double dblCurrent = serviceprovider.getConvertedValue(dblPoints, "Points", sUnits); txtTop.setText(new Double(dblCurrent).toString()); txtTop.addListener(this); Label lblLeft = new Label(grpInsets, SWT.NONE); GridData gdLLeft = new GridData(GridData.VERTICAL_ALIGN_CENTER); gdLLeft.heightHint = 20; lblLeft.setLayoutData(gdLLeft); lblLeft.setText("Left:"); txtLeft = new TextEditorComposite(grpInsets, SWT.BORDER); GridData gdTLeft = new GridData(GridData.FILL_BOTH); gdTLeft.heightHint = 20; gdTLeft.widthHint = 45; txtLeft.setLayoutData(gdTLeft); dblPoints = insets.getLeft(); dblCurrent = serviceprovider.getConvertedValue(dblPoints, "Points", sUnits); txtLeft.setText(new Double(dblCurrent).toString()); txtLeft.addListener(this); Label lblBottom = new Label(grpInsets, SWT.NONE); GridData gdLBottom = new GridData(GridData.VERTICAL_ALIGN_CENTER); gdLBottom.heightHint = 20; lblBottom.setLayoutData(gdLBottom); lblBottom.setText("Bottom:"); txtBottom = new TextEditorComposite(grpInsets, SWT.BORDER); GridData gdTBottom = new GridData(GridData.FILL_BOTH); gdTBottom.heightHint = 20; gdTBottom.widthHint = 45; txtBottom.setLayoutData(gdTBottom); dblPoints = insets.getBottom(); dblCurrent = serviceprovider.getConvertedValue(dblPoints, "Points", sUnits); txtBottom.setText(new Double(dblCurrent).toString()); txtBottom.addListener(this); Label lblRight = new Label(grpInsets, SWT.NONE); GridData gdLRight = new GridData(GridData.VERTICAL_ALIGN_CENTER); gdLRight.heightHint = 20; lblRight.setLayoutData(gdLRight); lblRight.setText("Right:"); txtRight = new TextEditorComposite(grpInsets, SWT.BORDER); GridData gdTRight = new GridData(GridData.FILL_BOTH); gdTRight.heightHint = 20; gdTRight.widthHint = 45; txtRight.setLayoutData(gdTRight); dblPoints = insets.getRight(); dblCurrent = serviceprovider.getConvertedValue(dblPoints, "Points", sUnits); txtRight.setText(new Double(dblCurrent).toString()); txtRight.addListener(this); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/7793e94b4d7fab5891f226c6c937e37d85bebad8/InsetsComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/InsetsComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3166, 7171, 1435, 565, 288, 3639, 14192, 3744, 1183, 6376, 273, 394, 14192, 3744, 5621, 3639, 1183, 6376, 18, 10107, 2686, 273, 374, 31, 3639, 1183, 6376, 18, 10107, 2384, 273, 374, 31, 3639, 7145, 3744, 5118, 1114, 273, 394, 7145, 3744, 5621, 3639, 5118, 1114, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 1114, 18, 17824, 18006, 273, 1381, 31, 3639, 5118, 1114, 18, 10107, 2686, 273, 1059, 31, 3639, 5118, 1114, 18, 10107, 2384, 273, 1059, 31, 3639, 5118, 1114, 18, 2107, 3380, 273, 1059, 31, 3639, 333, 18, 542, 3744, 12, 2242, 6376, 1769, 3639, 14295, 382, 4424, 273, 394, 3756, 12, 2211, 16, 348, 8588, 18, 9826, 1769, 3639, 14295, 382, 4424, 18, 542, 3744, 12, 7043, 1114, 1769, 3639, 14295, 382, 4424, 18, 542, 1528, 2932, 382, 4424, 261, 267, 315, 397, 272, 7537, 397, 7310, 1769, 3639, 5287, 14284, 3401, 273, 394, 5287, 12, 17532, 382, 4424, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 751, 15551, 48, 3401, 273, 394, 7145, 751, 12, 6313, 751, 18, 21654, 10109, 67, 26439, 67, 19835, 1769, 3639, 15551, 48, 3401, 18, 4210, 7002, 273, 4200, 31, 3639, 14284, 3401, 18, 542, 3744, 751, 12, 19016, 48, 3401, 1769, 3639, 14284, 3401, 18, 542, 1528, 12, 5058, 18, 588, 780, 2932, 382, 4424, 9400, 18, 48, 3083, 18, 3401, 7923, 1769, 3639, 6463, 3401, 273, 394, 3867, 6946, 9400, 12, 17532, 382, 4424, 16, 348, 8588, 18, 38, 7954, 1769, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3166, 7171, 1435, 565, 288, 3639, 14192, 3744, 1183, 6376, 273, 394, 14192, 3744, 5621, 3639, 1183, 6376, 18, 10107, 2686, 273, 374, 31, 3639, 1183, 6376, 18, 10107, 2384, 273, 374, 31, 3639, 7145, 3744, 5118, 1114, 273, 394, 7145, 3744, 5621, 3639, 5118, 1114, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 1114, 18, 17824, 18006, 273, 1381, 31, 3639, 5118, 1114, 18, 10107, 2686, 273, 1059, 31, 3639, 5118, 1114, 18, 10107, 2384, 273, 1059, 31, 3639, 5118, 1114, 18, 2107, 3380, 273, 1059, 31, 3639, 333, 18, 542, 3744, 12, 2242, 6376, 1769, 3639, 14295, 382, 4424, 273, 394, 3756, 12, 2211, 16, 348, 8588, 18, 9826, 1769, 3639, 14295, 382, 4424, 2 ]
InlineBox ib = findInlineBox(evt);
Box ib = findBox(evt);
public void mouseEntered( MouseEvent evt ) { InlineBox ib = findInlineBox(evt); restyle(ib); }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/95d146365b773a18a7e529af5965f0a6034c5e7b/HoverListener.java/buggy/src/java/org/xhtmlrenderer/swing/HoverListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7644, 10237, 329, 12, 17013, 1133, 6324, 262, 288, 3639, 8549, 9834, 273, 1104, 3514, 12, 73, 11734, 1769, 3639, 3127, 1362, 12, 495, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7644, 10237, 329, 12, 17013, 1133, 6324, 262, 288, 3639, 8549, 9834, 273, 1104, 3514, 12, 73, 11734, 1769, 3639, 3127, 1362, 12, 495, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case STATE_INSIDE_EXECUTE_REPLACE : current_value.setLength(0); current_state = LDAPTransformer.STATE_INSIDE_PORT_ELEMENT; break; case STATE_INSIDE_EXECUTE_ADD : current_value.setLength(0); current_state = LDAPTransformer.STATE_INSIDE_PORT_ELEMENT; break;
protected void startPortElement(Attributes attributes) { switch (current_state) { case STATE_INSIDE_EXECUTE_QUERY : current_value.setLength(0); current_state = LDAPTransformer.STATE_INSIDE_PORT_ELEMENT; break; case STATE_INSIDE_EXECUTE_INCREMENT : current_value.setLength(0); current_state = LDAPTransformer.STATE_INSIDE_PORT_ELEMENT; break; default : throwIllegalStateException("Not expecting a start port element"); } }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/1581e769a869eecca67fa6eec33b342cac1cf145/LDAPTransformer.java/buggy/src/blocks/naming/java/org/apache/cocoon/transformation/LDAPTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 21726, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 1769, 783, 67, 2019, 273, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 6354, 67, 10976, 31, 898, 31, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 8355, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 1769, 783, 67, 2019, 273, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 6354, 67, 10976, 31, 898, 31, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 21726, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 1769, 783, 67, 2019, 273, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 6354, 67, 10976, 31, 898, 31, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 8355, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 1769, 783, 67, 2019, 273, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 6354, 67, 10976, 31, 898, 31, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 21726, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 1769, 783, 67, 2019, 273, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 6354, 67, 10976, 31, 898, 31, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 8355, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 1769, 783, 67, 2019, 273, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 6354, 67, 10976, 31, 898, 31, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 21726, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 21726, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 1769, 783, 67, 2019, 273, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 6354, 67, 10976, 31, 898, 31, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 8355, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 1769, 783, 67, 2019, 273, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 6354, 67, 10976, 31, 898, 31, 648, 7442, 67, 706, 26498, 67, 15271, 9099, 67, 21726, 294, 783, 67, 1132, 18, 542, 1782, 12, 20, 1769, 783, 67, 2019, 273, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 6354, 67, 10976, 31, 898, 31, 648, 7442, 67, 706, 26498, 2 ]
synchronized (LeaveTunnel.this) { if (_configs.size() <= 0) return; nextTime = (Long)_times.get(0); if (nextTime.longValue() <= now) { cur = (HopConfig)_configs.remove(0); _times.remove(0); if (_times.size() > 0) nextTime = (Long)_times.get(0); else nextTime = null;
while (true) { synchronized (LeaveTunnel.this) { if (_configs.size() <= 0) return; nextTime = (Long)_times.get(0); if (nextTime.longValue() <= now) { cur = (HopConfig)_configs.remove(0); _times.remove(0); if (_times.size() > 0) nextTime = (Long)_times.get(0); else nextTime = null; } else { cur = null; }
public void runJob() { HopConfig cur = null; Long nextTime = null; long now = getContext().clock().now(); synchronized (LeaveTunnel.this) { if (_configs.size() <= 0) return; nextTime = (Long)_times.get(0); if (nextTime.longValue() <= now) { cur = (HopConfig)_configs.remove(0); _times.remove(0); if (_times.size() > 0) nextTime = (Long)_times.get(0); else nextTime = null; } } if (cur != null) remove(cur); if (nextTime != null) { getTiming().setStartAfter(nextTime.longValue()); getContext().jobQueue().addJob(LeaveTunnel.this); } }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/1eebd5463f5a4783008b5ae42ea8091e4d54fe7f/TunnelDispatcher.java/clean/router/java/src/net/i2p/router/tunnel/TunnelDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 2278, 1435, 288, 5411, 670, 556, 809, 662, 273, 446, 31, 5411, 3407, 1024, 950, 273, 446, 31, 5411, 1525, 2037, 273, 6474, 7675, 18517, 7675, 3338, 5621, 5411, 3852, 261, 21300, 20329, 18, 2211, 13, 288, 7734, 309, 261, 67, 10955, 18, 1467, 1435, 1648, 374, 13, 10792, 327, 31, 7734, 1024, 950, 273, 261, 3708, 13, 67, 8293, 18, 588, 12, 20, 1769, 7734, 309, 261, 4285, 950, 18, 5748, 620, 1435, 1648, 2037, 13, 288, 10792, 662, 273, 261, 27461, 809, 13, 67, 10955, 18, 4479, 12, 20, 1769, 10792, 389, 8293, 18, 4479, 12, 20, 1769, 10792, 309, 261, 67, 8293, 18, 1467, 1435, 405, 374, 13, 13491, 1024, 950, 273, 261, 3708, 13, 67, 8293, 18, 588, 12, 20, 1769, 10792, 469, 13491, 1024, 950, 273, 446, 31, 7734, 289, 5411, 289, 13491, 309, 261, 1397, 480, 446, 13, 1171, 1206, 12, 1397, 1769, 13491, 309, 261, 4285, 950, 480, 446, 13, 288, 7734, 3181, 381, 310, 7675, 542, 1685, 4436, 12, 4285, 950, 18, 5748, 620, 10663, 7734, 6474, 7675, 4688, 3183, 7675, 1289, 2278, 12, 21300, 20329, 18, 2211, 1769, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 2278, 1435, 288, 5411, 670, 556, 809, 662, 273, 446, 31, 5411, 3407, 1024, 950, 273, 446, 31, 5411, 1525, 2037, 273, 6474, 7675, 18517, 7675, 3338, 5621, 5411, 3852, 261, 21300, 20329, 18, 2211, 13, 288, 7734, 309, 261, 67, 10955, 18, 1467, 1435, 1648, 374, 13, 10792, 327, 31, 7734, 1024, 950, 273, 261, 3708, 13, 67, 8293, 18, 588, 12, 20, 1769, 7734, 309, 261, 4285, 950, 18, 5748, 620, 1435, 1648, 2037, 13, 288, 10792, 662, 273, 261, 27461, 809, 13, 67, 10955, 18, 4479, 12, 20, 1769, 10792, 389, 8293, 18, 4479, 12, 20, 1769, 10792, 309, 261, 67, 8293, 18, 1467, 1435, 405, 374, 13, 13491, 1024, 950, 273, 2 ]
return false; }
return false; }
public boolean wasNull() throws SQLException { return false; }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/cb88ccf91092199f5dd4fc4fd03d021643a6e0ec/SCR20557.java/clean/testData/refactoring/inheritanceToDelegation/scr20557/after/xxx/SCR20557.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1703, 2041, 1435, 1216, 6483, 288, 1377, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1703, 2041, 1435, 1216, 6483, 288, 1377, 327, 629, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
data[ 1 + offset ];
data[ 1 ];
protected void fillFields(byte [] data, short size, int offset) { field_1_wsbool = data[ 1 + offset ]; // backwards because theoretically this is one short field field_2_wsbool = data[ 0 + offset ]; // but it was easier to implement it this way to avoid confusion } // because the dev kit shows the masks for it as 2 byte fields
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/ada69333b277a95ccfc608144b991cfd8d1a9d37/WSBoolRecord.java/clean/src/java/org/apache/poi/hssf/record/WSBoolRecord.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3636, 2314, 12, 7229, 5378, 501, 16, 3025, 963, 16, 509, 1384, 13, 565, 288, 3639, 652, 67, 21, 67, 4749, 6430, 273, 5411, 501, 63, 404, 308, 31, 282, 368, 12727, 2724, 326, 479, 88, 6478, 333, 353, 1245, 3025, 652, 3639, 652, 67, 22, 67, 4749, 6430, 273, 5411, 501, 63, 374, 397, 1384, 308, 31, 282, 368, 1496, 518, 1703, 15857, 358, 2348, 518, 333, 4031, 358, 4543, 31067, 565, 289, 11794, 368, 2724, 326, 4461, 31758, 17975, 326, 20931, 364, 518, 487, 576, 1160, 1466, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3636, 2314, 12, 7229, 5378, 501, 16, 3025, 963, 16, 509, 1384, 13, 565, 288, 3639, 652, 67, 21, 67, 4749, 6430, 273, 5411, 501, 63, 404, 308, 31, 282, 368, 12727, 2724, 326, 479, 88, 6478, 333, 353, 1245, 3025, 652, 3639, 652, 67, 22, 67, 4749, 6430, 273, 5411, 501, 63, 374, 397, 1384, 308, 31, 282, 368, 1496, 518, 1703, 15857, 358, 2348, 518, 333, 4031, 358, 4543, 31067, 565, 289, 11794, 368, 2724, 326, 4461, 31758, 17975, 326, 20931, 364, 518, 487, 576, 1160, 1466, 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 ]
eNotify(new ENotificationImpl(this, Notification.SET, ComponentPackage.GRID__TICK_STYLE, oldTickStyle, tickStyle, !oldTickStyleESet));
eNotify(new ENotificationImpl(this, Notification.SET, ComponentPackage.GRID__TICK_STYLE, oldTickStyle, tickStyle, !oldTickStyleESet));
public void setTickStyle(TickStyle newTickStyle) { TickStyle oldTickStyle = tickStyle; tickStyle = newTickStyle == null ? TICK_STYLE_EDEFAULT : newTickStyle; boolean oldTickStyleESet = tickStyleESet; tickStyleESet = true; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, ComponentPackage.GRID__TICK_STYLE, oldTickStyle, tickStyle, !oldTickStyleESet)); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/GridImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/GridImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 6264, 2885, 12, 6264, 2885, 394, 6264, 2885, 13, 565, 288, 3639, 13588, 2885, 1592, 6264, 2885, 273, 4024, 2885, 31, 3639, 4024, 2885, 273, 394, 6264, 2885, 422, 446, 692, 399, 16656, 67, 15066, 67, 11236, 294, 394, 6264, 2885, 31, 3639, 1250, 1592, 6264, 2885, 41, 694, 273, 4024, 2885, 41, 694, 31, 3639, 4024, 2885, 41, 694, 273, 638, 31, 3639, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 5435, 2261, 18, 6997, 734, 972, 56, 16656, 67, 15066, 16, 1592, 6264, 2885, 16, 4024, 2885, 16, 401, 1673, 6264, 2885, 41, 694, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 6264, 2885, 12, 6264, 2885, 394, 6264, 2885, 13, 565, 288, 3639, 13588, 2885, 1592, 6264, 2885, 273, 4024, 2885, 31, 3639, 4024, 2885, 273, 394, 6264, 2885, 422, 446, 692, 399, 16656, 67, 15066, 67, 11236, 294, 394, 6264, 2885, 31, 3639, 1250, 1592, 6264, 2885, 41, 694, 273, 4024, 2885, 41, 694, 31, 3639, 4024, 2885, 41, 694, 273, 638, 31, 3639, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 5435, 2261, 18, 6997, 734, 972, 56, 16656, 67, 15066, 16, 1592, 6264, 2885, 16, 4024, 2885, 16, 401, 1673, 6264, 2885, 41, 694, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100 ]
if(plugin instanceof ApplicationContextAware) { ((ApplicationContextAware)plugin).setApplicationContext(applicationContext); } attemptPluginLoad(plugin); }
plugin.setApplicationContext(applicationContext); attemptPluginLoad(plugin); }
private void loadCorePlugin(String pluginClassName) { Class pluginClass = attemptCorePluginClassLoad(pluginClassName); if(pluginClass != null && !Modifier.isAbstract(pluginClass.getModifiers()) && pluginClass != DefaultGrailsPlugin.class) { GrailsPlugin plugin = new DefaultGrailsPlugin(pluginClass, application); if(plugin instanceof ApplicationContextAware) { ((ApplicationContextAware)plugin).setApplicationContext(applicationContext); } attemptPluginLoad(plugin); } }
6460 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6460/9a48c67ca976a6eec32ecffd53cc3161656dc01a/DefaultGrailsPluginManager.java/buggy/src/commons/org/codehaus/groovy/grails/plugins/DefaultGrailsPluginManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1262, 4670, 3773, 12, 780, 1909, 3834, 13, 288, 202, 202, 797, 1909, 797, 273, 4395, 4670, 3773, 797, 2563, 12, 4094, 3834, 1769, 9506, 202, 430, 12, 4094, 797, 480, 446, 597, 401, 9829, 18, 291, 7469, 12, 4094, 797, 18, 588, 11948, 10756, 597, 1909, 797, 480, 2989, 14571, 14573, 3773, 18, 1106, 13, 288, 1082, 202, 14571, 14573, 3773, 1909, 273, 394, 2989, 14571, 14573, 3773, 12, 4094, 797, 16, 2521, 1769, 1082, 202, 430, 12, 4094, 1276, 4257, 1042, 10155, 13, 288, 9506, 202, 12443, 28278, 10155, 13, 4094, 2934, 542, 28278, 12, 3685, 1042, 1769, 1082, 202, 97, 25083, 202, 11764, 3773, 2563, 12, 4094, 1769, 25083, 202, 97, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1262, 4670, 3773, 12, 780, 1909, 3834, 13, 288, 202, 202, 797, 1909, 797, 273, 4395, 4670, 3773, 797, 2563, 12, 4094, 3834, 1769, 9506, 202, 430, 12, 4094, 797, 480, 446, 597, 401, 9829, 18, 291, 7469, 12, 4094, 797, 18, 588, 11948, 10756, 597, 1909, 797, 480, 2989, 14571, 14573, 3773, 18, 1106, 13, 288, 1082, 202, 14571, 14573, 3773, 1909, 273, 394, 2989, 14571, 14573, 3773, 12, 4094, 797, 16, 2521, 1769, 1082, 202, 430, 12, 4094, 1276, 4257, 1042, 10155, 13, 288, 9506, 202, 12443, 28278, 10155, 13, 4094, 2934, 542, 28278, 12, 3685, 1042, 1769, 1082, 202, 97, 25083, 202, 11764, 3773, 2563, 12, 4094, 1769, 25083, 202, 97, 1082, 2 ]
validFilename(name);
validUsername(name);
public CmsUser importUser( CmsDbContext dbc, String id, String name, String password, String description, String firstname, String lastname, String email, String address, int flags, int type, Map additionalInfos) throws CmsException { // no space before or after the name name = name.trim(); // check the username validFilename(name); CmsUser newUser = m_userDriver.importUser( dbc, new CmsUUID(id), name, password, description, firstname, lastname, email, 0, flags, additionalInfos, address, type, null); return newUser; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/7688221cc08dd364d3a5a59fa841dc3ff3d807cb/CmsDriverManager.java/clean/src/org/opencms/db/CmsDriverManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 25492, 1930, 1299, 12, 3639, 30670, 9881, 16, 3639, 514, 612, 16, 3639, 514, 508, 16, 3639, 514, 2201, 16, 3639, 514, 2477, 16, 3639, 514, 1122, 529, 16, 3639, 514, 1142, 529, 16, 3639, 514, 2699, 16, 3639, 514, 1758, 16, 3639, 509, 2943, 16, 3639, 509, 618, 16, 3639, 1635, 3312, 7655, 13, 1216, 11228, 288, 3639, 368, 1158, 3476, 1865, 578, 1839, 326, 508, 3639, 508, 273, 508, 18, 5290, 5621, 3639, 368, 866, 326, 2718, 3639, 923, 8575, 12, 529, 1769, 3639, 25492, 394, 1299, 273, 312, 67, 1355, 4668, 18, 5666, 1299, 12, 5411, 9881, 16, 5411, 394, 15792, 12, 350, 3631, 5411, 508, 16, 5411, 2201, 16, 5411, 2477, 16, 5411, 1122, 529, 16, 5411, 1142, 529, 16, 5411, 2699, 16, 5411, 374, 16, 5411, 2943, 16, 5411, 3312, 7655, 16, 5411, 1758, 16, 5411, 618, 16, 5411, 446, 1769, 3639, 327, 394, 1299, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 25492, 1930, 1299, 12, 3639, 30670, 9881, 16, 3639, 514, 612, 16, 3639, 514, 508, 16, 3639, 514, 2201, 16, 3639, 514, 2477, 16, 3639, 514, 1122, 529, 16, 3639, 514, 1142, 529, 16, 3639, 514, 2699, 16, 3639, 514, 1758, 16, 3639, 509, 2943, 16, 3639, 509, 618, 16, 3639, 1635, 3312, 7655, 13, 1216, 11228, 288, 3639, 368, 1158, 3476, 1865, 578, 1839, 326, 508, 3639, 508, 273, 508, 18, 5290, 5621, 3639, 368, 866, 326, 2718, 3639, 923, 8575, 12, 529, 1769, 3639, 25492, 394, 1299, 273, 312, 67, 1355, 4668, 18, 5666, 1299, 12, 5411, 9881, 16, 5411, 394, 15792, 12, 350, 3631, 5411, 508, 16, 5411, 2201, 16, 5411, 2477, 16, 5411, 2 ]
AST __t502 = _t;
AST __t487 = _t;
public final void definemenustate(AST _t) throws RecognitionException { AST definemenustate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST def = null; AST id = null; AST __t502 = _t; def = _t==ASTNULL ? null :(AST)_t; match(_t,DEFINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: case SHARED: { def_shared(_t); _t = _retTree; break; } case MENU: case PRIVATE: case PUBLIC: case PROTECTED: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVATE: case PUBLIC: case PROTECTED: { def_visib(_t); _t = _retTree; break; } case MENU: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1080_AST_in = (AST)_t; match(_t,MENU); _t = _t.getNextSibling(); id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { push(action.defineSymbol(MENU, def, id)); } { _loop506: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_12.member(_t.getType()))) { menu_opt(_t); _t = _retTree; } else { break _loop506; } } while (true); } { _loop508: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_13.member(_t.getType()))) { menu_list_item(_t); _t = _retTree; } else { break _loop508; } } while (true); } state_end(_t); _t = _retTree; if ( inputState.guessing==0 ) { action.addToSymbolScope(pop()); } _t = __t502; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2217, 351, 275, 641, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2217, 351, 275, 641, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 9506, 202, 9053, 1001, 88, 25, 3103, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 12887, 30, 202, 202, 3593, 9777, 5879, 30, 202, 202, 95, 1082, 202, 536, 67, 11574, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 490, 1157, 57, 30, 202, 202, 3593, 23685, 30, 202, 202, 3593, 17187, 30, 202, 202, 3593, 4629, 26729, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2217, 351, 275, 641, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2217, 351, 275, 641, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 9506, 202, 9053, 1001, 88, 25, 3103, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 2 ]
public String getIconColor() {
public BallColor getIconColor() {
public String getIconColor() { if(isDisabled()) // use grey to indicate that the build is disabled return "grey"; else return super.getIconColor(); }
33012 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/33012/84e0676229b1f5526d4ad0e0107998685f04a0e2/Project.java/buggy/core/src/main/java/hudson/model/Project.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 605, 454, 2957, 21724, 2957, 1435, 288, 3639, 309, 12, 291, 8853, 10756, 5411, 368, 999, 5174, 93, 358, 10768, 716, 326, 1361, 353, 5673, 5411, 327, 315, 11556, 93, 14432, 3639, 469, 5411, 327, 2240, 18, 588, 5554, 2957, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 605, 454, 2957, 21724, 2957, 1435, 288, 3639, 309, 12, 291, 8853, 10756, 5411, 368, 999, 5174, 93, 358, 10768, 716, 326, 1361, 353, 5673, 5411, 327, 315, 11556, 93, 14432, 3639, 469, 5411, 327, 2240, 18, 588, 5554, 2957, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return msilType(t); case ARRAY(_): log("primitiveType: cannot convert " + mtype); return null; default: return mtype;
return msilType(t).asPrimitive(); case NULL: case ARRAY(_): throw Debug.abort("primitiveType: cannot convert " + mtype); default: return mtype;
private MSILType primitiveType(scalac.symtab.Type type) { MSILType mtype = msilType(type); switch (mtype) { case REF(Type t): if (t == tc.SCALA_BYTE) return MSILType.I1; if (t == tc.SCALA_SHORT) return MSILType.I2; if (t == tc.SCALA_INT) return MSILType.I4; if (t == tc.SCALA_LONG) return MSILType.I8; if (t == tc.SCALA_FLOAT) return MSILType.R4; if (t == tc.SCALA_DOUBLE) return MSILType.R8; if (t == tc.SCALA_CHAR) return MSILType.CHAR; if (t == tc.SCALA_UNIT) return MSILType.VOID; if (t == tc.SCALA_BOOLEAN) return MSILType.BOOL; return msilType(t); case ARRAY(_): log("primitiveType: cannot convert " + mtype); return null; default: return mtype; } }
32355 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/32355/d94678566bc4fe5a6a3d7d420665d4734c8556bf/GenMSIL.java/buggy/sources/scalac/backend/msil/GenMSIL.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 490, 2320, 48, 559, 8225, 559, 12, 87, 771, 1077, 18, 9009, 1010, 378, 18, 559, 618, 13, 288, 202, 49, 2320, 48, 559, 22189, 273, 4086, 330, 559, 12, 723, 1769, 202, 9610, 261, 81, 723, 13, 288, 202, 3593, 20557, 12, 559, 268, 4672, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 15377, 13, 565, 327, 490, 2320, 48, 559, 18, 45, 21, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 15993, 13, 282, 327, 490, 2320, 48, 559, 18, 45, 22, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 3217, 13, 377, 327, 490, 2320, 48, 559, 18, 45, 24, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 14639, 13, 565, 327, 490, 2320, 48, 559, 18, 45, 28, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 15640, 13, 282, 327, 490, 2320, 48, 559, 18, 54, 24, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 17088, 13, 225, 327, 490, 2320, 48, 559, 18, 54, 28, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 7305, 13, 565, 327, 490, 2320, 48, 559, 18, 7305, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 15736, 13, 565, 327, 490, 2320, 48, 559, 18, 58, 12945, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 490, 2320, 48, 559, 8225, 559, 12, 87, 771, 1077, 18, 9009, 1010, 378, 18, 559, 618, 13, 288, 202, 49, 2320, 48, 559, 22189, 273, 4086, 330, 559, 12, 723, 1769, 202, 9610, 261, 81, 723, 13, 288, 202, 3593, 20557, 12, 559, 268, 4672, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 15377, 13, 565, 327, 490, 2320, 48, 559, 18, 45, 21, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 15993, 13, 282, 327, 490, 2320, 48, 559, 18, 45, 22, 31, 202, 565, 309, 261, 88, 422, 1715, 18, 2312, 1013, 37, 67, 3217, 13, 377, 327, 490, 2320, 48, 559, 18, 45, 24, 2 ]
throws UserExistsException, TigaseDBException;
throws TigaseDBException;
void updatePassword(String user, String password) throws UserExistsException, TigaseDBException;
51933 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51933/c08839593f0eca356a74f4c86bb05c30c4ad1d38/UserAuthRepository.java/buggy/src/tigase/db/UserAuthRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 1089, 3913, 12, 780, 729, 16, 514, 2201, 13, 202, 202, 15069, 2177, 4002, 503, 16, 399, 360, 448, 2290, 503, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 1089, 3913, 12, 780, 729, 16, 514, 2201, 13, 202, 202, 15069, 2177, 4002, 503, 16, 399, 360, 448, 2290, 503, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
in = new RandomAccessFile(id, "r");
in = new DataInputStream( new BufferedInputStream(new FileInputStream(id), 4096)); fileLength = in.available();
protected void initFile(String id) throws FormatException, IOException { close(); currentId = id; metadata = new Hashtable(); in = new RandomAccessFile(id, "r"); offsets = new Vector(); in.seek(200); // read a block of 8192 characters, looking for the "BigEndian" pattern byte[] buf = new byte[8192]; boolean found = false; while (!found) { if (in.getFilePointer() < in.length()) { in.read(buf, 9, 8183); String test = new String(buf); int ndx = test.indexOf("BigEndian"); if (ndx != -1) { found = true; String endian = test.substring(ndx + 11); if (endian.toLowerCase().startsWith("t")) littleEndian = false; else littleEndian = true; } } else { throw new FormatException("Pixel data not found."); } } //in.seek(200); in.seek(0); // look for the first BinData element found = false; buf = new byte[8192]; in.read(buf, 0, 14); while (!found) { if (in.getFilePointer() < in.length()) { int numRead = in.read(buf, 14, 8192-14); String test = new String(buf); int ndx = test.indexOf("<Bin"); if (ndx == -1) throw new FormatException("Pixel data not found"); while (!((ndx != -1) && (ndx != test.indexOf("<Bin:External")))) { ndx = test.indexOf("<Bin", ndx+1); } found = true; numRead += 14; offsets.add(new Integer((int) in.getFilePointer() - (numRead - ndx))); } else { throw new FormatException("Pixel data not found"); } } in.seek(0); buf = new byte[((Integer) offsets.get(0)).intValue()]; in.read(buf); String xml = new String(buf); xml += "</Pixels></Image></OME>"; // might lose some data this way ome = OMETools.createRoot(xml); int sizeX = 0; int sizeY = 0; int sizeZ = 0; int sizeC = 0; int sizeT = 0; if (ome == null) { throw new FormatException("To use this feature, please install the " + "org.openmicroscopy.xml package, available from " + "http://www.openmicroscopy.org/"); } String type = OMETools.getPixelType(ome); if (type.endsWith("16")) bpp = 2; else if (type.endsWith("32")) bpp = 4; else if (type.equals("float")) bpp = 8; sizeX = OMETools.getSizeX(ome).intValue(); sizeY = OMETools.getSizeY(ome).intValue(); sizeZ = OMETools.getSizeZ(ome).intValue(); sizeC = OMETools.getSizeC(ome).intValue(); sizeT = OMETools.getSizeT(ome).intValue(); // calculate the number of raw bytes of pixel data that we are expecting int expected = sizeX * sizeY * bpp; // find the compression type and adjust 'expected' accordingly in.seek(((Integer) offsets.get(0)).intValue()); buf = new byte[256]; in.read(buf); String data = new String(buf); int compressionStart = data.indexOf("Compression") + 13; int compressionEnd = data.indexOf("\"", compressionStart); if (compressionStart != -1 && compressionEnd != -1) { compression = data.substring(compressionStart, compressionEnd); } else compression = "none"; expected /= 2; searchForData(expected); numImages = offsets.size(); if (numImages < (sizeZ * sizeT * sizeC)) { searchForData(0); // hope this doesn't happen too often numImages = offsets.size(); } }
49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/91859a26506b8a1d312b398da2c3ecd94e02fa60/OMEXMLReader.java/clean/loci/formats/OMEXMLReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 1746, 5621, 565, 783, 548, 273, 612, 31, 565, 1982, 273, 394, 18559, 5621, 565, 316, 273, 394, 29382, 12, 394, 24742, 12, 2704, 11907, 12, 350, 3631, 16797, 10019, 585, 1782, 273, 316, 18, 5699, 5621, 565, 8738, 273, 394, 5589, 5621, 565, 316, 18, 16508, 12, 6976, 1769, 565, 368, 855, 279, 1203, 434, 26730, 3949, 16, 7849, 364, 326, 315, 9901, 7583, 6, 1936, 565, 1160, 8526, 1681, 273, 394, 1160, 63, 28, 15561, 15533, 565, 1250, 1392, 273, 629, 31, 565, 1323, 16051, 7015, 13, 288, 1377, 309, 261, 267, 18, 29925, 4926, 1435, 411, 316, 18, 2469, 10756, 288, 3639, 316, 18, 896, 12, 4385, 16, 2468, 16, 1725, 31672, 1769, 3639, 514, 1842, 273, 394, 514, 12, 4385, 1769, 3639, 509, 5346, 92, 273, 1842, 18, 31806, 2932, 9901, 7583, 8863, 3639, 309, 261, 4880, 92, 480, 300, 21, 13, 288, 1850, 1392, 273, 638, 31, 1850, 514, 14759, 273, 1842, 18, 28023, 12, 4880, 92, 397, 4648, 1769, 1850, 309, 261, 22910, 18, 869, 5630, 7675, 17514, 1190, 2932, 88, 6, 3719, 328, 10609, 273, 629, 31, 1850, 469, 328, 10609, 273, 638, 31, 3639, 289, 1377, 289, 1377, 469, 288, 3639, 604, 394, 4077, 503, 2932, 9037, 501, 486, 1392, 1199, 1769, 1377, 289, 565, 289, 565, 368, 267, 18, 16508, 12, 6976, 1769, 565, 316, 18, 16508, 12, 20, 1769, 565, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 1746, 5621, 565, 783, 548, 273, 612, 31, 565, 1982, 273, 394, 18559, 5621, 565, 316, 273, 394, 29382, 12, 394, 24742, 12, 2704, 11907, 12, 350, 3631, 16797, 10019, 585, 1782, 273, 316, 18, 5699, 5621, 565, 8738, 273, 394, 5589, 5621, 565, 316, 18, 16508, 12, 6976, 1769, 565, 368, 855, 279, 1203, 434, 26730, 3949, 16, 7849, 364, 326, 315, 9901, 7583, 6, 1936, 565, 1160, 8526, 1681, 273, 394, 1160, 63, 28, 15561, 15533, 565, 1250, 1392, 273, 629, 31, 565, 1323, 16051, 7015, 13, 288, 1377, 309, 261, 267, 18, 29925, 4926, 1435, 411, 316, 18, 2469, 10756, 2 ]
else if ( source == getlatestButton() )
} else if ( source == getlatestButton() ) {
public void actionPerformed(ActionEvent event) { String command = event.getActionCommand(); Object source = event.getSource(); Debug.out("CB:aP command " + command); if ( !(source instanceof JButton || source instanceof JCheckBox) ) { OutputHandler.out("CB:aP Error: unknown bean source: " + source); return; } if (command.equals ("Zoom In")) { gc.zoomIn (); return; } if (command.equals ("Zoom Out")) { gc.zoomOut (); return; } try { if ( source == getplusButton() ) gc.setVisibleAmount(gc.getVisibleAmount() + 1); else if ( source == getminusButton() ) gc.setVisibleAmount(gc.getVisibleAmount() - 1); else if ( source == getplusFiveButton() ) gc.setVisibleAmount(gc.getVisibleAmount() + 5); else if ( source == getminusFiveButton() ) gc.setVisibleAmount(gc.getVisibleAmount() - 5); else if ( source == getfitToViewButton() ) gc.fitToView(); else if ( source == getearliestButton() ) gc.setVirtualXLocation(taskModel.getMinTaskStart() - TaskGanttChart.DAYLEN); else if ( source == getlatestButton() ) gc.setVirtualXLocation(taskModel.getMaxTaskEnd() - gc.getVirtualXSize() + TaskGanttChart.DAYLEN); else if ( source == getshowPrefs() ) gc.getLozengePanel().setLayerActive(0, getshowPrefs().isSelected()); else OutputHandler.out("CB:aP Error: unknown JButton source: " + source); } catch ( Exception e ) { OutputHandler.out(ExceptionTools.toString("CQ:aP", e)); } catch ( Error e ) { OutputHandler.out(ExceptionTools.toString("CQ:aP", e)); } }
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/5deff89a0be0904aa602d8d38154596a7aeb1360/ControlBar.java/buggy/datagrabber/src/org/cougaar/mlm/ui/newtpfdd/gui/view/ControlBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 871, 13, 565, 288, 202, 780, 1296, 273, 871, 18, 588, 1803, 2189, 5621, 202, 921, 1084, 273, 871, 18, 588, 1830, 5621, 202, 202, 2829, 18, 659, 2932, 8876, 30, 69, 52, 1296, 315, 397, 1296, 1769, 202, 430, 261, 401, 12, 3168, 1276, 28804, 747, 1084, 1276, 804, 19174, 13, 262, 288, 202, 565, 3633, 1503, 18, 659, 2932, 8876, 30, 69, 52, 1068, 30, 5917, 3931, 1084, 30, 315, 397, 1084, 1769, 202, 565, 327, 31, 202, 97, 202, 225, 309, 261, 3076, 18, 14963, 7566, 11497, 657, 6, 3719, 288, 202, 202, 13241, 18, 14932, 382, 261, 1769, 202, 202, 2463, 31, 202, 225, 289, 202, 225, 309, 261, 3076, 18, 14963, 7566, 11497, 2976, 6, 3719, 288, 202, 202, 13241, 18, 14932, 1182, 261, 1769, 202, 202, 2463, 31, 202, 225, 289, 202, 698, 288, 202, 565, 309, 261, 1084, 422, 336, 10103, 3616, 1435, 262, 202, 202, 13241, 18, 542, 6207, 6275, 12, 13241, 18, 588, 6207, 6275, 1435, 397, 404, 1769, 202, 565, 469, 309, 261, 1084, 422, 336, 19601, 3616, 1435, 262, 202, 202, 13241, 18, 542, 6207, 6275, 12, 13241, 18, 588, 6207, 6275, 1435, 300, 404, 1769, 202, 565, 469, 309, 261, 1084, 422, 336, 10103, 42, 688, 3616, 1435, 262, 202, 202, 13241, 18, 542, 6207, 6275, 12, 13241, 18, 588, 6207, 6275, 1435, 397, 1381, 1769, 202, 565, 469, 309, 261, 1084, 422, 336, 19601, 42, 688, 3616, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 871, 13, 565, 288, 202, 780, 1296, 273, 871, 18, 588, 1803, 2189, 5621, 202, 921, 1084, 273, 871, 18, 588, 1830, 5621, 202, 202, 2829, 18, 659, 2932, 8876, 30, 69, 52, 1296, 315, 397, 1296, 1769, 202, 430, 261, 401, 12, 3168, 1276, 28804, 747, 1084, 1276, 804, 19174, 13, 262, 288, 202, 565, 3633, 1503, 18, 659, 2932, 8876, 30, 69, 52, 1068, 30, 5917, 3931, 1084, 30, 315, 397, 1084, 1769, 202, 565, 327, 31, 202, 97, 202, 225, 309, 261, 3076, 18, 14963, 7566, 11497, 657, 6, 3719, 288, 202, 202, 13241, 18, 14932, 382, 261, 1769, 202, 202, 2463, 31, 202, 225, 289, 202, 225, 309, 2 ]
consumeOutbound(peer, numBytes);
consumeOutbound(peer, numBytes, pulled);
public void delayOutbound(RouterIdentity peer, int numBytes) { long delay = 0; while ( (delay = calculateDelayOutbound(peer, numBytes)) > 0) { try { synchronized (_outboundWaitLock) { _outboundWaitLock.wait(delay); } } catch (InterruptedException ie) {} } synchronized (_outboundWaitLock) { _outboundWaitLock.notify(); } consumeOutbound(peer, numBytes); }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/d5bd22040c09a743598dafdbdf9ebc40339e7db1/TrivialBandwidthLimiter.java/buggy/router/java/src/net/i2p/router/transport/TrivialBandwidthLimiter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4624, 17873, 12, 8259, 4334, 4261, 16, 509, 18633, 13, 288, 3639, 1525, 4624, 273, 374, 31, 3639, 1323, 261, 261, 10790, 273, 4604, 6763, 17873, 12, 12210, 16, 18633, 3719, 405, 374, 13, 288, 5411, 775, 288, 7734, 3852, 261, 67, 659, 3653, 5480, 2531, 13, 288, 10792, 389, 659, 3653, 5480, 2531, 18, 7048, 12, 10790, 1769, 7734, 289, 5411, 289, 1044, 261, 24485, 503, 9228, 13, 2618, 3639, 289, 3639, 3852, 261, 67, 659, 3653, 5480, 2531, 13, 288, 389, 659, 3653, 5480, 2531, 18, 12336, 5621, 289, 3639, 7865, 17873, 12, 12210, 16, 18633, 16, 30741, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4624, 17873, 12, 8259, 4334, 4261, 16, 509, 18633, 13, 288, 3639, 1525, 4624, 273, 374, 31, 3639, 1323, 261, 261, 10790, 273, 4604, 6763, 17873, 12, 12210, 16, 18633, 3719, 405, 374, 13, 288, 5411, 775, 288, 7734, 3852, 261, 67, 659, 3653, 5480, 2531, 13, 288, 10792, 389, 659, 3653, 5480, 2531, 18, 7048, 12, 10790, 1769, 7734, 289, 5411, 289, 1044, 261, 24485, 503, 9228, 13, 2618, 3639, 289, 3639, 3852, 261, 67, 659, 3653, 5480, 2531, 13, 288, 389, 659, 3653, 5480, 2531, 18, 12336, 5621, 289, 3639, 7865, 17873, 12, 12210, 16, 18633, 16, 30741, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot);
stack[VAR_SHFT + indexReg] = DBL_MRK; sDbl[VAR_SHFT + indexReg] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, indexReg);
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; int pc = 0; int pcPrevBranch = 0; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; String[] strings = idata.itsStringTable; String stringReg = null; int indexReg = 0; Loop: for (;;) { int pcJump; try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); pcJump = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcJump >= 0) { // Has catch block doCatch = true; } } if (pcJump < 0) { pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcJump < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // go to generic jump code break; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); throw new JavaScriptException(value, idata.itsSourceFile, sourceLine); } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } stack[stackTop] = null; --stackTop; pcJump = getTarget(iCode, pc); break; } case Token.GOTO : pcJump = getTarget(iCode, pc); break; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; pcJump = getTarget(iCode, pc); break; case Icode_RETSUB : { // indexReg: local to store return address Object value = stack[LOCAL_SHFT + indexReg]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; pcJump = getJavaCatchPC(iCode); } else { // Normal return from GOSUB pcJump = (int)sDbl[LOCAL_SHFT + indexReg]; } break; } case Token.POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; continue Loop; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; continue Loop; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; continue Loop; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; continue Loop; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; continue Loop; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; continue Loop; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; continue Loop; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; continue Loop; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; continue Loop; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; continue Loop; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); continue Loop; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; continue Loop; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; continue Loop; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; continue Loop; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; continue Loop; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; continue Loop; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; continue Loop; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; continue Loop; } case Icode_REG_STR1: stringReg = strings[0xFF & iCode[pc]]; ++pc; continue Loop; case Icode_REG_STR2: stringReg = strings[getIndex(iCode, pc)]; pc += 2; continue Loop; case Icode_REG_STR4: stringReg = strings[getInt(iCode, pc)]; pc += 4; continue Loop; case Icode_REG_IND1: indexReg = 0xFF & iCode[pc]; ++pc; continue Loop; case Icode_REG_IND2: indexReg = getIndex(iCode, pc); pc += 2; continue Loop; case Icode_REG_IND4: indexReg = getInt(iCode, pc); pc += 4; continue Loop; case Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, stringReg); continue Loop; case Token.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, stringReg); continue Loop; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); continue Loop; } case Token.GETPROP : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, stringReg, scope); continue Loop; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, stringReg, rhs, scope); continue Loop; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; continue Loop; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; continue Loop; case Icode_PROPINC : case Icode_PROPDEC : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, stringReg, scope, op == Icode_PROPINC); continue Loop; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); continue Loop; } case Token.LOCAL_SAVE : stack[LOCAL_SHFT + indexReg] = stack[stackTop]; sDbl[LOCAL_SHFT + indexReg] = sDbl[stackTop]; --stackTop; continue Loop; case Token.LOCAL_LOAD : ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + indexReg]; sDbl[stackTop] = sDbl[LOCAL_SHFT + indexReg]; continue Loop; case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } // indexReg: number of arguments int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); stackTop -= indexReg; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, indexReg); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 4; continue Loop; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, indexReg, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; continue Loop; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, indexReg, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; continue Loop; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); continue Loop; } case Icode_TYPEOFNAME : stack[++stackTop] = ScriptRuntime.typeofName(scope, stringReg); continue Loop; case Icode_NAME_FAST_THIS : case Icode_NAME_SLOW_THIS : stackTop = do_nameAndThis(stack, stackTop, scope, stringReg, op); continue Loop; case Token.STRING : stack[++stackTop] = stringReg; continue Loop; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; continue Loop; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; continue Loop; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[indexReg]; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(scope, stringReg); continue Loop; case Icode_NAMEINC : case Icode_NAMEDEC : stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, stringReg, op == Icode_NAMEINC); continue Loop; case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; continue Loop; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; continue Loop; case Token.NULL : stack[++stackTop] = null; continue Loop; case Token.THIS : stack[++stackTop] = thisObj; continue Loop; case Token.THISFN : stack[++stackTop] = fnOrScript; continue Loop; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; continue Loop; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; continue Loop; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; continue Loop; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; continue Loop; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; continue Loop; case Token.CATCH_SCOPE : stack[stackTop] = ScriptRuntime.newCatchScope(stringReg, stack[stackTop]); continue Loop; case Token.ENUM_INIT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + indexReg] = ScriptRuntime.enumInit(lhs, scope); continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { Object val = stack[LOCAL_SHFT + indexReg]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); continue Loop; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); continue Loop; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SCOPE : stack[++stackTop] = scope; continue Loop; case Icode_CLOSURE : { InterpreterData closureData = idata.itsNestedFunctions[indexReg]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); continue Loop; } case Token.REGEXP : { Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[indexReg]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[indexReg]; } stack[++stackTop] = regexp; continue Loop; } case Icode_LITERAL_NEW : // indexReg: number of values in the literal ++stackTop; stack[stackTop] = new Object[indexReg]; sDbl[stackTop] = 0; continue Loop; case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; continue Loop; } case Token.ARRAYLIT : case Icode_SPARE_ARRAYLIT : case Token.OBJECTLIT : { Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.OBJECTLIT) { Object[] ids = (Object[])idata.literalIds[indexReg]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } else { int[] skipIndexces = null; if (op == Icode_SPARE_ARRAYLIT) { skipIndexces = (int[])idata.literalIds[indexReg]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } stack[stackTop] = val; continue Loop; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; continue Loop; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } } // end of interpreter switch // This should be reachable only for jump implementation if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } pcPrevBranch = pcJump; } pc = pcJump; continue Loop; } // end of interpreter try catch (Throwable ex) { pcJump = getJavaCatchPC(iCode); if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } pcPrevBranch = pcJump; } javaException = ex; exceptionPC = pc - 1; pc = pcJump; continue Loop; } } // end of interpreter loop cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/7e1c77a9563bd356075d835a14a6970423738cc4/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 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, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
if (genericSetMethod != null) { Object[] arguments = { property, newValue }; doMethodInvoke(object, genericSetMethod, arguments); return;
catch (GroovyRuntimeException e) { throw new MissingPropertyException(property, theClass, e);
public void setProperty(Object object, String property, Object newValue) { checkInitialised(); PropertyDescriptor descriptor = (PropertyDescriptor) propertyDescriptors.get(property); if (descriptor != null) { Method method = descriptor.getWriteMethod(); if (method == null) { throw new GroovyRuntimeException("Cannot set read-only property: " + property); } MetaMethod metaMethod = findMethod(method); Object[] arguments = { newValue }; try { doMethodInvoke(object, metaMethod, arguments); } catch (GroovyRuntimeException e) { // if the value is a List see if we can construct the value // from a constructor if (newValue instanceof List) { List list = (List) newValue; int params = list.size(); Constructor[] constructors = descriptor.getPropertyType().getConstructors(); for (int i = 0; i < constructors.length; i++) { Constructor constructor = constructors[i]; if (constructor.getParameterTypes().length == params) { Object value = doConstructorInvoke(constructor, list.toArray()); doMethodInvoke(object, metaMethod, new Object[] { value }); return; } } } throw e; } return; } MetaMethod addListenerMethod = (MetaMethod) listeners.get(property); if (addListenerMethod != null && newValue instanceof Closure) { // lets create a dynamic proxy Object proxy = createListenerProxy(addListenerMethod.getParameterTypes()[0], property, (Closure) newValue); doMethodInvoke(object, addListenerMethod, new Object[] { proxy }); return; } if (genericSetMethod != null) { Object[] arguments = { property, newValue }; doMethodInvoke(object, genericSetMethod, arguments); return; } /** @todo or are we an extensible class? */ // lets try invoke the set method String method = "set" + capitalize(property); invokeMethod(object, method, new Object[] { newValue }); }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/13e64635c0289a6065dbe6e370eca33e7f23bee3/MetaClass.java/clean/src/main/groovy/lang/MetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7486, 12, 921, 733, 16, 514, 1272, 16, 1033, 6129, 13, 288, 3639, 866, 4435, 5918, 5621, 3639, 26761, 4950, 273, 261, 1396, 3187, 13, 1272, 12705, 18, 588, 12, 4468, 1769, 3639, 309, 261, 12628, 480, 446, 13, 288, 5411, 2985, 707, 273, 4950, 18, 588, 3067, 1305, 5621, 5411, 309, 261, 2039, 422, 446, 13, 288, 7734, 604, 394, 20841, 11949, 2932, 4515, 444, 855, 17, 3700, 1272, 30, 315, 397, 1272, 1769, 5411, 289, 5411, 6565, 1305, 2191, 1305, 273, 1104, 1305, 12, 2039, 1769, 5411, 1033, 8526, 1775, 273, 288, 6129, 289, 31, 5411, 775, 288, 7734, 741, 1305, 10969, 12, 1612, 16, 2191, 1305, 16, 1775, 1769, 5411, 289, 5411, 1044, 261, 43, 12859, 11949, 425, 13, 288, 7734, 368, 309, 326, 460, 353, 279, 987, 2621, 309, 732, 848, 4872, 326, 460, 7734, 368, 628, 279, 3885, 7734, 309, 261, 2704, 620, 1276, 987, 13, 288, 10792, 987, 666, 273, 261, 682, 13, 6129, 31, 10792, 509, 859, 273, 666, 18, 1467, 5621, 10792, 11417, 8526, 19874, 273, 4950, 18, 588, 22802, 7675, 588, 29590, 5621, 10792, 364, 261, 474, 277, 273, 374, 31, 277, 411, 19874, 18, 2469, 31, 277, 27245, 288, 13491, 11417, 3885, 273, 19874, 63, 77, 15533, 13491, 309, 261, 12316, 18, 588, 1662, 2016, 7675, 2469, 422, 859, 13, 288, 18701, 1033, 460, 273, 741, 6293, 10969, 12, 12316, 16, 666, 18, 31447, 10663, 18701, 741, 1305, 10969, 12, 1612, 16, 2191, 1305, 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, 7486, 12, 921, 733, 16, 514, 1272, 16, 1033, 6129, 13, 288, 3639, 866, 4435, 5918, 5621, 3639, 26761, 4950, 273, 261, 1396, 3187, 13, 1272, 12705, 18, 588, 12, 4468, 1769, 3639, 309, 261, 12628, 480, 446, 13, 288, 5411, 2985, 707, 273, 4950, 18, 588, 3067, 1305, 5621, 5411, 309, 261, 2039, 422, 446, 13, 288, 7734, 604, 394, 20841, 11949, 2932, 4515, 444, 855, 17, 3700, 1272, 30, 315, 397, 1272, 1769, 5411, 289, 5411, 6565, 1305, 2191, 1305, 273, 1104, 1305, 12, 2039, 1769, 5411, 1033, 8526, 1775, 273, 288, 6129, 289, 31, 5411, 775, 288, 7734, 741, 1305, 10969, 12, 1612, 16, 2191, 1305, 16, 1775, 1769, 5411, 289, 5411, 1044, 2 ]
public void setUp() { logger = new org.openscience.cdk.tools.LoggingTool(this.getClass().getName());
public void setUp() { logger = new LoggingTool(this);
public void setUp() { logger = new org.openscience.cdk.tools.LoggingTool(this.getClass().getName()); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/f04e4953dbf91a77eeed2a674250bb80a598a22e/RingSearchTest.java/clean/src/org/openscience/cdk/test/ringsearch/RingSearchTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 24292, 1435, 202, 95, 202, 202, 4901, 273, 394, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 6642, 18, 7735, 6364, 12, 2211, 18, 588, 797, 7675, 17994, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 24292, 1435, 202, 95, 202, 202, 4901, 273, 394, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 6642, 18, 7735, 6364, 12, 2211, 18, 588, 797, 7675, 17994, 10663, 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 ]
0, 0, 107, 0, 48, 49, 50, 0, 615, 0,
0, 0, 107, 0, 48, 49, 50, 0, 804, 0,
private static final short[] yyTable4() { return new short[] { 54, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 56, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 47, 39, 40, 41, 42, 41, 0, 43, 44, 45, 0, 0, 0, 0, 0, 41, 0, 47, 47, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 52, 0, 0, 0, 41, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 0, 0, 0, 0, 41, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 54, 54, 0, 0, 54, 54, 54, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 54, 41, 0, 0, 0, 0, 0, 0, 54, 54, 0, 54, 54, 54, 54, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 56, 56, 0, 0, 56, 56, 56, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 56, 0, 0, 0, 0, 0, 0, 0, 56, 56, 0, 56, 56, 56, 56, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 47, 47, 0, 0, 47, 47, 47, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 47, 47, 0, 47, 47, 47, 47, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 41, 41, 0, 0, 41, 41, 41, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 41, 41, 41, 41, 3, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 3, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 263, 0, 48, 49, 50, 0, 51, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 619, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 231, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 414, 49, 50, 0, 231, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 611, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 615, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 611, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 804, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 808, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 812, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 867, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 869, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 881, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 251, 251, 251, 0, 251, 0, 0, 0, 251, 251, 0, 0, 0, 251, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 0, 251, 251, 251, 0, 251, 0, 251, 0, 251, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 268, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 526, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 526, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 593, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 643, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 769, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 798, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 483, 483, 483, 0, 483, 0, 0, 0, 483, 483, 0, 0, 0, 483, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 483, 483, 483, 0, 483, 483, 483, 483, 0, 0, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 483, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 483, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 213, 213, 213, 0, 213, 0, 0, 0, 213, 213, 0, 0, 0, 213, 0, 213, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 213, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 213, 0, 0, 213, 213, 213, 213, 213, 213, 213, 213, 0, 213, 213, 213, 213, 0, 0, 213, 213, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 213, 0, 0, 213, 0, 213, 213, 213, 0, 0, 0, 0, 0, 213, 0, 0, 0, 0, 0, 0, 0, 213, 0, 0, 213, 213, 213, 213, 213, 213, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 753, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 102, 34, 35, 36, 103, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105, 0, 0, 106, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 349, 0, 48, 49, 50, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 102, 34, 35, 36, 103, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 787, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 251, 0, 199, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 200, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 200, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 35, 36, 159, 38, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 174, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 286, 287, 199, 288, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, }; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 24, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 22431, 16, 282, 5342, 16, 282, 4200, 16, 282, 9035, 16, 282, 11201, 16, 282, 10213, 16, 282, 4248, 16, 282, 6969, 16, 565, 374, 16, 565, 374, 16, 5411, 10659, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 13850, 16, 282, 12732, 16, 282, 9131, 16, 282, 12899, 16, 282, 5196, 16, 5411, 8231, 16, 282, 3847, 16, 282, 13159, 16, 282, 13438, 16, 282, 13191, 16, 282, 6580, 16, 282, 18091, 16, 282, 18012, 16, 282, 17495, 16, 282, 16977, 16, 5411, 8063, 16, 282, 20170, 16, 282, 14856, 16, 282, 20170, 16, 565, 374, 16, 282, 21193, 16, 282, 13291, 16, 282, 12292, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 282, 20170, 16, 565, 374, 16, 282, 17495, 16, 282, 17495, 16, 282, 13850, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 17077, 16, 565, 374, 16, 565, 374, 16, 5411, 17495, 16, 565, 374, 16, 282, 9934, 16, 282, 17160, 16, 282, 6437, 16, 565, 374, 16, 282, 21119, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 5411, 18106, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 20170, 16, 565, 374, 16, 565, 374, 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, 760, 727, 3025, 8526, 9016, 1388, 24, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 22431, 16, 282, 5342, 16, 282, 4200, 16, 282, 9035, 16, 282, 11201, 16, 282, 10213, 16, 282, 4248, 16, 282, 6969, 16, 565, 374, 16, 565, 374, 16, 5411, 10659, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 13850, 16, 282, 12732, 16, 282, 9131, 16, 282, 12899, 16, 282, 5196, 16, 5411, 8231, 16, 282, 3847, 16, 282, 13159, 16, 282, 13438, 16, 282, 13191, 16, 282, 6580, 16, 282, 18091, 16, 282, 18012, 16, 282, 17495, 16, 282, 16977, 16, 5411, 8063, 16, 282, 20170, 16, 282, 14856, 16, 282, 20170, 16, 2 ]
int type = T109; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match("finally");
try { int type = T109; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match("finally");
public void mT109() throws RecognitionException { int type = T109; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:50:8: ( 'finally' ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:50:8: 'finally' { match("finally"); } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21115, 22267, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 399, 22267, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621, 3639, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 3639, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 3361, 30, 28, 30, 261, 296, 23417, 11, 262, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 3361, 30, 28, 30, 296, 23417, 11, 3639, 288, 3639, 845, 2932, 23417, 8863, 3639, 289, 3639, 309, 261, 1147, 631, 2011, 262, 288, 18356, 12, 723, 16, 1369, 16, 3001, 2555, 16, 4327, 16, 1937, 16, 588, 2156, 1016, 1435, 17, 21, 1769, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21115, 22267, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 399, 22267, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621, 3639, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 3639, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 5852, 2678, 18, 31731, 18, 75, 30, 3361, 30, 28, 30, 261, 296, 23417, 11, 262, 3639, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 2 ]