rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
} if ((letterSpacing instanceof Float) && (!letterSpacing.isNaN())) {
} if ((letterSpacing instanceof Float) && (!letterSpacing.isNaN())) {
protected Point2D doSpacing(Float kern, Float letterSpacing, Float wordSpacing) { boolean autoKern = true; boolean doWordSpacing = false; boolean doLetterSpacing = false; float kernVal = 0f; float letterSpacingVal = 0f; float wordSpacingVal = 0f; if ((kern instanceof Float) && (!kern.isNaN())) { kernVal = kern.floatValue(); autoKern = false; //System.out.println("KERNING: "+kernVal); } if ((letterSpacing instanceof Float) && (!letterSpacing.isNaN())) { letterSpacingVal = letterSpacing.floatValue(); doLetterSpacing = true; //System.out.println("LETTER-SPACING: "+letterSpacingVal); } if ((wordSpacing instanceof Float) && (!wordSpacing.isNaN())) { wordSpacingVal = wordSpacing.floatValue(); doWordSpacing = true; //System.out.println("WORD_SPACING: "+wordSpacingVal); } int numGlyphs = gv.getNumGlyphs(); float dx = 0f; float dy = 0f; Point2D newPositions[] = new Point2D[numGlyphs]; Point2D prevPos = glyphPositions[0]; float x = (float) prevPos.getX(); float y = (float) prevPos.getY(); try { if ((numGlyphs > 1) && (doWordSpacing || doLetterSpacing || !autoKern)) { for (int i=1; i<numGlyphs; ++i) { Point2D gpos = glyphPositions[i]; dx = (float)gpos.getX()-(float)prevPos.getX(); dy = (float)gpos.getY()-(float)prevPos.getY(); boolean inWS = false; // while this is whitespace, increment int beginWS = i; int endWS = i; GlyphMetrics gm = gv.getGlyphMetrics(i); // BUG: gm.isWhitespace() fails for latin SPACE glyph! while ((gm.getBounds2D().getWidth()<0.01d) || gm.isWhitespace()) { ++i; ++endWS; if (!inWS) inWS = true; if (i>=numGlyphs) { inWS = false; break; } gpos = glyphPositions[i]; gm = gv.getGlyphMetrics(i); } // then apply wordSpacing if ( inWS ) { if (doWordSpacing) { int nWS = endWS-beginWS; float px = (float) prevPos.getX(); float py = (float) prevPos.getY(); dx = (float) (gpos.getX() - px)/nWS; dy = (float) (gpos.getY() - py)/nWS; if (isVertical()) { dy = (float) (wordSpacing.floatValue()+ gv.getGlyphMetrics(beginWS-1). getBounds2D().getHeight())/nWS; } else { dx = (float) (wordSpacing.floatValue()+ gv.getGlyphMetrics(beginWS-1). getBounds2D().getWidth())/nWS; } for (int j=beginWS; j<=endWS; ++j) { x += dx; y += dy; newPositions[j] = new Point2D.Float(x, y); } } } else { dx = (float) (gpos.getX()-prevPos.getX()); dy = (float) (gpos.getY()-prevPos.getY()); if (autoKern) { if (isVertical()) dy += letterSpacingVal; else dx += letterSpacingVal; } else { // apply explicit kerning adjustments, // discarding any auto-kern dx values if (isVertical()) { dy = (float) gv.getGlyphMetrics(i-1).getBounds2D().getWidth()+ kernVal + letterSpacingVal; } else { dx = (float) gv.getGlyphMetrics(i-1).getBounds2D().getWidth()+ kernVal + letterSpacingVal; } } x += dx; y += dy; newPositions[i] = new Point2D.Float(x, y); } prevPos = gpos; } for (int i=1; i<numGlyphs; ++i) { // assign the new positions glyphPositions[i] = newPositions[i]; gv.setGlyphPosition(i, glyphPositions[i]); } } if (isVertical()) { dx = 0f; dy = (float) gv.getGlyphMetrics(numGlyphs-1).getBounds2D().getHeight()+ kernVal+letterSpacingVal; } else { dx = (float) gv.getGlyphMetrics(numGlyphs-1).getBounds2D().getWidth()+ kernVal+letterSpacingVal; dy = 0f; } } catch (Exception e) { e.printStackTrace(); } //Point2D newAdvance = new Point2D.Float((float) prevPos.getX()+dx, // (float) prevPos.getY()+dy); Point2D newAdvance = advance; gv.setGlyphPosition(numGlyphs, newAdvance); return newAdvance; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/d864a7831760c16be2dce5726c3e6b15bbbba80a/GlyphLayout.java/clean/sources/org/apache/batik/gvt/text/GlyphLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4686, 22, 40, 741, 18006, 12, 4723, 24579, 16, 1875, 2398, 5450, 9471, 18006, 16, 17311, 5450, 2076, 18006, 13, 288, 202, 6494, 3656, 47, 8865, 273, 638, 31, 202, 6494, 741, 3944, 18006, 273, 629, 31, 202, 6494, 741, 13938, 18006, 273, 629, 31, 3639, 1431, 24579, 3053, 273, 374, 74, 31, 202, 5659, 9471, 18006, 3053, 273, 374, 74, 31, 3639, 1431, 2076, 18006, 3053, 273, 374, 74, 31, 202, 430, 14015, 79, 8865, 1276, 5450, 13, 597, 16051, 79, 8865, 18, 291, 21172, 1435, 3719, 288, 5411, 24579, 3053, 273, 24579, 18, 5659, 620, 5621, 202, 565, 3656, 47, 8865, 273, 629, 31, 5411, 368, 3163, 18, 659, 18, 8222, 2932, 27221, 15870, 30, 13773, 79, 8865, 3053, 1769, 202, 97, 202, 430, 14015, 13449, 18006, 1276, 5450, 13, 597, 16051, 13449, 18006, 18, 291, 21172, 1435, 3719, 288, 5411, 9471, 18006, 3053, 273, 9471, 18006, 18, 5659, 620, 5621, 202, 565, 741, 13938, 18006, 273, 638, 31, 5411, 368, 3163, 18, 659, 18, 8222, 2932, 26379, 17, 3118, 2226, 1360, 30, 13773, 13449, 18006, 3053, 1769, 202, 97, 202, 430, 14015, 1095, 18006, 1276, 5450, 13, 597, 16051, 1095, 18006, 18, 291, 21172, 1435, 3719, 288, 5411, 2076, 18006, 3053, 273, 2076, 18006, 18, 5659, 620, 5621, 5411, 741, 3944, 18006, 273, 638, 31, 5411, 368, 3163, 18, 659, 18, 8222, 2932, 7952, 67, 3118, 2226, 1360, 30, 13773, 1095, 18006, 3053, 1769, 202, 97, 3639, 509, 818, 25399, 273, 11404, 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, 4686, 22, 40, 741, 18006, 12, 4723, 24579, 16, 1875, 2398, 5450, 9471, 18006, 16, 17311, 5450, 2076, 18006, 13, 288, 202, 6494, 3656, 47, 8865, 273, 638, 31, 202, 6494, 741, 3944, 18006, 273, 629, 31, 202, 6494, 741, 13938, 18006, 273, 629, 31, 3639, 1431, 24579, 3053, 273, 374, 74, 31, 202, 5659, 9471, 18006, 3053, 273, 374, 74, 31, 3639, 1431, 2076, 18006, 3053, 273, 374, 74, 31, 202, 430, 14015, 79, 8865, 1276, 5450, 13, 597, 16051, 79, 8865, 18, 291, 21172, 1435, 3719, 288, 5411, 24579, 3053, 273, 24579, 18, 5659, 620, 5621, 202, 565, 3656, 47, 8865, 273, 629, 31, 5411, 368, 3163, 18, 659, 18, 8222, 2932, 27221, 15870, 30, 2 ]
if (try_stack.saved_result != null)
if (try_stack.saved_result != null && reachableHere())
public void emitTryEnd() { if (try_stack.end_label == null) { if (try_stack.saved_result != null) emitStore(try_stack.saved_result); try_stack.end_label = new Label(this); if (reachableHere()) { if (try_stack.finally_subr != null) emitJsr(try_stack.finally_subr); emitGoto(try_stack.end_label); } readPC = PC; try_stack.end_pc = PC; } }
36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/45359e68e21f7037178a75009ee74d6918e06345/CodeAttr.java/buggy/gnu/bytecode/CodeAttr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3626, 7833, 1638, 1435, 225, 288, 565, 309, 261, 698, 67, 3772, 18, 409, 67, 1925, 422, 446, 13, 1377, 288, 202, 430, 261, 698, 67, 3772, 18, 14077, 67, 2088, 480, 446, 13, 202, 225, 3626, 2257, 12, 698, 67, 3772, 18, 14077, 67, 2088, 1769, 202, 698, 67, 3772, 18, 409, 67, 1925, 273, 394, 5287, 12, 2211, 1769, 202, 430, 261, 17246, 26715, 10756, 202, 225, 288, 202, 565, 309, 261, 698, 67, 3772, 18, 23417, 67, 1717, 86, 480, 446, 13, 202, 1377, 3626, 8382, 86, 12, 698, 67, 3772, 18, 23417, 67, 1717, 86, 1769, 202, 565, 3626, 43, 6302, 12, 698, 67, 3772, 18, 409, 67, 1925, 1769, 202, 225, 289, 202, 896, 3513, 273, 26300, 31, 202, 698, 67, 3772, 18, 409, 67, 2436, 273, 26300, 31, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3626, 7833, 1638, 1435, 225, 288, 565, 309, 261, 698, 67, 3772, 18, 409, 67, 1925, 422, 446, 13, 1377, 288, 202, 430, 261, 698, 67, 3772, 18, 14077, 67, 2088, 480, 446, 13, 202, 225, 3626, 2257, 12, 698, 67, 3772, 18, 14077, 67, 2088, 1769, 202, 698, 67, 3772, 18, 409, 67, 1925, 273, 394, 5287, 12, 2211, 1769, 202, 430, 261, 17246, 26715, 10756, 202, 225, 288, 202, 565, 309, 261, 698, 67, 3772, 18, 23417, 67, 1717, 86, 480, 446, 13, 202, 1377, 3626, 8382, 86, 12, 698, 67, 3772, 18, 23417, 67, 1717, 86, 1769, 202, 565, 3626, 43, 6302, 12, 698, 67, 3772, 18, 409, 67, 1925, 1769, 202, 225, 2 ]
if(node.shouldRejectRequest()) {
if(node.shouldRejectRequest(!isSSK)) {
private boolean handleInsertRequest(Message m) { long now = System.currentTimeMillis(); long id = m.getLong(DMT.UID); if(node.recentlyCompleted(id)) { Message rejected = DMT.createFNPRejectedLoop(id); try { ((PeerNode)(m.getSource())).sendAsync(rejected, null); } catch (NotConnectedException e) { Logger.normal(this, "Rejecting insert request from "+m.getSource().getPeer()+": "+e); } return true; } if(node.shouldRejectRequest()) { Logger.normal(this, "Rejecting insert from "+m.getSource().getPeer()+" preemptively"); Message rejected = DMT.createFNPRejectedOverload(id, true); try { ((PeerNode)(m.getSource())).sendAsync(rejected, null); } catch (NotConnectedException e) { Logger.normal(this, "Rejecting (overload) insert request from "+m.getSource().getPeer()+": "+e); } node.completed(id); return true; } if(!node.lockUID(id)) { Logger.minor(this, "Could not lock ID "+id+" -> rejecting (already running)"); Message rejected = DMT.createFNPRejectedLoop(id); try { ((PeerNode)(m.getSource())).sendAsync(rejected, null); } catch (NotConnectedException e) { Logger.normal(this, "Rejecting insert request from "+m.getSource().getPeer()+": "+e); } return true; } if(m.getSpec().equals(DMT.FNPSSKInsertRequest)) { SSKInsertHandler rh = new SSKInsertHandler(m, id, node, now); Thread t = new Thread(rh, "InsertHandler for "+id+" on "+node.portNumber); t.setDaemon(true); t.start(); } else { InsertHandler rh = new InsertHandler(m, id, node, now); Thread t = new Thread(rh, "InsertHandler for "+id+" on "+node.portNumber); t.setDaemon(true); t.start(); } Logger.minor(this, "Started InsertHandler for "+id); return true; }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/716f3bc8807ebf706adfc867c6d0cf6be34016ab/NodeDispatcher.java/clean/src/freenet/node/NodeDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1640, 4600, 691, 12, 1079, 312, 13, 288, 3639, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 1525, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 3639, 309, 12, 2159, 18, 20872, 715, 9556, 12, 350, 3719, 288, 5411, 2350, 11876, 273, 463, 6152, 18, 2640, 19793, 52, 19902, 6452, 12, 350, 1769, 5411, 775, 288, 7734, 14015, 6813, 907, 21433, 81, 18, 588, 1830, 10756, 2934, 4661, 2771, 12, 266, 6059, 16, 446, 1769, 5411, 289, 1044, 261, 1248, 8932, 503, 425, 13, 288, 7734, 4242, 18, 6130, 12, 2211, 16, 315, 21705, 310, 2243, 590, 628, 13773, 81, 18, 588, 1830, 7675, 588, 6813, 1435, 15, 6877, 13773, 73, 1769, 5411, 289, 5411, 327, 638, 31, 3639, 289, 540, 309, 12, 2159, 18, 13139, 21705, 691, 12, 5, 291, 1260, 47, 3719, 288, 540, 202, 3328, 18, 6130, 12, 2211, 16, 315, 21705, 310, 2243, 628, 13773, 81, 18, 588, 1830, 7675, 588, 6813, 1435, 9078, 675, 5744, 4492, 8863, 540, 202, 1079, 11876, 273, 463, 6152, 18, 2640, 19793, 52, 19902, 4851, 945, 12, 350, 16, 638, 1769, 540, 202, 698, 288, 540, 202, 202, 12443, 6813, 907, 21433, 81, 18, 588, 1830, 10756, 2934, 4661, 2771, 12, 266, 6059, 16, 446, 1769, 5411, 289, 1044, 261, 1248, 8932, 503, 425, 13, 288, 7734, 4242, 18, 6130, 12, 2211, 16, 315, 21705, 310, 261, 1643, 945, 13, 2243, 590, 628, 13773, 81, 18, 588, 1830, 7675, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1640, 4600, 691, 12, 1079, 312, 13, 288, 3639, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 1525, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 3639, 309, 12, 2159, 18, 20872, 715, 9556, 12, 350, 3719, 288, 5411, 2350, 11876, 273, 463, 6152, 18, 2640, 19793, 52, 19902, 6452, 12, 350, 1769, 5411, 775, 288, 7734, 14015, 6813, 907, 21433, 81, 18, 588, 1830, 10756, 2934, 4661, 2771, 12, 266, 6059, 16, 446, 1769, 5411, 289, 1044, 261, 1248, 8932, 503, 425, 13, 288, 7734, 4242, 18, 6130, 12, 2211, 16, 315, 21705, 310, 2243, 590, 628, 13773, 81, 18, 588, 1830, 7675, 588, 6813, 1435, 15, 6877, 13773, 73, 2 ]
push(new SparseInstance(instance.weight(), newVals, newIndices, instance.numAttributes()));
inst = new SparseInstance(instance.weight(), vals, indices, instance.numAttributes());
private void convertInstance(Instance instance) throws Exception { if (!(instance instanceof SparseInstance)) { double[] newVals = new double[getInputFormat().numAttributes()]; for(int j = 0; j < instance.numAttributes(); j++) { if (instance.isMissing(j) && (getInputFormat().attribute(j).isNominal() || getInputFormat().attribute(j).isNumeric())) { newVals[j] = m_ModesAndMeans[j]; } else { newVals[j] = instance.value(j); } } push(new Instance(instance.weight(), newVals)); } else { double[] newVals = new double[instance.numValues()]; int[] newIndices = new int[instance.numValues()]; int num = 0; for(int j = 0; j < instance.numValues(); j++) { if (instance.isMissingSparse(j) && (instance.attributeSparse(j).isNominal() || instance.attributeSparse(j).isNumeric())) { if (m_ModesAndMeans[instance.index(j)] != 0.0) { newVals[num] = m_ModesAndMeans[instance.index(j)]; newIndices[num] = instance.index(j); num++; } } else { newVals[num] = instance.valueSparse(j); newIndices[num] = instance.index(j); num++; } } if (num == instance.numValues()) { push(new SparseInstance(instance.weight(), newVals, newIndices, instance.numAttributes())); } else { double[] tempVals = new double[num]; int[] tempInd = new int[num]; System.arraycopy(newVals, 0, tempVals, 0, num); System.arraycopy(newIndices, 0, tempInd, 0, num); push(new SparseInstance(instance.weight(), tempVals, tempInd, instance.numAttributes())); } } }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/ce79b816386a6bdaf3b0d7de9c6bc3b72d68d79f/ReplaceMissingValuesFilter.java/clean/weka/filters/ReplaceMissingValuesFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1765, 1442, 12, 1442, 791, 13, 1216, 1185, 288, 1377, 309, 16051, 12, 1336, 1276, 16473, 1442, 3719, 288, 1377, 1645, 8526, 394, 13169, 273, 394, 1645, 63, 588, 1210, 1630, 7675, 2107, 2498, 1435, 15533, 1377, 364, 12, 474, 525, 273, 374, 31, 525, 411, 791, 18, 2107, 2498, 5621, 525, 27245, 288, 202, 430, 261, 1336, 18, 291, 4841, 12, 78, 13, 597, 202, 565, 261, 588, 1210, 1630, 7675, 4589, 12, 78, 2934, 291, 26685, 1490, 1435, 747, 202, 377, 12353, 1630, 7675, 4589, 12, 78, 2934, 291, 9902, 1435, 3719, 288, 202, 225, 394, 13169, 63, 78, 65, 273, 312, 67, 18868, 1876, 4667, 634, 63, 78, 15533, 225, 202, 97, 469, 288, 202, 225, 394, 13169, 63, 78, 65, 273, 791, 18, 1132, 12, 78, 1769, 202, 97, 1377, 289, 4202, 1817, 12, 2704, 5180, 12, 1336, 18, 4865, 9334, 394, 13169, 10019, 565, 289, 469, 288, 1377, 1645, 8526, 394, 13169, 273, 394, 1645, 63, 1336, 18, 2107, 1972, 1435, 15533, 1377, 509, 8526, 394, 8776, 273, 394, 509, 63, 1336, 18, 2107, 1972, 1435, 15533, 1377, 509, 818, 273, 374, 31, 1377, 364, 12, 474, 525, 273, 374, 31, 525, 411, 791, 18, 2107, 1972, 5621, 525, 27245, 288, 202, 430, 261, 1336, 18, 291, 4841, 20565, 12, 78, 13, 597, 202, 565, 261, 1336, 18, 4589, 20565, 12, 78, 2934, 291, 26685, 1490, 1435, 747, 202, 377, 791, 18, 4589, 20565, 12, 78, 2934, 291, 9902, 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, 1765, 1442, 12, 1442, 791, 13, 1216, 1185, 288, 1377, 309, 16051, 12, 1336, 1276, 16473, 1442, 3719, 288, 1377, 1645, 8526, 394, 13169, 273, 394, 1645, 63, 588, 1210, 1630, 7675, 2107, 2498, 1435, 15533, 1377, 364, 12, 474, 525, 273, 374, 31, 525, 411, 791, 18, 2107, 2498, 5621, 525, 27245, 288, 202, 430, 261, 1336, 18, 291, 4841, 12, 78, 13, 597, 202, 565, 261, 588, 1210, 1630, 7675, 4589, 12, 78, 2934, 291, 26685, 1490, 1435, 747, 202, 377, 12353, 1630, 7675, 4589, 12, 78, 2934, 291, 9902, 1435, 3719, 288, 202, 225, 394, 13169, 63, 78, 65, 273, 312, 67, 18868, 1876, 4667, 634, 63, 78, 15533, 225, 202, 97, 469, 2 ]
null, "setParamName");
null, "setParamNameExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[36]; try { result[0] = new PropertyDescriptor("accesskey", ELLinkTag.class, null, "setAccesskey"); result[1] = new PropertyDescriptor("action", ELLinkTag.class, null, "setAction"); result[2] = new PropertyDescriptor("anchor", ELLinkTag.class, null, "setAnchor"); result[3] = new PropertyDescriptor("forward", ELLinkTag.class, null, "setForward"); result[4] = new PropertyDescriptor("href", ELLinkTag.class, null, "setHref"); // This attribute has a non-standard mapping. result[5] = new PropertyDescriptor("indexed", ELLinkTag.class, null, "setIndexedExpr"); result[6] = new PropertyDescriptor("indexId", ELLinkTag.class, null, "setIndexId"); result[7] = new PropertyDescriptor("linkName", ELLinkTag.class, null, "setLinkName"); result[8] = new PropertyDescriptor("name", ELLinkTag.class, null, "setName"); result[9] = new PropertyDescriptor("onblur", ELLinkTag.class, null, "setOnblur"); result[10] = new PropertyDescriptor("onclick", ELLinkTag.class, null, "setOnclick"); result[11] = new PropertyDescriptor("ondblclick", ELLinkTag.class, null, "setOndblclick"); result[12] = new PropertyDescriptor("onfocus", ELLinkTag.class, null, "setOnfocus"); result[13] = new PropertyDescriptor("onkeydown", ELLinkTag.class, null, "setOnkeydown"); result[14] = new PropertyDescriptor("onkeypress", ELLinkTag.class, null, "setOnkeypress"); result[15] = new PropertyDescriptor("onkeyup", ELLinkTag.class, null, "setOnkeyup"); result[16] = new PropertyDescriptor("onmousedown", ELLinkTag.class, null, "setOnmousedown"); result[17] = new PropertyDescriptor("onmousemove", ELLinkTag.class, null, "setOnmousemove"); result[18] = new PropertyDescriptor("onmouseout", ELLinkTag.class, null, "setOnmouseout"); result[19] = new PropertyDescriptor("onmouseover", ELLinkTag.class, null, "setOnmouseover"); result[20] = new PropertyDescriptor("onmouseup", ELLinkTag.class, null, "setOnmouseup"); result[21] = new PropertyDescriptor("page", ELLinkTag.class, null, "setPage"); result[22] = new PropertyDescriptor("paramId", ELLinkTag.class, null, "setParamId"); result[23] = new PropertyDescriptor("paramName", ELLinkTag.class, null, "setParamName"); result[24] = new PropertyDescriptor("paramProperty", ELLinkTag.class, null, "setParamProperty"); result[25] = new PropertyDescriptor("paramScope", ELLinkTag.class, null, "setParamScope"); result[26] = new PropertyDescriptor("property", ELLinkTag.class, null, "setProperty"); result[27] = new PropertyDescriptor("scope", ELLinkTag.class, null, "setScope"); result[28] = new PropertyDescriptor("style", ELLinkTag.class, null, "setStyle"); result[29] = new PropertyDescriptor("styleClass", ELLinkTag.class, null, "setStyleClass"); result[30] = new PropertyDescriptor("styleId", ELLinkTag.class, null, "setStyleId"); result[31] = new PropertyDescriptor("tabindex", ELLinkTag.class, null, "setTabindex"); result[32] = new PropertyDescriptor("target", ELLinkTag.class, null, "setTarget"); result[33] = new PropertyDescriptor("title", ELLinkTag.class, null, "setTitle"); result[34] = new PropertyDescriptor("titleKey", ELLinkTag.class, null, "setTitleKey"); result[35] = new PropertyDescriptor("transaction", ELLinkTag.class, null, "setTransactionExpr"); } catch (IntrospectionException ex) { ex.printStackTrace(); } return (result); }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/2dbb705eab3659c5c2ceb6398f2eec56e1f6994d/ELLinkTagBeanInfo.java/clean/struts-el/src/share/org/apache/strutsel/taglib/html/ELLinkTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 5718, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 1128, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1803, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 16215, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 11605, 8863, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 11565, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 8514, 8863, 5411, 563, 63, 24, 65, 273, 394, 26761, 2932, 7547, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15962, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 25, 65, 273, 394, 26761, 2932, 19626, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15034, 4742, 8863, 5411, 563, 63, 26, 65, 273, 394, 26761, 2932, 1615, 548, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1016, 548, 8863, 5411, 563, 63, 27, 65, 273, 394, 26761, 2932, 1232, 461, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 2098, 461, 8863, 5411, 563, 63, 28, 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, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 5718, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 1128, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1803, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 16215, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 11605, 8863, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 11565, 3113, 14801, 2098, 1805, 18, 1106, 16, 2 ]
private void finishPage(IProgressMonitor monitor) throws InterruptedException, CoreException { if (monitor == null) { monitor= new NullProgressMonitor(); } int exitValue = -1; try { String strName = page.getProjectName(); monitor.beginTask("Creating "+ strName + " Forrest Project", 3); IProject project= page.getProjectHandle(); IPath locationPath= page.getLocationPath(); // create the project IProjectDescription desc= project.getWorkspace().newProjectDescription(project.getName()); if (!page.useDefaults()) { desc.setLocation(locationPath); } project.create(desc, new SubProgressMonitor(monitor, 1)); project.open(new SubProgressMonitor(monitor, 1)); // seed the project ForrestPlugin plugin = ForrestPlugin.getDefault(); String strPath = locationPath.toOSString(); String cmdString = null; if (System.getProperty("os.name").toLowerCase().startsWith("linux")) { cmdString = "forrest -Dbasedir=" + strPath + "/" + strName + " seed"; } else if (System.getProperty("os.name").toLowerCase().startsWith("windows")) { cmdString = "cmd /c forrest -Dbasedir=" + strPath + "\\" + strName + " seed"; } try { String lineRead = null; Process seedProc = Runtime.getRuntime().exec(cmdString); BufferedReader reader = new BufferedReader(new InputStreamReader(seedProc.getInputStream())); while((lineRead = reader.readLine()) != null) { if (logger.isDebugEnabled()) { logger.debug("finishPage(IProgressMonitor)" + lineRead); } } exitValue = seedProc.exitValue(); } catch (IOException e) { // TODO Auto-generated catch block logger.error("finishPage(IProgressMonitor)", e); } project.refreshLocal(IProject.DEPTH_INFINITE, monitor); if (pluginPage.getActivateViewValue()) { Utilities.activateForrestProperty(strPath + "\\" + strName + "\\forrest.properties" ,"project.skin=leather-dev"); Utilities.addForrestPluginProperty(strPath + "\\" + strName + "\\forrest.properties","org.apache.forrest.plugin.output.viewHelper.xhtml,org.apache.forrest.plugin.internal.view"); } Utilities.addForrestPluginProperty(strPath + "\\" + strName + "\\forrest.properties", pluginPage.getSelectedPlugins()); // TODO: change to the perspective specified in the plugin.xml } finally { monitor.done(); } }
2719 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2719/a015df8aa2b9981ea3b42d009efd3ad9d12b83ae/NewProjectWizard.java/buggy/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/wizards/NewProjectWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4076, 1964, 12, 45, 5491, 7187, 6438, 13, 1216, 7558, 16, 30015, 288, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 33, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 9506, 202, 474, 2427, 620, 273, 300, 21, 31, 202, 202, 698, 288, 6862, 202, 780, 27840, 273, 1363, 18, 588, 4109, 461, 5621, 1082, 202, 10259, 18, 10086, 2174, 2932, 11092, 13773, 27840, 397, 315, 2457, 8792, 5420, 3113, 890, 1769, 1082, 202, 45, 4109, 1984, 33, 1363, 18, 588, 4109, 3259, 5621, 1082, 202, 45, 743, 2117, 743, 33, 1363, 18, 588, 2735, 743, 5621, 6862, 202, 759, 752, 326, 1984, 1082, 202, 45, 4109, 3291, 3044, 33, 1984, 18, 588, 8241, 7675, 2704, 4109, 3291, 12, 4406, 18, 17994, 10663, 1082, 202, 430, 16051, 2433, 18, 1202, 7019, 10756, 288, 9506, 202, 5569, 18, 542, 2735, 12, 3562, 743, 1769, 1082, 202, 97, 1082, 202, 4406, 18, 2640, 12, 5569, 16, 394, 2592, 5491, 7187, 12, 10259, 16, 404, 10019, 1082, 202, 4406, 18, 3190, 12, 2704, 2592, 5491, 7187, 12, 10259, 16, 404, 10019, 25083, 202, 759, 5009, 326, 1984, 1082, 202, 1290, 8792, 3773, 1909, 273, 2457, 8792, 3773, 18, 588, 1868, 5621, 25083, 202, 780, 609, 743, 273, 2117, 743, 18, 869, 4618, 780, 5621, 1082, 202, 780, 1797, 780, 273, 225, 446, 31, 25083, 202, 430, 261, 3163, 18, 588, 1396, 2932, 538, 18, 529, 20387, 869, 5630, 7675, 17514, 1190, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4076, 1964, 12, 45, 5491, 7187, 6438, 13, 1216, 7558, 16, 30015, 288, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 33, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 9506, 202, 474, 2427, 620, 273, 300, 21, 31, 202, 202, 698, 288, 6862, 202, 780, 27840, 273, 1363, 18, 588, 4109, 461, 5621, 1082, 202, 10259, 18, 10086, 2174, 2932, 11092, 13773, 27840, 397, 315, 2457, 8792, 5420, 3113, 890, 1769, 1082, 202, 45, 4109, 1984, 33, 1363, 18, 588, 4109, 3259, 5621, 1082, 202, 45, 743, 2117, 743, 33, 1363, 18, 588, 2735, 743, 5621, 6862, 202, 759, 752, 326, 1984, 1082, 202, 45, 4109, 3291, 3044, 33, 1984, 2 ]
if (jj_3R_83()) return true;
Token xsp; xsp = jj_scanpos; if (jj_scan_token(32)) jj_scanpos = xsp; if (jj_3R_168()) return true; if (jj_scan_token(IDENTIFIER)) return true; while (true) { xsp = jj_scanpos; if (jj_3R_473()) { jj_scanpos = xsp; break; } }
final private boolean jj_3R_468() { if (jj_3R_83()) return true; return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/b153c43e59717c98f32c67f14d61a00a81016991/Parser.java/buggy/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 8749, 28, 1435, 288, 565, 3155, 619, 1752, 31, 619, 1752, 273, 10684, 67, 9871, 917, 31, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 1578, 3719, 10684, 67, 9871, 917, 273, 619, 1752, 31, 309, 261, 78, 78, 67, 23, 54, 67, 23329, 10756, 327, 638, 31, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 16606, 3719, 327, 638, 31, 1323, 261, 3767, 13, 288, 619, 1752, 273, 10684, 67, 9871, 917, 31, 309, 261, 78, 78, 67, 23, 54, 67, 24, 9036, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 8749, 28, 1435, 288, 565, 3155, 619, 1752, 31, 619, 1752, 273, 10684, 67, 9871, 917, 31, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 1578, 3719, 10684, 67, 9871, 917, 273, 619, 1752, 31, 309, 261, 78, 78, 67, 23, 54, 67, 23329, 10756, 327, 638, 31, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 16606, 3719, 327, 638, 31, 1323, 261, 3767, 13, 288, 619, 1752, 273, 10684, 67, 9871, 917, 31, 309, 261, 78, 78, 67, 23, 54, 67, 24, 9036, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 289, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100 ]
Object[] array = new Object[args.length]; System.arraycopy(args, 0, array, 0, args.length); Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM);
Object[] array = new Object[args.length]; System.arraycopy(args, 0, array, 0, args.length); Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM);
public static int exec(String args[]) { for (int i=0; i < args.length; i++) { String arg = args[i]; if (arg.equals("-sealedlib")) { sealedStdLib = true; break; } } Context cx = enterContext(); // Create the top-level scope object. global = getGlobal(); errorReporter = new ToolErrorReporter(false, global.getErr()); cx.setErrorReporter(errorReporter); args = processOptions(cx, args); if (processStdin) fileList.addElement(null); // define "arguments" array in the top-level object: // need to allocate new array since newArray requires instances // of exactly Object[], not ObjectSubclass[] Object[] array = new Object[args.length]; System.arraycopy(args, 0, array, 0, args.length); Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); for (int i=0; i < fileList.size(); i++) { processSource(cx, (String) fileList.elementAt(i)); } cx.exit(); return exitCode; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/37d29a017a6038dd3a95ecea961c7097f7733631/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 1196, 12, 780, 833, 63, 5717, 288, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 261, 3175, 18, 14963, 2932, 17, 307, 18931, 2941, 6, 3719, 288, 7734, 695, 18931, 10436, 5664, 273, 638, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 1772, 9494, 273, 6103, 1042, 5621, 3639, 368, 1788, 326, 1760, 17, 2815, 2146, 733, 18, 3639, 2552, 273, 20591, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 2552, 18, 588, 2524, 10663, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 833, 273, 1207, 1320, 12, 71, 92, 16, 833, 1769, 3639, 309, 261, 2567, 10436, 267, 13, 5411, 18645, 18, 1289, 1046, 12, 2011, 1769, 3639, 368, 4426, 315, 7099, 6, 526, 316, 326, 1760, 17, 2815, 733, 30, 3639, 368, 1608, 358, 10101, 394, 526, 3241, 11653, 4991, 3884, 3639, 368, 434, 8950, 1033, 63, 6487, 486, 1033, 1676, 1106, 8526, 3639, 1033, 8526, 526, 273, 394, 1033, 63, 1968, 18, 2469, 15533, 3639, 2332, 18, 1126, 3530, 12, 1968, 16, 374, 16, 526, 16, 374, 16, 833, 18, 2469, 1769, 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, 3639, 364, 261, 474, 277, 33, 20, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 1196, 12, 780, 833, 63, 5717, 288, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 261, 3175, 18, 14963, 2932, 17, 307, 18931, 2941, 6, 3719, 288, 7734, 695, 18931, 10436, 5664, 273, 638, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 1772, 9494, 273, 6103, 1042, 5621, 3639, 368, 1788, 326, 1760, 17, 2815, 2146, 733, 18, 3639, 2552, 273, 20591, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 2552, 18, 588, 2524, 10663, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 833, 273, 1207, 1320, 12, 2 ]
List<String> expected = new ArrayList<String>(); expected.add("beforeTestChild1Class"); expected.add("test1"); expected.add("test2"); expected.add("afterTestChild1Class"); expected.add("beforeTestChild2Class"); expected.add("test1"); expected.add("test2"); expected.add("afterTestChild2Class"); Assert.assertEquals(LOG, expected);
Assert.assertEquals(LOG.size(), 8, "invocations"); Assert.assertEquals(LOG.get(0), "beforeTestChild1Class"); Assert.assertTrue(("test1".equals(LOG.get(1)) && "test2".equals(LOG.get(2))) || ("test2".equals(LOG.get(1)) && "test1".equals(LOG.get(2))), "test methods were not invoked correctly"); Assert.assertEquals(LOG.get(3), "afterTestChild1Class"); Assert.assertEquals(LOG.get(4), "beforeTestChild2Class"); Assert.assertTrue(("test1".equals(LOG.get(5)) && "test2".equals(LOG.get(6))) || ("test2".equals(LOG.get(5)) && "test1".equals(LOG.get(6))), "test methods were not invoked correctly"); Assert.assertEquals(LOG.get(7), "afterTestChild2Class");
public void invocationOrder() { TestListenerAdapter tla = new TestListenerAdapter(); TestNG testng = new TestNG(); testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); testng.setTestClasses(new Class[] { TestChild1.class, TestChild2.class }); testng.addListener(tla); testng.setVerbose(0); testng.run(); final String log= LOG.toString(); final String clsName= TestChild1.class.getName(); List<String> expected = new ArrayList<String>(); expected.add("beforeTestChild1Class"); expected.add("test1"); expected.add("test2"); expected.add("afterTestChild1Class"); expected.add("beforeTestChild2Class"); expected.add("test1"); expected.add("test2"); expected.add("afterTestChild2Class"); Assert.assertEquals(LOG, expected); }
46463 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46463/8b8bc76fa825845109cea3a3a79ff040454421a0/InterleavedInvocationTest.java/buggy/test/src/test/interleavedorder/InterleavedInvocationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 9495, 2448, 1435, 288, 565, 7766, 2223, 4216, 8332, 69, 273, 394, 7766, 2223, 4216, 5621, 565, 7766, 4960, 1842, 3368, 273, 394, 7766, 4960, 5621, 565, 1842, 3368, 18, 542, 1447, 2853, 12, 1447, 2853, 7332, 18, 588, 1447, 2853, 10663, 565, 1842, 3368, 18, 542, 4709, 4818, 12, 2704, 1659, 8526, 288, 7766, 1763, 21, 18, 1106, 16, 7766, 1763, 22, 18, 1106, 15549, 565, 1842, 3368, 18, 1289, 2223, 12, 6172, 69, 1769, 565, 1842, 3368, 18, 542, 14489, 12, 20, 1769, 565, 1842, 3368, 18, 2681, 5621, 3639, 727, 514, 613, 33, 2018, 18, 10492, 5621, 565, 727, 514, 2028, 461, 33, 7766, 1763, 21, 18, 1106, 18, 17994, 5621, 5411, 987, 32, 780, 34, 2665, 273, 394, 2407, 32, 780, 34, 5621, 565, 2665, 18, 1289, 2932, 5771, 4709, 1763, 21, 797, 8863, 565, 2665, 18, 1289, 2932, 3813, 21, 8863, 565, 2665, 18, 1289, 2932, 3813, 22, 8863, 3639, 2665, 18, 1289, 2932, 5205, 4709, 1763, 21, 797, 8863, 3639, 2665, 18, 1289, 2932, 5771, 4709, 1763, 22, 797, 8863, 565, 2665, 18, 1289, 2932, 3813, 21, 8863, 565, 2665, 18, 1289, 2932, 3813, 22, 8863, 3639, 2665, 18, 1289, 2932, 5205, 4709, 1763, 22, 797, 8863, 565, 5452, 18, 11231, 8867, 12, 4842, 16, 2665, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 9495, 2448, 1435, 288, 565, 7766, 2223, 4216, 8332, 69, 273, 394, 7766, 2223, 4216, 5621, 565, 7766, 4960, 1842, 3368, 273, 394, 7766, 4960, 5621, 565, 1842, 3368, 18, 542, 1447, 2853, 12, 1447, 2853, 7332, 18, 588, 1447, 2853, 10663, 565, 1842, 3368, 18, 542, 4709, 4818, 12, 2704, 1659, 8526, 288, 7766, 1763, 21, 18, 1106, 16, 7766, 1763, 22, 18, 1106, 15549, 565, 1842, 3368, 18, 1289, 2223, 12, 6172, 69, 1769, 565, 1842, 3368, 18, 542, 14489, 12, 20, 1769, 565, 1842, 3368, 18, 2681, 5621, 3639, 727, 514, 613, 33, 2018, 18, 10492, 5621, 565, 727, 514, 2028, 461, 33, 7766, 1763, 21, 18, 1106, 18, 17994, 5621, 5411, 987, 2 ]
LogicalPosition pos1 = new LogicalPosition(line, col); editor.getCaretModel().moveToLogicalPosition(pos1);
LogicalPosition pos = new LogicalPosition(line, col); editor.getCaretModel().moveToLogicalPosition(pos);
public void invoke(Project project, Editor editor, PsiFile file) { if (!CodeInsightUtil.prepareFileForWrite(file)) return; int col = editor.getCaretModel().getLogicalPosition().column; int line = editor.getCaretModel().getLogicalPosition().line; LogicalPosition pos = new LogicalPosition(0, 0); editor.getCaretModel().moveToLogicalPosition(pos); TextRange range = null; if (myStatement.getParent() instanceof PsiForStatement) { PsiForStatement forStatement = (PsiForStatement)myStatement.getParent(); if (myStatement.equals(forStatement.getInitialization()) || myStatement.equals(forStatement.getUpdate())) { myStatement = forStatement; } } try{ JavaWithTryCatchSurrounder handler = new JavaWithTryCatchSurrounder(); range = handler.surroundElements(project, editor, new PsiElement[] {myStatement}); } catch(IncorrectOperationException e){ LOG.error(e); } LogicalPosition pos1 = new LogicalPosition(line, col); editor.getCaretModel().moveToLogicalPosition(pos1); if (range != null) { int offset = range.getStartOffset(); editor.getCaretModel().moveToOffset(offset); editor.getScrollingModel().scrollToCaret(ScrollType.RELATIVE); editor.getSelectionModel().setSelection(range.getStartOffset(), range.getEndOffset()); } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/72da2abd9c34a8042786041554b220ba14b99fcb/SurroundWithTryCatchAction.java/buggy/codeInsight/impl/com/intellij/codeInsight/daemon/impl/quickfix/SurroundWithTryCatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4356, 12, 4109, 1984, 16, 18451, 4858, 16, 453, 7722, 812, 585, 13, 288, 565, 309, 16051, 1085, 5048, 750, 1304, 18, 9366, 812, 1290, 3067, 12, 768, 3719, 327, 31, 565, 509, 645, 273, 4858, 18, 588, 39, 20731, 1488, 7675, 588, 17955, 2555, 7675, 2827, 31, 565, 509, 980, 273, 4858, 18, 588, 39, 20731, 1488, 7675, 588, 17955, 2555, 7675, 1369, 31, 565, 17085, 2555, 949, 273, 394, 17085, 2555, 12, 20, 16, 374, 1769, 565, 4858, 18, 588, 39, 20731, 1488, 7675, 8501, 774, 17955, 2555, 12, 917, 1769, 565, 3867, 2655, 1048, 273, 446, 31, 565, 309, 261, 4811, 3406, 18, 588, 3054, 1435, 1276, 453, 7722, 1290, 3406, 13, 288, 1377, 453, 7722, 1290, 3406, 364, 3406, 273, 261, 52, 7722, 1290, 3406, 13, 4811, 3406, 18, 588, 3054, 5621, 1377, 309, 261, 4811, 3406, 18, 14963, 12, 1884, 3406, 18, 588, 17701, 10756, 747, 3399, 3406, 18, 14963, 12, 1884, 3406, 18, 588, 1891, 1435, 3719, 288, 3639, 3399, 3406, 273, 364, 3406, 31, 1377, 289, 565, 289, 565, 775, 95, 1377, 5110, 1190, 7833, 14842, 7719, 303, 9341, 1838, 273, 394, 5110, 1190, 7833, 14842, 7719, 303, 9341, 5621, 1377, 1048, 273, 1838, 18, 10050, 2260, 3471, 12, 4406, 16, 4858, 16, 394, 453, 7722, 1046, 8526, 288, 4811, 3406, 22938, 565, 289, 565, 1044, 12, 16268, 10602, 425, 15329, 1377, 2018, 18, 1636, 12, 73, 1769, 565, 289, 565, 17085, 2555, 949, 21, 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, 282, 1071, 918, 4356, 12, 4109, 1984, 16, 18451, 4858, 16, 453, 7722, 812, 585, 13, 288, 565, 309, 16051, 1085, 5048, 750, 1304, 18, 9366, 812, 1290, 3067, 12, 768, 3719, 327, 31, 565, 509, 645, 273, 4858, 18, 588, 39, 20731, 1488, 7675, 588, 17955, 2555, 7675, 2827, 31, 565, 509, 980, 273, 4858, 18, 588, 39, 20731, 1488, 7675, 588, 17955, 2555, 7675, 1369, 31, 565, 17085, 2555, 949, 273, 394, 17085, 2555, 12, 20, 16, 374, 1769, 565, 4858, 18, 588, 39, 20731, 1488, 7675, 8501, 774, 17955, 2555, 12, 917, 1769, 565, 3867, 2655, 1048, 273, 446, 31, 565, 309, 261, 4811, 3406, 18, 588, 3054, 1435, 1276, 453, 7722, 1290, 3406, 13, 288, 2 ]
Date dt = IMCServiceRMI.getCurrentDate(imcserver) ;
Date dt = imcref.getCurrentDate() ;
public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { String host = req.getHeader("Host") ; String imcserver = Utility.getDomainPref("adminserver",host) ; String start_url = Utility.getDomainPref( "start_url",host ) ; String servlet_url = Utility.getDomainPref( "servlet_url",host ) ; String image_url = Utility.getDomainPref( "image_url",host ) ; File image_path = Utility.getDomainPrefPath( "image_path",host ) ; imcode.server.User user ; String htmlStr = "" ; String submit_name = "" ; String values[] ; int img_no = 0 ; imcode.server.Image image = new imcode.server.Image( ) ; res.setContentType( "text/html" ); Writer out = res.getWriter( ); // get meta_id String m_id = req.getParameter( "meta_id" ) ; int meta_id = Integer.parseInt( m_id ) ; // get img_no String i_no = req.getParameter( "img_no" ) ; img_no = Integer.parseInt( i_no ) ; // get image_height String image_height = req.getParameter( "image_height" ) ; // get image_width String image_width = req.getParameter( "image_width" ) ; // get image_border String image_border = req.getParameter( "image_border" ) ; // get vertical_space String v_space = req.getParameter( "v_space" ) ; // get horizonal_space String h_space = req.getParameter( "h_space" ) ; boolean keepAspectRatio = (req.getParameter("keepAspectRatio") != null); // FIXME: Move to SProc String sqlStr = "select image_name,imgurl,width,height,border,v_space,h_space,target,target_name,align,alt_text,low_scr,linkurl from images where meta_id = "+meta_id+" and name = "+img_no; String[] sql = IMCServiceRMI.sqlQuery(imcserver,sqlStr); String origWidth = req.getParameter("origW"); // width String origHeight = req.getParameter("origH"); // height try { image.setImageHeight( Integer.parseInt( image_height ) ) ; } catch ( NumberFormatException ex ) { image_height = "0" ; image.setImageHeight( 0 ) ; } try { image.setImageBorder( Integer.parseInt( image_border ) ) ; } catch ( NumberFormatException ex ) { image_border = "0" ; image.setImageBorder( 0 ) ; } try { image.setImageWidth( Integer.parseInt( image_width ) ) ; } catch ( NumberFormatException ex ) { image_width = "0" ; image.setImageWidth( 0 ) ; } if(keepAspectRatio && (req.getParameter("ok") != null || req.getParameter("show_img") != null)) { int oHeight = 0 ; try { oHeight = Integer.parseInt(origHeight); // image height } catch ( NumberFormatException ex ) { log("Failed to parse origHeight") ; } int oWidth = 0 ; try { oWidth = Integer.parseInt(origWidth); // image width } catch ( NumberFormatException ex ) { log("Failed to parse origHeight") ; } int iHeight = 0 ; try { iHeight = Integer.parseInt(image_height); // form width } catch ( NumberFormatException ex ) { log("Failed to parse image_height") ; } int iWidth = 0 ; try { iWidth = Integer.parseInt(image_width); // form height } catch ( NumberFormatException ex ) { log("Failed to parse image_width") ; } int oldHeight = 0 ; try { oldHeight = (sql.length>0)?Integer.parseInt(sql[3]):oHeight; // database height } catch ( NumberFormatException ex ) { log("Failed to parse oldHeight") ; } int oldWidth = 0 ; try { oldWidth = (sql.length>0)?Integer.parseInt(sql[2]):oWidth; // database width } catch ( NumberFormatException ex ) { log("Failed to parse oldWidth") ; } double asp_rat = ((double)oWidth/(double)oHeight); int heightDiff = Math.abs(iHeight - oldHeight); int widthDiff = Math.abs(iWidth - oldWidth); // Dominant value: // 1. greatest diff, 2. greatest int, 3. width if(widthDiff > heightDiff) { iHeight = (int)(iWidth/asp_rat); } else if (heightDiff > widthDiff) { iWidth = (int)(iHeight*asp_rat); } else if(heightDiff == widthDiff) { if(iHeight>iWidth) { iWidth = (int)(iHeight*asp_rat); } else { iHeight = (int)(iWidth/asp_rat); } } else { iHeight = (int)(iWidth*asp_rat); } image.setImageHeight( iHeight ) ; image.setImageWidth( iWidth ) ; image_width = "" + iWidth; image_height = "" + iHeight; //log("CALCULATED SIZE " + image_width + "/" + image_height); } try { image.setVerticalSpace( Integer.parseInt( v_space ) ) ; } catch ( NumberFormatException ex ) { v_space = "0" ; image.setVerticalSpace( 0 ) ; } try { image.setVerticalSpace( Integer.parseInt( v_space ) ) ; } catch ( NumberFormatException ex ) { v_space = "0" ; image.setVerticalSpace( 0 ) ; } try { image.setHorizonalSpace( Integer.parseInt( h_space ) ) ; } catch ( NumberFormatException ex ) { h_space = "0" ; image.setHorizonalSpace( 0 ) ; } // get imageref String image_ref = req.getParameter( "imageref" ) ; image.setImageRef( image_ref ) ; // get image_name String image_name = req.getParameter( "image_name" ) ; image.setImageName( image_name ) ; // get image_align String image_align = req.getParameter( "image_align" ) ; image.setImageAlign( image_align ) ; // get alt_text String alt_text = imcode.server.HTMLConv.toHTML(req.getParameter( "alt_text" )) ; image.setAltText( alt_text ) ; // get low_scr String low_scr = req.getParameter( "low_scr" ) ; image.setLowScr( low_scr ) ; // get target String target = req.getParameter( "target" ) ; image.setTarget( target ) ; // get target_name String target_name = req.getParameter( "target_name" ) ; image.setTargetName( target_name ) ; // get image_ref_link String imageref_link = req.getParameter( "imageref_link" ) ; image.setImageRefLink( imageref_link ) ; // redirect data String scheme = req.getScheme( ); String serverName = req.getServerName( ); int p = req.getServerPort( ); String port = (p == 80) ? "" : ":" + p; // Get the session HttpSession session = req.getSession( true ); // Does the session indicate this user already logged in? Object done = session.getAttribute( "logon.isDone" ); // marker object user = (imcode.server.User)done ; if( done == null ) { // No logon.isDone means he hasn't logged in. // Save the request URL as the true target and redirect to the login page. res.sendRedirect( scheme + "://" + serverName + port + start_url ) ; return ; } // Check if user has write rights if ( !IMCServiceRMI.checkDocAdminRights(imcserver,meta_id,user,131072 ) ) { // Checking to see if user may edit this String output = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( output != null ) { out.write(output) ; } return ; } user.put("flags",new Integer(131072)) ; //the folderlist String dirList = (String) session.getAttribute("imageFolderOptionList"); if(dirList == null)dirList=""; if( req.getParameter( "cancel" )!=null ) { String output = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( output != null ) { out.write(output) ; } return ; } else if( req.getParameter( "show_img" )!=null ) { //**************************************************************** ImageFileMetaData imagefile = new ImageFileMetaData(new File(image_path,image_ref)) ; int width = imagefile.getWidth() ; int height = imagefile.getHeight() ; //**************************************************************** Vector vec = new Vector () ; vec.add("#imgUrl#") ; vec.add(image_url) ; vec.add("#imgName#") ; vec.add(image_name) ; vec.add("#imgRef#") ; vec.add(image_ref) ; vec.add("#imgWidth#") ; vec.add("0".equals(image_width)?""+width:image_width) ; vec.add("#imgHeight#") ; vec.add("0".equals(image_height)?""+height:image_height) ; vec.add("#origW#"); vec.add("" + width); vec.add("#origH#"); vec.add("" + height); vec.add("#imgBorder#") ; vec.add(image_border) ; vec.add("#imgVerticalSpace#") ; vec.add(v_space) ; vec.add("#imgHorizontalSpace#") ; vec.add(h_space) ; if ( "_top".equals(target) ) { vec.add("#target_name#") ; vec.add("") ; vec.add("#top_checked#") ; } else if ( "_self".equals(target) ) { vec.add("#target_name#") ; vec.add("") ; vec.add("#self_checked#") ; } else if ( "_blank".equals(target) ) { vec.add("#target_name#") ; vec.add("") ; vec.add("#blank_checked#") ; } else if ( "_parent".equals(target) ) { vec.add("#target_name#") ; vec.add("") ; vec.add("#blank_checked#") ; } else { vec.add("#target_name#") ; vec.add(target_name) ; vec.add("#other_checked#") ; } vec.add("selected") ; if ( "baseline".equals(image_align) ) { vec.add("#baseline_selected#") ; } else if ( "top".equals(image_align) ) { vec.add("#top_selected#") ; } else if ( "middle".equals(image_align) ) { vec.add("#middle_selected#") ; } else if ( "bottom".equals(image_align) ) { vec.add("#bottom_selected#") ; } else if ( "texttop".equals(image_align) ) { vec.add("#texttop_selected#") ; } else if ( "absmiddle".equals(image_align) ) { vec.add("#absmiddle_selected#") ; } else if ( "absbottom".equals(image_align) ) { vec.add("#absbottom_selected#") ; } else if ( "left".equals(image_align) ) { vec.add("#left_selected#") ; } else if ( "right".equals(image_align) ) { vec.add("#right_selected#") ; } else { vec.add("#none_selected#") ; } vec.add("selected") ; vec.add("#imgAltText#") ; vec.add(alt_text) ; vec.add("#imgLowScr#") ; vec.add(low_scr) ; vec.add("#imgRefLink#") ; vec.add(imageref_link) ; vec.add("#getMetaId#") ; vec.add(m_id) ; vec.add("#img_no#") ; vec.add(i_no) ; vec.add("#folders#"); vec.add(dirList); String lang_prefix = IMCServiceRMI.sqlQueryStr(imcserver, "select lang_prefix from lang_prefixes where lang_id = "+user.getInt("lang_id")) ; htmlStr = IMCServiceRMI.parseDoc(imcserver,vec,"change_img.html", lang_prefix) ; out.write(htmlStr) ; return ; } else if ( req.getParameter("delete") != null ) { Vector vec = new Vector () ; vec.add("#imgUrl#") ; vec.add("") ; vec.add("#imgName#") ; vec.add("") ; vec.add("#imgRef#") ; vec.add("") ; vec.add("#imgWidth#") ; vec.add("0") ; vec.add("#imgHeight#") ; vec.add("0") ; vec.add("#imgBorder#") ; vec.add("0") ; vec.add("#imgVerticalSpace#") ; vec.add("0") ; vec.add("#imgHorizontalSpace#") ; vec.add("0") ; vec.add("#target_name#") ; vec.add("") ; vec.add("#self_checked#") ; vec.add("selected") ; vec.add("#top_selected#") ; vec.add("selected") ; vec.add("#imgAltText#") ; vec.add("") ; vec.add("#imgLowScr#") ; vec.add("") ; vec.add("#imgRefLink#") ; vec.add("") ; vec.add("#getMetaId#") ; vec.add(String.valueOf(meta_id)) ; vec.add("#img_no#") ; vec.add(String.valueOf(img_no)) ; vec.add("#folders#"); vec.add(dirList); String lang_prefix = IMCServiceRMI.sqlQueryStr(imcserver, "select lang_prefix from lang_prefixes where lang_id = "+user.getInt("lang_id")) ; htmlStr = IMCServiceRMI.parseDoc(imcserver,vec,"change_img.html", lang_prefix) ; out.write(htmlStr) ; return ; } else { IMCServiceRMI.saveImage( imcserver,meta_id,user,img_no,image ) ; SimpleDateFormat dateformat = new SimpleDateFormat(DATETIME_FORMAT_STD) ; Date dt = IMCServiceRMI.getCurrentDate(imcserver) ; sqlStr = "update meta set date_modified = '"+dateformat.format(dt)+"' where meta_id = "+meta_id ; IMCServiceRMI.sqlUpdateQuery(imcserver,sqlStr); // htmlStr = IMCServiceRMI.interpretTemplate( imcserver,meta_id,user ) ; String tempstring = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( tempstring != null ) { out.write(tempstring) ; } return ; } }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/SaveImage.java/buggy/servlets/SaveImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 1860, 288, 202, 780, 1479, 9506, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 780, 709, 71, 3567, 1082, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 780, 787, 67, 718, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 1937, 67, 718, 3113, 2564, 262, 274, 202, 780, 8100, 67, 718, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 23231, 67, 718, 3113, 2564, 262, 274, 202, 780, 1316, 67, 718, 1082, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 2730, 67, 718, 3113, 2564, 262, 274, 202, 812, 1316, 67, 803, 1082, 202, 33, 13134, 18, 588, 3748, 23218, 743, 12, 315, 2730, 67, 803, 3113, 2564, 262, 274, 202, 381, 710, 18, 3567, 18, 1299, 729, 274, 202, 780, 1729, 1585, 273, 1408, 274, 202, 780, 4879, 67, 529, 273, 1408, 274, 202, 780, 924, 8526, 274, 202, 474, 3774, 67, 2135, 273, 374, 274, 202, 381, 710, 18, 3567, 18, 2040, 1316, 273, 394, 709, 710, 18, 3567, 18, 2040, 12, 262, 274, 202, 455, 18, 542, 8046, 12, 315, 955, 19, 2620, 6, 11272, 202, 2289, 596, 273, 400, 18, 588, 2289, 12, 11272, 202, 759, 336, 2191, 67, 350, 202, 780, 312, 67, 350, 273, 1111, 18, 588, 1662, 12, 315, 3901, 67, 350, 6, 262, 274, 202, 474, 2191, 67, 350, 273, 2144, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 1860, 288, 202, 780, 1479, 9506, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 780, 709, 71, 3567, 1082, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 780, 787, 67, 718, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 1937, 67, 718, 3113, 2564, 262, 274, 202, 780, 8100, 67, 718, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 23231, 67, 718, 3113, 2564, 262, 274, 202, 780, 1316, 67, 718, 1082, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 2730, 67, 718, 3113, 2564, 262, 274, 202, 812, 1316, 67, 2 ]
delegate = (LocalUpdate) applicationContext.getBean( IUpdate.class.getName());
public void create() { super.create(); delegate = (LocalUpdate) applicationContext.getBean( IUpdate.class.getName()); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/dc8dde051a1e2b716514b3964c9222ce006ebea9/UpdateBean.java/buggy/components/ejb/src/ome/ro/ejb/UpdateBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 1435, 565, 288, 3639, 2240, 18, 2640, 5621, 3639, 7152, 273, 261, 2042, 1891, 13, 31775, 18, 588, 3381, 12, 5411, 467, 1891, 18, 1106, 18, 17994, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 1435, 565, 288, 3639, 2240, 18, 2640, 5621, 3639, 7152, 273, 261, 2042, 1891, 13, 31775, 18, 588, 3381, 12, 5411, 467, 1891, 18, 1106, 18, 17994, 10663, 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 ]
elm.setAttribute("onmouseover", "TM.show(evt)");
elm.setAttribute("onmousemove", "TM.show(evt)");
public void enableInteraction( InteractionEvent ie ) throws ChartException { if ( _iun == null ) { logger.log( ILogger.WARNING, Messages.getString( "exception.missing.component.interaction", getLocale( ) ) ); //$NON-NLS-1$ return; } Trigger[] triggers = ie.getTriggers( ); if ( triggers == null ) { return; } /////////////////////////////////////////////// //Create the hotspot and add the hotspot on //the SVG hotspot layer /////////////////////////////////////////////// final PrimitiveRenderEvent pre = ie.getHotSpot( ); Element elm = null; if ( pre instanceof PolygonRenderEvent ) { final Location[] loa = ( (PolygonRenderEvent) pre ).getPoints( ); int[][] pa = getCoordinatesAsInts( loa ); elm = svggc.createPolygon( pa[0], pa[1], pa[0].length ); } else if ( pre instanceof OvalRenderEvent ) { final Bounds boEllipse = ( (OvalRenderEvent) pre ).getBounds( ); elm = svggc.createOval( boEllipse.getLeft( ), boEllipse.getTop( ), boEllipse.getWidth( ), boEllipse.getHeight( ) ); } else if ( pre instanceof ArcRenderEvent ) { final ArcRenderEvent are = (ArcRenderEvent) pre; if ( are.getInnerRadius( ) >= 0 && are.getOuterRadius( ) > 0 && are.getInnerRadius( ) < are.getOuterRadius( ) ) { Shape outerArc = new Arc2D.Double( are.getTopLeft( ).getX( ) + ( are.getWidth( ) - 2 * are.getOuterRadius( ) ) / 2, are.getTopLeft( ).getY( ) + ( are.getHeight( ) - 2 * are.getOuterRadius( ) ) / 2, 2 * are.getOuterRadius( ), 2 * are.getOuterRadius( ), are.getStartAngle( ), are.getAngleExtent( ), Arc2D.PIE ); Shape innerArc = new Arc2D.Double( are.getTopLeft( ).getX( ) + ( are.getWidth( ) - 2 * are.getInnerRadius( ) ) / 2, are.getTopLeft( ).getY( ) + ( are.getHeight( ) - 2 * are.getInnerRadius( ) ) / 2, 2 * are.getInnerRadius( ), 2 * are.getInnerRadius( ), are.getStartAngle( ), are.getAngleExtent( ), Arc2D.PIE ); Area fArea = new Area( outerArc ); fArea.exclusiveOr( new Area( innerArc ) );// Shape prevClip = _g2d.getClip( );// _g2d.setClip( fArea ); elm = svggc.createGeneralPath( fArea );// _g2d.setClip( prevClip ); } else { elm = svggc.createGeneralPath( new Arc2D.Double( are.getTopLeft( ).getX( ), are.getTopLeft( ).getY( ), are.getWidth( ), are.getHeight( ), are.getStartAngle( ), are.getAngleExtent( ), toSwingArcType( are.getStyle( ) ) ) ); } } ////////////////////////////////////// //Add event handling to the hotspot ////////////////////////////////////// if (elm != null) { for (int x = 0; x < triggers.length; x++) { Trigger tg = triggers[x]; final StructureSource src = (StructureSource) ie.getSource( ); switch (tg.getAction().getType().getValue()) { case ActionType.SHOW_TOOLTIP: String tooltipText = ((TooltipValue) tg.getAction().getValue()).getText(); //make sure the tooltip text is not empty if ((tooltipText != null) && (tooltipText.trim().length() > 0)){ Element title = svggc.dom.createElement("title"); //$NON-NLS-1$ title.appendChild(svggc.dom .createTextNode(tooltipText)); elm.appendChild(title); elm.setAttribute("onmouseout", "TM.remove()"); //$NON-NLS-1$ //$NON-NLS-2$ elm.setAttribute("onmouseover", "TM.show(evt)"); //$NON-NLS-1$ //$NON-NLS-2$ } break; case ActionType.URL_REDIRECT: URLValue urlValue = ((URLValue) tg.getAction().getValue()); //See if this is an internal anchor link if ( urlValue.getBaseUrl().startsWith("#")){ //$NON-NLS-1$ Element aLink = ((SVGGraphics2D)_g2d).createElement("g"); //$NON-NLS-1$ aLink.setAttribute("onclick", "parent.document.location='"+urlValue.getBaseUrl()+"';"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ aLink.setAttribute("style", "cursor:pointer"); //$NON-NLS-1$ //$NON-NLS-2$ aLink.appendChild(elm); elm = aLink; } else{ Element aLink = ((SVGGraphics2D)_g2d).createElement("a"); //$NON-NLS-1$ aLink.setAttribute("xlink:href", urlValue.getBaseUrl()); //$NON-NLS-1$ if (urlValue.getTarget() != null) aLink.setAttribute("target", urlValue.getTarget()); //$NON-NLS-1$ aLink.appendChild(elm); elm = aLink; } break; case ActionType.TOGGLE_VISIBILITY : if ( src.getType( ) == StructureType.SERIES ) { final Series seRT = (Series) src.getSource( ); logger.log( ILogger.INFORMATION, Messages.getString( "info.toggle.visibility", //$NON-NLS-1$ getLocale() ) + seRT ); Series seDT = null; try { // THE // CORRESPONDING // DESIGN-TIME // SERIES seDT = findDesignTimeSeries( seRT ); // LOCATE cacheSeriesHotspots.put(elm, seDT); } catch ( ChartException oosx ) { logger.log( oosx ); return; } } break; case ActionType.TOGGLE_DATA_POINT_VISIBILITY : if ( src.getType( ) == StructureType.SERIES ) { final Series seRT = (Series) src.getSource( ); logger.log( ILogger.INFORMATION, Messages.getString( "info.toggle.datapoint.visibility", //$NON-NLS-1$ getLocale() ) + seRT ); Series seDT = null; try { seDT = findDesignTimeSeries( seRT ); } catch ( ChartException oosx ) { logger.log( oosx ); return; } if (seDT != null) cacheHotspots.put(elm, seDT); } break; case ActionType.HIGHLIGHT : if ( src.getType( ) == StructureType.SERIES ) { final Series seRT = (Series) src.getSource( ); logger.log( ILogger.INFORMATION, Messages.getString( "info.toggle.visibility", //$NON-NLS-1$ getLocale() ) + seRT ); String scriptEvent = getJsScriptEvent(tg.getCondition().getValue()); if (scriptEvent != null){ Series seDT = null; try { // THE // CORRESPONDING // DESIGN-TIME // SERIES seDT = findDesignTimeSeries( seRT ); // LOCATE List components = (List)componentPrimitives.get(seDT); if (components != null){ Iterator iter = components.iterator(); StringBuffer sb = new StringBuffer(); sb.append(seDT.hashCode()); if (iter.hasNext()) sb.append(",new Array("); //$NON-NLS-1$ while (iter.hasNext()){ sb.append("'").append(iter.next()).append("'"); //$NON-NLS-1$ //$NON-NLS-2$ if (iter.hasNext()) sb.append(","); //$NON-NLS-1$ } if (components.size() > 0) sb.append(")"); //$NON-NLS-1$ elm.setAttribute(scriptEvent, //$NON-NLS-1$ "highlight(evt, " //$NON-NLS-1$ + sb.toString() + ")"); //$NON-NLS-1$ //see if this is on mouse over event. Then we should have a on mouse out event to correctly reset //the highlight color if (tg.getCondition().getValue() == TriggerCondition.ONMOUSEOVER){ elm.setAttribute("onmouseout", //$NON-NLS-1$ "highlight(evt, null, null)"); //$NON-NLS-1$ } setCursor(elm); //should define style class and set the visibility to visible ((SVGGraphics2D)_g2d).addCSSStyle(".class"+seDT.hashCode(), "visibility", "visible"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ } } catch ( ChartException oosx ) { logger.log( oosx ); return; } } } break; case ActionType.INVOKE_SCRIPT: final StructureSource sructSource = (StructureSource) ie.getSource( ); String scriptEvent = getJsScriptEvent(tg.getCondition().getValue()); if (scriptEvent != null){ String script = ((ScriptValue) tg.getAction().getValue()).getScript(); String callbackFunction = "callback"+Math.abs(script.hashCode())+"(evt,"+sructSource.getSource().hashCode()+");"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ elm.setAttribute(scriptEvent, callbackFunction); setCursor(elm); if (!(scripts.contains(script))){ ((SVGGraphics2D)_g2d).addScript("function callback"+Math.abs(script.hashCode())+"(evt,source)" +"{"+script+"}"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ scripts.add(script); } } break; } } hotspotLayer.appendChild( elm ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4a328417c3f62c3aa389ac3a9faedb3b94ac378b/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4237, 17419, 12, 5294, 1128, 1133, 9228, 262, 1216, 14804, 503, 202, 95, 202, 202, 430, 261, 389, 77, 318, 422, 446, 262, 202, 202, 95, 1082, 202, 4901, 18, 1330, 12, 467, 3328, 18, 9511, 16, 6862, 202, 5058, 18, 588, 780, 12, 315, 4064, 18, 7337, 18, 4652, 18, 30303, 3113, 9595, 12, 262, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 6518, 8526, 11752, 273, 9228, 18, 588, 15114, 12, 11272, 202, 202, 430, 261, 11752, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6461, 2105, 18235, 19, 202, 202, 759, 1684, 326, 12811, 19032, 471, 527, 326, 12811, 19032, 603, 3196, 202, 759, 5787, 11281, 12811, 19032, 3018, 202, 202, 6461, 2105, 18235, 19, 202, 202, 6385, 14488, 3420, 1133, 675, 273, 9228, 18, 588, 25270, 17292, 12, 11272, 202, 202, 1046, 12531, 273, 446, 31, 202, 202, 430, 261, 675, 1276, 12681, 3420, 1133, 262, 202, 202, 95, 1082, 202, 6385, 7050, 8526, 437, 69, 273, 261, 261, 11787, 3420, 1133, 13, 675, 262, 18, 588, 5636, 12, 11272, 1082, 202, 474, 63, 6362, 65, 6790, 273, 19850, 27934, 1463, 24712, 12, 437, 69, 11272, 1082, 202, 19597, 273, 9804, 13241, 18, 2640, 11787, 12, 6790, 63, 20, 6487, 6790, 63, 21, 6487, 6790, 63, 20, 8009, 2469, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 675, 1276, 531, 1125, 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, 4237, 17419, 12, 5294, 1128, 1133, 9228, 262, 1216, 14804, 503, 202, 95, 202, 202, 430, 261, 389, 77, 318, 422, 446, 262, 202, 202, 95, 1082, 202, 4901, 18, 1330, 12, 467, 3328, 18, 9511, 16, 6862, 202, 5058, 18, 588, 780, 12, 315, 4064, 18, 7337, 18, 4652, 18, 30303, 3113, 9595, 12, 262, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 6518, 8526, 11752, 273, 9228, 18, 588, 15114, 12, 11272, 202, 202, 430, 261, 11752, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6461, 2105, 18235, 19, 202, 202, 759, 1684, 326, 12811, 19032, 2 ]
uri), h, fileSchema,
uri), h, urlSchema,
public static ProActiveDescriptorHandler createProActiveDescriptor( String xmlDescriptorUrl, VariableContract variableContract) throws java.io.IOException, org.xml.sax.SAXException { // static method added to replace main method try { InitialHandler h = new InitialHandler(xmlDescriptorUrl, variableContract); String uri = xmlDescriptorUrl; // we get the schema from the class location java.net.URL urlSchema = ProActiveDescriptorHandler.class.getResource( "/DescriptorSchema.xsd"); String pathSchema; if (urlSchema == null) { // In case the application is executed neither via the ant // script, nor via the jar file, we need to find the schema // manually urlSchema = ProActiveDescriptorHandler.class.getResource("/"); pathSchema = urlSchema.getPath(); pathSchema = pathSchema.concat(".." + java.io.File.separator + "descriptors" + java.io.File.separator + "DescriptorSchema.xsd"); } else { pathSchema = urlSchema.getPath(); } logger.debug("Using XML shema at location: "+pathSchema); java.io.File fileSchema = new java.io.File(pathSchema); org.objectweb.proactive.core.xml.io.StreamReader sr = null; sr = new org.objectweb.proactive.core.xml.io.StreamReader(new org.xml.sax.InputSource( uri), h, fileSchema, new SAXParserErrorHandlerTerminating()); sr.read(); return (ProActiveDescriptorHandler) h.getResultObject(); } catch (org.xml.sax.SAXException e) { // e.printStackTrace(); // logger.fatal( // "a problem occurs when getting the ProActiveDescriptorHandler"); throw e; } }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/7103021931f90504cb958b226c5fe6f6449060e5/ProActiveDescriptorHandler.java/buggy/src/org/objectweb/proactive/core/descriptor/xml/ProActiveDescriptorHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1186, 3896, 3187, 1503, 752, 626, 3896, 3187, 12, 3639, 514, 2025, 3187, 1489, 16, 7110, 8924, 2190, 8924, 13, 3639, 1216, 2252, 18, 1594, 18, 14106, 16, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 288, 3639, 368, 760, 707, 3096, 358, 1453, 2774, 707, 3639, 775, 288, 5411, 10188, 1503, 366, 273, 394, 10188, 1503, 12, 2902, 3187, 1489, 16, 10792, 2190, 8924, 1769, 5411, 514, 2003, 273, 2025, 3187, 1489, 31, 5411, 368, 732, 336, 326, 1963, 628, 326, 667, 2117, 5411, 2252, 18, 2758, 18, 1785, 880, 3078, 273, 1186, 3896, 3187, 1503, 18, 1106, 18, 588, 1420, 12, 10792, 2206, 3187, 3078, 18, 19144, 8863, 5411, 514, 589, 3078, 31, 5411, 309, 261, 718, 3078, 422, 446, 13, 288, 7734, 368, 657, 648, 326, 2521, 353, 7120, 15826, 3970, 326, 17841, 7734, 368, 2728, 16, 12517, 3970, 326, 7334, 585, 16, 732, 1608, 358, 1104, 326, 1963, 7734, 368, 10036, 7734, 880, 3078, 273, 1186, 3896, 3187, 1503, 18, 1106, 18, 588, 1420, 2932, 4898, 1769, 7734, 589, 3078, 273, 880, 3078, 18, 588, 743, 5621, 7734, 589, 3078, 273, 589, 3078, 18, 16426, 2932, 18460, 397, 2252, 18, 1594, 18, 812, 18, 11287, 397, 13491, 315, 72, 8379, 6, 397, 2252, 18, 1594, 18, 812, 18, 11287, 397, 13491, 315, 3187, 3078, 18, 19144, 8863, 5411, 289, 469, 288, 7734, 589, 3078, 273, 880, 3078, 18, 588, 743, 5621, 5411, 289, 5411, 1194, 18, 4148, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1186, 3896, 3187, 1503, 752, 626, 3896, 3187, 12, 3639, 514, 2025, 3187, 1489, 16, 7110, 8924, 2190, 8924, 13, 3639, 1216, 2252, 18, 1594, 18, 14106, 16, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 288, 3639, 368, 760, 707, 3096, 358, 1453, 2774, 707, 3639, 775, 288, 5411, 10188, 1503, 366, 273, 394, 10188, 1503, 12, 2902, 3187, 1489, 16, 10792, 2190, 8924, 1769, 5411, 514, 2003, 273, 2025, 3187, 1489, 31, 5411, 368, 732, 336, 326, 1963, 628, 326, 667, 2117, 5411, 2252, 18, 2758, 18, 1785, 880, 3078, 273, 1186, 3896, 3187, 1503, 18, 1106, 18, 588, 1420, 12, 10792, 2206, 3187, 3078, 18, 19144, 8863, 5411, 514, 589, 3078, 2 ]
for (int i = 0; i < rings.size(); i++) {
for (int i = 0; i < rings.size(); i++) {
private void markRingAtoms(Vector rings) { Ring ring = null; for (int i = 0; i < rings.size(); i++) { ring = (Ring)rings.elementAt(i); for (int j = 0; j < ring.getAtomCount(); j++) { ring.getAtomAt(j).flags[CDKConstants.ISINRING] = true; } } }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/0207507cbcff0172e0dc48407a71dcf4d56c8695/StructureDiagramGenerator.java/buggy/src/org/openscience/cdk/layout/StructureDiagramGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2267, 10369, 14280, 12, 5018, 26537, 13, 202, 95, 202, 202, 10369, 9221, 273, 446, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 26537, 18, 1467, 5621, 277, 27245, 202, 202, 95, 1082, 202, 8022, 273, 261, 10369, 13, 86, 899, 18, 2956, 861, 12, 77, 1769, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 9221, 18, 588, 3641, 1380, 5621, 525, 27245, 1082, 202, 95, 9506, 202, 8022, 18, 588, 3641, 861, 12, 78, 2934, 7133, 63, 39, 3398, 2918, 18, 5127, 706, 54, 1360, 65, 273, 638, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2267, 10369, 14280, 12, 5018, 26537, 13, 202, 95, 202, 202, 10369, 9221, 273, 446, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 26537, 18, 1467, 5621, 277, 27245, 202, 202, 95, 1082, 202, 8022, 273, 261, 10369, 13, 86, 899, 18, 2956, 861, 12, 77, 1769, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 9221, 18, 588, 3641, 1380, 5621, 525, 27245, 1082, 202, 95, 9506, 202, 8022, 18, 588, 3641, 861, 12, 78, 2934, 7133, 63, 39, 3398, 2918, 18, 5127, 706, 54, 1360, 65, 273, 638, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{ if (!(object instanceof CubeAccess)) { return false; } CubeAccess cubeAccess = (CubeAccess) object; ArrayList hierarchyList = cubeAccess.getNoAccessHierarchyList(); ArrayList limitedMemberList = cubeAccess.getLimitedMemberList();
{ if (!(object instanceof CubeAccess)) { return false; } CubeAccess cubeAccess = (CubeAccess) object; ArrayList hierarchyList = cubeAccess.getNoAccessHierarchyList(); ArrayList limitedMemberList = cubeAccess.getLimitedMemberList();
public boolean equals( Object object ) { if (!(object instanceof CubeAccess)) { return false; } CubeAccess cubeAccess = (CubeAccess) object; ArrayList hierarchyList = cubeAccess.getNoAccessHierarchyList(); ArrayList limitedMemberList = cubeAccess.getLimitedMemberList(); if ((this.hierarchyList.size() != hierarchyList.size()) || (this.memberList.size() != limitedMemberList.size())) { return false; } for (int i = 0; i < hierarchyList.size(); i++) { if (!this.hierarchyList.contains(hierarchyList.get(i))) { return false; } } for (int i = 0; i < limitedMemberList.size(); i++ ){ if (!this.memberList.contains( limitedMemberList.get(i))) { return false; } } return true; }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/CubeAccess.java/clean/src/main/mondrian/olap/CubeAccess.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1606, 12, 1033, 733, 262, 202, 95, 202, 202, 430, 16051, 12, 1612, 1276, 385, 4895, 1862, 3719, 288, 1082, 282, 327, 629, 31, 202, 202, 97, 202, 202, 39, 4895, 1862, 18324, 1862, 273, 261, 39, 4895, 1862, 13, 733, 31, 202, 202, 19558, 9360, 682, 273, 18324, 1862, 18, 588, 2279, 1862, 12074, 682, 5621, 202, 202, 19558, 13594, 4419, 682, 273, 18324, 1862, 18, 588, 3039, 329, 4419, 682, 5621, 3639, 309, 14015, 2211, 18, 17937, 682, 18, 1467, 1435, 480, 9360, 682, 18, 1467, 10756, 747, 5411, 261, 2211, 18, 5990, 682, 18, 1467, 1435, 480, 13594, 4419, 682, 18, 1467, 1435, 3719, 288, 5411, 327, 629, 31, 3639, 289, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 9360, 682, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 430, 16051, 2211, 18, 17937, 682, 18, 12298, 12, 17937, 682, 18, 588, 12, 77, 20349, 288, 9506, 202, 2463, 629, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 13594, 4419, 682, 18, 1467, 5621, 277, 9904, 262, 95, 1082, 202, 430, 16051, 2211, 18, 5990, 682, 18, 12298, 12, 13594, 4419, 682, 18, 588, 12, 77, 20349, 288, 9506, 202, 2463, 629, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1606, 12, 1033, 733, 262, 202, 95, 202, 202, 430, 16051, 12, 1612, 1276, 385, 4895, 1862, 3719, 288, 1082, 282, 327, 629, 31, 202, 202, 97, 202, 202, 39, 4895, 1862, 18324, 1862, 273, 261, 39, 4895, 1862, 13, 733, 31, 202, 202, 19558, 9360, 682, 273, 18324, 1862, 18, 588, 2279, 1862, 12074, 682, 5621, 202, 202, 19558, 13594, 4419, 682, 273, 18324, 1862, 18, 588, 3039, 329, 4419, 682, 5621, 3639, 309, 14015, 2211, 18, 17937, 682, 18, 1467, 1435, 480, 9360, 682, 18, 1467, 10756, 747, 5411, 261, 2211, 18, 5990, 682, 18, 1467, 1435, 480, 13594, 4419, 682, 18, 1467, 1435, 3719, 288, 5411, 327, 629, 31, 3639, 289, 202, 2 ]
}
public void print(String s, final ConsoleViewContentType contentType) { synchronized(LOCK){ s = StringUtil.convertLineSeparators(s, "\n"); myContentSize += s.length(); myDeferredOutput.append(s); final int length = myDeferredOutput.length(); if (USE_CYCLIC_BUFFER && length > CYCLIC_BUFFER_SIZE) { myDeferredOutput.delete(0, length - CYCLIC_BUFFER_SIZE); } if (contentType == ConsoleViewContentType.USER_INPUT){ myDeferredUserInput.append(s); } boolean needNew = true; if (!myTokens.isEmpty()){ final TokenInfo lastToken = myTokens.get(myTokens.size() - 1); if (lastToken.contentType == contentType){ lastToken.endOffset = myContentSize; // optimization needNew = false; } } if (needNew){ myTokens.add(new TokenInfo(contentType, myContentSize - s.length(), myContentSize)); } } if (s.indexOf('\n') >= 0 || s.indexOf('\r') >= 0){ if (contentType == ConsoleViewContentType.USER_INPUT){ flushDeferredUserInput(); } } final Runnable requestFlush = new Runnable() { public void run() { if (myFlushAlarm.getActiveRequestCount() == 0 && myEditor != null) { myFlushAlarm.addRequest(myFlushDeferredRunnable, FLUSH_DELAY, ModalityState.stateForComponent(myEditor.getComponent())); } } }; if (EventQueue.isDispatchThread()) { requestFlush.run(); } else { SwingUtilities.invokeLater(requestFlush); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/b2c98303d8266acfaa2462a108951e78cf7cbaa7/ConsoleViewImpl.java/buggy/execution/impl/com/intellij/execution/impl/ConsoleViewImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1172, 12, 780, 272, 16, 727, 9657, 1767, 8046, 5064, 13, 288, 565, 3852, 12, 6589, 15329, 1377, 272, 273, 14205, 18, 6283, 1670, 16842, 3062, 12, 87, 16, 225, 1548, 82, 8863, 1377, 3399, 1350, 1225, 1011, 272, 18, 2469, 5621, 1377, 3399, 16886, 1447, 18, 6923, 12, 87, 1769, 1377, 727, 509, 769, 273, 3399, 16886, 1447, 18, 2469, 5621, 1377, 309, 261, 8001, 67, 16068, 39, 6065, 67, 11302, 597, 769, 405, 29335, 39, 6065, 67, 11302, 67, 4574, 13, 288, 3639, 3399, 16886, 1447, 18, 3733, 12, 20, 16, 769, 300, 29335, 39, 6065, 67, 11302, 67, 4574, 1769, 6647, 309, 261, 22194, 422, 9657, 1767, 8046, 18, 4714, 67, 15934, 15329, 3639, 3399, 16886, 29423, 18, 6923, 12, 87, 1769, 6647, 1250, 1608, 1908, 273, 638, 31, 1377, 309, 16051, 4811, 5157, 18, 291, 1921, 10756, 95, 3639, 727, 3155, 966, 27231, 273, 3399, 5157, 18, 588, 12, 4811, 5157, 18, 1467, 1435, 300, 404, 1769, 3639, 309, 261, 2722, 1345, 18, 22194, 422, 5064, 15329, 1850, 27231, 18, 409, 2335, 273, 3399, 1350, 1225, 31, 368, 14850, 1850, 1608, 1908, 273, 629, 31, 5375, 309, 261, 14891, 1908, 15329, 3639, 3399, 5157, 18, 1289, 12, 2704, 3155, 966, 12, 22194, 16, 3399, 1350, 1225, 300, 272, 18, 2469, 9334, 3399, 1350, 1225, 10019, 5411, 309, 261, 87, 18, 31806, 2668, 64, 82, 6134, 1545, 374, 747, 272, 18, 31806, 2668, 64, 86, 6134, 1545, 374, 15329, 1377, 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, 282, 1071, 918, 1172, 12, 780, 272, 16, 727, 9657, 1767, 8046, 5064, 13, 288, 565, 3852, 12, 6589, 15329, 1377, 272, 273, 14205, 18, 6283, 1670, 16842, 3062, 12, 87, 16, 225, 1548, 82, 8863, 1377, 3399, 1350, 1225, 1011, 272, 18, 2469, 5621, 1377, 3399, 16886, 1447, 18, 6923, 12, 87, 1769, 1377, 727, 509, 769, 273, 3399, 16886, 1447, 18, 2469, 5621, 1377, 309, 261, 8001, 67, 16068, 39, 6065, 67, 11302, 597, 769, 405, 29335, 39, 6065, 67, 11302, 67, 4574, 13, 288, 3639, 3399, 16886, 1447, 18, 3733, 12, 20, 16, 769, 300, 29335, 39, 6065, 67, 11302, 67, 4574, 1769, 6647, 309, 261, 22194, 422, 9657, 1767, 8046, 18, 4714, 67, 15934, 15329, 2 ]
public void validate() throws org.exolab.castor.xml.ValidationException;
/** * Redistribution and use of this software and associated documentation * ("Software"), with or without modification, are permitted provided * that the following conditions are met: * * 1. Redistributions of source code must retain copyright * statements and notices. Redistributions must also contain a * copy of this document. * * 2. Redistributions in binary form must reproduce the * above copyright notice, this list of conditions and the * following disclaimer in the documentation and/or other * materials provided with the distribution. * * 3. The name "OpenEJB" must not be used to endorse or promote * products derived from this Software without prior written * permission of The OpenEJB Group. For written permission, * please contact openejb-group@openejb.sf.net. * * 4. Products derived from this Software may not be called "OpenEJB" * nor may "OpenEJB" appear in their names without prior written * permission of The OpenEJB Group. OpenEJB is a registered * trademark of The OpenEJB Group. * * 5. Due credit should be given to the OpenEJB Project * (http:
public void validate() throws org.exolab.castor.xml.ValidationException;
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/78977404bdf113bd4290cc2e8ad33d5fccb020a5/Service.java/clean/openejb2/modules/core/src/java/org/openejb/config/Service.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1954, 1435, 1216, 2358, 18, 338, 355, 378, 18, 4155, 280, 18, 2902, 18, 18146, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1954, 1435, 1216, 2358, 18, 338, 355, 378, 18, 4155, 280, 18, 2902, 18, 18146, 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 ]
else if (exp.func instanceof LambdaExp)
else if (exp.func instanceof LambdaExp && ! (exp.func instanceof ClassExp))
protected Expression walkApplyExp(ApplyExp exp) { if (inTailContext) exp.setTailCall(true); exp.context = currentLambda; boolean save = inTailContext; LambdaExp lexp = null; try { inTailContext = false; boolean isAppendValues = false; if (exp.func instanceof ReferenceExp) { ReferenceExp func = (ReferenceExp) exp.func; Declaration binding = Declaration.followAliases(func.binding); if (binding != null) { exp.nextCall = binding.firstCall; binding.firstCall = exp; binding.setCanCall(); Expression value = binding.getValue(); if (value instanceof LambdaExp) lexp = (LambdaExp) value; } } else if (exp.func instanceof LambdaExp) { lexp = (LambdaExp) exp.func; walkLambdaExp(lexp, false); lexp.setCanCall(true); } else if (exp.func instanceof QuoteExp && (((QuoteExp) exp.func).getValue() == gnu.kawa.functions.AppendValues.appendValues)) isAppendValues = true; else exp.func = (Expression) exp.func.walk(this); if (lexp != null) { if (lexp.returnContinuation == exp) ; // OK else if (lexp == currentLambda && save) ; // (Self-)tail-recursion is OK. else if (lexp.returnContinuation == null) lexp.returnContinuation = exp; else lexp.returnContinuation = LambdaExp.unknownContinuation; } if (isAppendValues && exp.args.length > 0) { int last = exp.args.length - 1; exp.args = walkExps(exp.args, last); inTailContext = save; exp.args[last] = walk(exp.args[last]); } else exp.args = walkExps(exp.args); return exp; } finally { inTailContext = save; } }
37648 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37648/227f1e0787977c7c949df8557c3ad9ad7dcf6e33/FindTailCalls.java/buggy/gnu/expr/FindTailCalls.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 5371, 5442, 7001, 2966, 12, 7001, 2966, 1329, 13, 225, 288, 565, 309, 261, 267, 12363, 1042, 13, 1377, 1329, 18, 542, 12363, 1477, 12, 3767, 1769, 565, 1329, 18, 2472, 273, 783, 12025, 31, 565, 1250, 1923, 273, 316, 12363, 1042, 31, 565, 12801, 2966, 5275, 84, 273, 446, 31, 565, 775, 1377, 288, 202, 267, 12363, 1042, 273, 629, 31, 202, 6494, 353, 5736, 1972, 273, 629, 31, 202, 430, 261, 2749, 18, 644, 1276, 6268, 2966, 13, 202, 225, 288, 202, 565, 6268, 2966, 1326, 273, 261, 2404, 2966, 13, 1329, 18, 644, 31, 202, 565, 16110, 4302, 5085, 273, 16110, 4302, 18, 14641, 9667, 12, 644, 18, 7374, 1769, 202, 565, 309, 261, 7374, 480, 446, 13, 202, 1377, 288, 202, 202, 2749, 18, 4285, 1477, 273, 5085, 18, 3645, 1477, 31, 202, 202, 7374, 18, 3645, 1477, 273, 1329, 31, 202, 202, 7374, 18, 542, 2568, 1477, 5621, 202, 202, 2300, 460, 273, 5085, 18, 24805, 5621, 202, 202, 430, 261, 1132, 1276, 12801, 2966, 13, 1082, 225, 5275, 84, 273, 261, 12025, 2966, 13, 460, 31, 202, 1377, 289, 202, 225, 289, 202, 12107, 309, 261, 2749, 18, 644, 1276, 12801, 2966, 13, 202, 225, 288, 202, 565, 5275, 84, 273, 261, 12025, 2966, 13, 1329, 18, 644, 31, 202, 565, 5442, 12025, 2966, 12, 4149, 84, 16, 629, 1769, 202, 565, 5275, 84, 18, 542, 2568, 1477, 12, 3767, 1769, 202, 225, 289, 202, 12107, 309, 261, 2749, 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, 5371, 5442, 7001, 2966, 12, 7001, 2966, 1329, 13, 225, 288, 565, 309, 261, 267, 12363, 1042, 13, 1377, 1329, 18, 542, 12363, 1477, 12, 3767, 1769, 565, 1329, 18, 2472, 273, 783, 12025, 31, 565, 1250, 1923, 273, 316, 12363, 1042, 31, 565, 12801, 2966, 5275, 84, 273, 446, 31, 565, 775, 1377, 288, 202, 267, 12363, 1042, 273, 629, 31, 202, 6494, 353, 5736, 1972, 273, 629, 31, 202, 430, 261, 2749, 18, 644, 1276, 6268, 2966, 13, 202, 225, 288, 202, 565, 6268, 2966, 1326, 273, 261, 2404, 2966, 13, 1329, 18, 644, 31, 202, 565, 16110, 4302, 5085, 273, 16110, 4302, 18, 14641, 9667, 12, 644, 18, 7374, 1769, 202, 565, 309, 261, 2 ]
if(!valid) {
if (!valid) {
public void run() throws Exception { FileInputStream input = new FileInputStream(stateFile); BufferedReader reader = new BufferedReader(new InputStreamReader(input, "utf-8")); //$NON-NLS-1$ IMemento memento = XMLMemento.createReadRoot(reader); // Validate known version format String version = memento.getString(IWorkbenchConstants.TAG_VERSION); boolean valid = false; for (int i = 0; i < VERSION_STRING.length; i++) { if(VERSION_STRING[i].equals(version)) { valid = true; break; } } if(!valid) { reader.close(); MessageDialog.openError( (Shell) null, WorkbenchMessages.getString("Restoring_Problems"), //$NON-NLS-1$ WorkbenchMessages.getString("Invalid_workbench_state_ve")); //$NON-NLS-1$ stateFile.delete(); result[0] = RESTORE_CODE_RESET; return; } // Validate compatible version format // We no longer support the release 1.0 format if (VERSION_STRING[0].equals(version)) { reader.close(); boolean ignoreSavedState = new MessageDialog( null, WorkbenchMessages.getString("Workbench.incompatibleUIState"), //$NON-NLS-1$ null, WorkbenchMessages.getString("Workbench.incompatibleSavedStateVersion"), //$NON-NLS-1$ MessageDialog.WARNING, new String[] {IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL}, 0).open() == 0; // OK is the default if (ignoreSavedState) { stateFile.delete(); result[0] = RESTORE_CODE_RESET; } else { result[0] = RESTORE_CODE_EXIT; } return; } // Restore the saved state IStatus restoreResult = restoreState(memento); reader.close(); if(restoreResult.getSeverity() == IStatus.ERROR) { ErrorDialog.openError( null, WorkbenchMessages.getString("Workspace.problemsTitle"), WorkbenchMessages.getString("Workbench.problemsRestoringMsg"), restoreResult); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/25425fe3505bc6f62e9021f3f79e33d77a752241/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 1216, 1185, 288, 9506, 202, 812, 4348, 810, 273, 394, 11907, 12, 2019, 812, 1769, 9506, 202, 17947, 2514, 2949, 273, 394, 10633, 12, 2704, 15322, 12, 2630, 16, 315, 3158, 17, 28, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 3445, 820, 83, 312, 820, 83, 273, 3167, 49, 820, 83, 18, 2640, 1994, 2375, 12, 10530, 1769, 6862, 9506, 202, 759, 3554, 4846, 1177, 740, 9506, 202, 780, 1177, 273, 312, 820, 83, 18, 588, 780, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 5757, 1769, 9506, 202, 6494, 923, 273, 629, 31, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 8456, 67, 5804, 18, 2469, 31, 277, 27245, 288, 6862, 202, 430, 12, 5757, 67, 5804, 63, 77, 8009, 14963, 12, 1589, 3719, 288, 25083, 202, 877, 273, 638, 31, 25083, 202, 8820, 31, 6862, 202, 97, 9506, 202, 97, 9506, 202, 430, 12, 5, 877, 13, 288, 6862, 202, 10530, 18, 4412, 5621, 6862, 202, 1079, 6353, 18, 3190, 668, 12, 25083, 202, 12, 13220, 13, 446, 16, 25083, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 5188, 6053, 67, 626, 19122, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 1941, 67, 1252, 22144, 67, 2019, 67, 537, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2019, 812, 18, 3733, 5621, 6862, 202, 2088, 63, 20, 65, 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, 1875, 202, 482, 918, 1086, 1435, 1216, 1185, 288, 9506, 202, 812, 4348, 810, 273, 394, 11907, 12, 2019, 812, 1769, 9506, 202, 17947, 2514, 2949, 273, 394, 10633, 12, 2704, 15322, 12, 2630, 16, 315, 3158, 17, 28, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 3445, 820, 83, 312, 820, 83, 273, 3167, 49, 820, 83, 18, 2640, 1994, 2375, 12, 10530, 1769, 6862, 9506, 202, 759, 3554, 4846, 1177, 740, 9506, 202, 780, 1177, 273, 312, 820, 83, 18, 588, 780, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 5757, 1769, 9506, 202, 6494, 923, 273, 629, 31, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 8456, 67, 5804, 18, 2 ]
elementDecl.name.prefix = -1; elementDecl.name.rawname = -1; elementDecl.name.localpart = fElementDeclNameIndex[chunk][index]; elementDecl.name.uri = 0;
elementDecl.name.setValues(fElementDeclName[chunk][index]);
public boolean getElementDecl(int elementDeclIndex, XMLElementDecl elementDecl) { if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) { return false; } int chunk = elementDeclIndex >> CHUNK_SHIFT; int index = elementDeclIndex & CHUNK_MASK; //elementDecl.name.clear(); elementDecl.name.prefix = -1; elementDecl.name.rawname = -1; elementDecl.name.localpart = fElementDeclNameIndex[chunk][index]; elementDecl.name.uri = 0; // "" if (fElementDeclType[chunk][index] == -1) { elementDecl.type = -1; elementDecl.list = false; } else { elementDecl.type = fElementDeclType[chunk][index] & LIST_MASK; elementDecl.list = (fElementDeclType[chunk][index] & LIST_FLAG) != 0; } elementDecl.datatypeValidator = fElementDeclDatatypeValidator[chunk][index]; elementDecl.contentSpecIndex = fElementDeclContentSpecIndex[chunk][index]; return true; }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/70ab2180e294cbb9255e244dea80b4b507371573/Grammar.java/clean/src/org/apache/xerces/validators/common/Grammar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 7426, 3456, 12, 474, 930, 3456, 1016, 16, 1139, 11155, 3456, 930, 3456, 13, 288, 3639, 309, 261, 2956, 3456, 1016, 411, 374, 747, 930, 3456, 1016, 1545, 284, 1046, 3456, 1380, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 509, 2441, 273, 930, 3456, 1016, 1671, 28096, 67, 23191, 31, 3639, 509, 770, 273, 930, 3456, 1016, 473, 225, 28096, 67, 11704, 31, 3639, 368, 2956, 3456, 18, 529, 18, 8507, 5621, 3639, 930, 3456, 18, 529, 18, 3239, 273, 300, 21, 31, 3639, 930, 3456, 18, 529, 18, 1899, 529, 273, 300, 21, 31, 3639, 930, 3456, 18, 529, 18, 3729, 2680, 1850, 273, 284, 1046, 3456, 461, 1016, 63, 6551, 6362, 1615, 15533, 15604, 930, 3456, 18, 529, 18, 1650, 7734, 273, 374, 31, 368, 1408, 3639, 309, 261, 74, 1046, 3456, 559, 63, 6551, 6362, 1615, 65, 422, 300, 21, 13, 288, 5411, 930, 3456, 18, 723, 10792, 273, 300, 21, 31, 5411, 930, 3456, 18, 1098, 273, 629, 31, 3639, 289, 3639, 469, 288, 5411, 930, 3456, 18, 723, 10792, 273, 284, 1046, 3456, 559, 63, 6551, 6362, 1615, 65, 473, 15130, 67, 11704, 31, 5411, 930, 3456, 18, 1098, 273, 261, 74, 1046, 3456, 559, 63, 6551, 6362, 1615, 65, 473, 15130, 67, 9651, 13, 480, 374, 31, 3639, 289, 3639, 930, 3456, 18, 21540, 5126, 4202, 273, 284, 1046, 3456, 20228, 5126, 63, 6551, 6362, 1615, 15533, 9079, 930, 3456, 18, 1745, 1990, 1016, 3639, 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, 1250, 7426, 3456, 12, 474, 930, 3456, 1016, 16, 1139, 11155, 3456, 930, 3456, 13, 288, 3639, 309, 261, 2956, 3456, 1016, 411, 374, 747, 930, 3456, 1016, 1545, 284, 1046, 3456, 1380, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 509, 2441, 273, 930, 3456, 1016, 1671, 28096, 67, 23191, 31, 3639, 509, 770, 273, 930, 3456, 1016, 473, 225, 28096, 67, 11704, 31, 3639, 368, 2956, 3456, 18, 529, 18, 8507, 5621, 3639, 930, 3456, 18, 529, 18, 3239, 273, 300, 21, 31, 3639, 930, 3456, 18, 529, 18, 1899, 529, 273, 300, 21, 31, 3639, 930, 3456, 18, 529, 18, 3729, 2680, 1850, 273, 284, 1046, 3456, 461, 1016, 63, 6551, 6362, 1615, 2 ]
((Math.abs(inClose[i - 1] - inOpen[i - 1])) < (Math .abs(inClose[i - 2] - inOpen[i - 2])) - ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].avgPeriod) != 0.0 ? FarPeriodTotal[2] / (this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (Math .abs(inClose[i] - inOpen[i])) < (Math .abs(inClose[i - 1] - inOpen[i - 1])) + ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) != 0.0 ? NearPeriodTotal[1] / (this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0))) ||
if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLADVANCEBLOCK_Lookback (); if( startIdx < lookbackTotal ) startIdx = lookbackTotal;
public TA_RetCode CDLADVANCEBLOCK(int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[]) { double[] ShadowShortPeriodTotal = new double[3]; ; double[] ShadowLongPeriodTotal = new double[2]; ; double[] NearPeriodTotal = new double[3]; ; double[] FarPeriodTotal = new double[3]; ; double BodyLongPeriodTotal; int i, outIdx, totIdx, BodyLongTrailingIdx, ShadowShortTrailingIdx, ShadowLongTrailingIdx, NearTrailingIdx, FarTrailingIdx, lookbackTotal; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLADVANCEBLOCK_Lookback(); if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } ShadowShortPeriodTotal[2] = 0; ShadowShortPeriodTotal[1] = 0; ShadowShortPeriodTotal[0] = 0; ShadowShortTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].avgPeriod); ShadowLongPeriodTotal[1] = 0; ShadowLongPeriodTotal[0] = 0; ShadowLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].avgPeriod); NearPeriodTotal[2] = 0; NearPeriodTotal[1] = 0; NearPeriodTotal[0] = 0; NearTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_Near.ordinal()].avgPeriod); FarPeriodTotal[2] = 0; FarPeriodTotal[1] = 0; FarPeriodTotal[0] = 0; FarTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_Far.ordinal()].avgPeriod); BodyLongPeriodTotal = 0; BodyLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod); i = ShadowShortTrailingIdx; while (i < startIdx) { ShadowShortPeriodTotal[2] += ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0))); ShadowShortPeriodTotal[1] += ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0))); ShadowShortPeriodTotal[0] += ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = ShadowLongTrailingIdx; while (i < startIdx) { ShadowLongPeriodTotal[1] += ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0))); ShadowLongPeriodTotal[0] += ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = NearTrailingIdx; while (i < startIdx) { NearPeriodTotal[2] += ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0))); NearPeriodTotal[1] += ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0))); i++; } i = FarTrailingIdx; while (i < startIdx) { FarPeriodTotal[2] += ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0))); FarPeriodTotal[1] += ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0))); i++; } i = BodyLongTrailingIdx; while (i < startIdx) { BodyLongPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0))); i++; } i = startIdx; outIdx = 0; do { if ((inClose[i - 2] >= inOpen[i - 2] ? 1 : -1) == 1 && (inClose[i - 1] >= inOpen[i - 1] ? 1 : -1) == 1 && (inClose[i] >= inOpen[i] ? 1 : -1) == 1 && inClose[i] > inClose[i - 1] && inClose[i - 1] > inClose[i - 2] && inOpen[i - 1] > inOpen[i - 2] && inOpen[i - 1] <= inClose[i - 2] + ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) != 0.0 ? NearPeriodTotal[2] / (this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && inOpen[i] > inOpen[i - 1] && inOpen[i] <= inClose[i - 1] + ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) != 0.0 ? NearPeriodTotal[1] / (this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (Math.abs(inClose[i - 2] - inOpen[i - 2])) > ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod) != 0.0 ? BodyLongPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) < ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].avgPeriod) != 0.0 ? ShadowShortPeriodTotal[2] / (this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && ( ((Math.abs(inClose[i - 1] - inOpen[i - 1])) < (Math .abs(inClose[i - 2] - inOpen[i - 2])) - ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].avgPeriod) != 0.0 ? FarPeriodTotal[2] / (this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (Math .abs(inClose[i] - inOpen[i])) < (Math .abs(inClose[i - 1] - inOpen[i - 1])) + ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) != 0.0 ? NearPeriodTotal[1] / (this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0))) || ((Math.abs(inClose[i] - inOpen[i])) < (Math .abs(inClose[i - 1] - inOpen[i - 1])) - ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].avgPeriod) != 0.0 ? FarPeriodTotal[1] / (this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0))) || ((Math.abs(inClose[i] - inOpen[i])) < (Math .abs(inClose[i - 1] - inOpen[i - 1])) && (Math .abs(inClose[i - 1] - inOpen[i - 1])) < (Math .abs(inClose[i - 2] - inOpen[i - 2])) && ((inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) > ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].avgPeriod) != 0.0 ? ShadowShortPeriodTotal[0] / (this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) || (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) > ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].avgPeriod) != 0.0 ? ShadowShortPeriodTotal[1] / (this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)))) || ((Math.abs(inClose[i] - inOpen[i])) < (Math .abs(inClose[i - 1] - inOpen[i - 1])) && (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) > ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].avgPeriod) != 0.0 ? ShadowLongPeriodTotal[0] / (this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0))))) outInteger[outIdx++] = -100; else outInteger[outIdx++] = 0; for (totIdx = 2; totIdx >= 0; --totIdx) ShadowShortPeriodTotal[totIdx] += ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - totIdx] - inOpen[i - totIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - totIdx] - inLow[i - totIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - totIdx] - (inClose[i - totIdx] >= inOpen[i - totIdx] ? inClose[i - totIdx] : inOpen[i - totIdx])) + ((inClose[i - totIdx] >= inOpen[i - totIdx] ? inOpen[i - totIdx] : inClose[i - totIdx]) - inLow[i - totIdx]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[ShadowShortTrailingIdx - totIdx] - inOpen[ShadowShortTrailingIdx - totIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[ShadowShortTrailingIdx - totIdx] - inLow[ShadowShortTrailingIdx - totIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[ShadowShortTrailingIdx - totIdx] - (inClose[ShadowShortTrailingIdx - totIdx] >= inOpen[ShadowShortTrailingIdx - totIdx] ? inClose[ShadowShortTrailingIdx - totIdx] : inOpen[ShadowShortTrailingIdx - totIdx])) + ((inClose[ShadowShortTrailingIdx - totIdx] >= inOpen[ShadowShortTrailingIdx - totIdx] ? inOpen[ShadowShortTrailingIdx - totIdx] : inClose[ShadowShortTrailingIdx - totIdx]) - inLow[ShadowShortTrailingIdx - totIdx]) : 0))); for (totIdx = 1; totIdx >= 0; --totIdx) ShadowLongPeriodTotal[totIdx] += ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - totIdx] - inOpen[i - totIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - totIdx] - inLow[i - totIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - totIdx] - (inClose[i - totIdx] >= inOpen[i - totIdx] ? inClose[i - totIdx] : inOpen[i - totIdx])) + ((inClose[i - totIdx] >= inOpen[i - totIdx] ? inOpen[i - totIdx] : inClose[i - totIdx]) - inLow[i - totIdx]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[ShadowLongTrailingIdx - totIdx] - inOpen[ShadowLongTrailingIdx - totIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[ShadowLongTrailingIdx - totIdx] - inLow[ShadowLongTrailingIdx - totIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[ShadowLongTrailingIdx - totIdx] - (inClose[ShadowLongTrailingIdx - totIdx] >= inOpen[ShadowLongTrailingIdx - totIdx] ? inClose[ShadowLongTrailingIdx - totIdx] : inOpen[ShadowLongTrailingIdx - totIdx])) + ((inClose[ShadowLongTrailingIdx - totIdx] >= inOpen[ShadowLongTrailingIdx - totIdx] ? inOpen[ShadowLongTrailingIdx - totIdx] : inClose[ShadowLongTrailingIdx - totIdx]) - inLow[ShadowLongTrailingIdx - totIdx]) : 0))); for (totIdx = 2; totIdx >= 1; --totIdx) { FarPeriodTotal[totIdx] += ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - totIdx] - inOpen[i - totIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - totIdx] - inLow[i - totIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - totIdx] - (inClose[i - totIdx] >= inOpen[i - totIdx] ? inClose[i - totIdx] : inOpen[i - totIdx])) + ((inClose[i - totIdx] >= inOpen[i - totIdx] ? inOpen[i - totIdx] : inClose[i - totIdx]) - inLow[i - totIdx]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[FarTrailingIdx - totIdx] - inOpen[FarTrailingIdx - totIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[FarTrailingIdx - totIdx] - inLow[FarTrailingIdx - totIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[FarTrailingIdx - totIdx] - (inClose[FarTrailingIdx - totIdx] >= inOpen[FarTrailingIdx - totIdx] ? inClose[FarTrailingIdx - totIdx] : inOpen[FarTrailingIdx - totIdx])) + ((inClose[FarTrailingIdx - totIdx] >= inOpen[FarTrailingIdx - totIdx] ? inOpen[FarTrailingIdx - totIdx] : inClose[FarTrailingIdx - totIdx]) - inLow[FarTrailingIdx - totIdx]) : 0))); NearPeriodTotal[totIdx] += ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - totIdx] - inOpen[i - totIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - totIdx] - inLow[i - totIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - totIdx] - (inClose[i - totIdx] >= inOpen[i - totIdx] ? inClose[i - totIdx] : inOpen[i - totIdx])) + ((inClose[i - totIdx] >= inOpen[i - totIdx] ? inOpen[i - totIdx] : inClose[i - totIdx]) - inLow[i - totIdx]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[NearTrailingIdx - totIdx] - inOpen[NearTrailingIdx - totIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[NearTrailingIdx - totIdx] - inLow[NearTrailingIdx - totIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[NearTrailingIdx - totIdx] - (inClose[NearTrailingIdx - totIdx] >= inOpen[NearTrailingIdx - totIdx] ? inClose[NearTrailingIdx - totIdx] : inOpen[NearTrailingIdx - totIdx])) + ((inClose[NearTrailingIdx - totIdx] >= inOpen[NearTrailingIdx - totIdx] ? inOpen[NearTrailingIdx - totIdx] : inClose[NearTrailingIdx - totIdx]) - inLow[NearTrailingIdx - totIdx]) : 0))); } BodyLongPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[BodyLongTrailingIdx - 2] - inOpen[BodyLongTrailingIdx - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[BodyLongTrailingIdx - 2] - inLow[BodyLongTrailingIdx - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[BodyLongTrailingIdx - 2] - (inClose[BodyLongTrailingIdx - 2] >= inOpen[BodyLongTrailingIdx - 2] ? inClose[BodyLongTrailingIdx - 2] : inOpen[BodyLongTrailingIdx - 2])) + ((inClose[BodyLongTrailingIdx - 2] >= inOpen[BodyLongTrailingIdx - 2] ? inOpen[BodyLongTrailingIdx - 2] : inClose[BodyLongTrailingIdx - 2]) - inLow[BodyLongTrailingIdx - 2]) : 0))); i++; ShadowShortTrailingIdx++; ShadowLongTrailingIdx++; NearTrailingIdx++; FarTrailingIdx++; BodyLongTrailingIdx++; } while (i <= endIdx); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode.TA_SUCCESS; }
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 385, 8914, 1880, 58, 4722, 11403, 12, 474, 27108, 16, 509, 679, 4223, 16, 1082, 202, 9056, 316, 3678, 63, 6487, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 63, 5717, 288, 202, 202, 9056, 8526, 24915, 4897, 5027, 5269, 273, 394, 1645, 63, 23, 15533, 202, 202, 31, 202, 202, 9056, 8526, 24915, 3708, 5027, 5269, 273, 394, 1645, 63, 22, 15533, 202, 202, 31, 202, 202, 9056, 8526, 423, 2091, 5027, 5269, 273, 394, 1645, 63, 23, 15533, 202, 202, 31, 202, 202, 9056, 8526, 478, 297, 5027, 5269, 273, 394, 1645, 63, 23, 15533, 202, 202, 31, 202, 202, 9056, 5652, 3708, 5027, 5269, 31, 202, 202, 474, 277, 16, 596, 4223, 16, 9997, 4223, 16, 5652, 3708, 16808, 4223, 16, 24915, 4897, 16808, 4223, 16, 24915, 3708, 16808, 4223, 16, 423, 2091, 16808, 4223, 16, 478, 297, 16808, 4223, 16, 2324, 823, 5269, 31, 202, 202, 430, 261, 1937, 4223, 411, 374, 13, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 202, 202, 430, 14015, 409, 4223, 411, 374, 13, 747, 261, 409, 4223, 411, 27108, 3719, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 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, 225, 202, 482, 399, 37, 67, 7055, 1085, 385, 8914, 1880, 58, 4722, 11403, 12, 474, 27108, 16, 509, 679, 4223, 16, 1082, 202, 9056, 316, 3678, 63, 6487, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 63, 5717, 288, 202, 202, 9056, 8526, 24915, 4897, 5027, 5269, 273, 394, 1645, 63, 23, 15533, 202, 202, 31, 202, 202, 9056, 8526, 24915, 3708, 5027, 5269, 273, 394, 1645, 63, 22, 15533, 202, 202, 31, 202, 202, 9056, 8526, 423, 2091, 5027, 5269, 273, 394, 1645, 63, 23, 15533, 202, 202, 31, 202, 202, 9056, 8526, 2 ]
public static void main(String args[],ClassWorld classWorld ) { classworlds(args,classWorld);
public static void main(String args[]) { try { rootLoader(args); } catch (Throwable t) { t.printStackTrace(); }
public static void main(String args[],ClassWorld classWorld ) { classworlds(args,classWorld); }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/86281f654a07c0cf1b2cdbfff24811d9fc0715d3/GroovyStarter.java/clean/src/main/org/codehaus/groovy/tools/GroovyStarter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 6487, 797, 18071, 667, 18071, 262, 288, 3639, 667, 18179, 87, 12, 1968, 16, 1106, 18071, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 760, 918, 2774, 12, 780, 833, 63, 6487, 797, 18071, 667, 18071, 262, 288, 3639, 667, 18179, 87, 12, 1968, 16, 1106, 18071, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
generateScriptICode(cx, scope);
generateICodeFromTree(cx, scope, scriptOrFn);
public Object compile(Context cx, Scriptable scope, ScriptOrFnNode tree, SecurityController securityController, Object securityDomain) { scriptOrFn = tree; version = cx.getLanguageVersion(); itsData = new InterpreterData(securityDomain); itsData.itsSourceFile = scriptOrFn.getSourceName(); if (tree instanceof FunctionNode) { generateFunctionICode(cx, scope); return createFunction(cx, scope, itsData, false); } else { generateScriptICode(cx, scope); return new InterpretedScript(cx, itsData); } }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/1c21aeb4b2027ffe5260d943b7a3709def9ace24/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 4074, 12, 1042, 9494, 16, 22780, 2146, 16, 7739, 1162, 5372, 907, 2151, 16, 12900, 6036, 2933, 4373, 2933, 16, 12900, 1033, 4373, 3748, 13, 565, 288, 3639, 2728, 1162, 5372, 273, 2151, 31, 3639, 1177, 273, 9494, 18, 588, 3779, 1444, 5621, 3639, 2097, 751, 273, 394, 5294, 11599, 751, 12, 7462, 3748, 1769, 3639, 2097, 751, 18, 1282, 31150, 273, 2728, 1162, 5372, 18, 588, 1830, 461, 5621, 3639, 309, 261, 3413, 1276, 4284, 907, 13, 288, 5411, 2103, 2083, 45, 1085, 12, 71, 92, 16, 2146, 1769, 5411, 327, 752, 2083, 12, 71, 92, 16, 2146, 16, 2097, 751, 16, 629, 1769, 3639, 289, 469, 288, 5411, 2103, 45, 1085, 1265, 2471, 12, 71, 92, 16, 2146, 16, 2728, 1162, 5372, 1769, 5411, 327, 394, 5294, 15089, 329, 3651, 12, 71, 92, 16, 2097, 751, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1033, 4074, 12, 1042, 9494, 16, 22780, 2146, 16, 7739, 1162, 5372, 907, 2151, 16, 12900, 6036, 2933, 4373, 2933, 16, 12900, 1033, 4373, 3748, 13, 565, 288, 3639, 2728, 1162, 5372, 273, 2151, 31, 3639, 1177, 273, 9494, 18, 588, 3779, 1444, 5621, 3639, 2097, 751, 273, 394, 5294, 11599, 751, 12, 7462, 3748, 1769, 3639, 2097, 751, 18, 1282, 31150, 273, 2728, 1162, 5372, 18, 588, 1830, 461, 5621, 3639, 309, 261, 3413, 1276, 4284, 907, 13, 288, 5411, 2103, 2083, 45, 1085, 12, 71, 92, 16, 2146, 1769, 5411, 327, 752, 2083, 12, 71, 92, 16, 2146, 16, 2097, 751, 16, 629, 1769, 3639, 289, 469, 288, 5411, 2103, 45, 1085, 1265, 2471, 12, 2 ]
public float readFloat() throws IOException { Object obj = vec.elementAt(ptr++); return (((Float)obj).floatValue()); }
public float readFloat() throws IOException { Object obj = vec.elementAt(ptr++); return ((Float) obj).floatValue(); }
public float readFloat() throws IOException { Object obj = vec.elementAt(ptr++); return (((Float)obj).floatValue());}
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/84d120cc49d42a79bfbc68fe36429395bdef90fd/UnicastRemoteCall.java/buggy/libjava/gnu/java/rmi/server/UnicastRemoteCall.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1431, 855, 4723, 1435, 1216, 1860, 288, 202, 921, 1081, 273, 7062, 18, 2956, 861, 12, 6723, 9904, 1769, 202, 2463, 261, 12443, 4723, 13, 2603, 2934, 5659, 620, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 1431, 855, 4723, 1435, 1216, 1860, 288, 202, 921, 1081, 273, 7062, 18, 2956, 861, 12, 6723, 9904, 1769, 202, 2463, 261, 12443, 4723, 13, 2603, 2934, 5659, 620, 10663, 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 ]
throws InvalidParameterException
throws InvalidPluginDescriptorException
public List execute( MavenProject project, PluginDescriptor pluginDescriptor ) throws InvalidParameterException { JavaDocBuilder builder = new JavaDocBuilder(); File basedir = project.getBasedir(); for ( Iterator i = project.getCompileSourceRoots().iterator(); i.hasNext(); ) { builder.addSourceTree( new File( (String) i.next() ) ); } JavaSource[] javaSources = builder.getSources(); List descriptors = new ArrayList(); for ( int i = 0; i < javaSources.length; i++ ) { JavaClass javaClass = getJavaClass( javaSources[i] ); DocletTag tag = javaClass.getTagByName( GOAL ); if ( tag != null ) { MojoDescriptor mojoDescriptor = createMojoDescriptor( javaSources[i], pluginDescriptor ); // ---------------------------------------------------------------------- // Validate the descriptor as best we can before allowing it // to be processed. // ---------------------------------------------------------------------- List parameters = mojoDescriptor.getParameters(); if ( parameters != null ) { for ( int j = 0; j < parameters.size(); j++ ) { validateParameter( (Parameter) parameters.get( j ), j ); } } // Commented because it causes a VerifyError: // java.lang.VerifyError: // (class: // org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor, // method: execute signature: // (Ljava/lang/String;Lorg/apache/maven/project/MavenProject;)Ljava/util/Set;) // Incompatible object argument for function call // // Refactored to allow MavenMojoDescriptor.getComponentFactory() // return MavenMojoDescriptor.getMojoDescriptor().getLanguage(), // and removed all usage of MavenMojoDescriptor from extractors. // // // MavenMojoDescriptor mmDescriptor = new // MavenMojoDescriptor(mojoDescriptor); // // JavaClass javaClass = getJavaClass(javaSources[i]); // // mmDescriptor.setImplementation(javaClass.getFullyQualifiedName()); // // descriptors.add( mmDescriptor ); descriptors.add( mojoDescriptor ); } } return descriptors; }
1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/76c4ceda28a98ca54da4e08088f54f6fb71430ef/JavaMojoDescriptorExtractor.java/buggy/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 1836, 12, 17176, 4109, 1984, 16, 6258, 3187, 1909, 3187, 262, 3639, 1216, 1962, 3773, 3187, 503, 565, 288, 3639, 5110, 1759, 1263, 2089, 273, 394, 5110, 1759, 1263, 5621, 3639, 1387, 15573, 273, 1984, 18, 588, 2171, 1214, 5621, 3639, 364, 261, 4498, 277, 273, 1984, 18, 588, 9937, 1830, 17540, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 2089, 18, 1289, 1830, 2471, 12, 394, 1387, 12, 261, 780, 13, 277, 18, 4285, 1435, 262, 11272, 3639, 289, 3639, 5110, 1830, 8526, 2252, 8628, 273, 2089, 18, 588, 8628, 5621, 3639, 987, 14215, 273, 394, 2407, 5621, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 2252, 8628, 18, 2469, 31, 277, 9904, 262, 3639, 288, 5411, 29491, 2252, 797, 273, 18911, 797, 12, 2252, 8628, 63, 77, 65, 11272, 5411, 3521, 1810, 1805, 1047, 273, 2252, 797, 18, 588, 1805, 5911, 12, 12389, 1013, 11272, 5411, 309, 261, 1047, 480, 446, 262, 5411, 288, 7734, 15931, 3187, 312, 10007, 3187, 273, 752, 49, 10007, 3187, 12, 2252, 8628, 63, 77, 6487, 1909, 3187, 11272, 7734, 368, 8879, 13465, 7734, 368, 3554, 326, 4950, 487, 3796, 732, 848, 1865, 15632, 518, 7734, 368, 358, 506, 5204, 18, 7734, 368, 8879, 13465, 7734, 987, 1472, 273, 312, 10007, 3187, 18, 588, 2402, 5621, 7734, 309, 261, 1472, 480, 446, 262, 7734, 288, 10792, 364, 261, 509, 525, 273, 374, 31, 525, 411, 1472, 18, 1467, 5621, 525, 9904, 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, 987, 1836, 12, 17176, 4109, 1984, 16, 6258, 3187, 1909, 3187, 262, 3639, 1216, 1962, 3773, 3187, 503, 565, 288, 3639, 5110, 1759, 1263, 2089, 273, 394, 5110, 1759, 1263, 5621, 3639, 1387, 15573, 273, 1984, 18, 588, 2171, 1214, 5621, 3639, 364, 261, 4498, 277, 273, 1984, 18, 588, 9937, 1830, 17540, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 2089, 18, 1289, 1830, 2471, 12, 394, 1387, 12, 261, 780, 13, 277, 18, 4285, 1435, 262, 11272, 3639, 289, 3639, 5110, 1830, 8526, 2252, 8628, 273, 2089, 18, 588, 8628, 5621, 3639, 987, 14215, 273, 394, 2407, 5621, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 2252, 8628, 18, 2 ]
2, reportDoc.getPageNumber( pMark ) );
5, reportDoc.getPageNumber( pMark ) );
public void testReportDocument( ) { String report_design = path + INPUT_FOLDER + System.getProperty( "file.separator" ) + "report_document.rptdesign"; String report_document = path + OUTPUT_FOLDER + System.getProperty( "file.separator" ) + "report_document"; try { createReportDocument_param( report_design, report_document ); IDocArchiveReader archive = new FileArchiveReader( report_document ); IReportDocument reportDoc = engine .openReportDocument( report_document ); // checkTOC(done) TOCNode root, tableNode, headerNode, groupNode, detailNode, footerNode; root = reportDoc.findTOC( "/" ); assertNotNull( "get root toc", root ); assertNotNull( "root contain no children toc", root.getChildren( ) ); tableNode = (TOCNode) root.getChildren( ).get( 0 ); assertNotNull( "table toc doesn't exist.", tableNode ); assertEquals( "table toc expression isn't TableSection", "TableSection", tableNode.getDisplayString( ) ); assertNotNull( "table toc doesn't contain nodes", tableNode .getChildren( ) ); assertEquals( "table toc doesn't contain 6 nodes", 6, tableNode .getChildren( ).size( ) ); headerNode = (TOCNode) tableNode.getChildren( ).get( 0 ); groupNode = (TOCNode) ( (TOCNode) tableNode.getChildren( ).get( 1 ) ) .getChildren( ).get( 0 ); footerNode = (TOCNode) tableNode.getChildren( ).get( 5 ); assertNotNull( "table header toc doesn't exist", headerNode ); assertNotNull( "table group toc doesn't exist", groupNode ); assertNotNull( "table footer toc doesn't exist", footerNode ); assertEquals( "header toc expression isn't HeaderSection", "HeaderSection", headerNode.getDisplayString( ) ); assertEquals( "group toc expression isn't GroupSection", "GroupSection", groupNode.getDisplayString( ) ); assertEquals( "footer toc expression isn't FooterSection", "FooterSection", footerNode.getDisplayString( ) ); assertNotNull( "table group toc doesn't contain nodes", groupNode .getChildren( ) ); detailNode = (TOCNode) ( (TOCNode) tableNode.getChildren( ).get( 1 ) ) .getChildren( ).get( 1 ); assertEquals( "detail toc expression isn't DetailSection", "DetailSection", detailNode.getDisplayString( ) ); // check Archive(done) IDocArchiveReader arch = reportDoc.getArchive( ); assertNotNull( "get null document archive", arch ); assertEquals( "get incorrect document archive", archive.getName( ), arch.getName( ) ); // check bookmarks ArrayList bookmarks = (ArrayList) reportDoc.getBookmarks( ); String hMark = "TableHeaderMark", gMark = "TableGroupMark", dMark = "TableDetailMark"; String fMark = "TableFooterMark", pMark = "ParameterMark"; assertNotNull( "get no bookmarks", bookmarks ); // assertEquals("bookmarks doesn't contain 19 // nodes",19,bookmarks.size()); assertTrue( "bookmarks doesn't contain " + hMark, bookmarks .contains( hMark ) ); assertTrue( "bookmarks doesn't contain " + gMark, bookmarks .contains( gMark ) ); assertTrue( "bookmarks doesn't contain " + dMark, bookmarks .contains( dMark ) ); assertTrue( "bookmarks doesn't contain " + fMark, bookmarks .contains( fMark ) ); assertTrue( "bookmarks doesn't contain " + pMark, bookmarks .contains( pMark ) ); // check children(done) List root_children = reportDoc.getChildren( "/" ); assertNotNull( "cannot get root toc's children", root_children ); assertNotNull( "cannot get table toc", root_children.get( 0 ) ); TOCNode table_toc = (TOCNode) root_children.get( 0 ); List table_children = reportDoc .getChildren( table_toc.getNodeID( ) ); assertNotNull( "table toc's children is null", table_children ); assertEquals( "table toc contains 6 children", 6, table_children .size( ) ); // check designStream InputStream designStream = reportDoc.getDesignStream( ); FileInputStream designFile = new FileInputStream( report_design ); assertNotNull( "return null design stream", designStream ); // generate design file through designStream. int length = designStream.available( ); byte[] fBytes = new byte[length]; designStream.read( fBytes, 0, length ); // String // tempFile="D:/TEMP/workspace3.1/org.eclipse.birt.report.tests.engine/output/report_document_tmp.rptdesign"; String tempFile = path + OUTPUT_FOLDER + "report_document_tmp.rptdesign"; File tmp = new File( tempFile ); FileOutputStream fos = new FileOutputStream( tmp ); fos.write( fBytes ); fos.close( ); designStream.close( ); designFile.close( ); assertEquals( "return wrong design stream", -6, new File( report_design ).compareTo( tmp ) ); // remove tmp file. removeFile( tempFile ); // check page count(done) assertEquals( "return wrong page count", 5, reportDoc .getPageCount( ) ); // check getPageNumber(InstanceID) // TODO: // check getPageNumber(bookmark) assertEquals( "return wrong page number which contains bookmark", 2, reportDoc.getPageNumber( pMark ) ); // check parameters(done) HashMap params = (HashMap) reportDoc.getParameterValues( ); assertNotNull( "return no parameters", params ); assertEquals( "parameter amount isn't 2", 2, params.size( ) ); assertNotNull( "p1 parameter returned null", params .get( new String( "p1" ) ) ); assertNotNull( "p2 parameter returned null", params .get( new String( "p2" ) ) ); assertEquals( "p1 parameter returned wrong value", "p1string", params.get( new String( "p1" ) ) ); assertEquals( "p1 parameter returned wrong value", new Integer( 2 ), params.get( new String( "p2" ) ) ); // check report document name String name = report_document; name = name.replace( '/', '\\' ); assertEquals( "return wrong report document name", name, reportDoc .getName( ) ); // check reportrunnable IReportRunnable report = reportDoc.getReportRunnable( ); assertNotNull( "return null reportRunnable", report ); assertEquals( "return wrong reportRunnable", reportRunnable .getReportEngine( ), report.getReportEngine( ) ); } catch ( Exception e ) { e.printStackTrace( ); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/831ce32f236baa6fc9c69e77b707c1d99d5249c8/ReportDocumentTest.java/clean/testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/ReportDocumentTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4820, 2519, 12, 262, 202, 95, 202, 202, 780, 2605, 67, 16934, 273, 589, 397, 12943, 67, 17357, 9506, 202, 15, 2332, 18, 588, 1396, 12, 315, 768, 18, 11287, 6, 262, 9506, 202, 15, 315, 6006, 67, 5457, 18, 86, 337, 16934, 14432, 202, 202, 780, 2605, 67, 5457, 273, 589, 397, 11550, 67, 17357, 9506, 202, 15, 2332, 18, 588, 1396, 12, 315, 768, 18, 11287, 6, 262, 397, 315, 6006, 67, 5457, 14432, 202, 202, 698, 202, 202, 95, 1082, 202, 2640, 4820, 2519, 67, 891, 12, 2605, 67, 16934, 16, 2605, 67, 5457, 11272, 1082, 202, 734, 504, 7465, 2514, 5052, 273, 394, 1387, 7465, 2514, 12, 2605, 67, 5457, 11272, 1082, 202, 45, 4820, 2519, 2605, 1759, 273, 4073, 6862, 202, 18, 3190, 4820, 2519, 12, 2605, 67, 5457, 11272, 1082, 202, 759, 866, 4296, 39, 12, 8734, 13, 1082, 202, 4296, 39, 907, 1365, 16, 1014, 907, 16, 1446, 907, 16, 1041, 907, 16, 7664, 907, 16, 9860, 907, 31, 1082, 202, 3085, 273, 2605, 1759, 18, 4720, 4296, 39, 12, 4016, 11272, 1082, 202, 11231, 5962, 12, 315, 588, 1365, 17919, 3113, 1365, 11272, 1082, 202, 11231, 5962, 12, 315, 3085, 912, 1158, 2325, 17919, 3113, 1365, 18, 588, 4212, 12, 262, 11272, 1082, 202, 2121, 907, 273, 261, 4296, 39, 907, 13, 1365, 18, 588, 4212, 12, 262, 18, 588, 12, 374, 11272, 1082, 202, 11231, 5962, 12, 315, 2121, 17919, 3302, 1404, 1005, 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, 4820, 2519, 12, 262, 202, 95, 202, 202, 780, 2605, 67, 16934, 273, 589, 397, 12943, 67, 17357, 9506, 202, 15, 2332, 18, 588, 1396, 12, 315, 768, 18, 11287, 6, 262, 9506, 202, 15, 315, 6006, 67, 5457, 18, 86, 337, 16934, 14432, 202, 202, 780, 2605, 67, 5457, 273, 589, 397, 11550, 67, 17357, 9506, 202, 15, 2332, 18, 588, 1396, 12, 315, 768, 18, 11287, 6, 262, 397, 315, 6006, 67, 5457, 14432, 202, 202, 698, 202, 202, 95, 1082, 202, 2640, 4820, 2519, 67, 891, 12, 2605, 67, 16934, 16, 2605, 67, 5457, 11272, 1082, 202, 734, 504, 7465, 2514, 5052, 273, 394, 1387, 7465, 2514, 12, 2605, 67, 5457, 2 ]
treePanel = createTreePanel();
public void awake() { panel = new JPanel(new BorderLayout()); ioCanvas = new JPanel(new BorderLayout()); treeInfoCanvas = new JPanel(new BorderLayout()); infoPanel = new DBInfoPanel(); controlPanel = new DBControlPanel(this); treePanel = createTreePanel(); inputPanel = new DBInputPanel(this); outputPanel = new DBOutputPanel(this); treeInfoPanelSplitPane = new JSplitPane(); treeInfoPanelSplitPane.setBorder(null); treeInfoPanelSplitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT); treeInfoPanelSplitPane.setRightComponent(infoPanel); treeInfoPanelSplitPane.setContinuousLayout(true); treeInfoPanelSplitPane.setOneTouchExpandable(true); ioSplitPane = new JSplitPane(); ioSplitPane.setBorder(null); ioSplitPane.setOrientation(JSplitPane.VERTICAL_SPLIT); ioSplitPane.setRightComponent(outputPanel); ioSplitPane.setContinuousLayout(true); ioSplitPane.setOneTouchExpandable(true); ioTreeSplitPane = new JSplitPane(); ioTreeSplitPane.setBorder(null); ioTreeSplitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT); ioTreeSplitPane.setLeftComponent(ioCanvas); ioTreeSplitPane.setRightComponent(treeInfoCanvas); ioTreeSplitPane.setContinuousLayout(true); ioTreeSplitPane.setOneTouchExpandable(true); panel.add(controlPanel, BorderLayout.NORTH); panel.add(ioTreeSplitPane, BorderLayout.CENTER); local = new DBLocal(this); recorder = new DBRecorder(this); player = new DBPlayer(this); ioCanvas.add(inputPanel, BorderLayout.CENTER); treeInfoCanvas.add(treePanel, BorderLayout.CENTER); updateStatusInfo(); }
4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/9d87725644f1deaf955cdd27b79761e2a85719ee/Debugger.java/buggy/src/org/antlr/works/debugger/Debugger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1690, 911, 1435, 288, 3639, 6594, 273, 394, 24048, 12, 2704, 30814, 10663, 3639, 2527, 12971, 273, 394, 24048, 12, 2704, 30814, 10663, 3639, 2151, 966, 12971, 273, 394, 24048, 12, 2704, 30814, 10663, 3639, 1123, 5537, 273, 394, 2383, 966, 5537, 5621, 3639, 3325, 5537, 273, 394, 2383, 3367, 5537, 12, 2211, 1769, 9079, 810, 5537, 273, 394, 2383, 1210, 5537, 12, 2211, 1769, 3639, 876, 5537, 273, 394, 2383, 1447, 5537, 12, 2211, 1769, 3639, 2151, 966, 5537, 5521, 8485, 273, 394, 804, 5521, 8485, 5621, 3639, 2151, 966, 5537, 5521, 8485, 18, 542, 8107, 12, 2011, 1769, 3639, 2151, 966, 5537, 5521, 8485, 18, 542, 14097, 12, 46, 5521, 8485, 18, 44, 20344, 67, 17482, 1769, 3639, 2151, 966, 5537, 5521, 8485, 18, 542, 4726, 1841, 12, 1376, 5537, 1769, 3639, 2151, 966, 5537, 5521, 8485, 18, 542, 26509, 3744, 12, 3767, 1769, 3639, 2151, 966, 5537, 5521, 8485, 18, 542, 3335, 10491, 12271, 429, 12, 3767, 1769, 3639, 2527, 5521, 8485, 273, 394, 804, 5521, 8485, 5621, 3639, 2527, 5521, 8485, 18, 542, 8107, 12, 2011, 1769, 3639, 2527, 5521, 8485, 18, 542, 14097, 12, 46, 5521, 8485, 18, 21654, 10109, 67, 17482, 1769, 3639, 2527, 5521, 8485, 18, 542, 4726, 1841, 12, 2844, 5537, 1769, 3639, 2527, 5521, 8485, 18, 542, 26509, 3744, 12, 3767, 1769, 3639, 2527, 5521, 8485, 18, 542, 3335, 10491, 12271, 429, 12, 3767, 1769, 3639, 2527, 2471, 5521, 8485, 273, 394, 804, 5521, 8485, 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, 1690, 911, 1435, 288, 3639, 6594, 273, 394, 24048, 12, 2704, 30814, 10663, 3639, 2527, 12971, 273, 394, 24048, 12, 2704, 30814, 10663, 3639, 2151, 966, 12971, 273, 394, 24048, 12, 2704, 30814, 10663, 3639, 1123, 5537, 273, 394, 2383, 966, 5537, 5621, 3639, 3325, 5537, 273, 394, 2383, 3367, 5537, 12, 2211, 1769, 9079, 810, 5537, 273, 394, 2383, 1210, 5537, 12, 2211, 1769, 3639, 876, 5537, 273, 394, 2383, 1447, 5537, 12, 2211, 1769, 3639, 2151, 966, 5537, 5521, 8485, 273, 394, 804, 5521, 8485, 5621, 3639, 2151, 966, 5537, 5521, 8485, 18, 542, 8107, 12, 2011, 1769, 3639, 2151, 966, 5537, 5521, 8485, 18, 542, 14097, 12, 46, 5521, 8485, 18, 44, 20344, 2 ]
public boolean isSet(org.quickfix.field.BeginSeqNo field)
public boolean isSet(quickfix.field.BeginSeqNo field)
public boolean isSet(org.quickfix.field.BeginSeqNo field) { return isSetField(field); }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/ResendRequest.java/clean/src/java/src/quickfix/fix41/ResendRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 8149, 6926, 2279, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 8149, 6926, 2279, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void setReduceProgress(float p) { this.reduceProgress = p; }
void setReduceProgress(float p) { this.reduceProgress = (float) Math.min(1.0, Math.max(0.0, p)); }
void setReduceProgress(float p) { this.reduceProgress = p; }
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/38326245188b0de6dc75d1c182b4f1b706107d10/JobStatus.java/buggy/src/java/org/apache/hadoop/mapred/JobStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 444, 12944, 5491, 12, 5659, 293, 13, 288, 333, 18, 12498, 5491, 273, 293, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 444, 12944, 5491, 12, 5659, 293, 13, 288, 333, 18, 12498, 5491, 273, 293, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected boolean postBug() { final WorkspaceModifyOperation op = new WorkspaceModifyOperation() { protected void execute(final IProgressMonitor monitor) throws CoreException { PlatformUI.getWorkbench().getDisplay().syncExec(new Runnable() { public void run() { BugzillaReportSubmitForm form = BugzillaReportSubmitForm.makeNewBugPost2(repository, model); try { id = form.submitReportToRepository(); if (id != null) { sentSuccessfully = true; } } catch (BugzillaException e) { MessageDialog.openError(null, "I/O Error", "Bugzilla could not post your bug."); BugzillaPlugin.log(e); } catch (PossibleBugzillaFailureException e) { WebBrowserDialog.openAcceptAgreement(null, "Possible Bugzilla Client Failure", "Bugzilla may not have posted your bug.\n" + e.getMessage(), form.getError()); BugzillaPlugin.log(e); } catch (LoginException e) { MessageDialog.openError(null, "Posting Error", "Bugzilla could not post your bug since your login name or password is incorrect." + "\nPlease check your settings in the bugzilla preferences. "); sentSuccessfully = false; } } }); } }; IProgressService service = PlatformUI.getWorkbench().getProgressService(); try { service.run(false, false, op); } catch (Exception e) { MylarStatusHandler.log(e, "Unable to submit bug"); } return sentSuccessfully; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/2c57c682797fcf6e7969d662a7030b293027a046/AbstractBugWizard.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/AbstractBugWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1603, 19865, 1435, 288, 202, 202, 6385, 14396, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 1082, 202, 1117, 918, 1836, 12, 6385, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 9506, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 8389, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 19865, 15990, 4820, 11620, 1204, 646, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 1908, 19865, 3349, 22, 12, 9071, 16, 938, 1769, 25083, 202, 698, 288, 6862, 1082, 202, 350, 273, 646, 18, 9297, 4820, 774, 3305, 5621, 6862, 1082, 202, 430, 261, 350, 480, 446, 13, 288, 6862, 9506, 202, 7569, 18303, 273, 638, 31, 6862, 1082, 202, 97, 25083, 202, 97, 1044, 261, 19865, 15990, 503, 425, 13, 288, 6862, 1082, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 45, 19, 51, 1068, 3113, 315, 19865, 15990, 3377, 486, 1603, 3433, 7934, 1199, 1769, 6862, 1082, 202, 19865, 15990, 3773, 18, 1330, 12, 73, 1769, 25083, 202, 97, 1044, 261, 13576, 19865, 15990, 14389, 425, 13, 288, 6862, 1082, 202, 4079, 9132, 6353, 18, 3190, 5933, 17420, 12, 2011, 16, 315, 13576, 16907, 15990, 2445, 13436, 3113, 6862, 6862, 202, 6, 19865, 15990, 2026, 486, 1240, 23082, 3433, 7934, 8403, 82, 6, 397, 425, 18, 24906, 9334, 646, 18, 588, 668, 10663, 6862, 1082, 202, 19865, 15990, 3773, 18, 1330, 12, 73, 1769, 25083, 202, 97, 1044, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1603, 19865, 1435, 288, 202, 202, 6385, 14396, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 1082, 202, 1117, 918, 1836, 12, 6385, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 9506, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 8389, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 19865, 15990, 4820, 11620, 1204, 646, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 1908, 19865, 3349, 22, 12, 9071, 16, 938, 1769, 25083, 202, 698, 288, 6862, 1082, 202, 350, 273, 646, 18, 9297, 4820, 774, 3305, 5621, 6862, 1082, 202, 430, 261, 350, 480, 446, 13, 288, 6862, 9506, 202, 7569, 18303, 2 ]
AST tmp2093_AST_in = (AST)_t;
AST tmp2095_AST_in = (AST)_t;
public final void processeventsstate(AST _t) throws RecognitionException { AST processeventsstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2135 = _t; AST tmp2093_AST_in = (AST)_t; match(_t,PROCESS); _t = _t.getFirstChild(); AST tmp2094_AST_in = (AST)_t; match(_t,EVENTS); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; _t = __t2135; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 450, 764, 307, 616, 87, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 450, 764, 307, 616, 87, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 22, 26612, 273, 389, 88, 31, 202, 202, 9053, 1853, 3462, 11180, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 16560, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 3462, 11290, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 29221, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 2019, 67, 409, 24899, 88, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 67, 88, 273, 1001, 88, 22, 26612, 31, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 67, 1349, 2471, 273, 389, 88, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 450, 764, 307, 616, 87, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 450, 764, 307, 616, 87, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 22, 26612, 273, 389, 88, 31, 202, 202, 9053, 1853, 3462, 11180, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 16560, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 3462, 11290, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 2 ]
if(ASS)ER.T(Thread.currentThread()==_uiThreadForAssertCheck,"_notifyObservers called on thread other than UI thread",this);
if(AS.S)ER.T(Thread.currentThread()==_uiThreadForAssertCheck,"_notifyObservers called on thread other than UI thread",this);
private void _notifyObservers( int type, Breakpoint bp ) { if(ASS)ER.T(Thread.currentThread()==_uiThreadForAssertCheck,"_notifyObservers called on thread other than UI thread",this); setChanged(); notifyObservers( new BreakpointTyrantUpdate(type,bp) ); }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/2de73cf99dce60cce549e7757f841284b68d1220/BreakpointTyrant.java/buggy/js/jsdj/classes/com/netscape/jsdebugging/ifcui/BreakpointTyrant.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 389, 12336, 29393, 12, 509, 618, 16, 17030, 1153, 9107, 262, 565, 288, 3639, 309, 12, 3033, 18, 55, 13, 654, 18, 56, 12, 3830, 18, 2972, 3830, 1435, 631, 67, 4881, 3830, 1290, 8213, 1564, 10837, 67, 12336, 29393, 2566, 603, 2650, 1308, 2353, 6484, 2650, 3113, 2211, 1769, 3639, 444, 5033, 5621, 3639, 5066, 29393, 12, 394, 17030, 1153, 56, 93, 6890, 1891, 12, 723, 16, 17152, 13, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 389, 12336, 29393, 12, 509, 618, 16, 17030, 1153, 9107, 262, 565, 288, 3639, 309, 12, 3033, 18, 55, 13, 654, 18, 56, 12, 3830, 18, 2972, 3830, 1435, 631, 67, 4881, 3830, 1290, 8213, 1564, 10837, 67, 12336, 29393, 2566, 603, 2650, 1308, 2353, 6484, 2650, 3113, 2211, 1769, 3639, 444, 5033, 5621, 3639, 5066, 29393, 12, 394, 17030, 1153, 56, 93, 6890, 1891, 12, 723, 16, 17152, 13, 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 ]
case 583: {
case 580: {
public void ruleAction(int ruleNumber) { if (bad_rule != 0) return; switch (ruleNumber) { // // Rule 1: identifier ::= IDENTIFIER // case 1: { if (prsStream.getKind(btParser.getToken(1)) != X10Parsersym.TK_IDENTIFIER) { System.out.println("Turning keyword " + prsStream.getName(btParser.getToken(1)) + " at " + prsStream.getLine(btParser.getToken(1)) + ":" + prsStream.getColumn(btParser.getToken(1)) + " into an identifier"); } break; } // // Rule 2: PrimitiveType ::= NumericType // case 2: break; // // Rule 3: PrimitiveType ::= boolean // case 3: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Boolean())); break; } // // Rule 4: NumericType ::= IntegralType // case 4: break; // // Rule 5: NumericType ::= FloatingPointType // case 5: break; // // Rule 6: IntegralType ::= byte // case 6: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 7: IntegralType ::= char // case 7: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 8: IntegralType ::= short // case 8: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 9: IntegralType ::= int // case 9: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 10: IntegralType ::= long // case 10: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 11: FloatingPointType ::= float // case 11: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 12: FloatingPointType ::= double // case 12: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 13: ReferenceType ::= ClassOrInterfaceType // case 13: break; // // Rule 14: ReferenceType ::= ArrayType // case 14: break; // // Rule 15: ClassOrInterfaceType ::= ClassType // case 15: break; // // Rule 16: ClassType ::= TypeName // case 16: {//vj assert(btParser.getSym(2) == null); // generic not yet supported Name a = (Name) btParser.getSym(1); btParser.setSym1(a.toType()); break; } // // Rule 17: InterfaceType ::= TypeName // case 17: {//vj assert(btParser.getSym(2) == null); // generic not yet supported Name a = (Name) btParser.getSym(1); btParser.setSym1(a.toType()); break; } // // Rule 18: TypeName ::= identifier // case 18: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 19: TypeName ::= TypeName DOT identifier // case 19: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 20: ClassName ::= TypeName // case 20: break; // // Rule 21: TypeVariable ::= identifier // case 21: break; // // Rule 22: ArrayType ::= Type LBRACKET RBRACKET // case 22: { TypeNode a = (TypeNode) btParser.getSym(1); btParser.setSym1(array(a, pos(), 1)); break; } // // Rule 23: TypeParameter ::= TypeVariable TypeBoundopt // case 23: bad_rule = 23; break; // // Rule 24: TypeBound ::= extends ClassOrInterfaceType AdditionalBoundListopt // case 24: bad_rule = 24; break; // // Rule 25: AdditionalBoundList ::= AdditionalBound // case 25: bad_rule = 25; break; // // Rule 26: AdditionalBoundList ::= AdditionalBoundList AdditionalBound // case 26: bad_rule = 26; break; // // Rule 27: AdditionalBound ::= AND InterfaceType // case 27: bad_rule = 27; break; // // Rule 28: TypeArguments ::= LESS ActualTypeArgumentList GREATER // case 28: bad_rule = 28; break; // // Rule 29: ActualTypeArgumentList ::= ActualTypeArgument // case 29: bad_rule = 29; break; // // Rule 30: ActualTypeArgumentList ::= ActualTypeArgumentList COMMA ActualTypeArgument // case 30: bad_rule = 30; break; // // Rule 31: Wildcard ::= QUESTION WildcardBoundsOpt // case 31: bad_rule = 31; break; // // Rule 32: WildcardBounds ::= extends ReferenceType // case 32: bad_rule = 32; break; // // Rule 33: WildcardBounds ::= super ReferenceType // case 33: bad_rule = 33; break; // // Rule 34: PackageName ::= identifier // case 34: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 35: PackageName ::= PackageName DOT identifier // case 35: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 36: ExpressionName ::= identifier // case 36: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 37: ExpressionName ::= AmbiguousName DOT identifier // case 37: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 38: MethodName ::= identifier // case 38: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 39: MethodName ::= AmbiguousName DOT identifier // case 39: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 40: PackageOrTypeName ::= identifier // case 40: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 41: PackageOrTypeName ::= PackageOrTypeName DOT identifier // case 41: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 42: AmbiguousName ::= identifier // case 42: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 43: AmbiguousName ::= AmbiguousName DOT identifier // case 43: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 44: CompilationUnit ::= PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsopt // case 44: { PackageNode a = (PackageNode) btParser.getSym(1); List b = (List) btParser.getSym(2), c = (List) btParser.getSym(3); btParser.setSym1(nf.SourceFile(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b, c)); break; } // // Rule 45: ImportDeclarations ::= ImportDeclaration // case 45: { List l = new TypedList(new LinkedList(), Import.class, false); Import a = (Import) btParser.getSym(1); l.add(a); btParser.setSym1(l); break; } // // Rule 46: ImportDeclarations ::= ImportDeclarations ImportDeclaration // case 46: { List l = (TypedList) btParser.getSym(1); Import b = (Import) btParser.getSym(2); if (b != null) l.add(b); //btParser.setSym1(l); break; } // // Rule 47: TypeDeclarations ::= TypeDeclaration // case 47: { List l = new TypedList(new LinkedList(), TopLevelDecl.class, false); TopLevelDecl a = (TopLevelDecl) btParser.getSym(1); if (a != null) l.add(a); btParser.setSym1(l); break; } // // Rule 48: TypeDeclarations ::= TypeDeclarations TypeDeclaration // case 48: { List l = (TypedList) btParser.getSym(1); TopLevelDecl b = (TopLevelDecl) btParser.getSym(2); if (b != null) l.add(b); //btParser.setSym1(l); break; } // // Rule 49: PackageDeclaration ::= package PackageName SEMICOLON // case 49: {//vj assert(btParser.getSym(1) == null); // generic not yet supported Name a = (Name) btParser.getSym(2); btParser.setSym1(a.toPackage()); break; } // // Rule 50: ImportDeclaration ::= SingleTypeImportDeclaration // case 50: break; // // Rule 51: ImportDeclaration ::= TypeImportOnDemandDeclaration // case 51: break; // // Rule 52: ImportDeclaration ::= SingleStaticImportDeclaration // case 52: break; // // Rule 53: ImportDeclaration ::= StaticImportOnDemandDeclaration // case 53: break; // // Rule 54: SingleTypeImportDeclaration ::= import TypeName SEMICOLON // case 54: { Name a = (Name) btParser.getSym(2); btParser.setSym1(nf.Import(pos(btParser.getFirstToken(), btParser.getLastToken()), Import.CLASS, a.toString())); break; } // // Rule 55: TypeImportOnDemandDeclaration ::= import PackageOrTypeName DOT MULTIPLY SEMICOLON // case 55: { Name a = (Name) btParser.getSym(2); btParser.setSym1(nf.Import(pos(btParser.getFirstToken(), btParser.getLastToken()), Import.PACKAGE, a.toString())); break; } // // Rule 56: SingleStaticImportDeclaration ::= import static TypeName DOT identifier SEMICOLON // case 56: bad_rule = 56; break; // // Rule 57: StaticImportOnDemandDeclaration ::= import static TypeName DOT MULTIPLY SEMICOLON // case 57: bad_rule = 57; break; // // Rule 58: TypeDeclaration ::= ClassDeclaration // case 58: break; // // Rule 59: TypeDeclaration ::= InterfaceDeclaration // case 59: break; // // Rule 60: TypeDeclaration ::= SEMICOLON // case 60: { btParser.setSym1(null); break; } // // Rule 61: ClassDeclaration ::= NormalClassDeclaration // case 61: break; // // Rule 62: NormalClassDeclaration ::= ClassModifiersopt class identifier Superopt Interfacesopt ClassBody // case 62: { Flags a = (Flags) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3));//vj assert(btParser.getSym(4) == null); TypeNode c = (TypeNode) btParser.getSym(4); List d = (List) btParser.getSym(5); ClassBody e = (ClassBody) btParser.getSym(6); if (a.isValue()) btParser.setSym1(nf.ValueClassDecl(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier(), c, d, e)); else btParser.setSym1(nf.ClassDecl(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier(), c, d, e)); break; } // // Rule 63: ClassModifiers ::= ClassModifier // case 63: break; // // Rule 64: ClassModifiers ::= ClassModifiers ClassModifier // case 64: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 65: ClassModifier ::= public // case 65: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 66: ClassModifier ::= protected // case 66: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 67: ClassModifier ::= private // case 67: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 68: ClassModifier ::= abstract // case 68: { btParser.setSym1(Flags.ABSTRACT); break; } // // Rule 69: ClassModifier ::= static // case 69: { btParser.setSym1(Flags.STATIC); break; } // // Rule 70: ClassModifier ::= final // case 70: { btParser.setSym1(Flags.FINAL); break; } // // Rule 71: ClassModifier ::= strictfp // case 71: { btParser.setSym1(Flags.STRICTFP); break; } // // Rule 72: TypeParameters ::= LESS TypeParameterList GREATER // case 72: bad_rule = 72; break; // // Rule 73: TypeParameterList ::= TypeParameter // case 73: bad_rule = 73; break; // // Rule 74: TypeParameterList ::= TypeParameterList COMMA TypeParameter // case 74: bad_rule = 74; break; // // Rule 75: Super ::= extends ClassType // case 75: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 76: Interfaces ::= implements InterfaceTypeList // case 76: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 77: InterfaceTypeList ::= InterfaceType // case 77: { List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 78: InterfaceTypeList ::= InterfaceTypeList COMMA InterfaceType // case 78: { List l = (TypedList) btParser.getSym(1); l.add(btParser.getSym(2)); btParser.setSym1(l); break; } // // Rule 79: ClassBody ::= LBRACE ClassBodyDeclarationsopt RBRACE // case 79: { btParser.setSym1(nf.ClassBody(pos(btParser.getFirstToken(), btParser.getLastToken()), (List) btParser.getSym(2))); break; } // // Rule 80: ClassBodyDeclarations ::= ClassBodyDeclaration // case 80: break; // // Rule 81: ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration // case 81: { List a = (List) btParser.getSym(1), b = (List) btParser.getSym(2); a.addAll(b); // btParser.setSym1(a); break; } // // Rule 82: ClassBodyDeclaration ::= ClassMemberDeclaration // case 82: break; // // Rule 83: ClassBodyDeclaration ::= InstanceInitializer // case 83: { List l = new TypedList(new LinkedList(), ClassMember.class, false); Block a = (Block) btParser.getSym(1); l.add(nf.Initializer(pos(), Flags.NONE, a)); btParser.setSym1(l); break; } // // Rule 84: ClassBodyDeclaration ::= StaticInitializer // case 84: { List l = new TypedList(new LinkedList(), ClassMember.class, false); Block a = (Block) btParser.getSym(1); l.add(nf.Initializer(pos(), Flags.STATIC, a)); btParser.setSym1(l); break; } // // Rule 85: ClassBodyDeclaration ::= ConstructorDeclaration // case 85: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 86: ClassMemberDeclaration ::= FieldDeclaration // case 86: break; // // Rule 87: ClassMemberDeclaration ::= MethodDeclaration // case 87: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 88: ClassMemberDeclaration ::= ClassDeclaration // case 88: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 89: ClassMemberDeclaration ::= InterfaceDeclaration // case 89: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 90: ClassMemberDeclaration ::= SEMICOLON // case 90: { List l = new TypedList(new LinkedList(), ClassMember.class, false); btParser.setSym1(l); break; } // // Rule 91: FieldDeclaration ::= FieldModifiersopt Type VariableDeclarators SEMICOLON // case 91: { List l = new TypedList(new LinkedList(), ClassMember.class, false); Flags a = (Flags) btParser.getSym(1); TypeNode b = (TypeNode) btParser.getSym(2); List c = (List) btParser.getSym(3); for (Iterator i = c.iterator(); i.hasNext();) { VarDeclarator d = (VarDeclarator) i.next(); l.add(nf.FieldDecl(pos(btParser.getFirstToken(2), btParser.getLastToken()), a, array(b, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), d.dims), d.name, d.init)); } btParser.setSym1(l); break; } // // Rule 92: VariableDeclarators ::= VariableDeclarator // case 92: { List l = new TypedList(new LinkedList(), VarDeclarator.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 93: VariableDeclarators ::= VariableDeclarators COMMA VariableDeclarator // case 93: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 94: VariableDeclarator ::= VariableDeclaratorId // case 94: break; // // Rule 95: VariableDeclarator ::= VariableDeclaratorId EQUAL VariableInitializer // case 95: { VarDeclarator a = (VarDeclarator) btParser.getSym(1); Expr b = (Expr) btParser.getSym(3); a.init = b; // btParser.setSym1(a); break; } // // Rule 96: VariableDeclaratorId ::= identifier // case 96: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new VarDeclarator(pos(), a.getIdentifier())); break; } // // Rule 97: VariableDeclaratorId ::= VariableDeclaratorId LBRACKET RBRACKET // case 97: { VarDeclarator a = (VarDeclarator) btParser.getSym(1); a.dims++; // btParser.setSym1(a); break; } // // Rule 98: VariableInitializer ::= Expression // case 98: break; // // Rule 99: VariableInitializer ::= ArrayInitializer // case 99: break; // // Rule 100: FieldModifiers ::= FieldModifier // case 100: break; // // Rule 101: FieldModifiers ::= FieldModifiers FieldModifier // case 101: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 102: FieldModifier ::= public // case 102: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 103: FieldModifier ::= protected // case 103: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 104: FieldModifier ::= private // case 104: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 105: FieldModifier ::= static // case 105: { btParser.setSym1(Flags.STATIC); break; } // // Rule 106: FieldModifier ::= final // case 106: { btParser.setSym1(Flags.FINAL); break; } // // Rule 107: FieldModifier ::= transient // case 107: { btParser.setSym1(Flags.TRANSIENT); break; } // // Rule 108: FieldModifier ::= volatile // case 108: { btParser.setSym1(Flags.VOLATILE); break; } // // Rule 109: MethodDeclaration ::= MethodHeader MethodBody // case 109: { MethodDecl a = (MethodDecl) btParser.getSym(1); Block b = (Block) btParser.getSym(2); btParser.setSym1(a.body(b)); break; } // // Rule 110: MethodHeader ::= MethodModifiersopt ResultType MethodDeclarator Throwsopt // case 110: { Flags a = (Flags) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); TypeNode b = (TypeNode) btParser.getSym(2); Object[] o = (Object []) btParser.getSym(3); Name c = (Name) o[0]; List d = (List) o[1]; Integer e = (Integer) o[2]; List f = (List) btParser.getSym(4); if (b.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! } btParser.setSym1(nf.MethodDecl(pos(btParser.getFirstToken(2), btParser.getLastToken(3)), a, array((TypeNode) b, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), e.intValue()), c.toString(), d, f, null)); break; } // // Rule 111: ResultType ::= Type // case 111: break; // // Rule 112: ResultType ::= void // case 112: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 113: MethodDeclarator ::= identifier LPAREN FormalParameterListopt RPAREN // case 113: { Object[] a = new Object[3]; a[0] = new Name(nf, ts, pos(), id(btParser.getToken(1)).getIdentifier()); a[1] = btParser.getSym(3); a[2] = new Integer(0); btParser.setSym1(a); break; } // // Rule 114: MethodDeclarator ::= MethodDeclarator LBRACKET RBRACKET // case 114: { Object[] a = (Object []) btParser.getSym(1); a[2] = new Integer(((Integer) a[2]).intValue() + 1); // btParser.setSym1(a); break; } // // Rule 115: FormalParameterList ::= LastFormalParameter // case 115: { List l = new TypedList(new LinkedList(), Formal.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 116: FormalParameterList ::= FormalParameters COMMA LastFormalParameter // case 116: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 117: FormalParameters ::= FormalParameter // case 117: { List l = new TypedList(new LinkedList(), Formal.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 118: FormalParameters ::= FormalParameters COMMA FormalParameter // case 118: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 119: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 119: { Flags f = (Flags) btParser.getSym(1); TypeNode a = (TypeNode) btParser.getSym(2); VarDeclarator b = (VarDeclarator) btParser.getSym(3); btParser.setSym1(nf.Formal(pos(), f, array(a, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), b.dims), b.name)); break; } // // Rule 121: VariableModifiers ::= VariableModifiers VariableModifier // case 121: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 122: VariableModifier ::= final // case 122: { btParser.setSym1(Flags.FINAL); break; } // // Rule 123: LastFormalParameter ::= VariableModifiersopt Type ...opt VariableDeclaratorId // case 123: { Flags f = (Flags) btParser.getSym(1); TypeNode a = (TypeNode) btParser.getSym(2); assert(btParser.getSym(3) == null); VarDeclarator b = (VarDeclarator) btParser.getSym(4); btParser.setSym1(nf.Formal(pos(), f, array(a, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), b.dims), b.name)); break; } // // Rule 124: MethodModifiers ::= MethodModifier // case 124: break; // // Rule 125: MethodModifiers ::= MethodModifiers MethodModifier // case 125: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 126: MethodModifier ::= public // case 126: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 127: MethodModifier ::= protected // case 127: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 128: MethodModifier ::= private // case 128: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 129: MethodModifier ::= abstract // case 129: { btParser.setSym1(Flags.ABSTRACT); break; } // // Rule 130: MethodModifier ::= static // case 130: { btParser.setSym1(Flags.STATIC); break; } // // Rule 131: MethodModifier ::= final // case 131: { btParser.setSym1(Flags.FINAL); break; } // // Rule 132: MethodModifier ::= synchronized // case 132: { btParser.setSym1(Flags.SYNCHRONIZED); break; } // // Rule 133: MethodModifier ::= native // case 133: { btParser.setSym1(Flags.NATIVE); break; } // // Rule 134: MethodModifier ::= strictfp // case 134: { btParser.setSym1(Flags.STRICTFP); break; } // // Rule 135: Throws ::= throws ExceptionTypeList // case 135: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 136: ExceptionTypeList ::= ExceptionType // case 136: { List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 137: ExceptionTypeList ::= ExceptionTypeList COMMA ExceptionType // case 137: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 138: ExceptionType ::= ClassType // case 138: break; // // Rule 139: ExceptionType ::= TypeVariable // case 139: break; // // Rule 140: MethodBody ::= Block // case 140: break; // // Rule 141: MethodBody ::= SEMICOLON // case 141: btParser.setSym1(null); break; // // Rule 142: InstanceInitializer ::= Block // case 142: break; // // Rule 143: StaticInitializer ::= static Block // case 143: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 144: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 144: { Flags m = (Flags) btParser.getSym(1); Object[] o = (Object []) btParser.getSym(2); Name a = (Name) o[1]; List b = (List) o[2]; List c = (List) btParser.getSym(3); Block d = (Block) btParser.getSym(4); btParser.setSym1(nf.ConstructorDecl(pos(), m, a.toString(), b, c, d)); break; } // // Rule 145: ConstructorDeclarator ::= SimpleTypeName LPAREN FormalParameterListopt RPAREN // case 145: {//vj assert(btParser.getSym(1) == null); Object[] a = new Object[3];//vj a[0] = btParser.getSym(1); a[1] = btParser.getSym(1); a[2] = btParser.getSym(3); btParser.setSym1(a); break; } // // Rule 146: SimpleTypeName ::= identifier // case 146: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 147: ConstructorModifiers ::= ConstructorModifier // case 147: break; // // Rule 148: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 148: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 149: ConstructorModifier ::= public // case 149: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 150: ConstructorModifier ::= protected // case 150: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 151: ConstructorModifier ::= private // case 151: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 152: ConstructorBody ::= LBRACE ExplicitConstructorInvocationopt BlockStatementsopt RBRACE // case 152: { Stmt a = (Stmt) btParser.getSym(2); List l; if (a == null) l = (List) btParser.getSym(3); else { l = new TypedList(new LinkedList(), Stmt.class, false); List l2 = (List) btParser.getSym(3); l.add(a); l.addAll(l2); } btParser.setSym1(nf.Block(pos(), l)); break; } // // Rule 153: ExplicitConstructorInvocation ::= this LPAREN ArgumentListopt RPAREN SEMICOLON // case 153: {//vj assert(btParser.getSym(1) == null); List b = (List) btParser.getSym(3); btParser.setSym1(nf.ThisCall(pos(), b)); break; } // // Rule 154: ExplicitConstructorInvocation ::= super LPAREN ArgumentListopt RPAREN SEMICOLON // case 154: {//vj assert(btParser.getSym(1) == null); List b = (List) btParser.getSym(3); btParser.setSym1(nf.SuperCall(pos(), b)); break; } // // Rule 155: ExplicitConstructorInvocation ::= Primary DOT this LPAREN ArgumentListopt RPAREN SEMICOLON // case 155: { Expr a = (Expr) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); List b = (List) btParser.getSym(5); btParser.setSym1(nf.ThisCall(pos(), a, b)); break; } // // Rule 156: ExplicitConstructorInvocation ::= Primary DOT super LPAREN ArgumentListopt RPAREN SEMICOLON // case 156: { Expr a = (Expr) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); List b = (List) btParser.getSym(5); btParser.setSym1(nf.SuperCall(pos(), a, b)); break; } // // Rule 157: EnumDeclaration ::= ClassModifiersopt enum identifier Interfacesopt EnumBody // case 157: bad_rule = 157; break; // // Rule 158: EnumBody ::= LBRACE EnumConstantsopt ,opt EnumBodyDeclarationsopt RBRACE // case 158: bad_rule = 158; break; // // Rule 159: EnumConstants ::= EnumConstant // case 159: bad_rule = 159; break; // // Rule 160: EnumConstants ::= EnumConstants COMMA EnumConstant // case 160: bad_rule = 160; break; // // Rule 161: EnumConstant ::= identifier Argumentsopt ClassBodyopt // case 161: bad_rule = 161; break; // // Rule 162: Arguments ::= LPAREN ArgumentListopt RPAREN // case 162: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 163: EnumBodyDeclarations ::= SEMICOLON ClassBodyDeclarationsopt // case 163: bad_rule = 163; break; // // Rule 164: InterfaceDeclaration ::= NormalInterfaceDeclaration // case 164: break; // // Rule 165: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier ExtendsInterfacesopt InterfaceBody // case 165: { Flags a = (Flags) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3));//vj assert(btParser.getSym(4) == null); List c = (List) btParser.getSym(4); ClassBody d = (ClassBody) btParser.getSym(5); btParser.setSym1(nf.ClassDecl(pos(), a.Interface(), b.getIdentifier(), null, c, d)); break; } // // Rule 166: InterfaceModifiers ::= InterfaceModifier // case 166: break; // // Rule 167: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 167: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 168: InterfaceModifier ::= public // case 168: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 169: InterfaceModifier ::= protected // case 169: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 170: InterfaceModifier ::= private // case 170: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 171: InterfaceModifier ::= abstract // case 171: { btParser.setSym1(Flags.ABSTRACT); break; } // // Rule 172: InterfaceModifier ::= static // case 172: { btParser.setSym1(Flags.STATIC); break; } // // Rule 173: InterfaceModifier ::= strictfp // case 173: { btParser.setSym1(Flags.STRICTFP); break; } // // Rule 174: ExtendsInterfaces ::= extends InterfaceType // case 174: { List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(btParser.getSym(2)); btParser.setSym1(l); break; } // // Rule 175: ExtendsInterfaces ::= ExtendsInterfaces COMMA InterfaceType // case 175: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 176: InterfaceBody ::= LBRACE InterfaceMemberDeclarationsopt RBRACE // case 176: { List a = (List)btParser.getSym(2); btParser.setSym1(nf.ClassBody(pos(), a)); break; } // // Rule 177: InterfaceMemberDeclarations ::= InterfaceMemberDeclaration // case 177: break; // // Rule 178: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 178: { List l = (List) btParser.getSym(1), l2 = (List) btParser.getSym(2); l.addAll(l2); // btParser.setSym1(l); break; } // // Rule 179: InterfaceMemberDeclaration ::= ConstantDeclaration // case 179: break; // // Rule 180: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 180: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 181: InterfaceMemberDeclaration ::= ClassDeclaration // case 181: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 182: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 182: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 183: InterfaceMemberDeclaration ::= SEMICOLON // case 183: { btParser.setSym1(Collections.EMPTY_LIST); break; } // // Rule 184: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 184: { List l = new TypedList(new LinkedList(), ClassMember.class, false); Flags a = (Flags) btParser.getSym(1); TypeNode b = (TypeNode) btParser.getSym(2); List c = (List) btParser.getSym(3); for (Iterator i = c.iterator(); i.hasNext();) { VarDeclarator d = (VarDeclarator) i.next(); l.add(nf.FieldDecl(pos(btParser.getFirstToken(2), btParser.getLastToken()), a, array(b, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), d.dims), d.name, d.init)); } btParser.setSym1(l); break; } // // Rule 185: ConstantModifiers ::= ConstantModifier // case 185: break; // // Rule 186: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 186: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 187: ConstantModifier ::= public // case 187: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 188: ConstantModifier ::= static // case 188: { btParser.setSym1(Flags.STATIC); break; } // // Rule 189: ConstantModifier ::= final // case 189: { btParser.setSym1(Flags.FINAL); break; } // // Rule 190: AbstractMethodDeclaration ::= AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt SEMICOLON // case 190: { Flags a = (Flags) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); TypeNode b = (TypeNode) btParser.getSym(2); Object[] o = (Object []) btParser.getSym(3); Name c = (Name) o[0]; List d = (List) o[1]; Integer e = (Integer) o[2]; List f = (List) btParser.getSym(4); if (b.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! } btParser.setSym1(nf.MethodDecl(pos(btParser.getFirstToken(2), btParser.getLastToken(3)), a, array((TypeNode) b, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), e.intValue()), c.toString(), d, f, null)); break; } // // Rule 191: AbstractMethodModifiers ::= AbstractMethodModifier // case 191: break; // // Rule 192: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 192: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 193: AbstractMethodModifier ::= public // case 193: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 194: AbstractMethodModifier ::= abstract // case 194: { btParser.setSym1(Flags.ABSTRACT); break; } // // Rule 195: AnnotationTypeDeclaration ::= InterfaceModifiersopt AT interface identifier AnnotationTypeBody // case 195: bad_rule = 195; break; // // Rule 196: AnnotationTypeBody ::= LBRACE AnnotationTypeElementDeclarationsopt RBRACE // case 196: bad_rule = 196; break; // // Rule 197: AnnotationTypeElementDeclarations ::= AnnotationTypeElementDeclaration // case 197: bad_rule = 197; break; // // Rule 198: AnnotationTypeElementDeclarations ::= AnnotationTypeElementDeclarations AnnotationTypeElementDeclaration // case 198: bad_rule = 198; break; // // Rule 199: AnnotationTypeElementDeclaration ::= AbstractMethodModifiersopt Type identifier LPAREN RPAREN DefaultValueopt SEMICOLON // case 199: bad_rule = 199; break; // // Rule 200: AnnotationTypeElementDeclaration ::= ConstantDeclaration // case 200: bad_rule = 200; break; // // Rule 201: AnnotationTypeElementDeclaration ::= ClassDeclaration // case 201: bad_rule = 201; break; // // Rule 202: AnnotationTypeElementDeclaration ::= InterfaceDeclaration // case 202: bad_rule = 202; break; // // Rule 203: AnnotationTypeElementDeclaration ::= EnumDeclaration // case 203: bad_rule = 203; break; // // Rule 204: AnnotationTypeElementDeclaration ::= AnnotationTypeDeclaration // case 204: bad_rule = 204; break; // // Rule 205: AnnotationTypeElementDeclaration ::= SEMICOLON // case 205: bad_rule = 205; break; // // Rule 206: DefaultValue ::= default ElementValue // case 206: bad_rule = 206; break; // // Rule 207: Annotations ::= Annotation // case 207: bad_rule = 207; break; // // Rule 208: Annotations ::= Annotations Annotation // case 208: bad_rule = 208; break; // // Rule 209: Annotation ::= NormalAnnotation // case 209: bad_rule = 209; break; // // Rule 210: Annotation ::= MarkerAnnotation // case 210: bad_rule = 210; break; // // Rule 211: Annotation ::= SingleElementAnnotation // case 211: bad_rule = 211; break; // // Rule 212: NormalAnnotation ::= AT TypeName LPAREN ElementValuePairsopt RPAREN // case 212: bad_rule = 212; break; // // Rule 213: ElementValuePairs ::= ElementValuePair // case 213: bad_rule = 213; break; // // Rule 214: ElementValuePairs ::= ElementValuePairs COMMA ElementValuePair // case 214: bad_rule = 214; break; // // Rule 215: ElementValuePair ::= SimpleName EQUAL ElementValue // case 215: bad_rule = 215; break; // // Rule 216: SimpleName ::= identifier // case 216: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 217: ElementValue ::= ConditionalExpression // case 217: bad_rule = 217; break; // // Rule 218: ElementValue ::= Annotation // case 218: bad_rule = 218; break; // // Rule 219: ElementValue ::= ElementValueArrayInitializer // case 219: bad_rule = 219; break; // // Rule 220: ElementValueArrayInitializer ::= LBRACE ElementValuesopt ,opt RBRACE // case 220: bad_rule = 220; break; // // Rule 221: ElementValues ::= ElementValue // case 221: bad_rule = 221; break; // // Rule 222: ElementValues ::= ElementValues COMMA ElementValue // case 222: bad_rule = 222; break; // // Rule 223: MarkerAnnotation ::= AT TypeName // case 223: bad_rule = 223; break; // // Rule 224: SingleElementAnnotation ::= AT TypeName LPAREN ElementValue RPAREN // case 224: bad_rule = 224; break; // // Rule 225: ArrayInitializer ::= LBRACE VariableInitializersopt ,opt RBRACE // case 225: { List a = (List) btParser.getSym(2); if (a == null) btParser.setSym1(nf.ArrayInit(pos())); else btParser.setSym1(nf.ArrayInit(pos(), a)); break; } // // Rule 226: VariableInitializers ::= VariableInitializer // case 226: { List l = new TypedList(new LinkedList(), Expr.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 227: VariableInitializers ::= VariableInitializers COMMA VariableInitializer // case 227: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); //btParser.setSym1(l); break; } // // Rule 228: Block ::= LBRACE BlockStatementsopt RBRACE // case 228: { List l = (List) btParser.getSym(2); btParser.setSym1(nf.Block(pos(), l)); break; } // // Rule 229: BlockStatements ::= BlockStatement // case 229: { List l = new TypedList(new LinkedList(), Stmt.class, false), l2 = (List) btParser.getSym(1); l.addAll(l2); btParser.setSym1(l); break; } // // Rule 230: BlockStatements ::= BlockStatements BlockStatement // case 230: { List l = (List) btParser.getSym(1), l2 = (List) btParser.getSym(2); l.addAll(l2); //btParser.setSym1(l); break; } // // Rule 231: BlockStatement ::= LocalVariableDeclarationStatement // case 231: break; // // Rule 232: BlockStatement ::= ClassDeclaration // case 232: { ClassDecl a = (ClassDecl) btParser.getSym(1); List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(nf.LocalClassDecl(pos(), a)); btParser.setSym1(l); break; } // // Rule 233: BlockStatement ::= Statement // case 233: { List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 234: LocalVariableDeclarationStatement ::= LocalVariableDeclaration SEMICOLON // case 234: break; // // Rule 235: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 235: { Flags flags = (Flags) btParser.getSym(1); TypeNode a = (TypeNode) btParser.getSym(2); List b = (List) btParser.getSym(3); List l = new TypedList(new LinkedList(), LocalDecl.class, false); for (Iterator i = b.iterator(); i.hasNext(); ) { VarDeclarator d = (VarDeclarator) i.next(); l.add(nf.LocalDecl(pos(d), flags, array(a, pos(d), d.dims), d.name, d.init)); } btParser.setSym1(l); break; } // // Rule 236: Statement ::= StatementWithoutTrailingSubstatement // case 236: break; // // Rule 237: Statement ::= LabeledStatement // case 237: break; // // Rule 238: Statement ::= IfThenStatement // case 238: break; // // Rule 239: Statement ::= IfThenElseStatement // case 239: break; // // Rule 240: Statement ::= WhileStatement // case 240: break; // // Rule 241: Statement ::= ForStatement // case 241: break; // // Rule 242: StatementWithoutTrailingSubstatement ::= Block // case 242: break; // // Rule 243: StatementWithoutTrailingSubstatement ::= EmptyStatement // case 243: break; // // Rule 244: StatementWithoutTrailingSubstatement ::= ExpressionStatement // case 244: break; // // Rule 245: StatementWithoutTrailingSubstatement ::= AssertStatement // case 245: break; // // Rule 246: StatementWithoutTrailingSubstatement ::= SwitchStatement // case 246: break; // // Rule 247: StatementWithoutTrailingSubstatement ::= DoStatement // case 247: break; // // Rule 248: StatementWithoutTrailingSubstatement ::= BreakStatement // case 248: break; // // Rule 249: StatementWithoutTrailingSubstatement ::= ContinueStatement // case 249: break; // // Rule 250: StatementWithoutTrailingSubstatement ::= ReturnStatement // case 250: break; // // Rule 251: StatementWithoutTrailingSubstatement ::= SynchronizedStatement // case 251: break; // // Rule 252: StatementWithoutTrailingSubstatement ::= ThrowStatement // case 252: break; // // Rule 253: StatementWithoutTrailingSubstatement ::= TryStatement // case 253: break; // // Rule 254: StatementNoShortIf ::= StatementWithoutTrailingSubstatement // case 254: break; // // Rule 255: StatementNoShortIf ::= LabeledStatementNoShortIf // case 255: break; // // Rule 256: StatementNoShortIf ::= IfThenElseStatementNoShortIf // case 256: break; // // Rule 257: StatementNoShortIf ::= WhileStatementNoShortIf // case 257: break; // // Rule 258: StatementNoShortIf ::= ForStatementNoShortIf // case 258: break; // // Rule 259: IfThenStatement ::= if LPAREN Expression RPAREN Statement // case 259: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.If(pos(), a, b)); break; } // // Rule 260: IfThenElseStatement ::= if LPAREN Expression RPAREN StatementNoShortIf else Statement // case 260: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); Stmt c = (Stmt) btParser.getSym(7); btParser.setSym1(nf.If(pos(), a, b, c)); break; } // // Rule 261: IfThenElseStatementNoShortIf ::= if LPAREN Expression RPAREN StatementNoShortIf else StatementNoShortIf // case 261: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); Stmt c = (Stmt) btParser.getSym(7); btParser.setSym1(nf.If(pos(), a, b, c)); break; } // // Rule 262: EmptyStatement ::= SEMICOLON // case 262: { btParser.setSym1(nf.Empty(pos())); break; } // // Rule 263: LabeledStatement ::= identifier COLON Statement // case 263: { polyglot.lex.Identifier a = id(btParser.getToken(1)); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Labeled(pos(), a.getIdentifier(), b)); break; } // // Rule 264: LabeledStatementNoShortIf ::= identifier COLON StatementNoShortIf // case 264: { polyglot.lex.Identifier a = id(btParser.getToken(1)); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Labeled(pos(), a.getIdentifier(), b)); break; } // // Rule 265: ExpressionStatement ::= StatementExpression SEMICOLON // case 265: { Expr a = (Expr) btParser.getSym(1); btParser.setSym1(nf.Eval(pos(), a)); break; } // // Rule 266: StatementExpression ::= Assignment // case 266: break; // // Rule 267: StatementExpression ::= PreIncrementExpression // case 267: break; // // Rule 268: StatementExpression ::= PreDecrementExpression // case 268: break; // // Rule 269: StatementExpression ::= PostIncrementExpression // case 269: break; // // Rule 270: StatementExpression ::= PostDecrementExpression // case 270: break; // // Rule 271: StatementExpression ::= MethodInvocation // case 271: break; // // Rule 272: StatementExpression ::= ClassInstanceCreationExpression // case 272: break; // // Rule 273: AssertStatement ::= assert Expression SEMICOLON // case 273: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Assert(pos(), a)); break; } // // Rule 274: AssertStatement ::= assert Expression COLON Expression SEMICOLON // case 274: { Expr a = (Expr) btParser.getSym(2), b = (Expr) btParser.getSym(4); btParser.setSym1(nf.Assert(pos(), a, b)); break; } // // Rule 275: SwitchStatement ::= switch LPAREN Expression RPAREN SwitchBlock // case 275: { Expr a = (Expr) btParser.getSym(3); List b = (List) btParser.getSym(5); btParser.setSym1(nf.Switch(pos(), a, b)); break; } // // Rule 276: SwitchBlock ::= LBRACE SwitchBlockStatementGroupsopt SwitchLabelsopt RBRACE // case 276: { List l = (List) btParser.getSym(2), l2 = (List) btParser.getSym(3); l.addAll(l2); // btParser.setSym1(l); break; } // // Rule 277: SwitchBlockStatementGroups ::= SwitchBlockStatementGroup // case 277: break; // // Rule 278: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 278: { List l = (List) btParser.getSym(1), l2 = (List) btParser.getSym(2); l.addAll(l2); // btParser.setSym1(l); break; } // // Rule 279: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 279: { List l = new TypedList(new LinkedList(), SwitchElement.class, false); List l1 = (List) btParser.getSym(1), l2 = (List) btParser.getSym(2); l.addAll(l1); l.add(nf.SwitchBlock(pos(), l2)); btParser.setSym1(l); break; } // // Rule 280: SwitchLabels ::= SwitchLabel // case 280: { List l = new TypedList(new LinkedList(), Case.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 281: SwitchLabels ::= SwitchLabels SwitchLabel // case 281: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(2)); //btParser.setSym1(l); break; } // // Rule 282: SwitchLabel ::= case ConstantExpression COLON // case 282: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Case(pos(), a)); break; } // // Rule 283: SwitchLabel ::= case EnumConstant COLON // case 283: bad_rule = 283; break; // // Rule 284: SwitchLabel ::= default COLON // case 284: { btParser.setSym1(nf.Default(pos())); break; } // // Rule 285: EnumConstant ::= identifier // case 285: bad_rule = 285; break; // // Rule 286: WhileStatement ::= while LPAREN Expression RPAREN Statement // case 286: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.While(pos(), a, b)); break; } // // Rule 287: WhileStatementNoShortIf ::= while LPAREN Expression RPAREN StatementNoShortIf // case 287: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.While(pos(), a, b)); break; } // // Rule 288: DoStatement ::= do Statement while LPAREN Expression RPAREN SEMICOLON // case 288: { Stmt a = (Stmt) btParser.getSym(2); Expr b = (Expr) btParser.getSym(5); btParser.setSym1(nf.Do(pos(), a, b)); break; } // // Rule 289: ForStatement ::= BasicForStatement // case 289: break; // // Rule 290: ForStatement ::= EnhancedForStatement // case 290: break; // // Rule 291: BasicForStatement ::= for LPAREN ForInitopt SEMICOLON Expressionopt SEMICOLON ForUpdateopt RPAREN Statement // case 291: { List a = (List) btParser.getSym(3); Expr b = (Expr) btParser.getSym(5); List c = (List) btParser.getSym(7); Stmt d = (Stmt) btParser.getSym(9); btParser.setSym1(nf.For(pos(), a, b, c, d)); break; } // // Rule 292: ForStatementNoShortIf ::= for LPAREN ForInitopt SEMICOLON Expressionopt SEMICOLON ForUpdateopt RPAREN StatementNoShortIf // case 292: { List a = (List) btParser.getSym(3); Expr b = (Expr) btParser.getSym(5); List c = (List) btParser.getSym(7); Stmt d = (Stmt) btParser.getSym(9); btParser.setSym1(nf.For(pos(), a, b, c, d)); break; } // // Rule 293: ForInit ::= StatementExpressionList // case 293: break; // // Rule 294: ForInit ::= LocalVariableDeclaration // case 294: { List l = new TypedList(new LinkedList(), ForInit.class, false), l2 = (List) btParser.getSym(1); l.addAll(l2); //btParser.setSym1(l); break; } // // Rule 295: ForUpdate ::= StatementExpressionList // case 295: break; // // Rule 296: StatementExpressionList ::= StatementExpression // case 296: { List l = new TypedList(new LinkedList(), Eval.class, false); Expr a = (Expr) btParser.getSym(1); l.add(nf.Eval(pos(), a)); btParser.setSym1(l); break; } // // Rule 297: StatementExpressionList ::= StatementExpressionList COMMA StatementExpression // case 297: { List l = (List) btParser.getSym(1); Expr a = (Expr) btParser.getSym(3); l.add(nf.Eval(pos(), a)); //btParser.setSym1(l); break; } // // Rule 298: BreakStatement ::= break identifieropt SEMICOLON // case 298: { Name a = (Name) btParser.getSym(2); if (a == null) btParser.setSym1(nf.Break(pos())); else btParser.setSym1(nf.Break(pos(), a.toString())); break; } // // Rule 299: ContinueStatement ::= continue identifieropt SEMICOLON // case 299: { Name a = (Name) btParser.getSym(2); if (a == null) btParser.setSym1(nf.Continue(pos())); else btParser.setSym1(nf.Continue(pos(), a.toString())); break; } // // Rule 300: ReturnStatement ::= return Expressionopt SEMICOLON // case 300: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Return(pos(), a)); break; } // // Rule 301: ThrowStatement ::= throw Expression SEMICOLON // case 301: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Throw(pos(), a)); break; } // // Rule 302: SynchronizedStatement ::= synchronized LPAREN Expression RPAREN Block // case 302: { Expr a = (Expr) btParser.getSym(3); Block b = (Block) btParser.getSym(5); btParser.setSym1(nf.Synchronized(pos(), a, b)); break; } // // Rule 303: TryStatement ::= try Block Catches // case 303: { Block a = (Block) btParser.getSym(2); List b = (List) btParser.getSym(3); btParser.setSym1(nf.Try(pos(), a, b)); break; } // // Rule 304: TryStatement ::= try Block Catchesopt Finally // case 304: { Block a = (Block) btParser.getSym(2); List b = (List) btParser.getSym(3); Block c = (Block) btParser.getSym(4); btParser.setSym1(nf.Try(pos(), a, b, c)); break; } // // Rule 305: Catches ::= CatchClause // case 305: { List l = new TypedList(new LinkedList(), Catch.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 306: Catches ::= Catches CatchClause // case 306: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(2)); //btParser.setSym1(l); break; } // // Rule 307: CatchClause ::= catch LPAREN FormalParameter RPAREN Block // case 307: { Formal a = (Formal) btParser.getSym(3); Block b = (Block) btParser.getSym(5); btParser.setSym1(nf.Catch(pos(), a, b)); break; } // // Rule 308: Finally ::= finally Block // case 308: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 309: Primary ::= PrimaryNoNewArray // case 309: break; // // Rule 310: Primary ::= ArrayCreationExpression // case 310: break; // // Rule 311: PrimaryNoNewArray ::= Literal // case 311: break; // // Rule 312: PrimaryNoNewArray ::= Type DOT class // case 312: { Object o = btParser.getSym(1); if (o instanceof Name) { Name a = (Name) o; btParser.setSym1(nf.ClassLit(pos(), a.toType())); } else if (o instanceof TypeNode) { TypeNode a = (TypeNode) o; btParser.setSym1(nf.ClassLit(pos(), a)); } else if (o instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) o; btParser.setSym1(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 313: PrimaryNoNewArray ::= void DOT class // case 313: { btParser.setSym1(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(btParser.getToken(1)), ts.Void()))); break; } // // Rule 314: PrimaryNoNewArray ::= this // case 314: { btParser.setSym1(nf.This(pos())); break; } // // Rule 315: PrimaryNoNewArray ::= ClassName DOT this // case 315: { Name a = (Name) btParser.getSym(1); btParser.setSym1(nf.This(pos(), a.toType())); break; } // // Rule 316: PrimaryNoNewArray ::= LPAREN Expression RPAREN // case 316: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 317: PrimaryNoNewArray ::= ClassInstanceCreationExpression // case 317: break; // // Rule 318: PrimaryNoNewArray ::= FieldAccess // case 318: break; // // Rule 319: PrimaryNoNewArray ::= MethodInvocation // case 319: break; // // Rule 320: PrimaryNoNewArray ::= ArrayAccess // case 320: break; // // Rule 321: Literal ::= IntegerLiteral // case 321: { // TODO: remove any prefix (such as 0x) polyglot.lex.IntegerLiteral a = int_lit(btParser.getToken(1), 10); btParser.setSym1(nf.IntLit(pos(), IntLit.INT, a.getValue().intValue())); break; } // // Rule 322: Literal ::= LongLiteral // case 322: { // TODO: remove any suffix (such as L) or prefix (such as 0x) polyglot.lex.LongLiteral a = long_lit(btParser.getToken(1), 10); btParser.setSym1(nf.IntLit(pos(), IntLit.LONG, a.getValue().longValue())); break; } // // Rule 323: Literal ::= FloatingPointLiteral // case 323: { // TODO: remove any suffix (such as F) polyglot.lex.FloatLiteral a = float_lit(btParser.getToken(1)); btParser.setSym1(nf.FloatLit(pos(), FloatLit.FLOAT, a.getValue().floatValue())); break; } // // Rule 324: Literal ::= DoubleLiteral // case 324: { // TODO: remove any suffix (such as D) polyglot.lex.DoubleLiteral a = double_lit(btParser.getToken(1)); btParser.setSym1(nf.FloatLit(pos(), FloatLit.DOUBLE, a.getValue().doubleValue())); break; } // // Rule 325: Literal ::= BooleanLiteral // case 325: { polyglot.lex.BooleanLiteral a = boolean_lit(btParser.getToken(1)); btParser.setSym1(nf.BooleanLit(pos(), a.getValue().booleanValue())); break; } // // Rule 326: Literal ::= CharacterLiteral // case 326: { polyglot.lex.CharacterLiteral a = char_lit(btParser.getToken(1)); btParser.setSym1(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 327: Literal ::= StringLiteral // case 327: { polyglot.lex.StringLiteral a = string_lit(btParser.getToken(1)); btParser.setSym1(nf.StringLit(pos(), a.getValue())); break; } // // Rule 328: Literal ::= null // case 328: { btParser.setSym1(nf.NullLit(pos())); break; } // // Rule 329: BooleanLiteral ::= true // case 329: break; // // Rule 330: BooleanLiteral ::= false // case 330: break; // // Rule 331: ClassInstanceCreationExpression ::= new ClassOrInterfaceType LPAREN ArgumentListopt RPAREN ClassBodyopt // case 331: {//vj assert(btParser.getSym(2) == null); TypeNode a = (TypeNode) btParser.getSym(2);//vj assert(btParser.getSym(4) == null); List b = (List) btParser.getSym(4); ClassBody c = (ClassBody) btParser.getSym(6); if (c == null) btParser.setSym1(nf.New(pos(), a, b)); else btParser.setSym1(nf.New(pos(), a, b, c)); break; } // // Rule 332: ClassInstanceCreationExpression ::= Primary DOT new identifier LPAREN ArgumentListopt RPAREN ClassBodyopt // case 332: { Expr a = (Expr) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); Name b = new Name(nf, ts, pos(), id(btParser.getToken(4)).getIdentifier());//vj assert(btParser.getSym(4) == null); List c = (List) btParser.getSym(6); ClassBody d = (ClassBody) btParser.getSym(8); if (d == null) btParser.setSym1(nf.New(pos(), a, b.toType(), c)); else btParser.setSym1(nf.New(pos(), a, b.toType(), c, d)); break; } // // Rule 333: ClassInstanceCreationExpression ::= AmbiguousName DOT new identifier LPAREN ArgumentListopt RPAREN ClassBodyopt // case 333: { Name a = (Name) btParser.getSym(1);//vj assert(btParser.getSym(4) == null); Name b = new Name(nf, ts, pos(), id(btParser.getToken(4)).getIdentifier());//vj assert(btParser.getSym(6) == null); List c = (List) btParser.getSym(6); ClassBody d = (ClassBody) btParser.getSym(8); if (d == null) btParser.setSym1(nf.New(pos(), a.toExpr(), b.toType(), c)); else btParser.setSym1(nf.New(pos(), a.toExpr(), b.toType(), c, d)); break; } // // Rule 334: ArgumentList ::= Expression // case 334: { List l = new TypedList(new LinkedList(), Expr.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 335: ArgumentList ::= ArgumentList COMMA Expression // case 335: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); //btParser.setSym1(l); break; } // // Rule 336: ArrayCreationExpression ::= new PrimitiveType DimExprs Dimsopt // case 336: { CanonicalTypeNode a = (CanonicalTypeNode) btParser.getSym(2); List b = (List) btParser.getSym(3); Integer c = (Integer) btParser.getSym(4); btParser.setSym1(nf.NewArray(pos(), a, b, c.intValue())); break; } // // Rule 337: ArrayCreationExpression ::= new ClassOrInterfaceType DimExprs Dimsopt // case 337: { TypeNode a = (TypeNode) btParser.getSym(2); List b = (List) btParser.getSym(3); Integer c = (Integer) btParser.getSym(4); btParser.setSym1(nf.NewArray(pos(), a, b, c.intValue())); break; } // // Rule 338: ArrayCreationExpression ::= new PrimitiveType Dims ArrayInitializer // case 338: { CanonicalTypeNode a = (CanonicalTypeNode) btParser.getSym(2); Integer b = (Integer) btParser.getSym(3); ArrayInit c = (ArrayInit) btParser.getSym(4); btParser.setSym1(nf.NewArray(pos(), a, b.intValue(), c)); break; } // // Rule 339: ArrayCreationExpression ::= new ClassOrInterfaceType Dims ArrayInitializer // case 339: { TypeNode a = (TypeNode) btParser.getSym(2); Integer b = (Integer) btParser.getSym(3); ArrayInit c = (ArrayInit) btParser.getSym(4); btParser.setSym1(nf.NewArray(pos(), a, b.intValue(), c)); break; } // // Rule 340: DimExprs ::= DimExpr // case 340: { List l = new TypedList(new LinkedList(), Expr.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 341: DimExprs ::= DimExprs DimExpr // case 341: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(2)); //btParser.setSym1(l); break; } // // Rule 342: DimExpr ::= LBRACKET Expression RBRACKET // case 342: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(a.position(pos())); break; } // // Rule 343: Dims ::= LBRACKET RBRACKET // case 343: { btParser.setSym1(new Integer(1)); break; } // // Rule 344: Dims ::= Dims LBRACKET RBRACKET // case 344: { Integer a = (Integer) btParser.getSym(1); btParser.setSym1(new Integer(a.intValue() + 1)); break; } // // Rule 345: FieldAccess ::= Primary DOT identifier // case 345: { Expr a = (Expr) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(nf.Field(pos(), a, b.getIdentifier())); break; } // // Rule 346: FieldAccess ::= super DOT identifier // case 346: { polyglot.lex.Identifier a = id(btParser.getToken(3)); btParser.setSym1(nf.Field(pos(btParser.getLastToken()), nf.Super(pos(btParser.getFirstToken())), a.getIdentifier())); break; } // // Rule 347: FieldAccess ::= ClassName DOT super DOT identifier // case 347: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(nf.Field(pos(btParser.getLastToken()), nf.Super(pos(btParser.getFirstToken(3)), a.toType()), b.getIdentifier())); break; } // // Rule 348: MethodInvocation ::= MethodName LPAREN ArgumentListopt RPAREN // case 348: { Name a = (Name) btParser.getSym(1); List b = (List) btParser.getSym(3); btParser.setSym1(nf.Call(pos(), a.prefix == null ? null : a.prefix.toReceiver(), a.name, b)); break; } // // Rule 349: MethodInvocation ::= Primary DOT identifier LPAREN ArgumentListopt RPAREN // case 349: { Expr a = (Expr) btParser.getSym(1);//vj assert(btParser.getSym(3) == null); polyglot.lex.Identifier b = id(btParser.getToken(3)); List c = (List) btParser.getSym(5); btParser.setSym1(nf.Call(pos(), a, b.getIdentifier(), c)); break; } // // Rule 350: MethodInvocation ::= super DOT identifier LPAREN ArgumentListopt RPAREN // case 350: {//vj assert(btParser.getSym(3) == null); polyglot.lex.Identifier b = id(btParser.getToken(3)); List c = (List) btParser.getSym(5); btParser.setSym1(nf.Call(pos(), nf.Super(pos(btParser.getFirstToken())), b.getIdentifier(), c)); break; } // // Rule 351: MethodInvocation ::= ClassName DOT super DOT identifier LPAREN ArgumentListopt RPAREN // case 351: { Name a = (Name) btParser.getSym(1);//vj assert(btParser.getSym(5) == null); polyglot.lex.Identifier b = id(btParser.getToken(5)); List c = (List) btParser.getSym(7); btParser.setSym1(nf.Call(pos(), nf.Super(pos(btParser.getFirstToken(3)), a.toType()), b.getIdentifier(), c)); break; } // // Rule 352: PostfixExpression ::= Primary // case 352: break; // // Rule 353: PostfixExpression ::= ExpressionName // case 353: { Name a = (Name) btParser.getSym(1); btParser.setSym1(a.toExpr()); break; } // // Rule 354: PostfixExpression ::= PostIncrementExpression // case 354: break; // // Rule 355: PostfixExpression ::= PostDecrementExpression // case 355: break; // // Rule 356: PostIncrementExpression ::= PostfixExpression PLUS_PLUS // case 356: { Expr a = (Expr) btParser.getSym(1); btParser.setSym1(nf.Unary(pos(), a, Unary.POST_INC)); break; } // // Rule 357: PostDecrementExpression ::= PostfixExpression MINUS_MINUS // case 357: { Expr a = (Expr) btParser.getSym(1); btParser.setSym1(nf.Unary(pos(), a, Unary.POST_DEC)); break; } // // Rule 358: UnaryExpression ::= PreIncrementExpression // case 358: break; // // Rule 359: UnaryExpression ::= PreDecrementExpression // case 359: break; // // Rule 360: UnaryExpression ::= PLUS UnaryExpression // case 360: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.POS, a)); break; } // // Rule 361: UnaryExpression ::= MINUS UnaryExpression // case 361: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.NEG, a)); break; } // // Rule 363: PreIncrementExpression ::= PLUS_PLUS UnaryExpression // case 363: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.PRE_INC, a)); break; } // // Rule 364: PreDecrementExpression ::= MINUS_MINUS UnaryExpression // case 364: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.PRE_DEC, a)); break; } // // Rule 365: UnaryExpressionNotPlusMinus ::= PostfixExpression // case 365: break; // // Rule 366: UnaryExpressionNotPlusMinus ::= TWIDDLE UnaryExpression // case 366: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.BIT_NOT, a)); break; } // // Rule 367: UnaryExpressionNotPlusMinus ::= NOT UnaryExpression // case 367: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.NOT, a)); break; } // // Rule 369: MultiplicativeExpression ::= UnaryExpression // case 369: break; // // Rule 370: MultiplicativeExpression ::= MultiplicativeExpression MULTIPLY UnaryExpression // case 370: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.MUL, b)); break; } // // Rule 371: MultiplicativeExpression ::= MultiplicativeExpression DIVIDE UnaryExpression // case 371: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.DIV, b)); break; } // // Rule 372: MultiplicativeExpression ::= MultiplicativeExpression REMAINDER UnaryExpression // case 372: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.MOD, b)); break; } // // Rule 373: AdditiveExpression ::= MultiplicativeExpression // case 373: break; // // Rule 374: AdditiveExpression ::= AdditiveExpression PLUS MultiplicativeExpression // case 374: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.ADD, b)); break; } // // Rule 375: AdditiveExpression ::= AdditiveExpression MINUS MultiplicativeExpression // case 375: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.SUB, b)); break; } // // Rule 376: ShiftExpression ::= AdditiveExpression // case 376: break; // // Rule 377: ShiftExpression ::= ShiftExpression LEFT_SHIFT AdditiveExpression // case 377: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.SHL, b)); break; } // // Rule 378: ShiftExpression ::= ShiftExpression GREATER GREATER AdditiveExpression // case 378: { // TODO: make sure that there is no space between the ">" signs Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(4); btParser.setSym1(nf.Binary(pos(), a, Binary.SHR, b)); break; } // // Rule 379: ShiftExpression ::= ShiftExpression GREATER GREATER GREATER AdditiveExpression // case 379: { // TODO: make sure that there is no space between the ">" signs Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(5); btParser.setSym1(nf.Binary(pos(), a, Binary.USHR, b)); break; } // // Rule 380: RelationalExpression ::= ShiftExpression // case 380: break; // // Rule 381: RelationalExpression ::= RelationalExpression LESS ShiftExpression // case 381: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.LT, b)); break; } // // Rule 382: RelationalExpression ::= RelationalExpression GREATER ShiftExpression // case 382: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.GT, b)); break; } // // Rule 383: RelationalExpression ::= RelationalExpression LESS_EQUAL ShiftExpression // case 383: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.LE, b)); break; } // // Rule 384: RelationalExpression ::= RelationalExpression GREATER EQUAL ShiftExpression // case 384: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(4); btParser.setSym1(nf.Binary(pos(), a, Binary.GE, b)); break; } // // Rule 385: EqualityExpression ::= RelationalExpression // case 385: break; // // Rule 386: EqualityExpression ::= EqualityExpression EQUAL_EQUAL RelationalExpression // case 386: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.EQ, b)); break; } // // Rule 387: EqualityExpression ::= EqualityExpression NOT_EQUAL RelationalExpression // case 387: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.NE, b)); break; } // // Rule 388: AndExpression ::= EqualityExpression // case 388: break; // // Rule 389: AndExpression ::= AndExpression AND EqualityExpression // case 389: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.BIT_AND, b)); break; } // // Rule 390: ExclusiveOrExpression ::= AndExpression // case 390: break; // // Rule 391: ExclusiveOrExpression ::= ExclusiveOrExpression XOR AndExpression // case 391: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.BIT_XOR, b)); break; } // // Rule 392: InclusiveOrExpression ::= ExclusiveOrExpression // case 392: break; // // Rule 393: InclusiveOrExpression ::= InclusiveOrExpression OR ExclusiveOrExpression // case 393: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.BIT_OR, b)); break; } // // Rule 394: ConditionalAndExpression ::= InclusiveOrExpression // case 394: break; // // Rule 395: ConditionalAndExpression ::= ConditionalAndExpression AND_AND InclusiveOrExpression // case 395: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.COND_AND, b)); break; } // // Rule 396: ConditionalOrExpression ::= ConditionalAndExpression // case 396: break; // // Rule 397: ConditionalOrExpression ::= ConditionalOrExpression OR_OR ConditionalAndExpression // case 397: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.COND_OR, b)); break; } // // Rule 398: ConditionalExpression ::= ConditionalOrExpression // case 398: break; // // Rule 399: ConditionalExpression ::= ConditionalOrExpression QUESTION Expression COLON ConditionalExpression // case 399: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3), c = (Expr) btParser.getSym(5); btParser.setSym1(nf.Conditional(pos(), a, b, c)); break; } // // Rule 400: AssignmentExpression ::= ConditionalExpression // case 400: break; // // Rule 401: AssignmentExpression ::= Assignment // case 401: break; // // Rule 402: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 402: { Expr a = (Expr) btParser.getSym(1); Assign.Operator b = (Assign.Operator) btParser.getSym(2); Expr c = (Expr) btParser.getSym(3); btParser.setSym1(nf.Assign(pos(), a, b, c)); break; } // // Rule 403: LeftHandSide ::= ExpressionName // case 403: { Name a = (Name) btParser.getSym(1); btParser.setSym1(a.toExpr()); break; } // // Rule 404: LeftHandSide ::= FieldAccess // case 404: break; // // Rule 405: LeftHandSide ::= ArrayAccess // case 405: break; // // Rule 406: AssignmentOperator ::= EQUAL // case 406: { btParser.setSym1(Assign.ASSIGN); break; } // // Rule 407: AssignmentOperator ::= MULTIPLY_EQUAL // case 407: { btParser.setSym1(Assign.MUL_ASSIGN); break; } // // Rule 408: AssignmentOperator ::= DIVIDE_EQUAL // case 408: { btParser.setSym1(Assign.DIV_ASSIGN); break; } // // Rule 409: AssignmentOperator ::= REMAINDER_EQUAL // case 409: { btParser.setSym1(Assign.MOD_ASSIGN); break; } // // Rule 410: AssignmentOperator ::= PLUS_EQUAL // case 410: { btParser.setSym1(Assign.ADD_ASSIGN); break; } // // Rule 411: AssignmentOperator ::= MINUS_EQUAL // case 411: { btParser.setSym1(Assign.SUB_ASSIGN); break; } // // Rule 412: AssignmentOperator ::= LEFT_SHIFT_EQUAL // case 412: { btParser.setSym1(Assign.SHL_ASSIGN); break; } // // Rule 413: AssignmentOperator ::= GREATER GREATER EQUAL // case 413: { // TODO: make sure that there is no space between the ">" signs btParser.setSym1(Assign.SHR_ASSIGN); break; } // // Rule 414: AssignmentOperator ::= GREATER GREATER GREATER EQUAL // case 414: { // TODO: make sure that there is no space between the ">" signs btParser.setSym1(Assign.USHR_ASSIGN); break; } // // Rule 415: AssignmentOperator ::= AND_EQUAL // case 415: { btParser.setSym1(Assign.BIT_AND_ASSIGN); break; } // // Rule 416: AssignmentOperator ::= XOR_EQUAL // case 416: { btParser.setSym1(Assign.BIT_XOR_ASSIGN); break; } // // Rule 417: AssignmentOperator ::= OR_EQUAL // case 417: { btParser.setSym1(Assign.BIT_OR_ASSIGN); break; } // // Rule 418: Expression ::= AssignmentExpression // case 418: break; // // Rule 419: ConstantExpression ::= Expression // case 419: break; // // Rule 420: Dimsopt ::= // case 420: { btParser.setSym1(new Integer(0)); break; } // // Rule 421: Dimsopt ::= Dims // case 421: break; // // Rule 422: Catchesopt ::= // case 422: { btParser.setSym1(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 423: Catchesopt ::= Catches // case 423: break; // // Rule 424: identifieropt ::= // case 424: btParser.setSym1(null); break; // // Rule 425: identifieropt ::= identifier // case 425: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 426: ForUpdateopt ::= // case 426: { btParser.setSym1(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 427: ForUpdateopt ::= ForUpdate // case 427: break; // // Rule 428: Expressionopt ::= // case 428: btParser.setSym1(null); break; // // Rule 429: Expressionopt ::= Expression // case 429: break; // // Rule 430: ForInitopt ::= // case 430: { btParser.setSym1(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 431: ForInitopt ::= ForInit // case 431: break; // // Rule 432: SwitchLabelsopt ::= // case 432: { btParser.setSym1(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 433: SwitchLabelsopt ::= SwitchLabels // case 433: break; // // Rule 434: SwitchBlockStatementGroupsopt ::= // case 434: { btParser.setSym1(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 435: SwitchBlockStatementGroupsopt ::= SwitchBlockStatementGroups // case 435: break; // // Rule 436: VariableModifiersopt ::= // case 436: { btParser.setSym1(Flags.NONE); break; } // // Rule 437: VariableModifiersopt ::= VariableModifiers // case 437: break; // // Rule 438: VariableInitializersopt ::= // case 438: btParser.setSym1(null); break; // // Rule 439: VariableInitializersopt ::= VariableInitializers // case 439: break; // // Rule 440: ElementValuesopt ::= // case 440: btParser.setSym1(null); break; // // Rule 441: ElementValuesopt ::= ElementValues // case 441: bad_rule = 441; break; // // Rule 442: ElementValuePairsopt ::= // case 442: btParser.setSym1(null); break; // // Rule 443: ElementValuePairsopt ::= ElementValuePairs // case 443: bad_rule = 443; break; // // Rule 444: DefaultValueopt ::= // case 444: btParser.setSym1(null); break; // // Rule 445: DefaultValueopt ::= DefaultValue // case 445: break; // // Rule 446: AnnotationTypeElementDeclarationsopt ::= // case 446: btParser.setSym1(null); break; // // Rule 447: AnnotationTypeElementDeclarationsopt ::= AnnotationTypeElementDeclarations // case 447: bad_rule = 447; break; // // Rule 448: AbstractMethodModifiersopt ::= // case 448: { btParser.setSym1(Flags.NONE); break; } // // Rule 449: AbstractMethodModifiersopt ::= AbstractMethodModifiers // case 449: break; // // Rule 450: ConstantModifiersopt ::= // case 450: { btParser.setSym1(Flags.NONE); break; } // // Rule 451: ConstantModifiersopt ::= ConstantModifiers // case 451: break; // // Rule 452: InterfaceMemberDeclarationsopt ::= // case 452: { btParser.setSym1(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 453: InterfaceMemberDeclarationsopt ::= InterfaceMemberDeclarations // case 453: break; // // Rule 454: ExtendsInterfacesopt ::= // case 454: { btParser.setSym1(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 455: ExtendsInterfacesopt ::= ExtendsInterfaces // case 455: break; // // Rule 456: InterfaceModifiersopt ::= // case 456: { btParser.setSym1(Flags.NONE); break; } // // Rule 457: InterfaceModifiersopt ::= InterfaceModifiers // case 457: break; // // Rule 458: ClassBodyopt ::= // case 458: btParser.setSym1(null); break; // // Rule 459: ClassBodyopt ::= ClassBody // case 459: break; // // Rule 460: Argumentsopt ::= // case 460: btParser.setSym1(null); break; // // Rule 461: Argumentsopt ::= Arguments // case 461: bad_rule = 461; break; // // Rule 462: EnumBodyDeclarationsopt ::= // case 462: btParser.setSym1(null); break; // // Rule 463: EnumBodyDeclarationsopt ::= EnumBodyDeclarations // case 463: bad_rule = 463; break; // // Rule 464: ,opt ::= // case 464: btParser.setSym1(null); break; // // Rule 465: ,opt ::= COMMA // case 465: break; // // Rule 466: EnumConstantsopt ::= // case 466: btParser.setSym1(null); break; // // Rule 467: EnumConstantsopt ::= EnumConstants // case 467: bad_rule = 467; break; // // Rule 468: ArgumentListopt ::= // case 468: { btParser.setSym1(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 469: ArgumentListopt ::= ArgumentList // case 469: break; // // Rule 470: BlockStatementsopt ::= // case 470: { btParser.setSym1(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 471: BlockStatementsopt ::= BlockStatements // case 471: break; // // Rule 472: ExplicitConstructorInvocationopt ::= // case 472: btParser.setSym1(null); break; // // Rule 473: ExplicitConstructorInvocationopt ::= ExplicitConstructorInvocation // case 473: break; // // Rule 474: ConstructorModifiersopt ::= // case 474: { btParser.setSym1(Flags.NONE); break; } // // Rule 475: ConstructorModifiersopt ::= ConstructorModifiers // case 475: break; // // Rule 476: ...opt ::= // case 476: btParser.setSym1(null); break; // // Rule 477: ...opt ::= ELLIPSIS // case 477: break; // // Rule 478: FormalParameterListopt ::= // case 478: { btParser.setSym1(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 479: FormalParameterListopt ::= FormalParameterList // case 479: break; // // Rule 480: Throwsopt ::= // case 480: { btParser.setSym1(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 481: Throwsopt ::= Throws // case 481: break; // // Rule 482: MethodModifiersopt ::= // case 482: { btParser.setSym1(Flags.NONE); break; } // // Rule 483: MethodModifiersopt ::= MethodModifiers // case 483: break; // // Rule 484: FieldModifiersopt ::= // case 484: { btParser.setSym1(Flags.NONE); break; } // // Rule 485: FieldModifiersopt ::= FieldModifiers // case 485: break; // // Rule 486: ClassBodyDeclarationsopt ::= // case 486: { btParser.setSym1(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 487: ClassBodyDeclarationsopt ::= ClassBodyDeclarations // case 487: break; // // Rule 488: Interfacesopt ::= // case 488: { btParser.setSym1(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 489: Interfacesopt ::= Interfaces // case 489: break; // // Rule 490: Superopt ::= // case 490: btParser.setSym1(null); break; // // Rule 491: Superopt ::= Super // case 491: break; // // Rule 492: TypeParametersopt ::= // case 492: btParser.setSym1(null); break; // // Rule 493: TypeParametersopt ::= TypeParameters // case 493: break; // // Rule 494: ClassModifiersopt ::= // case 494: { btParser.setSym1(Flags.NONE); break; } // // Rule 495: ClassModifiersopt ::= ClassModifiers // case 495: break; // // Rule 496: Annotationsopt ::= // case 496: btParser.setSym1(null); break; // // Rule 497: Annotationsopt ::= Annotations // case 497: bad_rule = 497; break; // // Rule 498: TypeDeclarationsopt ::= // case 498: { btParser.setSym1(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 499: TypeDeclarationsopt ::= TypeDeclarations // case 499: break; // // Rule 500: ImportDeclarationsopt ::= // case 500: { btParser.setSym1(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 501: ImportDeclarationsopt ::= ImportDeclarations // case 501: break; // // Rule 502: PackageDeclarationopt ::= // case 502: btParser.setSym1(null); break; // // Rule 503: PackageDeclarationopt ::= PackageDeclaration // case 503: break; // // Rule 504: WildcardBoundsOpt ::= // case 504: btParser.setSym1(null); break; // // Rule 505: WildcardBoundsOpt ::= WildcardBounds // case 505: bad_rule = 505; break; // // Rule 506: AdditionalBoundListopt ::= // case 506: btParser.setSym1(null); break; // // Rule 507: AdditionalBoundListopt ::= AdditionalBoundList // case 507: bad_rule = 507; break; // // Rule 508: TypeBoundopt ::= // case 508: btParser.setSym1(null); break; // // Rule 509: TypeBoundopt ::= TypeBound // case 509: bad_rule = 509; break; // // Rule 510: TypeArgumentsopt ::= // case 510: btParser.setSym1(null); break; // // Rule 511: TypeArgumentsopt ::= TypeArguments // case 511: bad_rule = 511; break; // // Rule 512: Type ::= DataType PlaceTypeSpecifieropt // case 512: { assert(btParser.getSym(2) == null); //btParser.setSym1(); break; } // // Rule 513: Type ::= nullable LESS Type GREATER // case 513: { TypeNode a = (TypeNode) btParser.getSym(3); btParser.setSym1(nf.Nullable(pos(), a)); break; } // // Rule 514: Type ::= future LESS Type GREATER // case 514: { TypeNode a = (TypeNode) btParser.getSym(3); btParser.setSym1(nf.Future(pos(), a)); break; } // // Rule 515: Type ::= boxed LESS Type GREATER // case 515: bad_rule = 515; break; // // Rule 516: Type ::= fun LESS Type COMMA Type GREATER // case 516: bad_rule = 516; break; // // Rule 517: DataType ::= PrimitiveType // case 517: break; // // Rule 518: DataType ::= ClassOrInterfaceType // case 518: break; // // Rule 519: DataType ::= ArrayType // case 519: break; // // Rule 520: PlaceTypeSpecifier ::= AT PlaceType // case 520: bad_rule = 520; break; // // Rule 521: PlaceType ::= place // case 521: bad_rule = 521; break; // // Rule 522: PlaceType ::= activity // case 522: bad_rule = 522; break; // // Rule 523: PlaceType ::= method // case 523: bad_rule = 523; break; // // Rule 524: PlaceType ::= current // case 524: bad_rule = 524; break; // // Rule 525: PlaceType ::= PlaceExpression // case 525: bad_rule = 525; break; // // Rule 526: ClassOrInterfaceType ::= TypeName DepParametersopt // case 526: { Name a = (Name) btParser.getSym(1); TypeNode t = a.toType(); DepParameterExpr b = (DepParameterExpr) btParser.getSym(2); btParser.setSym1(nf.ParametricTypeNode(pos(), t, b)); break; } // // Rule 527: DepParameters ::= LPAREN DepParameterExpr RPAREN // case 527: break; // // Rule 528: DepParameterExpr ::= ArgumentList WhereClauseopt // case 528: { List a = (List) btParser.getSym(1); Expr b = (Expr) btParser.getSym(2); btParser.setSym1(nf.DepParameterExpr(pos(),a,b)); break; } // // Rule 529: DepParameterExpr ::= WhereClause // case 529: { Expr b = (Expr) btParser.getSym(1); btParser.setSym1(nf.DepParameterExpr(pos(), null, b)); break; } // // Rule 530: WhereClause ::= COLON Expression // case 530: break; // // Rule 532: X10ArrayType ::= Type LBRACKET DOT RBRACKET // case 532: { TypeNode a = (TypeNode) btParser.getSym(1); TypeNode t = nf.X10ArrayTypeNode(pos(), a, false, null); System.out.println("Parser parses X10ArrayType Type [.] as |" + t +"|"); btParser.setSym1(t); break; } // // Rule 533: X10ArrayType ::= Type reference LBRACKET DOT RBRACKET // case 533: { TypeNode a = (TypeNode) btParser.getSym(1); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, false, null)); break; } // // Rule 534: X10ArrayType ::= Type value LBRACKET DOT RBRACKET // case 534: { TypeNode a = (TypeNode) btParser.getSym(1); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, true, null)); break; } // // Rule 535: X10ArrayType ::= Type LBRACKET DepParameterExpr RBRACKET // case 535: { TypeNode a = (TypeNode) btParser.getSym(1); DepParameterExpr b = (DepParameterExpr) btParser.getSym(2); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, false, b)); break; } // // Rule 536: X10ArrayType ::= Type reference LBRACKET DepParameterExpr RBRACKET // case 536: { TypeNode a = (TypeNode) btParser.getSym(1); DepParameterExpr b = (DepParameterExpr) btParser.getSym(2); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, false, b)); break; } // // Rule 537: X10ArrayType ::= Type value LBRACKET DepParameterExpr RBRACKET // case 537: { TypeNode a = (TypeNode) btParser.getSym(1); DepParameterExpr b = (DepParameterExpr) btParser.getSym(2); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, true, b)); break; } // // Rule 538: ObjectKind ::= value // case 538: bad_rule = 538; break; // // Rule 539: ObjectKind ::= reference // case 539: bad_rule = 539; break; // // Rule 540: MethodModifier ::= atomic // case 540: { btParser.setSym1(Flags.ATOMIC); break; } // // Rule 541: MethodModifier ::= extern // case 541: { btParser.setSym1(Flags.NATIVE); break; } // // Rule 542: ClassDeclaration ::= ValueClassDeclaration // case 542: break; // // Rule 543: ValueClassDeclaration ::= ClassModifiersopt value identifier Superopt Interfacesopt ClassBody // case 543: { Flags a = (Flags) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); TypeNode c = (TypeNode) btParser.getSym(4); List d = (List) btParser.getSym(5); ClassBody e = (ClassBody) btParser.getSym(6); btParser.setSym1(nf.ValueClassDecl(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier(), c, d, e)); break; } // // Rule 544: ValueClassDeclaration ::= ClassModifiersopt value class identifier Superopt Interfacesopt ClassBody // case 544: { Flags a = (Flags) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(4)); TypeNode c = (TypeNode) btParser.getSym(5); List d = (List) btParser.getSym(6); ClassBody e = (ClassBody) btParser.getSym(7); btParser.setSym1(nf.ValueClassDecl(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier(), c, d, e)); break; } // // Rule 545: ArrayCreationExpression ::= new ArrayBaseType LBRACKET Expression RBRACKET // case 545: { TypeNode a = (TypeNode) btParser.getSym(2); Expr c = (Expr) btParser.getSym(4); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(c); btParser.setSym1(nf.NewArray(pos(), a, l)); break; } // // Rule 546: ArrayCreationExpression ::= new ArrayBaseType LBRACKET RBRACKET ArrayInitializer // case 546: { TypeNode a = (TypeNode) btParser.getSym(2); ArrayInit d = (ArrayInit) btParser.getSym(5); // btParser.setSym1(nf.ArrayConstructor(pos(), a, false, null, d)); btParser.setSym1(nf.NewArray(pos(), a, 0, d)); break; } // // Rule 547: ArrayCreationExpression ::= new ArrayBaseType LBRACKET DOT Expression RBRACKET // case 547: { TypeNode a = (TypeNode) btParser.getSym(2); Expr c = (Expr) btParser.getSym(5); System.out.println("parser: Parsed new " + a + " [. " + c + " ]"); btParser.setSym1(nf.ArrayConstructor(pos(), a, false, c, null)); break; } // // Rule 548: ArrayCreationExpression ::= new ArrayBaseType LBRACKET DOT Expression RBRACKET Expression // case 548: { TypeNode a = (TypeNode) btParser.getSym(2); Expr c = (Expr) btParser.getSym(5); Expr d = (Expr) btParser.getSym(7); System.out.println("parser: Parsed new " + a + " [. " + c + " ]" + d); btParser.setSym1(nf.ArrayConstructor(pos(), a, false, c, d)); break; } // // Rule 549: ArrayCreationExpression ::= new ArrayBaseType value LBRACKET DOT Expression RBRACKET // case 549: { TypeNode a = (TypeNode) btParser.getSym(2); Expr c = (Expr) btParser.getSym(6); btParser.setSym1(nf.ArrayConstructor(pos(), a, true, c, null)); break; } // // Rule 550: ArrayCreationExpression ::= new ArrayBaseType value LBRACKET DOT Expression RBRACKET Expression // case 550: { TypeNode a = (TypeNode) btParser.getSym(2); Expr c = (Expr) btParser.getSym(6); Expr d = (Expr) btParser.getSym(8); btParser.setSym1(nf.ArrayConstructor(pos(), a, true, c, d)); break; } // // Rule 551: ArrayBaseType ::= PrimitiveType // case 551: break; // // Rule 552: ArrayBaseType ::= ClassOrInterfaceType // case 552: break; // // Rule 553: ArrayAccess ::= ExpressionName LBRACKET ArgumentList RBRACKET // case 553: { Name e = (Name) btParser.getSym(1); List b = (List) btParser.getSym(3); System.out.println("ArrayAccess parsing:" + b + " size =" + b.size()); if (b.size() == 1) btParser.setSym1(nf.X10ArrayAccess1(pos(), e.toExpr(), (Expr) b.get(0))); else btParser.setSym1(nf.X10ArrayAccess(pos(), e.toExpr(), b)); break; } // // Rule 554: ArrayAccess ::= PrimaryNoNewArray LBRACKET ArgumentList RBRACKET // case 554: { Expr a = (Expr) btParser.getSym(1); List b = (List) btParser.getSym(3); System.out.println("ArrayAccess parsing:" + b + " size =" + b.size()); if (b.size() == 1) btParser.setSym1(nf.X10ArrayAccess1(pos(), a, (Expr) b.get(0))); else btParser.setSym1(nf.X10ArrayAccess(pos(), a, b)); break; } // // Rule 555: Statement ::= NowStatement // case 555: break; // // Rule 556: Statement ::= ClockedStatement // case 556: break; // // Rule 557: Statement ::= AsyncStatement // case 557: break; // // Rule 558: Statement ::= AtomicStatement // case 558: break; // // Rule 559: Statement ::= WhenStatement // case 559: break; // // Rule 560: Statement ::= ForEachStatement // case 560: break; // // Rule 561: Statement ::= AtEachStatement // case 561: break; // // Rule 562: Statement ::= FinishStatement // case 562: break; // // Rule 563: StatementWithoutTrailingSubstatement ::= NextStatement // case 563: break; // // Rule 564: StatementWithoutTrailingSubstatement ::= AwaitStatement // case 564: break; // // Rule 565: StatementNoShortIf ::= NowStatementNoShortIf // case 565: break; // // Rule 566: StatementNoShortIf ::= ClockedStatementNoShortIf // case 566: break; // // Rule 567: StatementNoShortIf ::= AsyncStatementNoShortIf // case 567: break; // // Rule 568: StatementNoShortIf ::= AtomicStatementNoShortIf // case 568: break; // // Rule 569: StatementNoShortIf ::= WhenStatementNoShortIf // case 569: break; // // Rule 570: StatementNoShortIf ::= ForEachStatementNoShortIf // case 570: break; // // Rule 571: StatementNoShortIf ::= AtEachStatementNoShortIf // case 571: break; // // Rule 572: StatementNoShortIf ::= FinishStatementNoShortIf // case 572: break; // // Rule 573: NowStatement ::= now LPAREN Clock RPAREN Statement // case 573: { Name a = (Name) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Now(pos(), a.toExpr(), b)); break; } // // Rule 574: ClockedStatement ::= clocked LPAREN ClockList RPAREN Statement // case 574: { List a = (List) btParser.getSym(3); Block b = (Block) btParser.getSym(5); btParser.setSym1(nf.Clocked(pos(), a, b)); break; } // // Rule 575: AsyncStatement ::= async PlaceExpressionSingleListopt Statement // case 575: { Expr e = (Expr) btParser.getSym(2); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Async(pos(), (e == null ? nf.Here(pos(btParser.getFirstToken())) : e), b)); break; } // // Rule 576: AsyncStatement ::= async LPAREN here RPAREN Statement // case 576: { Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Async(pos(), nf.Here(pos(btParser.getFirstToken())), b)); break; } // // Rule 577: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 577: { Expr e = (Expr) btParser.getSym(2); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Atomic(pos(), (e == null ? nf.Here(pos(btParser.getFirstToken())) : e), b)); break; } // // Rule 578: AtomicStatement ::= atomic LPAREN here RPAREN Statement // case 578: { Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Atomic(pos(), nf.Here(pos(btParser.getFirstToken())), b)); break; } // // Rule 579: WhenStatement ::= when LPAREN Expression RPAREN Statement // case 579: { Expr e = (Expr) btParser.getSym(3); Stmt s = (Stmt) btParser.getSym(5); btParser.setSym1(nf.When(pos(), e,s)); break; } // // Rule 580: WhenStatement ::= WhenStatement or LPAREN Expression RPAREN Statement // case 580: { When w = (When) btParser.getSym(1); Expr e = (Expr) btParser.getSym(4); Stmt s = (Stmt) btParser.getSym(6); w.add(new When_c.Branch_c(e,s)); btParser.setSym1(w); break; } // // Rule 581: ForEachStatement ::= foreach LPAREN FormalParameter COLON Expression RPAREN Statement // case 581: { Formal f = (Formal) btParser.getSym(3); Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.ForEach(pos(), f, e, s); btParser.setSym1(x); break; } // // Rule 582: AtEachStatement ::= ateach LPAREN FormalParameter COLON Expression RPAREN Statement // case 582: { Formal f = (Formal) btParser.getSym(3); Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.AtEach(pos(), f, e, s); btParser.setSym1(x); break; } // // Rule 583: EnhancedForStatement ::= for LPAREN FormalParameter COLON Expression RPAREN Statement // case 583: { Formal f = (Formal) btParser.getSym(3); Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.ForLoop(pos(), f, e, s); btParser.setSym1(x); break; } // // Rule 584: FinishStatement ::= finish Statement // case 584: { Stmt b = (Stmt) btParser.getSym(2); btParser.setSym1(nf.Finish(pos(), b)); break; } // // Rule 585: NowStatementNoShortIf ::= now LPAREN Clock RPAREN StatementNoShortIf // case 585: { Name a = (Name) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Now(pos(), a.toExpr(), b)); break; } // // Rule 586: ClockedStatementNoShortIf ::= clocked LPAREN ClockList RPAREN StatementNoShortIf // case 586: { List a = (List) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Clocked(pos(), a, b)); break; } // // Rule 587: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt StatementNoShortIf // case 587: { Expr e = (Expr) btParser.getSym(2); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Async(pos(), (e == null ? nf.Here(pos(btParser.getFirstToken())) : e), b)); break; } // // Rule 588: AsyncStatementNoShortIf ::= async LPAREN here RPAREN StatementNoShortIf // case 588: { Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Async(pos(), nf.Here(pos(btParser.getFirstToken())), b)); break; } // // Rule 589: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 589: { Expr e = (Expr) btParser.getSym(2); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Atomic(pos(), (e == null ? nf.Here(pos(btParser.getFirstToken())) : e), b)); break; } // // Rule 590: AtomicStatementNoShortIf ::= atomic LPAREN here RPAREN StatementNoShortIf // case 590: { Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Atomic(pos(), nf.Here(pos(btParser.getFirstToken())), b)); break; } // // Rule 591: WhenStatementNoShortIf ::= when LPAREN Expression RPAREN StatementNoShortIf // case 591: { Expr e = (Expr) btParser.getSym(3); Stmt s = (Stmt) btParser.getSym(5); btParser.setSym1(nf.When(pos(), e,s)); break; } // // Rule 592: WhenStatementNoShortIf ::= WhenStatement or LPAREN Expression RPAREN StatementNoShortIf // case 592: { When w = (When) btParser.getSym(1); Expr e = (Expr) btParser.getSym(4); Stmt s = (Stmt) btParser.getSym(6); w.add(new When_c.Branch_c(e,s)); btParser.setSym1(w); break; } // // Rule 593: ForEachStatementNoShortIf ::= foreach LPAREN FormalParameter COLON Expression RPAREN StatementNoShortIf // case 593: { Formal f = (Formal) btParser.getSym(3); Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.ForEach(pos(), f, e, s); btParser.setSym1(x); break; } // // Rule 594: AtEachStatementNoShortIf ::= ateach LPAREN FormalParameter COLON Expression RPAREN StatementNoShortIf // case 594: { Formal f = (Formal) btParser.getSym(3); Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.AtEach(pos(), f, e, s); btParser.setSym1(x); break; } // // Rule 595: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 595: { Stmt b = (Stmt) btParser.getSym(2); btParser.setSym1(nf.Finish(pos(), b)); break; } // // Rule 596: PlaceExpressionSingleList ::= LPAREN PlaceExpression RPAREN // case 596: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 597: PlaceExpression ::= here // case 597: { btParser.setSym1(nf.Here(pos(btParser.getFirstToken()))); break; } // // Rule 598: PlaceExpression ::= this // case 598: { btParser.setSym1(nf.Field(pos(btParser.getFirstToken()), nf.This(pos(btParser.getFirstToken())), "place")); break; } // // Rule 599: PlaceExpression ::= ExpressionName // case 599: { Expr e = (Expr) btParser.getSym(1); btParser.setSym1(nf.Field(pos(btParser.getFirstToken()), e, "place")); break; } // // Rule 600: PlaceExpression ::= ArrayAccess // case 600: bad_rule = 600; break; // // Rule 601: NextStatement ::= next SEMICOLON // case 601: { btParser.setSym1(nf.Next(pos())); break; } // // Rule 602: AwaitStatement ::= await Expression SEMICOLON // case 602: { Expr e = (Expr) btParser.getSym(2); btParser.setSym1(nf.Await(pos(), e)); break; } // // Rule 603: ClockList ::= Clock // case 603: { Name c = (Name) btParser.getSym(1); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(c.toExpr()); btParser.setSym1(l); break; } // // Rule 604: ClockList ::= ClockList COMMA Clock // case 604: { List l = (List) btParser.getSym(1); Name c = (Name) btParser.getSym(3); l.add(c.toExpr()); // btParser.setSym1(l); break; } // // Rule 605: Clock ::= identifier // case 605: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 606: CastExpression ::= LPAREN Type RPAREN UnaryExpressionNotPlusMinus // case 606: { TypeNode a = (TypeNode) btParser.getSym(2); Expr b = (Expr) btParser.getSym(4); btParser.setSym1(nf.Cast(pos(), a, b)); break; } // // Rule 607: MethodInvocation ::= Primary ARROW identifier LPAREN ArgumentListopt RPAREN // case 607: { Expr a = (Expr) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); List c = (List) btParser.getSym(5); btParser.setSym1(nf.RemoteCall(pos(), a, b.getIdentifier(), c)); break; } // // Rule 608: RelationalExpression ::= RelationalExpression instanceof Type // case 608: { Expr a = (Expr) btParser.getSym(1); TypeNode b = (TypeNode) btParser.getSym(3); btParser.setSym1(nf.Instanceof(pos(), a, b)); break; } // // Rule 609: ExpressionName ::= here // case 609: { btParser.setSym1(new Name(nf, ts, pos(), "here"){ public Expr toExpr() { return nf.Here(pos); } }); break; } // // Rule 610: Primary ::= FutureExpression // case 610: break; // // Rule 611: FutureExpression ::= future PlaceExpressionSingleListopt LBRACE Expression RBRACE // case 611: { Expr e1 = (Expr) btParser.getSym(2), e2 = (Expr) btParser.getSym(4); btParser.setSym1(nf.Future(pos(), (e1 == null ? nf.Here(pos(btParser.getFirstToken())) : e1), e2)); break; } // // Rule 612: FutureExpression ::= future LPAREN here RPAREN LBRACE Expression RBRACE // case 612: { Expr e2 = (Expr) btParser.getSym(6); btParser.setSym1(nf.Future(pos(), nf.Here(pos(btParser.getFirstToken(3))), e2)); break; } // // Rule 613: FunExpression ::= fun Type LPAREN FormalParameterListopt RPAREN LBRACE Expression RBRACE // case 613: bad_rule = 613; break; // // Rule 614: MethodInvocation ::= MethodName LPAREN ArgumentListopt RPAREN LPAREN ArgumentListopt RPAREN // case 614: bad_rule = 614; break; // // Rule 615: MethodInvocation ::= Primary DOT identifier LPAREN ArgumentListopt RPAREN LPAREN ArgumentListopt RPAREN // case 615: bad_rule = 615; break; // // Rule 616: MethodInvocation ::= super DOT identifier LPAREN ArgumentListopt RPAREN LPAREN ArgumentListopt RPAREN // case 616: bad_rule = 616; break; // // Rule 617: MethodInvocation ::= ClassName DOT super DOT identifier LPAREN ArgumentListopt RPAREN LPAREN ArgumentListopt RPAREN // case 617: bad_rule = 617; break; // // Rule 618: MethodInvocation ::= TypeName DOT identifier LPAREN ArgumentListopt RPAREN LPAREN ArgumentListopt RPAREN // case 618: bad_rule = 618; break; // // Rule 619: ClassInstanceCreationExpression ::= new ClassOrInterfaceType LPAREN ArgumentListopt RPAREN LPAREN ArgumentListopt RPAREN ClassBodyopt // case 619: bad_rule = 619; break; // // Rule 620: ClassInstanceCreationExpression ::= Primary DOT new identifier LPAREN ArgumentListopt RPAREN LPAREN ArgumentListopt RPAREN ClassBodyopt // case 620: bad_rule = 620; break; // // Rule 621: ClassInstanceCreationExpression ::= AmbiguousName DOT new identifier LPAREN ArgumentListopt RPAREN LPAREN ArgumentListopt RPAREN ClassBodyopt // case 621: bad_rule = 621; break; // // Rule 622: PlaceTypeSpecifieropt ::= // case 622: btParser.setSym1(null); break; // // Rule 623: PlaceTypeSpecifieropt ::= PlaceTypeSpecifier // case 623: break; // // Rule 624: DepParametersopt ::= // case 624: btParser.setSym1(null); break; // // Rule 625: DepParametersopt ::= DepParameters // case 625: break; // // Rule 626: WhereClauseopt ::= // case 626: btParser.setSym1(null); break; // // Rule 627: WhereClauseopt ::= WhereClause // case 627: break; // // Rule 628: ObjectKindopt ::= // case 628: btParser.setSym1(null); break; // // Rule 629: ObjectKindopt ::= ObjectKind // case 629: break; // // Rule 630: ArrayInitializeropt ::= // case 630: btParser.setSym1(null); break; // // Rule 631: ArrayInitializeropt ::= ArrayInitializer // case 631: break; // // Rule 632: ConcreteDistributionopt ::= // case 632: btParser.setSym1(null); break; // // Rule 633: ConcreteDistributionopt ::= ConcreteDistribution // case 633: break; // // Rule 634: PlaceExpressionSingleListopt ::= // case 634: btParser.setSym1(null); break; // // Rule 635: PlaceExpressionSingleListopt ::= PlaceExpressionSingleList // case 635: break; // // Rule 636: ArgumentListopt ::= // case 636: btParser.setSym1(null); break; // // Rule 637: ArgumentListopt ::= ArgumentList // case 637: break; // // Rule 638: DepParametersopt ::= // case 638: btParser.setSym1(null); break; // // Rule 639: DepParametersopt ::= DepParameters // case 639: break; default: break; } return; }
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/bb2a94143f433b1bc3a3f14e9063a6f9ed4a0262/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 309, 261, 8759, 67, 5345, 480, 374, 13, 5411, 327, 31, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 2756, 493, 33, 26765, 5411, 368, 5411, 648, 404, 30, 288, 7734, 309, 261, 683, 87, 1228, 18, 588, 5677, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 480, 1139, 2163, 26954, 2942, 18, 56, 47, 67, 16606, 13, 7734, 288, 10792, 2332, 18, 659, 18, 8222, 2932, 15858, 310, 4932, 315, 397, 4766, 4202, 846, 87, 1228, 18, 17994, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 397, 4766, 4202, 315, 622, 315, 397, 4766, 4202, 846, 87, 1228, 18, 588, 1670, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 397, 4766, 4202, 6153, 397, 4766, 4202, 846, 87, 1228, 18, 588, 1494, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 397, 4766, 4202, 315, 1368, 392, 2756, 8863, 7734, 289, 7734, 898, 31, 5411, 289, 1171, 368, 5411, 368, 6781, 576, 30, 225, 14488, 559, 493, 33, 16980, 559, 5411, 368, 5411, 648, 576, 30, 7734, 898, 31, 2398, 368, 5411, 368, 6781, 890, 30, 225, 14488, 559, 493, 33, 1250, 5411, 368, 5411, 648, 890, 30, 288, 7734, 10921, 2678, 18, 542, 11901, 21, 12, 82, 74, 18, 15512, 559, 907, 12, 917, 9334, 3742, 18, 5507, 1435, 10019, 7734, 898, 31, 5411, 289, 1171, 368, 5411, 368, 6781, 1059, 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, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 309, 261, 8759, 67, 5345, 480, 374, 13, 5411, 327, 31, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 2756, 493, 33, 26765, 5411, 368, 5411, 648, 404, 30, 288, 7734, 309, 261, 683, 87, 1228, 18, 588, 5677, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 480, 1139, 2163, 26954, 2942, 18, 56, 47, 67, 16606, 13, 7734, 288, 10792, 2332, 18, 659, 18, 8222, 2932, 15858, 310, 4932, 315, 397, 4766, 4202, 846, 87, 1228, 18, 17994, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 397, 4766, 4202, 315, 622, 315, 397, 4766, 4202, 2 ]
return BugzillaImages.getImage(BugzillaImages.BUGZILLA_HIT);
return BugzillaImages.getImage(BugzillaImages.BUGZILLA_HIT_INCOMMING);
public Image getIcon() { if(hasCorrespondingActivatableTask()){ return task.getIcon(); } else { return BugzillaImages.getImage(BugzillaImages.BUGZILLA_HIT); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/aedc539e8deedf4a40769c5e1b4378d2419dd9dc/BugzillaHit.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaHit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3421, 21724, 1435, 288, 202, 202, 430, 12, 5332, 6217, 17863, 310, 12241, 8163, 2174, 10756, 95, 1082, 202, 2463, 1562, 18, 588, 5554, 5621, 202, 202, 97, 469, 288, 1082, 202, 2463, 16907, 15990, 8946, 18, 588, 2040, 12, 19865, 15990, 8946, 18, 4827, 62, 2627, 2534, 67, 17222, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3421, 21724, 1435, 288, 202, 202, 430, 12, 5332, 6217, 17863, 310, 12241, 8163, 2174, 10756, 95, 1082, 202, 2463, 1562, 18, 588, 5554, 5621, 202, 202, 97, 469, 288, 1082, 202, 2463, 16907, 15990, 8946, 18, 588, 2040, 12, 19865, 15990, 8946, 18, 4827, 62, 2627, 2534, 67, 17222, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 ( EngineIRConstants.IMAGE_REF_TYPE_FILE.equals( imageSrc ) )
} else if ( EngineIRConstants.IMAGE_REF_TYPE_FILE.equals( imageSrc ) )
public void visitImage( ImageHandle handle ) { // Create Image Item ImageItemDesign image = new ImageItemDesign( ); setupReportItem( image, handle ); // Handle Action ActionHandle action = handle.getActionHandle( ); if ( action != null ) { image.setAction( createAction( action ) ); } // Alternative text for image image.setAltText( handle.getAltTextKey( ), handle.getAltText( ) ); // Help text for image image.setHelpText( handle.getHelpTextKey( ), handle.getHelpText( ) ); // Handle Image Source String imageSrc = handle.getSource( ); if ( EngineIRConstants.IMAGE_REF_TYPE_URL.equals( imageSrc ) ) { image.setImageUri( createExpression( handle.getURI( ) ) ); } else if ( EngineIRConstants.IMAGE_REF_TYPE_EXPR.equals( imageSrc ) ) { String valueExpr = handle.getValueExpression( ); String typeExpr = handle.getTypeExpression( ); Expression imageValue = createExpression( valueExpr ); Expression imageType = createExpression( typeExpr ); image.setImageExpression( imageValue, imageType ); } else if ( EngineIRConstants.IMAGE_REF_TYPE_EMBED.equals( imageSrc ) ) { image.setImageName( handle.getImageName( ) ); } else if ( EngineIRConstants.IMAGE_REF_TYPE_FILE.equals( imageSrc ) ) { image.setImageFile( createExpression( handle.getURI( ) ) ); } else { assert false; } currentElement = image; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/f00a46b07796c055e2a16e0f1243a9ebd4826670/EngineIRVisitor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 2040, 12, 3421, 3259, 1640, 262, 202, 95, 202, 202, 759, 1788, 3421, 4342, 202, 202, 2040, 1180, 15478, 1316, 273, 394, 3421, 1180, 15478, 12, 11272, 202, 202, 8401, 4820, 1180, 12, 1316, 16, 1640, 11272, 202, 202, 759, 5004, 4382, 202, 202, 1803, 3259, 1301, 273, 1640, 18, 588, 1803, 3259, 12, 11272, 202, 202, 430, 261, 1301, 480, 446, 262, 202, 202, 95, 1082, 202, 2730, 18, 542, 1803, 12, 752, 1803, 12, 1301, 262, 11272, 202, 202, 97, 202, 202, 759, 21498, 1535, 977, 364, 1316, 202, 202, 2730, 18, 542, 10655, 1528, 12, 1640, 18, 588, 10655, 1528, 653, 12, 262, 16, 1640, 18, 588, 10655, 1528, 12, 262, 11272, 202, 202, 759, 11288, 977, 364, 1316, 202, 202, 2730, 18, 542, 6696, 1528, 12, 1640, 18, 588, 6696, 1528, 653, 12, 262, 16, 1640, 18, 588, 6696, 1528, 12, 262, 11272, 202, 202, 759, 5004, 3421, 4998, 202, 202, 780, 1316, 7740, 273, 1640, 18, 588, 1830, 12, 11272, 202, 202, 430, 261, 10507, 7937, 2918, 18, 13603, 67, 10771, 67, 2399, 67, 1785, 18, 14963, 12, 1316, 7740, 262, 262, 202, 202, 95, 1082, 202, 2730, 18, 542, 2040, 3006, 12, 752, 2300, 12, 1640, 18, 588, 3098, 12, 262, 262, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 10507, 7937, 2918, 18, 13603, 67, 10771, 67, 2399, 67, 2294, 8025, 18, 14963, 12, 1316, 7740, 262, 262, 202, 202, 95, 1082, 202, 780, 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, 2040, 12, 3421, 3259, 1640, 262, 202, 95, 202, 202, 759, 1788, 3421, 4342, 202, 202, 2040, 1180, 15478, 1316, 273, 394, 3421, 1180, 15478, 12, 11272, 202, 202, 8401, 4820, 1180, 12, 1316, 16, 1640, 11272, 202, 202, 759, 5004, 4382, 202, 202, 1803, 3259, 1301, 273, 1640, 18, 588, 1803, 3259, 12, 11272, 202, 202, 430, 261, 1301, 480, 446, 262, 202, 202, 95, 1082, 202, 2730, 18, 542, 1803, 12, 752, 1803, 12, 1301, 262, 11272, 202, 202, 97, 202, 202, 759, 21498, 1535, 977, 364, 1316, 202, 202, 2730, 18, 542, 10655, 1528, 12, 1640, 18, 588, 10655, 1528, 653, 12, 262, 16, 1640, 18, 588, 10655, 1528, 12, 262, 2 ]
return getCodeBlockInternalIndent(child, 1);
return getCodeBlockInternalIndent(1);
private Indent calcIndent(final ASTNode child, final int state) { if (state == AFTER_ELSE && child.getElementType() == ElementType.IF_STATEMENT) { if (!mySettings.SPECIAL_ELSE_IF_TREATMENT) { return getCodeBlockInternalIndent(child, 1); } else { return getCodeBlockExternalIndent(); } } if (isSimpleStatement(child)){ return getCodeBlockInternalIndent(child, 1); } if (child.getElementType() == ElementType.ELSE_KEYWORD) return getCodeBlockExternalIndent(); if (state == BEFORE_FIRST) return Formatter.getInstance().getNoneIndent(); else { if (isPartOfCodeBlock(child)) { return getCodeBlockExternalIndent(); } else if (isSimpleStatement(child)){ return getCodeBlockInternalIndent(child, 1); } else if (ElementType.COMMENT_BIT_SET.isInSet(child.getElementType())) { return getCodeBlockInternalIndent(child, 1); } else { return Formatter.getInstance().createContinuationIndent(); } } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/01d0399a9a26330ee345b494508bc877fe9a1e5c/BlockContainingJavaBlock.java/buggy/source/com/intellij/psi/formatter/java/BlockContainingJavaBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 28653, 7029, 7790, 12, 6385, 9183, 907, 1151, 16, 727, 509, 919, 13, 288, 565, 309, 261, 2019, 422, 18651, 67, 2247, 1090, 597, 1151, 18, 588, 17481, 1435, 422, 3010, 559, 18, 5501, 67, 28411, 13, 288, 1377, 309, 16051, 4811, 2628, 18, 13847, 6365, 67, 2247, 1090, 67, 5501, 67, 56, 862, 789, 3212, 13, 288, 3639, 327, 6583, 1768, 3061, 7790, 12, 21, 1769, 1377, 289, 469, 288, 3639, 327, 6583, 1768, 6841, 7790, 5621, 1377, 289, 565, 289, 565, 309, 261, 291, 5784, 3406, 12, 3624, 3719, 95, 1377, 327, 6583, 1768, 3061, 7790, 12, 21, 1769, 5411, 289, 377, 309, 261, 3624, 18, 588, 17481, 1435, 422, 3010, 559, 18, 2247, 1090, 67, 28813, 13, 4202, 327, 6583, 1768, 6841, 7790, 5621, 377, 309, 261, 2019, 422, 21203, 67, 15354, 13, 4202, 327, 14924, 18, 588, 1442, 7675, 588, 7036, 7790, 5621, 565, 469, 288, 1377, 309, 261, 291, 1988, 951, 1085, 1768, 12, 3624, 3719, 288, 3639, 327, 6583, 1768, 6841, 7790, 5621, 1377, 289, 1377, 469, 309, 261, 291, 5784, 3406, 12, 3624, 3719, 95, 3639, 327, 6583, 1768, 3061, 7790, 12, 21, 1769, 2868, 289, 1377, 469, 309, 261, 17481, 18, 12200, 67, 15650, 67, 4043, 18, 291, 382, 694, 12, 3624, 18, 588, 17481, 1435, 3719, 288, 3639, 327, 6583, 1768, 3061, 7790, 12, 21, 1769, 1377, 289, 1377, 469, 288, 3639, 327, 14924, 18, 588, 1442, 7675, 2640, 660, 23946, 7790, 5621, 1377, 289, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 28653, 7029, 7790, 12, 6385, 9183, 907, 1151, 16, 727, 509, 919, 13, 288, 565, 309, 261, 2019, 422, 18651, 67, 2247, 1090, 597, 1151, 18, 588, 17481, 1435, 422, 3010, 559, 18, 5501, 67, 28411, 13, 288, 1377, 309, 16051, 4811, 2628, 18, 13847, 6365, 67, 2247, 1090, 67, 5501, 67, 56, 862, 789, 3212, 13, 288, 3639, 327, 6583, 1768, 3061, 7790, 12, 21, 1769, 1377, 289, 469, 288, 3639, 327, 6583, 1768, 6841, 7790, 5621, 1377, 289, 565, 289, 565, 309, 261, 291, 5784, 3406, 12, 3624, 3719, 95, 1377, 327, 6583, 1768, 3061, 7790, 12, 21, 1769, 5411, 289, 377, 309, 261, 3624, 18, 588, 17481, 1435, 422, 3010, 559, 18, 2247, 1090, 2 ]
item.addActionListener (this);
Action setAction = new AbstractAction("Set as current", setImg){ public void actionPerformed(ActionEvent e) { int i = queuedMsgList.getSelectedIndex(); if (i != -1) { MsgIndication mi = (MsgIndication) queuedMsgListModel.getElementAt(i); ACLMessage m = mi.getMessage(); currentMsgGui.setMsg(m); } } }; item.addActionListener (setAction);
DummyAgentGui(DummyAgent a) { ////////////////////////// // Call JFrame constructor super(); ////////////////////////////////////////////////////////// // Store pointer to the Dummy agent controlled by this GUI myAgent = a; ///////////////////////////////////////////////////////////////////// // Get agent name and initialize the saving/opening directory to null agentName = myAgent.getAID(); currentDir = null; //////////////////////////////////////////////////////////////// // Prepare for killing the agent when the agent window is closed addWindowListener(new WindowAdapter() { // This is executed when the user attempts to close the DummyAgent // GUI window using the button on the upper right corner public void windowClosing(WindowEvent e) { myAgent.doDelete(); } } ); ////////////////////////// // Set title in GUI window try{ setTitle(agentName.getName() + " - DummyAgent"); }catch(Exception e){setTitle("DummyAgent");} Image image = getToolkit().getImage(getClass().getResource(logoDummy)); setIconImage(image); //////////////////////////////// // Set GUI window layout manager getContentPane().setLayout(new BorderLayout()); ////////////////////////////////////////////////////////////////////////////////////// // Add the queued message scroll pane to the CENTER part of the border layout manager queuedMsgListModel = new DefaultListModel(); queuedMsgList = new JList(queuedMsgListModel); queuedMsgList.setCellRenderer(new ToFromCellRenderer()); JScrollPane pane = new JScrollPane(); pane.getViewport().setView(queuedMsgList); getContentPane().add("Center", pane); /////////////////////////////////////////////////////////////////////////////////////////////////// // Add the current message editing fields (an AclGui) to the WEST part of the border layout manager currentMsgGui = new AclGui(); //currentMsgGui.setBorder(new TitledBorder("Current message")); ACLMessage msg = new ACLMessage(ACLMessage.ACCEPT_PROPOSAL); msg.setSender(agentName); currentMsgGui.setMsg(msg); getContentPane().add("West", currentMsgGui); ///////////////////////////////////// // Add main menu to the GUI window JMenuBar jmb = new JMenuBar(); JMenuItem item; JMenu generalMenu = new JMenu ("General"); generalMenu.add (item = new JMenuItem ("Exit")); item.addActionListener (this); jmb.add (generalMenu); Icon resetImg = GuiProperties.getIcon("reset"); Icon sendImg = GuiProperties.getIcon("send"); Icon openImg = GuiProperties.getIcon("open"); Icon saveImg = GuiProperties.getIcon("save"); Icon openQImg = GuiProperties.getIcon("openq"); Icon saveQImg = GuiProperties.getIcon("saveq"); Icon setImg = GuiProperties.getIcon("set"); Icon replyImg = GuiProperties.getIcon("reply"); Icon viewImg = GuiProperties.getIcon("view"); Icon deleteImg = GuiProperties.getIcon("delete"); JMenu currentMsgMenu = new JMenu ("Current message"); currentMsgMenu.add (item = new JMenuItem ("Reset")); item.addActionListener (this); item.setIcon(resetImg); currentMsgMenu.add (item = new JMenuItem ("Send")); item.addActionListener (this); item.setIcon(sendImg); currentMsgMenu.add (item = new JMenuItem ("Open")); item.addActionListener (this); item.setIcon(openImg); currentMsgMenu.add (item = new JMenuItem ("Save")); item.addActionListener (this); item.setIcon(saveImg); currentMsgMenu.addSeparator(); jmb.add (currentMsgMenu); JMenu queuedMsgMenu = new JMenu ("Queued message"); queuedMsgMenu.add (item = new JMenuItem ("Open queue")); item.addActionListener (this); item.setIcon(openQImg); queuedMsgMenu.add (item = new JMenuItem ("Save queue")); item.addActionListener (this); item.setIcon(saveQImg); queuedMsgMenu.add (item = new JMenuItem ("Set as current")); item.addActionListener (this); item.setIcon(setImg); queuedMsgMenu.add (item = new JMenuItem ("Reply")); item.addActionListener (this); item.setIcon(replyImg); queuedMsgMenu.add (item = new JMenuItem ("View")); item.addActionListener (this); item.setIcon(viewImg); queuedMsgMenu.add (item = new JMenuItem ("Delete")); item.addActionListener (this); item.setIcon(deleteImg); jmb.add (queuedMsgMenu); setJMenuBar(jmb); ///////////////////////////////////////////////////// // Add Toolbar to the NORTH part of the border layout JToolBar bar = new JToolBar(); JButton resetB = new JButton(); //resetB.setText("Reset"); resetB.setIcon(resetImg); resetB.setToolTipText("New the current ACL message"); resetB.addActionListener(this); bar.add(resetB); JButton sendB = new JButton(); //sendB.setText("Send"); sendB.setIcon(sendImg); sendB.setToolTipText("Send the current ACL message"); sendB.addActionListener(this); bar.add(sendB); JButton openB = new JButton(); //openB.setText("Open"); openB.setIcon(openImg); openB.setToolTipText("Read the current ACL message from file"); openB.addActionListener(this); bar.add(openB); JButton saveB = new JButton(); //saveB.setText("Save"); saveB.setIcon(saveImg); saveB.setToolTipText("Save the current ACL message to file"); saveB.addActionListener(this); bar.add(saveB); bar.addSeparator(new Dimension(50,30)); JButton openQB = new JButton(); //openQB.setText("Open queue"); openQB.setIcon(openQImg); openQB.setToolTipText("Read the queue of sent/received messages from file"); openQB.addActionListener(this); bar.add(openQB); JButton saveQB = new JButton(); //saveQB.setText("Save queue"); saveQB.setIcon(saveQImg); saveQB.setToolTipText("Save the queue of sent/received messages to file"); saveQB.addActionListener(this); bar.add(saveQB); bar.addSeparator(); JButton setB = new JButton(); //setB.setText("Set as current"); setB.setIcon(setImg); setB.setToolTipText("Set the selected ACL message to be the current message"); setB.addActionListener(this); bar.add(setB); JButton replyB = new JButton(); //replyB.setText("Reply"); replyB.setIcon(replyImg); replyB.setToolTipText("Prepare a message to reply to the selected message"); replyB.addActionListener(this); bar.add(replyB); bar.addSeparator(); JButton viewB = new JButton(); //viewB.setText("View"); viewB.setIcon(viewImg); viewB.setToolTipText("View the selected ACL message"); viewB.addActionListener(this); bar.add(viewB); JButton deleteB = new JButton(); //deleteB.setText("Delete"); deleteB.setIcon(deleteImg); deleteB.setToolTipText("Delete the selected ACL message"); deleteB.addActionListener(this); bar.add(deleteB); bar.addSeparator(new Dimension(180,30)); JadeLogoButton logo = new JadeLogoButton(); bar.add(logo); getContentPane().add("North", bar); }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/af968baf336f4bb7badf7bcb65c1f7d60964e51a/DummyAgentGui.java/clean/src/jade/tools/DummyAgent/DummyAgentGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 20094, 3630, 18070, 12, 20094, 3630, 279, 13, 202, 95, 202, 202, 25494, 759, 202, 202, 759, 3049, 804, 3219, 3885, 202, 202, 9565, 5621, 202, 202, 6461, 25494, 759, 202, 202, 759, 4994, 4407, 358, 326, 28622, 4040, 25934, 635, 333, 10978, 202, 202, 4811, 3630, 273, 279, 31, 202, 202, 14300, 1307, 19, 202, 202, 759, 968, 4040, 508, 471, 4046, 326, 12392, 19, 3190, 310, 1867, 358, 446, 3196, 202, 5629, 461, 273, 3399, 3630, 18, 588, 37, 734, 5621, 202, 202, 2972, 1621, 273, 446, 31, 202, 202, 14300, 202, 202, 759, 7730, 364, 417, 5789, 326, 4040, 1347, 326, 4040, 2742, 353, 4375, 377, 202, 202, 1289, 3829, 2223, 12, 2704, 202, 3829, 4216, 1435, 1082, 15604, 202, 95, 6862, 1082, 202, 759, 1220, 353, 7120, 1347, 326, 729, 7531, 358, 1746, 326, 28622, 3630, 15106, 202, 759, 10978, 2742, 1450, 326, 3568, 603, 326, 3854, 2145, 11055, 282, 6862, 1082, 202, 482, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 15106, 202, 95, 6862, 9506, 202, 4811, 3630, 18, 2896, 2613, 5621, 6862, 1082, 202, 97, 25083, 202, 97, 11272, 202, 202, 25494, 759, 202, 202, 759, 1000, 2077, 316, 10978, 2742, 202, 202, 698, 95, 1082, 202, 542, 4247, 12, 5629, 461, 18, 17994, 1435, 397, 315, 300, 28622, 3630, 8863, 202, 202, 97, 14683, 12, 503, 425, 15329, 542, 4247, 2932, 20094, 3630, 8863, 97, 9506, 225, 3421, 1316, 273, 336, 6364, 8691, 7675, 588, 2040, 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, 20094, 3630, 18070, 12, 20094, 3630, 279, 13, 202, 95, 202, 202, 25494, 759, 202, 202, 759, 3049, 804, 3219, 3885, 202, 202, 9565, 5621, 202, 202, 6461, 25494, 759, 202, 202, 759, 4994, 4407, 358, 326, 28622, 4040, 25934, 635, 333, 10978, 202, 202, 4811, 3630, 273, 279, 31, 202, 202, 14300, 1307, 19, 202, 202, 759, 968, 4040, 508, 471, 4046, 326, 12392, 19, 3190, 310, 1867, 358, 446, 3196, 202, 5629, 461, 273, 3399, 3630, 18, 588, 37, 734, 5621, 202, 202, 2972, 1621, 273, 446, 31, 202, 202, 14300, 202, 202, 759, 7730, 364, 417, 5789, 326, 4040, 1347, 326, 4040, 2742, 353, 4375, 377, 202, 202, 1289, 3829, 2223, 12, 2704, 202, 2 ]
protected void updateUserPermissions(ActionRequest req, ActionResponse res) throws Exception {
protected void updateUserPermissions(ActionRequest req) throws Exception { String resourceId = ParamUtil.getString(req, "resourceId"); String userId = ParamUtil.getString(req, "userIdsPosValue"); String[] actionIds = StringUtil.split( ParamUtil.getString(req, "userIdActionIds"));
protected void updateUserPermissions(ActionRequest req, ActionResponse res) throws Exception { String resourceId = ParamUtil.getString(req, "resourceId"); String assignmentType = ParamUtil.getString(req, "assignmentType"); String[] actionIds = StringUtil.split( ParamUtil.getString(req, "actionIds")); int actionPos = ParamUtil.getInteger(req, "actionPos"); String[] addUserIds = StringUtil.split( ParamUtil.getString(req, "addUserIds")); String[] removeUserIds = StringUtil.split( ParamUtil.getString(req, "removeUserIds")); if (assignmentType.equals("individual")) { String actionId = actionIds[actionPos]; actionIds = new String[] {actionId}; } for (int i = 0; i < addUserIds.length; i++) { PermissionServiceUtil.setUserPermissions( addUserIds[i], actionIds, resourceId); } for (int i = 0; i < removeUserIds.length; i++) { PermissionServiceUtil.unsetUserPermissions( removeUserIds[i], actionIds, resourceId); } String redirect = ParamUtil.getString(req, "redirect"); redirect += "&assignmentType=" + assignmentType + "&resourceId=" + resourceId; if (assignmentType.equals("individual") && redirect.indexOf("actionPos=" + actionPos + "&") != -1) { // Show message only if the user stayed on the same page SessionMessages.add(req, "request_processed"); } res.sendRedirect(redirect); }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/e1cab037a8cdaa75dc717f74b6f3b5d95492c7f6/EditUserPermissionsAction.java/buggy/portal-ejb/src/com/liferay/portlet/communities/action/EditUserPermissionsAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 28213, 6521, 12, 1803, 691, 1111, 16, 4382, 1064, 400, 13, 202, 202, 15069, 1185, 288, 202, 202, 780, 15035, 273, 3014, 1304, 18, 588, 780, 12, 3658, 16, 315, 3146, 548, 8863, 202, 202, 780, 6661, 559, 273, 3014, 1304, 18, 588, 780, 12, 3658, 16, 315, 12960, 559, 8863, 202, 202, 780, 8526, 1301, 2673, 273, 14205, 18, 4939, 12, 1082, 202, 786, 1304, 18, 588, 780, 12, 3658, 16, 315, 1128, 2673, 7923, 1769, 202, 202, 474, 1301, 1616, 273, 3014, 1304, 18, 588, 4522, 12, 3658, 16, 315, 1128, 1616, 8863, 202, 202, 780, 8526, 527, 1299, 2673, 273, 14205, 18, 4939, 12, 1082, 202, 786, 1304, 18, 588, 780, 12, 3658, 16, 315, 1289, 1299, 2673, 7923, 1769, 202, 202, 780, 8526, 1206, 1299, 2673, 273, 14205, 18, 4939, 12, 1082, 202, 786, 1304, 18, 588, 780, 12, 3658, 16, 315, 4479, 1299, 2673, 7923, 1769, 202, 202, 430, 261, 12960, 559, 18, 14963, 2932, 22032, 5557, 6, 3719, 288, 1082, 202, 780, 1301, 548, 273, 1301, 2673, 63, 1128, 1616, 15533, 1082, 202, 1128, 2673, 273, 394, 514, 8526, 288, 1128, 548, 20451, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 527, 1299, 2673, 18, 2469, 31, 277, 27245, 288, 1082, 202, 5041, 1179, 1304, 18, 542, 1299, 6521, 12, 9506, 202, 1289, 1299, 2673, 63, 77, 6487, 1301, 2673, 16, 15035, 1769, 202, 202, 97, 202, 202, 1884, 261, 474, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 28213, 6521, 12, 1803, 691, 1111, 16, 4382, 1064, 400, 13, 202, 202, 15069, 1185, 288, 202, 202, 780, 15035, 273, 3014, 1304, 18, 588, 780, 12, 3658, 16, 315, 3146, 548, 8863, 202, 202, 780, 6661, 559, 273, 3014, 1304, 18, 588, 780, 12, 3658, 16, 315, 12960, 559, 8863, 202, 202, 780, 8526, 1301, 2673, 273, 14205, 18, 4939, 12, 1082, 202, 786, 1304, 18, 588, 780, 12, 3658, 16, 315, 1128, 2673, 7923, 1769, 202, 202, 474, 1301, 1616, 273, 3014, 1304, 18, 588, 4522, 12, 3658, 16, 315, 1128, 1616, 8863, 202, 202, 780, 8526, 527, 1299, 2673, 273, 14205, 18, 4939, 12, 1082, 202, 786, 1304, 18, 588, 780, 12, 2 ]
setTitle(null);
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setIndexed(false); } try { setMaxlength((String) evalAttr("maxlength", getMaxlength(), String.class)); } catch (NullAttributeException ex) { setMaxlength(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setReadonly(((Boolean) evalAttr("readonly", getReadonlyExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setReadonly(false); } try { setRedisplay(((Boolean) evalAttr("redisplay", getRedisplayExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setRedisplay(false); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setSize((String) evalAttr("size", getSize(), String.class)); } catch (NullAttributeException ex) { setSize(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/2dbb705eab3659c5c2ceb6398f2eec56e1f6994d/ELPasswordTag.java/buggy/struts-el/src/share/org/apache/strutsel/taglib/html/ELPasswordTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 1862, 856, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 653, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 8853, 12443, 12, 5507, 13, 5302, 3843, 2932, 9278, 3113, 336, 8853, 4742, 9334, 4766, 5411, 3411, 18, 1106, 13, 2934, 13491, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 8853, 12, 5743, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 15034, 12, 5743, 1769, 3639, 289, 3639, 775, 288, 5411, 10851, 2469, 12443, 780, 13, 5302, 3843, 2932, 27875, 3113, 7288, 2469, 9334, 4766, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 1862, 856, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 2 ]
if (isValidHeaderUnitName(project, name)) { return true; } else if (isValidSourceUnitName(project, name)) { return true;
IContentType contentType = CCorePlugin.getContentType(project, name); if (contentType != null) { String id = contentType.getId(); if (CCorePlugin.CONTENT_TYPE_CHEADER.equals(id)) { return true; } else if (CCorePlugin.CONTENT_TYPE_CXXHEADER.equals(id)) { return true; } else if (CCorePlugin.CONTENT_TYPE_CSOURCE.equals(id)) { return true; } else if (CCorePlugin.CONTENT_TYPE_CXXSOURCE.equals(id)) { return true; } else if (CCorePlugin.CONTENT_TYPE_ASMSOURCE.equals(id)) { return true; }
public static boolean isValidTranslationUnitName(IProject project, String name) { if (isValidHeaderUnitName(project, name)) { return true; } else if (isValidSourceUnitName(project, name)) { return true; } return false; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1594e1b8f981f24bfdc57081369c2675f9ed5c5d/CoreModel.java/buggy/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 4908, 6717, 2802, 461, 12, 45, 4109, 1984, 16, 514, 508, 13, 288, 202, 202, 430, 261, 26810, 1864, 2802, 461, 12, 4406, 16, 508, 3719, 288, 1082, 202, 2463, 638, 31, 202, 202, 97, 469, 309, 261, 26810, 1830, 2802, 461, 12, 4406, 16, 508, 3719, 288, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 4908, 6717, 2802, 461, 12, 45, 4109, 1984, 16, 514, 508, 13, 288, 202, 202, 430, 261, 26810, 1864, 2802, 461, 12, 4406, 16, 508, 3719, 288, 1082, 202, 2463, 638, 31, 202, 202, 97, 469, 309, 261, 26810, 1830, 2802, 461, 12, 4406, 16, 508, 3719, 288, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for(Iterator i = uncompletedDownload.iterator();i.hasNext();) {
for(Iterator i = uncompletedUpload.iterator();i.hasNext();) {
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { StringBuffer buf = new StringBuffer(2048); ctx.getPageMaker().makeHead(buf, "Queued Requests"); // First, get the queued requests, and separate them into different types. LinkedList completedDownloadToDisk = new LinkedList(); LinkedList completedDownloadToTemp = new LinkedList(); LinkedList completedUpload = new LinkedList(); LinkedList completedDirUpload = new LinkedList(); LinkedList failedDownload = new LinkedList(); LinkedList failedUpload = new LinkedList(); LinkedList failedDirUpload = new LinkedList(); LinkedList uncompletedDownload = new LinkedList(); LinkedList uncompletedUpload = new LinkedList(); LinkedList uncompletedDirUpload = new LinkedList(); ClientRequest[] reqs = fcp.getGlobalRequests(); Logger.minor(this, "Request count: "+reqs.length); for(int i=0;i<reqs.length;i++) { ClientRequest req = reqs[i]; if(req instanceof ClientGet) { ClientGet cg = (ClientGet) req; if(cg.hasSucceeded()) { if(cg.isDirect()) completedDownloadToTemp.add(cg); else if(cg.isToDisk()) completedDownloadToDisk.add(cg); else // FIXME Logger.error(this, "Don't know what to do with "+cg); } else if(cg.hasFinished()) { failedDownload.add(cg); } else { uncompletedDownload.add(cg); } } else if(req instanceof ClientPut) { ClientPut cp = (ClientPut) req; if(cp.hasSucceeded()) { completedUpload.add(cp); } else if(cp.hasFinished()) { failedUpload.add(cp); } else { uncompletedUpload.add(cp); } } else if(req instanceof ClientPutDir) { ClientPutDir cp = (ClientPutDir) req; if(cp.hasSucceeded()) { completedDirUpload.add(cp); } else if(cp.hasFinished()) { failedDirUpload.add(cp); } else { uncompletedDirUpload.add(cp); } } } if(!(completedDownloadToTemp.isEmpty() && completedDownloadToDisk.isEmpty() && completedUpload.isEmpty() && completedDirUpload.isEmpty())) { writeBigHeading("Completed requests", buf); if(!completedDownloadToTemp.isEmpty()) { writeTableHead("Completed downloads to temporary space", new String[] { "", "Identifier", "Size", "Type", "Download", "Persistence", "Key" }, buf ); for(Iterator i = completedDownloadToTemp.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getURI(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeDownloadCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!completedDownloadToDisk.isEmpty()) { writeTableHead("Completed downloads to disk", new String[] { "", "Identifier", "Filename", "Size", "Type", "Download", "Persistence", "Key" }, buf); for(Iterator i=completedDownloadToDisk.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getURI(), buf); writeFilenameCell(p.getDestFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeDownloadCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!completedUpload.isEmpty()) { writeTableHead("Completed uploads", new String[] { "", "Key", "Filename", "Size", "Type", "Persistence", "Identifier" }, buf); for(Iterator i=completedUpload.iterator();i.hasNext();) { ClientPut p = (ClientPut) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getOrigFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!completedDirUpload.isEmpty()) { // FIXME include filename?? writeTableHead("Completed directory uploads", new String[] { "", "Identifier", "Files", "Total Size", "Persistence", "Key" }, buf); for(Iterator i=completedUpload.iterator();i.hasNext();) { ClientPutDir p = (ClientPutDir) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); writeNumberCell(p.getNumberOfFiles(), buf); writeSizeCell(p.getTotalDataSize(), buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } } /* FIXME color-coded progress bars. * It would be really nice to have a color-coded progress bar. * We can then show what part is successful, what part isn't tried yet, * what part has each different well known error code... */ if(!(failedDownload.isEmpty() && failedUpload.isEmpty())) { writeBigHeading("Failed requests", buf); if(!failedDownload.isEmpty()) { writeTableHead("Failed downloads", new String[] { "", "Identifier", "Filename", "Size", "Type", "Success", "Reason", "Persistence", "Key" }, buf); for(Iterator i=failedDownload.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getDestFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeSuccessFractionCell(p, buf); writeFailureReasonCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!failedUpload.isEmpty()) { writeTableHead("Failed uploads", new String[] { "", "Identifier", "Filename", "Size", "Type", "Success", "Reason", "Persistence", "Key" }, buf); for(Iterator i=failedUpload.iterator();i.hasNext();) { ClientPut p = (ClientPut) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getOrigFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeSuccessFractionCell(p, buf); writeFailureReasonCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!failedDirUpload.isEmpty()) { writeTableHead("Failed directory uploads", new String[] { "", "Identifier", "Files", "Total Size", "Success", "Reason", "Persistence", "Key" }, buf); for(Iterator i=failedDirUpload.iterator();i.hasNext();) { ClientPutDir p = (ClientPutDir) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); writeNumberCell(p.getNumberOfFiles(), buf); writeSizeCell(p.getTotalDataSize(), buf); writeSuccessFractionCell(p, buf); writeFailureReasonCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } } if(!(uncompletedDownload.isEmpty() && uncompletedUpload.isEmpty() && uncompletedDirUpload.isEmpty())) { writeBigHeading("Requests in progress", buf); if(!uncompletedDownload.isEmpty()) { writeTableHead("Downloads in progress", new String[] { "", "Identifier", "Filename", "Size", "Type", "Success", "Persistence", "Key" }, buf); for(Iterator i = uncompletedDownload.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getDestFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeSuccessFractionCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!uncompletedUpload.isEmpty()) { writeTableHead("Uploads in progress", new String[] { "", "Identifier", "Filename", "Size", "Type", "Success", "Persistence", "Key" }, buf); for(Iterator i = uncompletedDownload.iterator();i.hasNext();) { ClientPut p = (ClientPut) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getOrigFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeSuccessFractionCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!uncompletedDirUpload.isEmpty()) { writeTableHead("Directory uploads in progress", new String[] { "", "Identifier", "Files", "Total Size", "Success", "Persistence", "Key" }, buf); for(Iterator i=completedUpload.iterator();i.hasNext();) { ClientPutDir p = (ClientPutDir) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); writeNumberCell(p.getNumberOfFiles(), buf); writeSizeCell(p.getTotalDataSize(), buf); writeSuccessFractionCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } } ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 200, "text/html", "OK", buf.toString()); }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/2d7656127b381df6e6c2a3486b75d9356bf3bd2a/QueueToadlet.java/buggy/src/freenet/clients/http/QueueToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 225, 202, 15069, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 780, 1892, 1681, 273, 394, 6674, 12, 21573, 28, 1769, 9506, 202, 5900, 18, 588, 1964, 12373, 7675, 6540, 1414, 12, 4385, 16, 315, 21039, 7090, 8863, 9506, 202, 759, 5783, 16, 336, 326, 12234, 3285, 16, 471, 9004, 2182, 1368, 3775, 1953, 18, 9506, 202, 13174, 682, 5951, 7109, 774, 6247, 273, 394, 10688, 5621, 202, 202, 13174, 682, 5951, 7109, 774, 7185, 273, 394, 10688, 5621, 202, 202, 13174, 682, 5951, 4777, 273, 394, 10688, 5621, 202, 202, 13174, 682, 5951, 1621, 4777, 273, 394, 10688, 5621, 9506, 202, 13174, 682, 2535, 7109, 273, 394, 10688, 5621, 202, 202, 13174, 682, 2535, 4777, 273, 394, 10688, 5621, 202, 202, 13174, 682, 2535, 1621, 4777, 273, 394, 10688, 5621, 9506, 202, 13174, 682, 12704, 1469, 329, 7109, 273, 394, 10688, 5621, 202, 202, 13174, 682, 12704, 1469, 329, 4777, 273, 394, 10688, 5621, 202, 202, 13174, 682, 12704, 1469, 329, 1621, 4777, 273, 394, 10688, 5621, 9506, 202, 1227, 691, 8526, 20927, 273, 284, 4057, 18, 588, 5160, 6421, 5621, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 691, 1056, 30, 13773, 25782, 18, 2469, 1769, 9506, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 25782, 18, 2469, 31, 77, 27245, 288, 1082, 202, 1227, 691, 1111, 273, 20927, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 225, 202, 15069, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 780, 1892, 1681, 273, 394, 6674, 12, 21573, 28, 1769, 9506, 202, 5900, 18, 588, 1964, 12373, 7675, 6540, 1414, 12, 4385, 16, 315, 21039, 7090, 8863, 9506, 202, 759, 5783, 16, 336, 326, 12234, 3285, 16, 471, 9004, 2182, 1368, 3775, 1953, 18, 9506, 202, 13174, 682, 5951, 7109, 774, 6247, 273, 394, 10688, 5621, 202, 202, 13174, 682, 5951, 7109, 774, 7185, 273, 394, 10688, 5621, 202, 202, 13174, 682, 5951, 4777, 273, 394, 10688, 5621, 202, 202, 13174, 682, 5951, 1621, 4777, 273, 2 ]
if(agentIdService==null){ agentIdService = (AgentIdentificationService)this.serviceBroker.getService(this,AgentIdentificationService.class, null); } if(agentIdService==null){ if(log.isErrorEnabled()){ log.error("AgentIdentifier Service is null"); } } MessageAddress source = agentIdService.getMessageAddress(); MessageAddress target = MessageAddress.getMessageAddress(commonName); SharedDataRelay sdr = new SharedDataRelay(uidService.nextUID(), source, target, pmDPKey, null); bbs.openTransaction(); bbs.publishAdd(sdr); bbs.closeTransactionDontReset();
if(agentIdService==null || bbs==null || uidService==null){ if(log.isErrorEnabled()){ log.error("One of the required services needed to publish the relay is not present"); } MessageAddress source = agentIdService.getMessageAddress(); MessageAddress target = MessageAddress.getMessageAddress(commonName); SharedDataRelay sdr = new SharedDataRelay(uidService.nextUID(), source, target, pmDPKey, null); bbs.openTransaction(); bbs.publishAdd(sdr); bbs.closeTransactionDontReset(); }
private DataProtectionKeyCollection protectWithPM(PersistenceManagerPolicy pmp, SecretKey sk, DataProtectionKeyCollection keyCollection) { if (log.isDebugEnabled()) { log.debug("Encrypting secretkey with " + pmp.pmDN); } try { // get the first entry to get the dp policy DataProtectionKeyImpl dpKey = (DataProtectionKeyImpl)keyCollection.get(0); SecureMethodParam policy = dpKey.getSecureMethod(); X500Name pmx500name = new X500Name(pmp.pmDN); String commonName = pmx500name.getCommonName(); // find cert with common name does not return the certs from // peer, it only returns all the cert locally List certList = keyRing.findCert(pmx500name, KeyRingService.LOOKUP_KEYSTORE | KeyRingService.LOOKUP_LDAP, true); if (certList == null || certList.size() == 0) { if (log.isWarnEnabled()) { log.warn("PersistenceManager cert not found: " + pmx500name); } return keyCollection; } CertificateStatus cs = (CertificateStatus)certList.get(0); X509Certificate pmCert = cs.getCertificate(); SealedObject skeyobj = encryptionService.asymmEncrypt(commonName, policy.asymmSpec, sk, pmCert); DataProtectionKeyImpl pmDPKey = new DataProtectionKeyImpl(skeyobj, digestAlg, policy, keyRing.findCertChain(pmCert));// TODO Is this the right place for this? if(agentIdService==null){ agentIdService = (AgentIdentificationService)this.serviceBroker.getService(this,AgentIdentificationService.class, null); } if(agentIdService==null){ if(log.isErrorEnabled()){ log.error("AgentIdentifier Service is null"); } } MessageAddress source = agentIdService.getMessageAddress(); MessageAddress target = MessageAddress.getMessageAddress(commonName); SharedDataRelay sdr = new SharedDataRelay(uidService.nextUID(), source, target, pmDPKey, null); //publish relay bbs.openTransaction(); bbs.publishAdd(sdr); bbs.closeTransactionDontReset(); keyCollection.add(pmDPKey); } catch (Exception iox) { if (log.isWarnEnabled()) { log.warn("Unable to get persistence manager: " + pmp.pmDN + " Reason: " + iox); } } return keyCollection; }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/2d49f7db2a2472cc95a969203894348ecd3a0c6a/DataProtectionServiceImpl.java/clean/securityservices/src/org/cougaar/core/security/dataprotection/DataProtectionServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1910, 16938, 653, 2532, 17151, 1190, 12728, 12, 13182, 1318, 2582, 293, 1291, 16, 565, 19391, 4343, 16, 1910, 16938, 653, 2532, 498, 2532, 13, 288, 565, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 1377, 613, 18, 4148, 2932, 13129, 310, 4001, 856, 598, 315, 397, 293, 1291, 18, 7755, 8609, 1769, 565, 289, 565, 775, 288, 1377, 368, 336, 326, 1122, 1241, 358, 336, 326, 9986, 3329, 1377, 1910, 16938, 653, 2828, 9986, 653, 273, 261, 751, 16938, 653, 2828, 13, 856, 2532, 18, 588, 12, 20, 1769, 1377, 15653, 1305, 786, 3329, 273, 9986, 653, 18, 588, 12834, 1305, 5621, 1377, 1139, 12483, 461, 7430, 92, 12483, 529, 273, 394, 1139, 12483, 461, 12, 84, 1291, 18, 7755, 8609, 1769, 1377, 514, 2975, 461, 273, 7430, 92, 12483, 529, 18, 588, 6517, 461, 5621, 1377, 368, 1104, 3320, 598, 2975, 508, 1552, 486, 327, 326, 13870, 628, 1377, 368, 4261, 16, 518, 1338, 1135, 777, 326, 3320, 13760, 1377, 987, 3320, 682, 273, 498, 10369, 18, 4720, 5461, 12, 7755, 92, 12483, 529, 16, 4202, 1929, 10369, 1179, 18, 1502, 31581, 67, 3297, 13651, 571, 1929, 10369, 1179, 18, 1502, 31581, 67, 15496, 16, 638, 1769, 1377, 309, 261, 7593, 682, 422, 446, 747, 3320, 682, 18, 1467, 1435, 422, 374, 13, 288, 3639, 309, 261, 1330, 18, 291, 3160, 1526, 10756, 288, 1850, 613, 18, 8935, 2932, 13182, 1318, 3320, 486, 1392, 30, 315, 397, 7430, 92, 12483, 529, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1910, 16938, 653, 2532, 17151, 1190, 12728, 12, 13182, 1318, 2582, 293, 1291, 16, 565, 19391, 4343, 16, 1910, 16938, 653, 2532, 498, 2532, 13, 288, 565, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 1377, 613, 18, 4148, 2932, 13129, 310, 4001, 856, 598, 315, 397, 293, 1291, 18, 7755, 8609, 1769, 565, 289, 565, 775, 288, 1377, 368, 336, 326, 1122, 1241, 358, 336, 326, 9986, 3329, 1377, 1910, 16938, 653, 2828, 9986, 653, 273, 261, 751, 16938, 653, 2828, 13, 856, 2532, 18, 588, 12, 20, 1769, 1377, 15653, 1305, 786, 3329, 273, 9986, 653, 18, 588, 12834, 1305, 5621, 1377, 1139, 12483, 461, 7430, 92, 12483, 529, 273, 394, 1139, 12483, 461, 2 ]
{ lexicalHandler.startEntity (name); }
{ lexicalHandler.startEntity(name); }
void startInternalEntity (String name) throws SAXException { lexicalHandler.startEntity (name); }
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/7fb7568e63c3fe14af521de4699cb37898923ca7/SAXDriver.java/clean/libjava/gnu/xml/aelfred2/SAXDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 787, 3061, 1943, 261, 780, 508, 13, 565, 1216, 14366, 565, 288, 202, 4149, 1706, 1503, 18, 1937, 1943, 261, 529, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 918, 787, 3061, 1943, 261, 780, 508, 13, 565, 1216, 14366, 565, 288, 202, 4149, 1706, 1503, 18, 1937, 1943, 261, 529, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fMenuService = (IMenuService) window.getService(IMenuService.class);
fMenuService = manager;
public TrimBarManager(final WorkbenchWindow window) { if (window == null) { throw new IllegalArgumentException("The window cannot be null"); //$NON-NLS-1$ } // Remember the parameters fMenuService = (IMenuService) window.getService(IMenuService.class); fTrimBuilder = new STrimBuilder(window); // New layouts are always 'dirty' fDirty = true; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/03ee7aea52f9313e17fd8a8e337e50b05c319ba4/TrimBarManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/TrimBarManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7105, 5190, 1318, 12, 6385, 4147, 22144, 3829, 2742, 13, 288, 202, 202, 430, 261, 5668, 422, 446, 13, 288, 1082, 202, 12849, 394, 2754, 2932, 1986, 2742, 2780, 506, 446, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 759, 23133, 326, 1472, 202, 202, 74, 4599, 1179, 273, 261, 3445, 2104, 1179, 13, 2742, 18, 588, 1179, 12, 3445, 2104, 1179, 18, 1106, 1769, 202, 202, 74, 14795, 1263, 273, 394, 348, 14795, 1263, 12, 5668, 1769, 202, 202, 759, 1166, 22412, 854, 3712, 296, 18013, 11, 202, 202, 74, 10785, 273, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7105, 5190, 1318, 12, 6385, 4147, 22144, 3829, 2742, 13, 288, 202, 202, 430, 261, 5668, 422, 446, 13, 288, 1082, 202, 12849, 394, 2754, 2932, 1986, 2742, 2780, 506, 446, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 759, 23133, 326, 1472, 202, 202, 74, 4599, 1179, 273, 261, 3445, 2104, 1179, 13, 2742, 18, 588, 1179, 12, 3445, 2104, 1179, 18, 1106, 1769, 202, 202, 74, 14795, 1263, 273, 394, 348, 14795, 1263, 12, 5668, 1769, 202, 202, 759, 1166, 22412, 854, 3712, 296, 18013, 11, 202, 202, 74, 10785, 273, 638, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Element modifications = null;
Element modifications;
Element getModifications() { setState(ProjectState.MODIFICATIONSET); Element modifications = null; boolean checkNewChangesFirst = checkOnlySinceLastBuild(); if (checkNewChangesFirst) { debug("getting changes since last build"); modifications = modificationSet.getModifications(lastBuild); } else { debug("getting changes since last successful build"); modifications = modificationSet.getModifications(lastSuccessfulBuild); } if (!modificationSet.isModified()) { info("No modifications found, build not necessary."); // Sometimes we want to build even though we don't have any // modifications. This is in fact current default behaviour. // Set by <project buildafterfailed="true/false"> if (buildAfterFailed && !wasLastBuildSuccessful) { info("Building anyway, since buildAfterFailed is true and last build failed."); } else { if (buildForced) { info("Building anyway, since build was explicitly forced."); } else { return null; } } } if (buildForced) { buildForced = false; } if (checkNewChangesFirst) { debug("new changes found; now getting complete set"); modifications = modificationSet.getModifications(lastSuccessfulBuild); } return modifications; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/50e95ce509b1c9c534099126cde67fe888b0a759/Project.java/clean/main/src/net/sourceforge/cruisecontrol/Project.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3010, 336, 28340, 1435, 288, 3639, 12947, 12, 4109, 1119, 18, 6720, 14865, 4043, 1769, 3639, 3010, 17953, 31, 3639, 1250, 866, 1908, 7173, 3759, 273, 866, 3386, 9673, 3024, 3116, 5621, 3639, 309, 261, 1893, 1908, 7173, 3759, 13, 288, 5411, 1198, 2932, 588, 1787, 3478, 3241, 1142, 1361, 8863, 5411, 17953, 273, 11544, 694, 18, 588, 28340, 12, 2722, 3116, 1769, 3639, 289, 469, 288, 5411, 1198, 2932, 588, 1787, 3478, 3241, 1142, 6873, 1361, 8863, 5411, 17953, 273, 11544, 694, 18, 588, 28340, 12, 2722, 14277, 3116, 1769, 3639, 289, 3639, 309, 16051, 31064, 694, 18, 291, 4575, 10756, 288, 5411, 1123, 2932, 2279, 17953, 1392, 16, 1361, 486, 4573, 1199, 1769, 5411, 368, 348, 25976, 732, 2545, 358, 1361, 5456, 11376, 732, 2727, 1404, 1240, 1281, 5411, 368, 17953, 18, 1220, 353, 316, 5410, 783, 805, 14273, 18, 5411, 368, 1000, 635, 411, 4406, 1361, 5205, 7307, 1546, 3767, 19, 5743, 6441, 5411, 309, 261, 3510, 4436, 2925, 597, 401, 17416, 3024, 3116, 14277, 13, 288, 7734, 1123, 2932, 16713, 13466, 16, 3241, 1361, 4436, 2925, 353, 638, 471, 1142, 1361, 2535, 1199, 1769, 5411, 289, 469, 288, 7734, 309, 261, 3510, 1290, 3263, 13, 288, 10792, 1123, 2932, 16713, 13466, 16, 3241, 1361, 1703, 8122, 13852, 1199, 1769, 7734, 289, 469, 288, 10792, 327, 446, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 309, 261, 3510, 1290, 3263, 13, 288, 5411, 1361, 1290, 3263, 273, 629, 31, 3639, 289, 3639, 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, 3010, 336, 28340, 1435, 288, 3639, 12947, 12, 4109, 1119, 18, 6720, 14865, 4043, 1769, 3639, 3010, 17953, 31, 3639, 1250, 866, 1908, 7173, 3759, 273, 866, 3386, 9673, 3024, 3116, 5621, 3639, 309, 261, 1893, 1908, 7173, 3759, 13, 288, 5411, 1198, 2932, 588, 1787, 3478, 3241, 1142, 1361, 8863, 5411, 17953, 273, 11544, 694, 18, 588, 28340, 12, 2722, 3116, 1769, 3639, 289, 469, 288, 5411, 1198, 2932, 588, 1787, 3478, 3241, 1142, 6873, 1361, 8863, 5411, 17953, 273, 11544, 694, 18, 588, 28340, 12, 2722, 14277, 3116, 1769, 3639, 289, 3639, 309, 16051, 31064, 694, 18, 291, 4575, 10756, 288, 5411, 1123, 2932, 2279, 17953, 1392, 16, 1361, 486, 4573, 1199, 1769, 5411, 368, 348, 2 ]
public org.quickfix.field.NumTickets getNumTickets() throws FieldNotFound { org.quickfix.field.NumTickets value = new org.quickfix.field.NumTickets();
public quickfix.field.NumTickets getNumTickets() throws FieldNotFound { quickfix.field.NumTickets value = new quickfix.field.NumTickets();
public org.quickfix.field.NumTickets getNumTickets() throws FieldNotFound { org.quickfix.field.NumTickets value = new org.quickfix.field.NumTickets(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/BidRequest.java/clean/src/java/src/quickfix/fix43/BidRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2578, 6264, 2413, 11187, 6264, 2413, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2578, 6264, 2413, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2578, 6264, 2413, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2578, 6264, 2413, 11187, 6264, 2413, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2578, 6264, 2413, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2578, 6264, 2413, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
chatWindow.getMainToolBar().changeHistoryButtonsSate( ChatPanel.this);
public void run() { getChatWindow().setTitle( getMetaContact().getDisplayName()); chatWindow.setCurrentChatPanel(ChatPanel.this); chatWindow.getMainToolBar().changeHistoryButtonsSate( ChatPanel.this); writeMessagePanel.getEditorPane() .requestFocus(); }
43455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43455/ad68448c6b5c963f9f92822a0f24d86ac9a4161e/ChatPanel.java/buggy/src/net/java/sip/communicator/impl/gui/main/message/ChatPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 7682, 1071, 918, 1086, 1435, 288, 18701, 336, 14163, 3829, 7675, 542, 4247, 12, 4766, 565, 11312, 6567, 7675, 588, 20524, 10663, 18701, 7916, 3829, 18, 542, 3935, 14163, 5537, 12, 14163, 5537, 18, 2211, 1769, 4766, 13491, 7916, 3829, 18, 588, 6376, 6364, 5190, 7675, 3427, 5623, 14388, 55, 340, 12, 4766, 565, 16903, 5537, 18, 2211, 1769, 18701, 1045, 1079, 5537, 18, 588, 6946, 8485, 1435, 4766, 565, 263, 2293, 9233, 5621, 13491, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 7682, 1071, 918, 1086, 1435, 288, 18701, 336, 14163, 3829, 7675, 542, 4247, 12, 4766, 565, 11312, 6567, 7675, 588, 20524, 10663, 18701, 7916, 3829, 18, 542, 3935, 14163, 5537, 12, 14163, 5537, 18, 2211, 1769, 4766, 13491, 7916, 3829, 18, 588, 6376, 6364, 5190, 7675, 3427, 5623, 14388, 55, 340, 12, 4766, 565, 16903, 5537, 18, 2211, 1769, 18701, 1045, 1079, 5537, 18, 588, 6946, 8485, 1435, 4766, 565, 263, 2293, 9233, 5621, 13491, 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 ]
createViewHistory();
fViewHistory= new RunnerViewHistory();
public void createPartControl(Composite parent) { fParent= parent; addResizeListener(parent); fClipboard= new Clipboard(parent.getDisplay()); GridLayout gridLayout= new GridLayout(); gridLayout.marginWidth= 0; gridLayout.marginHeight= 0; parent.setLayout(gridLayout); createViewHistory(); configureToolBar(); fCounterComposite= createProgressCountPanel(parent); fCounterComposite.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL)); SashForm sashForm= createSashForm(parent); sashForm.setLayoutData(new GridData(GridData.FILL_BOTH)); IActionBars actionBars= getViewSite().getActionBars(); fCopyAction = new JUnitCopyAction(fFailureTrace, fClipboard); actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), fCopyAction); fOriginalViewImage= getTitleImage(); fProgressImages= new ProgressImages(); PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, IJUnitHelpContextIds.RESULTS_VIEW); getViewSite().getPage().addPartListener(fPartListener); setShowFailuresOnly(true); if (fMemento != null) { restoreLayoutState(fMemento); } fMemento= null; fTestRunSessionListener= new TestRunSessionListener(); JUnitPlugin.getModel().addTestRunSessionListener(fTestRunSessionListener); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/547b7a0725dcc7f23a3898f91344ae2b458219f0/TestRunnerViewPart.java/buggy/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 1082, 202, 74, 3054, 33, 982, 31, 202, 202, 1289, 12182, 2223, 12, 2938, 1769, 202, 202, 74, 15339, 3752, 33, 394, 385, 3169, 3752, 12, 2938, 18, 588, 4236, 10663, 202, 202, 6313, 3744, 3068, 3744, 33, 394, 7145, 3744, 5621, 3196, 202, 5222, 3744, 18, 10107, 2384, 33, 374, 31, 202, 202, 5222, 3744, 18, 10107, 2686, 33, 374, 31, 202, 202, 2938, 18, 542, 3744, 12, 5222, 3744, 1769, 9506, 202, 2640, 1767, 5623, 5621, 202, 202, 14895, 6364, 5190, 5621, 9506, 202, 74, 4789, 9400, 33, 752, 5491, 1380, 5537, 12, 2938, 1769, 202, 202, 74, 4789, 9400, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 6997, 2090, 67, 44, 20344, 571, 7145, 751, 18, 44, 20344, 67, 26439, 67, 29818, 10019, 202, 202, 55, 961, 1204, 272, 961, 1204, 33, 752, 55, 961, 1204, 12, 2938, 1769, 202, 202, 87, 961, 1204, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 9506, 202, 45, 1803, 5190, 87, 1301, 5190, 87, 33, 8893, 4956, 7675, 588, 1803, 5190, 87, 5621, 202, 202, 74, 2951, 1803, 273, 394, 804, 2802, 2951, 1803, 12, 74, 5247, 3448, 16, 284, 15339, 3752, 1769, 202, 202, 1128, 5190, 87, 18, 542, 5160, 1803, 1503, 12, 1803, 1733, 18, 24875, 18, 26321, 9334, 284, 2951, 1803, 1769, 9506, 202, 74, 8176, 1767, 2040, 33, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 1082, 202, 74, 3054, 33, 982, 31, 202, 202, 1289, 12182, 2223, 12, 2938, 1769, 202, 202, 74, 15339, 3752, 33, 394, 385, 3169, 3752, 12, 2938, 18, 588, 4236, 10663, 202, 202, 6313, 3744, 3068, 3744, 33, 394, 7145, 3744, 5621, 3196, 202, 5222, 3744, 18, 10107, 2384, 33, 374, 31, 202, 202, 5222, 3744, 18, 10107, 2686, 33, 374, 31, 202, 202, 2938, 18, 542, 3744, 12, 5222, 3744, 1769, 9506, 202, 2640, 1767, 5623, 5621, 202, 202, 14895, 6364, 5190, 5621, 9506, 202, 74, 4789, 9400, 33, 752, 5491, 1380, 5537, 12, 2938, 1769, 202, 202, 74, 4789, 9400, 18, 542, 3744, 751, 12, 2 ]
organizer.deleteRecipeFromDatabase(); }
organizer.renameWorkspace(); }
public void actionPerformed(ActionEvent e) { organizer.deleteRecipeFromDatabase(); }
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/726e50c37c8dcfa913f4f634b85dff3ffb0b49ed/OrganizerMouseListener.java/clean/csmart/src/org/cougaar/tools/csmart/ui/viewer/OrganizerMouseListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 15501, 1824, 18, 3733, 5650, 3151, 1265, 4254, 5621, 1377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 15501, 1824, 18, 3733, 5650, 3151, 1265, 4254, 5621, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
MemberExpressionNode( Node base, Node name ) {
MemberExpressionNode( Node base, Node name, int pos ) { super(pos);
MemberExpressionNode( Node base, Node name ) { this.base = base; this.name = name; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/c8f0271f30beb85814bc53c3804d1ad914028ad4/Nodes.java/buggy/js2/jsc/src/java/parser/Nodes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8596, 2300, 907, 12, 2029, 1026, 16, 2029, 508, 16, 509, 949, 262, 288, 2240, 12, 917, 1769, 3639, 333, 18, 1969, 273, 1026, 31, 202, 565, 333, 18, 529, 273, 508, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8596, 2300, 907, 12, 2029, 1026, 16, 2029, 508, 16, 509, 949, 262, 288, 2240, 12, 917, 1769, 3639, 333, 18, 1969, 273, 1026, 31, 202, 565, 333, 18, 529, 273, 508, 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 ]
private HtmlElement getNextElementUpwards( DomNode startingNode ) {
private HtmlElement getNextElementUpwards( final DomNode startingNode ) {
private HtmlElement getNextElementUpwards( DomNode startingNode ) { if( startingNode == DomNode.this) { return null; } final DomNode parent = startingNode.getParentNode(); if( parent == DomNode.this ) { return null; } DomNode next = parent.getNextSibling(); while( next != null && next instanceof HtmlElement == false ) { next = next.getNextSibling(); } if( next == null ) { return getNextElementUpwards(parent); } else { return (HtmlElement)next; } }
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/DomNode.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/DomNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 5430, 1046, 6927, 1046, 1211, 6397, 12, 727, 12965, 907, 5023, 907, 262, 288, 5411, 309, 12, 5023, 907, 422, 12965, 907, 18, 2211, 13, 288, 7734, 327, 446, 31, 5411, 289, 5411, 727, 12965, 907, 982, 273, 5023, 907, 18, 588, 3054, 907, 5621, 5411, 309, 12, 982, 422, 12965, 907, 18, 2211, 262, 288, 7734, 327, 446, 31, 5411, 289, 5411, 12965, 907, 1024, 273, 982, 18, 588, 2134, 10291, 5621, 5411, 1323, 12, 1024, 480, 446, 597, 1024, 1276, 5430, 1046, 422, 629, 262, 288, 7734, 1024, 273, 1024, 18, 588, 2134, 10291, 5621, 5411, 289, 5411, 309, 12, 1024, 422, 446, 262, 288, 7734, 327, 6927, 1046, 1211, 6397, 12, 2938, 1769, 5411, 289, 5411, 469, 288, 7734, 327, 261, 4353, 1046, 13, 4285, 31, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 5430, 1046, 6927, 1046, 1211, 6397, 12, 727, 12965, 907, 5023, 907, 262, 288, 5411, 309, 12, 5023, 907, 422, 12965, 907, 18, 2211, 13, 288, 7734, 327, 446, 31, 5411, 289, 5411, 727, 12965, 907, 982, 273, 5023, 907, 18, 588, 3054, 907, 5621, 5411, 309, 12, 982, 422, 12965, 907, 18, 2211, 262, 288, 7734, 327, 446, 31, 5411, 289, 5411, 12965, 907, 1024, 273, 982, 18, 588, 2134, 10291, 5621, 5411, 1323, 12, 1024, 480, 446, 597, 1024, 1276, 5430, 1046, 422, 629, 262, 288, 7734, 1024, 273, 1024, 18, 588, 2134, 10291, 5621, 5411, 289, 5411, 309, 12, 1024, 422, 446, 262, 288, 7734, 327, 6927, 1046, 1211, 6397, 12, 2938, 1769, 5411, 2 ]
fetchSpecMap.setBoolean("prompsAfterFetchLimit", myPromptsAfterFetchLimit);
fetchSpecMap.setBoolean("prompsAfterFetchLimit", myPromptsAfterFetchLimit, EOModelMap.YESNO);
public EOModelMap toMap() { EOModelMap fetchSpecMap = myFetchSpecMap.cloneModelMap(); fetchSpecMap.setString("entityName", myEntity.getName(), true); //$NON-NLS-1$ fetchSpecMap.setString("class", myClass, true); //$NON-NLS-1$ fetchSpecMap.setInteger("fetchLimit", myFetchLimit); //$NON-NLS-1$ fetchSpecMap.setBoolean("isDeep", myDeep); //$NON-NLS-1$ fetchSpecMap.setBoolean("locksObjects", myLocksObjects); //$NON-NLS-1$ fetchSpecMap.setSet("prefetchingRelationshipKeyPaths", myPrefetchingRelationshipKeyPaths, true); //$NON-NLS-1$ fetchSpecMap.setBoolean("prompsAfterFetchLimit", myPromptsAfterFetchLimit); //$NON-NLS-1$ if (myQualifier == null) { fetchSpecMap.setMap("qualifier", null, true); //$NON-NLS-1$ } else { fetchSpecMap.setMap("qualifier", EOQualifierFactory.createQualifierMapFromNode(myQualifier), true); //$NON-NLS-1$ } fetchSpecMap.setSet("rawRowKeyPaths", myRawRowKeyPaths, true); //$NON-NLS-1$ fetchSpecMap.setBoolean("refreshesRefetchedObjects", myRefreshesRefetchedObjects); //$NON-NLS-1$ fetchSpecMap.setBoolean("requiresAllQualifierBindingVariables", myRequiresAllQualifierBindingVariables); //$NON-NLS-1$ fetchSpecMap.setBoolean("usesDistinct", myUsesDistinct); //$NON-NLS-1$ fetchSpecMap.setMap("userInfo", getUserInfo(), true); //$NON-NLS-1$ List sortOrderings = new LinkedList(); Iterator sortOrderingsIter = mySortOrderings.iterator(); while (sortOrderingsIter.hasNext()) { EOSortOrdering sortOrdering = (EOSortOrdering) sortOrderingsIter.next(); EOModelMap sortOrderingMap = sortOrdering.toMap(); sortOrderings.add(sortOrderingMap); } fetchSpecMap.setList("sortOrderings", sortOrderings, true); //$NON-NLS-1$ return fetchSpecMap; }
50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/d4baf09fd4601817abef5e90b53ca0c30bc3403f/EOFetchSpecification.java/buggy/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOFetchSpecification.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 512, 51, 1488, 863, 24382, 1435, 288, 565, 512, 51, 1488, 863, 2158, 1990, 863, 273, 3399, 5005, 1990, 863, 18, 14056, 1488, 863, 5621, 565, 2158, 1990, 863, 18, 542, 780, 2932, 1096, 461, 3113, 3399, 1943, 18, 17994, 9334, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 1990, 863, 18, 542, 780, 2932, 1106, 3113, 3399, 797, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 1990, 863, 18, 542, 4522, 2932, 5754, 3039, 3113, 3399, 5005, 3039, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 1990, 863, 18, 542, 5507, 2932, 291, 13980, 3113, 3399, 13980, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 1990, 863, 18, 542, 5507, 2932, 23581, 4710, 3113, 3399, 19159, 4710, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 1990, 863, 18, 542, 694, 2932, 1484, 5754, 310, 8180, 653, 4466, 3113, 3399, 25591, 310, 8180, 653, 4466, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 1990, 863, 18, 542, 5507, 2932, 17401, 1121, 4436, 5005, 3039, 3113, 3399, 13224, 1092, 4436, 5005, 3039, 16, 512, 51, 1488, 863, 18, 29081, 3417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 309, 261, 4811, 16185, 422, 446, 13, 288, 1377, 2158, 1990, 863, 18, 542, 863, 2932, 28157, 3113, 446, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 289, 565, 469, 288, 1377, 2158, 1990, 863, 18, 542, 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, 512, 51, 1488, 863, 24382, 1435, 288, 565, 512, 51, 1488, 863, 2158, 1990, 863, 273, 3399, 5005, 1990, 863, 18, 14056, 1488, 863, 5621, 565, 2158, 1990, 863, 18, 542, 780, 2932, 1096, 461, 3113, 3399, 1943, 18, 17994, 9334, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 1990, 863, 18, 542, 780, 2932, 1106, 3113, 3399, 797, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 1990, 863, 18, 542, 4522, 2932, 5754, 3039, 3113, 3399, 5005, 3039, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 1990, 863, 18, 542, 5507, 2932, 291, 13980, 3113, 3399, 13980, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 2158, 2 ]
createMenuItem(menu, editor, editor.getId().equals(preferredEditor.getId())); if (editor.getId().equals(defaultEditor.getId()))
createMenuItem(menu, editor, preferredEditor); if (defaultEditor != null && editor.getId().equals(defaultEditor.getId()))
public void fill(Menu menu, int index) { IFile file = getFileResource(); if (file == null) { return; } IEditorDescriptor defaultEditor = registry.getDefaultEditor(); IEditorDescriptor preferredEditor = registry.getDefaultEditor(file); Object[] editors = sorter.sort(registry.getEditors(file)); boolean defaultFound = false; for (int i = 0; i < editors.length; i++) { IEditorDescriptor editor = (IEditorDescriptor) editors[i]; createMenuItem(menu, editor, editor.getId().equals(preferredEditor.getId())); if (editor.getId().equals(defaultEditor.getId())) defaultFound = true; } //Only add a separator if there is something to separate if(editors.length > 0) new MenuItem(menu, SWT.SEPARATOR); // Add default editor. Check it if it is saved as the preference. boolean isPreferred = false; if (!defaultFound) { if (preferredEditor != null) isPreferred = defaultEditor.getId().equals(preferredEditor.getId()); createMenuItem(menu, defaultEditor, isPreferred); } // Add system editor. IEditorDescriptor descriptor = EditorDescriptor.getSystemEditorDescriptor(); if (preferredEditor != null) isPreferred = descriptor.getId().equals(preferredEditor.getId()); createMenuItem(menu, descriptor, isPreferred); createDefaultMenuItem(menu, file);}
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/11b6f838915e4bba4ecf34243221626b87dc51e5/OpenWithMenu.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/OpenWithMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 3636, 12, 4599, 3824, 16, 509, 770, 13, 288, 202, 45, 812, 585, 273, 6034, 1420, 5621, 202, 430, 261, 768, 422, 446, 13, 288, 202, 202, 2463, 31, 202, 97, 202, 45, 6946, 3187, 805, 6946, 273, 4023, 18, 588, 1868, 6946, 5621, 202, 45, 6946, 3187, 9119, 6946, 273, 4023, 18, 588, 1868, 6946, 12, 768, 1769, 202, 921, 8526, 29431, 273, 19867, 18, 3804, 12, 9893, 18, 588, 4666, 1383, 12, 768, 10019, 202, 6494, 805, 2043, 273, 629, 31, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 29431, 18, 2469, 31, 277, 27245, 288, 202, 202, 45, 6946, 3187, 4858, 273, 261, 45, 6946, 3187, 13, 29431, 63, 77, 15533, 202, 202, 2640, 12958, 12, 5414, 16, 4858, 16, 4858, 18, 26321, 7675, 14963, 12, 23616, 6946, 18, 26321, 1435, 10019, 202, 202, 430, 261, 9177, 18, 26321, 7675, 14963, 12, 1886, 6946, 18, 26321, 1435, 3719, 1082, 202, 1886, 2043, 273, 638, 31, 202, 97, 202, 759, 3386, 527, 279, 4182, 309, 1915, 353, 5943, 358, 9004, 202, 430, 12, 4619, 1383, 18, 2469, 405, 374, 13, 202, 202, 2704, 25085, 12, 5414, 16, 348, 8588, 18, 4550, 1769, 202, 759, 1436, 805, 4858, 18, 2073, 518, 309, 518, 353, 5198, 487, 326, 11555, 18, 202, 6494, 353, 16028, 273, 629, 31, 202, 430, 16051, 1886, 2043, 13, 288, 202, 202, 430, 261, 23616, 6946, 480, 446, 13, 1082, 202, 291, 16028, 273, 805, 6946, 18, 26321, 7675, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 3636, 12, 4599, 3824, 16, 509, 770, 13, 288, 202, 45, 812, 585, 273, 6034, 1420, 5621, 202, 430, 261, 768, 422, 446, 13, 288, 202, 202, 2463, 31, 202, 97, 202, 45, 6946, 3187, 805, 6946, 273, 4023, 18, 588, 1868, 6946, 5621, 202, 45, 6946, 3187, 9119, 6946, 273, 4023, 18, 588, 1868, 6946, 12, 768, 1769, 202, 921, 8526, 29431, 273, 19867, 18, 3804, 12, 9893, 18, 588, 4666, 1383, 12, 768, 10019, 202, 6494, 805, 2043, 273, 629, 31, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 29431, 18, 2469, 31, 277, 27245, 288, 202, 202, 45, 6946, 3187, 4858, 273, 261, 45, 6946, 3187, 13, 29431, 63, 77, 15533, 202, 2 ]
return padding[side].getLengthValue();
return padding[side].getLengthValue(context);
public int getPadding(int side, boolean bDiscard) { if ((padding[side] == null) || (bDiscard && padding[side].isDiscard())) { return 0; } else { return padding[side].getLengthValue(); } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/8cad88a3e360b7c05118fb66275f45b090f51c97/CommonBorderPaddingBackground.java/clean/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 28307, 12, 474, 4889, 16, 1250, 324, 14185, 13, 288, 3639, 309, 14015, 9598, 63, 5564, 65, 422, 446, 13, 747, 261, 70, 14185, 597, 4992, 63, 5564, 8009, 291, 14185, 1435, 3719, 288, 5411, 327, 374, 31, 3639, 289, 469, 288, 5411, 327, 4992, 63, 5564, 8009, 588, 1782, 620, 12, 2472, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 509, 28307, 12, 474, 4889, 16, 1250, 324, 14185, 13, 288, 3639, 309, 14015, 9598, 63, 5564, 65, 422, 446, 13, 747, 261, 70, 14185, 597, 4992, 63, 5564, 8009, 291, 14185, 1435, 3719, 288, 5411, 327, 374, 31, 3639, 289, 469, 288, 5411, 327, 4992, 63, 5564, 8009, 588, 1782, 620, 12, 2472, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (nodeId == null) { throw new MissingParameterException("node", new String[] { "node", "endUrl" }); }
ArrayList intfs;
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String nodeId = request.getParameter("node"); String endUrl = request.getParameter("endUrl"); if (nodeId == null) { throw new MissingParameterException("node", new String[] { "node", "endUrl" }); } if (endUrl == null) { throw new MissingParameterException("endUrl", new String[] { "node", "endUrl" }); } // should return an empty array if no queryable interfaces available ArrayList intfs = this.model.getQueryableInterfacesForNode(nodeId); if (intfs == null) { // shouldn't ever happen, but just in case throw new ServletException("Unexpected value: a null array"); } this.log("DEBUG: Found these interfaces for node " + nodeId + ":"); for (Iterator i = intfs.iterator(); i.hasNext(); ) { this.log("DEBUG: interface: " + (String) i.next()); } String[] ignores = new String[] { "endUrl" }; switch (intfs.size()) { case 0: { // there are no queryable interfaces, but there must be node // information otherwise the given nodeid would never have // been chooseable from the UI, so we'll just send request // on to only graph the node information String queryString = Util.makeQueryString(request, ignores); // this is a servlet context-relative URL (ie external URL), so // we have to add the base URL; the base URL contains a trailing // slash, so I do not add one here response.sendRedirect(Util.calculateUrlBase(request) + endUrl + "?" + queryString); break; } case 1: { // add the interface, and redirect to end url HashMap additions = new HashMap(); additions.put("intf", intfs.get(0)); String queryString = Util.makeQueryString(request, additions, ignores); // this is a servlet context-relative URL (ie external URL), so // we have to add the base URL; the base URL contains a trailing // slash, so I do not add one here response.sendRedirect(Util.calculateUrlBase(request) + endUrl + "?" + queryString); break; } default: { // redirect to the chooseInterfaceUrl String queryString = Util.makeQueryString(request); // this is a sibling URL, so no base URL is needed response.sendRedirect(Util.calculateUrlBase(request) + this.chooseInterfaceUrl + "?" + queryString); break; } } }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/20cfe0c634effd449d70c2d4bd7addbd21c11319/AddInterfaceToURLServlet.java/buggy/src/web/src/org/opennms/web/performance/AddInterfaceToURLServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23611, 12, 2940, 18572, 590, 16, 12446, 766, 13, 1216, 16517, 16, 1860, 288, 3639, 514, 11507, 273, 590, 18, 588, 1662, 2932, 2159, 8863, 3639, 514, 679, 1489, 273, 590, 18, 588, 1662, 2932, 409, 1489, 8863, 3639, 309, 261, 2159, 548, 422, 446, 13, 288, 5411, 604, 394, 10230, 14819, 2932, 2159, 3113, 394, 514, 8526, 288, 315, 2159, 3113, 315, 409, 1489, 6, 15549, 3639, 289, 3639, 309, 261, 409, 1489, 422, 446, 13, 288, 5411, 604, 394, 10230, 14819, 2932, 409, 1489, 3113, 394, 514, 8526, 288, 315, 2159, 3113, 315, 409, 1489, 6, 15549, 3639, 289, 3639, 368, 1410, 327, 392, 1008, 526, 309, 1158, 843, 429, 7349, 2319, 3639, 2407, 509, 2556, 273, 333, 18, 2284, 18, 588, 1138, 429, 10273, 31058, 12, 2159, 548, 1769, 3639, 309, 261, 474, 2556, 422, 446, 13, 288, 5411, 368, 12044, 1404, 14103, 5865, 16, 1496, 2537, 316, 648, 5411, 604, 394, 16517, 2932, 7762, 460, 30, 279, 446, 526, 8863, 3639, 289, 3639, 333, 18, 1330, 2932, 9394, 30, 10750, 4259, 7349, 364, 756, 315, 397, 11507, 397, 6153, 1769, 202, 1884, 261, 3198, 277, 273, 509, 2556, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 5411, 333, 18, 1330, 2932, 9394, 30, 1560, 30, 315, 397, 261, 780, 13, 277, 18, 4285, 10663, 3639, 289, 3639, 514, 8526, 17868, 273, 394, 514, 8526, 288, 315, 409, 1489, 6, 289, 31, 3639, 1620, 261, 474, 2556, 18, 1467, 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, 23611, 12, 2940, 18572, 590, 16, 12446, 766, 13, 1216, 16517, 16, 1860, 288, 3639, 514, 11507, 273, 590, 18, 588, 1662, 2932, 2159, 8863, 3639, 514, 679, 1489, 273, 590, 18, 588, 1662, 2932, 409, 1489, 8863, 3639, 309, 261, 2159, 548, 422, 446, 13, 288, 5411, 604, 394, 10230, 14819, 2932, 2159, 3113, 394, 514, 8526, 288, 315, 2159, 3113, 315, 409, 1489, 6, 15549, 3639, 289, 3639, 309, 261, 409, 1489, 422, 446, 13, 288, 5411, 604, 394, 10230, 14819, 2932, 409, 1489, 3113, 394, 514, 8526, 288, 315, 2159, 3113, 315, 409, 1489, 6, 15549, 3639, 289, 3639, 368, 1410, 327, 392, 1008, 526, 309, 1158, 843, 429, 7349, 2319, 3639, 2407, 2 ]
super(reason, minor, completed);
super(message, 0, CompletionStatus.COMPLETED_NO);
public BAD_INV_ORDER(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/BAD_INV_ORDER.java/buggy/core/src/classpath/org/org/omg/CORBA/BAD_INV_ORDER.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 16467, 67, 706, 58, 67, 7954, 12, 780, 3971, 16, 509, 8439, 16, 20735, 1482, 5951, 13, 225, 288, 565, 2240, 12, 2150, 16, 374, 16, 20735, 1482, 18, 15795, 40, 67, 3417, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16467, 67, 706, 58, 67, 7954, 12, 780, 3971, 16, 509, 8439, 16, 20735, 1482, 5951, 13, 225, 288, 565, 2240, 12, 2150, 16, 374, 16, 20735, 1482, 18, 15795, 40, 67, 3417, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void extractFile(Touch touch, File srcF, File dir,
protected void extractFile(FileUtils fileUtils, File srcF, File dir,
protected void extractFile(Touch touch, File srcF, File dir, InputStream compressedInputStream, String entryName, long entrySize, Date entryDate, boolean isDirectory) throws IOException { extractFile(touch, srcF, dir, compressedInputStream, entryName, entrySize, entryDate, isDirectory, null, null); }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/9c86fd265f6419eecb2db25a8d51560e475fc74b/Expand.java/buggy/src/main/org/apache/tools/ant/taskdefs/Expand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2608, 812, 12, 812, 1989, 585, 1989, 16, 1387, 1705, 42, 16, 1387, 1577, 16, 1171, 9079, 5037, 8968, 4348, 16, 1171, 9079, 514, 1241, 461, 16, 1525, 1241, 1225, 16, 1171, 9079, 2167, 1241, 1626, 16, 1250, 10126, 13, 1171, 9079, 1216, 1860, 288, 3639, 2608, 812, 12, 14084, 16, 1705, 42, 16, 1577, 16, 8968, 4348, 16, 10792, 1241, 461, 16, 1241, 1225, 16, 1241, 1626, 16, 10126, 16, 10792, 446, 16, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2608, 812, 12, 812, 1989, 585, 1989, 16, 1387, 1705, 42, 16, 1387, 1577, 16, 1171, 9079, 5037, 8968, 4348, 16, 1171, 9079, 514, 1241, 461, 16, 1525, 1241, 1225, 16, 1171, 9079, 2167, 1241, 1626, 16, 1250, 10126, 13, 1171, 9079, 1216, 1860, 288, 3639, 2608, 812, 12, 14084, 16, 1705, 42, 16, 1577, 16, 8968, 4348, 16, 10792, 1241, 461, 16, 1241, 1225, 16, 1241, 1626, 16, 10126, 16, 10792, 446, 16, 446, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new ColumnSpec[] { FormFactory.GLUE_COLSPEC, FormFactory.BUTTON_COLSPEC }, RowSpec.decodeSpecs("pref")));
new ColumnSpec[] { FormFactory.GLUE_COLSPEC, FormFactory.BUTTON_COLSPEC }, RowSpec.decodeSpecs("pref")));
private void initComponents() { // JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents dialogPane = new JPanel(); contentPane = new JPanel(); tabbedPane1 = new JTabbedPane(); tabGeneral = new JPanel(); label2 = new JLabel(); label5 = new JLabel(); lafCombo = new JComboBox(); startupActionCombo = new JComboBox(); label24 = new JLabel(); dotToolPathField = new JTextField(); browseDotToolPathButton = new JButton(); tabEditor = new JPanel(); label3 = new JLabel(); editorFontCombo = new JComboBox(); editorFontSizeSpinner = new JSpinner(); autoSaveButton = new JCheckBox(); autoSaveDelayField = new JTextField(); label11 = new JLabel(); highlightCursorLineButton = new JCheckBox(); smoothScrollingButton = new JCheckBox(); foldingButton = new JCheckBox(); actionsFoldingAnchorsButton = new JCheckBox(); label1 = new JLabel(); tabWidthField = new JTextField(); label22 = new JLabel(); parserDelayField = new JTextField(); label23 = new JLabel(); tabCompiler = new JPanel(); jikesRadio = new JRadioButton(); integratedRadio = new JRadioButton(); javacRadio = new JRadioButton(); javacCustomPathButton = new JCheckBox(); javacPathField = new JTextField(); browseJavacPath = new JButton(); label4 = new JLabel(); jikesPathField = new JTextField(); browseJikesPath = new JButton(); tabDebugger = new JPanel(); label12 = new JLabel(); nonConsumedTokenColor = new JComboBox(); label13 = new JLabel(); consumedTokenColor = new JComboBox(); label14 = new JLabel(); hiddenTokenColor = new JComboBox(); label15 = new JLabel(); deadTokenColor = new JComboBox(); label16 = new JLabel(); lookaheadTokenColor = new JComboBox(); tabSCM = new JPanel(); enablePerforceCheckBox = new JCheckBox(); label18 = new JLabel(); p4PortField = new JTextField(); label19 = new JLabel(); p4UserField = new JTextField(); label21 = new JLabel(); p4PasswordField = new JPasswordField(); label20 = new JLabel(); p4ClientField = new JTextField(); label17 = new JLabel(); p4ExecPathField = new JTextField(); tabStats = new JPanel(); reportTypeCombo = new JComboBox(); label6 = new JLabel(); label8 = new JLabel(); label9 = new JLabel(); tabUpdates = new JPanel(); label7 = new JLabel(); updateTypeCombo = new JComboBox(); checkForUpdatesButton = new JButton(); label10 = new JLabel(); downloadPathField = new JTextField(); browseUpdateDownloadPathButton = new JButton(); buttonBar = new JPanel(); applyButton = new JButton(); CellConstraints cc = new CellConstraints(); //======== this ======== setTitle("Preferences"); Container contentPane2 = getContentPane(); contentPane2.setLayout(new BorderLayout()); //======== dialogPane ======== { dialogPane.setBorder(Borders.DIALOG_BORDER); dialogPane.setMinimumSize(new Dimension(540, 350)); dialogPane.setPreferredSize(new Dimension(600, 380)); dialogPane.setLayout(new BorderLayout()); //======== contentPane ======== { contentPane.setLayout(new FormLayout( "default, default:grow", "fill:default:grow")); //======== tabbedPane1 ======== { //======== tabGeneral ======== { tabGeneral.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.RIGHT, Sizes.DEFAULT, FormSpec.NO_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec("max(min;20dlu)"), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec("max(min;40dlu)"), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC })); //---- label2 ---- label2.setText("At startup:"); tabGeneral.add(label2, cc.xy(3, 3)); //---- label5 ---- label5.setText("Look and feel:"); tabGeneral.add(label5, cc.xy(3, 5)); tabGeneral.add(lafCombo, cc.xywh(5, 5, 3, 1)); //---- startupActionCombo ---- startupActionCombo.setModel(new DefaultComboBoxModel(new String[] { "Create a new document", "Open the last used document" })); tabGeneral.add(startupActionCombo, cc.xywh(5, 3, 3, 1)); //---- label24 ---- label24.setText("DOT path:"); tabGeneral.add(label24, cc.xy(3, 7)); //---- dotToolPathField ---- dotToolPathField.setToolTipText("Absolute path to the DOT command-line tool"); tabGeneral.add(dotToolPathField, cc.xywh(5, 7, 3, 1)); //---- browseDotToolPathButton ---- browseDotToolPathButton.setText("Browse..."); tabGeneral.add(browseDotToolPathButton, cc.xy(9, 7)); } tabbedPane1.addTab("General", tabGeneral); //======== tabEditor ======== { tabEditor.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.RIGHT, Sizes.DEFAULT, FormSpec.NO_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(20)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec("max(default;45dlu)"), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(20)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(30)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, new RowSpec(Sizes.dluY(10)) })); //---- label3 ---- label3.setText("Font:"); tabEditor.add(label3, cc.xy(3, 3)); //---- editorFontCombo ---- editorFontCombo.setActionCommand("editorFontCombo"); tabEditor.add(editorFontCombo, cc.xywh(5, 3, 5, 1)); //---- editorFontSizeSpinner ---- editorFontSizeSpinner.setModel(new SpinnerNumberModel(new Integer(12), new Integer(8), null, new Integer(1))); tabEditor.add(editorFontSizeSpinner, cc.xy(11, 3)); //---- autoSaveButton ---- autoSaveButton.setText("Auto-save every"); tabEditor.add(autoSaveButton, cc.xywh(5, 5, 3, 1)); tabEditor.add(autoSaveDelayField, cc.xy(9, 5)); //---- label11 ---- label11.setText("minutes"); tabEditor.add(label11, cc.xy(11, 5)); //---- highlightCursorLineButton ---- highlightCursorLineButton.setText("Highlight cursor line"); tabEditor.add(highlightCursorLineButton, cc.xywh(5, 7, 5, 1)); //---- smoothScrollingButton ---- smoothScrollingButton.setText("Smooth scrolling"); tabEditor.add(smoothScrollingButton, cc.xywh(5, 9, 3, 1)); //---- foldingButton ---- foldingButton.setText("Enable folding"); tabEditor.add(foldingButton, cc.xywh(5, 11, 3, 1)); //---- actionsFoldingAnchorsButton ---- actionsFoldingAnchorsButton.setText("Display actions anchors"); tabEditor.add(actionsFoldingAnchorsButton, cc.xy(7, 13)); //---- label1 ---- label1.setHorizontalAlignment(SwingConstants.RIGHT); label1.setText("Tab width:"); tabEditor.add(label1, cc.xy(3, 15)); //---- tabWidthField ---- tabWidthField.setText("8"); tabEditor.add(tabWidthField, cc.xy(5, 15)); //---- label22 ---- label22.setText("Parser delay:"); tabEditor.add(label22, cc.xy(3, 17)); //---- parserDelayField ---- parserDelayField.setText("250"); tabEditor.add(parserDelayField, cc.xy(5, 17)); //---- label23 ---- label23.setText("ms"); tabEditor.add(label23, cc.xy(7, 17)); } tabbedPane1.addTab("Editor", tabEditor); //======== tabCompiler ======== { tabCompiler.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(20)), FormFactory.DEFAULT_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.DEFAULT_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC })); //---- jikesRadio ---- jikesRadio.setText("jikes"); tabCompiler.add(jikesRadio, cc.xywh(3, 7, 2, 1)); //---- integratedRadio ---- integratedRadio.setActionCommand("integrated"); integratedRadio.setText("com.sun.tools.javac"); tabCompiler.add(integratedRadio, cc.xywh(3, 11, 3, 1)); //---- javacRadio ---- javacRadio.setSelected(true); javacRadio.setText("javac"); tabCompiler.add(javacRadio, cc.xywh(3, 3, 2, 1)); //---- javacCustomPathButton ---- javacCustomPathButton.setText("Path:"); javacCustomPathButton.setToolTipText("Check to specify a custom path if the default system path doesn't include javac"); tabCompiler.add(javacCustomPathButton, cc.xy(4, 5)); tabCompiler.add(javacPathField, cc.xy(5, 5)); //---- browseJavacPath ---- browseJavacPath.setText("Browse..."); tabCompiler.add(browseJavacPath, cc.xy(6, 5)); //---- label4 ---- label4.setText("Path:"); tabCompiler.add(label4, cc.xywh(4, 9, 1, 1, CellConstraints.RIGHT, CellConstraints.DEFAULT)); tabCompiler.add(jikesPathField, cc.xy(5, 9)); //---- browseJikesPath ---- browseJikesPath.setText("Browse..."); tabCompiler.add(browseJikesPath, cc.xy(6, 9)); } tabbedPane1.addTab("Compiler", tabCompiler); //======== tabDebugger ======== { tabDebugger.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC })); //---- label12 ---- label12.setHorizontalAlignment(SwingConstants.RIGHT); label12.setText("Non-consumed token:"); tabDebugger.add(label12, cc.xy(3, 3)); //---- nonConsumedTokenColor ---- nonConsumedTokenColor.setModel(new DefaultComboBoxModel(new String[] { "Black", "Blue", "Cyan" })); tabDebugger.add(nonConsumedTokenColor, cc.xy(5, 3)); //---- label13 ---- label13.setHorizontalAlignment(SwingConstants.RIGHT); label13.setText("Consumed token:"); tabDebugger.add(label13, cc.xy(3, 5)); tabDebugger.add(consumedTokenColor, cc.xy(5, 5)); //---- label14 ---- label14.setHorizontalAlignment(SwingConstants.RIGHT); label14.setText("Hidden token:"); tabDebugger.add(label14, cc.xy(3, 7)); tabDebugger.add(hiddenTokenColor, cc.xy(5, 7)); //---- label15 ---- label15.setHorizontalAlignment(SwingConstants.RIGHT); label15.setText("Dead token:"); tabDebugger.add(label15, cc.xy(3, 9)); tabDebugger.add(deadTokenColor, cc.xy(5, 9)); //---- label16 ---- label16.setHorizontalAlignment(SwingConstants.RIGHT); label16.setText("Lookahead token:"); tabDebugger.add(label16, cc.xy(3, 11)); tabDebugger.add(lookaheadTokenColor, cc.xy(5, 11)); } tabbedPane1.addTab("Debugger", tabDebugger); //======== tabSCM ======== { tabSCM.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.RIGHT, Sizes.DEFAULT, FormSpec.NO_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, new RowSpec(Sizes.DLUY5), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, new RowSpec(Sizes.DLUY5), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, new RowSpec(Sizes.dluY(10)) })); //---- enablePerforceCheckBox ---- enablePerforceCheckBox.setText("Enable Perforce"); tabSCM.add(enablePerforceCheckBox, cc.xy(5, 3)); //---- label18 ---- label18.setText("Port:"); tabSCM.add(label18, cc.xy(3, 7)); tabSCM.add(p4PortField, cc.xy(5, 7)); //---- label19 ---- label19.setText("User:"); tabSCM.add(label19, cc.xy(3, 9)); tabSCM.add(p4UserField, cc.xy(5, 9)); //---- label21 ---- label21.setText("Password:"); tabSCM.add(label21, cc.xy(3, 11)); tabSCM.add(p4PasswordField, cc.xy(5, 11)); //---- label20 ---- label20.setText("Client:"); tabSCM.add(label20, cc.xy(3, 13)); tabSCM.add(p4ClientField, cc.xy(5, 13)); //---- label17 ---- label17.setText("P4 executable path:"); tabSCM.add(label17, cc.xy(3, 17)); tabSCM.add(p4ExecPathField, cc.xy(5, 17)); } tabbedPane1.addTab("SCM", tabSCM); //======== tabStats ======== { tabStats.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, new RowSpec(RowSpec.TOP, Sizes.DLUY6, FormSpec.NO_GROW), FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC })); //---- reportTypeCombo ---- reportTypeCombo.setModel(new DefaultComboBoxModel(new String[] { "Manually", "Remind me automatically each week" })); tabStats.add(reportTypeCombo, cc.xywh(3, 5, 3, 1)); //---- label6 ---- label6.setText("Submit reports:"); tabStats.add(label6, cc.xy(3, 3)); //---- label8 ---- label8.setFont(new Font("Lucida Grande", Font.ITALIC, 13)); label8.setText("No personal or confidential information is sent."); tabStats.add(label8, cc.xywh(3, 9, 3, 1)); //---- label9 ---- label9.setFont(new Font("Lucida Grande", Font.ITALIC, 13)); label9.setText("Each report is displayed in human readable form before being sent."); tabStats.add(label9, cc.xywh(3, 11, 3, 1)); } tabbedPane1.addTab("Statistics", tabStats); //======== tabUpdates ======== { tabUpdates.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC })); //---- label7 ---- label7.setHorizontalAlignment(SwingConstants.LEFT); label7.setText("Check for ANTLRWorks updates:"); tabUpdates.add(label7, cc.xy(3, 3)); //---- updateTypeCombo ---- updateTypeCombo.setModel(new DefaultComboBoxModel(new String[] { "Manually", "At startup", "Daily", "Weekly" })); tabUpdates.add(updateTypeCombo, cc.xywh(3, 5, 4, 1)); //---- checkForUpdatesButton ---- checkForUpdatesButton.setText("Check Now"); tabUpdates.add(checkForUpdatesButton, cc.xy(7, 5)); //---- label10 ---- label10.setHorizontalAlignment(SwingConstants.LEFT); label10.setText("Download path:"); tabUpdates.add(label10, cc.xy(3, 9)); tabUpdates.add(downloadPathField, cc.xywh(3, 11, 3, 1)); //---- browseUpdateDownloadPathButton ---- browseUpdateDownloadPathButton.setActionCommand("Browse"); browseUpdateDownloadPathButton.setText("Browse..."); tabUpdates.add(browseUpdateDownloadPathButton, cc.xy(7, 11)); } tabbedPane1.addTab("Updates", tabUpdates); } contentPane.add(tabbedPane1, cc.xywh(1, 1, 2, 1)); } dialogPane.add(contentPane, BorderLayout.CENTER); //======== buttonBar ======== { buttonBar.setBorder(Borders.BUTTON_BAR_GAP_BORDER); buttonBar.setLayout(new FormLayout( new ColumnSpec[] { FormFactory.GLUE_COLSPEC, FormFactory.BUTTON_COLSPEC }, RowSpec.decodeSpecs("pref"))); //---- applyButton ---- applyButton.setText("Apply"); buttonBar.add(applyButton, cc.xy(2, 1)); } dialogPane.add(buttonBar, BorderLayout.SOUTH); } contentPane2.add(dialogPane, BorderLayout.CENTER); // JFormDesigner - End of component initialization //GEN-END:initComponents }
4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/21f189efd0dc560976d5ee501836c5849800a38c/AWPrefsDialog.java/clean/src/org/antlr/works/prefs/AWPrefsDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 368, 804, 1204, 15478, 264, 300, 5435, 10313, 300, 5467, 4269, 8663, 12096, 225, 368, 16652, 17, 16061, 30, 2738, 7171, 3639, 6176, 8485, 273, 394, 24048, 5621, 3639, 913, 8485, 273, 394, 24048, 5621, 3639, 3246, 2992, 8485, 21, 273, 394, 804, 5661, 2992, 8485, 5621, 3639, 3246, 12580, 273, 394, 24048, 5621, 3639, 1433, 22, 273, 394, 21403, 5621, 3639, 1433, 25, 273, 394, 21403, 5621, 3639, 328, 1727, 16156, 273, 394, 804, 22199, 5621, 3639, 11850, 1803, 16156, 273, 394, 804, 22199, 5621, 3639, 1433, 3247, 273, 394, 21403, 5621, 3639, 3928, 6364, 743, 974, 273, 394, 804, 16157, 5621, 3639, 21670, 10412, 6364, 743, 3616, 273, 394, 28804, 5621, 3639, 3246, 6946, 273, 394, 24048, 5621, 3639, 1433, 23, 273, 394, 21403, 5621, 3639, 4858, 5711, 16156, 273, 394, 804, 22199, 5621, 3639, 4858, 22688, 31676, 273, 394, 804, 31676, 5621, 3639, 3656, 4755, 3616, 273, 394, 804, 19174, 5621, 3639, 3656, 4755, 6763, 974, 273, 394, 804, 16157, 5621, 3639, 1433, 2499, 273, 394, 21403, 5621, 3639, 8839, 6688, 1670, 3616, 273, 394, 804, 19174, 5621, 3639, 11957, 1541, 15742, 3616, 273, 394, 804, 19174, 5621, 3639, 11590, 310, 3616, 273, 394, 804, 19174, 5621, 3639, 4209, 15592, 310, 979, 15482, 3616, 273, 394, 804, 19174, 5621, 3639, 1433, 21, 273, 394, 21403, 5621, 3639, 3246, 2384, 974, 273, 394, 804, 16157, 5621, 3639, 1433, 3787, 273, 394, 21403, 5621, 3639, 2082, 6763, 974, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 368, 804, 1204, 15478, 264, 300, 5435, 10313, 300, 5467, 4269, 8663, 12096, 225, 368, 16652, 17, 16061, 30, 2738, 7171, 3639, 6176, 8485, 273, 394, 24048, 5621, 3639, 913, 8485, 273, 394, 24048, 5621, 3639, 3246, 2992, 8485, 21, 273, 394, 804, 5661, 2992, 8485, 5621, 3639, 3246, 12580, 273, 394, 24048, 5621, 3639, 1433, 22, 273, 394, 21403, 5621, 3639, 1433, 25, 273, 394, 21403, 5621, 3639, 328, 1727, 16156, 273, 394, 804, 22199, 5621, 3639, 11850, 1803, 16156, 273, 394, 804, 22199, 5621, 3639, 1433, 3247, 273, 394, 21403, 5621, 3639, 3928, 6364, 743, 974, 273, 394, 804, 16157, 5621, 3639, 21670, 10412, 6364, 743, 3616, 273, 394, 2 ]
super.handleSelectionChanged();
protected void handleSelectionChanged() { super.handleSelectionChanged(); handleUpperSelectionChanged(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/597a28ca2cc3744b624c7db48610f11650d3c7ab/TwoPaneElementSelector.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/TwoPaneElementSelector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1640, 6233, 5033, 1435, 288, 202, 202, 9565, 18, 4110, 6233, 5033, 5621, 202, 202, 4110, 5988, 6233, 5033, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1117, 918, 1640, 6233, 5033, 1435, 288, 202, 202, 9565, 18, 4110, 6233, 5033, 5621, 202, 202, 4110, 5988, 6233, 5033, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ze.setTime(fromDosTime(new ZipLong(cfh, off)).getTime());
long time = dosToJavaTime(ZipLong.getValue(cfh, off)); ze.setTime(time);
private void populateFromCentralDirectory() throws IOException { positionAtCentralDirectory(); byte[] cfh = new byte[CFH_LEN]; byte[] signatureBytes = new byte[4]; archive.readFully(signatureBytes); ZipLong sig = new ZipLong(signatureBytes); while (sig.equals(ZipOutputStream.CFH_SIG)) { archive.readFully(cfh); int off = 0; ZipEntry ze = new ZipEntry(); ZipShort versionMadeBy = new ZipShort(cfh, off); off += 2; ze.setPlatform((versionMadeBy.getValue() >> 8) & 0x0F); off += 4; // skip version info and general purpose byte ze.setMethod((new ZipShort(cfh, off)).getValue()); off += 2; ze.setTime(fromDosTime(new ZipLong(cfh, off)).getTime()); off += 4; ze.setCrc((new ZipLong(cfh, off)).getValue()); off += 4; ze.setCompressedSize((new ZipLong(cfh, off)).getValue()); off += 4; ze.setSize((new ZipLong(cfh, off)).getValue()); off += 4; int fileNameLen = (new ZipShort(cfh, off)).getValue(); off += 2; int extraLen = (new ZipShort(cfh, off)).getValue(); off += 2; int commentLen = (new ZipShort(cfh, off)).getValue(); off += 2; off += 2; // disk number ze.setInternalAttributes((new ZipShort(cfh, off)).getValue()); off += 2; ze.setExternalAttributes((new ZipLong(cfh, off)).getValue()); off += 4; // LFH offset entries.put(ze, new Long((new ZipLong(cfh, off)).getValue())); byte[] fileName = new byte[fileNameLen]; archive.readFully(fileName); ze.setName(getString(fileName)); nameMap.put(ze.getName(), ze); archive.skipBytes(extraLen); byte[] comment = new byte[commentLen]; archive.readFully(comment); ze.setComment(getString(comment)); archive.readFully(signatureBytes); sig = new ZipLong(signatureBytes); } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/a05d1f12196d34b23d4ab80c3598f6fb63410ac5/ZipFile.java/clean/src/main/org/apache/tools/zip/ZipFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 6490, 1265, 39, 12839, 2853, 1435, 3639, 1216, 1860, 288, 3639, 1754, 861, 39, 12839, 2853, 5621, 3639, 1160, 8526, 6080, 76, 273, 394, 1160, 63, 8955, 44, 67, 13017, 15533, 3639, 1160, 8526, 3372, 2160, 273, 394, 1160, 63, 24, 15533, 3639, 5052, 18, 896, 16999, 12, 8195, 2160, 1769, 3639, 8603, 3708, 3553, 273, 394, 8603, 3708, 12, 8195, 2160, 1769, 3639, 1323, 261, 7340, 18, 14963, 12, 9141, 4632, 18, 8955, 44, 67, 18513, 3719, 288, 5411, 5052, 18, 896, 16999, 12, 8522, 76, 1769, 5411, 509, 3397, 273, 374, 31, 5411, 23652, 26637, 273, 394, 23652, 5621, 5411, 8603, 4897, 1177, 49, 2486, 858, 273, 394, 8603, 4897, 12, 8522, 76, 16, 3397, 1769, 5411, 3397, 1011, 576, 31, 5411, 26637, 18, 542, 8201, 12443, 1589, 49, 2486, 858, 18, 24805, 1435, 1671, 1725, 13, 473, 374, 92, 20, 42, 1769, 5411, 3397, 1011, 1059, 31, 368, 2488, 1177, 1123, 471, 7470, 13115, 1160, 5411, 26637, 18, 542, 1305, 12443, 2704, 8603, 4897, 12, 8522, 76, 16, 3397, 13, 2934, 24805, 10663, 5411, 3397, 1011, 576, 31, 9079, 1525, 813, 273, 16153, 774, 5852, 950, 12, 9141, 3708, 18, 24805, 12, 8522, 76, 16, 3397, 10019, 26637, 18, 542, 950, 12, 957, 1769, 5411, 3397, 1011, 1059, 31, 5411, 26637, 18, 542, 39, 1310, 12443, 2704, 8603, 3708, 12, 8522, 76, 16, 3397, 13, 2934, 24805, 10663, 5411, 3397, 1011, 1059, 31, 5411, 26637, 18, 542, 16841, 1225, 12443, 2704, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 6490, 1265, 39, 12839, 2853, 1435, 3639, 1216, 1860, 288, 3639, 1754, 861, 39, 12839, 2853, 5621, 3639, 1160, 8526, 6080, 76, 273, 394, 1160, 63, 8955, 44, 67, 13017, 15533, 3639, 1160, 8526, 3372, 2160, 273, 394, 1160, 63, 24, 15533, 3639, 5052, 18, 896, 16999, 12, 8195, 2160, 1769, 3639, 8603, 3708, 3553, 273, 394, 8603, 3708, 12, 8195, 2160, 1769, 3639, 1323, 261, 7340, 18, 14963, 12, 9141, 4632, 18, 8955, 44, 67, 18513, 3719, 288, 5411, 5052, 18, 896, 16999, 12, 8522, 76, 1769, 5411, 509, 3397, 273, 374, 31, 5411, 23652, 26637, 273, 394, 23652, 5621, 5411, 8603, 4897, 1177, 49, 2486, 858, 273, 394, 8603, 4897, 12, 8522, 76, 16, 2 ]
String parentPath = res.getParentPath();
public void processAction(ActionEvent arg0) throws AbortProcessingException { HtmlCommandButton source = (HtmlCommandButton) arg0.getSource(); String path = (String) source.getAttributes().get(PARAMETER_PATH); String action = (String) source.getAttributes().get(ACTION); if (ACTION_YES.equals(action)) { WebdavExtendedResource res = super.getWebdavExentededResource(path);// String parentPath = res.getParentPath(); Boolean wasFolder = new Boolean(res.isCollection()); Boolean deleted = null; try { super.refreshList(); WFUtil.invoke("WebDAVListBean", "setWebDAVPath", path.replaceFirst(getIWSlideSession().getWebdavServerURI(), "")); WFUtil.invoke("WebDAVListBean","setClickedFilePath", null, String.class); res.deleteMethod(); deleted = new Boolean(true); } catch (HttpException e) { deleted = new Boolean(false); e.printStackTrace(); } catch (IOException e) { deleted = new Boolean(false); e.printStackTrace(); } catch (Exception e) { deleted = new Boolean(false); e.printStackTrace(); } WFUtil.invoke("webdavdocumentdeleterbean", "setDeleted", deleted, Boolean.class); WFUtil.invoke("webdavdocumentdeleterbean", "setWasFolder", wasFolder, Boolean.class); } }
10078 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10078/0e4d51c6a583b5ac5cba70e8f027b54a492553f9/WebDAVDocumentDeleter.java/clean/src/java/com/idega/content/presentation/WebDAVDocumentDeleter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 918, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1207, 1803, 12, 1803, 1133, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1501, 20, 13, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1216, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 14263, 23684, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 288, 202, 202, 4353, 2189, 3616, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1084, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 273, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 261, 4353, 2189, 3616, 13, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1501, 20, 18, 588, 1830, 5621, 202, 202, 780, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 29307, 17743, 273, 400, 18, 588, 3054, 743, 5621, 273, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 261, 780, 13, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1084, 18, 588, 2498, 7675, 588, 12, 9819, 67, 4211, 1769, 202, 202, 780, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1301, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 273, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 261, 780, 13, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1084, 18, 588, 2498, 7675, 588, 12, 12249, 1769, 9506, 202, 430, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 261, 12249, 67, 29081, 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, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 918, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1207, 1803, 12, 1803, 1133, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1501, 20, 13, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1216, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 14263, 23684, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 288, 202, 202, 4353, 2189, 3616, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1084, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 273, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 261, 4353, 2189, 3616, 13, 780, 17743, 273, 400, 18, 588, 3054, 743, 5621, 1501, 2 ]
return dataSet.getHandle( design );
assert dataSet instanceof DataSet; return (DataSetHandle) dataSet.getHandle( design );
public DesignElementHandle getDataSet( ) { DesignElement dataSet = ( (ReportItem) getElement( ) ) .getDataSetElement( design ); if ( dataSet == null ) return null; return dataSet.getHandle( design ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e0224f2e49f26903193344cfb1f5433c5de070f0/ReportItemHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ReportItemHandle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 29703, 1046, 3259, 4303, 694, 12, 262, 202, 95, 202, 202, 15478, 1046, 14837, 273, 261, 261, 4820, 1180, 13, 7426, 12, 262, 262, 9506, 202, 18, 588, 13676, 1046, 12, 8281, 11272, 202, 202, 430, 261, 14837, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 2463, 14837, 18, 588, 3259, 12, 8281, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 29703, 1046, 3259, 4303, 694, 12, 262, 202, 95, 202, 202, 15478, 1046, 14837, 273, 261, 261, 4820, 1180, 13, 7426, 12, 262, 262, 9506, 202, 18, 588, 13676, 1046, 12, 8281, 11272, 202, 202, 430, 261, 14837, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 2463, 14837, 18, 588, 3259, 12, 8281, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
d = d >= 0
d = d >= 0
public static char toUint16(Object val) { long int16 = 0x10000; double d = toNumber(val); if (d != d || d == 0.0 || d == Double.POSITIVE_INFINITY || d == Double.NEGATIVE_INFINITY) { return 0; } d = Math.IEEEremainder(d, int16); d = d >= 0 ? d : d + int16; return (char) Math.floor(d); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/a73c6e75ae2fab8328356d16318be7fab782905c/ScriptRuntime.java/buggy/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1149, 358, 5487, 2313, 12, 921, 1244, 13, 288, 202, 5748, 509, 2313, 273, 374, 92, 23899, 31, 202, 9056, 302, 273, 358, 1854, 12, 1125, 1769, 202, 430, 261, 72, 480, 302, 747, 302, 422, 374, 18, 20, 747, 202, 565, 302, 422, 3698, 18, 7057, 16325, 67, 17716, 747, 202, 565, 302, 422, 3698, 18, 5407, 22421, 67, 17716, 13, 202, 95, 202, 565, 327, 374, 31, 202, 97, 202, 72, 273, 2361, 18, 8732, 9383, 2764, 25407, 12, 72, 16, 509, 2313, 1769, 202, 72, 273, 302, 1545, 374, 5411, 692, 302, 202, 565, 294, 302, 397, 509, 2313, 31, 202, 2463, 261, 3001, 13, 2361, 18, 74, 5807, 12, 72, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1149, 358, 5487, 2313, 12, 921, 1244, 13, 288, 202, 5748, 509, 2313, 273, 374, 92, 23899, 31, 202, 9056, 302, 273, 358, 1854, 12, 1125, 1769, 202, 430, 261, 72, 480, 302, 747, 302, 422, 374, 18, 20, 747, 202, 565, 302, 422, 3698, 18, 7057, 16325, 67, 17716, 747, 202, 565, 302, 422, 3698, 18, 5407, 22421, 67, 17716, 13, 202, 95, 202, 565, 327, 374, 31, 202, 97, 202, 72, 273, 2361, 18, 8732, 9383, 2764, 25407, 12, 72, 16, 509, 2313, 1769, 202, 72, 273, 302, 1545, 374, 5411, 692, 302, 202, 565, 294, 302, 397, 509, 2313, 31, 202, 2463, 261, 3001, 13, 2361, 18, 74, 5807, 12, 72, 1769, 565, 2 ]
ORB anOrb )
ORB anOrb )
public gnuDynEnum(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { super(oType, aType, aFactory, anOrb); try { values = new String[ final_type.member_count() ]; for (int i = 0; i < values.length; i++) { values [ i ] = final_type.member_name(i); } } catch (Exception e) { throw new BAD_PARAM("Not enum"); } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/d03b7ded9dacd5a74a8420d7dade451079b17d89/gnuDynEnum.java/clean/libraries/javalib/gnu/CORBA/DynAn/gnuDynEnum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 314, 13053, 10419, 3572, 12, 15460, 320, 559, 16, 30332, 279, 559, 16, 314, 13053, 10419, 2961, 1733, 279, 1733, 16, 10792, 4869, 38, 392, 1162, 70, 10402, 262, 225, 288, 565, 2240, 12, 83, 559, 16, 279, 559, 16, 279, 1733, 16, 392, 1162, 70, 1769, 565, 775, 1377, 288, 3639, 924, 273, 394, 514, 63, 727, 67, 723, 18, 5990, 67, 1883, 1435, 308, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 924, 18, 2469, 31, 277, 27245, 1850, 288, 5411, 924, 306, 277, 308, 273, 727, 67, 723, 18, 5990, 67, 529, 12, 77, 1769, 1850, 289, 1377, 289, 565, 1044, 261, 503, 425, 13, 1377, 288, 3639, 604, 394, 16467, 67, 8388, 2932, 1248, 2792, 8863, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 314, 13053, 10419, 3572, 12, 15460, 320, 559, 16, 30332, 279, 559, 16, 314, 13053, 10419, 2961, 1733, 279, 1733, 16, 10792, 4869, 38, 392, 1162, 70, 10402, 262, 225, 288, 565, 2240, 12, 83, 559, 16, 279, 559, 16, 279, 1733, 16, 392, 1162, 70, 1769, 565, 775, 1377, 288, 3639, 924, 273, 394, 514, 63, 727, 67, 723, 18, 5990, 67, 1883, 1435, 308, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 924, 18, 2469, 31, 277, 27245, 1850, 288, 5411, 924, 306, 277, 308, 273, 727, 67, 723, 18, 5990, 67, 529, 12, 77, 1769, 1850, 289, 1377, 289, 565, 1044, 261, 503, 425, 13, 1377, 288, 3639, 604, 394, 16467, 2 ]
return makeKey(host, port, transport);
return makeKey(this.getIPAddress(), port, transport);
protected String getKey() { return makeKey(host, port, transport); }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/ListeningPointImpl.java/clean/trunk/src/gov/nist/javax/sip/ListeningPointImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 3579, 1435, 288, 202, 202, 2463, 1221, 653, 12, 2564, 16, 1756, 16, 4736, 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, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 3579, 1435, 288, 202, 202, 2463, 1221, 653, 12, 2564, 16, 1756, 16, 4736, 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, -100, -100, -100, -100, -100 ]
digest.update( data );
InputStream in = null; try { in = new BufferedInputStream( new FileInputStream( artifactFile ) ); byte[] buffer = new byte[16]; int read = -1; while ( ( read = in.read( buffer ) ) > -1 ) { digest.update(buffer, 0, read); } } catch ( IOException e ) { throw new ArtifactDigestException( "Error reading artifact data from: \'" + artifactFile + "\'", e ); } finally { IOUtil.close( in ); }
private byte[] generateArtifactDigest( File artifactFile, String algorithm ) throws ArtifactDigestException { byte[] data = null; try { data = readFile( artifactFile ); } catch ( IOException e ) { throw new ArtifactDigestException( "Error reading artifact data from: \'" + artifactFile + "\'", e ); } MessageDigest digest = null; try { digest = MessageDigest.getInstance( algorithm ); } catch ( NoSuchAlgorithmException e ) { throw new ArtifactDigestException( "Cannot load digest algoritm provider.", e ); } digest.update( data ); return digest.digest(); }
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/dc92832ad28e92b0369b5061d9844010f2524302/ArtifactDigestor.java/buggy/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/digest/ArtifactDigestor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1160, 8526, 2103, 7581, 9568, 12, 1387, 6462, 812, 16, 514, 4886, 262, 1216, 14022, 9568, 503, 565, 288, 3639, 1160, 8526, 501, 273, 446, 31, 3639, 775, 3639, 288, 5411, 501, 273, 10413, 12, 6462, 812, 11272, 3639, 289, 3639, 1044, 261, 1860, 425, 262, 3639, 288, 5411, 604, 394, 14022, 9568, 503, 12, 315, 668, 6453, 6462, 501, 628, 30, 521, 4970, 397, 6462, 812, 397, 1548, 11, 3113, 425, 11272, 3639, 289, 3639, 22485, 5403, 273, 446, 31, 3639, 775, 3639, 288, 5411, 5403, 273, 22485, 18, 588, 1442, 12, 4886, 11272, 3639, 289, 3639, 1044, 261, 17684, 425, 262, 3639, 288, 5411, 604, 394, 14022, 9568, 503, 12, 315, 4515, 1262, 5403, 524, 3022, 305, 81, 2893, 1199, 16, 425, 11272, 3639, 289, 3639, 5037, 316, 273, 446, 31, 775, 288, 316, 273, 394, 24742, 12, 394, 11907, 12, 6462, 812, 262, 11272, 225, 1160, 8526, 1613, 273, 394, 1160, 63, 2313, 15533, 509, 855, 273, 300, 21, 31, 1323, 261, 261, 855, 273, 316, 18, 896, 12, 1613, 262, 262, 405, 300, 21, 262, 288, 5403, 18, 2725, 12, 4106, 16, 374, 16, 855, 1769, 289, 289, 1044, 261, 1860, 425, 262, 288, 604, 394, 14022, 9568, 503, 12, 315, 668, 6453, 6462, 501, 628, 30, 521, 4970, 397, 6462, 812, 397, 1548, 11, 3113, 425, 11272, 289, 3095, 288, 1665, 1304, 18, 4412, 12, 316, 11272, 289, 7734, 327, 5403, 18, 10171, 5621, 565, 289, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1160, 8526, 2103, 7581, 9568, 12, 1387, 6462, 812, 16, 514, 4886, 262, 1216, 14022, 9568, 503, 565, 288, 3639, 1160, 8526, 501, 273, 446, 31, 3639, 775, 3639, 288, 5411, 501, 273, 10413, 12, 6462, 812, 11272, 3639, 289, 3639, 1044, 261, 1860, 425, 262, 3639, 288, 5411, 604, 394, 14022, 9568, 503, 12, 315, 668, 6453, 6462, 501, 628, 30, 521, 4970, 397, 6462, 812, 397, 1548, 11, 3113, 425, 11272, 3639, 289, 3639, 22485, 5403, 273, 446, 31, 3639, 775, 3639, 288, 5411, 5403, 273, 22485, 18, 588, 1442, 12, 4886, 11272, 3639, 289, 3639, 1044, 261, 17684, 425, 262, 3639, 288, 5411, 604, 394, 14022, 9568, 503, 12, 315, 4515, 1262, 5403, 524, 2 ]
public static int getBaselineOffset( Context c, LineBox curr_line, InlineBox new_inline, int blockLineHeight, LineMetrics blockLineMetrics ) {
public static int getBaselineOffset(Context c, LineBox curr_line, InlineBox new_inline, int blockLineHeight, LineMetrics blockLineMetrics) {
public static int getBaselineOffset( Context c, LineBox curr_line, InlineBox new_inline, int blockLineHeight, LineMetrics blockLineMetrics ) { int lineHeight; int ascent; int descent; int baselineOffset; if ( new_inline instanceof InlineTextBox ) { // should be the metrics of the font, actually is the metrics of the text LineMetrics metrics = FontUtil.getLineMetrics( c, new_inline ); lineHeight = FontUtil.lineHeight( c );//assume that current context is valid for new_inline ascent = (int)metrics.getAscent(); descent = (int)metrics.getDescent(); } else { lineHeight = new_inline.height; ascent = lineHeight; descent = 0; } IdentValue vertical_align = c.getCurrentStyle().getIdent( CSSName.VERTICAL_ALIGN ); if ( vertical_align == IdentValue.BASELINE ) { baselineOffset = 0; } else if ( vertical_align == IdentValue.SUPER ) { // works okay i think baselineOffset = (int)( -blockLineMetrics.getStrikethroughOffset() * 2.0 );//up is negative in Java! //XRLog.render("baseline offset for super "+baselineOffset); } else if ( vertical_align == IdentValue.SUB ) { // works okay i think baselineOffset = (int)blockLineMetrics.getStrikethroughOffset();//up is negative in Java! //XRLog.render("baseline offset for sub "+baselineOffset); } else if ( vertical_align == IdentValue.TEXT_TOP ) { // the top of this text is equal to the top of the parent's text // so we take the parent's height above the baseline and subtract our // height above the baseline baselineOffset = (int)( blockLineMetrics.getAscent() - ascent ); //XRLog.render("baseline offset for text-top"+baselineOffset); } else if ( vertical_align == IdentValue.TEXT_BOTTOM ) { baselineOffset = -(int)( blockLineMetrics.getDescent() - descent ); //XRLog.render("baseline offset for text-bottom"+baselineOffset); } else if ( vertical_align == IdentValue.TOP ) { //oops, this will be difficult because we need to keep track of the element sub-tree! //HACK: for now, just align the top of this box with the top of the line baselineOffset = curr_line.getBaseline() - ascent; } else if ( vertical_align == IdentValue.BOTTOM ) { //oops, this will be difficult because we need to keep track of the element sub-tree! //HACK: for now, just align the top of this box with the top of the line baselineOffset = descent - ( curr_line.height - curr_line.getBaseline() ); } else { baselineOffset = (int)c.getCurrentStyle().getFloatPropertyProportionalHeight( CSSName.VERTICAL_ALIGN, c.getBlockFormattingContext().getHeight() ); } return baselineOffset; }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/b2c3ac9b3acc975e472da2805929707f4c06b168/VerticalAlign.java/buggy/src/java/org/xhtmlrenderer/layout/inline/VerticalAlign.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 2882, 345, 3027, 2335, 12, 1042, 276, 16, 5377, 3514, 4306, 67, 1369, 16, 16355, 3514, 394, 67, 10047, 16, 509, 1203, 1670, 2686, 16, 5377, 5653, 1203, 1670, 5653, 13, 288, 3639, 509, 980, 2686, 31, 3639, 509, 487, 2998, 31, 3639, 509, 3044, 319, 31, 3639, 509, 14243, 2335, 31, 3639, 309, 261, 394, 67, 10047, 1276, 16355, 1528, 3514, 262, 288, 5411, 368, 1410, 506, 326, 4309, 434, 326, 3512, 16, 6013, 353, 326, 4309, 434, 326, 977, 5411, 5377, 5653, 4309, 273, 10063, 1304, 18, 588, 1670, 5653, 12, 276, 16, 394, 67, 10047, 11272, 5411, 980, 2686, 273, 10063, 1304, 18, 1369, 2686, 12, 276, 11272, 759, 428, 2066, 716, 783, 819, 353, 923, 364, 394, 67, 10047, 5411, 487, 2998, 273, 261, 474, 13, 9597, 18, 588, 13665, 319, 5621, 5411, 3044, 319, 273, 261, 474, 13, 9597, 18, 588, 4217, 319, 5621, 3639, 289, 469, 288, 5411, 980, 2686, 273, 394, 67, 10047, 18, 4210, 31, 5411, 487, 2998, 273, 980, 2686, 31, 5411, 3044, 319, 273, 374, 31, 3639, 289, 3639, 13128, 620, 9768, 67, 7989, 273, 276, 18, 588, 3935, 2885, 7675, 588, 6106, 12, 6765, 461, 18, 21654, 10109, 67, 26439, 11272, 3639, 309, 261, 9768, 67, 7989, 422, 13128, 620, 18, 8369, 5997, 262, 288, 5411, 14243, 2335, 273, 374, 31, 3639, 289, 469, 309, 261, 9768, 67, 7989, 422, 13128, 620, 18, 13272, 654, 262, 288, 5411, 368, 6330, 21194, 277, 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, 509, 2882, 345, 3027, 2335, 12, 1042, 276, 16, 5377, 3514, 4306, 67, 1369, 16, 16355, 3514, 394, 67, 10047, 16, 509, 1203, 1670, 2686, 16, 5377, 5653, 1203, 1670, 5653, 13, 288, 3639, 509, 980, 2686, 31, 3639, 509, 487, 2998, 31, 3639, 509, 3044, 319, 31, 3639, 509, 14243, 2335, 31, 3639, 309, 261, 394, 67, 10047, 1276, 16355, 1528, 3514, 262, 288, 5411, 368, 1410, 506, 326, 4309, 434, 326, 3512, 16, 6013, 353, 326, 4309, 434, 326, 977, 5411, 5377, 5653, 4309, 273, 10063, 1304, 18, 588, 1670, 5653, 12, 276, 16, 394, 67, 10047, 11272, 5411, 980, 2686, 273, 10063, 1304, 18, 1369, 2686, 12, 276, 11272, 759, 428, 2066, 716, 2 ]
public boolean isSignificant() {
public boolean isSignificant() { for (int i = edits.size() - 1; i >= 0; i--) if (((UndoableEdit) edits.elementAt(i)).isSignificant()) return true;
public boolean isSignificant() { // Variables int index; UndoableEdit current; // Check each edit for (index = 0; index < edits.size(); index++) { current = (UndoableEdit) edits.elementAt(index); if (current.isSignificant() == true) { return true; } } // for: index return false; } // isSignificant()
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/1a56510a6b5772240a0ed85a7518db15a15edb8a/CompoundEdit.java/buggy/libjava/javax/swing/undo/CompoundEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 29822, 1435, 288, 202, 202, 759, 23536, 202, 202, 474, 9506, 202, 1615, 31, 202, 202, 31224, 429, 4666, 202, 2972, 31, 202, 202, 759, 2073, 1517, 3874, 202, 202, 1884, 261, 1615, 273, 374, 31, 770, 411, 24450, 18, 1467, 5621, 770, 27245, 288, 1082, 202, 2972, 273, 261, 31224, 429, 4666, 13, 24450, 18, 2956, 861, 12, 1615, 1769, 1082, 202, 430, 261, 2972, 18, 291, 29822, 1435, 422, 638, 13, 288, 9506, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 97, 368, 364, 30, 770, 202, 202, 2463, 629, 31, 202, 97, 368, 353, 29822, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 29822, 1435, 288, 202, 202, 759, 23536, 202, 202, 474, 9506, 202, 1615, 31, 202, 202, 31224, 429, 4666, 202, 2972, 31, 202, 202, 759, 2073, 1517, 3874, 202, 202, 1884, 261, 1615, 273, 374, 31, 770, 411, 24450, 18, 1467, 5621, 770, 27245, 288, 1082, 202, 2972, 273, 261, 31224, 429, 4666, 13, 24450, 18, 2956, 861, 12, 1615, 1769, 1082, 202, 430, 261, 2972, 18, 291, 29822, 1435, 422, 638, 13, 288, 9506, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 97, 368, 364, 30, 770, 202, 202, 2463, 629, 31, 202, 97, 368, 353, 29822, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Image getBase(IHex hex, Component comp) {
public synchronized Image getBase(IHex hex, Component comp) {
public Image getBase(IHex hex, Component comp) { Object[] pair = (Object[])hexToImageCache.get(hex); if (pair == null) { pair = assignMatch(hex, comp); } return (Image) pair[0]; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/cebb7ad82810d7630d48f54df08aeaf2ebb35dcc/HexTileset.java/buggy/megamek/src/megamek/client/ui/AWT/HexTileset.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 3421, 8297, 12, 45, 7037, 3827, 16, 5435, 1161, 13, 288, 3639, 1033, 8526, 3082, 273, 261, 921, 63, 5717, 7118, 774, 2040, 1649, 18, 588, 12, 7118, 1769, 3639, 309, 261, 6017, 422, 446, 13, 288, 1850, 3082, 273, 2683, 2060, 12, 7118, 16, 1161, 1769, 3639, 289, 3639, 327, 261, 2040, 13, 3082, 63, 20, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 3421, 8297, 12, 45, 7037, 3827, 16, 5435, 1161, 13, 288, 3639, 1033, 8526, 3082, 273, 261, 921, 63, 5717, 7118, 774, 2040, 1649, 18, 588, 12, 7118, 1769, 3639, 309, 261, 6017, 422, 446, 13, 288, 1850, 3082, 273, 2683, 2060, 12, 7118, 16, 1161, 1769, 3639, 289, 3639, 327, 261, 2040, 13, 3082, 63, 20, 15533, 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 ]
{ int h = fact.hashCode(), i = hierarchy.hashCode(); return (h << 8) ^ i; }
{ int h = fact.hashCode(), i = hierarchy.hashCode(); return (h << 8) ^ i; }
public int hashCode() { int h = fact.hashCode(), i = hierarchy.hashCode(); return (h << 8) ^ i; }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/PrivateHierarchyUsage.java/clean/src/main/mondrian/rolap/PrivateHierarchyUsage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 13374, 1435, 202, 95, 202, 202, 474, 366, 273, 5410, 18, 2816, 1085, 9334, 1082, 202, 77, 273, 9360, 18, 2816, 1085, 5621, 202, 202, 2463, 261, 76, 2296, 1725, 13, 3602, 277, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 13374, 1435, 202, 95, 202, 202, 474, 366, 273, 5410, 18, 2816, 1085, 9334, 1082, 202, 77, 273, 9360, 18, 2816, 1085, 5621, 202, 202, 2463, 261, 76, 2296, 1725, 13, 3602, 277, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private ClassLoader getClassLoader(){ try{
private ClassLoader getClassLoader() { try {
private ClassLoader getClassLoader(){ try{ return Thread.currentThread().getContextClassLoader(); } catch (Exception e){ //e.printStackTrace(); } return null; }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/5e78f771b8abd956a7bea6f545806c247dd55cd4/LocalInitialContextFactory.java/buggy/openejb2/modules/core/src/java/org/openejb/client/LocalInitialContextFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9403, 14352, 1435, 95, 3639, 775, 95, 5411, 327, 4884, 18, 2972, 3830, 7675, 29120, 7805, 5621, 3639, 289, 1044, 261, 503, 425, 15329, 5411, 368, 73, 18, 1188, 6332, 5621, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9403, 14352, 1435, 95, 3639, 775, 95, 5411, 327, 4884, 18, 2972, 3830, 7675, 29120, 7805, 5621, 3639, 289, 1044, 261, 503, 425, 15329, 5411, 368, 73, 18, 1188, 6332, 5621, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int rc = VM_SysCall.sysWriteBytes(fd, start, cnt); if (rc >= 0) return rc; else if (rc == -1) {
int rc = VM_SysCall.sysWriteBytes(fd, VM_Magic.objectAsAddress(buf).add(off), cnt); if (rc >= 0) { written += rc; off += rc; cnt -= rc; if (cnt == 0) return written; else continue; } else if (rc == -1) {
public static int writeBytes(int fd, byte buf[], int off, int cnt) { if (off < 0) throw new IndexOutOfBoundsException(); // trim request to fit array // note: this behavior is the way the JDK does it (as of version 1.1.3) // whereas the language spec says to throw IndexOutOfBounds exception... // if (off + cnt > buf.length) cnt = buf.length - off; // The canonical write loop. Try the write repeatedly until // - it succeeds, or // - it returns an error // If the write would have blocked, put this thread on the // IO queue, then try again if it looks like the fd is ready. VM_Address start = VM_Magic.objectAsAddress(buf).add(off); if (!blockingWriteHack(fd)) return -2; for (;;) { int rc = VM_SysCall.sysWriteBytes(fd, start, cnt); if (rc >= 0) // Write succeeded return rc; else if (rc == -1) { // Write would have blocked VM_ThreadIOWaitData waitData = VM_Wait.ioWaitWrite(fd); if (!isFdReady(waitData.writeFds[0])) // Fd is not ready, so presumably an error occurred while on IO queue return -2; else // Fd apprears to be ready, so try write again continue; } else // Write returned with an error return -2; } }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/db7869f60d0e1b2f9f0d0ad344864e3de7b8bcde/VM_FileSystem.java/clean/rvm/src/vm/runtime/VM_FileSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 509, 29579, 12, 474, 5194, 16, 1160, 1681, 63, 6487, 509, 3397, 16, 509, 7599, 13, 288, 565, 309, 261, 3674, 411, 374, 13, 1377, 604, 394, 17768, 5621, 565, 368, 2209, 590, 358, 4845, 526, 565, 368, 4721, 30, 333, 6885, 353, 326, 4031, 326, 24387, 1552, 518, 261, 345, 434, 1177, 404, 18, 21, 18, 23, 13, 565, 368, 1625, 345, 326, 2653, 857, 20185, 358, 604, 3340, 11224, 5694, 1520, 2777, 565, 368, 565, 309, 261, 3674, 397, 7599, 405, 1681, 18, 2469, 13, 1377, 7599, 273, 1681, 18, 2469, 300, 3397, 31, 565, 368, 1021, 7378, 1045, 2798, 18, 225, 6161, 326, 1045, 30412, 3180, 565, 368, 282, 300, 518, 21933, 16, 578, 565, 368, 282, 300, 518, 1135, 392, 555, 565, 368, 971, 326, 1045, 4102, 1240, 14547, 16, 1378, 333, 2650, 603, 326, 377, 368, 1665, 2389, 16, 1508, 775, 3382, 309, 518, 10192, 3007, 326, 5194, 353, 5695, 18, 565, 8251, 67, 1887, 787, 273, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 4385, 2934, 1289, 12, 3674, 1769, 565, 309, 16051, 18926, 3067, 44, 484, 12, 8313, 3719, 1377, 327, 300, 22, 31, 565, 364, 261, 25708, 13, 288, 1377, 509, 4519, 273, 8251, 67, 12712, 1477, 18, 9499, 3067, 2160, 12, 8313, 16, 787, 16, 7599, 1769, 1377, 309, 261, 1310, 1545, 374, 13, 202, 759, 2598, 15784, 202, 2463, 4519, 31, 1377, 469, 309, 261, 1310, 422, 300, 21, 13, 288, 202, 759, 2598, 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, 509, 29579, 12, 474, 5194, 16, 1160, 1681, 63, 6487, 509, 3397, 16, 509, 7599, 13, 288, 565, 309, 261, 3674, 411, 374, 13, 1377, 604, 394, 17768, 5621, 565, 368, 2209, 590, 358, 4845, 526, 565, 368, 4721, 30, 333, 6885, 353, 326, 4031, 326, 24387, 1552, 518, 261, 345, 434, 1177, 404, 18, 21, 18, 23, 13, 565, 368, 1625, 345, 326, 2653, 857, 20185, 358, 604, 3340, 11224, 5694, 1520, 2777, 565, 368, 565, 309, 261, 3674, 397, 7599, 405, 1681, 18, 2469, 13, 1377, 7599, 273, 1681, 18, 2469, 300, 3397, 31, 565, 368, 1021, 7378, 1045, 2798, 18, 225, 6161, 326, 1045, 30412, 3180, 565, 368, 282, 300, 518, 21933, 16, 2 ]
int caretCol = caretMarker.getStartOffset() - StringUtil.lineColToOffset(fileText, caretLine, 0);
int caretCol = EditorUtil.calcColumnNumber(null, myEditor.getDocument().getText(), myEditor.getDocument().getLineStartOffset(caretLine), caretMarker.getStartOffset(), CodeStyleSettingsManager.getSettings(getProject()).JAVA_INDENT_OPTIONS.TAB_SIZE);
private void setupCaret(final RangeMarker caretMarker, String fileText) { if (caretMarker != null) { int caretLine = StringUtil.offsetToLineNumber(fileText, caretMarker.getStartOffset()); int caretCol = caretMarker.getStartOffset() - StringUtil.lineColToOffset(fileText, caretLine, 0); LogicalPosition pos = new LogicalPosition(caretLine, caretCol); myEditor.getCaretModel().moveToLogicalPosition(pos); } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/398ecd4f3650b80edb5853ba05d83d5801457db7/LightCodeInsightTestCase.java/clean/ExtendedApi/src/com/intellij/testFramework/LightCodeInsightTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 3875, 39, 20731, 12, 6385, 8086, 7078, 21683, 7078, 16, 514, 585, 1528, 13, 288, 565, 309, 261, 71, 20731, 7078, 480, 446, 13, 288, 1377, 509, 21683, 1670, 273, 14205, 18, 3348, 774, 31063, 12, 768, 1528, 16, 21683, 7078, 18, 588, 1685, 2335, 10663, 1377, 509, 21683, 914, 273, 18451, 1304, 18, 12448, 1494, 1854, 12, 2011, 16, 3399, 6946, 18, 588, 2519, 7675, 588, 1528, 9334, 3399, 6946, 18, 588, 2519, 7675, 588, 1670, 1685, 2335, 12, 71, 20731, 1670, 3631, 21683, 7078, 18, 588, 1685, 2335, 9334, 3356, 2885, 2628, 1318, 18, 588, 2628, 12, 588, 4109, 1435, 2934, 27264, 67, 2356, 2222, 67, 12422, 18, 28899, 67, 4574, 1769, 1377, 17085, 2555, 949, 273, 394, 17085, 2555, 12, 71, 20731, 1670, 16, 21683, 914, 1769, 1377, 3399, 6946, 18, 588, 39, 20731, 1488, 7675, 8501, 774, 17955, 2555, 12, 917, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 3875, 39, 20731, 12, 6385, 8086, 7078, 21683, 7078, 16, 514, 585, 1528, 13, 288, 565, 309, 261, 71, 20731, 7078, 480, 446, 13, 288, 1377, 509, 21683, 1670, 273, 14205, 18, 3348, 774, 31063, 12, 768, 1528, 16, 21683, 7078, 18, 588, 1685, 2335, 10663, 1377, 509, 21683, 914, 273, 18451, 1304, 18, 12448, 1494, 1854, 12, 2011, 16, 3399, 6946, 18, 588, 2519, 7675, 588, 1528, 9334, 3399, 6946, 18, 588, 2519, 7675, 588, 1670, 1685, 2335, 12, 71, 20731, 1670, 3631, 21683, 7078, 18, 588, 1685, 2335, 9334, 3356, 2885, 2628, 1318, 18, 588, 2628, 12, 588, 4109, 1435, 2934, 27264, 67, 2356, 2222, 67, 12422, 18, 28899, 67, 4574, 1769, 1377, 17085, 2 ]
return getRuntime().newString("#<" + getMetaClass().getName() + ">");
return inspect();
public IRubyObject to_s() { return getRuntime().newString("#<" + getMetaClass().getName() + ">"); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/7c8f2b8eef39162335ebb91ec372425a2b17cc67/RubyStruct.java/clean/src/org/jruby/RubyStruct.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 358, 67, 87, 1435, 288, 3639, 327, 5334, 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, 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, 1071, 15908, 10340, 921, 358, 67, 87, 1435, 288, 3639, 327, 5334, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
map.generateCode(header, source, _context);
map.generateCode(header, source, _context, _package, null);
public void generateCode(PrintStream header, PrintStream source, String srcfileBase) throws ParseException { ListIterator mapIt; ListIterator transIt; ListIterator paramIt; SmcMap map; SmcTransition trans; SmcParameter parameter; String javaState; String separator; int index; LinkedList params; LinkedList prev_params; // Dump out the raw source code, if any. if (_source != null && _source.length () > 0) { source.println (_source + "\n"); } // The context clas contains all the state classes as // inner classes, so generate the context first rather // than last. source.println("public final class " + _context + "Context"); source.println(" extends statemap.FSMContext"); source.println("{"); source.println("// Member methods.\n"); // Generate the context class' constructor. source.println(" public " + _context + "Context(" + _context + " owner)"); source.println(" {"); source.println(" super();\n"); source.println(" _owner = owner;"); // If transition queuing is being done, then allocate // the queue here. /* * Not supported as of v. 1.0, beta 3. if (Smc.isTransQueue() == true) { source.println(" _trans_queue = new java.util.LinkedList();"); } */ // The state name "map::state" must be changed to // "map.state". if ((index = _start_state.indexOf("::")) >= 0) { javaState = _start_state.substring(0, index) + "." + _start_state.substring(index + 2); source.println(" setState(" + javaState + ");"); // Execute the start state's entry actions. source.println(" " + javaState + ".Entry(this);"); } source.println(" }\n"); // Generate the default transition methods. // Get the transition list. LinkedList transList = new LinkedList(); for (mapIt = _maps.listIterator(); mapIt.hasNext() == true; ) { map = (SmcMap) mapIt.next(); // Merge the new transitions into the current set. transList = Smc.merge(map.getTransitions(), transList, new Comparator() { public int compare(Object o1, Object o2) { return(((SmcTransition) o1).compareTo((SmcTransition) o2)); } }); } for (transIt = transList.listIterator(); transIt.hasNext() == true; ) { trans = (SmcTransition) transIt.next(); if (trans.getName().compareTo("Default") != 0) { source.print(" public synchronized void " + trans.getName() + "("); for (paramIt = trans.getParameters().listIterator(), separator = ""; paramIt.hasNext() == true; separator = ", ") { parameter = (SmcParameter) paramIt.next(); source.print(separator); parameter.generateCode(source); } source.println(")"); source.println(" {"); // Save away the transition name in case it is // need in an UndefinedTransitionException. source.println(" _transition = \"" + trans.getName() + "\";"); /* * Transition queuing not supported. * // If transition queuing, then check if _state // is null. If so, enqueue the transition and its // arguments for later. if (Smc.isTransQueue() == true) { String param_type; source.println(" statemap.FSMContext.TransEntry entry;"); source.println(" String method_name;"); source.println(" Class[] params;"); source.println(" Object[] args;"); source.println(" java.lang.reflect.Method method;\n"); // Add debug message re: this transition being // queued. if (Smc.isDebug() == true) { source.println(" if (_debug_flag == true)"); source.println(" {"); source.println(" System.err.println(\"QUEUED : " + trans.getName() + "\");"); source.println(" }\n"); } source.println(" args = new Object[" + Integer.toString(trans.getParameters().size() + 1) + "];"); source.println(" params = new Class[" + Integer.toString(trans.getParameters().size() + 1) + "];\n"); source.println(" args[0] = this;"); source.println(" params[0] = this.getClass();"); for (paramIt = trans.getParameters().listIterator(), index = 1; paramIt.hasNext() == true; ++index) { parameter = (SmcParameter) paramIt.next(); source.print(" args[" + Integer.toString(index) + "] = "); // Is the argument a Java built-in? If yes, // allocate the corresponding class. // Otherwise, clone the object. param_type = parameter.getType(); if (param_type.compareTo("byte") == 0) { source.println("new Byte(" + parameter.getName() + ")"); } else if (param_type.compareTo("short") == 0) { source.println("new Short(" + parameter.getName() + ");"); } else if (param_type.compareTo("int") == 0) { source.println("new Integer(" + parameter.getName() + ");"); } else if (param_type.compareTo("long") == 0) { source.println("new Long(" + parameter.getName() + ");"); } else if (param_type.compareTo("float") == 0) { source.println("new Float(" + parameter.getName() + ");"); } else if (param_type.compareTo("double") == 0) { source.println("new Double(" + parameter.getName() + ");"); } else if (param_type.compareTo("char") == 0) { source.println("new Character(" + parameter.getName() + ");"); } else if (param_type.compareTo("boolean") == 0) { source.println("new Boolean(" + parameter.getName() + ");"); } else { // This is an object. Save its reference. source.println(parameter.getName() + ";"); } source.println(" params[" + Integer.toString(index) + "] = " + param_type + ".class;"); } // Store away the method name and args. source.println("\n entry = new statemap.FSMContext.TransEntry(\"" + trans.getName() + "\", args, params);"); source.println(" _trans_queue.addLast(entry);\n"); source.println(" if (_state != null)"); source.println(" {"); // Now issue any queued up transitions. source.println(" dispatchTransitions();"); source.println(" }\n"); } else { * transition queuing. */ source.print(" getState()." + trans.getName() + "(this"); for (paramIt = trans.getParameters().listIterator(); paramIt.hasNext() == true; ) { parameter = (SmcParameter) paramIt.next(); source.print(", " + parameter.getName()); } source.println(");"); source.println(" _transition = \"\";"); source.println(" return;"); source.println(" }\n"); } /* * End of transition queue check. } */ } // getState() method. source.println(" protected " + _context + "State getState()"); source.println(" throws statemap.StateUndefinedException"); source.println(" {"); source.println(" if (_state == null)"); source.println(" {"); source.println(" throw(new statemap.StateUndefinedException());"); source.println(" }\n"); source.println(" return((" + _context + "State) _state);"); source.println(" }\n"); // getOwner() method. source.println(" protected " + _context + " getOwner()"); source.println(" {"); source.println(" return(_owner);"); source.println(" }\n"); /* * Transition queuing not supported. * if (Smc.isTransQueue() == true) { // The following method invokes queued transitions. source.println(" private void dispatchTransitions()"); source.println(" {"); source.println(" statemap.FSMContext.TransEntry entry;"); source.println(" String method_name;"); source.println(" Class[] params;"); source.println(" Object[] args;"); source.println(" java.lang.reflect.Method method;\n"); source.println(" while(_trans_queue.size() > 0)"); source.println(" {"); source.println(" entry = (statemap.FSMContext.TransEntry) _trans_queue.removeFirst();"); source.println(" method_name = entry.getMethodName();"); source.println(" args = entry.getArgs();"); source.println(" params = entry.getParameters();"); source.println(" try"); source.println(" {"); source.println(" try"); source.println(" {"); source.println(" method ="); source.println(" _state.getClass().getDeclaredMethod(method_name,"); source.println(" params);"); source.println(" }"); source.println(" catch (NoSuchMethodException method_ex)"); source.println(" {"); source.println(" method ="); source.println(" _state.getClass().getSuperclass().getDeclaredMethod(method_name,"); source.println(" params);"); source.println(" }\n"); source.println(" method.invoke(_state, args);"); source.println(" entry.free();"); source.println(" }"); if (Smc.isDebug() == false) { source.println(" catch (Exception jex) {}"); } else { source.println(" catch (Exception jex)"); source.println(" {"); source.println(" if (_debug_flag == true)"); source.println(" {"); source.println(" System.err.println(\"INVOKE ERROR : \" + jex);"); source.println(" }"); source.println(" }"); } source.println(" }"); source.println(" }\n"); } * End of transition queuing code. */ // Declare member data. source.println("// Member data.\n"); source.println(" private " + _context + " _owner;"); // If transition queuing, declare the necessary // data. if (Smc.isTransQueue() == true) { source.println(" private java.util.LinkedList _trans_queue;"); } // Declare the inner state class. source.println("\n protected static abstract class " + _context + "State"); source.println(" extends statemap.State"); source.println(" {"); // Constructor. source.println(" protected " + _context + "State(String name)"); source.println(" {"); source.println(" super(name);"); source.println(" }\n"); source.println(" protected void Entry(" + _context + "Context s) {}"); source.println(" protected void Exit(" + _context + "Context s) {}\n"); for (transIt = transList.listIterator(); transIt.hasNext() == true; ) { trans = (SmcTransition) transIt.next(); // Don't generate the Default transition here. if (trans.getName().compareTo("Default") != 0) { source.print(" protected void " + trans.getName() + "(" + _context + "Context s"); for (paramIt = trans.getParameters().listIterator(); paramIt.hasNext() == true; ) { parameter = (SmcParameter) paramIt.next(); source.print(", "); parameter.generateCode(source); } source.println(")\n {"); // If this method is reached, that means that this // transition was passed to a state which does not // define the transition. Call the state's default // transition method. source.println(" Default(s);"); source.println(" }\n"); } } // Generate the overall Default transition for all maps. source.println(" protected void Default(" + _context + "Context s)"); source.println(" {"); if (Smc.isDebug() == true) { source.println(" if (s.getDebugFlag() == true)"); source.println(" {"); source.println(" System.err.println(\"TRANSITION : Default\");"); source.println(" }\n"); } source.println(" throw (new statemap.TransitionUndefinedException(\"State: \" +"); source.println(" s.getState().getName() +"); source.println(" \", Transition: \" +"); source.println(" s.getTransition()));"); source.println(" }"); // End of state class. source.println(" }"); // Have each map print out its source code now. for (mapIt = _maps.listIterator(); mapIt.hasNext(); ) { map = (SmcMap) mapIt.next(); map.generateCode(header, source, _context); } // End of context class. source.println("}\n"); return; }
50995 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50995/ffbfa44caa39de8d579429432aa3aca8bd077721/SmcParseTreeJava.java/clean/net/sf/smc/SmcParseTreeJava.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2103, 1085, 12, 5108, 1228, 1446, 16, 11794, 21677, 1084, 16, 11794, 514, 1705, 768, 2171, 13, 3639, 1216, 10616, 565, 288, 3639, 987, 3198, 852, 7193, 31, 3639, 987, 3198, 906, 7193, 31, 3639, 987, 3198, 579, 7193, 31, 3639, 9425, 71, 863, 852, 31, 3639, 9425, 71, 8850, 906, 31, 3639, 9425, 71, 1662, 1569, 31, 3639, 514, 2252, 1119, 31, 3639, 514, 4182, 31, 3639, 509, 770, 31, 3639, 10688, 859, 31, 3639, 10688, 2807, 67, 2010, 31, 3639, 368, 18242, 596, 326, 1831, 1084, 981, 16, 309, 1281, 18, 3639, 309, 261, 67, 3168, 480, 446, 597, 389, 3168, 18, 2469, 1832, 405, 374, 13, 3639, 288, 5411, 1084, 18, 8222, 261, 67, 3168, 397, 1548, 82, 8863, 3639, 289, 3639, 368, 1021, 819, 23268, 1914, 777, 326, 919, 3318, 487, 3639, 368, 3443, 3318, 16, 1427, 2103, 326, 819, 1122, 9178, 3639, 368, 2353, 1142, 18, 3639, 1084, 18, 8222, 2932, 482, 727, 667, 315, 397, 15604, 389, 2472, 397, 15604, 315, 1042, 8863, 3639, 1084, 18, 8222, 2932, 565, 3231, 919, 1458, 18, 4931, 49, 1042, 8863, 3639, 1084, 18, 8222, 2932, 95, 8863, 3639, 1084, 18, 8222, 2932, 759, 8596, 2590, 8403, 82, 8863, 3639, 368, 6654, 326, 819, 667, 11, 3885, 18, 3639, 1084, 18, 8222, 2932, 565, 1071, 315, 397, 15604, 389, 2472, 397, 15604, 315, 1042, 2932, 397, 15604, 389, 2472, 397, 15604, 315, 3410, 2225, 1769, 3639, 1084, 18, 8222, 2932, 565, 288, 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, 2103, 1085, 12, 5108, 1228, 1446, 16, 11794, 21677, 1084, 16, 11794, 514, 1705, 768, 2171, 13, 3639, 1216, 10616, 565, 288, 3639, 987, 3198, 852, 7193, 31, 3639, 987, 3198, 906, 7193, 31, 3639, 987, 3198, 579, 7193, 31, 3639, 9425, 71, 863, 852, 31, 3639, 9425, 71, 8850, 906, 31, 3639, 9425, 71, 1662, 1569, 31, 3639, 514, 2252, 1119, 31, 3639, 514, 4182, 31, 3639, 509, 770, 31, 3639, 10688, 859, 31, 3639, 10688, 2807, 67, 2010, 31, 3639, 368, 18242, 596, 326, 1831, 1084, 981, 16, 309, 1281, 18, 3639, 309, 261, 67, 3168, 480, 446, 597, 389, 3168, 18, 2469, 1832, 405, 374, 13, 3639, 288, 5411, 1084, 18, 8222, 261, 2 ]
public org.quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { org.quickfix.field.EncodedSecurityDesc value = new org.quickfix.field.EncodedSecurityDesc();
public quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { quickfix.field.EncodedSecurityDesc value = new quickfix.field.EncodedSecurityDesc();
public org.quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { org.quickfix.field.EncodedSecurityDesc value = new org.quickfix.field.EncodedSecurityDesc(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteRequestReject.java/clean/src/java/src/quickfix/fix44/QuoteRequestReject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 28799, 4368, 4217, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 28799, 4368, 4217, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
hardware.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_HARDWARE, repositoryUrl));
hardware.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_HARDWARE, selectedProducts, repositoryUrl));
private void updateAttributesFromRepository(String repositoryUrl, boolean connect) { monitorDialog.open(); IProgressMonitor monitor = monitorDialog.getProgressMonitor(); monitor.beginTask("Updating search options...", 55); try { // TaskRepository repository = // MylarTaskListPlugin.getRepositoryManager().getDefaultRepository( // BugzillaPlugin.REPOSITORY_KIND); // String repositoryUrl = repository.getUrl(); if (connect) { BugzillaUiPlugin.updateQueryOptions(repository, monitor); } product.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_PRODUCT, repositoryUrl)); monitor.worked(1); component.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_COMPONENT, repositoryUrl)); monitor.worked(1); version.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_VERSION, repositoryUrl)); monitor.worked(1); target.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_TARGET, repositoryUrl)); monitor.worked(1); status.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_STATUS, repositoryUrl)); monitor.worked(1); // status.setSelection(BugzillaRepositoryUtil.getQueryOptions(IBugzillaConstants.VALUSE_STATUS_PRESELECTED, // repositoryUrl)); monitor.worked(1); resolution.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_RESOLUTION, repositoryUrl)); monitor.worked(1); severity.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_SEVERITY, repositoryUrl)); monitor.worked(1); priority.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_PRIORITY, repositoryUrl)); monitor.worked(1); hardware.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_HARDWARE, repositoryUrl)); monitor.worked(1); os.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_OS, repositoryUrl)); monitor.worked(1); } catch (LoginException exception) { // we had a problem that seems to have been caused from bad // login info MessageDialog .openError( null, "Login Error", "Bugzilla could not log you in to get the information you requested since login name or password is incorrect.\nPlease check your settings in the bugzilla preferences. "); // BugzillaPlugin.log(exception); } catch (IOException e) { MessageDialog.openError(null, "Connection Error", e.getMessage() + "\nPlease check your settings in the bugzilla preferences. "); } finally { monitor.done(); monitorDialog.close(); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/efd58c196697556eaa8ce05ae112b46dc36d0117/BugzillaSearchPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 2498, 1265, 3305, 12, 780, 3352, 1489, 16, 1250, 3077, 13, 288, 202, 202, 10259, 6353, 18, 3190, 5621, 202, 202, 45, 5491, 7187, 6438, 273, 6438, 6353, 18, 588, 5491, 7187, 5621, 202, 202, 10259, 18, 10086, 2174, 2932, 17858, 1623, 702, 7070, 16, 21483, 1769, 202, 202, 698, 288, 1082, 202, 759, 3837, 3305, 3352, 273, 1082, 202, 759, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 1868, 3305, 12, 1082, 202, 759, 16907, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 1769, 1082, 202, 759, 514, 3352, 1489, 273, 3352, 18, 588, 1489, 5621, 1082, 202, 430, 261, 3612, 13, 288, 9506, 202, 19865, 15990, 13943, 3773, 18, 2725, 1138, 1320, 12, 9071, 16, 6438, 1769, 1082, 202, 97, 1082, 202, 5896, 18, 542, 3126, 12, 19865, 15990, 13943, 3773, 18, 588, 1138, 1320, 12, 13450, 637, 15990, 2918, 18, 16386, 67, 25883, 16, 3352, 1489, 10019, 1082, 202, 10259, 18, 1252, 329, 12, 21, 1769, 1082, 202, 4652, 18, 542, 3126, 12, 19865, 15990, 13943, 3773, 18, 588, 1138, 1320, 12, 13450, 637, 15990, 2918, 18, 16386, 67, 22922, 16, 3352, 1489, 10019, 1082, 202, 10259, 18, 1252, 329, 12, 21, 1769, 1082, 202, 1589, 18, 542, 3126, 12, 19865, 15990, 13943, 3773, 18, 588, 1138, 1320, 12, 13450, 637, 15990, 2918, 18, 16386, 67, 5757, 16, 3352, 1489, 10019, 1082, 202, 10259, 18, 1252, 329, 12, 21, 1769, 1082, 202, 3299, 18, 542, 3126, 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, 1089, 2498, 1265, 3305, 12, 780, 3352, 1489, 16, 1250, 3077, 13, 288, 202, 202, 10259, 6353, 18, 3190, 5621, 202, 202, 45, 5491, 7187, 6438, 273, 6438, 6353, 18, 588, 5491, 7187, 5621, 202, 202, 10259, 18, 10086, 2174, 2932, 17858, 1623, 702, 7070, 16, 21483, 1769, 202, 202, 698, 288, 1082, 202, 759, 3837, 3305, 3352, 273, 1082, 202, 759, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 1868, 3305, 12, 1082, 202, 759, 16907, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 1769, 1082, 202, 759, 514, 3352, 1489, 273, 3352, 18, 588, 1489, 5621, 1082, 202, 430, 261, 3612, 13, 288, 9506, 202, 19865, 15990, 13943, 3773, 18, 2 ]
ArrayList actions = ((BasicContribution) cache.get(i)).actions; if (actions != null) { for (int j = 0; j < actions.size(); j++) { PluginAction proxy = ((ActionDescriptor) actions.get(j)) .getAction(); if (proxy.getDelegate() instanceof IActionDelegate2) ((IActionDelegate2) proxy.getDelegate()).dispose(); } }
((BasicContribution) cache.get(i)).dispose();
public void dispose() { if (cache != null) { for (int i = 0; i < cache.size(); i++) { ArrayList actions = ((BasicContribution) cache.get(i)).actions; if (actions != null) { for (int j = 0; j < actions.size(); j++) { PluginAction proxy = ((ActionDescriptor) actions.get(j)) .getAction(); if (proxy.getDelegate() instanceof IActionDelegate2) ((IActionDelegate2) proxy.getDelegate()).dispose(); } } } cache = null; } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/16f10c8694f7dbb509caa0b2199aced1aa2436bf/ViewerActionBuilder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewerActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 309, 261, 2493, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1247, 18, 1467, 5621, 277, 27245, 288, 7734, 2407, 4209, 273, 14015, 8252, 442, 4027, 13, 1247, 18, 588, 12, 77, 13, 2934, 4905, 31, 7734, 309, 261, 4905, 480, 446, 13, 288, 10792, 364, 261, 474, 525, 273, 374, 31, 525, 411, 4209, 18, 1467, 5621, 525, 27245, 288, 13491, 6258, 1803, 2889, 273, 14015, 1803, 3187, 13, 4209, 18, 588, 12, 78, 3719, 27573, 263, 588, 1803, 5621, 13491, 309, 261, 5656, 18, 588, 9586, 1435, 1276, 467, 1803, 9586, 22, 13, 18701, 14015, 45, 1803, 9586, 22, 13, 2889, 18, 588, 9586, 1435, 2934, 2251, 4150, 5621, 10792, 289, 7734, 289, 5411, 289, 5411, 1247, 273, 446, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 309, 261, 2493, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1247, 18, 1467, 5621, 277, 27245, 288, 7734, 2407, 4209, 273, 14015, 8252, 442, 4027, 13, 1247, 18, 588, 12, 77, 13, 2934, 4905, 31, 7734, 309, 261, 4905, 480, 446, 13, 288, 10792, 364, 261, 474, 525, 273, 374, 31, 525, 411, 4209, 18, 1467, 5621, 525, 27245, 288, 13491, 6258, 1803, 2889, 273, 14015, 1803, 3187, 13, 4209, 18, 588, 12, 78, 3719, 27573, 263, 588, 1803, 5621, 13491, 309, 261, 5656, 18, 588, 9586, 1435, 1276, 467, 1803, 9586, 22, 13, 18701, 14015, 45, 1803, 9586, 22, 13, 2889, 18, 588, 9586, 2 ]
{
{
void acquireComponentForMouseEvent (MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; boolean candidate_is_container_with_children = ((candidate != null) && (candidate instanceof Container) && (((Container)candidate).getComponentCount () > 0)); boolean candidate_does_not_contain_point = ((candidate != null) && (! candidate.contains (x - candidate.getX (), y - candidate.getY ()))); if (candidate == null || candidate_is_container_with_children || candidate_does_not_contain_point) { // Try to reacquire. candidate = nativeContainer.findComponentAt (x, y); } if (mouseEventTarget != null && mouseEventTarget != candidate) { int nx = x - mouseEventTarget.getX (); int ny = y - mouseEventTarget.getY (); MouseEvent exited = new MouseEvent (mouseEventTarget, MouseEvent.MOUSE_EXITED, me.getWhen (), me.getModifiers (), nx, ny, me.getClickCount (), me.isPopupTrigger (), me.getButton ()); mouseEventTarget.dispatchEvent (exited); mouseEventTarget = null; } if (candidate != null) { // Possibly set new state. if (candidate.isLightweight() && candidate != nativeContainer && candidate != mouseEventTarget) { mouseEventTarget = candidate; int nx = x - mouseEventTarget.getX (); int ny = y - mouseEventTarget.getY (); // If acquired, enter it. MouseEvent entered = new MouseEvent (mouseEventTarget, MouseEvent.MOUSE_ENTERED, me.getWhen (), me.getModifiers (), nx, ny, me.getClickCount (), me.isPopupTrigger (), me.getButton ()); mouseEventTarget.dispatchEvent (entered); } } }
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/ad6c8435ee03593e980da05d382c95b10d220822/Container.java/buggy/libjava/java/awt/Container.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 10533, 1841, 1290, 9186, 1133, 261, 9186, 1133, 1791, 13, 225, 288, 565, 509, 619, 273, 1791, 18, 588, 60, 261, 1769, 565, 509, 677, 273, 1791, 18, 588, 61, 261, 1769, 565, 5435, 5500, 273, 7644, 1133, 2326, 31, 565, 1250, 5500, 67, 291, 67, 3782, 67, 1918, 67, 5906, 273, 3196, 565, 14015, 19188, 480, 446, 13, 202, 377, 597, 261, 19188, 1276, 4039, 13, 202, 377, 597, 261, 12443, 2170, 13, 19188, 2934, 588, 1841, 1380, 1832, 405, 374, 10019, 565, 1250, 5500, 67, 20657, 67, 902, 67, 28744, 67, 1153, 273, 202, 565, 14015, 19188, 480, 446, 13, 202, 377, 597, 16051, 5500, 18, 12298, 261, 92, 300, 5500, 18, 588, 60, 1832, 16, 4766, 677, 300, 5500, 18, 588, 61, 1832, 3719, 1769, 565, 309, 261, 19188, 422, 446, 3639, 747, 5500, 67, 291, 67, 3782, 67, 1918, 67, 5906, 3639, 747, 5500, 67, 20657, 67, 902, 67, 28744, 67, 1153, 13, 225, 288, 3639, 368, 6161, 358, 283, 1077, 1039, 18, 3639, 5500, 273, 6448, 2170, 18, 4720, 1841, 861, 261, 92, 16, 677, 1769, 225, 289, 565, 309, 261, 11697, 1133, 2326, 480, 446, 3639, 597, 7644, 1133, 2326, 480, 5500, 13, 225, 288, 3639, 509, 9264, 273, 619, 300, 7644, 1133, 2326, 18, 588, 60, 261, 1769, 3639, 509, 15308, 273, 677, 300, 7644, 1133, 2326, 18, 588, 61, 261, 1769, 3639, 17013, 1133, 21590, 273, 394, 17013, 1133, 261, 11697, 1133, 2326, 16, 4766, 2398, 17013, 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, 918, 10533, 1841, 1290, 9186, 1133, 261, 9186, 1133, 1791, 13, 225, 288, 565, 509, 619, 273, 1791, 18, 588, 60, 261, 1769, 565, 509, 677, 273, 1791, 18, 588, 61, 261, 1769, 565, 5435, 5500, 273, 7644, 1133, 2326, 31, 565, 1250, 5500, 67, 291, 67, 3782, 67, 1918, 67, 5906, 273, 3196, 565, 14015, 19188, 480, 446, 13, 202, 377, 597, 261, 19188, 1276, 4039, 13, 202, 377, 597, 261, 12443, 2170, 13, 19188, 2934, 588, 1841, 1380, 1832, 405, 374, 10019, 565, 1250, 5500, 67, 20657, 67, 902, 67, 28744, 67, 1153, 273, 202, 565, 14015, 19188, 480, 446, 13, 202, 377, 597, 16051, 5500, 18, 12298, 261, 92, 300, 5500, 18, 588, 60, 1832, 2 ]
if(automationHelperClass != null)
if (automationHelperClass != null)
private void doInstall(AutomatedInstallData installdata) throws Exception { // TODO: i18n System.out.println("[ Starting automated installation ]"); // walk the panels in order Iterator panelsIterator = installdata.panelsOrder.iterator(); while(panelsIterator.hasNext()) { Panel p = (Panel)panelsIterator.next(); if (!OsConstraint.oneMatchesCurrentSystem(p.osConstraints)) continue; String panelClassName = p.className; String automationHelperClassName = "com.izforge.izpack.panels."+panelClassName+"AutomationHelper"; Class automationHelperClass = null; // determine if the panel supports automated install try { automationHelperClass = Class.forName(automationHelperClassName); } catch(ClassNotFoundException e) { // this is OK - not all panels have/need automation support. continue; } // instantiate the automation logic for the panel PanelAutomation automationHelperInstance = null; if(automationHelperClass != null) { try { automationHelperInstance = (PanelAutomation)automationHelperClass.newInstance(); } catch(Exception e) { System.err.println("ERROR: no default constructor for "+automationHelperClassName+", skipping..."); continue; } } // We get the panels root xml markup Vector panelRoots = installdata.xmlData.getChildrenNamed (panelClassName); int panelRootNo = 0; if (this.panelInstanceCount.containsKey (panelClassName)) { // get number of panel instance to process panelRootNo = ((Integer)this.panelInstanceCount.get (panelClassName)).intValue (); } XMLElement panelRoot = (XMLElement)panelRoots.elementAt (panelRootNo); this.panelInstanceCount.put (panelClassName, new Integer (panelRootNo+1)); // execute the installation logic for the current panel, if it has any: if(automationHelperInstance != null) { try { automationHelperInstance.runAutomated(installdata, panelRoot); } catch(Exception e) { System.err.println ("ERROR: automated installation failed for panel " + panelClassName); e.printStackTrace (); continue; } } } System.out.println("[ Automated installation done ]"); // Bye Housekeeper.getInstance().shutDown(0); }
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6629f6e7b4d88c756f0670c257942fdabc2ec0f1/AutomatedInstaller.java/buggy/src/lib/com/izforge/izpack/installer/AutomatedInstaller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 741, 6410, 12, 22932, 690, 6410, 751, 3799, 892, 13, 377, 1216, 1185, 225, 288, 565, 368, 2660, 30, 277, 2643, 82, 565, 2332, 18, 659, 18, 8222, 2932, 63, 24591, 18472, 690, 13193, 308, 8863, 565, 368, 5442, 326, 20582, 316, 1353, 565, 4498, 20582, 3198, 273, 3799, 892, 18, 7355, 10558, 2448, 18, 9838, 5621, 565, 1323, 12, 7355, 10558, 3198, 18, 5332, 2134, 10756, 565, 288, 1377, 23641, 293, 273, 261, 5537, 13, 7355, 10558, 3198, 18, 4285, 5621, 202, 21114, 225, 309, 16051, 15112, 5806, 18, 476, 6869, 3935, 3163, 12, 84, 18, 538, 4878, 3719, 1324, 31, 202, 3639, 514, 6594, 3834, 273, 293, 18, 12434, 31, 1377, 514, 17539, 2276, 3834, 273, 315, 832, 18, 452, 1884, 908, 18, 452, 2920, 18, 7355, 10558, 1199, 15, 13916, 3834, 9078, 28589, 2276, 14432, 1377, 1659, 17539, 2276, 797, 273, 446, 31, 1377, 368, 4199, 309, 326, 6594, 6146, 18472, 690, 3799, 1377, 775, 4202, 288, 3639, 17539, 2276, 797, 273, 1659, 18, 1884, 461, 12, 5854, 11978, 2276, 3834, 1769, 1377, 289, 4202, 1044, 12, 797, 3990, 425, 13, 4202, 288, 3639, 368, 333, 353, 7791, 300, 486, 777, 20582, 1240, 19, 14891, 17539, 2865, 18, 3639, 1324, 31, 1377, 289, 1377, 368, 10275, 326, 17539, 4058, 364, 326, 6594, 1377, 23641, 28589, 17539, 2276, 1442, 273, 446, 31, 1377, 309, 261, 5854, 11978, 2276, 797, 480, 446, 13, 4202, 288, 3639, 775, 540, 288, 1850, 17539, 2276, 1442, 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, 741, 6410, 12, 22932, 690, 6410, 751, 3799, 892, 13, 377, 1216, 1185, 225, 288, 565, 368, 2660, 30, 277, 2643, 82, 565, 2332, 18, 659, 18, 8222, 2932, 63, 24591, 18472, 690, 13193, 308, 8863, 565, 368, 5442, 326, 20582, 316, 1353, 565, 4498, 20582, 3198, 273, 3799, 892, 18, 7355, 10558, 2448, 18, 9838, 5621, 565, 1323, 12, 7355, 10558, 3198, 18, 5332, 2134, 10756, 565, 288, 1377, 23641, 293, 273, 261, 5537, 13, 7355, 10558, 3198, 18, 4285, 5621, 202, 21114, 225, 309, 16051, 15112, 5806, 18, 476, 6869, 3935, 3163, 12, 84, 18, 538, 4878, 3719, 1324, 31, 202, 3639, 514, 6594, 3834, 273, 293, 18, 12434, 31, 1377, 514, 17539, 2276, 2 ]
if (_options.getInactivityTimeout() <= 0) return;
if (_options.getInactivityTimeout() <= 0) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Inactivity timeout reached, but there is no timer..."); return; }
public void timeReached() { // uh, nothing more to do... if (!_connected) return; // we got rescheduled already if (getTimeLeft() > 0) return; // these are either going to time out or cause further rescheduling if (getUnackedPacketsSent() > 0) return; // wtf, this shouldn't have been scheduled if (_options.getInactivityTimeout() <= 0) return; // if one of us can't talk... if ( (_closeSentOn > 0) || (_closeReceivedOn > 0) ) return; // bugger it, might as well do the hard work now switch (_options.getInactivityAction()) { case ConnectionOptions.INACTIVITY_ACTION_SEND: if (_log.shouldLog(Log.WARN)) _log.warn("Sending some data due to inactivity"); _receiver.send(null, 0, 0, true); break; case ConnectionOptions.INACTIVITY_ACTION_NOOP: if (_log.shouldLog(Log.WARN)) _log.warn("Inactivity timer expired, but we aint doin' shit"); break; case ConnectionOptions.INACTIVITY_ACTION_DISCONNECT: // fall through default: if (_log.shouldLog(Log.WARN)) _log.warn("Closing connection due to inactivity"); if (_log.shouldLog(Log.DEBUG)) { StringBuffer buf = new StringBuffer(128); buf.append("last sent was: ").append(_context.clock().now() - _lastSendTime); buf.append("ms ago, last received was: ").append(_context.clock().now()-_lastReceivedOn); buf.append("ms ago, inactivity timeout is: ").append(_options.getInactivityTimeout()); _log.debug(buf.toString()); } disconnect(true); break; } }
3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/b9b59ff95fa26f930c7e03f11cb8de9d2416888f/Connection.java/buggy/apps/streaming/java/src/net/i2p/client/streaming/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 813, 23646, 1435, 288, 5411, 368, 582, 76, 16, 5083, 1898, 358, 741, 2777, 5411, 309, 16051, 67, 8537, 13, 327, 31, 5411, 368, 732, 2363, 400, 2847, 72, 1818, 5411, 309, 261, 588, 950, 3910, 1435, 405, 374, 13, 327, 31, 5411, 368, 4259, 854, 3344, 8554, 358, 813, 596, 578, 4620, 9271, 400, 13252, 5411, 309, 261, 588, 984, 484, 329, 27328, 7828, 1435, 405, 374, 13, 327, 31, 5411, 368, 341, 6632, 16, 333, 12044, 1404, 1240, 2118, 9755, 5411, 309, 261, 67, 2116, 18, 588, 382, 9653, 2694, 1435, 1648, 374, 13, 288, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 389, 1330, 18, 4148, 2932, 382, 9653, 2021, 8675, 16, 1496, 1915, 353, 1158, 5441, 7070, 1769, 327, 31, 289, 5411, 368, 309, 1245, 434, 584, 848, 1404, 26591, 2777, 5411, 309, 261, 261, 67, 4412, 7828, 1398, 405, 374, 13, 747, 261, 67, 4412, 8872, 1398, 405, 374, 13, 262, 327, 31, 13491, 368, 7934, 693, 518, 16, 4825, 487, 5492, 741, 326, 7877, 1440, 2037, 5411, 1620, 261, 67, 2116, 18, 588, 382, 9653, 1803, 10756, 288, 7734, 648, 4050, 1320, 18, 706, 22271, 4107, 67, 12249, 67, 21675, 30, 10792, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 27999, 3719, 13491, 389, 1330, 18, 8935, 2932, 16322, 2690, 501, 6541, 358, 316, 9653, 8863, 10792, 389, 24454, 18, 4661, 12, 2011, 16, 374, 16, 374, 16, 638, 1769, 10792, 898, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 813, 23646, 1435, 288, 5411, 368, 582, 76, 16, 5083, 1898, 358, 741, 2777, 5411, 309, 16051, 67, 8537, 13, 327, 31, 5411, 368, 732, 2363, 400, 2847, 72, 1818, 5411, 309, 261, 588, 950, 3910, 1435, 405, 374, 13, 327, 31, 5411, 368, 4259, 854, 3344, 8554, 358, 813, 596, 578, 4620, 9271, 400, 13252, 5411, 309, 261, 588, 984, 484, 329, 27328, 7828, 1435, 405, 374, 13, 327, 31, 5411, 368, 341, 6632, 16, 333, 12044, 1404, 1240, 2118, 9755, 5411, 309, 261, 67, 2116, 18, 588, 382, 9653, 2694, 1435, 1648, 374, 13, 288, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 389, 1330, 18, 4148, 2932, 382, 9653, 2 ]
final Object value = context.extractor.getValue( right );
final Object value = context.getFieldExtractor().getValue( right );
public boolean evaluateCachedLeft(final VariableContextEntry context, final Object right) { final Object value = context.extractor.getValue( right ); if ( ((ObjectVariableContextEntry) context).left == null ) { return value == null; } return ((ObjectVariableContextEntry) context).left.equals( value ); }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/b6d27b51773c616f04e39b7d6c5e3cd95aeab255/BigDecimalFactory.java/clean/drools-core/src/main/java/org/drools/base/evaluators/BigDecimalFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 5956, 9839, 3910, 12, 6385, 7110, 1042, 1622, 819, 16, 4766, 1850, 727, 1033, 2145, 13, 288, 5411, 727, 1033, 460, 273, 819, 18, 588, 974, 10958, 7675, 24805, 12, 2145, 11272, 5411, 309, 261, 14015, 921, 3092, 1042, 1622, 13, 819, 2934, 4482, 422, 446, 262, 288, 7734, 327, 460, 422, 446, 31, 5411, 289, 5411, 327, 14015, 921, 3092, 1042, 1622, 13, 819, 2934, 4482, 18, 14963, 12, 460, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 5956, 9839, 3910, 12, 6385, 7110, 1042, 1622, 819, 16, 4766, 1850, 727, 1033, 2145, 13, 288, 5411, 727, 1033, 460, 273, 819, 18, 588, 974, 10958, 7675, 24805, 12, 2145, 11272, 5411, 309, 261, 14015, 921, 3092, 1042, 1622, 13, 819, 2934, 4482, 422, 446, 262, 288, 7734, 327, 460, 422, 446, 31, 5411, 289, 5411, 327, 14015, 921, 3092, 1042, 1622, 13, 819, 2934, 4482, 18, 14963, 12, 460, 11272, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
rs.setColName(1, "PROCEDURE_CAT"); rs.setColLabel(1, "PROCEDURE_CAT"); rs.setColName(2, "PROCEDURE_SCHEM"); rs.setColLabel(2, "PROCEDURE_SCHEM"); return rs;
CachedResultSet rsTmp = new CachedResultSet((JtdsStatement)s, colNames, colTypes); rsTmp.moveToInsertRow(); int colCnt = rs.getMetaData().getColumnCount(); while (rs.next()) { rsTmp.updateString(1, rs.getString(1)); rsTmp.updateString(2, rs.getString(2)); String name = rs.getString(3); if (name != null) { int pos = name.lastIndexOf(';'); if (pos >= 0) { name = name.substring(0, pos); } } rsTmp.updateString(3, name); for (int i = 4; i <= colCnt; i++) { rsTmp.updateObject(i, rs.getObject(i)); } if (colCnt < 8) { rsTmp.updateShort(8, (short)DatabaseMetaData.procedureReturnsResult); } rsTmp.insertRow(); } rsTmp.moveToCurrentRow(); rsTmp.setConcurrency(ResultSet.CONCUR_READ_ONLY); rs.close(); return rsTmp;
public java.sql.ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException { String query = "exec sp_stored_procedures ?, ?, ?"; if (catalog != null) { if (tdsVersion >= Driver.TDS70) { query = "exec [" + catalog + "]..sp_stored_procedures ?, ?, ?"; } else { query = "exec " + catalog + "..sp_stored_procedures ?, ?, ?"; } } CallableStatement s = connection.prepareCall(query); s.setString(1, procedureNamePattern); s.setString(2, schemaPattern); s.setString(3, catalog); JtdsResultSet rs = (JtdsResultSet)s.executeQuery(); rs.setColName(1, "PROCEDURE_CAT"); rs.setColLabel(1, "PROCEDURE_CAT"); rs.setColName(2, "PROCEDURE_SCHEM"); rs.setColLabel(2, "PROCEDURE_SCHEM"); return rs; }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/0a7ebc6de64e4f3e83cd11c83fd69cd327106d66/JtdsDatabaseMetaData.java/buggy/src/main/net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 3570, 23382, 12, 780, 6222, 16, 4766, 5411, 514, 1963, 3234, 16, 4766, 5411, 514, 12131, 461, 3234, 13, 565, 1216, 6483, 288, 3639, 514, 843, 273, 315, 4177, 1694, 67, 22601, 67, 685, 23382, 20033, 20033, 692, 14432, 3639, 309, 261, 7199, 480, 446, 13, 288, 5411, 309, 261, 88, 2377, 1444, 1545, 9396, 18, 56, 3948, 7301, 13, 288, 7734, 843, 273, 315, 4177, 8247, 397, 6222, 397, 9850, 838, 1752, 67, 22601, 67, 685, 23382, 20033, 20033, 692, 14432, 5411, 289, 469, 288, 7734, 843, 273, 315, 4177, 315, 397, 6222, 397, 315, 838, 1752, 67, 22601, 67, 685, 23382, 20033, 20033, 692, 14432, 5411, 289, 3639, 289, 3639, 10464, 3406, 272, 273, 1459, 18, 9366, 1477, 12, 2271, 1769, 3639, 272, 18, 542, 780, 12, 21, 16, 12131, 461, 3234, 1769, 3639, 272, 18, 542, 780, 12, 22, 16, 1963, 3234, 1769, 3639, 272, 18, 542, 780, 12, 23, 16, 6222, 1769, 3639, 804, 88, 2377, 13198, 3597, 273, 261, 46, 88, 2377, 13198, 13, 87, 18, 8837, 1138, 5621, 3639, 3597, 18, 542, 31187, 12, 21, 16, 225, 315, 3373, 23552, 4830, 67, 14130, 8863, 3639, 3597, 18, 542, 914, 2224, 12, 21, 16, 315, 3373, 23552, 4830, 67, 14130, 8863, 3639, 3597, 18, 542, 31187, 12, 22, 16, 225, 315, 3373, 23552, 4830, 67, 55, 10390, 8863, 3639, 3597, 18, 542, 914, 2224, 12, 22, 16, 315, 3373, 23552, 4830, 67, 55, 10390, 8863, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 3570, 23382, 12, 780, 6222, 16, 4766, 5411, 514, 1963, 3234, 16, 4766, 5411, 514, 12131, 461, 3234, 13, 565, 1216, 6483, 288, 3639, 514, 843, 273, 315, 4177, 1694, 67, 22601, 67, 685, 23382, 20033, 20033, 692, 14432, 3639, 309, 261, 7199, 480, 446, 13, 288, 5411, 309, 261, 88, 2377, 1444, 1545, 9396, 18, 56, 3948, 7301, 13, 288, 7734, 843, 273, 315, 4177, 8247, 397, 6222, 397, 9850, 838, 1752, 67, 22601, 67, 685, 23382, 20033, 20033, 692, 14432, 5411, 289, 469, 288, 7734, 843, 273, 315, 4177, 315, 397, 6222, 397, 315, 838, 1752, 67, 22601, 67, 685, 23382, 20033, 20033, 692, 14432, 5411, 289, 3639, 289, 3639, 2 ]
472, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 327, 472, 476, 476, 476, 472, 472, 0, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 0, 0, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0,
476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 0, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472,
private static final short[] yyTable2() { return new short[] { 472, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 327, 472, 476, 476, 476, 472, 472, 0, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 0, 0, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 0, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 473, 472, 472, 472, 472, 472, 472, 472, 472, 0, 473, 0, 0, 472, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 473, 0, 0, 0, 473, 473, 0, 473, 473, 473, 473, 78, 473, 473, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 86, 473, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 473, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 473, 0, 0, 473, 0, 0, 0, 278, 278, 0, 473, 278, 278, 278, 79, 278, 278, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 278, 87, 278, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 334, 329, 0, 0, 0, 332, 330, 0, 331, 0, 333, 0, 0, 0, 278, 0, 0, 278, 0, 0, 0, 655, 0, 326, 0, 325, 324, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 278, 473, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 327, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 278, 278, 278, 473, 473, 0, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 0, 0, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 0, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 0, 473, 473, 473, 473, 492, 473, 473, 473, 473, 473, 473, 473, 473, 0, 492, 0, 0, 473, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 251, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 251, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 469, 0, 0, 0, 0, 0, 412, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 0, 0, 334, 329, 0, 0, 0, 332, 330, 0, 331, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 326, 0, 325, 324, 0, 0, 469, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 0, 492, 327, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 0, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 251, 0, 58, 251, 251, 251, 251, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 251, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90, 90, 90, 90, 90, 0, 469, 0, 0, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 90, 0, 90, 90, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 412, 90, 0, 0, 90, 90, 90, 90, 0, 90, 91, 90, 90, 90, 90, 90, 90, 470, 0, 678, 0, 90, 0, 415, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 91, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 470, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 472, 0, 0, 0, 0, 0, 476, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 90, 90, 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, 476, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 476, 0, 0, 90, 207, 0, 0, 106, 47, 48, 49, 0, 619, 232, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 0, 0, 0, 14, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 91, 14, 91, 91, 91, 91, 91, 91, 91, 0, 470, 0, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 0, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 0, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 91, 14, 0, 91, 91, 91, 91, 0, 91, 0, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90, 90, 90, 90, 90, 0, 476, 0, 0, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 90, 0, 90, 90, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 753, 476, 90, 0, 0, 90, 90, 90, 90, 0, 90, 91, 90, 90, 90, 90, 90, 90, 473, 0, 0, 0, 90, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 91, 14, 14, 14, 0, 0, 0, 14, 14, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 4, 5, 6, 0, 8, 91, 91, 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, 279, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 323, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 224, 0, 0, 46, 47, 48, 49, 323, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 107, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 323, 0, 91, 91, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 0, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 0, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 323, 278, 91, 0, 0, 91, 91, 91, 91, 0, 91, 492, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 492, 0, 91, 91, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 492, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 0, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 91, 0, 0, 91, 91, 91, 91, 0, 91, 52, 91, 91, 91, 91, 91, 91, 0, 0, 0, 52, 91, 0, 0, 0, 492, 0, 0, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 0, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 52, 0, 0, 0, 323, 323, 323, 323, 323, 323, 323, 0, 0, 323, 0, 0, 0, 52, 52, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 0, 323, 323, 0, 323, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 52, 0, 0, 0, 0, 323, 0, 0, 323, 323, 323, 323, 0, 323, 0, 323, 323, 323, 323, 323, 323, 0, 492, 0, 0, 323, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 216, 492, 492, 0, 492, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 492, 0, 0, 492, 492, 492, 492, 0, 492, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 0, 0, 0, 0, 217, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 52, 0, 0, 52, 52, 52, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 0, 0, 0, 0, 0, 0, 0, 52, 52, 0, 52, 52, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 41, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 0, 0, 0, 41, 41, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 492, 492, 0, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 492, 492, 492, 492, 0, 492, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 41, 0, 0, 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, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 350, 350, 0, 0, 350, 350, 350, 350, 350, 350, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 0, 350, 350, 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, 423, 41, 350, 0, 350, 350, 0, 0, 0, 0, 423, 0, 0, 41, 41, 41, 41, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 423, 423, 0, 0, 423, 423, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 82, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 423, 0, 423, 423, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 492, 492, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 0, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 0, 0, 350, 350, 350, 492, 350, 492, 492, 0, 0, 0, 0, 0, 0, 350, 350, 350, 0, 0, 0, 0, 0, 0, 0, 350, 350, 0, 350, 350, 350, 350, 350, 0, 0, 32, 0, 492, 492, 492, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 0, 0, 350, 350, 350, 0, 0, 350, 0, 0, 32, 0, 350, 261, 0, 0, 0, 0, 0, 0, 423, 423, 423, 0, 0, 423, 423, 423, 32, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 0, 0, 423, 423, 423, 32, 424, 423, 0, 0, 0, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 0, 0, 492, 492, 492, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 492, 492, 492, 492, 492, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 0, 0, 492, 0, 273, 273, 0, 492, 273, 273, 273, 273, 273, 273, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 89, 273, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 0, 0, 279, 32, 32, 0, 32, 0, 273, 0, 273, 273, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 279, 279, 273, 273, 279, 279, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 279, 88, 279, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 279, 279, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 280, 280, 280, 280, 280, 280, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 280, 83, 280, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 0, 0, 273, 273, 273, 0, 273, 280, 0, 280, 280, 0, 0, 0, 0, 0, 273, 273, 0, 0, 0, 0, 0, 0, 0, 273, 273, 0, 273, 273, 273, 273, 273, 0, 494, 0, 0, 0, 0, 0, 280, 280, 0, 0, 494, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 0, 0, 273, 273, 273, 0, 0, 273, 0, 494, 0, 0, 273, 0, 0, 0, 279, 279, 279, 0, 0, 279, 279, 279, 0, 279, 494, 494, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 197, 0, 0, 0, 494, 0, 0, 0, 0, 0, 197, 0, 0, 0, 0, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 0, 0, 279, 279, 279, 0, 0, 279, 494, 0, 0, 0, 279, 197, 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 280, 197, 197, 280, 280, 280, 197, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 280, 280, 280, 280, 280, 0, 0, 197, 0, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 0, 0, 0, 0, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 0, 197, 280, 280, 280, 0, 0, 280, 0, 373, 373, 0, 280, 373, 373, 373, 373, 373, 373, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 373, 0, 373, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 494, 494, 0, 0, 494, 494, 494, 216, 494, 0, 0, 0, 0, 373, 0, 373, 373, 216, 494, 494, 0, 0, 0, 0, 0, 0, 0, 494, 494, 0, 494, 494, 494, 494, 494, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 373, 373, 216, 216, 216, 216, 216, 322, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 216, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 0, 0, 0, 0, 0, 0, 0, 197, 197, 197, 0, 0, 197, 197, 197, 0, 197, 322, 0, 216, 216, 0, 290, 0, 0, 0, 197, 197, 0, 0, 0, 0, 290, 0, 0, 197, 197, 0, 197, 197, 197, 197, 197, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 290, 290, 290, 290, 290, 290, 290, 197, 197, 0, 0, 197, 197, 0, 0, 0, 0, 290, 290, 290, 197, 290, 290, 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 373, 0, 0, 373, 373, 373, 0, 373, 290, 0, 290, 290, 0, 0, 0, 0, 0, 373, 373, 0, 0, 0, 0, 0, 0, 0, 373, 373, 0, 373, 373, 373, 373, 373, 0, 56, 0, 0, 0, 0, 0, 290, 290, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 0, 0, 373, 373, 373, 0, 0, 373, 0, 56, 0, 0, 373, 0, 0, 0, 216, 216, 216, 0, 0, 216, 216, 216, 0, 216, 56, 56, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 216, 216, 216, 216, 216, 0, 0, 0, 0, 0, 202, 0, 0, 0, 56, 0, 0, 0, 0, 0, 202, 0, 0, 0, 0, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 0, 0, 216, 216, 322, 0, 0, 216, 56, 0, 0, 0, 216, 202, 0, 0, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 290, 202, 202, 290, 290, 290, 202, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 290, 290, 290, 290, 290, 0, 0, 202, 0, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 0, 0, 0, 0, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 0, 202, 290, 290, 290, 0, 0, 290, 0, 286, 286, 0, 290, 286, 286, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 286, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 56, 56, 0, 0, 56, 56, 56, 410, 56, 0, 0, 0, 0, 286, 0, 286, 286, 410, 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, 410, 410, 286, 286, 410, 410, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 202, 202, 202, 0, 0, 202, 202, 202, 0, 202, 410, 0, 410, 410, 0, 411, 0, 0, 0, 202, 202, 0, 0, 0, 0, 411, 0, 0, 202, 202, 0, 202, 202, 202, 202, 202, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 0, 411, 411, 411, 411, 411, 411, 411, 202, 202, 0, 0, 202, 202, 0, 0, 0, 0, 411, 411, 411, 202, 411, 411, 0, 0, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 0, 286, 286, 286, 0, 286, 411, 0, 411, 411, 0, 0, 0, 0, 0, 286, 286, 0, 0, 0, 0, 0, 0, 0, 286, 286, 0, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 0, 0, 286, 0, 0, 0, 0, 286, 0, 0, 0, 410, 410, 410, 0, 0, 410, 410, 410, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 0, 0, 410, 410, 410, 0, 0, 410, 0, 0, 0, 0, 410, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 411, 411, 411, 0, 0, 411, 411, 411, 0, 411, 0, 175, 0, 174, 0, 0, 0, 0, 0, 411, 411, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 411, 411, 411, 411, 411, 0, 0, 0, 0, 0, 193, 0, 0, 0, 177, 0, 185, 0, 0, 0, 193, 0, 0, 0, 0, 0, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 0, 0, 411, 411, 411, 0, 176, 411, 184, 193, 193, 0, 411, 193, 193, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 0, 0, 189, 189, 189, 189, 189, 0, 189, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 189, 189, 189, 0, 189, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 189, 189, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 186, 186, 0, 0, 186, 186, 186, 186, 186, 0, 186, 0, 0, 0, 0, 508, 509, 0, 0, 510, 0, 186, 186, 186, 0, 186, 186, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 186, 186, 0, 0, 0, 0, 0, 193, 193, 193, 0, 0, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 186, 186, 0, 0, 193, 193, 0, 193, 193, 193, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 0, 0, 193, 193, 189, 189, 189, 193, 0, 189, 189, 189, 193, 189, 0, 0, 0, 0, 0, 0, 334, 329, 0, 189, 189, 332, 330, 608, 331, 0, 333, 0, 189, 189, 0, 189, 189, 189, 189, 189, 0, 0, 0, 326, 0, 325, 324, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 187, 0, 189, 189, 328, 0, 0, 189, 0, 0, 187, 0, 189, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 0, 0, 186, 186, 186, 0, 186, 0, 0, 0, 0, 327, 0, 0, 187, 187, 186, 186, 187, 187, 187, 187, 187, 0, 187, 186, 186, 0, 186, 186, 186, 186, 186, 0, 0, 187, 187, 187, 0, 187, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 188, 0, 186, 186, 187, 187, 0, 186, }; }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/f5c9a1ebd775712f2dc086acfce1a14a123ec632/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, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 1059, 9060, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 3847, 28, 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, 565, 374, 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, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 3847, 27, 16, 225, 1059, 9060, 16, 6647, 1059, 6669, 16, 225, 1059, 6669, 16, 225, 1059, 6669, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 565, 374, 16, 225, 1059, 6669, 16, 225, 1059, 6669, 16, 225, 1059, 9060, 16, 225, 1059, 6669, 16, 6647, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 565, 374, 16, 225, 1059, 6669, 16, 565, 374, 16, 2398, 374, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 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, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 1059, 9060, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 3847, 28, 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, 565, 374, 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, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 2 ]
TreeMap elementsToFoldMap = FoldingPolicy.getElementsToFold(file, document); final Runnable operation = new UpdateFoldRegionsOperation(editor, elementsToFoldMap, applyDefaultState); return new Runnable() { public void run() { editor.getFoldingModel().runBatchFoldingOperation(operation); editor.putUserData(LAST_UPDATE_STAMP_KEY, new Long(timeStamp)); } };
public static Runnable updateFoldRegions(final Editor editor, PsiElement file, boolean applyDefaultState) { ApplicationManager.getApplication().assertReadAccessAllowed(); final Project project = file.getProject(); Document document = editor.getDocument(); LOG.assertTrue(!PsiDocumentManager.getInstance(project).isUncommited(document)); final long timeStamp = document.getModificationStamp(); Object lastTimeStamp = editor.getUserData(LAST_UPDATE_STAMP_KEY); if (lastTimeStamp instanceof Long && ((Long)lastTimeStamp).longValue() == timeStamp) return null; if (file instanceof PsiCompiledElement){ file = ((PsiCompiledElement)file).getMirror(); } TreeMap elementsToFoldMap = FoldingPolicy.getElementsToFold(file, document); final Runnable operation = new UpdateFoldRegionsOperation(editor, elementsToFoldMap, applyDefaultState); return new Runnable() { public void run() { editor.getFoldingModel().runBatchFoldingOperation(operation); editor.putUserData(LAST_UPDATE_STAMP_KEY, new Long(timeStamp)); } }; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/8d4186f9e2097c01681e5216de252fe516ef3e84/FoldingUpdate.java/buggy/source/com/intellij/codeInsight/folding/impl/FoldingUpdate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 10254, 1089, 15592, 17344, 12, 6385, 18451, 4858, 16, 453, 7722, 1046, 585, 16, 1250, 2230, 1868, 1119, 13, 288, 565, 4257, 1318, 18, 588, 3208, 7675, 11231, 1994, 1862, 5042, 5621, 565, 727, 5420, 1984, 273, 585, 18, 588, 4109, 5621, 565, 4319, 1668, 273, 4858, 18, 588, 2519, 5621, 565, 2018, 18, 11231, 5510, 12, 5, 52, 7722, 2519, 1318, 18, 588, 1442, 12, 4406, 2934, 291, 984, 7371, 329, 12, 5457, 10019, 565, 727, 1525, 18198, 273, 1668, 18, 588, 13467, 8860, 5621, 565, 1033, 1142, 21536, 273, 4858, 18, 588, 19265, 12, 14378, 67, 8217, 67, 12192, 67, 3297, 1769, 565, 309, 261, 2722, 21536, 1276, 3407, 597, 14015, 3708, 13, 2722, 21536, 2934, 5748, 620, 1435, 422, 18198, 13, 327, 446, 31, 565, 309, 261, 768, 1276, 453, 7722, 20733, 1046, 15329, 1377, 585, 273, 14015, 52, 7722, 20733, 1046, 13, 768, 2934, 588, 13035, 5621, 565, 289, 565, 16381, 2186, 774, 15592, 863, 273, 478, 1673, 310, 2582, 18, 588, 3471, 774, 15592, 12, 768, 16, 1668, 1769, 565, 727, 10254, 1674, 273, 394, 2315, 15592, 17344, 2988, 12, 9177, 16, 2186, 774, 15592, 863, 16, 2230, 1868, 1119, 1769, 565, 327, 394, 10254, 1435, 288, 1377, 1071, 918, 1086, 1435, 288, 3639, 4858, 18, 588, 15592, 310, 1488, 7675, 2681, 4497, 15592, 310, 2988, 12, 7624, 1769, 3639, 4858, 18, 458, 19265, 12, 14378, 67, 8217, 67, 12192, 67, 3297, 16, 394, 3407, 12, 957, 8860, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 10254, 1089, 15592, 17344, 12, 6385, 18451, 4858, 16, 453, 7722, 1046, 585, 16, 1250, 2230, 1868, 1119, 13, 288, 565, 4257, 1318, 18, 588, 3208, 7675, 11231, 1994, 1862, 5042, 5621, 565, 727, 5420, 1984, 273, 585, 18, 588, 4109, 5621, 565, 4319, 1668, 273, 4858, 18, 588, 2519, 5621, 565, 2018, 18, 11231, 5510, 12, 5, 52, 7722, 2519, 1318, 18, 588, 1442, 12, 4406, 2934, 291, 984, 7371, 329, 12, 5457, 10019, 565, 727, 1525, 18198, 273, 1668, 18, 588, 13467, 8860, 5621, 565, 1033, 1142, 21536, 273, 4858, 18, 588, 19265, 12, 14378, 67, 8217, 67, 12192, 67, 3297, 1769, 565, 309, 261, 2722, 21536, 1276, 3407, 597, 14015, 3708, 13, 2722, 2 ]
TestElement parentElement = (TestElement) parent;
TestElement parentElement = (TestElement) parent;
public void updateElement(Object parent, int index) { TestElement parentElement = (TestElement) parent; TestElement childElement = parentElement.getChildAt(index); treeViewer.replace(parent, index, childElement); treeViewer.setChildCount(childElement, childElement.getChildCount()); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/f8e480943eb6ef57377e669176e980d9c2df86dc/TestModelLazyTreeContentProvider.java/buggy/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/TestModelLazyTreeContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 1046, 12, 921, 982, 16, 509, 770, 13, 288, 3639, 7766, 1046, 30363, 273, 261, 4709, 1046, 13, 982, 31, 202, 202, 4709, 1046, 1151, 1046, 273, 30363, 18, 588, 1763, 861, 12, 1615, 1769, 202, 202, 3413, 18415, 18, 2079, 12, 2938, 16, 770, 16, 1151, 1046, 1769, 202, 202, 3413, 18415, 18, 542, 1763, 1380, 12, 3624, 1046, 16, 1151, 1046, 18, 588, 1763, 1380, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 918, 1089, 1046, 12, 921, 982, 16, 509, 770, 13, 288, 3639, 7766, 1046, 30363, 273, 261, 4709, 1046, 13, 982, 31, 202, 202, 4709, 1046, 1151, 1046, 273, 30363, 18, 588, 1763, 861, 12, 1615, 1769, 202, 202, 3413, 18415, 18, 2079, 12, 2938, 16, 770, 16, 1151, 1046, 1769, 202, 202, 3413, 18415, 18, 542, 1763, 1380, 12, 3624, 1046, 16, 1151, 1046, 18, 588, 1763, 1380, 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 ]
connector.getJmsSupport().send(replyToProducer, replyToMessage);
connector.getJmsSupport().send(replyToProducer, replyToMessage, topic);
public void processReplyTo(UMOEvent event, UMOMessage returnMessage, Object replyTo) throws UMOException { Destination replyToDestination = null; MessageProducer replyToProducer = null; Session session = null; try { // now we need to send the response if (replyTo instanceof Destination) { replyToDestination = (Destination) replyTo; } if (replyToDestination == null) { super.processReplyTo(event, returnMessage, replyTo); return; } Object payload = returnMessage.getPayload(); if (getTransformer() != null) { getTransformer().setEndpoint(getEndpoint(event, "jms://temporary")); if(getTransformer().isSourceTypeSupported(payload.getClass())) { payload = getTransformer().transform(payload); } else if(logger.isDebugEnabled()) { logger.debug("transformer for replyTo Handler: " + getTransformer().toString() + " does not support source type: " + payload.getClass() + ". Not doing a transform"); } } session = connector.getSession(false, replyToDestination instanceof Topic); Message replyToMessage = JmsMessageUtils.getMessageForObject(payload, session); replyToMessage.setJMSReplyTo(null); if (logger.isDebugEnabled()) { logger.debug("Sending jms reply to: " + replyToDestination + "(" + replyToDestination.getClass().getName() + ")"); } replyToProducer = connector.getJmsSupport().createProducer(session, replyToDestination); // QoS support UMOMessage eventMsg = event.getMessage(); String ttlString = (String) eventMsg.removeProperty(JmsConstants.TIME_TO_LIVE_PROPERTY); String priorityString = (String) eventMsg.removeProperty(JmsConstants.PRIORITY_PROPERTY); String persistentDeliveryString = (String) eventMsg.removeProperty(JmsConstants.PERSISTENT_DELIVERY_PROPERTY); if (ttlString == null && priorityString == null && persistentDeliveryString == null) { connector.getJmsSupport().send(replyToProducer, replyToMessage); } else { long ttl = Message.DEFAULT_TIME_TO_LIVE; int priority = Message.DEFAULT_PRIORITY; boolean persistent = Message.DEFAULT_DELIVERY_MODE == DeliveryMode.PERSISTENT; if (ttlString != null) { ttl = Long.parseLong(ttlString); } if (priorityString != null) { priority = Integer.parseInt(priorityString); } if (persistentDeliveryString != null) { persistent = Boolean.valueOf(persistentDeliveryString).booleanValue(); } connector.getJmsSupport().send(replyToProducer, replyToMessage, persistent, priority, ttl); } // connector.getJmsSupport().send(replyToProducer, replyToMessage, // replyToDestination); logger.info("Reply Message sent to: " + replyToDestination); ((AbstractComponent) event.getComponent()).getStatistics().incSentReplyToEvent(); } catch (Exception e) { throw new DispatchException(new org.mule.config.i18n.Message("jms", 8, replyToDestination.toString()), returnMessage, null, e); } finally { JmsUtils.closeQuietly(replyToProducer); JmsUtils.closeQuietly(session); } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/2da07b2e68f6a70ecd7a3eef319a983cbe6e6067/JmsReplyToHandler.java/buggy/providers/jms/src/java/org/mule/providers/jms/JmsReplyToHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 7817, 774, 12, 2799, 51, 1133, 871, 16, 587, 5980, 1079, 327, 1079, 16, 1033, 30934, 13, 1216, 587, 5980, 503, 565, 288, 3639, 10691, 30934, 5683, 273, 446, 31, 3639, 2350, 12140, 30934, 12140, 273, 446, 31, 3639, 3877, 1339, 273, 446, 31, 3639, 775, 288, 5411, 368, 2037, 732, 1608, 358, 1366, 326, 766, 5411, 309, 261, 10629, 774, 1276, 10691, 13, 288, 7734, 30934, 5683, 273, 261, 5683, 13, 30934, 31, 5411, 289, 5411, 309, 261, 10629, 774, 5683, 422, 446, 13, 288, 7734, 2240, 18, 2567, 7817, 774, 12, 2575, 16, 327, 1079, 16, 30934, 1769, 7734, 327, 31, 5411, 289, 5411, 1033, 2385, 273, 327, 1079, 18, 588, 6110, 5621, 5411, 309, 261, 588, 8319, 1435, 480, 446, 13, 288, 7734, 336, 8319, 7675, 542, 3293, 12, 588, 3293, 12, 2575, 16, 315, 78, 959, 2207, 31143, 7923, 1769, 7734, 309, 12, 588, 8319, 7675, 291, 1830, 559, 7223, 12, 7648, 18, 588, 797, 1435, 3719, 288, 10792, 2385, 273, 336, 8319, 7675, 6547, 12, 7648, 1769, 7734, 289, 469, 309, 12, 4901, 18, 291, 2829, 1526, 10756, 288, 10792, 1194, 18, 4148, 2932, 21523, 364, 30934, 4663, 30, 315, 397, 336, 8319, 7675, 10492, 1435, 397, 11794, 315, 1552, 486, 2865, 1084, 618, 30, 315, 225, 397, 2385, 18, 588, 797, 1435, 397, 3552, 2288, 9957, 279, 2510, 8863, 7734, 289, 5411, 289, 5411, 1339, 273, 8703, 18, 588, 2157, 12, 5743, 16, 30934, 5683, 1276, 11789, 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, 1207, 7817, 774, 12, 2799, 51, 1133, 871, 16, 587, 5980, 1079, 327, 1079, 16, 1033, 30934, 13, 1216, 587, 5980, 503, 565, 288, 3639, 10691, 30934, 5683, 273, 446, 31, 3639, 2350, 12140, 30934, 12140, 273, 446, 31, 3639, 3877, 1339, 273, 446, 31, 3639, 775, 288, 5411, 368, 2037, 732, 1608, 358, 1366, 326, 766, 5411, 309, 261, 10629, 774, 1276, 10691, 13, 288, 7734, 30934, 5683, 273, 261, 5683, 13, 30934, 31, 5411, 289, 5411, 309, 261, 10629, 774, 5683, 422, 446, 13, 288, 7734, 2240, 18, 2567, 7817, 774, 12, 2575, 16, 327, 1079, 16, 30934, 1769, 7734, 327, 31, 5411, 289, 5411, 1033, 2385, 273, 327, 1079, 18, 588, 6110, 5621, 2 ]
String[] mainTables = newQuery.getStarBases();
String[] mainTables = newQuery.getStarBases();
public Query ModifyQuery(Engine engine, List filters, Query query) throws InvalidQueryException { Connection conn; try { conn = query.getDataSource().getConnection(); } catch (SQLException e1) { throw new InvalidQueryException("Recieved SQLException " + e1.getMessage(), e1); } Query newQuery = new Query(query); //must get species and dataset, from the first starBase String species = null; String dataset = null; //resolve dataset, species, and focus String[] mainTables = newQuery.getStarBases(); for (int i = 0; i < mainTables.length; i++) { if (mainTables[i].matches(".*gene")) dataset = mainTables[i]; } if (dataset == null) { if (logger.isLoggable(Level.WARNING)) logger.warning("Could not determine dataset for query, perhaps it is a snp query " + newQuery); throw new InvalidQueryException("Could not determine dataset for query, perhaps it is a snp query "); } StringTokenizer tokens = new StringTokenizer(dataset, "_", false); species = tokens.nextToken(); String trans_lib_table = null; StringBuffer idSQL = new StringBuffer(); // set on first_table, append lidBuf later StringBuffer lidBuf = new StringBuffer(" where lib_id in ("); int terms = 0; String firstTable = null; // will build up SQL StringBuffer selectBuf = new StringBuffer("select "); StringBuffer fromBuf = new StringBuffer(" from "); StringBuffer whereBuf = new StringBuffer(" where "); List values = new ArrayList(); String edataset = null; try { for (int i = 0, n = filters.size(); i < n; i++) { Filter element = (Filter) filters.get(i); newQuery.removeFilter(element); String field_info = element.getField(); if ( !(field_info.indexOf(".") > 0 ) ) throw new InvalidQueryException("Recieved invalid field for Expression Filter, should be of the form x:y where x is the expression dataset name, and y is the term " + field_info + "\n"); String value = element.getValue(); StringTokenizer ptokens = new StringTokenizer(field_info, "."); if (edataset == null) edataset = ptokens.nextToken(); else { String tmp = ptokens.nextToken(); if ( !( edataset.equals( tmp ) ) ) throw new InvalidQueryException("Sorry, mixing expression datasets not valid, recieved both " + edataset + " and " + tmp + "\n"); } String term = ptokens.nextToken(); values.add(value); if (!IsValidTerm(conn, value)) throw new InvalidQueryException("Term " + term + " does not exist in the Mart Database\n"); String table = species + "_expression_" + edataset + "_" + term + "_support"; if (terms < 1) { firstTable = table; selectBuf.append(firstTable + ".lib_id"); trans_lib_table = dataset + "_expression_" + edataset + "_map"; idSQL.append("select transcript_stable_id from " + trans_lib_table); // will only get the lib_id for the first term, but mapped across all support tables in the from and where clause } if (terms > 0) { fromBuf.append(" , "); whereBuf.append(" AND " + firstTable + ".lib_id = " + table + ".lib_id AND "); } fromBuf.append(table); whereBuf.append(table + ".term = ?"); terms++; } String sql = selectBuf.append(fromBuf).append(whereBuf).toString(); logger.info("Getting lib_ids with " + sql); PreparedStatement lps = conn.prepareStatement(sql); for (int i = 0, n = values.size(); i < n; i++) { String element = (String) values.get(i); lps.setString(i + 1, element); } ResultSet lrs = lps.executeQuery(); int lidcount = 0; while (lrs.next()) { if (lidcount > 0) lidBuf.append(", "); lidBuf.append("\"").append(lrs.getString(1)).append("\""); lidcount++; } lps.close(); lrs.close(); lidBuf.append(")"); idSQL.append(lidBuf); sql = idSQL.toString(); logger.info("Getting ids with " + sql); List tranIds = new ArrayList(); PreparedStatement tps = conn.prepareStatement(sql); ResultSet trs = tps.executeQuery(); while (trs.next()) tranIds.add(trs.getString(1)); tps.close(); trs.close(); String[] tids = new String[tranIds.size()]; tranIds.toArray(tids); newQuery.addFilter(new IDListFilter("transcript_stable_id", tids)); return newQuery; } catch (SQLException e) { throw new InvalidQueryException( "Recieved SQL Exception processing request for Expression Filter " + e.getMessage(), e); } }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/5d29c858564d7e4e6ede04a12954508a6284b018/ExpressionFilterHandler.java/buggy/src/java/org/ensembl/mart/lib/ExpressionFilterHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2770, 9518, 1138, 12, 4410, 4073, 16, 987, 3415, 16, 2770, 843, 13, 1216, 1962, 1138, 503, 288, 202, 202, 1952, 1487, 31, 202, 202, 698, 288, 1082, 202, 4646, 273, 843, 18, 588, 8597, 7675, 588, 1952, 5621, 202, 202, 97, 1044, 261, 23116, 425, 21, 13, 288, 1082, 202, 12849, 394, 1962, 1138, 503, 2932, 5650, 1385, 2155, 6483, 315, 397, 425, 21, 18, 24906, 9334, 425, 21, 1769, 202, 202, 97, 202, 202, 1138, 22955, 273, 394, 2770, 12, 2271, 1769, 202, 202, 759, 11926, 336, 12891, 471, 3709, 16, 628, 326, 1122, 10443, 2171, 202, 202, 780, 12891, 273, 446, 31, 202, 202, 780, 3709, 273, 446, 31, 202, 202, 759, 10828, 3709, 16, 12891, 16, 471, 7155, 202, 202, 780, 8526, 2774, 6905, 273, 22955, 18, 588, 18379, 38, 3304, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2774, 6905, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 5254, 6905, 63, 77, 8009, 8436, 2932, 4509, 11857, 6, 3719, 9506, 202, 8682, 273, 2774, 6905, 63, 77, 15533, 202, 202, 97, 202, 202, 430, 261, 8682, 422, 446, 13, 288, 1082, 202, 430, 261, 4901, 18, 291, 1343, 8455, 12, 2355, 18, 9511, 3719, 9506, 202, 4901, 18, 8551, 2932, 4445, 486, 4199, 3709, 364, 843, 16, 26282, 518, 353, 279, 28648, 843, 315, 397, 22955, 1769, 1082, 202, 12849, 394, 1962, 1138, 503, 2932, 4445, 486, 4199, 3709, 364, 843, 16, 26282, 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, 2770, 9518, 1138, 12, 4410, 4073, 16, 987, 3415, 16, 2770, 843, 13, 1216, 1962, 1138, 503, 288, 202, 202, 1952, 1487, 31, 202, 202, 698, 288, 1082, 202, 4646, 273, 843, 18, 588, 8597, 7675, 588, 1952, 5621, 202, 202, 97, 1044, 261, 23116, 425, 21, 13, 288, 1082, 202, 12849, 394, 1962, 1138, 503, 2932, 5650, 1385, 2155, 6483, 315, 397, 425, 21, 18, 24906, 9334, 425, 21, 1769, 202, 202, 97, 202, 202, 1138, 22955, 273, 394, 2770, 12, 2271, 1769, 202, 202, 759, 11926, 336, 12891, 471, 3709, 16, 628, 326, 1122, 10443, 2171, 202, 202, 780, 12891, 273, 446, 31, 202, 202, 780, 3709, 273, 446, 31, 202, 202, 759, 10828, 2 ]
while (log2 < 63 && 1L << log2 < n)
while ((log2 < 63) && (1L << log2 < n))
public static int log2(long n) { int log2 = 0; while (log2 < 63 && 1L << log2 < n) ++log2; return log2; }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/Util.java/buggy/src/freenet/crypt/Util.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 613, 22, 12, 5748, 290, 13, 288, 202, 202, 474, 613, 22, 273, 374, 31, 202, 202, 17523, 261, 1330, 22, 411, 13746, 597, 404, 48, 2296, 613, 22, 411, 290, 13, 1082, 202, 9904, 1330, 22, 31, 202, 202, 2463, 613, 22, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 613, 22, 12, 5748, 290, 13, 288, 202, 202, 474, 613, 22, 273, 374, 31, 202, 202, 17523, 261, 1330, 22, 411, 13746, 597, 404, 48, 2296, 613, 22, 411, 290, 13, 1082, 202, 9904, 1330, 22, 31, 202, 202, 2463, 613, 22, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void i_StereoTest() { int error; int[] source = new int[1]; int[] tbuffers = new int[2]; ByteBuffer BuffersInQueue = ByteBuffer.allocateDirect(4); BuffersInQueue.order(ByteOrder.nativeOrder()); ByteBuffer BuffersProcessed = ByteBuffer.allocateDirect(4); BuffersProcessed.order(ByteOrder.nativeOrder()); ByteBuffer Buffer = ByteBuffer.allocateDirect(4); Buffer.order(ByteOrder.nativeOrder()); int ch = -1; int bLoop = AL.TRUE; ByteBuffer source0Pos = ByteBuffer.allocateDirect(12); source0Pos.order(ByteOrder.nativeOrder()); source0Pos.putFloat(2.0f); source0Pos.putFloat(0.0f); source0Pos.putFloat(-2.0f); ByteBuffer source0Vel = ByteBuffer.allocateDirect(12); source0Vel.order(ByteOrder.nativeOrder()); source0Vel.putFloat(0.0f); source0Vel.putFloat(0.0f); source0Vel.putFloat(0.0f); al.genSources(1,source); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alGenSources 1 : ", error); return; } tbuffers[0] = buffers[6]; tbuffers[1] = buffers[6]; System.out.print("Stereo Test\n"); System.out.print("Press '1' to play a stereo buffer on source 0 (looping)\n"); System.out.print("Press '2' to play a mono buffer on source 0 (looping)\n"); System.out.print("Press '3' to stop source 0\n"); System.out.print("Press '4' to queue 2 stereo buffers on source 0 and start playing\n"); System.out.print("Press '5' to unqueue the 2 stereo buffers on source 0\n"); System.out.print("Press '6' to toggle looping on / off\n"); System.out.print("Press '0' to display stats\n"); System.out.print("Press 'Q' to quit\n"); System.out.print("Looping is on\n"); do { try { ch = System.in.read(); } catch (IOException ioe) { } switch (ch) { case '1': // Stop source al.sourceStop(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceStop source 0 : ", error); // Attach new buffer al.sourcei(source[0],AL.BUFFER, buffers[6]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 0 AL_BUFFER buffer 6 (stereo) : \n", error); // Set volume al.sourcef(source[0],AL.GAIN,0.5f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 0 AL_GAIN : \n", error); // Set looping al.sourcei(source[0],AL.LOOPING,bLoop); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 0 AL_LOOPING true: \n", error); // Play source al.sourcePlay(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcePlay source 0 : ", error); break; case '2': // Stop source al.sourceStop(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceStop source 0 : ", error); // Attach new buffer al.sourcei(source[0],AL.BUFFER, buffers[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 0 AL_BUFFER buffer 0 (mono) : \n", error); // Set 3D position al.sourcefv(source[0],AL.POSITION, Sys.getDirectBufferAddress(source0Pos)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcefv 0 AL_POSITION : \n", error); // Set 3D velocity al.sourcefv(source[0],AL.VELOCITY, Sys.getDirectBufferAddress(source0Vel)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcefv 0 AL_VELOCITY : \n", error); // Set volume to full al.sourcef(source[0],AL.GAIN,1.0f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 0 AL_GAIN : \n", error); // Set Looping al.sourcei(source[0],AL.LOOPING,bLoop); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 0 AL_LOOPING : \n", error); // Play source al.sourcePlay(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcePlay source 0 : ", error); break; case '3': al.sourceStop(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceStop source 0 : ", error); break; case '4': al.sourceStop(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceStop Source 0 : ", error); // Attach NULL buffer to source to clear everything al.sourcei(source[0], AL.BUFFER, 0); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei AL_BUFFER (NULL) : ", error); al.sourceQueueBuffers(source[0], 2, buffers); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceQueueBuffers 2 (stereo) : ", error); // Set Looping al.sourcei(source[0],AL.LOOPING,bLoop); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 0 AL_LOOPING : \n", error); al.sourcePlay(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcePlay Source 0 : ", error); break; case '5': //yes, this causes a invalid operation - so does the original :/ al.sourceUnqueueBuffers(source[0], 2, buffers); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceUnqueueBuffers 2 (stereo) : ", error); break; case '6': if (bLoop == AL.FALSE) { System.out.print("Looping is off\n"); bLoop = AL.FALSE; } else { System.out.print("Looping is on \n"); bLoop = AL.TRUE; } al.sourcei(source[0], AL.LOOPING, bLoop); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 0 AL_LOOPING : \n", error); break; case '0': // Retrieve number of buffers in queue al.getSourcei(source[0], AL.BUFFERS_QUEUED, Sys.getDirectBufferAddress(BuffersInQueue)); // Retrieve number of processed buffers al.getSourcei(source[0], AL.BUFFERS_PROCESSED, Sys.getDirectBufferAddress(BuffersProcessed)); // Retrieve current buffer al.getSourcei(source[0], AL.BUFFER, Sys.getDirectBufferAddress(Buffer)); int address = Buffer.getInt(); if (address == buffers[0]) address = 6; else if (address == buffers[1]) address = 6; else address = 0; System.out.print("Current Buffer is " + address + ", " + BuffersInQueue.getInt() + " Buffers in queue, " + BuffersProcessed.getInt() + " Processed\n"); Buffer.clear(); BuffersProcessed.clear(); BuffersInQueue.clear(); break; } } while (ch != 'Q'); // Release resources al.sourceStop(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceStop : ", error); al.deleteSources(1, source); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alDeleteSources 2 : ", error); }
5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/f85aaf6b019e121ae356134303adfe86ac9476bb/ALTest.java/clean/src/java/org/lwjgl/openal/test/ALTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 77, 67, 55, 22854, 4709, 1435, 95, 474, 202, 1636, 31, 474, 8526, 3168, 33, 2704, 474, 63, 21, 15533, 474, 8526, 18587, 3809, 414, 33, 2704, 474, 63, 22, 15533, 12242, 13699, 382, 3183, 33, 12242, 18, 16247, 5368, 12, 24, 1769, 13699, 382, 3183, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 12242, 13699, 13533, 33, 12242, 18, 16247, 5368, 12, 24, 1769, 13699, 13533, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 12242, 1892, 33, 12242, 18, 16247, 5368, 12, 24, 1769, 1892, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 474, 202, 343, 29711, 21, 31, 474, 70, 6452, 33, 1013, 18, 18724, 31, 3216, 13699, 552, 20, 1616, 33, 12242, 18, 16247, 5368, 12, 2138, 1769, 3168, 20, 1616, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 3168, 20, 1616, 18, 458, 4723, 12, 22, 18, 20, 74, 1769, 3168, 20, 1616, 18, 458, 4723, 12, 20, 18, 20, 74, 1769, 3168, 20, 1616, 18, 458, 4723, 19236, 22, 18, 20, 74, 1769, 3216, 13699, 552, 20, 58, 292, 33, 12242, 18, 16247, 5368, 12, 2138, 1769, 3168, 20, 58, 292, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 3168, 20, 58, 292, 18, 458, 4723, 12, 20, 18, 20, 74, 1769, 3168, 20, 58, 292, 18, 458, 4723, 12, 20, 18, 20, 74, 1769, 3168, 20, 58, 292, 18, 458, 4723, 12, 20, 18, 20, 74, 1769, 287, 18, 4507, 8628, 12, 21, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 77, 67, 55, 22854, 4709, 1435, 95, 474, 202, 1636, 31, 474, 8526, 3168, 33, 2704, 474, 63, 21, 15533, 474, 8526, 18587, 3809, 414, 33, 2704, 474, 63, 22, 15533, 12242, 13699, 382, 3183, 33, 12242, 18, 16247, 5368, 12, 24, 1769, 13699, 382, 3183, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 12242, 13699, 13533, 33, 12242, 18, 16247, 5368, 12, 24, 1769, 13699, 13533, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 12242, 1892, 33, 12242, 18, 16247, 5368, 12, 24, 1769, 1892, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 474, 202, 343, 29711, 21, 31, 474, 70, 6452, 33, 1013, 18, 18724, 31, 3216, 13699, 552, 20, 1616, 33, 2 ]
doStop(); handleNewShift = shift; handleNewLibrary = false; checkModified(HANDLE_NEW); }});
try { if (!sketch.handleRun(new Target( System.getProperty("user.dir") + File.separator + "lib" + File.separator + "targets", Preferences.get("build.target")))) return; watcher = new RunButtonWatcher(); message("Done compiling."); if(watcher != null) watcher.stop(); } catch (RunnerException e) { message("Error compiling..."); error(e); } catch (Exception e) { e.printStackTrace(); } }});
public void run() { doStop(); handleNewShift = shift; handleNewLibrary = false; checkModified(HANDLE_NEW); }});
28828 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28828/b8923cfeee58eb44e10777e724bb177e6a77b146/Editor.java/clean/app/Editor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 741, 4947, 5621, 1850, 1640, 1908, 10544, 273, 4654, 31, 1850, 1640, 1908, 9313, 273, 629, 31, 1850, 866, 4575, 12, 23056, 67, 12917, 1769, 3639, 10523, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 741, 4947, 5621, 1850, 1640, 1908, 10544, 273, 4654, 31, 1850, 1640, 1908, 9313, 273, 629, 31, 1850, 866, 4575, 12, 23056, 67, 12917, 1769, 3639, 10523, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Module.TEMPLATE_PARAMETER_NAME_SPACE ).getElements( );
Module.TEMPLATE_PARAMETER_NAME_SPACE ).getElements( IModuleNameSpace.NATIVE_LEVEL );
List getAllTemplateParameterDefinitions( ) { List elementList = module.getModuleNameSpace( Module.TEMPLATE_PARAMETER_NAME_SPACE ).getElements( ); return generateHandleList( elementList ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/befe72824026676910f62e32a7e632d50b61a640/ModuleHandle.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleHandle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 682, 5514, 2283, 1662, 7130, 12, 262, 202, 95, 202, 202, 682, 930, 682, 273, 1605, 18, 588, 22542, 3819, 12, 9506, 202, 3120, 18, 12205, 67, 9819, 67, 1985, 67, 6616, 262, 18, 588, 3471, 12, 11272, 202, 202, 2463, 2103, 3259, 682, 12, 930, 682, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 682, 5514, 2283, 1662, 7130, 12, 262, 202, 95, 202, 202, 682, 930, 682, 273, 1605, 18, 588, 22542, 3819, 12, 9506, 202, 3120, 18, 12205, 67, 9819, 67, 1985, 67, 6616, 262, 18, 588, 3471, 12, 11272, 202, 202, 2463, 2103, 3259, 682, 12, 930, 682, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (int nX = 0; nX < array.length; nX ++) { final IPartListener l = (IPartListener)array[nX];
for (int i = 0; i < array.length; i ++) { final IPartListener l = (IPartListener)array[i];
public void firePartClosed(final IWorkbenchPart part) { Object [] array = listeners.getListeners(); for (int nX = 0; nX < array.length; nX ++) { final IPartListener l = (IPartListener)array[nX]; Platform.run(new SafeRunnable() { public void run() { l.partClosed(part); } public void handleException(Throwable e) { super.handleException(e); //If and unexpected exception happens, remove it //to make sure the workbench keeps running. removePartListener(l); } }); }}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/5ea8056f546492c6a8fb89e9a38be3b72c2a3298/PartListenerList.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartListenerList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 4452, 1988, 7395, 12, 6385, 467, 2421, 22144, 1988, 1087, 13, 288, 202, 921, 5378, 526, 273, 4679, 18, 588, 5583, 5621, 202, 1884, 261, 474, 290, 60, 273, 374, 31, 290, 60, 411, 526, 18, 2469, 31, 290, 60, 965, 13, 288, 202, 202, 6385, 467, 1988, 2223, 328, 273, 261, 45, 1988, 2223, 13, 1126, 63, 82, 60, 15533, 202, 202, 8201, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 80, 18, 2680, 7395, 12, 2680, 1769, 1082, 202, 97, 1082, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 9506, 202, 9565, 18, 4110, 503, 12, 73, 1769, 9506, 202, 759, 2047, 471, 9733, 1520, 10555, 16, 1206, 518, 9506, 202, 759, 869, 1221, 3071, 326, 1440, 22144, 20948, 3549, 18, 9506, 202, 4479, 1988, 2223, 12, 80, 1769, 1082, 202, 97, 202, 202, 22938, 202, 9090, 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, 1071, 918, 4452, 1988, 7395, 12, 6385, 467, 2421, 22144, 1988, 1087, 13, 288, 202, 921, 5378, 526, 273, 4679, 18, 588, 5583, 5621, 202, 1884, 261, 474, 290, 60, 273, 374, 31, 290, 60, 411, 526, 18, 2469, 31, 290, 60, 965, 13, 288, 202, 202, 6385, 467, 1988, 2223, 328, 273, 261, 45, 1988, 2223, 13, 1126, 63, 82, 60, 15533, 202, 202, 8201, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 80, 18, 2680, 7395, 12, 2680, 1769, 1082, 202, 97, 1082, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 9506, 202, 9565, 18, 4110, 503, 12, 73, 1769, 9506, 202, 759, 2047, 471, 9733, 1520, 2 ]
Coords[] coords = Coords.intervening(a, b);
ArrayList<Coords> coords = Coords.intervening(a, b);
public static int getFriendlyECCMFields(Entity ae, Coords a, Coords b) { if (a == null || b == null) return 0; //Start at zero nothing protecting the mech. int ECCMCount = 0; if ( ae.hasActiveECCM() ) ECCMCount++; // Only grab enemies with active ECM Vector vEnemyCoords = new Vector(16); Vector vECMRanges = new Vector(16); for (Enumeration e = ae.game.getEntities(); e.hasMoreElements();) { Entity ent = (Entity) e.nextElement(); Coords entPos = ent.getPosition(); if (!ent.isEnemyOf(ae) && ent.hasActiveECCM() && entPos != null && !ent.equals(ae)) { // TODO : only use the best ECM range in a given Coords. vEnemyCoords.addElement(entPos); vECMRanges.addElement(new Integer(ent.getECMRange())); } // Check the ECM effects of the entity's passengers. Vector passengers = ent.getLoadedUnits(); Enumeration iter = passengers.elements(); while (iter.hasMoreElements()) { Entity other = (Entity) iter.nextElement(); if (!other.isEnemyOf(ae) && other.hasActiveECCM() && entPos != null && !other.equals(ae)) { // TODO : only use the best ECM range in a given Coords. vEnemyCoords.addElement(entPos); vECMRanges.addElement(new Integer(other.getECMRange())); } } } // none? get out of here if (vEnemyCoords.size() == 0) return ECCMCount; // get intervening Coords. See the comments for intervening() and // losDivided() Coords[] coords = Coords.intervening(a, b); boolean bDivided = (a.degree(b) % 60 == 30); Enumeration ranges = vECMRanges.elements(); for (Enumeration e = vEnemyCoords.elements(); e.hasMoreElements();) { Coords c = (Coords) e.nextElement(); int range = ((Integer) ranges.nextElement()).intValue(); int nLastDist = -1; // loop through intervening hexes and see if any of them are within // range for (int x = 0; x < coords.length; x++) { int nDist = c.distance(coords[x]); if (nDist <= range){ ECCMCount++; break; } // optimization. if we're getting farther away, forget it // but ignore the doubled-up hexes intervening() adds along // hexlines if (!bDivided || (x % 3 == 0)) { if (nLastDist == -1) { nLastDist = nDist; } else if (nDist > nLastDist) { break; } } } } return ECCMCount; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c2a90fca192b338ebf5162499c52b535aed6382b/Compute.java/buggy/megamek/src/megamek/common/Compute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 2812, 9258, 41, 6743, 49, 2314, 12, 1943, 14221, 16, 10320, 87, 279, 16, 10320, 87, 324, 13, 288, 3639, 309, 261, 69, 422, 446, 747, 324, 422, 446, 13, 5411, 327, 374, 31, 3639, 368, 1685, 622, 3634, 5083, 17151, 310, 326, 1791, 343, 18, 3639, 509, 512, 6743, 49, 1380, 273, 374, 31, 3639, 309, 261, 14221, 18, 5332, 3896, 41, 6743, 49, 1435, 262, 5411, 512, 6743, 49, 1380, 9904, 31, 3639, 368, 5098, 11086, 570, 351, 606, 598, 2695, 7773, 49, 3639, 5589, 331, 664, 351, 93, 13089, 273, 394, 5589, 12, 2313, 1769, 3639, 5589, 331, 7228, 49, 9932, 273, 394, 5589, 12, 2313, 1769, 3639, 364, 261, 21847, 425, 273, 14221, 18, 13957, 18, 588, 8108, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 3887, 3281, 273, 261, 1943, 13, 425, 18, 4285, 1046, 5621, 5411, 10320, 87, 3281, 1616, 273, 3281, 18, 588, 2555, 5621, 5411, 309, 16051, 319, 18, 291, 664, 351, 93, 951, 12, 8906, 13, 597, 3281, 18, 5332, 3896, 41, 6743, 49, 1435, 597, 3281, 1616, 480, 446, 10792, 597, 401, 319, 18, 14963, 12, 8906, 3719, 288, 7734, 368, 2660, 294, 1338, 999, 326, 3796, 7773, 49, 1048, 316, 279, 864, 10320, 87, 18, 7734, 331, 664, 351, 93, 13089, 18, 1289, 1046, 12, 319, 1616, 1769, 7734, 331, 7228, 49, 9932, 18, 1289, 1046, 12, 2704, 2144, 12, 319, 18, 588, 7228, 49, 2655, 1435, 10019, 5411, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 2812, 9258, 41, 6743, 49, 2314, 12, 1943, 14221, 16, 10320, 87, 279, 16, 10320, 87, 324, 13, 288, 3639, 309, 261, 69, 422, 446, 747, 324, 422, 446, 13, 5411, 327, 374, 31, 3639, 368, 1685, 622, 3634, 5083, 17151, 310, 326, 1791, 343, 18, 3639, 509, 512, 6743, 49, 1380, 273, 374, 31, 3639, 309, 261, 14221, 18, 5332, 3896, 41, 6743, 49, 1435, 262, 5411, 512, 6743, 49, 1380, 9904, 31, 3639, 368, 5098, 11086, 570, 351, 606, 598, 2695, 7773, 49, 3639, 5589, 331, 664, 351, 93, 13089, 273, 394, 5589, 12, 2313, 1769, 3639, 5589, 331, 7228, 49, 9932, 273, 394, 5589, 12, 2313, 1769, 3639, 364, 261, 21847, 425, 2 ]
if (jj_scan_token(PROTECTED)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
Token xsp; xsp = jj_scanpos; if (jj_3R_117()) { jj_scanpos = xsp; if (jj_3R_118()) { jj_scanpos = xsp; if (jj_3R_119()) { jj_scanpos = xsp; if (jj_3R_120()) { jj_scanpos = xsp; if (jj_3R_121()) { jj_scanpos = xsp; if (jj_3R_122()) { jj_scanpos = xsp; if (jj_3R_123()) return true; } } } } } }
final private boolean jj_3R_77() { if (jj_scan_token(PROTECTED)) 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/d42ce7980bc2030e88ae13be5cf1b864eee291da/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, 4700, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 3373, 26729, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 4700, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 3373, 26729, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
jsi.generateFunctionICode(cx, scope);
jsi.generateFunctionICode(cx);
private void generateNestedFunctions(Context cx, Scriptable scope) { int functionCount = scriptOrFn.getFunctionCount(); if (functionCount == 0) return; InterpreterData[] array = new InterpreterData[functionCount]; for (int i = 0; i != functionCount; i++) { FunctionNode def = scriptOrFn.getFunctionNode(i); Interpreter jsi = new Interpreter(); jsi.scriptOrFn = def; jsi.itsData = new InterpreterData(itsData.securityDomain, itsData.languageVersion); jsi.itsData.itsSourceFile = itsData.itsSourceFile; jsi.itsData.encodedSource = itsData.encodedSource; jsi.itsData.itsCheckThis = def.getCheckThis(); jsi.itsInFunctionFlag = true; jsi.generateFunctionICode(cx, scope); array[i] = jsi.itsData; } itsData.itsNestedFunctions = array; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/40f7554390dea10ea64bd490d09230d2c0814929/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 8649, 7503, 12, 1042, 9494, 16, 22780, 2146, 13, 565, 288, 3639, 509, 445, 1380, 273, 2728, 1162, 5372, 18, 588, 2083, 1380, 5621, 3639, 309, 261, 915, 1380, 422, 374, 13, 327, 31, 3639, 5294, 11599, 751, 8526, 526, 273, 394, 5294, 11599, 751, 63, 915, 1380, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 480, 445, 1380, 31, 277, 27245, 288, 5411, 4284, 907, 1652, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 77, 1769, 5411, 5294, 11599, 3828, 77, 273, 394, 5294, 11599, 5621, 5411, 3828, 77, 18, 4263, 1162, 5372, 273, 1652, 31, 5411, 3828, 77, 18, 1282, 751, 273, 394, 5294, 11599, 751, 12, 1282, 751, 18, 7462, 3748, 16, 4766, 2868, 2097, 751, 18, 4923, 1444, 1769, 5411, 3828, 77, 18, 1282, 751, 18, 1282, 31150, 273, 2097, 751, 18, 1282, 31150, 31, 5411, 3828, 77, 18, 1282, 751, 18, 10787, 1830, 273, 2097, 751, 18, 10787, 1830, 31, 5411, 3828, 77, 18, 1282, 751, 18, 1282, 1564, 2503, 273, 1652, 18, 588, 1564, 2503, 5621, 5411, 3828, 77, 18, 1282, 382, 2083, 4678, 273, 638, 31, 5411, 3828, 77, 18, 7163, 2083, 45, 1085, 12, 71, 92, 1769, 5411, 526, 63, 77, 65, 273, 3828, 77, 18, 1282, 751, 31, 3639, 289, 3639, 2097, 751, 18, 1282, 8649, 7503, 273, 526, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 8649, 7503, 12, 1042, 9494, 16, 22780, 2146, 13, 565, 288, 3639, 509, 445, 1380, 273, 2728, 1162, 5372, 18, 588, 2083, 1380, 5621, 3639, 309, 261, 915, 1380, 422, 374, 13, 327, 31, 3639, 5294, 11599, 751, 8526, 526, 273, 394, 5294, 11599, 751, 63, 915, 1380, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 480, 445, 1380, 31, 277, 27245, 288, 5411, 4284, 907, 1652, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 77, 1769, 5411, 5294, 11599, 3828, 77, 273, 394, 5294, 11599, 5621, 5411, 3828, 77, 18, 4263, 1162, 5372, 273, 1652, 31, 5411, 3828, 77, 18, 1282, 751, 273, 394, 5294, 11599, 751, 12, 1282, 751, 18, 2 ]
public void startVisitControl(ControlInfo controlInfo) { if (controlInfo instanceof RepeatControlInfo) { currentControlsState.updateRepeatIndex(((RepeatControlInfo) controlInfo).getRepeatId(), 1); } }
public boolean startVisitControl(Element controlElement, String effectiveControlId) { if (controlElement.getName().equals("repeat")) { if (!found) { if (repeatId.equals(controlElement.attributeValue("id"))) found = true; } else { result.add(controlElement.attributeValue("id")); } } return true; }
public void startVisitControl(ControlInfo controlInfo) { if (controlInfo instanceof RepeatControlInfo) { // Found child repeat currentControlsState.updateRepeatIndex(((RepeatControlInfo) controlInfo).getRepeatId(), 1); } }
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/31466edf93b1e9f1dce66d80b92bc7174e1a0bc9/XFormsControls.java/buggy/src/java/org/orbeon/oxf/xforms/XFormsControls.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 11794, 1071, 918, 787, 10432, 3367, 12, 3367, 966, 3325, 966, 13, 288, 27573, 309, 261, 7098, 966, 1276, 20742, 3367, 966, 13, 288, 4766, 565, 368, 10750, 1151, 7666, 4766, 565, 783, 16795, 1119, 18, 2725, 16750, 1016, 12443, 12, 16750, 3367, 966, 13, 3325, 966, 2934, 588, 16750, 548, 9334, 404, 1769, 27573, 289, 18701, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11794, 1071, 918, 787, 10432, 3367, 12, 3367, 966, 3325, 966, 13, 288, 27573, 309, 261, 7098, 966, 1276, 20742, 3367, 966, 13, 288, 4766, 565, 368, 10750, 1151, 7666, 4766, 565, 783, 16795, 1119, 18, 2725, 16750, 1016, 12443, 12, 16750, 3367, 966, 13, 3325, 966, 2934, 588, 16750, 548, 9334, 404, 1769, 27573, 289, 18701, 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 ]
public Collection getEntityAuthzGroups(Reference ref)
public Collection getEntityAuthzGroups(Reference ref, String userId)
public Collection getEntityAuthzGroups(Reference ref) { // double check that it's mine if (APPLICATION_ID != ref.getType()) return null; Collection rv = new Vector(); // for events: // if access set to SITE (or PUBLIC), use the event, calendar and site authzGroups. // if access set to GROUPED, use the event, and the groups, but not the calendar or site authzGroups. // if the user has SECURE_ALL_GROUPS in the context, ignore GROUPED access and treat as if SITE // for Calendars: use the calendar and site authzGroups. try { // for event if (REF_TYPE_EVENT.equals(ref.getSubType())) { // event rv.add(ref.getReference()); boolean grouped = false; Collection groups = null; // check SECURE_ALL_GROUPS - if not, check if the event has groups or not // TODO: the last param needs to be a ContextService.getRef(ref.getContext())... or a ref.getContextAuthzGroup() -ggolden if (!AuthzGroupService.isAllowed(SessionManager.getCurrentSessionUserId(), SECURE_ALL_GROUPS, SiteService.siteReference(ref.getContext()))) { // get the calendar to get the message to get group information String calendarRef = calendarReference(ref.getContext(), ref.getContainer()); Calendar c = findCalendar(calendarRef); if (c != null) { CalendarEvent e = ((BaseCalendarEdit) c).findEvent(ref.getId()); if (e != null) { grouped = EventAccess.GROUPED == e.getAccess(); groups = e.getGroups(); } } } if (grouped) { // groups rv.addAll(groups); } // not grouped else { // calendar rv.add(calendarReference(ref.getContext(), ref.getContainer())); // site ref.addSiteContextAuthzGroup(rv); } } // for calendar else { // calendar rv.add(calendarReference(ref.getContext(), ref.getId())); // site ref.addSiteContextAuthzGroup(rv); } } catch (Throwable e) { M_log.warn("getEntityAuthzGroups(): " + e); } return rv; }
52989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52989/d0dccadc6d5a01bbbdb24e7e7c4ccb33b1f4990f/BaseCalendarService.java/clean/calendar-impl/impl/src/java/org/sakaiproject/calendar/impl/BaseCalendarService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2200, 6352, 1730, 94, 3621, 12, 2404, 1278, 13, 202, 95, 202, 202, 759, 1645, 866, 716, 518, 1807, 312, 558, 202, 202, 430, 261, 25039, 67, 734, 480, 1278, 18, 588, 559, 10756, 327, 446, 31, 202, 202, 2532, 5633, 273, 394, 5589, 5621, 202, 202, 759, 364, 2641, 30, 202, 202, 759, 309, 2006, 444, 358, 23832, 261, 280, 17187, 3631, 999, 326, 871, 16, 5686, 471, 2834, 18686, 3621, 18, 202, 202, 759, 309, 2006, 444, 358, 611, 1457, 57, 12120, 16, 999, 326, 871, 16, 471, 326, 3252, 16, 1496, 486, 326, 5686, 578, 2834, 18686, 3621, 18, 202, 202, 759, 309, 326, 729, 711, 31418, 4830, 67, 4685, 67, 28977, 316, 326, 819, 16, 2305, 611, 1457, 57, 12120, 2006, 471, 10116, 487, 309, 23832, 202, 202, 759, 364, 5542, 87, 30, 999, 326, 5686, 471, 2834, 18686, 3621, 18, 202, 202, 698, 202, 202, 95, 1082, 202, 759, 364, 871, 1082, 202, 430, 261, 10771, 67, 2399, 67, 10454, 18, 14963, 12, 1734, 18, 588, 30511, 1435, 3719, 1082, 202, 95, 9506, 202, 759, 871, 9506, 202, 4962, 18, 1289, 12, 1734, 18, 588, 2404, 10663, 6862, 9506, 202, 6494, 10303, 273, 629, 31, 9506, 202, 2532, 3252, 273, 446, 31, 9506, 202, 759, 866, 31418, 4830, 67, 4685, 67, 28977, 300, 309, 486, 16, 866, 309, 326, 871, 711, 3252, 578, 486, 9506, 202, 759, 2660, 30, 326, 1142, 579, 4260, 358, 506, 279, 1772, 1179, 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, 2200, 6352, 1730, 94, 3621, 12, 2404, 1278, 13, 202, 95, 202, 202, 759, 1645, 866, 716, 518, 1807, 312, 558, 202, 202, 430, 261, 25039, 67, 734, 480, 1278, 18, 588, 559, 10756, 327, 446, 31, 202, 202, 2532, 5633, 273, 394, 5589, 5621, 202, 202, 759, 364, 2641, 30, 202, 202, 759, 309, 2006, 444, 358, 23832, 261, 280, 17187, 3631, 999, 326, 871, 16, 5686, 471, 2834, 18686, 3621, 18, 202, 202, 759, 309, 2006, 444, 358, 611, 1457, 57, 12120, 16, 999, 326, 871, 16, 471, 326, 3252, 16, 1496, 486, 326, 5686, 578, 2834, 18686, 3621, 18, 202, 202, 759, 309, 326, 729, 711, 31418, 4830, 67, 4685, 67, 28977, 316, 2 ]
formatChoicer.setEnabled( index == 1 ); formatTagsBar.setEnabled( index == 1 ); commonTagsBar.setEnabled( index == 1 );
formatChoicer.setEnabled( index != PLAIN_INDEX ); formatTagsBar.setEnabled( index != PLAIN_INDEX ); commonTagsBar.setEnabled( index != PLAIN_INDEX );
private void createToolBar( Composite composite ) { ToolBar toolBar = new ToolBar( composite, SWT.FLAT ); toolBar.setLayoutData( new GridData( ) ); ToolItem copy = new ToolItem( toolBar, SWT.NONE ); copy.setImage( ReportPlatformUIImages.getImage( ISharedImages.IMG_TOOL_COPY ) ); copy.setToolTipText( TOOL_TIP_TEXT_COPY ); copy.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { textEditor.copy( ); } } ); ToolItem cut = new ToolItem( toolBar, SWT.NONE ); cut.setImage( ReportPlatformUIImages.getImage( ISharedImages.IMG_TOOL_CUT ) ); cut.setToolTipText( TOOL_TIP_TEXT_CUT ); cut.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { textEditor.cut( ); } } ); ToolItem paste = new ToolItem( toolBar, SWT.NONE ); paste.setImage( ReportPlatformUIImages.getImage( ISharedImages.IMG_TOOL_PASTE ) ); paste.setToolTipText( TOOL_TIP_TEXT_PASTE ); paste.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { textEditor.paste( ); } } ); ToolItem delete = new ToolItem( toolBar, SWT.NONE ); delete.setImage( ReportPlatformUIImages.getImage( ISharedImages.IMG_TOOL_DELETE ) ); delete.setToolTipText( TOOL_TIP_TEXT_DELETE ); delete.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { if ( textEditor.getSelectionCount( ) > 0 ) { textEditor.insert( "" ); //$NON-NLS-1$ } } } ); ToolItem undo = new ToolItem( toolBar, SWT.NONE ); undo.setImage( ReportPlatformUIImages.getImage( ISharedImages.IMG_TOOL_UNDO ) ); undo.setToolTipText( TOOL_TIP_TEXT_UNDO ); undo.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { textViewer.doOperation( ITextOperationTarget.UNDO ); } } ); ToolItem redo = new ToolItem( toolBar, SWT.NONE ); redo.setImage( ReportPlatformUIImages.getImage( ISharedImages.IMG_TOOL_REDO ) ); redo.setToolTipText( TOOL_TIP_TEXT_REDO ); redo.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { textViewer.doOperation( ITextOperationTarget.REDO ); } } ); // vertical separator between toolItems and combo new ToolItem( toolBar, SWT.SEPARATOR ); textTypeChoicer = new CCombo( composite, SWT.FLAT | SWT.READ_ONLY ); GridData data = new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING ); data.widthHint = textTypeChoicer.computeSize( SWT.DEFAULT, SWT.DEFAULT ).x + 100; textTypeChoicer.setLayoutData( data ); textTypeChoicer.setBackground( PlatformUI.getWorkbench( ) .getDisplay( ) .getSystemColor( SWT.COLOR_LIST_BACKGROUND ) ); textTypeChoicer.setItems( new String[]{ Messages.getString( "TextEditDialog.choice.plainText" ), Messages.getString( "TextEditDialog.choice.HTML" ) //$NON-NLS-1$ //$NON-NLS-2$ } ); textTypeChoicer.select( handle.getContentType( ) .equals( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML ) ? 1 : 0 ); textTypeChoicer.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { final int index = textTypeChoicer.getSelectionIndex( ); formatChoicer.setEnabled( index == 1 ); formatTagsBar.setEnabled( index == 1 ); commonTagsBar.setEnabled( index == 1 ); // set the enablement of all html tags when the text type is // changed. ToolItem[] toolItems = formatTagsBar.getItems( ); ToolItem[] commonTags = commonTagsBar.getItems( ); for ( int i = 1; i < toolItems.length; i++ ) { toolItems[i].setEnabled( formatTagsBar.isEnabled( ) ); } for ( int i = 1; i < commonTags.length; i++ ) { commonTags[i].setEnabled( commonTagsBar.isEnabled( ) ); } textEditor.setFocus( ); } } ); // create common tags on the right of the text type choicer. commonTagsBar = new ToolBar( composite, SWT.FLAT ); commonTagsBar.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING ) ); commonTagsBar.setEnabled( textTypeChoicer.getSelectionIndex( ) == 1 ); createCommonTags( commonTagsBar ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7588db38847b4517c5fe1a854054106d86442fd8/TextEditor.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/TextEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 6364, 5190, 12, 14728, 9635, 262, 202, 95, 202, 202, 6364, 5190, 5226, 5190, 273, 394, 13288, 5190, 12, 9635, 16, 348, 8588, 18, 42, 12190, 11272, 202, 202, 6738, 5190, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 262, 11272, 202, 202, 6364, 1180, 1610, 273, 394, 13288, 1180, 12, 5226, 5190, 16, 348, 8588, 18, 9826, 11272, 202, 202, 3530, 18, 542, 2040, 12, 8706, 8201, 5370, 8946, 18, 588, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 24875, 262, 11272, 202, 202, 3530, 18, 542, 29250, 1528, 12, 8493, 1741, 67, 56, 2579, 67, 5151, 67, 24875, 11272, 202, 202, 3530, 18, 1289, 6233, 2223, 12, 394, 12977, 4216, 12, 262, 288, 1082, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 1082, 202, 95, 9506, 202, 955, 6946, 18, 3530, 12, 11272, 1082, 202, 97, 202, 202, 97, 11272, 202, 202, 6364, 1180, 6391, 273, 394, 13288, 1180, 12, 5226, 5190, 16, 348, 8588, 18, 9826, 11272, 202, 202, 5150, 18, 542, 2040, 12, 8706, 8201, 5370, 8946, 18, 588, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 39, 1693, 262, 11272, 202, 202, 5150, 18, 542, 29250, 1528, 12, 8493, 1741, 67, 56, 2579, 67, 5151, 67, 39, 1693, 11272, 202, 202, 5150, 18, 1289, 6233, 2223, 12, 394, 12977, 4216, 12, 262, 288, 1082, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 1082, 202, 95, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 6364, 5190, 12, 14728, 9635, 262, 202, 95, 202, 202, 6364, 5190, 5226, 5190, 273, 394, 13288, 5190, 12, 9635, 16, 348, 8588, 18, 42, 12190, 11272, 202, 202, 6738, 5190, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 262, 11272, 202, 202, 6364, 1180, 1610, 273, 394, 13288, 1180, 12, 5226, 5190, 16, 348, 8588, 18, 9826, 11272, 202, 202, 3530, 18, 542, 2040, 12, 8706, 8201, 5370, 8946, 18, 588, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 24875, 262, 11272, 202, 202, 3530, 18, 542, 29250, 1528, 12, 8493, 1741, 67, 56, 2579, 67, 5151, 67, 24875, 11272, 202, 202, 3530, 18, 1289, 6233, 2223, 12, 394, 2 ]