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
public Explanation explain (IndexReader ir, int i) throws IOException { return weight.explain (ir, i); }
public Explanation explain (IndexReader ir, int i) throws IOException { Explanation inner = weight.explain (ir, i); Filter f = FilteredQuery.this.filter; BitSet matches = f.bits(ir); if (matches.get(i)) return inner; Explanation result = new Explanation (0.0f, "failure to match filter: " + f.toString()); result.addDetail(inner); return result; }
protected Weight createWeight (final Searcher searcher) throws IOException { final Weight weight = query.createWeight (searcher); final Similarity similarity = query.getSimilarity(searcher); return new Weight() { // pass these methods through to enclosed query's weight public float getValue() { return weight.getValue(); } public float sumOfSquaredWeights() throws IOException { return weight.sumOfSquaredWeights(); } public void normalize (float v) { weight.normalize(v); } public Explanation explain (IndexReader ir, int i) throws IOException { return weight.explain (ir, i); } // return this query public Query getQuery() { return FilteredQuery.this; } // return a filtering scorer public Scorer scorer (IndexReader indexReader) throws IOException { final Scorer scorer = weight.scorer (indexReader); final BitSet bitset = filter.bits (indexReader); return new Scorer (similarity) { public boolean next() throws IOException { do { if (! scorer.next()) { return false; } } while (! bitset.get(scorer.doc())); /* When skipTo() is allowed on scorer it should be used here * in combination with bitset.nextSetBit(...) * See the while loop in skipTo() below. */ return true; } public int doc() { return scorer.doc(); } public boolean skipTo(int i) throws IOException { if (! scorer.skipTo(i)) { return false; } while (! bitset.get(scorer.doc())) { int nextFiltered = bitset.nextSetBit(scorer.doc() + 1); if (nextFiltered == -1) { return false; } else if (! scorer.skipTo(nextFiltered)) { return false; } } return true; } public float score() throws IOException { return scorer.score(); } // add an explanation about whether the document was filtered public Explanation explain (int i) throws IOException { Explanation exp = scorer.explain (i); if (bitset.get(i)) exp.setDescription ("allowed by filter: "+exp.getDescription()); else exp.setDescription ("removed by filter: "+exp.getDescription()); return exp; } }; } }; }
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/c5cd491839ccd97c74f772d37b24afaf10e30e09/FilteredQuery.java/clean/src/java/org/apache/lucene/search/FilteredQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 15437, 752, 6544, 261, 6385, 5167, 264, 27349, 13, 1216, 1860, 288, 565, 727, 15437, 3119, 273, 843, 18, 2640, 6544, 261, 3072, 264, 1769, 565, 727, 22967, 560, 16416, 273, 843, 18, 588, 16891, 560, 12, 3072, 264, 1769, 565, 327, 394, 15437, 1435, 288, 1377, 368, 1342, 4259, 2590, 3059, 358, 25636, 843, 1807, 3119, 1377, 1071, 1431, 2366, 1435, 288, 327, 3119, 18, 24805, 5621, 289, 1377, 1071, 1431, 2142, 951, 20888, 16595, 1435, 1216, 1860, 288, 327, 3119, 18, 1364, 951, 20888, 16595, 5621, 289, 1377, 1071, 918, 3883, 261, 5659, 331, 13, 288, 3119, 18, 12237, 12, 90, 1769, 289, 1377, 1071, 1312, 15854, 19765, 261, 1016, 2514, 9482, 16, 509, 277, 13, 1216, 1860, 288, 1312, 15854, 3443, 273, 3119, 18, 338, 7446, 261, 481, 16, 277, 1769, 4008, 284, 273, 4008, 329, 1138, 18, 2211, 18, 2188, 31, 21199, 1885, 273, 284, 18, 6789, 12, 481, 1769, 309, 261, 8436, 18, 588, 12, 77, 3719, 327, 3443, 31, 1312, 15854, 563, 273, 394, 1312, 15854, 261, 20, 18, 20, 74, 16, 315, 12251, 358, 845, 1034, 30, 315, 397, 284, 18, 10492, 10663, 563, 18, 1289, 6109, 12, 7872, 1769, 327, 563, 31, 289, 1377, 368, 327, 333, 843, 1377, 1071, 2770, 6041, 1435, 288, 327, 4008, 329, 1138, 18, 2211, 31, 289, 1377, 368, 327, 279, 11346, 888, 8922, 4202, 1071, 2850, 8922, 888, 8922, 261, 1016, 2514, 770, 2514, 13, 1216, 1860, 288, 3639, 727, 2850, 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, 15437, 752, 6544, 261, 6385, 5167, 264, 27349, 13, 1216, 1860, 288, 565, 727, 15437, 3119, 273, 843, 18, 2640, 6544, 261, 3072, 264, 1769, 565, 727, 22967, 560, 16416, 273, 843, 18, 588, 16891, 560, 12, 3072, 264, 1769, 565, 327, 394, 15437, 1435, 288, 1377, 368, 1342, 4259, 2590, 3059, 358, 25636, 843, 1807, 3119, 1377, 1071, 1431, 2366, 1435, 288, 327, 3119, 18, 24805, 5621, 289, 1377, 1071, 1431, 2142, 951, 20888, 16595, 1435, 1216, 1860, 288, 327, 3119, 18, 1364, 951, 20888, 16595, 5621, 289, 1377, 1071, 918, 3883, 261, 5659, 331, 13, 288, 3119, 18, 12237, 12, 90, 1769, 289, 1377, 1071, 1312, 15854, 19765, 261, 1016, 2514, 9482, 16, 509, 277, 2 ]
AST tmp2307_AST_in = (AST)_t;
AST tmp2311_AST_in = (AST)_t;
public final void function_param_arg(AST _t) throws RecognitionException { AST function_param_arg_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TABLE: { AST tmp2298_AST_in = (AST)_t; match(_t,TABLE); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FOR: { AST tmp2299_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); break; } case RECORD_NAME: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp2300_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp2301_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case 3: case BIND: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BIND: { AST tmp2302_AST_in = (AST)_t; match(_t,BIND); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } break; } case TABLEHANDLE: { AST tmp2303_AST_in = (AST)_t; match(_t,TABLEHANDLE); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FOR: { AST tmp2304_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp2305_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp2306_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case 3: case BIND: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BIND: { AST tmp2307_AST_in = (AST)_t; match(_t,BIND); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } break; } case DATASET: case DATASETHANDLE: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DATASET: { AST tmp2308_AST_in = (AST)_t; match(_t,DATASET); _t = _t.getNextSibling(); break; } case DATASETHANDLE: { AST tmp2309_AST_in = (AST)_t; match(_t,DATASETHANDLE); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp2310_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp2311_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case 3: case BIND: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BIND: { AST tmp2312_AST_in = (AST)_t; match(_t,BIND); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } break; } case CHARACTER: case COMHANDLE: case DATE: case DECIMAL: case HANDLE: case INTEGER: case LOGICAL: case MEMPTR: case RAW: case RECID: case ROWID: case WIDGETHANDLE: case ID: case DATETIME: case DATETIMETZ: case LONGCHAR: case CLASS: case TYPE_NAME: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ID: { AST tmp2313_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); AST tmp2314_AST_in = (AST)_t; match(_t,AS); _t = _t.getNextSibling(); break; } case CHARACTER: case COMHANDLE: case DATE: case DECIMAL: case HANDLE: case INTEGER: case LOGICAL: case MEMPTR: case RAW: case RECID: case ROWID: case WIDGETHANDLE: case DATETIME: case DATETIMETZ: case LONGCHAR: case CLASS: case TYPE_NAME: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CLASS: { AST tmp2315_AST_in = (AST)_t; match(_t,CLASS); _t = _t.getNextSibling(); AST tmp2316_AST_in = (AST)_t; match(_t,TYPE_NAME); _t = _t.getNextSibling(); break; } case CHARACTER: case COMHANDLE: case DATE: case DECIMAL: case HANDLE: case INTEGER: case LOGICAL: case MEMPTR: case RAW: case RECID: case ROWID: case WIDGETHANDLE: case DATETIME: case DATETIMETZ: case LONGCHAR: case TYPE_NAME: { datatype_var(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXTENT: { extentphrase(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 445, 67, 891, 67, 3175, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 445, 67, 891, 67, 3175, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 7567, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3787, 10689, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 7775, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 95, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 12108, 30, 1082, 202, 95, 9506, 202, 9053, 1853, 3787, 2733, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 7473, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 24346, 67, 1985, 30, 1082, 202, 95, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 1886, 30, 1082, 202, 95, 9506, 202, 12849, 394, 17114, 24899, 88, 1769, 1082, 202, 97, 1082, 202, 97, 1082, 202, 97, 1082, 202, 9053, 1853, 4366, 713, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 445, 67, 891, 67, 3175, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 445, 67, 891, 67, 3175, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 7567, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3787, 10689, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 7775, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 2 ]
public void paint( Graphics g ) { super.paint( g ); if ( at == null ) { at = new AffineTransform( ); at.setToIdentity( );
public void paint(Graphics g) { super.paint(g); if (at == null) { at = new AffineTransform(); at.setToIdentity();
public void paint( Graphics g ) { super.paint( g ); if ( at == null ) { at = new AffineTransform( ); at.setToIdentity( ); } Graphics2D g2 = ( Graphics2D ) g; try { // set the size EMFHeader header = is.readHeader( ); AffineTransform toCenterAt = new AffineTransform( ); toCenterAt.concatenate( at ); Rectangle bounds = header.getBounds( ); System.out.println( "bounds " + bounds ); toCenterAt.translate( 50, 50); // header.getBounds( ).width / 2, header.getBounds( ).height / 2 ); g2.transform( at ); g2.drawLine( -100, 0, 100, 0 ); g2.drawLine( 0, -100, 0, 100 ); at = toCenterAt; g2.draw( bounds ); System.out.println( "device " + header.getDevice( ) ); Tag tag = is.readTag( ); while ( tag != null ) { System.out.println( tag ); map( tag, g2 ); tag = is.readTag( ); } } catch ( IOException ioexp ) { ioexp.printStackTrace( ); } }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/de061d5977b00047b242b52aea5bc47538b063c5/EMFDisplay.java/buggy/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 12, 16830, 314, 262, 288, 3639, 2240, 18, 84, 1598, 12, 314, 11272, 3639, 309, 261, 622, 422, 446, 262, 288, 5411, 622, 273, 394, 23906, 558, 4059, 12, 225, 11272, 5411, 622, 18, 542, 774, 4334, 12, 225, 11272, 3639, 289, 3639, 16830, 22, 40, 314, 22, 273, 261, 16830, 22, 40, 262, 314, 31, 3639, 775, 288, 5411, 368, 444, 326, 963, 5411, 7141, 42, 1864, 1446, 273, 353, 18, 896, 1864, 12, 225, 11272, 5411, 23906, 558, 4059, 358, 8449, 861, 273, 394, 23906, 558, 4059, 12, 225, 11272, 5411, 358, 8449, 861, 18, 16426, 275, 340, 12, 622, 11272, 5411, 13264, 4972, 273, 1446, 18, 588, 5694, 12, 225, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 315, 10576, 315, 397, 4972, 11272, 5411, 358, 8449, 861, 18, 13929, 12, 6437, 16, 6437, 1769, 6647, 368, 1446, 18, 588, 5694, 12, 225, 262, 18, 2819, 342, 576, 16, 1446, 18, 588, 5694, 12, 225, 262, 18, 4210, 342, 576, 11272, 5411, 314, 22, 18, 6547, 12, 622, 11272, 5411, 314, 22, 18, 9446, 1670, 12, 300, 6625, 16, 374, 16, 2130, 16, 374, 11272, 5411, 314, 22, 18, 9446, 1670, 12, 374, 16, 300, 6625, 16, 374, 16, 2130, 11272, 5411, 622, 273, 358, 8449, 861, 31, 5411, 314, 22, 18, 9446, 12, 4972, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 315, 5964, 315, 397, 1446, 18, 588, 3654, 12, 225, 262, 11272, 13491, 4034, 1047, 273, 353, 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, 12574, 12, 16830, 314, 262, 288, 3639, 2240, 18, 84, 1598, 12, 314, 11272, 3639, 309, 261, 622, 422, 446, 262, 288, 5411, 622, 273, 394, 23906, 558, 4059, 12, 225, 11272, 5411, 622, 18, 542, 774, 4334, 12, 225, 11272, 3639, 289, 3639, 16830, 22, 40, 314, 22, 273, 261, 16830, 22, 40, 262, 314, 31, 3639, 775, 288, 5411, 368, 444, 326, 963, 5411, 7141, 42, 1864, 1446, 273, 353, 18, 896, 1864, 12, 225, 11272, 5411, 23906, 558, 4059, 358, 8449, 861, 273, 394, 23906, 558, 4059, 12, 225, 11272, 5411, 358, 8449, 861, 18, 16426, 275, 340, 12, 622, 11272, 5411, 13264, 4972, 273, 1446, 18, 588, 5694, 12, 225, 11272, 5411, 2 ]
GUIException exception = GUIException .createGUIException( ReportPlugin.REPORT_UI, e, "Library.DND.messages.outofsync" );
GUIException exception = GUIException.createGUIException( ReportPlugin.REPORT_UI, e, "Library.DND.messages.outofsync" );
public boolean preHandleMouseUp( ) { ModuleHandle moduleHandle = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ); LibraryHandle library = (LibraryHandle) elementHandle.getRoot( ); try { if ( UIUtil.includeLibrary( moduleHandle, library ) ) { setModel( moduleHandle.getElementFactory( ).newElementFrom( elementHandle, null ) ); } } catch ( ExtendsException e ) { GUIException exception = GUIException .createGUIException( ReportPlugin.REPORT_UI, e, "Library.DND.messages.outofsync" );//$NON-NLS-1$ ExceptionHandler.handle( exception ); } catch ( Exception e ) { ExceptionHandler.handle( e ); } return super.preHandleMouseUp( ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/0bce62027668973bc039b70b83beba6e47df3e38/LibraryElementsToolHandleExtends.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/tools/LibraryElementsToolHandleExtends.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 675, 3259, 9186, 1211, 12, 262, 202, 95, 202, 202, 3120, 3259, 1605, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 9313, 3259, 5313, 273, 261, 9313, 3259, 13, 930, 3259, 18, 588, 2375, 12, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 261, 6484, 1304, 18, 6702, 9313, 12, 1605, 3259, 16, 5313, 262, 262, 1082, 202, 95, 9506, 202, 542, 1488, 12, 1605, 3259, 18, 21336, 1733, 12, 262, 18, 2704, 1046, 1265, 12, 25083, 202, 2956, 3259, 16, 446, 262, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 14683, 261, 6419, 5839, 503, 425, 262, 202, 202, 95, 1082, 202, 43, 5370, 503, 1520, 273, 10978, 503, 6862, 202, 18, 2640, 43, 5370, 503, 12, 8706, 3773, 18, 22710, 67, 5370, 16, 425, 16, 6862, 1082, 202, 6, 9313, 18, 40, 2908, 18, 6833, 18, 659, 792, 8389, 6, 11272, 759, 8, 3993, 17, 5106, 17, 21, 8, 1082, 202, 18894, 18, 4110, 12, 1520, 11272, 202, 202, 97, 202, 202, 14683, 261, 1185, 425, 262, 202, 202, 95, 1082, 202, 18894, 18, 4110, 12, 425, 11272, 202, 202, 97, 202, 202, 2463, 2240, 18, 1484, 3259, 9186, 1211, 12, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 675, 3259, 9186, 1211, 12, 262, 202, 95, 202, 202, 3120, 3259, 1605, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 9313, 3259, 5313, 273, 261, 9313, 3259, 13, 930, 3259, 18, 588, 2375, 12, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 261, 6484, 1304, 18, 6702, 9313, 12, 1605, 3259, 16, 5313, 262, 262, 1082, 202, 95, 9506, 202, 542, 1488, 12, 1605, 3259, 18, 21336, 1733, 12, 262, 18, 2704, 1046, 1265, 12, 25083, 202, 2956, 3259, 16, 446, 262, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 14683, 261, 6419, 5839, 503, 425, 262, 202, 2 ]
List getAttachmentDescriptions(boolean imagesOnly) { return _messageEditor.getAttachmentDescriptions(imagesOnly); }
List getAttachmentDescriptions() { return _messageEditor.getAttachmentDescriptions(); }
List getAttachmentDescriptions(boolean imagesOnly) { return _messageEditor.getAttachmentDescriptions(imagesOnly); }
27487 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27487/4963d13f806b98d0138cbc0116c65b9b2af4dfc4/PageEditor.java/buggy/src/syndie/gui/PageEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 987, 31134, 16844, 12, 6494, 4602, 3386, 13, 288, 327, 389, 2150, 6946, 18, 588, 6803, 16844, 12, 7369, 3386, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 987, 31134, 16844, 12, 6494, 4602, 3386, 13, 288, 327, 389, 2150, 6946, 18, 588, 6803, 16844, 12, 7369, 3386, 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, -100 ]
return new AbstractCharClass() {
AbstractCharClass chCl = new AbstractCharClass() {
protected AbstractCharClass computeValue() { return new AbstractCharClass() { public boolean contains(int ch) { return Character.isLetter((char) ch); } }; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b4e4f564fd7939c2808e34532e674a46336dccdd/AbstractCharClass.java/buggy/modules/regex/src/main/java/java/util/regex/AbstractCharClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 4115, 2156, 797, 3671, 620, 1435, 288, 5411, 4115, 2156, 797, 462, 2009, 273, 394, 4115, 2156, 797, 1435, 288, 7734, 1071, 1250, 1914, 12, 474, 462, 13, 288, 10792, 327, 6577, 18, 291, 13938, 12443, 3001, 13, 462, 1769, 7734, 289, 5411, 289, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 4115, 2156, 797, 3671, 620, 1435, 288, 5411, 4115, 2156, 797, 462, 2009, 273, 394, 4115, 2156, 797, 1435, 288, 7734, 1071, 1250, 1914, 12, 474, 462, 13, 288, 10792, 327, 6577, 18, 291, 13938, 12443, 3001, 13, 462, 1769, 7734, 289, 5411, 289, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if ( LA46_8==EOL||(LA46_8>=22 && LA46_8<=23)||(LA46_8>=40 && LA46_8<=47) ) {
else if ( LA46_8==EOL||LA46_8==15||(LA46_8>=22 && LA46_8<=23)||(LA46_8>=40 && LA46_8<=47) ) {
public List constraints() throws RecognitionException { List constraints; constraints = new ArrayList(); try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:476:17: ( opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:476:17: opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol { following.push(FOLLOW_opt_eol_in_constraints1505); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:477:17: ( constraint[constraints] | predicate[constraints] ) int alt45=2; int LA45_0 = input.LA(1); if ( LA45_0==EOL ) { alt45=1; } else if ( LA45_0==ID ) { int LA45_2 = input.LA(2); if ( LA45_2==30 ) { int LA45_3 = input.LA(3); if ( LA45_3==ID ) { int LA45_8 = input.LA(4); if ( LA45_8==49 ) { alt45=2; } else if ( LA45_8==EOL||(LA45_8>=22 && LA45_8<=23)||(LA45_8>=40 && LA45_8<=47) ) { alt45=1; } else { NoViableAltException nvae = new NoViableAltException("477:17: ( constraint[constraints] | predicate[constraints] )", 45, 8, input); throw nvae; } } else if ( LA45_3==EOL ) { alt45=1; } else { NoViableAltException nvae = new NoViableAltException("477:17: ( constraint[constraints] | predicate[constraints] )", 45, 3, input); throw nvae; } } else if ( LA45_2==EOL||(LA45_2>=22 && LA45_2<=23)||(LA45_2>=40 && LA45_2<=47) ) { alt45=1; } else { NoViableAltException nvae = new NoViableAltException("477:17: ( constraint[constraints] | predicate[constraints] )", 45, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("477:17: ( constraint[constraints] | predicate[constraints] )", 45, 0, input); throw nvae; } switch (alt45) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:477:18: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1510); constraint(constraints); following.pop(); } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:477:42: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1513); predicate(constraints); following.pop(); } break; } // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:478:17: ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* loop47: do { int alt47=2; alt47 = dfa47.predict(input); switch (alt47) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:478:19: opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) { following.push(FOLLOW_opt_eol_in_constraints1521); opt_eol(); following.pop(); match(input,22,FOLLOW_22_in_constraints1523); following.push(FOLLOW_opt_eol_in_constraints1525); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:478:39: ( constraint[constraints] | predicate[constraints] ) int alt46=2; int LA46_0 = input.LA(1); if ( LA46_0==EOL ) { alt46=1; } else if ( LA46_0==ID ) { int LA46_2 = input.LA(2); if ( LA46_2==30 ) { int LA46_3 = input.LA(3); if ( LA46_3==ID ) { int LA46_8 = input.LA(4); if ( LA46_8==49 ) { alt46=2; } else if ( LA46_8==EOL||(LA46_8>=22 && LA46_8<=23)||(LA46_8>=40 && LA46_8<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("478:39: ( constraint[constraints] | predicate[constraints] )", 46, 8, input); throw nvae; } } else if ( LA46_3==EOL ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("478:39: ( constraint[constraints] | predicate[constraints] )", 46, 3, input); throw nvae; } } else if ( LA46_2==EOL||(LA46_2>=22 && LA46_2<=23)||(LA46_2>=40 && LA46_2<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("478:39: ( constraint[constraints] | predicate[constraints] )", 46, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("478:39: ( constraint[constraints] | predicate[constraints] )", 46, 0, input); throw nvae; } switch (alt46) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:478:40: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1528); constraint(constraints); following.pop(); } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:478:64: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1531); predicate(constraints); following.pop(); } break; } } break; default : break loop47; } } while (true); following.push(FOLLOW_opt_eol_in_constraints1539); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return constraints; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/9c6423b7a31fdc4a1317e71a6d2850c94e2140e0/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 6237, 1435, 1216, 9539, 288, 6647, 987, 6237, 31, 1171, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 24, 6669, 30, 4033, 30, 261, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 2153, 67, 30951, 3316, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 24, 6669, 30, 4033, 30, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 2153, 67, 30951, 3316, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 2153, 67, 30951, 5411, 288, 5411, 3751, 18, 6206, 12, 29890, 67, 3838, 67, 30951, 67, 267, 67, 11967, 23014, 25, 1769, 5411, 2153, 67, 30951, 5621, 5411, 3751, 18, 5120, 5621, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 24, 4700, 30, 4033, 30, 261, 4954, 63, 11967, 65, 571, 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, 6237, 1435, 1216, 9539, 288, 6647, 987, 6237, 31, 1171, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 24, 6669, 30, 4033, 30, 261, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 2153, 67, 30951, 3316, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 2 ]
boolean hastNext = resultSet.next(); int pk = 1; if (hastNext) { pk = resultSet.getInt("pk_value"); pk += increaseBy; con.createStatement().executeUpdate("update pk_table set pk_value = " + pk + " " + where); } else { con.createStatement().executeUpdate( "insert into pk_table (eoentity_name, pk_value) values ('" + ename + "', " + maxIdFromTable(ename) + ")"); pk = maxIdFromTable(ename) + 1;
boolean hastNext = resultSet.next(); int pk = 1; if (hastNext) { pk = resultSet.getInt("pk_value"); pk += increaseBy; con.createStatement().executeUpdate("update pk_table set pk_value = " + pk + " " + where); } else { con.createStatement().executeUpdate( "insert into pk_table (eoentity_name, pk_value) values ('" + ename + "', " + maxIdFromTable(ename) + ")"); pk = maxIdFromTable(ename) + 1; } con.commit(); return new Long(pk); } catch (SQLException e) { String s = NSLog.throwableAsString(e).toLowerCase(); if ((s.indexOf("error code 116") != -1) || (s.indexOf("pk_table") != -1 && s.indexOf("does not exist") != -1)) { try { con.rollback(); log.info("creating pk table"); con.createStatement().executeUpdate("create table pk_table (eoentity_name varchar(100) not null, pk_value integer)"); con.createStatement().executeUpdate("alter table pk_table add primary key (eoentity_name)"); con.commit(); ResultSet resultSet = con.createStatement().executeQuery("select pk_value from pk_table " + where); con.commit(); boolean hastNext = resultSet.next(); int pk = 1; if (hastNext) { pk = resultSet.getInt("pk_value"); pk++; con.createStatement().executeUpdate("update pk_table set pk_value = " + pk + " " + where); } else { con.createStatement().executeUpdate( "insert into pk_table (eoentity_name, pk_value) values ('" + ename + "', " + pk + ")"); } con.commit(); return new Long(pk); } catch (SQLException ee) { ee.printStackTrace(); throw new RuntimeException("could not create pk table"); } finally { ERXJDBCConnectionBroker.connectionBrokerForEntityNamed(ename).freeConnection(con);
private static Long getNextPkValueForEntityIncreaseBy(String ename, int count, int increaseBy) { if (increaseBy < 1) increaseBy = 1; Connection con = ERXJDBCConnectionBroker.connectionBrokerForEntityNamed(ename).getConnection(); try { con.setAutoCommit(false); con.setReadOnly(false); } catch (SQLException e) { log.error(e, e); } String where = "where eoentity_name = '" + ename + "'"; try { Object entityLock = entityLock(ename); synchronized (entityLock) { ResultSet resultSet = con.createStatement().executeQuery("select pk_value from pk_table " + where); con.commit(); boolean hastNext = resultSet.next(); int pk = 1; if (hastNext) { pk = resultSet.getInt("pk_value"); pk += increaseBy; //now execute the update con.createStatement().executeUpdate("update pk_table set pk_value = " + pk + " " + where); } else { //first time, we need to set i up con.createStatement().executeUpdate( "insert into pk_table (eoentity_name, pk_value) values ('" + ename + "', " + maxIdFromTable(ename) + ")"); pk = maxIdFromTable(ename) + 1; } con.commit(); return new Long(pk); } } catch (SQLException e) { synchronized (lock) { String s = NSLog.throwableAsString(e).toLowerCase(); if ((s.indexOf("error code 116") != -1) || (s.indexOf("pk_table") != -1 && s.indexOf("does not exist") != -1)) { try { con.rollback(); log.info("creating pk table"); con.createStatement().executeUpdate( "create table pk_table (eoentity_name varchar(100) not null, pk_value integer)"); con.createStatement().executeUpdate("alter table pk_table add primary key (eoentity_name)");// NOT // DEFERRABLE // INITIALLY // IMMEDIATE"); con.commit(); ResultSet resultSet = con.createStatement().executeQuery( "select pk_value from pk_table " + where); con.commit(); boolean hastNext = resultSet.next(); int pk = 1; if (hastNext) { pk = resultSet.getInt("pk_value"); pk++; //now execute the update con.createStatement().executeUpdate("update pk_table set pk_value = " + pk + " " + where); } else { //first time, we need to set i up con.createStatement().executeUpdate( "insert into pk_table (eoentity_name, pk_value) values ('" + ename + "', " + pk + ")"); } con.commit(); return new Long(pk); } catch (SQLException ee) { ee.printStackTrace(); throw new RuntimeException("could not create pk table"); } finally { ERXJDBCConnectionBroker.connectionBrokerForEntityNamed(ename).freeConnection(con); } } if (count < 10) { log.error("could not get primkey, trying again " + count + ", error was " + e.getMessage()); return getNextPkValueForEntity(ename); } log.error(e, e); throw new RuntimeException("could not get primkey, original message was " + e.getMessage()); } } finally { ERXJDBCConnectionBroker.connectionBrokerForEntityNamed(ename).freeConnection(con); } }
50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/5845cd8e88765c0c123df4fb37ebb61684ecbca0/ERXLongPrimaryKeyFactory.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXLongPrimaryKeyFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 3407, 6927, 7789, 620, 1290, 1943, 382, 11908, 858, 12, 780, 570, 339, 16, 509, 1056, 16, 509, 10929, 858, 13, 288, 3639, 309, 261, 267, 11908, 858, 411, 404, 13, 10929, 858, 273, 404, 31, 3639, 4050, 356, 273, 4232, 60, 30499, 1952, 11194, 18, 4071, 11194, 1290, 1943, 7604, 12, 1069, 2934, 588, 1952, 5621, 3639, 775, 288, 5411, 356, 18, 542, 4965, 5580, 12, 5743, 1769, 5411, 356, 18, 542, 12066, 12, 5743, 1769, 3639, 289, 1044, 261, 23116, 425, 13, 288, 5411, 613, 18, 1636, 12, 73, 16, 425, 1769, 3639, 289, 3639, 514, 1625, 273, 315, 6051, 425, 83, 1096, 67, 529, 273, 2119, 397, 570, 339, 397, 5862, 31, 3639, 775, 288, 5411, 1033, 1522, 2531, 273, 1522, 2531, 12, 1069, 1769, 5411, 3852, 261, 1096, 2531, 13, 288, 7734, 10842, 12168, 273, 356, 18, 2640, 3406, 7675, 8837, 1138, 2932, 4025, 2365, 67, 1132, 628, 2365, 67, 2121, 315, 397, 1625, 1769, 7734, 356, 18, 7371, 5621, 7734, 1250, 366, 689, 2134, 273, 12168, 18, 4285, 5621, 7734, 509, 2365, 273, 404, 31, 7734, 309, 261, 76, 689, 2134, 13, 288, 10792, 2365, 273, 12168, 18, 588, 1702, 2932, 5465, 67, 1132, 8863, 10792, 2365, 1011, 10929, 858, 31, 10792, 368, 3338, 1836, 326, 1089, 10792, 356, 18, 2640, 3406, 7675, 8837, 1891, 2932, 2725, 2365, 67, 2121, 444, 2365, 67, 1132, 273, 315, 397, 2365, 397, 315, 315, 397, 1625, 1769, 7734, 289, 469, 288, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 3407, 6927, 7789, 620, 1290, 1943, 382, 11908, 858, 12, 780, 570, 339, 16, 509, 1056, 16, 509, 10929, 858, 13, 288, 3639, 309, 261, 267, 11908, 858, 411, 404, 13, 10929, 858, 273, 404, 31, 3639, 4050, 356, 273, 4232, 60, 30499, 1952, 11194, 18, 4071, 11194, 1290, 1943, 7604, 12, 1069, 2934, 588, 1952, 5621, 3639, 775, 288, 5411, 356, 18, 542, 4965, 5580, 12, 5743, 1769, 5411, 356, 18, 542, 12066, 12, 5743, 1769, 3639, 289, 1044, 261, 23116, 425, 13, 288, 5411, 613, 18, 1636, 12, 73, 16, 425, 1769, 3639, 289, 3639, 514, 1625, 273, 315, 6051, 425, 83, 1096, 67, 529, 273, 2119, 397, 570, 339, 397, 5862, 31, 3639, 2 ]
Report.report(5, Thread.currentThread() + " " + this + " continues stopfinish ");
Report.report(5, PoolRunner.logString() + " " + this + " continues stopfinish ");
public synchronized void stopFinish() { if (Report.should_report("activity", 5)) { Report.report(5, Thread.currentThread() + " " + this + " enters stopfinish "); } while ( finishState_.finishCount != 0) { try { this.wait(); } catch (InterruptedException z) { // What should be done here? } } if (Report.should_report("activity", 5)) { Report.report(5, Thread.currentThread() + " " + this + " continues stopfinish "); } FinishState state = finishState_; // Update finishState_ before throwing an exception. if (finishStack_.empty()) { finishState_ = null; } else { finishState_ = (FinishState) finishStack_.pop(); } // Do not reference finishState_ below, instead reference state. if (! state.finish_.empty()) { if (state.finish_.size()==1) { Throwable t = (Throwable) state.finish_.pop(); if (Report.should_report("activity", 3)) { Report.report(3, Thread.currentThread() + " " + this + " throws " + t); } if (t instanceof java.lang.Error) throw (Error) t; if (t instanceof java.lang.RuntimeException) throw (RuntimeException) t; } throw new MultipleExceptions( state.finish_ ); } if (Report.should_report("activity", 3)) { Report.report(3, Thread.currentThread() + " " + this + " exits from finish."); } }
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/39e3a44f8436cd6eb9627482799bea04d136e3f4/Activity.java/clean/x10.runtime/src/x10/runtime/Activity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 2132, 11641, 1435, 288, 377, 202, 430, 261, 4820, 18, 13139, 67, 6006, 2932, 9653, 3113, 1381, 3719, 288, 377, 202, 202, 4820, 18, 6006, 12, 25, 16, 4884, 18, 2972, 3830, 1435, 397, 315, 315, 397, 333, 397, 315, 3281, 414, 2132, 13749, 315, 1769, 377, 202, 97, 377, 202, 17523, 261, 4076, 1119, 27799, 13749, 1380, 480, 374, 13, 288, 377, 202, 202, 698, 288, 377, 1082, 202, 2211, 18, 7048, 5621, 377, 202, 202, 97, 1044, 261, 24485, 503, 998, 13, 288, 377, 1082, 202, 759, 18734, 1410, 506, 2731, 2674, 35, 377, 202, 202, 97, 377, 202, 97, 377, 202, 430, 261, 4820, 18, 13139, 67, 6006, 2932, 9653, 3113, 1381, 3719, 288, 377, 202, 202, 4820, 18, 6006, 12, 25, 16, 8828, 9709, 18, 1330, 780, 1435, 397, 315, 315, 397, 333, 397, 315, 29359, 2132, 13749, 315, 1769, 377, 202, 97, 377, 202, 11641, 1119, 919, 273, 4076, 1119, 67, 31, 377, 202, 759, 2315, 4076, 1119, 67, 1865, 19440, 392, 1520, 18, 377, 202, 430, 261, 13749, 2624, 27799, 5531, 10756, 288, 377, 202, 202, 13749, 1119, 67, 273, 446, 31, 377, 202, 97, 469, 288, 377, 202, 202, 13749, 1119, 67, 273, 261, 11641, 1119, 13, 4076, 2624, 27799, 5120, 5621, 377, 202, 97, 377, 202, 759, 2256, 486, 2114, 4076, 1119, 67, 5712, 16, 3560, 2114, 919, 18, 377, 202, 430, 16051, 919, 18, 13749, 27799, 5531, 10756, 288, 377, 202, 202, 430, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 2132, 11641, 1435, 288, 377, 202, 430, 261, 4820, 18, 13139, 67, 6006, 2932, 9653, 3113, 1381, 3719, 288, 377, 202, 202, 4820, 18, 6006, 12, 25, 16, 4884, 18, 2972, 3830, 1435, 397, 315, 315, 397, 333, 397, 315, 3281, 414, 2132, 13749, 315, 1769, 377, 202, 97, 377, 202, 17523, 261, 4076, 1119, 27799, 13749, 1380, 480, 374, 13, 288, 377, 202, 202, 698, 288, 377, 1082, 202, 2211, 18, 7048, 5621, 377, 202, 202, 97, 1044, 261, 24485, 503, 998, 13, 288, 377, 1082, 202, 759, 18734, 1410, 506, 2731, 2674, 35, 377, 202, 202, 97, 377, 202, 97, 377, 202, 430, 261, 4820, 18, 13139, 67, 6006, 2932, 9653, 3113, 1381, 2 ]
String lastFrameUrl = lastFrame.getUrl(); int line = lastFrame.getLineNumber(); main.statusBar.setText("Thread: " + threadTitle);
debugGui.statusBar.setText("Thread: " + threadTitle);
public void run() { String lastFrameUrl = lastFrame.getUrl(); int line = lastFrame.getLineNumber(); main.statusBar.setText("Thread: " + threadTitle); if (lastFrameUrl != null && !lastFrameUrl.equals("<stdin>")) { FileWindow w = main.getFileWindow(lastFrameUrl); if (w != null) { new SetFilePosition(main, w, line).run(); } else { SourceInfo si = lastFrame.sourceInfo(); CreateFileWindow.action(main, si, line).run(); } } else { if (main.console.isVisible()) { main.console.show(); } } if (alertMessage != null) { MessageDialogWrapper.showMessageDialog(main, alertMessage, "Exception in Script", JOptionPane.ERROR_MESSAGE); } JMenu menu = main.getJMenuBar().getMenu(0); //menu.getItem(0).setEnabled(false); // File->Load menu = main.getJMenuBar().getMenu(2); menu.getItem(0).setEnabled(false); // Debug->Break int count = menu.getItemCount(); for (int i = 1; i < count; ++i) { menu.getItem(i).setEnabled(true); } boolean b = false; for (int ci = 0, cc = main.toolBar.getComponentCount(); ci < cc; ci++) { main.toolBar.getComponent(ci).setEnabled(b); b = true; } main.toolBar.setEnabled(true); // raise the debugger window main.toFront(); ContextData contextData = lastFrame.contextData(); main.context.enable(); JComboBox ctx = main.context.context; Vector toolTips = main.context.toolTips; main.context.disableUpdate(); int frameCount = contextData.frameCount(); ctx.removeAllItems(); // workaround for JDK 1.4 bug that caches selected value even after // removeAllItems() is called ctx.setSelectedItem(null); toolTips.removeAllElements(); for (int i = 0; i < frameCount; i++) { StackFrame frame = contextData.getFrame(i); String url = frame.getUrl(); int lineNumber = frame.getLineNumber(); String shortName = url; if (url.length() > 20) { shortName = "..." + url.substring(url.length() - 17); } String location = "\"" + shortName + "\", line " + lineNumber; ctx.insertItemAt(location, i); location = "\"" + url + "\", line " + lineNumber; toolTips.addElement(location); } main.context.enableUpdate(); ctx.setSelectedIndex(0); ctx.setMinimumSize(new Dimension(50, ctx.getMinimumSize().height)); }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/9f6ca8f9a1c065e5181a0679595b48269838c038/Main.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 3639, 514, 1142, 3219, 1489, 273, 1142, 3219, 18, 588, 1489, 5621, 3639, 509, 980, 273, 1142, 3219, 18, 588, 31063, 5621, 3639, 2774, 18, 2327, 5190, 18, 542, 1528, 2932, 3830, 30, 315, 397, 2650, 4247, 1769, 3639, 309, 261, 2722, 3219, 1489, 480, 446, 597, 401, 2722, 3219, 1489, 18, 14963, 2932, 32, 21772, 2984, 3719, 288, 5411, 1387, 3829, 341, 273, 2774, 18, 29925, 3829, 12, 2722, 3219, 1489, 1769, 5411, 309, 261, 91, 480, 446, 13, 288, 7734, 394, 1000, 812, 2555, 12, 5254, 16, 341, 16, 980, 2934, 2681, 5621, 5411, 289, 469, 288, 7734, 4998, 966, 7533, 273, 1142, 3219, 18, 3168, 966, 5621, 7734, 1788, 812, 3829, 18, 1128, 12, 5254, 16, 7533, 16, 980, 2934, 2681, 5621, 5411, 289, 3639, 289, 469, 288, 5411, 309, 261, 5254, 18, 8698, 18, 291, 6207, 10756, 288, 7734, 2774, 18, 8698, 18, 4500, 5621, 5411, 289, 3639, 289, 3639, 309, 261, 11798, 1079, 480, 446, 13, 288, 5411, 2350, 6353, 3611, 18, 4500, 1079, 6353, 12, 5254, 16, 4766, 10402, 6881, 1079, 16, 4766, 10402, 315, 503, 316, 7739, 3113, 4766, 10402, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 3639, 289, 3639, 804, 4599, 3824, 273, 2774, 18, 588, 46, 4599, 5190, 7675, 588, 4599, 12, 20, 1769, 3639, 368, 5414, 18, 588, 1180, 12, 20, 2934, 542, 1526, 12, 5743, 1769, 368, 1387, 2122, 2563, 3639, 3824, 273, 2774, 18, 588, 46, 4599, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 3639, 514, 1142, 3219, 1489, 273, 1142, 3219, 18, 588, 1489, 5621, 3639, 509, 980, 273, 1142, 3219, 18, 588, 31063, 5621, 3639, 2774, 18, 2327, 5190, 18, 542, 1528, 2932, 3830, 30, 315, 397, 2650, 4247, 1769, 3639, 309, 261, 2722, 3219, 1489, 480, 446, 597, 401, 2722, 3219, 1489, 18, 14963, 2932, 32, 21772, 2984, 3719, 288, 5411, 1387, 3829, 341, 273, 2774, 18, 29925, 3829, 12, 2722, 3219, 1489, 1769, 5411, 309, 261, 91, 480, 446, 13, 288, 7734, 394, 1000, 812, 2555, 12, 5254, 16, 341, 16, 980, 2934, 2681, 5621, 5411, 289, 469, 288, 7734, 4998, 966, 7533, 273, 1142, 3219, 18, 3168, 966, 5621, 7734, 1788, 2 ]
if(messageListeners != null) { MessageEvent ev = new MessageEvent(MessageEvent.SENT_MESSAGE, msg, sender, myID); for(int i = 0; i < messageListeners.size(); i++) { MessageListener l = (MessageListener)messageListeners.get(i); l.sentMessage(ev);
synchronized(messageListenersLock) { if(messageListeners != null) { MessageEvent ev = new MessageEvent(MessageEvent.SENT_MESSAGE, msg, sender, myID); for(int i = 0; i < messageListeners.size(); i++) { MessageListener l = (MessageListener)messageListeners.get(i); l.sentMessage(ev); }
private void fireSentMessage(ACLMessage msg, AID sender) { if(messageListeners != null) { MessageEvent ev = new MessageEvent(MessageEvent.SENT_MESSAGE, msg, sender, myID); for(int i = 0; i < messageListeners.size(); i++) { MessageListener l = (MessageListener)messageListeners.get(i); l.sentMessage(ev); } } }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/6e45d519da18a6290cd8fdbb230d7a1f32e37127/AgentContainerImpl.java/buggy/src/jade/core/AgentContainerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4452, 7828, 1079, 12, 9486, 1079, 1234, 16, 432, 734, 5793, 13, 288, 565, 309, 12, 2150, 5583, 480, 446, 13, 288, 1377, 2350, 1133, 2113, 273, 394, 2350, 1133, 12, 1079, 1133, 18, 17418, 67, 8723, 16, 1234, 16, 5793, 16, 3399, 734, 1769, 1377, 364, 12, 474, 277, 273, 374, 31, 277, 411, 883, 5583, 18, 1467, 5621, 277, 27245, 288, 202, 1079, 2223, 328, 273, 261, 1079, 2223, 13, 2150, 5583, 18, 588, 12, 77, 1769, 202, 80, 18, 7569, 1079, 12, 14965, 1769, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4452, 7828, 1079, 12, 9486, 1079, 1234, 16, 432, 734, 5793, 13, 288, 565, 309, 12, 2150, 5583, 480, 446, 13, 288, 1377, 2350, 1133, 2113, 273, 394, 2350, 1133, 12, 1079, 1133, 18, 17418, 67, 8723, 16, 1234, 16, 5793, 16, 3399, 734, 1769, 1377, 364, 12, 474, 277, 273, 374, 31, 277, 411, 883, 5583, 18, 1467, 5621, 277, 27245, 288, 202, 1079, 2223, 328, 273, 261, 1079, 2223, 13, 2150, 5583, 18, 588, 12, 77, 1769, 202, 80, 18, 7569, 1079, 12, 14965, 1769, 1377, 289, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (nextTransaction .isMessagePartOfTransaction(responseReceived)) {
nextTransaction = (SIPClientTransaction) transactionIterator .next();
protected ServerResponseInterface newSIPServerResponse( SIPResponse responseReceived, MessageChannel responseMessageChannel) { // System.out.println("response = " + responseReceived.encode()); // Iterator through all client transactions Iterator transactionIterator; // Next transaction in the set SIPClientTransaction nextTransaction; // Transaction to handle this request SIPClientTransaction currentTransaction; String key = responseReceived.getTransactionId(); currentTransaction = (SIPClientTransaction) clientTransactionTable .get(key); if (currentTransaction == null || !currentTransaction .isMessagePartOfTransaction(responseReceived)) { // Loop through all server transactions synchronized (clientTransactions) { transactionIterator = clientTransactions.iterator(); currentTransaction = null; while (transactionIterator.hasNext() && currentTransaction == null) { nextTransaction = (SIPClientTransaction) transactionIterator .next(); // If this transaction should handle this request, if (nextTransaction .isMessagePartOfTransaction(responseReceived)) { // Mark this transaction as the one to // handle this message currentTransaction = nextTransaction; } } } // If no transaction exists to handle this message, if (currentTransaction == null) { // Pass the message directly to the TU return super.newSIPServerResponse(responseReceived, responseMessageChannel); } } // Set ths transaction's encapsulated response interface // from the superclass currentTransaction.setResponseInterface(super.newSIPServerResponse( responseReceived, currentTransaction)); return currentTransaction; }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/SIPTransactionStack.java/buggy/src/gov/nist/javax/sip/stack/SIPTransactionStack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3224, 1064, 1358, 394, 17739, 2081, 1064, 12, 1082, 202, 17739, 1064, 766, 8872, 16, 2350, 2909, 766, 1079, 2909, 13, 288, 202, 202, 759, 202, 3163, 18, 659, 18, 8222, 2932, 2740, 273, 315, 397, 766, 8872, 18, 3015, 10663, 202, 202, 759, 4498, 3059, 777, 1004, 8938, 202, 202, 3198, 2492, 3198, 31, 202, 202, 759, 4804, 2492, 316, 326, 444, 202, 202, 17739, 1227, 3342, 1024, 3342, 31, 202, 202, 759, 5947, 358, 1640, 333, 590, 202, 202, 17739, 1227, 3342, 783, 3342, 31, 202, 202, 780, 498, 273, 766, 8872, 18, 588, 27387, 5621, 202, 202, 2972, 3342, 273, 261, 17739, 1227, 3342, 13, 1004, 3342, 1388, 9506, 202, 18, 588, 12, 856, 1769, 202, 202, 430, 261, 2972, 3342, 422, 446, 9506, 202, 20081, 401, 2972, 3342, 25083, 202, 18, 291, 1079, 1988, 951, 3342, 12, 2740, 8872, 3719, 288, 1082, 202, 759, 9720, 3059, 777, 1438, 8938, 1082, 202, 22043, 261, 2625, 14186, 13, 288, 9506, 202, 7958, 3198, 273, 1004, 14186, 18, 9838, 5621, 9506, 202, 2972, 3342, 273, 446, 31, 9506, 202, 17523, 261, 7958, 3198, 18, 5332, 2134, 1435, 25083, 202, 10, 10, 783, 3342, 422, 446, 13, 288, 6862, 202, 4285, 3342, 273, 261, 17739, 1227, 3342, 13, 2492, 3198, 6862, 1082, 202, 18, 4285, 5621, 6862, 202, 759, 971, 333, 2492, 1410, 1640, 333, 590, 16, 6862, 202, 430, 261, 4285, 3342, 6862, 1082, 202, 18, 291, 1079, 1988, 951, 3342, 12, 2740, 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, 3224, 1064, 1358, 394, 17739, 2081, 1064, 12, 1082, 202, 17739, 1064, 766, 8872, 16, 2350, 2909, 766, 1079, 2909, 13, 288, 202, 202, 759, 202, 3163, 18, 659, 18, 8222, 2932, 2740, 273, 315, 397, 766, 8872, 18, 3015, 10663, 202, 202, 759, 4498, 3059, 777, 1004, 8938, 202, 202, 3198, 2492, 3198, 31, 202, 202, 759, 4804, 2492, 316, 326, 444, 202, 202, 17739, 1227, 3342, 1024, 3342, 31, 202, 202, 759, 5947, 358, 1640, 333, 590, 202, 202, 17739, 1227, 3342, 783, 3342, 31, 202, 202, 780, 498, 273, 766, 8872, 18, 588, 27387, 5621, 202, 202, 2972, 3342, 273, 261, 17739, 1227, 3342, 13, 1004, 3342, 1388, 9506, 202, 18, 588, 12, 2 ]
vendorNameDialectMappings.put("HSQL Database Engine", HSQLDialect.class.getName()); vendorNameDialectMappings.put("MySQL", MySQLDialect.class.getName());
URL hibernateDialects = this.application.getClassLoader().getResource("hibernate-dialects.properties"); if(hibernateDialects != null) { Properties p = new Properties(); try { p.load(hibernateDialects.openStream()); Iterator iter = p.entrySet().iterator(); while(iter.hasNext()) { Map.Entry e = (Map.Entry)iter.next(); vendorNameDialectMappings.put(e.getValue(), "org.hibernate.dialect." + e.getKey()); } } catch (IOException e) { LOG.info("[SpringConfig] Error loading hibernate-dialects.properties file: " + e.getMessage()); } }
private void populateDataSourceReferences(Collection beanReferences) { boolean dependsOnHsqldbServer = false; GrailsDataSource grailsDataSource = application.getGrailsDataSource(); Bean localSessionFactoryBean = SpringConfigUtils.createSingletonBean(ConfigurableLocalSessionFactoryBean.class); if (grailsDataSource != null) { // OK: org.codehaus.groovy.grails.plugins.datasource.PooledDatasourcePlugin // OK: org.codehaus.groovy.grails.plugins.datasource.NonPooledDataSourcePlugin Bean dataSource; if (grailsDataSource.isPooled()) { dataSource = SpringConfigUtils.createSingletonBean(BasicDataSource.class); dataSource.setDestroyMethod("close"); } else { dataSource = SpringConfigUtils.createSingletonBean(DriverManagerDataSource.class); } dataSource.setProperty("driverClassName", SpringConfigUtils.createLiteralValue(grailsDataSource.getDriverClassName())); dataSource.setProperty("url", SpringConfigUtils.createLiteralValue(grailsDataSource.getUrl())); dataSource.setProperty("username", SpringConfigUtils.createLiteralValue(grailsDataSource.getUsername())); dataSource.setProperty("password", SpringConfigUtils.createLiteralValue(grailsDataSource.getPassword())); if(grailsDataSource.getConfigurationClass() != null) { LOG.info("[SpringConfig] Using custom Hibernate configuration class ["+grailsDataSource.getConfigurationClass()+"]"); localSessionFactoryBean.setProperty("configClass", SpringConfigUtils.createLiteralValue(grailsDataSource.getConfigurationClass().getName())); } beanReferences.add(SpringConfigUtils.createBeanReference("dataSource", dataSource)); } else { // N/A Bean dataSource = SpringConfigUtils.createSingletonBean(BasicDataSource.class); dataSource.setDestroyMethod("close"); dataSource.setProperty("driverClassName", SpringConfigUtils.createLiteralValue("org.hsqldb.jdbcDriver")); dataSource.setProperty("url", SpringConfigUtils.createLiteralValue("jdbc:hsqldb:hsql://localhost:9101/")); dataSource.setProperty("username", SpringConfigUtils.createLiteralValue("sa")); dataSource.setProperty("password", SpringConfigUtils.createLiteralValue("")); beanReferences.add(SpringConfigUtils.createBeanReference("dataSource", dataSource)); Bean hsqldbServer = SpringConfigUtils.createSingletonBean(ServerBean.class); hsqldbServer.setProperty("dataSource", SpringConfigUtils.createBeanReference("dataSource")); Map hsqldbProperties = new HashMap(); hsqldbProperties.put("server.port", "9101"); hsqldbProperties.put("server.database.0", "mem:temp"); hsqldbServer.setProperty("serverProperties", SpringConfigUtils.createProperties(hsqldbProperties)); beanReferences.add(SpringConfigUtils.createBeanReference("hsqldbServer", hsqldbServer)); dependsOnHsqldbServer = true; } // OK: org.codehaus.groovy.grails.plugins.hibernate.HibernateDialectDetectorPlugin Map vendorNameDialectMappings = new HashMap(); vendorNameDialectMappings.put("HSQL Database Engine", HSQLDialect.class.getName()); vendorNameDialectMappings.put("MySQL", MySQLDialect.class.getName()); Bean dialectDetector = SpringConfigUtils.createSingletonBean(HibernateDialectDetectorFactoryBean.class); dialectDetector.setProperty("dataSource", SpringConfigUtils.createBeanReference("dataSource")); dialectDetector.setProperty("vendorNameDialectMappings", SpringConfigUtils.createProperties(vendorNameDialectMappings)); if (dependsOnHsqldbServer) { Collection dependsOn = new ArrayList(); dependsOn.add(SpringConfigUtils.createBeanReference("hsqldbServer")); dialectDetector.setDependsOn(dependsOn); } Map hibernatePropertiesMap = new HashMap(); hibernatePropertiesMap.put(SpringConfigUtils.createLiteralValue("hibernate.dialect"), dialectDetector); if(grailsDataSource == null ) { hibernatePropertiesMap.put(SpringConfigUtils.createLiteralValue("hibernate.hbm2ddl.auto"), SpringConfigUtils.createLiteralValue("create-drop")); } else { if(grailsDataSource.getDbCreate() != null) { hibernatePropertiesMap.put(SpringConfigUtils.createLiteralValue("hibernate.hbm2ddl.auto"), SpringConfigUtils.createLiteralValue(grailsDataSource.getDbCreate())); } } Bean hibernateProperties = SpringConfigUtils.createSingletonBean(MapToPropertiesFactoryBean.class); hibernateProperties.setProperty("map", SpringConfigUtils.createMap(hibernatePropertiesMap)); // N/A Bean grailsClassLoader = SpringConfigUtils.createSingletonBean(MethodInvokingFactoryBean.class); grailsClassLoader.setProperty("targetObject", SpringConfigUtils.createBeanReference("grailsApplication")); grailsClassLoader.setProperty("targetMethod", SpringConfigUtils.createLiteralValue("getClassLoader")); localSessionFactoryBean.setProperty("dataSource", SpringConfigUtils.createBeanReference("dataSource")); ClassLoader cl = this.application.getClassLoader(); URL hibernateConfig = cl.getResource("hibernate.cfg.xml"); if(hibernateConfig != null) { localSessionFactoryBean.setProperty("configLocation", SpringConfigUtils.createLiteralValue("classpath:hibernate.cfg.xml")); } localSessionFactoryBean.setProperty("hibernateProperties", hibernateProperties); localSessionFactoryBean.setProperty("grailsApplication", SpringConfigUtils.createBeanReference("grailsApplication")); localSessionFactoryBean.setProperty("classLoader", grailsClassLoader); beanReferences.add(SpringConfigUtils.createBeanReference("sessionFactory", localSessionFactoryBean)); // OK: org.codehaus.groovy.grails.plugins.hibernate.HibernateTransactionManagerPlugin Bean transactionManager = SpringConfigUtils.createSingletonBean(HibernateTransactionManager.class); transactionManager.setProperty("sessionFactory", SpringConfigUtils.createBeanReference("sessionFactory")); beanReferences.add(SpringConfigUtils.createBeanReference("transactionManager", transactionManager)); }
53275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53275/22875fce8e43693ce33e366fc742709f7e8abf28/SpringConfig.java/buggy/src/commons/org/codehaus/groovy/grails/commons/spring/SpringConfig.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6490, 8597, 8221, 12, 2532, 3931, 8221, 13, 288, 202, 202, 6494, 10935, 1398, 44, 4669, 1966, 2081, 273, 629, 31, 202, 202, 14571, 14573, 8597, 3087, 14573, 8597, 273, 2521, 18, 588, 14571, 14573, 8597, 5621, 3639, 7704, 1191, 2157, 1733, 3381, 273, 22751, 809, 1989, 18, 2640, 19571, 3381, 12, 31660, 2042, 2157, 1733, 3381, 18, 1106, 1769, 3639, 309, 261, 2752, 14573, 8597, 480, 446, 13, 288, 5411, 368, 7791, 30, 2358, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 8057, 18, 13178, 552, 18, 52, 22167, 14305, 552, 3773, 5411, 368, 7791, 30, 2358, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 8057, 18, 13178, 552, 18, 3989, 52, 22167, 8597, 3773, 5411, 7704, 10233, 31, 1082, 202, 430, 261, 2752, 14573, 8597, 18, 291, 52, 22167, 10756, 288, 9506, 202, 892, 1830, 273, 22751, 809, 1989, 18, 2640, 19571, 3381, 12, 8252, 8597, 18, 1106, 1769, 9506, 202, 892, 1830, 18, 542, 10740, 1305, 2932, 4412, 8863, 1082, 202, 97, 469, 288, 9506, 202, 892, 1830, 273, 22751, 809, 1989, 18, 2640, 19571, 3381, 12, 4668, 1318, 8597, 18, 1106, 1769, 1082, 202, 97, 1082, 202, 892, 1830, 18, 542, 1396, 2932, 7407, 3834, 3113, 22751, 809, 1989, 18, 2640, 6177, 620, 12, 2752, 14573, 8597, 18, 588, 4668, 3834, 1435, 10019, 1082, 202, 892, 1830, 18, 542, 1396, 2932, 718, 3113, 22751, 809, 1989, 18, 2640, 6177, 620, 12, 2752, 14573, 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, 6490, 8597, 8221, 12, 2532, 3931, 8221, 13, 288, 202, 202, 6494, 10935, 1398, 44, 4669, 1966, 2081, 273, 629, 31, 202, 202, 14571, 14573, 8597, 3087, 14573, 8597, 273, 2521, 18, 588, 14571, 14573, 8597, 5621, 3639, 7704, 1191, 2157, 1733, 3381, 273, 22751, 809, 1989, 18, 2640, 19571, 3381, 12, 31660, 2042, 2157, 1733, 3381, 18, 1106, 1769, 3639, 309, 261, 2752, 14573, 8597, 480, 446, 13, 288, 5411, 368, 7791, 30, 2358, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 8057, 18, 13178, 552, 18, 52, 22167, 14305, 552, 3773, 5411, 368, 7791, 30, 2358, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 8057, 18, 13178, 2 ]
savings.addAccountPayment(payment2);
TestAccountPaymentEntity.addAccountPayment(payment2,savings);
public void testInterestAdjustment_LastWithdrawalPaymentModified_WithMinBal() throws Exception { createInitialObjects(); savingsOffering = createSavingsOfferingForIntCalc("prd1", "cfgh", SavingsType.VOLUNTARY.getValue(), Short.valueOf("1"), MeetingConstants.MONTHLY, Short.valueOf("1")); savings = helper.createSavingsAccount(savingsOffering, group, AccountStates.SAVINGS_ACC_APPROVED, userContext); savings.setActivationDate(helper.getDate("20/02/2006")); savings.setNextIntCalcDate(helper.getDate("01/03/2006")); // add deposit trxn Money depositMoney = new Money(currency, "2000.0"); AccountPaymentEntity payment1 = helper.createAccountPaymentToPersist( savings, depositMoney, depositMoney, helper .getDate("20/02/2006"), AccountConstants.ACTION_SAVINGS_DEPOSIT, savings, createdBy, group); savings.addAccountPayment(payment1); savings.setSavingsBalance(depositMoney); savings.update(); HibernateUtil.commitTransaction(); HibernateUtil.closeSession(); // add withdrawal trxn Money withrawalAmt = new Money(currency, "500.0"); Money balanceAmt = new Money(currency, "1500.0"); AccountPaymentEntity payment2 = helper.createAccountPaymentToPersist( savings, withrawalAmt, balanceAmt, helper.getDate("25/02/2006"), AccountConstants.ACTION_SAVINGS_WITHDRAWAL, savings, createdBy, group); savings.addAccountPayment(payment2); savings.setSavingsBalance(balanceAmt); savings.update(); HibernateUtil.commitTransaction(); HibernateUtil.closeSession(); savings = savingsPersistence.findById(savings.getAccountId()); Money oldInterest = savings.calculateInterestForAdjustment(helper .getDate("25/02/2006"), null); assertEquals(0.0, oldInterest.getAmountDoubleValue()); savings.updateInterestAccrued(); HibernateUtil.commitTransaction(); HibernateUtil.closeSession(); savings = savingsPersistence.findById(savings.getAccountId()); // MinBal from 20/02 - 01/03 = 1500 // Interest 1500*.12*9/365 = 4.4 assertEquals(4.4, savings.getInterestToBePosted() .getAmountDoubleValue()); oldInterest = savings.calculateInterestForAdjustment(helper .getDate("25/02/2006"), null); assertEquals(4.4, oldInterest.getAmountDoubleValue()); HibernateUtil.commitTransaction(); HibernateUtil.closeSession(); savings = savingsPersistence.findById(savings.getAccountId()); savings.setUserContext(userContext); Money amountAdjustedTo = new Money(currency, "1000"); savings.getSavingsOffering().setMaxAmntWithdrawl( new Money(currency, "2000")); try { savings.adjustLastUserAction(amountAdjustedTo, "correction entry"); } catch (ApplicationException ae) { assertTrue(false); } HibernateUtil.commitTransaction(); HibernateUtil.closeSession(); savings = savingsPersistence.findById(savings.getAccountId()); // MinBal from 20/02 - 01/03 = 1000 // Interest 1000*.12*9/365 = 3.0 assertEquals(3.0, savings.getInterestToBePosted() .getAmountDoubleValue()); group = savings.getCustomer(); center = group.getParentCustomer(); }
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/99eca589a39ecd2dc036535c650daf9d9af9e2fb/TestSavingsBO.java/clean/mifos/test/org/mifos/application/accounts/savings/business/TestSavingsBO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 29281, 19985, 67, 3024, 1190, 9446, 287, 6032, 4575, 67, 1190, 2930, 38, 287, 1435, 1082, 202, 15069, 1185, 288, 202, 202, 2640, 4435, 4710, 5621, 202, 202, 87, 27497, 17800, 273, 752, 55, 27497, 17800, 1290, 1702, 25779, 2932, 683, 72, 21, 3113, 315, 7066, 76, 3113, 9506, 202, 55, 27497, 559, 18, 19971, 5321, 6043, 18, 24805, 9334, 7925, 18, 1132, 951, 2932, 21, 6, 3631, 9506, 202, 4667, 21747, 2918, 18, 13942, 7076, 16, 7925, 18, 1132, 951, 2932, 21, 7923, 1769, 202, 202, 87, 27497, 273, 4222, 18, 2640, 55, 27497, 3032, 12, 87, 27497, 17800, 16, 1041, 16, 9506, 202, 3032, 7629, 18, 5233, 58, 1360, 55, 67, 31414, 67, 2203, 3373, 12135, 16, 729, 1042, 1769, 202, 202, 87, 27497, 18, 542, 14857, 1626, 12, 4759, 18, 588, 1626, 2932, 3462, 19, 3103, 19, 6976, 26, 7923, 1769, 202, 202, 87, 27497, 18, 542, 2134, 1702, 25779, 1626, 12, 4759, 18, 588, 1626, 2932, 1611, 19, 4630, 19, 6976, 26, 7923, 1769, 202, 202, 759, 527, 443, 1724, 433, 22695, 202, 202, 23091, 443, 1724, 23091, 273, 394, 16892, 12, 7095, 16, 315, 17172, 18, 20, 8863, 202, 202, 3032, 6032, 1943, 5184, 21, 273, 4222, 18, 2640, 3032, 6032, 774, 12771, 12, 9506, 202, 87, 27497, 16, 443, 1724, 23091, 16, 443, 1724, 23091, 16, 4222, 25083, 202, 18, 588, 1626, 2932, 3462, 19, 3103, 19, 6976, 26, 6, 3631, 9506, 202, 3032, 2918, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 29281, 19985, 67, 3024, 1190, 9446, 287, 6032, 4575, 67, 1190, 2930, 38, 287, 1435, 1082, 202, 15069, 1185, 288, 202, 202, 2640, 4435, 4710, 5621, 202, 202, 87, 27497, 17800, 273, 752, 55, 27497, 17800, 1290, 1702, 25779, 2932, 683, 72, 21, 3113, 315, 7066, 76, 3113, 9506, 202, 55, 27497, 559, 18, 19971, 5321, 6043, 18, 24805, 9334, 7925, 18, 1132, 951, 2932, 21, 6, 3631, 9506, 202, 4667, 21747, 2918, 18, 13942, 7076, 16, 7925, 18, 1132, 951, 2932, 21, 7923, 1769, 202, 202, 87, 27497, 273, 4222, 18, 2640, 55, 27497, 3032, 12, 87, 27497, 17800, 16, 1041, 16, 9506, 202, 3032, 7629, 18, 5233, 58, 1360, 55, 67, 31414, 2 ]
case Toolset.FILL_NONE :
case Toolset.FILL_NONE:
protected void doTool(int x1, int y1, int x2, int y2) { //x1, y1 is start of drag //x2, y2 is end/current place of drag // addUndo(); int c = pal.getSelectedColorIndex(); int tool = tools.getSelectedDrawingTool(), fill = tools.getFillType(); int rx1 = Math.min(x1, x2), ry1 = Math.min(y1, y2), rx2 = Math.max(x1, x2), ry2 = Math.max(y1, y2), w = Math.min(x2 - x1, img.length - rx1), h = Math.min(y2 - y1, img[0].length - ry1), rw = Math.min(rx2 - rx1, img.length - rx1), rh = Math.min(ry2 - ry1, img[0].length - ry1); switch (tool) { case Toolset.TOOL_EYEDROPER : pal.setSelectedColor(getPointColor(x2, y2)); //undo(); break; case Toolset.TOOL_PENCIL : //undo(); drawPoint(x2, y2, c); break; case Toolset.TOOL_LINE : drawLine(x1, y1, x2, y2, c); break; case Toolset.TOOL_RECTANGLE : switch (fill) { case Toolset.FILL_NONE : drawRect(rx1, ry1, rx2 - rx1, ry2 - ry1, c, false); break; case Toolset.FILL_OPQUE : drawRect(rx1, ry1, rx2 - rx1, ry2 - ry1, c, true); break; case Toolset.FILL_BACKGROUND : drawRect(rx1, ry1, rx2 - rx1, ry2 - ry1, 0, true); drawRect(rx1, ry1, rx2 - rx1, ry2 - ry1, c, false); break; } break; case Toolset.TOOL_OVAL : switch (fill) { case Toolset.FILL_NONE : drawOval(rx1, ry1, rx2 - rx1, ry2 - ry1, c, false); break; case Toolset.FILL_OPQUE : drawOval(rx1, ry1, rx2 - rx1, ry2 - ry1, c, true); break; case Toolset.FILL_BACKGROUND : drawOval(rx1, ry1, rx2 - rx1, ry2 - ry1, 0, true); drawOval(rx1, ry1, rx2 - rx1, ry2 - ry1, c, false); break; } break; case Toolset.TOOL_ROUND_RECTANGLE : int curve = tools.getRoundedRectRadius(); switch (fill) { case Toolset.FILL_NONE : drawRoundedRect( rx1, ry1, rx2 - rx1, ry2 - ry1, curve, curve, c, false); break; case Toolset.FILL_OPQUE : drawRoundedRect( rx1, ry1, rx2 - rx1, ry2 - ry1, curve, curve, c, true); break; case Toolset.FILL_BACKGROUND : drawRoundedRect( rx1, ry1, rx2 - rx1, ry2 - ry1, curve, curve, 0, true); drawRoundedRect( rx1, ry1, rx2 - rx1, ry2 - ry1, curve, curve, c, false); break; } break; case Toolset.TOOL_PAINT_BUCKET : //undo(); //do on mouse release break; case Toolset.TOOL_SELECTION : if (!isMakingSelect) { //move selection //selection.setLocation(selx + (x2 - x1), sely + (y2 - // y1)); selection.setLocation(selx + w, sely + h); } else { //create new selection //selection = new Rectangle(rx1, ry1, rx2 - rx1, ry2 - // ry1); selection = new Rectangle(rx1, ry1, rw, rh); if (selection.width > 0 && selection.height > 0) { selectImg = getNewImage(img, selection); } } break; } repaint(); }
3699 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3699/2452e72a3552dbe7953780501217804b0e610b7e/IntArrDrawingArea.java/buggy/src/net/starmen/pkhack/IntArrDrawingArea.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 6364, 12, 474, 619, 21, 16, 509, 677, 21, 16, 509, 619, 22, 16, 509, 677, 22, 13, 565, 288, 3639, 368, 92, 21, 16, 677, 21, 353, 787, 434, 8823, 3639, 368, 92, 22, 16, 677, 22, 353, 679, 19, 2972, 3166, 434, 8823, 3639, 368, 202, 202, 1289, 31224, 5621, 3639, 509, 276, 273, 25995, 18, 588, 7416, 2957, 1016, 5621, 3639, 509, 5226, 273, 8513, 18, 588, 7416, 26885, 6364, 9334, 3636, 273, 8513, 18, 588, 8026, 559, 5621, 3639, 509, 8581, 21, 273, 2361, 18, 1154, 12, 92, 21, 16, 619, 22, 3631, 5411, 16826, 21, 273, 2361, 18, 1154, 12, 93, 21, 16, 677, 22, 3631, 5411, 8581, 22, 273, 2361, 18, 1896, 12, 92, 21, 16, 619, 22, 3631, 5411, 16826, 22, 273, 2361, 18, 1896, 12, 93, 21, 16, 677, 22, 3631, 5411, 341, 273, 2361, 18, 1154, 12, 92, 22, 300, 619, 21, 16, 3774, 18, 2469, 300, 8581, 21, 3631, 5411, 366, 273, 2361, 18, 1154, 12, 93, 22, 300, 677, 21, 16, 3774, 63, 20, 8009, 2469, 300, 16826, 21, 3631, 5411, 7985, 273, 2361, 18, 1154, 12, 20122, 22, 300, 8581, 21, 16, 3774, 18, 2469, 300, 8581, 21, 3631, 5411, 6259, 273, 2361, 18, 1154, 12, 1176, 22, 300, 16826, 21, 16, 3774, 63, 20, 8009, 2469, 300, 16826, 21, 1769, 3639, 1620, 261, 6738, 13, 3639, 288, 5411, 648, 13288, 542, 18, 26263, 67, 2602, 2056, 1457, 3194, 294, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 6364, 12, 474, 619, 21, 16, 509, 677, 21, 16, 509, 619, 22, 16, 509, 677, 22, 13, 565, 288, 3639, 368, 92, 21, 16, 677, 21, 353, 787, 434, 8823, 3639, 368, 92, 22, 16, 677, 22, 353, 679, 19, 2972, 3166, 434, 8823, 3639, 368, 202, 202, 1289, 31224, 5621, 3639, 509, 276, 273, 25995, 18, 588, 7416, 2957, 1016, 5621, 3639, 509, 5226, 273, 8513, 18, 588, 7416, 26885, 6364, 9334, 3636, 273, 8513, 18, 588, 8026, 559, 5621, 3639, 509, 8581, 21, 273, 2361, 18, 1154, 12, 92, 21, 16, 619, 22, 3631, 5411, 16826, 21, 273, 2361, 18, 1154, 12, 93, 21, 16, 677, 22, 3631, 5411, 8581, 22, 273, 2 ]
gl.swapBuffers();
gl.paint();
private void wiggleMouse() { System.out.print("Please move the mouse around"); long statustime = Sys.getTime(); long endtime = Sys.getTime() + Sys.getTimerResolution() * 5; while (Sys.getTime() < endtime) { Mouse.poll(); position.x += Mouse.dx; position.y -= Mouse.dy; if(position.x<0) { position.x = 0; } else if (position.x>Display.getWidth()-60) { position.x = Display.getWidth()-60; } if(position.y < 0) { position.y = 0; } else if (position.y>Display.getHeight()-30) { position.y = Display.getHeight()-30; } render(); gl.swapBuffers(); if (Sys.getTime() - statustime > Sys.getTimerResolution()) { System.out.print("."); statustime = Sys.getTime(); } } System.out.println("thank you"); }
5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/07fdc052e08e8a301861811cee15e988d0abc92b/MouseCreationTest.java/buggy/src/java/org/lwjgl/test/input/MouseCreationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 341, 360, 3213, 9186, 1435, 288, 202, 202, 3163, 18, 659, 18, 1188, 2932, 8496, 3635, 326, 7644, 6740, 8863, 202, 202, 5748, 610, 641, 494, 273, 16995, 18, 588, 950, 5621, 202, 202, 5748, 31361, 273, 16995, 18, 588, 950, 1435, 397, 16995, 18, 588, 6777, 11098, 1435, 380, 1381, 31, 202, 202, 17523, 261, 12712, 18, 588, 950, 1435, 411, 31361, 13, 288, 1082, 202, 9186, 18, 13835, 5621, 1082, 202, 3276, 18, 92, 1011, 17013, 18, 13437, 31, 1082, 202, 3276, 18, 93, 3947, 17013, 18, 15680, 31, 5411, 309, 12, 3276, 18, 92, 32, 20, 13, 288, 3639, 1754, 18, 92, 273, 374, 31, 1377, 289, 469, 309, 261, 3276, 18, 92, 34, 4236, 18, 588, 2384, 1435, 17, 4848, 13, 288, 3639, 1754, 18, 92, 273, 9311, 18, 588, 2384, 1435, 17, 4848, 31, 1377, 289, 5411, 309, 12, 3276, 18, 93, 411, 374, 13, 288, 3639, 1754, 18, 93, 273, 374, 31, 1377, 289, 469, 309, 261, 3276, 18, 93, 34, 4236, 18, 588, 2686, 1435, 17, 5082, 13, 288, 3639, 1754, 18, 93, 273, 9311, 18, 588, 2686, 1435, 17, 5082, 31, 1377, 289, 4202, 1082, 202, 5902, 5621, 1082, 202, 7043, 18, 22270, 13699, 5621, 1082, 202, 430, 261, 12712, 18, 588, 950, 1435, 300, 610, 641, 494, 405, 16995, 18, 588, 6777, 11098, 10756, 288, 9506, 202, 3163, 18, 659, 18, 1188, 2932, 1199, 1769, 9506, 202, 5642, 641, 494, 273, 16995, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 341, 360, 3213, 9186, 1435, 288, 202, 202, 3163, 18, 659, 18, 1188, 2932, 8496, 3635, 326, 7644, 6740, 8863, 202, 202, 5748, 610, 641, 494, 273, 16995, 18, 588, 950, 5621, 202, 202, 5748, 31361, 273, 16995, 18, 588, 950, 1435, 397, 16995, 18, 588, 6777, 11098, 1435, 380, 1381, 31, 202, 202, 17523, 261, 12712, 18, 588, 950, 1435, 411, 31361, 13, 288, 1082, 202, 9186, 18, 13835, 5621, 1082, 202, 3276, 18, 92, 1011, 17013, 18, 13437, 31, 1082, 202, 3276, 18, 93, 3947, 17013, 18, 15680, 31, 5411, 309, 12, 3276, 18, 92, 32, 20, 13, 288, 3639, 1754, 18, 92, 273, 374, 31, 1377, 289, 469, 309, 261, 3276, 18, 2 ]
} KeyTracker newTracker = new KeyTracker(this, encCipher, encKey); changedIP(replyTo); boolean bootIDChanged = false; synchronized(this) {
public boolean completedHandshake(long thisBootID, byte[] data, int offset, int length, BlockCipher encCipher, byte[] encKey, Peer replyTo, boolean unverified) { logMINOR = Logger.shouldLog(Logger.MINOR, this); long now = System.currentTimeMillis(); synchronized(this) { completedHandshake = true; handshakeCount = 0; bogusNoderef = false; isConnected = true; } stopARKFetcher(); try { // First, the new noderef processNewNoderef(data, offset, length); } catch (FSParseException e1) { synchronized(this) { bogusNoderef = true; // Disconnect, something broke isConnected = false; } Logger.error(this, "Failed to parse new noderef for "+this+": "+e1, e1); } boolean routable = true; boolean newer = false; boolean older = false; if(reverseInvalidVersion()) { try { node.setNewestPeerLastGoodVersion(Version.getArbitraryBuildNumber(getLastGoodVersion())); } catch (NumberFormatException e) { // ignore } Logger.normal(this, "Not connecting to "+this+" - reverse invalid version "+Version.getVersionString()+" for peer's lastGoodversion: "+getLastGoodVersion()); newer = true; } else { newer = false; } if(invalidVersion()) { Logger.normal(this, "Not connecting to "+this+" - invalid version "+getVersion()); older = true; routable = false; } else { older = false; } synchronized(this) { isRoutable = routable; verifiedIncompatibleNewerVersion = newer; verifiedIncompatibleOlderVersion = older; } KeyTracker newTracker = new KeyTracker(this, encCipher, encKey); changedIP(replyTo); boolean bootIDChanged = false; synchronized(this) { bootIDChanged = (thisBootID != this.bootID); if(bootIDChanged && logMINOR) Logger.minor(this, "Changed boot ID from "+bootID+" to "+thisBootID+" for "+getPeer()); this.bootID = thisBootID; connectedTime = now; } if(bootIDChanged) { KeyTracker oldPrev = null; KeyTracker oldCur = null; synchronized(this) { oldPrev = previousTracker; oldCur = currentTracker; previousTracker = null; currentTracker = null; } if(oldPrev != null) { oldPrev.completelyDeprecated(newTracker); } if(oldCur != null) oldCur.completelyDeprecated(newTracker); node.lm.lostOrRestartedNode(this); } // else it's a rekey if(unverified) { synchronized(this) { unverifiedTracker = newTracker; ctx = null; } if(logMINOR) Logger.minor(this, "sentHandshake() being called for unverifiedTracker: "+getPeer()); sentHandshake(); } else { KeyTracker prev; synchronized(this) { prev = currentTracker; previousTracker = prev; currentTracker = newTracker; unverifiedTracker = null; neverConnected = false; peerAddedTime = 0; // don't store anymore ctx = null; } if(prev != null) prev.deprecated(); } synchronized(this) { Logger.normal(this, "Completed handshake with "+this+" on "+replyTo+" - current: "+currentTracker+" old: "+previousTracker+" unverified: "+unverifiedTracker+" bootID: "+thisBootID+" getName(): "+getName()); } try { receivedPacket(unverified); } catch (NotConnectedException e) { Logger.error(this, "Disconnected in completedHandshake with "+this); return true; // i suppose } if(newer || older || !isConnected()) node.peers.disconnected(this); else node.peers.addConnectedPeer(this); setPeerNodeStatus(now); synchronized(this) { sentInitialMessages = false; } if(isConnected()) { onConnect(); } return true; }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/92061e70ef36714b61c11ad2640dd5689d28deb3/PeerNode.java/buggy/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 5951, 14545, 12, 5748, 333, 15817, 734, 16, 1160, 8526, 501, 16, 509, 1384, 16, 509, 769, 16, 3914, 13896, 2446, 13896, 16, 1160, 8526, 2446, 653, 16, 10669, 30934, 16, 1250, 640, 19685, 13, 288, 377, 202, 1330, 6236, 916, 273, 4242, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 1769, 377, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 377, 202, 22043, 12, 2211, 13, 288, 377, 202, 202, 13615, 14545, 273, 638, 31, 377, 202, 202, 2349, 7478, 1380, 273, 374, 31, 540, 202, 70, 28774, 50, 369, 822, 74, 273, 629, 31, 1082, 202, 291, 8932, 273, 638, 31, 3639, 289, 377, 202, 5681, 9584, 16855, 5621, 202, 202, 698, 288, 1082, 202, 759, 5783, 16, 326, 394, 14003, 822, 74, 1082, 202, 2567, 1908, 50, 369, 822, 74, 12, 892, 16, 1384, 16, 769, 1769, 202, 202, 97, 1044, 261, 4931, 13047, 425, 21, 13, 288, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 70, 28774, 50, 369, 822, 74, 273, 638, 31, 9506, 202, 759, 23957, 16, 5943, 324, 6822, 9506, 202, 291, 8932, 273, 629, 31, 1082, 202, 97, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 2925, 358, 1109, 394, 14003, 822, 74, 364, 13773, 2211, 15, 6877, 13773, 73, 21, 16, 425, 21, 1769, 202, 202, 97, 202, 202, 6494, 721, 3050, 273, 638, 31, 202, 202, 6494, 16069, 273, 629, 31, 202, 202, 6494, 12156, 273, 629, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 5951, 14545, 12, 5748, 333, 15817, 734, 16, 1160, 8526, 501, 16, 509, 1384, 16, 509, 769, 16, 3914, 13896, 2446, 13896, 16, 1160, 8526, 2446, 653, 16, 10669, 30934, 16, 1250, 640, 19685, 13, 288, 377, 202, 1330, 6236, 916, 273, 4242, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 1769, 377, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 377, 202, 22043, 12, 2211, 13, 288, 377, 202, 202, 13615, 14545, 273, 638, 31, 377, 202, 202, 2349, 7478, 1380, 273, 374, 31, 540, 202, 70, 28774, 50, 369, 822, 74, 273, 629, 31, 1082, 202, 291, 8932, 273, 638, 31, 3639, 289, 377, 202, 5681, 9584, 16855, 5621, 2 ]
byte[] in = {1, 2, 3, 4, 5, 6, 7, 8, 9};
byte[] in = {1, 2, 3, 4, 5, 6, 7, 8, 9};
public void test_formatString_oneBreakWithPrefix() { byte[] in = {1, 2, 3, 4, 5, 6, 7, 8, 9}; // "AEBAGBAFAYDQQCI=" (16 chars) String out = base32.formatString(in, 10, "!_", false); assertEquals("!_AEBAGBAFAY\n!_DQQCI=", out); }
53983 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53983/e93d3613dc17d5d6b4150d9c2a0991aa1f124f3f/base32Test.java/clean/tests/org/xbill/DNS/utils/base32Test.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 67, 2139, 780, 67, 476, 7634, 1190, 2244, 1435, 225, 288, 565, 1160, 8526, 316, 273, 288, 21, 16, 576, 16, 890, 16, 1059, 16, 1381, 16, 1666, 16, 2371, 16, 1725, 16, 2468, 20451, 368, 315, 16985, 38, 1781, 12536, 2046, 61, 40, 53, 53, 7266, 1546, 261, 2313, 5230, 13, 565, 514, 596, 273, 1026, 1578, 18, 2139, 780, 12, 267, 16, 1728, 16, 17528, 67, 3113, 629, 1769, 565, 1815, 8867, 2932, 5, 67, 16985, 38, 1781, 12536, 2046, 61, 64, 82, 5, 67, 40, 53, 53, 7266, 1546, 16, 596, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 67, 2139, 780, 67, 476, 7634, 1190, 2244, 1435, 225, 288, 565, 1160, 8526, 316, 273, 288, 21, 16, 576, 16, 890, 16, 1059, 16, 1381, 16, 1666, 16, 2371, 16, 1725, 16, 2468, 20451, 368, 315, 16985, 38, 1781, 12536, 2046, 61, 40, 53, 53, 7266, 1546, 261, 2313, 5230, 13, 565, 514, 596, 273, 1026, 1578, 18, 2139, 780, 12, 267, 16, 1728, 16, 17528, 67, 3113, 629, 1769, 565, 1815, 8867, 2932, 5, 67, 16985, 38, 1781, 12536, 2046, 61, 64, 82, 5, 67, 40, 53, 53, 7266, 1546, 16, 596, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
lm.logger.printResultSet(lm.logger.getMessage(id));
/* if (id > -1) lm.logger.printResultSet(lm.logger.getMessage(id)); else if (m.isCTCP) System.out.println("(Did not log outgoing CTCP " + m.CTCPCommand + " message)") ; else System.out.println("(Did not log outgoing " + m.command + " message)") ; */
public void sendMessage(Message m) { byte[] outbuffer; synchronized (out) { // System.out.println("outbuffer:" + String.valueOf( // m.toString() )); outbuffer = m.toByteArray(); if (bufused + outbuffer.length > 1024) { // hope that sleeping for two seconds will empty the buffer. // System.out.println(2000 + bufused * 3); try { sleep(2000 + bufused * 3); } catch (InterruptedException e) { } bufused >>= 1; } out.println(m.toString()); // System.out.println("Outbuffer: prefix: " + m.prefix + " // params: " + m.params + " trailing:" + m.trailing); bufused += outbuffer.length; } /* * Log the message, if the Logger module is loaded. Doing DB stuff * in a blocking subroutine might be a little short-sighted, but * this is the only point in the goat code that I'm sure will * capture all outgoing goat messages. There might be a better spot * for this in goat.core.Message, but my eyes go all swimmy when I * try to read that file. --rs */ Logger lm = (Logger) Goat.modController.get("Logger"); int id; if (null != lm) { try { // TODO "slashnet" should not be hard-coded here. id = lm.logger.logOutgoingMessage(m, "slashnet"); // uncomment the next line if you want everything you log // retrieved from the db and echoed to the console. lm.logger.printResultSet(lm.logger.getMessage(id)); } catch (SQLException e) { System.out.println("ERROR -- DB problem while trying to log outgoing message"); e.printStackTrace(); } } else { System.err.println("Couldn't find Logger module for outgoing message, skipping."); } }
47073 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47073/1589bb8918748c9b794c9f28e11cdfedcb9fcc8b/ServerConnection.java/clean/src/goat/core/ServerConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 15399, 12, 1079, 312, 13, 288, 1082, 202, 7229, 8526, 596, 4106, 31, 1082, 202, 22043, 261, 659, 13, 288, 9506, 202, 759, 2332, 18, 659, 18, 8222, 2932, 659, 4106, 2773, 397, 514, 18, 1132, 951, 12, 9506, 202, 759, 312, 18, 10492, 1435, 262, 1769, 9506, 202, 659, 4106, 273, 312, 18, 869, 8826, 5621, 9506, 202, 430, 261, 4385, 3668, 397, 596, 4106, 18, 2469, 405, 6250, 13, 288, 6862, 202, 759, 27370, 716, 5329, 310, 364, 2795, 3974, 903, 1008, 326, 1613, 18, 6862, 202, 759, 2332, 18, 659, 18, 8222, 12, 17172, 397, 1681, 3668, 380, 890, 1769, 6862, 202, 698, 288, 25083, 202, 19607, 12, 17172, 397, 1681, 3668, 380, 890, 1769, 6862, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 6862, 202, 97, 6862, 202, 4385, 3668, 23359, 404, 31, 9506, 202, 97, 9506, 202, 659, 18, 8222, 12, 81, 18, 10492, 10663, 9506, 202, 759, 2332, 18, 659, 18, 8222, 2932, 1182, 4106, 30, 1633, 30, 315, 397, 312, 18, 3239, 397, 315, 9506, 202, 759, 859, 30, 315, 397, 312, 18, 2010, 397, 315, 7341, 2773, 397, 312, 18, 26453, 1769, 9506, 202, 4385, 3668, 1011, 596, 4106, 18, 2469, 31, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 1827, 326, 883, 16, 309, 326, 4242, 1605, 353, 4203, 18, 2256, 310, 2383, 10769, 9506, 380, 316, 279, 9445, 720, 22640, 4825, 506, 279, 12720, 3025, 17, 87, 750, 329, 16, 1496, 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, 3196, 202, 482, 918, 15399, 12, 1079, 312, 13, 288, 1082, 202, 7229, 8526, 596, 4106, 31, 1082, 202, 22043, 261, 659, 13, 288, 9506, 202, 759, 2332, 18, 659, 18, 8222, 2932, 659, 4106, 2773, 397, 514, 18, 1132, 951, 12, 9506, 202, 759, 312, 18, 10492, 1435, 262, 1769, 9506, 202, 659, 4106, 273, 312, 18, 869, 8826, 5621, 9506, 202, 430, 261, 4385, 3668, 397, 596, 4106, 18, 2469, 405, 6250, 13, 288, 6862, 202, 759, 27370, 716, 5329, 310, 364, 2795, 3974, 903, 1008, 326, 1613, 18, 6862, 202, 759, 2332, 18, 659, 18, 8222, 12, 17172, 397, 1681, 3668, 380, 890, 1769, 6862, 202, 698, 288, 25083, 202, 19607, 12, 17172, 397, 1681, 3668, 2 ]
Constraint rc = type.realClause(); if (rc != null ) { C_Var var=thisType.selfVar(); if (var == null) var = rc.genEQV(thisType); Constraint newRC = rc.substitute(var, C_Special.This); retType = type.makeVariant(newRC, null);
if (! inTypeElaboration) { X10Type thisType = (X10Type) target.type(); Constraint rc = type.realClause(); if (rc != null ) { C_Var var=thisType.selfVar(); if (var == null) var = rc.genEQV(thisType); Constraint newRC = rc.substitute(var, C_Special.This); retType = type.makeVariant(newRC, null); } fi = fi.type(retType);
public Node typeCheck(TypeChecker tc) throws SemanticException { X10TypeSystem xts = (X10TypeSystem) tc.typeSystem(); X10NodeFactory xnf = (X10NodeFactory) tc.nodeFactory(); /* if (name.equals("location") && xts.isValueType(target.type())) { return xnf.Here(position()).typeCheck(tc); } */ try { //Report.report(1, "X10Field_c.tpeCheck: context" + tc.context()); Context c = tc.context(); TypeSystem ts = tc.typeSystem(); if (! target.type().isReference()) throw new SemanticException("Cannot access field \"" + name + "\" " + (target instanceof Expr ? "on an expression " : "") + "of non-reference type \"" + target.type() + "\".", target.position()); FieldInstance fi = ts.findField(target.type().toReference(), name, c.currentClass()); if (fi == null) { throw new InternalCompilerError("Cannot access field on node of type " + target.getClass().getName() + "."); } X10Type type = (X10Type) fi.type(); X10Type thisType = (X10Type) target.type(); X10Type retType = type; Constraint rc = type.realClause(); if (rc != null ) { C_Var var=thisType.selfVar(); if (var == null) var = rc.genEQV(thisType); Constraint newRC = rc.substitute(var, C_Special.This); retType = type.makeVariant(newRC, null); } fi = fi.type(retType); X10Field_c result = (X10Field_c)fieldInstance(fi).type(retType); result.checkConsistency(c); if (! result.isTypeChecked()) return result; checkFieldAccessesInDepClausesAreFinal(result, tc); result = checkArrayFields(result); //Report.report(1, "X10Field_c: typeCheck " + result+ " has type " + result.type()); return result; } catch (NoMemberException e) { if (e.getKind() != NoMemberException.FIELD || this.target == null) throw e; Type type = target.type(); if (!xts.isX10Array(type)) throw e; // Special fields on arrays if (name.equals("distribution") || name.equals("region")) { Type array = xts.array(); TypeNode typenode = xnf.CanonicalTypeNode(position(), array); return this.target(xnf.Cast(position(), typenode, (Expr) target).type(array)).typeCheck(tc); } throw e; } }
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/8aeb9b4cf89cdb0b34a0500c1ed743aa4ef8eee3/X10Field_c.java/clean/x10.compiler/src/polyglot/ext/x10/ast/X10Field_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2029, 618, 1564, 12, 559, 8847, 1715, 13, 1216, 24747, 503, 288, 202, 202, 60, 2163, 559, 3163, 619, 3428, 273, 261, 60, 2163, 559, 3163, 13, 1715, 18, 723, 3163, 5621, 202, 202, 60, 2163, 907, 1733, 619, 82, 74, 273, 261, 60, 2163, 907, 1733, 13, 1715, 18, 2159, 1733, 5621, 202, 202, 20308, 202, 202, 430, 261, 529, 18, 14963, 2932, 3562, 7923, 597, 619, 3428, 18, 291, 17930, 12, 3299, 18, 723, 1435, 3719, 288, 1082, 202, 2463, 619, 82, 74, 18, 26715, 12, 3276, 1435, 2934, 723, 1564, 12, 5111, 1769, 202, 202, 97, 202, 202, 5549, 202, 202, 698, 288, 1082, 202, 759, 4820, 18, 6006, 12, 21, 16, 315, 60, 2163, 974, 67, 71, 18, 88, 347, 1564, 30, 819, 6, 397, 1715, 18, 2472, 10663, 1082, 202, 1042, 276, 273, 1715, 18, 2472, 5621, 1082, 202, 559, 3163, 3742, 273, 1715, 18, 723, 3163, 5621, 25083, 202, 430, 16051, 1018, 18, 723, 7675, 291, 2404, 10756, 4697, 202, 12849, 394, 24747, 503, 2932, 4515, 2006, 652, 11843, 397, 508, 397, 25083, 202, 6, 2412, 315, 397, 261, 3299, 1276, 8074, 6862, 9506, 202, 35, 315, 265, 392, 2652, 315, 6862, 25083, 202, 30, 1408, 13, 397, 6862, 25083, 202, 6, 792, 1661, 17, 6180, 618, 11843, 397, 6862, 25083, 202, 3299, 18, 723, 1435, 397, 7023, 1199, 16, 1018, 18, 3276, 10663, 25083, 202, 974, 1442, 7314, 273, 3742, 18, 4720, 974, 12, 3299, 18, 723, 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, 2029, 618, 1564, 12, 559, 8847, 1715, 13, 1216, 24747, 503, 288, 202, 202, 60, 2163, 559, 3163, 619, 3428, 273, 261, 60, 2163, 559, 3163, 13, 1715, 18, 723, 3163, 5621, 202, 202, 60, 2163, 907, 1733, 619, 82, 74, 273, 261, 60, 2163, 907, 1733, 13, 1715, 18, 2159, 1733, 5621, 202, 202, 20308, 202, 202, 430, 261, 529, 18, 14963, 2932, 3562, 7923, 597, 619, 3428, 18, 291, 17930, 12, 3299, 18, 723, 1435, 3719, 288, 1082, 202, 2463, 619, 82, 74, 18, 26715, 12, 3276, 1435, 2934, 723, 1564, 12, 5111, 1769, 202, 202, 97, 202, 202, 5549, 202, 202, 698, 288, 1082, 202, 759, 4820, 18, 6006, 12, 21, 16, 315, 2 ]
throw new IllegalArgumentException(); if (name == null)
public IdFunctionObject(IdFunctionCall idcall, Object tag, int id, String name, int arity, Scriptable scope) { super(scope, null); if (arity < 0) throw new IllegalArgumentException(); if (name == null) throw new IllegalArgumentException(); this.idcall = idcall; this.tag = tag; this.methodId = id; this.arity = arity; this.functionName = name; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/271fb8a31366d1ed2d5e5b21b321497a48f75694/IdFunctionObject.java/buggy/src/org/mozilla/javascript/IdFunctionObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3124, 2083, 921, 12, 548, 2083, 1477, 612, 1991, 16, 1033, 1047, 16, 509, 612, 16, 18701, 514, 508, 16, 509, 19353, 16, 22780, 2146, 13, 565, 288, 3639, 2240, 12, 4887, 16, 446, 1769, 3639, 309, 261, 20498, 411, 374, 13, 5411, 604, 394, 2754, 5621, 3639, 309, 261, 529, 422, 446, 13, 5411, 604, 394, 2754, 5621, 3639, 333, 18, 350, 1991, 273, 612, 1991, 31, 3639, 333, 18, 2692, 273, 1047, 31, 3639, 333, 18, 2039, 548, 273, 612, 31, 3639, 333, 18, 20498, 273, 19353, 31, 3639, 333, 18, 915, 461, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3124, 2083, 921, 12, 548, 2083, 1477, 612, 1991, 16, 1033, 1047, 16, 509, 612, 16, 18701, 514, 508, 16, 509, 19353, 16, 22780, 2146, 13, 565, 288, 3639, 2240, 12, 4887, 16, 446, 1769, 3639, 309, 261, 20498, 411, 374, 13, 5411, 604, 394, 2754, 5621, 3639, 309, 261, 529, 422, 446, 13, 5411, 604, 394, 2754, 5621, 3639, 333, 18, 350, 1991, 273, 612, 1991, 31, 3639, 333, 18, 2692, 273, 1047, 31, 3639, 333, 18, 2039, 548, 273, 612, 31, 3639, 333, 18, 20498, 273, 19353, 31, 3639, 333, 18, 915, 461, 273, 508, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
reportEditor.setSelection(getPreferenceStore().getBoolean(MylarTasklistPlugin.REPORT_OPEN_EDITOR));
reportEditor.setSelection(getPreferenceStore().getBoolean(MylarTaskListPlugin.REPORT_OPEN_EDITOR));
private void createBugzillaReportOption(Composite parent) { Group container = new Group(parent, SWT.SHADOW_ETCHED_IN); container.setLayout(new GridLayout(2, false)); container.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); container.setText("Open Bug Reports With"); reportEditor = new Button(container, SWT.RADIO); reportEditor.setText("Bug editor"); reportEditor.setSelection(getPreferenceStore().getBoolean(MylarTasklistPlugin.REPORT_OPEN_EDITOR)); reportInternal = new Button(container, SWT.RADIO); reportInternal.setText("Internal browser"); reportInternal.setSelection(getPreferenceStore().getBoolean(MylarTasklistPlugin.REPORT_OPEN_INTERNAL)); // reportExternal = new Button(container, SWT.RADIO); // reportExternal.setText("External browser"); // reportExternal.setSelection(getPreferenceStore().getBoolean(MylarTasklistPlugin.REPORT_OPEN_EXTERNAL)); // reportExternal.setEnabled(false); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c66e1abc548299095f0992ffd278426ba0fc3203/MylarTasklistPreferencePage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/preferences/MylarTasklistPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 19865, 15990, 4820, 1895, 12, 9400, 982, 13, 288, 202, 202, 1114, 1478, 273, 394, 3756, 12, 2938, 16, 348, 8588, 18, 2664, 1880, 7306, 67, 9235, 2056, 67, 706, 1769, 202, 202, 3782, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 22, 16, 629, 10019, 202, 202, 3782, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 3782, 18, 542, 1528, 2932, 3678, 16907, 868, 4363, 3423, 8863, 202, 202, 6006, 6946, 273, 394, 12569, 12, 3782, 16, 348, 8588, 18, 28829, 4294, 1769, 202, 202, 6006, 6946, 18, 542, 1528, 2932, 19865, 4858, 8863, 202, 202, 6006, 6946, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 12062, 7901, 2174, 1098, 3773, 18, 22710, 67, 11437, 67, 13208, 10019, 202, 202, 6006, 3061, 273, 394, 12569, 12, 3782, 16, 348, 8588, 18, 28829, 4294, 1769, 202, 202, 6006, 3061, 18, 542, 1528, 2932, 3061, 4748, 8863, 202, 202, 6006, 3061, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 12062, 7901, 2174, 1098, 3773, 18, 22710, 67, 11437, 67, 14005, 10019, 202, 202, 759, 202, 202, 6006, 6841, 273, 394, 12569, 12, 3782, 16, 348, 8588, 18, 28829, 4294, 1769, 202, 202, 759, 202, 202, 6006, 6841, 18, 542, 1528, 2932, 6841, 4748, 8863, 202, 202, 759, 202, 202, 6006, 6841, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 12062, 7901, 2174, 1098, 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, 19865, 15990, 4820, 1895, 12, 9400, 982, 13, 288, 202, 202, 1114, 1478, 273, 394, 3756, 12, 2938, 16, 348, 8588, 18, 2664, 1880, 7306, 67, 9235, 2056, 67, 706, 1769, 202, 202, 3782, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 22, 16, 629, 10019, 202, 202, 3782, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 3782, 18, 542, 1528, 2932, 3678, 16907, 868, 4363, 3423, 8863, 202, 202, 6006, 6946, 273, 394, 12569, 12, 3782, 16, 348, 8588, 18, 28829, 4294, 1769, 202, 202, 6006, 6946, 18, 542, 1528, 2932, 19865, 4858, 8863, 202, 202, 6006, 6946, 18, 542, 6233, 12, 2 ]
for (int i = 0; i < items.length; i++) if (commandUniqueName.equals(items[i])) { comboCommand.select(i); break; } } }
for (int i = 0; i < items.length; i++) if (commandUniqueName.equals(items[i])) { comboCommand.select(i); break; } } }
private void setCommandId(String commandId) { comboCommand.clearSelection(); comboCommand.deselectAll(); String commandUniqueName = (String) commandUniqueNamesById.get(commandId); if (commandUniqueName != null) { String items[] = comboCommand.getItems(); for (int i = 0; i < items.length; i++) if (commandUniqueName.equals(items[i])) { comboCommand.select(i); break; } } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/664efbbd6fd6dba5c4d118b10afe31ab34b6890a/KeysPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/KeysPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 444, 2189, 548, 12, 780, 1296, 548, 13, 288, 202, 202, 25053, 2189, 18, 8507, 6233, 5621, 202, 202, 25053, 2189, 18, 5489, 13759, 1595, 5621, 202, 202, 780, 1296, 6303, 461, 273, 261, 780, 13, 1296, 6303, 1557, 5132, 18, 588, 12, 3076, 548, 1769, 202, 202, 430, 261, 3076, 6303, 461, 480, 446, 13, 288, 1082, 202, 780, 1516, 8526, 273, 16778, 2189, 18, 588, 3126, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 9506, 202, 430, 261, 3076, 6303, 461, 18, 14963, 12, 3319, 63, 77, 22643, 288, 6862, 202, 25053, 2189, 18, 4025, 12, 77, 1769, 6862, 202, 8820, 31, 9506, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 444, 2189, 548, 12, 780, 1296, 548, 13, 288, 202, 202, 25053, 2189, 18, 8507, 6233, 5621, 202, 202, 25053, 2189, 18, 5489, 13759, 1595, 5621, 202, 202, 780, 1296, 6303, 461, 273, 261, 780, 13, 1296, 6303, 1557, 5132, 18, 588, 12, 3076, 548, 1769, 202, 202, 430, 261, 3076, 6303, 461, 480, 446, 13, 288, 1082, 202, 780, 1516, 8526, 273, 16778, 2189, 18, 588, 3126, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 9506, 202, 430, 261, 3076, 6303, 461, 18, 14963, 12, 3319, 63, 77, 22643, 288, 6862, 202, 25053, 2189, 18, 4025, 12, 77, 1769, 6862, 202, 8820, 31, 9506, 2 ]
NullLiteral(int line) { super(line); }
public NullLiteral(Position position, int sym) { super(position, sym); }
NullLiteral(int line) { super(line); }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/96c2c0f08db74e6b67885d020d1aa6b2502f09f2/NullLiteral.java/buggy/src/polyglot/lex/NullLiteral.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4112, 6177, 12, 474, 980, 13, 288, 2240, 12, 1369, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4112, 6177, 12, 474, 980, 13, 288, 2240, 12, 1369, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(action.equalsIgnoreCase("VIEW")){
Properties userParams = super.getUserParameters(user) ; String metaId = params.getProperty("META_ID") ; String userId = userParams.getProperty("USER_ID") ;
public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException{ log("startar doGet"); RequestDispatcher myDispatcher = req.getRequestDispatcher("StartDoc"); // Lets validate the session, e.g has the user logged in to Janus? if (super.checkSession(req,res) == false) return ; // Lets get the standard parameters and validate them Properties params = super.getParameters(req) ; //if (super.checkParameters(req, res, params) == false) return ; // Lets get an user object imcode.server.User user = super.getUserObj(req,res) ; if(user == null) return ; int testMetaId = Integer.parseInt( params.getProperty("META_ID") ); if ( !isUserAuthorized( req, res, testMetaId, user ) ){ return; } String action = req.getParameter("action") ; if(action == null){ //OBS FIXA FELMEDELANDENA action = "" ; String header = "ChatManager servlet. " ; ChatError err = new ChatError(req,res,header,3) ; log(header + err.getErrorMsg()) ; return ; } // ********* NEW ******** //it's here we end up when we creates a new chatlink if(action.equalsIgnoreCase("NEW")) { //log("Lets add a chat"); HttpSession session = req.getSession(false) ; if (session != null){ // log("Ok nu stter vi metavrdena"); session.setAttribute("Chat.meta_id", params.getProperty("META_ID")) ; session.setAttribute("Chat.parent_meta_id", params.getProperty("PARENT_META_ID")) ; } req.setAttribute("action","NEW"); myDispatcher = req.getRequestDispatcher("ChatCreator"); myDispatcher.forward(req,res); return ; } // ********* VIEW ******** if(action.equalsIgnoreCase("VIEW")){ // Lets get userparameters Properties userParams = super.getUserParameters(user) ; String metaId = params.getProperty("META_ID") ; String userId = userParams.getProperty("USER_ID") ; RmiConf rmi = new RmiConf(user) ; // Lets detect which type of user we got String userType = userParams.getProperty("USER_TYPE") ; String loginType = userParams.getProperty("LOGIN_TYPE") ; // Lets store the standard metavalues in his session object HttpSession session = req.getSession(false) ; if (session != null){ // log("Ok nu stter vi metavrdena"); session.setAttribute("Chat.meta_id", params.getProperty("META_ID")) ; session.setAttribute("Chat.parent_meta_id", params.getProperty("PARENT_META_ID")) ; } req.setAttribute("login_type","login"); myDispatcher = req.getRequestDispatcher("ChatLogin"); myDispatcher.forward(req,res); return ; } // End of View // ********* CHANGE ******** if(action.equalsIgnoreCase("CHANGE")){ req.setAttribute("metadata","meta"); myDispatcher = req.getRequestDispatcher("ChangeExternalDoc2"); myDispatcher.forward(req,res); return ; } // End if//************** fljande metoder behver kollas ver om de fungerar eller inte ***************** // ********* STATISTICS OBS. NOT USED IN PROGRAM, ONLY FOR TEST ******** if(action.equalsIgnoreCase("STATISTICS")) { // Lets get serverinformation String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("userserver",host) ; String ChatPoolServer = Utility.getDomainPref("conference_server",host) ; //log("confpoolserver " + ChatPoolServer ) ; String metaId = req.getParameter("meta_id") ; String frDate = req.getParameter("from_date") ; String toDate = req.getParameter("to_date") ; String mode = req.getParameter("list_mode") ; // Lets fix the date stuff if( frDate.equals("0")) frDate = "1991-01-01 00:00" ; if( toDate.equals("0")) toDate = "2070-01-01 00:00" ; if( mode == null) mode = "1" ; StringBuffer sql = new StringBuffer() ; sql.append("C_AdminStatistics1" + " " + metaId + ", '" + frDate + "', '" ); sql.append(toDate + "', " + mode) ; //log("C_AdminStatistics sql: " + sql.toString()) ; String[][] arr = ChatManager.getStatistics(ChatPoolServer, sql.toString()) ; //log("C_AdminStatistics sql: " + arr.length) ; } // End if } // End doGet
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/ChatManager.java/buggy/servlets/chat/ChatManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 15069, 16517, 16, 1860, 95, 9506, 202, 1330, 2932, 1937, 297, 23611, 8863, 202, 202, 691, 6681, 3399, 6681, 273, 1111, 18, 588, 691, 6681, 2932, 1685, 1759, 8863, 9506, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 202, 759, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 202, 202, 2297, 859, 273, 2240, 18, 588, 2402, 12, 3658, 13, 274, 202, 202, 759, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 327, 274, 202, 202, 759, 511, 2413, 336, 392, 729, 733, 202, 202, 381, 710, 18, 3567, 18, 1299, 729, 273, 2240, 18, 588, 1299, 2675, 12, 3658, 16, 455, 13, 274, 202, 202, 430, 12, 1355, 422, 446, 13, 327, 274, 202, 202, 474, 1842, 2781, 548, 273, 2144, 18, 2670, 1702, 12, 859, 18, 588, 1396, 2932, 19294, 67, 734, 7923, 11272, 9506, 202, 430, 261, 401, 291, 1299, 15341, 12, 1111, 16, 400, 16, 1842, 2781, 548, 16, 729, 262, 262, 95, 6862, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 1301, 273, 1111, 18, 588, 1662, 2932, 1128, 7923, 274, 9506, 202, 430, 12, 1128, 422, 446, 15329, 1082, 202, 759, 5704, 55, 8563, 37, 478, 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, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 15069, 16517, 16, 1860, 95, 9506, 202, 1330, 2932, 1937, 297, 23611, 8863, 202, 202, 691, 6681, 3399, 6681, 273, 1111, 18, 588, 691, 6681, 2932, 1685, 1759, 8863, 9506, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 202, 759, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 202, 202, 2297, 859, 273, 2240, 18, 588, 2402, 12, 3658, 13, 274, 202, 202, 759, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 2 ]
return null;
throw new PSQLException("postgresql.metadata.unavailable");
public java.sql.ResultSet getTypeInfo() throws SQLException { java.sql.ResultSet rs = connection.ExecSQL("select typname from pg_type"); if(rs!=null) { Field f[] = new Field[18]; ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[1] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[2] = new Field(connection, "PRECISION", iInt4Oid, 4); f[3] = new Field(connection, "LITERAL_PREFIX", iVarcharOid, 32); f[4] = new Field(connection, "LITERAL_SUFFIX", iVarcharOid, 32); f[5] = new Field(connection, "CREATE_PARAMS", iVarcharOid, 32); f[6] = new Field(connection, "NULLABLE", iInt2Oid, 2); f[7] = new Field(connection, "CASE_SENSITIVE", iBoolOid, 1); f[8] = new Field(connection, "SEARCHABLE", iInt2Oid, 2); f[9] = new Field(connection, "UNSIGNED_ATTRIBUTE", iBoolOid, 1); f[10] = new Field(connection, "FIXED_PREC_SCALE", iBoolOid, 1); f[11] = new Field(connection, "AUTO_INCREMENT", iBoolOid, 1); f[12] = new Field(connection, "LOCAL_TYPE_NAME", iVarcharOid, 32); f[13] = new Field(connection, "MINIMUM_SCALE", iInt2Oid, 2); f[14] = new Field(connection, "MAXIMUM_SCALE", iInt2Oid, 2); f[15] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[16] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[17] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); // cache some results, this will keep memory useage down, and speed // things up a little. byte b9[] = "9".getBytes(); byte b10[] = "10".getBytes(); byte bf[] = "f".getBytes(); byte bnn[] = Integer.toString(typeNoNulls).getBytes(); byte bts[] = Integer.toString(typeSearchable).getBytes(); while(rs.next()) { byte[][] tuple = new byte[18][]; String typname=rs.getString(1); tuple[0] = typname.getBytes(); tuple[1] = Integer.toString(Field.getSQLType(typname)).getBytes(); tuple[2] = b9; // for now tuple[6] = bnn; // for now tuple[7] = bf; // false for now - not case sensitive tuple[8] = bts; tuple[9] = bf; // false for now - it's signed tuple[10] = bf; // false for now - must handle money tuple[11] = bf; // false for now - handle autoincrement // 12 - LOCAL_TYPE_NAME is null // 13 & 14 ? // 15 & 16 are unused so we return null tuple[17] = b10; // everything is base 10 v.addElement(tuple); } rs.close(); return new ResultSet(connection, f, v, "OK", 1); } return null; }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/459014c6725b778a09e4df81bb097559c080470d/DatabaseMetaData.java/clean/org/postgresql/jdbc1/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 3130, 966, 1435, 1216, 6483, 225, 288, 565, 2252, 18, 4669, 18, 13198, 3597, 273, 1459, 18, 1905, 3997, 2932, 4025, 3815, 529, 628, 7184, 67, 723, 8863, 565, 309, 12, 5453, 5, 33, 2011, 13, 288, 1377, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 1377, 10842, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 1377, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 1377, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 4883, 67, 2399, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 1377, 284, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 3670, 26913, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 1377, 284, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 23225, 67, 6307, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 23225, 67, 14964, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 9344, 67, 16785, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 8560, 2782, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 1377, 284, 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, 282, 1071, 2252, 18, 4669, 18, 13198, 3130, 966, 1435, 1216, 6483, 225, 288, 565, 2252, 18, 4669, 18, 13198, 3597, 273, 1459, 18, 1905, 3997, 2932, 4025, 3815, 529, 628, 7184, 67, 723, 8863, 565, 309, 12, 5453, 5, 33, 2011, 13, 288, 1377, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 1377, 10842, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 1377, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 1377, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 2 ]
if(!vfs.load(view,this,path)) { setFlag(LOADING,false); return false; }
setFlag(LOADING,false); return false;
public boolean load(final View view, final boolean reload) { if(isPerformingIO()) { GUIUtilities.error(view,"buffer-multiple-io",null); return false; } setBooleanProperty(BufferIORequest.ERROR_OCCURRED,false); setFlag(LOADING,true); // view text areas temporarily blank out while a buffer is // being loaded, to indicate to the user that there is no // data available yet. if(!getFlag(TEMPORARY)) EditBus.send(new BufferUpdate(this,view,BufferUpdate.LOAD_STARTED)); final boolean loadAutosave; if(reload || !getFlag(NEW_FILE)) { if(file != null) modTime = file.lastModified(); // Only on initial load if(!reload && autosaveFile != null && autosaveFile.exists()) loadAutosave = recoverAutosave(view); else { if(autosaveFile != null) autosaveFile.delete(); loadAutosave = false; } if(!loadAutosave) { VFS vfs = VFSManager.getVFSForPath(path); if(!checkFileForLoad(view,vfs,path)) { setFlag(LOADING,false); return false; } if(isNewFile()) /* ie, checkFileForLoad() set this */; else { if(!vfs.load(view,this,path)) { setFlag(LOADING,false); return false; } } } } else loadAutosave = false; //{{{ Do some stuff once loading is finished Runnable runnable = new Runnable() { public void run() { String newPath = getStringProperty( BufferIORequest.NEW_PATH); Segment seg = (Segment)getProperty( BufferIORequest.LOAD_DATA); IntegerArray endOffsets = (IntegerArray) getProperty(BufferIORequest.END_OFFSETS); if(seg == null) seg = new Segment(new char[1024],0,0); if(endOffsets == null) { endOffsets = new IntegerArray(); endOffsets.add(1); } try { writeLock(); // For `reload' command firePreContentRemoved(0,0,getLineCount() - 1,getLength()); contentMgr.remove(0,getLength()); lineMgr.contentRemoved(0,0,getLineCount() - 1,getLength()); positionMgr.contentRemoved(0,getLength()); fireContentRemoved(0,0,getLineCount() - 1,getLength()); // theoretically a segment could // have seg.offset != 0 but // SegmentBuffer never does that contentMgr._setContent(seg.array,seg.count); lineMgr._contentInserted(endOffsets); positionMgr.contentInserted(0,seg.count); fireContentInserted(0,0, endOffsets.getSize() - 1, seg.count - 1); } finally { writeUnlock(); } unsetProperty(BufferIORequest.LOAD_DATA); unsetProperty(BufferIORequest.END_OFFSETS); unsetProperty(BufferIORequest.NEW_PATH); undoMgr.clear(); undoMgr.setLimit(jEdit.getIntegerProperty( "buffer.undoCount",100)); if(!getFlag(TEMPORARY)) finishLoading(); setFlag(LOADING,false); // if reloading a file, clear dirty flag if(reload) setDirty(false); if(!loadAutosave && newPath != null) setPath(newPath); // if loadAutosave is false, we loaded an // autosave file, so we set 'dirty' to true // note that we don't use setDirty(), // because a) that would send an unnecessary // message, b) it would also set the // AUTOSAVE_DIRTY flag, which will make // the autosave thread write out a // redundant autosave file if(loadAutosave) setFlag(DIRTY,true); // send some EditBus messages if(!getFlag(TEMPORARY)) { EditBus.send(new BufferUpdate(Buffer.this, view,BufferUpdate.LOADED)); //EditBus.send(new BufferUpdate(Buffer.this, // view,BufferUpdate.MARKERS_CHANGED)); } } }; //}}} if(getFlag(TEMPORARY)) runnable.run(); else VFSManager.runInAWTThread(runnable); return true; } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/ff54611166e8b388a0ae19ae113d008ba7037e8b/Buffer.java/buggy/org/gjt/sp/jedit/Buffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1262, 12, 6385, 4441, 1476, 16, 727, 1250, 7749, 13, 202, 95, 202, 202, 430, 12, 291, 4990, 310, 4294, 10756, 202, 202, 95, 1082, 202, 43, 5370, 11864, 18, 1636, 12, 1945, 10837, 4106, 17, 9622, 17, 1594, 3113, 2011, 1769, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 542, 5507, 1396, 12, 1892, 4294, 691, 18, 3589, 67, 51, 6743, 1099, 5879, 16, 5743, 1769, 202, 202, 542, 4678, 12, 7783, 1360, 16, 3767, 1769, 202, 202, 759, 1476, 977, 15586, 18917, 7052, 596, 1323, 279, 1613, 353, 202, 202, 759, 3832, 4203, 16, 358, 10768, 358, 326, 729, 716, 1915, 353, 1158, 202, 202, 759, 501, 2319, 4671, 18, 202, 202, 430, 12, 5, 588, 4678, 12, 10258, 916, 6043, 3719, 1082, 202, 4666, 7086, 18, 4661, 12, 2704, 3525, 1891, 12, 2211, 16, 1945, 16, 1892, 1891, 18, 7783, 67, 20943, 6404, 10019, 202, 202, 6385, 1250, 1262, 21023, 836, 31, 202, 202, 430, 12, 17517, 747, 401, 588, 4678, 12, 12917, 67, 3776, 3719, 202, 202, 95, 1082, 202, 430, 12, 768, 480, 446, 13, 9506, 202, 1711, 950, 273, 585, 18, 2722, 4575, 5621, 1082, 202, 759, 5098, 603, 2172, 1262, 1082, 202, 430, 12, 5, 17517, 597, 13133, 836, 812, 480, 446, 597, 13133, 836, 812, 18, 1808, 10756, 9506, 202, 945, 21023, 836, 273, 5910, 21023, 836, 12, 1945, 1769, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 430, 12, 21996, 836, 812, 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, 1250, 1262, 12, 6385, 4441, 1476, 16, 727, 1250, 7749, 13, 202, 95, 202, 202, 430, 12, 291, 4990, 310, 4294, 10756, 202, 202, 95, 1082, 202, 43, 5370, 11864, 18, 1636, 12, 1945, 10837, 4106, 17, 9622, 17, 1594, 3113, 2011, 1769, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 542, 5507, 1396, 12, 1892, 4294, 691, 18, 3589, 67, 51, 6743, 1099, 5879, 16, 5743, 1769, 202, 202, 542, 4678, 12, 7783, 1360, 16, 3767, 1769, 202, 202, 759, 1476, 977, 15586, 18917, 7052, 596, 1323, 279, 1613, 353, 202, 202, 759, 3832, 4203, 16, 358, 10768, 358, 326, 729, 716, 1915, 353, 1158, 202, 202, 759, 501, 2319, 4671, 18, 202, 2 ]
String getName();
public String getName();
String getName();
51810 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51810/7abd18e719cfae04e1281e9832aa24856ba5b9ce/PortletPreference.java/buggy/pluto-container/src/main/java/org/apache/pluto/core/PortletPreference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 514, 1723, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 514, 1723, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
reaction.addProduct(new Molecule());
reaction.addProduct(builder.newMolecule());
public void testGetProductCount() { Reaction reaction = new Reaction(); assertEquals(0, reaction.getProductCount()); reaction.addProduct(new Molecule()); assertEquals(1, reaction.getProductCount()); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/67261c8143759a6ee4feb79dc1687d6dcfa25f40/ReactionTest.java/clean/src/org/openscience/cdk/test/ReactionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 4133, 1380, 1435, 288, 3639, 868, 1128, 12836, 273, 394, 868, 1128, 5621, 3639, 1815, 8867, 12, 20, 16, 12836, 18, 588, 4133, 1380, 10663, 202, 266, 1128, 18, 1289, 4133, 12, 9574, 18, 2704, 29669, 10663, 3639, 1815, 8867, 12, 21, 16, 12836, 18, 588, 4133, 1380, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 4133, 1380, 1435, 288, 3639, 868, 1128, 12836, 273, 394, 868, 1128, 5621, 3639, 1815, 8867, 12, 20, 16, 12836, 18, 588, 4133, 1380, 10663, 202, 266, 1128, 18, 1289, 4133, 12, 9574, 18, 2704, 29669, 10663, 3639, 1815, 8867, 12, 21, 16, 12836, 18, 588, 4133, 1380, 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 ]
return null;
if (obj == null || !(obj instanceof ProblemMarker)) { return null; } return Util.getImage(((ProblemMarker) obj).getSeverity());
public Image getImage(Object obj) { return null; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/479f19d56b13adb524e8b08585e30a0328bb054e/FieldMessage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3421, 10567, 12, 921, 1081, 13, 288, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3421, 10567, 12, 921, 1081, 13, 288, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
char[] result = new char[end - start];
char[][] result = new char[end - start][];
public static final char[] subarray(char[] array, int start, int end) { if (end == -1) end = array.length; if (start > end) return null; if (start < 0) return null; if (end > array.length) return null; char[] result = new char[end - start]; System.arraycopy(array, start, result, 0, end - start); return result; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/51a73af86dfc48263b870da877579caead870558/CharOperation.java/buggy/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/CharOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1149, 8526, 720, 1126, 12, 3001, 8526, 526, 16, 509, 787, 16, 509, 679, 13, 288, 202, 202, 430, 261, 409, 422, 300, 21, 13, 1082, 202, 409, 273, 526, 18, 2469, 31, 202, 202, 430, 261, 1937, 405, 679, 13, 1082, 202, 2463, 446, 31, 202, 202, 430, 261, 1937, 411, 374, 13, 1082, 202, 2463, 446, 31, 202, 202, 430, 261, 409, 405, 526, 18, 2469, 13, 1082, 202, 2463, 446, 31, 202, 202, 3001, 8526, 563, 273, 394, 1149, 63, 409, 300, 787, 15533, 202, 202, 3163, 18, 1126, 3530, 12, 1126, 16, 787, 16, 563, 16, 374, 16, 679, 300, 787, 1769, 202, 202, 2463, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1149, 8526, 720, 1126, 12, 3001, 8526, 526, 16, 509, 787, 16, 509, 679, 13, 288, 202, 202, 430, 261, 409, 422, 300, 21, 13, 1082, 202, 409, 273, 526, 18, 2469, 31, 202, 202, 430, 261, 1937, 405, 679, 13, 1082, 202, 2463, 446, 31, 202, 202, 430, 261, 1937, 411, 374, 13, 1082, 202, 2463, 446, 31, 202, 202, 430, 261, 409, 405, 526, 18, 2469, 13, 1082, 202, 2463, 446, 31, 202, 202, 3001, 8526, 563, 273, 394, 1149, 63, 409, 300, 787, 15533, 202, 202, 3163, 18, 1126, 3530, 12, 1126, 16, 787, 16, 563, 16, 374, 16, 679, 300, 787, 1769, 202, 202, 2463, 563, 31, 202, 97, 2, -100 ]
assertFalse("should not have been invokedObject", recorder.hasBeenInvoked()); recorder.invoked(emptyInvocation); assertTrue("should have been invokedObject", recorder.hasBeenInvoked()); }
assertFalse("should not have been invokedObject", recorder.hasBeenInvoked()); recorder.invoked(emptyInvocation); assertTrue("should have been invokedObject", recorder.hasBeenInvoked()); }
public void testReportsIfHasBeenInvoked() { assertFalse("should not have been invokedObject", recorder.hasBeenInvoked()); recorder.invoked(emptyInvocation); assertTrue("should have been invokedObject", recorder.hasBeenInvoked()); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/InvokedRecorderTest.java/buggy/jmock/core/src/test/jmock/core/matcher/InvokedRecorderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 18631, 2047, 5582, 25931, 26215, 1435, 288, 202, 202, 11231, 8381, 2932, 13139, 486, 1240, 2118, 8187, 921, 3113, 15766, 18, 5332, 25931, 26215, 10663, 202, 202, 3366, 264, 18, 5768, 14276, 12, 5531, 9267, 1769, 202, 202, 11231, 5510, 2932, 13139, 1240, 2118, 8187, 921, 3113, 15766, 18, 5332, 25931, 26215, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 18631, 2047, 5582, 25931, 26215, 1435, 288, 202, 202, 11231, 8381, 2932, 13139, 486, 1240, 2118, 8187, 921, 3113, 15766, 18, 5332, 25931, 26215, 10663, 202, 202, 3366, 264, 18, 5768, 14276, 12, 5531, 9267, 1769, 202, 202, 11231, 5510, 2932, 13139, 1240, 2118, 8187, 921, 3113, 15766, 18, 5332, 25931, 26215, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public WorkbenchCommandSupport(Workbench workbench) { this.workbench = workbench;
public WorkbenchCommandSupport(final Workbench workbenchToSupport) { workbench = workbenchToSupport;
public WorkbenchCommandSupport(Workbench workbench) { this.workbench = workbench; mutableCommandManager = CommandManagerFactory.getCommandManager(); KeyFormatterFactory.setDefault(SWTKeySupport .getKeyFormatterForPlatform()); keyboard = new WorkbenchKeyboard(workbench, workbench .getActivitySupport().getActivityManager(), getCommandManager()); setKeyFilterEnabled(true); workbench.addWindowListener(windowListener); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/664efbbd6fd6dba5c4d118b10afe31ab34b6890a/WorkbenchCommandSupport.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/ws/WorkbenchCommandSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4147, 22144, 2189, 6289, 12, 2421, 22144, 1440, 22144, 13, 288, 3639, 333, 18, 1252, 22144, 273, 1440, 22144, 31, 3639, 16074, 2189, 1318, 273, 3498, 20012, 18, 588, 2189, 1318, 5621, 3639, 1929, 5074, 1733, 18, 542, 1868, 12, 55, 8588, 653, 6289, 7734, 263, 588, 653, 5074, 1290, 8201, 10663, 3639, 16263, 273, 394, 4147, 22144, 17872, 12, 1252, 22144, 16, 1440, 22144, 7734, 263, 588, 6193, 6289, 7675, 588, 6193, 1318, 9334, 12856, 1318, 10663, 3639, 16696, 1586, 1526, 12, 3767, 1769, 3639, 1440, 22144, 18, 1289, 3829, 2223, 12, 5668, 2223, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4147, 22144, 2189, 6289, 12, 2421, 22144, 1440, 22144, 13, 288, 3639, 333, 18, 1252, 22144, 273, 1440, 22144, 31, 3639, 16074, 2189, 1318, 273, 3498, 20012, 18, 588, 2189, 1318, 5621, 3639, 1929, 5074, 1733, 18, 542, 1868, 12, 55, 8588, 653, 6289, 7734, 263, 588, 653, 5074, 1290, 8201, 10663, 3639, 16263, 273, 394, 4147, 22144, 17872, 12, 1252, 22144, 16, 1440, 22144, 7734, 263, 588, 6193, 6289, 7675, 588, 6193, 1318, 9334, 12856, 1318, 10663, 3639, 16696, 1586, 1526, 12, 3767, 1769, 3639, 1440, 22144, 18, 1289, 3829, 2223, 12, 5668, 2223, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!super.equals(o)) {
if (!super.equals(o)) {
public boolean equals(Object o) { if (this == o) { return true; } if (!super.equals(o)) { return false; } if (o == null) { return false; } if (o.getClass() != getClass()) { return false; } FoodItem castedObj = (FoodItem) o; return ((this.expiry == null ? castedObj.expiry == null : this.expiry .equals(castedObj.expiry))); }
13936 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13936/5e618d9cd09f79d4c9272ff180ef5ffe8a1a153d/FoodItem.java/buggy/Housekeeper/trunk/housekeeper/src/java/net/sf/housekeeper/domain/FoodItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 320, 13, 288, 3639, 309, 261, 2211, 422, 320, 13, 288, 5411, 327, 638, 31, 3639, 289, 3639, 309, 16051, 9565, 18, 14963, 12, 83, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 83, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 83, 18, 588, 797, 1435, 480, 2900, 10756, 288, 5411, 327, 629, 31, 3639, 289, 3639, 478, 4773, 1180, 28192, 2675, 273, 261, 42, 4773, 1180, 13, 320, 31, 3639, 327, 14015, 2211, 18, 22409, 422, 446, 692, 28192, 2675, 18, 22409, 422, 446, 294, 333, 18, 22409, 5411, 263, 14963, 12, 4155, 329, 2675, 18, 22409, 3719, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 320, 13, 288, 3639, 309, 261, 2211, 422, 320, 13, 288, 5411, 327, 638, 31, 3639, 289, 3639, 309, 16051, 9565, 18, 14963, 12, 83, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 83, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 83, 18, 588, 797, 1435, 480, 2900, 10756, 288, 5411, 327, 629, 31, 3639, 289, 3639, 478, 4773, 1180, 28192, 2675, 273, 261, 42, 4773, 1180, 13, 320, 31, 3639, 327, 14015, 2211, 18, 22409, 422, 446, 692, 28192, 2675, 18, 22409, 422, 446, 294, 333, 18, 22409, 5411, 263, 14963, 12, 4155, 329, 2675, 18, 22409, 3719, 1769, 565, 289, 2, -100, -100 ]
System.out.println("--[java]bcJavaSample.test0 ");
System.out.println("--[java]bcJavaSample.test0 ");
public void test0() { System.out.println("--[java]bcJavaSample.test0 "); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/8ec09a530aeffc02e170a4038a954a87f4c4c901/bcJavaSample.java/buggy/java/xpcom/java/test/bcJavaSample.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 20, 1435, 288, 202, 3163, 18, 659, 18, 8222, 2932, 413, 63, 6290, 65, 13459, 5852, 8504, 18, 3813, 20, 315, 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, 918, 1842, 20, 1435, 288, 202, 3163, 18, 659, 18, 8222, 2932, 413, 63, 6290, 65, 13459, 5852, 8504, 18, 3813, 20, 315, 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 ]
break _loop1057;
break _loop1061;
public final void definequerystate(AST _t) throws RecognitionException { AST definequerystate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1051 = _t; AST tmp710_AST_in = (AST)_t; match(_t,DEFINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: case SHARED: { def_shared(_t); _t = _retTree; break; } case PRIVATE: case PUBLIC: case QUERY: case PROTECTED: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVATE: case PUBLIC: case PROTECTED: { def_visib(_t); _t = _retTree; break; } case QUERY: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp711_AST_in = (AST)_t; match(_t,QUERY); _t = _t.getNextSibling(); AST tmp712_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); AST tmp713_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); AST tmp714_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: case FIELDS: { record_fields(_t); _t = _retTree; break; } case EOF: case PERIOD: case CACHE: case RCODEINFORMATION: case SCROLLING: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1057: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp715_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); AST tmp716_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: case FIELDS: { record_fields(_t); _t = _retTree; break; } case EOF: case PERIOD: case CACHE: case RCODEINFORMATION: case SCROLLING: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop1057; } } while (true); } { _loop1060: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CACHE: { AST __t1059 = _t; AST tmp717_AST_in = (AST)_t; match(_t,CACHE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1059; _t = _t.getNextSibling(); break; } case SCROLLING: { AST tmp718_AST_in = (AST)_t; match(_t,SCROLLING); _t = _t.getNextSibling(); break; } case RCODEINFORMATION: { AST tmp719_AST_in = (AST)_t; match(_t,RCODEINFORMATION); _t = _t.getNextSibling(); break; } default: { break _loop1060; } } } while (true); } state_end(_t); _t = _retTree; _t = __t1051; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4426, 2271, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 2271, 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, 2163, 10593, 273, 389, 88, 31, 202, 202, 9053, 1853, 27, 2163, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 12887, 30, 202, 202, 3593, 9777, 5879, 30, 202, 202, 95, 1082, 202, 536, 67, 11574, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 23685, 30, 202, 202, 3593, 17187, 30, 202, 202, 3593, 17089, 30, 202, 202, 3593, 4629, 26729, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 23685, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4426, 2271, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 2271, 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, 2163, 10593, 273, 389, 88, 31, 202, 202, 9053, 1853, 27, 2163, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 2 ]
public org.quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { org.quickfix.field.SecurityAltID value = new org.quickfix.field.SecurityAltID();
public quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { quickfix.field.SecurityAltID value = new quickfix.field.SecurityAltID();
public org.quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { org.quickfix.field.SecurityAltID value = new org.quickfix.field.SecurityAltID(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteStatusRequest.java/buggy/src/java/src/quickfix/fix43/QuoteStatusRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 19288, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4368, 10655, 734, 19288, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (selection.size() > 1) {
if (selection.size() > 1) {
protected boolean updateSelection(IStructuredSelection selection) { disposeTextWidget(); if (selection.size() > 1) { return false; } if (!super.updateSelection(selection)) { return false; } IResource currentResource = getCurrentResource(); if (currentResource == null || !currentResource.exists()) { return false; } return true; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/53cada7d6d0463cdcb3aed320ea380f4aae64087/RenameResourceAction.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/RenameResourceAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 1089, 6233, 12, 45, 30733, 6233, 4421, 13, 288, 3639, 15825, 1528, 4609, 5621, 3639, 309, 261, 10705, 18, 1467, 1435, 405, 404, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 309, 16051, 9565, 18, 2725, 6233, 12, 10705, 3719, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 467, 1420, 783, 1420, 273, 5175, 1420, 5621, 3639, 309, 261, 2972, 1420, 422, 446, 747, 401, 2972, 1420, 18, 1808, 10756, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 1089, 6233, 12, 45, 30733, 6233, 4421, 13, 288, 3639, 15825, 1528, 4609, 5621, 3639, 309, 261, 10705, 18, 1467, 1435, 405, 404, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 309, 16051, 9565, 18, 2725, 6233, 12, 10705, 3719, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 467, 1420, 783, 1420, 273, 5175, 1420, 5621, 3639, 309, 261, 2972, 1420, 422, 446, 747, 401, 2972, 1420, 18, 1808, 10756, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 327, 638, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final Iterator attributes = user.getChildren("Attribute").iterator();
final Iterator attributes = user.getChildren("DummyAttribute").iterator();
protected void setConfig(final Element config) { // Parse any user elements. userMap = new HashMap(); final Iterator users = config.getChildren("User").iterator(); while (users.hasNext()) { // Parse any attribute elements. HashMap attributeMap = new HashMap(); final Element user = (Element) users.next(); final Iterator attributes = user.getChildren("Attribute").iterator(); while (attributes.hasNext()) { // Parse any value elements. ArrayList valueList = new ArrayList(); final Element attribute = (Element) attributes.next(); final Iterator values = attribute.getChildren("Value").iterator(); while (values.hasNext()) { // Parse the attribute values. final Element value = (Element) values.next(); valueList.add(value.getText()); } // Map an attribute to its values. attributeMap.put(attribute.getAttribute("name").getValue().toLowerCase(), valueList); } // Map an attribute to a user. userMap.put(user.getAttribute("name").getValue().toLowerCase(), attributeMap); } }
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/257f61aed5d681606642fe92d01d0f7be8d8d964/DummyBackend.java/clean/moria2/modules/moria-dm/src/java/no/feide/moria/directory/backend/DummyBackend.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 15517, 12, 6385, 3010, 642, 13, 288, 3639, 368, 2884, 1281, 729, 2186, 18, 3639, 729, 863, 273, 394, 4317, 5621, 3639, 727, 4498, 3677, 273, 642, 18, 588, 4212, 2932, 1299, 20387, 9838, 5621, 3639, 1323, 261, 5577, 18, 5332, 2134, 10756, 288, 5411, 368, 2884, 1281, 1566, 2186, 18, 5411, 4317, 1566, 863, 273, 394, 4317, 5621, 5411, 727, 3010, 729, 273, 261, 1046, 13, 3677, 18, 4285, 5621, 5411, 727, 4498, 1677, 273, 729, 18, 588, 4212, 2932, 20094, 1499, 20387, 9838, 5621, 5411, 1323, 261, 4350, 18, 5332, 2134, 10756, 288, 7734, 368, 2884, 1281, 460, 2186, 18, 7734, 2407, 460, 682, 273, 394, 2407, 5621, 7734, 727, 3010, 1566, 273, 261, 1046, 13, 1677, 18, 4285, 5621, 7734, 727, 4498, 924, 273, 1566, 18, 588, 4212, 2932, 620, 20387, 9838, 5621, 7734, 1323, 261, 2372, 18, 5332, 2134, 10756, 288, 10792, 368, 2884, 326, 1566, 924, 18, 10792, 727, 3010, 460, 273, 261, 1046, 13, 924, 18, 4285, 5621, 10792, 460, 682, 18, 1289, 12, 1132, 18, 588, 1528, 10663, 7734, 289, 7734, 368, 1635, 392, 1566, 358, 2097, 924, 18, 7734, 1566, 863, 18, 458, 12, 4589, 18, 588, 1499, 2932, 529, 20387, 24805, 7675, 869, 5630, 9334, 460, 682, 1769, 5411, 289, 5411, 368, 1635, 392, 1566, 358, 279, 729, 18, 5411, 729, 863, 18, 458, 12, 1355, 18, 588, 1499, 2932, 529, 20387, 24805, 7675, 869, 5630, 9334, 1566, 863, 1769, 3639, 289, 10792, 289, 2, 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, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 15517, 12, 6385, 3010, 642, 13, 288, 3639, 368, 2884, 1281, 729, 2186, 18, 3639, 729, 863, 273, 394, 4317, 5621, 3639, 727, 4498, 3677, 273, 642, 18, 588, 4212, 2932, 1299, 20387, 9838, 5621, 3639, 1323, 261, 5577, 18, 5332, 2134, 10756, 288, 5411, 368, 2884, 1281, 1566, 2186, 18, 5411, 4317, 1566, 863, 273, 394, 4317, 5621, 5411, 727, 3010, 729, 273, 261, 1046, 13, 3677, 18, 4285, 5621, 5411, 727, 4498, 1677, 273, 729, 18, 588, 4212, 2932, 20094, 1499, 20387, 9838, 5621, 5411, 1323, 261, 4350, 18, 5332, 2134, 10756, 288, 7734, 368, 2884, 1281, 460, 2186, 18, 7734, 2407, 460, 682, 273, 394, 2407, 5621, 7734, 727, 3010, 1566, 273, 261, 2 ]
assign(coordinates[row][RawBackend.rawColumns],
assign(layout.coordinates[row][RawBackend.rawColumns],
private static void randomPlacement() { //assign the fileReaders/writers to the last row if (FileVisitor.foundReader || FileVisitor.foundWriter) { Iterator frs = FileVisitor.fileReaders.iterator(); Iterator fws = FileVisitor.fileWriters.iterator(); int row = 0; //check to see if there are less then //file readers/writers the number of columns if (FileVisitor.fileReaders.size() + FileVisitor.fileWriters.size() > RawBackend.rawRows) Utils.fail("Too many file readers/writers (must be less than rows)."); //assign the file streams to the added column starting at the top //row while (frs.hasNext()) { assign(coordinates[row][RawBackend.rawColumns], (FlatNode)frs.next()); row++; } while (fws.hasNext()) { assign(coordinates[row][RawBackend.rawColumns], (FlatNode)fws.next()); row++; } } //Iterator nodes = assigned.iterator(); ListIterator dfTraversal = DFTraversal.getDFTraversal(toplevel).listIterator(0); int row = 0; int column = 0; for (row = 0; row < RawBackend.rawRows; row ++) { if (row % 2 == 0) { for (column = 0; column < RawBackend.rawColumns;) { if (!dfTraversal.hasNext()) break; FlatNode node = (FlatNode)dfTraversal.next(); if (!assigned.contains(node)) continue; assign(getTile(row, column), node); column++; } } else { for (column = RawBackend.rawColumns -1; column >= 0;) { if (!dfTraversal.hasNext()) break; FlatNode node = (FlatNode)dfTraversal.next(); if (!assigned.contains(node)) continue; assign(getTile(row, column), node); column--; } } if (!dfTraversal.hasNext()) break; } dumpLayout("initial-layout.dot"); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/288e97c88f203479dfffcd0b94742eb9b9c4b3e3/Layout.java/buggy/streams/src/at/dms/kjc/raw/Layout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2744, 12420, 1435, 377, 288, 202, 759, 6145, 326, 585, 30301, 19, 5363, 414, 358, 326, 1142, 1027, 202, 430, 261, 812, 7413, 18, 7015, 2514, 747, 1387, 7413, 18, 7015, 2289, 13, 288, 202, 565, 4498, 3812, 87, 273, 1387, 7413, 18, 768, 30301, 18, 9838, 5621, 202, 565, 4498, 284, 4749, 273, 1387, 7413, 18, 768, 27508, 18, 9838, 5621, 202, 565, 509, 1027, 273, 374, 31, 202, 565, 368, 1893, 358, 2621, 309, 1915, 854, 5242, 1508, 202, 565, 368, 768, 16527, 19, 5363, 414, 326, 1300, 434, 2168, 202, 565, 309, 261, 812, 7413, 18, 768, 30301, 18, 1467, 1435, 397, 3196, 202, 812, 7413, 18, 768, 27508, 18, 1467, 1435, 405, 6576, 7172, 18, 1899, 4300, 13, 202, 202, 1989, 18, 6870, 2932, 10703, 4906, 585, 16527, 19, 5363, 414, 261, 11926, 506, 5242, 2353, 2595, 14944, 1769, 202, 565, 368, 6145, 326, 585, 8205, 358, 326, 3096, 1057, 5023, 622, 326, 1760, 202, 565, 368, 492, 202, 565, 1323, 261, 4840, 87, 18, 5332, 2134, 10756, 288, 202, 202, 6145, 12, 6741, 18, 16941, 63, 492, 6362, 4809, 7172, 18, 1899, 3380, 6487, 26924, 4202, 261, 16384, 907, 13, 4840, 87, 18, 4285, 10663, 202, 202, 492, 9904, 31, 202, 565, 289, 202, 565, 1323, 261, 74, 4749, 18, 5332, 2134, 10756, 288, 202, 202, 6145, 12, 16941, 63, 492, 6362, 4809, 7172, 18, 1899, 3380, 6487, 1082, 4202, 261, 16384, 907, 13, 74, 4749, 18, 4285, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2744, 12420, 1435, 377, 288, 202, 759, 6145, 326, 585, 30301, 19, 5363, 414, 358, 326, 1142, 1027, 202, 430, 261, 812, 7413, 18, 7015, 2514, 747, 1387, 7413, 18, 7015, 2289, 13, 288, 202, 565, 4498, 3812, 87, 273, 1387, 7413, 18, 768, 30301, 18, 9838, 5621, 202, 565, 4498, 284, 4749, 273, 1387, 7413, 18, 768, 27508, 18, 9838, 5621, 202, 565, 509, 1027, 273, 374, 31, 202, 565, 368, 1893, 358, 2621, 309, 1915, 854, 5242, 1508, 202, 565, 368, 768, 16527, 19, 5363, 414, 326, 1300, 434, 2168, 202, 565, 309, 261, 812, 7413, 18, 768, 30301, 18, 1467, 1435, 397, 3196, 202, 812, 7413, 18, 768, 27508, 18, 1467, 1435, 2 ]
if (!result) return result;
if (!result) { return result; }
public boolean isApplicableTo(Object object) { boolean result = true; if (visibilityTest != null) { result = result && visibilityTest.isEnabledFor(object); if (!result) return result; } else if (filterTest != null) { result = result && filterTest.matches(object, true); if (!result) return result; } if (enablement != null) { try { IEvaluationContext context = new EvaluationContext(null, object); context.addVariable("selection", object); //$NON-NLS-1$ EvaluationResult evalResult = enablement.evaluate(context); if (evalResult == EvaluationResult.FALSE) return false; } catch (CoreException e) { enablement = null; WorkbenchPlugin.getDefault().getLog().log(e.getStatus()); result = false; } } return result; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ObjectActionContributor.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ObjectActionContributor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 353, 27873, 774, 12, 921, 733, 13, 288, 5411, 1250, 563, 273, 638, 31, 5411, 309, 261, 14422, 4709, 480, 446, 13, 288, 7734, 563, 273, 563, 597, 9478, 4709, 18, 291, 1526, 1290, 12, 1612, 1769, 7734, 309, 16051, 2088, 13, 10792, 327, 563, 31, 5411, 289, 469, 309, 261, 2188, 4709, 480, 446, 13, 288, 7734, 563, 273, 563, 597, 1034, 4709, 18, 8436, 12, 1612, 16, 638, 1769, 7734, 309, 16051, 2088, 13, 10792, 327, 563, 31, 5411, 289, 5411, 309, 261, 7589, 475, 480, 446, 13, 288, 7734, 775, 288, 10792, 467, 13468, 1042, 819, 273, 394, 17340, 1042, 12, 2011, 16, 18701, 733, 1769, 10792, 819, 18, 1289, 3092, 2932, 10705, 3113, 733, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 10792, 17340, 1253, 5302, 1253, 273, 4237, 475, 18, 21024, 12, 2472, 1769, 10792, 309, 261, 8622, 1253, 422, 17340, 1253, 18, 21053, 13, 13491, 327, 629, 31, 7734, 289, 1044, 261, 25341, 425, 13, 288, 10792, 4237, 475, 273, 446, 31, 10792, 4147, 22144, 3773, 18, 588, 1868, 7675, 588, 1343, 7675, 1330, 12, 73, 18, 588, 1482, 10663, 10792, 563, 273, 629, 31, 7734, 289, 5411, 289, 5411, 327, 563, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 353, 27873, 774, 12, 921, 733, 13, 288, 5411, 1250, 563, 273, 638, 31, 5411, 309, 261, 14422, 4709, 480, 446, 13, 288, 7734, 563, 273, 563, 597, 9478, 4709, 18, 291, 1526, 1290, 12, 1612, 1769, 7734, 309, 16051, 2088, 13, 10792, 327, 563, 31, 5411, 289, 469, 309, 261, 2188, 4709, 480, 446, 13, 288, 7734, 563, 273, 563, 597, 1034, 4709, 18, 8436, 12, 1612, 16, 638, 1769, 7734, 309, 16051, 2088, 13, 10792, 327, 563, 31, 5411, 289, 5411, 309, 261, 7589, 475, 480, 446, 13, 288, 7734, 775, 288, 10792, 467, 13468, 1042, 819, 273, 394, 17340, 1042, 12, 2011, 16, 18701, 733, 1769, 10792, 819, 18, 1289, 3092, 2932, 10705, 2 ]
if (debugLevel >= 3) { addByteCode(ByteCode.ALOAD_1); addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_2); addStaticInvoke("org/mozilla/javascript/debug/NativeDelegate", "executeDebug", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/NativeFunction;" + "Lorg/mozilla/javascript/Scriptable;)", "Ljava/lang/Object;"); } else { addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_1); addByteCode(ByteCode.ALOAD_2); addByteCode(ByteCode.DUP); addByteCode(ByteCode.ACONST_NULL); addVirtualInvoke(slashName, "call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)", "Ljava/lang/Object;"); }
addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_1); addByteCode(ByteCode.ALOAD_2); addByteCode(ByteCode.DUP); addByteCode(ByteCode.ACONST_NULL); addVirtualInvoke(slashName, "call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)", "Ljava/lang/Object;");
private void generateExecute(Context cx) { String signature = "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;)" + "Ljava/lang/Object;"; startNewMethod("exec", signature, 2, false, true); String slashName = this.name.replace('.', '/'); if (!trivialInit) { // to begin a script, call the initScript method addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ByteCode.ALOAD_2); // load 'scope' addByteCode(ByteCode.ALOAD_1); // load 'cx' addVirtualInvoke(slashName, "initScript", "(Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Context;)", "V"); } if (debugLevel >= 3) { addByteCode(ByteCode.ALOAD_1); // load 'cx' addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ByteCode.ALOAD_2); // load 'scope' addStaticInvoke("org/mozilla/javascript/debug/NativeDelegate", "executeDebug", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/NativeFunction;" + "Lorg/mozilla/javascript/Scriptable;)", "Ljava/lang/Object;"); } else { addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ByteCode.ALOAD_1); // load 'cx' addByteCode(ByteCode.ALOAD_2); // load 'scope' addByteCode(ByteCode.DUP); addByteCode(ByteCode.ACONST_NULL); addVirtualInvoke(slashName, "call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)", "Ljava/lang/Object;"); } addByteCode(ByteCode.ARETURN); finishMethod(cx, null); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/358852ab0559d31ad406a9294705552786b43c55/Codegen.java/buggy/js/rhino/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 5289, 12, 1042, 9494, 13, 288, 3639, 514, 3372, 273, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 397, 18701, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 31, 2225, 397, 21821, 315, 21159, 19, 4936, 19, 921, 4868, 31, 3639, 787, 1908, 1305, 2932, 4177, 3113, 3372, 16, 576, 16, 629, 16, 638, 1769, 3639, 514, 9026, 461, 273, 333, 18, 529, 18, 2079, 2668, 1093, 16, 2023, 1769, 3639, 309, 16051, 313, 20109, 2570, 13, 288, 5411, 368, 358, 2376, 279, 2728, 16, 745, 326, 1208, 3651, 707, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 368, 1262, 296, 2211, 11, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 22, 1769, 368, 1262, 296, 4887, 11, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 21, 1769, 368, 1262, 296, 71, 92, 11, 5411, 527, 6466, 10969, 12, 12877, 461, 16, 12900, 315, 2738, 3651, 3113, 12900, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 397, 12900, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 31, 2225, 16, 12900, 315, 58, 8863, 3639, 289, 3639, 309, 261, 4148, 2355, 1545, 890, 13, 288, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 21, 1769, 368, 1262, 296, 71, 92, 11, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 5289, 12, 1042, 9494, 13, 288, 3639, 514, 3372, 273, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 397, 18701, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 31, 2225, 397, 21821, 315, 21159, 19, 4936, 19, 921, 4868, 31, 3639, 787, 1908, 1305, 2932, 4177, 3113, 3372, 16, 576, 16, 629, 16, 638, 1769, 3639, 514, 9026, 461, 273, 333, 18, 529, 18, 2079, 2668, 1093, 16, 2023, 1769, 3639, 309, 16051, 313, 20109, 2570, 13, 288, 5411, 368, 358, 2376, 279, 2728, 16, 745, 326, 1208, 3651, 707, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 368, 1262, 296, 2211, 11, 2 ]
protected boolean executeSQL(String sql, String spName, String sqlWord, ParamInfo[] params, boolean returnKeys, boolean update) throws SQLException { closeCurrentResultSet(); resultQueue.clear(); genKeyResultSet = null; String warningMessage = null; // // Try to open a cursor result set if required (and possible) // if ((resultSetType != ResultSet.TYPE_FORWARD_ONLY || resultSetConcurrency != ResultSet.CONCUR_READ_ONLY || cursorName != null) && !returnKeys && (sqlWord.equals("select") || sqlWord.startsWith("exec"))) { try { if (connection.getServerType() == Driver.SQLSERVER) { currentResult = new MSCursorResultSet( this, sql, spName, params, resultSetType, resultSetConcurrency); return true; } else { // Use client side cursor for Sybase currentResult = new CachedResultSet( this, sql, spName, params, resultSetType, resultSetConcurrency); return true; } } catch (SQLException e) { if (connection == null || connection.isClosed() || "HYT00".equals(e.getSQLState())) { // Serious error or timeout so return exception to caller throw e; } warningMessage = "[" + e.getSQLState() + "] " + e.getMessage(); } } // // Could not open a Cursor or not a SELECT so just execute // tds.executeSQL(sql, spName, params, false, queryTimeout, maxRows, maxFieldSize, true); if (warningMessage != null) { // Update warning chain if cursor was downgraded addWarning(new SQLWarning(Messages.get( "warning.cursordowngraded", warningMessage), "01000")); } return processResults(returnKeys, update); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/dc19399312030055ce9a0c416c4d15d6011fd3af/JtdsStatement.java/clean/src/main/net/sourceforge/jtds/jdbc/JtdsStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 225, 1250, 225, 1836, 3997, 12, 780, 225, 1847, 16, 4766, 21394, 514, 225, 1694, 461, 16, 4766, 21394, 514, 225, 1847, 3944, 16, 4766, 21394, 3014, 966, 8526, 225, 859, 16, 4766, 21394, 1250, 225, 327, 2396, 16, 4766, 21394, 1250, 225, 1089, 13, 7734, 1216, 225, 6483, 225, 288, 7734, 1746, 3935, 13198, 5621, 7734, 563, 3183, 18, 8507, 5621, 7734, 3157, 653, 13198, 225, 273, 225, 446, 31, 7734, 514, 225, 3436, 1079, 225, 273, 225, 446, 31, 7734, 368, 7734, 368, 225, 6161, 225, 358, 225, 1696, 225, 279, 225, 3347, 225, 563, 225, 444, 225, 309, 225, 1931, 225, 261, 464, 225, 3323, 13, 7734, 368, 7734, 309, 225, 14015, 2088, 25181, 225, 480, 225, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 27573, 747, 225, 12168, 18273, 225, 480, 225, 10842, 18, 2248, 7509, 67, 6949, 67, 10857, 27573, 747, 225, 3347, 461, 225, 480, 225, 446, 13, 27573, 597, 225, 401, 2463, 2396, 27573, 597, 225, 261, 4669, 3944, 18, 14963, 2932, 4025, 7923, 225, 747, 225, 1847, 3944, 18, 17514, 1190, 2932, 4177, 6, 20349, 225, 288, 13491, 775, 225, 288, 27573, 309, 225, 261, 4071, 18, 588, 2081, 559, 1435, 225, 422, 225, 9396, 18, 3997, 4370, 13, 225, 288, 4766, 3639, 783, 1253, 225, 273, 225, 394, 225, 490, 2312, 295, 2467, 13198, 12, 4766, 13491, 333, 16, 4766, 13491, 1847, 16, 4766, 13491, 1694, 461, 16, 4766, 13491, 859, 16, 4766, 13491, 12168, 559, 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, 4750, 225, 1250, 225, 1836, 3997, 12, 780, 225, 1847, 16, 4766, 21394, 514, 225, 1694, 461, 16, 4766, 21394, 514, 225, 1847, 3944, 16, 4766, 21394, 3014, 966, 8526, 225, 859, 16, 4766, 21394, 1250, 225, 327, 2396, 16, 4766, 21394, 1250, 225, 1089, 13, 7734, 1216, 225, 6483, 225, 288, 7734, 1746, 3935, 13198, 5621, 7734, 563, 3183, 18, 8507, 5621, 7734, 3157, 653, 13198, 225, 273, 225, 446, 31, 7734, 514, 225, 3436, 1079, 225, 273, 225, 446, 31, 7734, 368, 7734, 368, 225, 6161, 225, 358, 225, 1696, 225, 279, 225, 3347, 225, 563, 225, 444, 225, 309, 225, 1931, 225, 261, 464, 225, 3323, 13, 7734, 368, 7734, 309, 225, 14015, 2088, 25181, 2 ]
public TokenException(String mesg) { super(mesg); }
public TokenException() { super(); }
public TokenException(String mesg) { super(mesg); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/3634d4d94b208431471fe506f413f97d460c7602/TokenException.java/buggy/security/jss/org/mozilla/jss/crypto/TokenException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3155, 503, 12, 780, 15216, 75, 13, 288, 3639, 2240, 12, 26244, 75, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 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, 1071, 3155, 503, 12, 780, 15216, 75, 13, 288, 3639, 2240, 12, 26244, 75, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
hide();
setVisible(false);
public void actionPerformed(ActionEvent e) { hide(); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/544e74b19ccddbfb3d18bf97a41ae3c655f76f76/JAffineTransformChooser.java/clean/sources/org/apache/batik/ext/swing/JAffineTransformChooser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 13491, 16697, 12, 5743, 1769, 10792, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 13491, 16697, 12, 5743, 1769, 10792, 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 ]
AST tmp1207_AST_in = (AST)_t;
AST tmp1208_AST_in = (AST)_t;
public final void definetemptablestate(AST _t) throws RecognitionException { AST definetemptablestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST def = null; AST id = null; AST bt = null; AST __t596 = _t; def = _t==ASTNULL ? null :(AST)_t; match(_t,DEFINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: case SHARED: { def_shared(_t); _t = _retTree; break; } case PRIVATE: case PUBLIC: case TEMPTABLE: case PROTECTED: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVATE: case PUBLIC: case PROTECTED: { def_visib(_t); _t = _retTree; break; } case TEMPTABLE: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1193_AST_in = (AST)_t; match(_t,TEMPTABLE); _t = _t.getNextSibling(); id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { action.defineTemptable(def, id); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case UNDO: { AST tmp1194_AST_in = (AST)_t; match(_t,UNDO); _t = _t.getNextSibling(); break; } case NOUNDO: { AST tmp1195_AST_in = (AST)_t; match(_t,NOUNDO); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case COLUMNLABEL: case FIELD: case INDEX: case LABEL: case LIKE: case RCODEINFORMATION: case BEFORETABLE: case NAMESPACEPREFIX: case NAMESPACEURI: case REFERENCEONLY: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NAMESPACEURI: { namespace_uri(_t); _t = _retTree; break; } case EOF: case PERIOD: case COLUMNLABEL: case FIELD: case INDEX: case LABEL: case LIKE: case RCODEINFORMATION: case BEFORETABLE: case NAMESPACEPREFIX: case REFERENCEONLY: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NAMESPACEPREFIX: { namespace_prefix(_t); _t = _retTree; break; } case EOF: case PERIOD: case COLUMNLABEL: case FIELD: case INDEX: case LABEL: case LIKE: case RCODEINFORMATION: case BEFORETABLE: case REFERENCEONLY: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case REFERENCEONLY: { AST tmp1196_AST_in = (AST)_t; match(_t,REFERENCEONLY); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case COLUMNLABEL: case FIELD: case INDEX: case LABEL: case LIKE: case RCODEINFORMATION: case BEFORETABLE: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LIKE: { def_table_like(_t); _t = _retTree; break; } case EOF: case PERIOD: case COLUMNLABEL: case FIELD: case INDEX: case LABEL: case RCODEINFORMATION: case BEFORETABLE: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case EOF: case PERIOD: case FIELD: case INDEX: case RCODEINFORMATION: case BEFORETABLE: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BEFORETABLE: { AST __t606 = _t; AST tmp1197_AST_in = (AST)_t; match(_t,BEFORETABLE); _t = _t.getFirstChild(); bt = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { action.defineBuffer(bt, bt, id, false); } _t = __t606; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case FIELD: case INDEX: case RCODEINFORMATION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case RCODEINFORMATION: { AST tmp1198_AST_in = (AST)_t; match(_t,RCODEINFORMATION); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case FIELD: case INDEX: { break; } default: { throw new NoViableAltException(_t); } } } { _loop609: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==FIELD)) { def_table_field(_t); _t = _retTree; } else { break _loop609; } } while (true); } { _loop620: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==INDEX)) { AST __t611 = _t; AST tmp1199_AST_in = (AST)_t; match(_t,INDEX); _t = _t.getFirstChild(); AST tmp1200_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { _loop615: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_19.member(_t.getType()))) { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AS: { AST tmp1201_AST_in = (AST)_t; match(_t,AS); _t = _t.getNextSibling(); break; } case IS: { AST tmp1202_AST_in = (AST)_t; match(_t,IS); _t = _t.getNextSibling(); break; } case PRIMARY: case UNIQUE: case WORDINDEX: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case UNIQUE: { AST tmp1203_AST_in = (AST)_t; match(_t,UNIQUE); _t = _t.getNextSibling(); break; } case PRIMARY: { AST tmp1204_AST_in = (AST)_t; match(_t,PRIMARY); _t = _t.getNextSibling(); break; } case WORDINDEX: { AST tmp1205_AST_in = (AST)_t; match(_t,WORDINDEX); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop615; } } while (true); } { int _cnt619=0; _loop619: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==ID)) { AST tmp1206_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { _loop618: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ASCENDING: { AST tmp1207_AST_in = (AST)_t; match(_t,ASCENDING); _t = _t.getNextSibling(); break; } case DESCENDING: { AST tmp1208_AST_in = (AST)_t; match(_t,DESCENDING); _t = _t.getNextSibling(); break; } case CASESENSITIVE: { AST tmp1209_AST_in = (AST)_t; match(_t,CASESENSITIVE); _t = _t.getNextSibling(); break; } default: { break _loop618; } } } while (true); } } else { if ( _cnt619>=1 ) { break _loop619; } else {throw new NoViableAltException(_t);} } _cnt619++; } while (true); } _t = __t611; _t = _t.getNextSibling(); } else { break _loop620; } } while (true); } state_end(_t); _t = _retTree; _t = __t596; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2217, 278, 5744, 9237, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2217, 278, 5744, 9237, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 202, 202, 9053, 10921, 273, 446, 31, 9506, 202, 9053, 1001, 88, 6162, 26, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 12887, 30, 202, 202, 3593, 9777, 5879, 30, 202, 202, 95, 1082, 202, 536, 67, 11574, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 23685, 30, 202, 202, 3593, 17187, 30, 202, 202, 3593, 14028, 1856, 2782, 30, 202, 202, 3593, 4629, 26729, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2217, 278, 5744, 9237, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2217, 278, 5744, 9237, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 202, 202, 9053, 10921, 273, 446, 31, 9506, 202, 9053, 1001, 88, 6162, 26, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 2 ]
new AssignmentVisitor(runtime, self).assign(node.getArgsNode(), RubyArray.newArray(runtime, 0), pcall);
new AssignmentVisitor(runtime, self).assign(node.getArgsNode(), runtime.newArray(0), pcall);
public IRubyObject mAssign(IRubyObject self, MultipleAsgnNode node, RubyArray value, boolean pcall) { // Assign the values. int valueLen = value.getLength(); int varLen = ListNodeUtil.getLength(node.getHeadNode()); Iterator iter = node.getHeadNode() != null ? node.getHeadNode().iterator() : Collections.EMPTY_LIST.iterator(); for (int i = 0; i < valueLen && iter.hasNext(); i++) { Node lNode = (Node) iter.next(); new AssignmentVisitor(runtime, self).assign(lNode, value.entry(i), pcall); } if (pcall && iter.hasNext()) { throw new ArgumentError(runtime, "Wrong # of arguments (" + valueLen + " for " + varLen + ")"); } if (node.getArgsNode() != null) { if (node.getArgsNode() instanceof StarNode) { // no check for '*' } else if (varLen < valueLen) { ArrayList newList = new ArrayList(value.getList().subList(varLen, valueLen)); new AssignmentVisitor(runtime, self).assign(node.getArgsNode(), RubyArray.newArray(runtime, newList), pcall); } else { new AssignmentVisitor(runtime, self).assign(node.getArgsNode(), RubyArray.newArray(runtime, 0), pcall); } } else if (pcall && valueLen < varLen) { throw new ArgumentError(runtime, "Wrong # of arguments (" + valueLen + " for " + varLen + ")"); } while (iter.hasNext()) { new AssignmentVisitor(runtime, self).assign((Node)iter.next(), runtime.getNil(), pcall); } return value; }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/870e1da9b41bfdbae259e1fc5f18fc8b76686998/ThreadContext.java/buggy/src/org/jruby/runtime/ThreadContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 312, 4910, 12, 7937, 10340, 921, 365, 16, 13531, 37, 1055, 82, 907, 756, 16, 19817, 1076, 460, 16, 1250, 293, 1991, 13, 288, 3639, 368, 12093, 326, 924, 18, 3639, 509, 460, 2891, 273, 460, 18, 588, 1782, 5621, 3639, 509, 569, 2891, 273, 987, 907, 1304, 18, 588, 1782, 12, 2159, 18, 588, 1414, 907, 10663, 7734, 4498, 1400, 273, 756, 18, 588, 1414, 907, 1435, 480, 446, 692, 756, 18, 588, 1414, 907, 7675, 9838, 1435, 294, 5737, 18, 13625, 67, 7085, 18, 9838, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 460, 2891, 597, 1400, 18, 5332, 2134, 5621, 277, 27245, 288, 5411, 2029, 328, 907, 273, 261, 907, 13, 1400, 18, 4285, 5621, 5411, 394, 15499, 7413, 12, 9448, 16, 365, 2934, 6145, 12, 80, 907, 16, 460, 18, 4099, 12, 77, 3631, 293, 1991, 1769, 3639, 289, 3639, 309, 261, 84, 1991, 597, 1400, 18, 5332, 2134, 10756, 288, 5411, 604, 394, 9236, 12, 9448, 16, 315, 13634, 468, 434, 1775, 7566, 397, 460, 2891, 397, 315, 364, 315, 397, 569, 2891, 397, 7310, 1769, 3639, 289, 3639, 309, 261, 2159, 18, 588, 2615, 907, 1435, 480, 446, 13, 288, 5411, 309, 261, 2159, 18, 588, 2615, 907, 1435, 1276, 934, 297, 907, 13, 288, 7734, 368, 1158, 866, 364, 5306, 5411, 289, 469, 309, 261, 1401, 2891, 411, 460, 2891, 13, 288, 7734, 2407, 23605, 273, 394, 2407, 12, 1132, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 312, 4910, 12, 7937, 10340, 921, 365, 16, 13531, 37, 1055, 82, 907, 756, 16, 19817, 1076, 460, 16, 1250, 293, 1991, 13, 288, 3639, 368, 12093, 326, 924, 18, 3639, 509, 460, 2891, 273, 460, 18, 588, 1782, 5621, 3639, 509, 569, 2891, 273, 987, 907, 1304, 18, 588, 1782, 12, 2159, 18, 588, 1414, 907, 10663, 7734, 4498, 1400, 273, 756, 18, 588, 1414, 907, 1435, 480, 446, 692, 756, 18, 588, 1414, 907, 7675, 9838, 1435, 294, 5737, 18, 13625, 67, 7085, 18, 9838, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 460, 2891, 597, 1400, 18, 5332, 2134, 5621, 277, 27245, 288, 5411, 2029, 328, 907, 273, 2 ]
new Object[] { formatXML(packet.toXML()), dateFormatter.format(new Date()), packetReceivedIcon, packetTypeIcon, messageType, packet.getPacketID(), type, "", from });
new Object[]{ formatXML(packet.toXML()), dateFormatter.format(new Date()), packetReceivedIcon, packetTypeIcon, messageType, packet.getPacketID(), type, "", from});
private void addReadPacketToTable(final SimpleDateFormat dateFormatter, final Packet packet) { SwingUtilities.invokeLater(new Runnable() { public void run() { String messageType = null; String from = packet.getFrom(); String type = ""; Icon packetTypeIcon; receivedPackets++; if (packet instanceof IQ) { packetTypeIcon = iqPacketIcon; messageType = "IQ Received (class=" + packet.getClass().getName() + ")"; type = ((IQ) packet).getType().toString(); receivedIQPackets++; } else if (packet instanceof Message) { packetTypeIcon = messagePacketIcon; messageType = "Message Received"; type = ((Message) packet).getType().toString(); receivedMessagePackets++; } else if (packet instanceof Presence) { packetTypeIcon = presencePacketIcon; messageType = "Presence Received"; type = ((Presence) packet).getType().toString(); receivedPresencePackets++; } else { packetTypeIcon = unknownPacketTypeIcon; messageType = packet.getClass().getName() + " Received"; receivedOtherPackets++; } // Check if we need to remove old rows from the table to keep memory consumption low if (EnhancedDebuggerWindow.PERSISTED_DEBUGGER) { if (EnhancedDebuggerWindow.MAX_TABLE_ROWS > 0 && messagesTable.getRowCount() >= EnhancedDebuggerWindow.MAX_TABLE_ROWS) { messagesTable.removeRow(0); } } messagesTable.addRow( new Object[] { formatXML(packet.toXML()), dateFormatter.format(new Date()), packetReceivedIcon, packetTypeIcon, messageType, packet.getPacketID(), type, "", from }); // Update the statistics table updateStatistics(); } }); }
4336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4336/a43b8a1cdb5f3b07a0a1df0570681125d1cc1725/EnhancedDebugger.java/clean/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 1994, 6667, 774, 1388, 12, 6385, 17005, 1509, 5074, 16, 727, 11114, 4414, 13, 288, 3639, 26145, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 514, 22402, 273, 446, 31, 7734, 514, 628, 273, 4414, 18, 588, 1265, 5621, 7734, 514, 618, 273, 1408, 31, 7734, 16011, 4414, 559, 5554, 31, 7734, 5079, 27328, 9904, 31, 7734, 309, 261, 11482, 1276, 26950, 13, 288, 10792, 4414, 559, 5554, 273, 24288, 6667, 5554, 31, 10792, 22402, 273, 315, 45, 53, 21066, 261, 1106, 1546, 397, 4414, 18, 588, 797, 7675, 17994, 1435, 397, 7310, 31, 10792, 618, 273, 14015, 45, 53, 13, 4414, 2934, 588, 559, 7675, 10492, 5621, 10792, 5079, 45, 53, 27328, 9904, 31, 7734, 289, 7734, 469, 309, 261, 11482, 1276, 2350, 13, 288, 10792, 4414, 559, 5554, 273, 883, 6667, 5554, 31, 10792, 22402, 273, 315, 1079, 21066, 14432, 10792, 618, 273, 14015, 1079, 13, 4414, 2934, 588, 559, 7675, 10492, 5621, 10792, 5079, 1079, 27328, 9904, 31, 7734, 289, 7734, 469, 309, 261, 11482, 1276, 31517, 13, 288, 10792, 4414, 559, 5554, 273, 9805, 6667, 5554, 31, 10792, 22402, 273, 315, 22590, 21066, 14432, 10792, 618, 273, 14015, 22590, 13, 4414, 2934, 588, 559, 7675, 10492, 5621, 10792, 5079, 22590, 27328, 9904, 31, 7734, 289, 7734, 469, 288, 10792, 4414, 559, 5554, 273, 5917, 6667, 559, 5554, 31, 10792, 22402, 273, 4414, 18, 588, 797, 7675, 17994, 1435, 397, 315, 21066, 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, 527, 1994, 6667, 774, 1388, 12, 6385, 17005, 1509, 5074, 16, 727, 11114, 4414, 13, 288, 3639, 26145, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 514, 22402, 273, 446, 31, 7734, 514, 628, 273, 4414, 18, 588, 1265, 5621, 7734, 514, 618, 273, 1408, 31, 7734, 16011, 4414, 559, 5554, 31, 7734, 5079, 27328, 9904, 31, 7734, 309, 261, 11482, 1276, 26950, 13, 288, 10792, 4414, 559, 5554, 273, 24288, 6667, 5554, 31, 10792, 22402, 273, 315, 45, 53, 21066, 261, 1106, 1546, 397, 4414, 18, 588, 797, 7675, 17994, 1435, 397, 7310, 31, 10792, 618, 273, 14015, 45, 53, 13, 4414, 2934, 588, 559, 7675, 10492, 2 ]
else if ( "groupId".equals( rawName ) ) { metadata.setGroupId( getBodyText() ); } else if ( "artifactId".equals( rawName ) ) { metadata.setArtifactId( getBodyText() ); } else if ( "version".equals( rawName ) ) { metadata.setVersion( getBodyText() ); }
public void startElement( String uri, String localName, String rawName, Attributes attributes ) { if ( insideVersioning ) { if ( insideSnapshot ) { if ( "buildNumber".equals( rawName ) ) { try { metadata.setSnapshotBuildNumber( Integer.valueOf( getBodyText() ).intValue() ); } catch ( NumberFormatException e ) { // Ignore } } else if ( "timestamp".equals( rawName ) ) { metadata.setSnapshotTimestamp( getBodyText() ); } else if ( "localCopy".equals( rawName ) ) { metadata.setLocalCopy( Boolean.valueOf( getBodyText() ).booleanValue() ); } } else if ( insideVersions ) { if ( "version".equals( rawName ) ) { metadata.addVersion( getBodyText() ); } } else { if ( "snapshot".equals( rawName ) ) { insideSnapshot = true; } else if ( "versions".equals( rawName ) ) { insideVersions = true; } else if ( "latest".equals( rawName ) ) { metadata.setLatestVersion( getBodyText() ); } else if ( "release".equals( rawName ) ) { metadata.setReleaseVersion( getBodyText() ); } } } else { // root element if ( "versioning".equals( rawName ) ) { insideVersioning = true; } else if ( "groupId".equals( rawName ) ) { metadata.setGroupId( getBodyText() ); } else if ( "artifactId".equals( rawName ) ) { metadata.setArtifactId( getBodyText() ); } else if ( "version".equals( rawName ) ) { metadata.setVersion( getBodyText() ); } } }
47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/057268bd56cbfb07ffbd089f8595140862c67d46/RepositoryMetadata.java/clean/maven-mboot2/src/main/java/download/RepositoryMetadata.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 13591, 12, 514, 2003, 16, 514, 11927, 16, 514, 1831, 461, 16, 9055, 1677, 262, 3639, 288, 5411, 309, 261, 4832, 1444, 310, 262, 5411, 288, 7734, 309, 261, 4832, 4568, 262, 7734, 288, 10792, 309, 261, 315, 3510, 1854, 9654, 14963, 12, 1831, 461, 262, 262, 10792, 288, 13491, 775, 13491, 288, 18701, 1982, 18, 542, 4568, 3116, 1854, 12, 2144, 18, 1132, 951, 12, 7587, 1528, 1435, 262, 18, 474, 620, 1435, 11272, 13491, 289, 13491, 1044, 261, 12100, 425, 262, 13491, 288, 18701, 368, 8049, 13491, 289, 10792, 289, 10792, 469, 309, 261, 315, 5508, 9654, 14963, 12, 1831, 461, 262, 262, 10792, 288, 13491, 1982, 18, 542, 4568, 4921, 12, 7587, 1528, 1435, 11272, 10792, 289, 10792, 469, 309, 261, 315, 3729, 2951, 9654, 14963, 12, 1831, 461, 262, 262, 10792, 288, 13491, 1982, 18, 542, 2042, 2951, 12, 3411, 18, 1132, 951, 12, 7587, 1528, 1435, 262, 18, 6494, 620, 1435, 11272, 10792, 289, 7734, 289, 7734, 469, 309, 261, 4832, 5940, 262, 7734, 288, 10792, 309, 261, 315, 1589, 9654, 14963, 12, 1831, 461, 262, 262, 10792, 288, 13491, 1982, 18, 1289, 1444, 12, 7587, 1528, 1435, 11272, 10792, 289, 7734, 289, 7734, 469, 7734, 288, 10792, 309, 261, 315, 11171, 9654, 14963, 12, 1831, 461, 262, 262, 10792, 288, 13491, 4832, 4568, 273, 638, 31, 10792, 289, 10792, 469, 309, 261, 315, 10169, 9654, 14963, 12, 1831, 461, 262, 262, 10792, 288, 13491, 4832, 5940, 273, 638, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 13591, 12, 514, 2003, 16, 514, 11927, 16, 514, 1831, 461, 16, 9055, 1677, 262, 3639, 288, 5411, 309, 261, 4832, 1444, 310, 262, 5411, 288, 7734, 309, 261, 4832, 4568, 262, 7734, 288, 10792, 309, 261, 315, 3510, 1854, 9654, 14963, 12, 1831, 461, 262, 262, 10792, 288, 13491, 775, 13491, 288, 18701, 1982, 18, 542, 4568, 3116, 1854, 12, 2144, 18, 1132, 951, 12, 7587, 1528, 1435, 262, 18, 474, 620, 1435, 11272, 13491, 289, 13491, 1044, 261, 12100, 425, 262, 13491, 288, 18701, 368, 8049, 13491, 289, 10792, 289, 10792, 469, 309, 261, 315, 5508, 9654, 14963, 12, 1831, 461, 262, 262, 10792, 288, 13491, 1982, 18, 542, 4568, 4921, 12, 7587, 1528, 2 ]
final InetSocketAddress addr = peekInetSocketAddress();
InetSocketAddress addr = peekInetSocketAddress();
public Object peekObject() { if (size <= 0) return null; final byte objectType = popByte(); if(objectType == INET_SOCKET_ADDR){ final InetSocketAddress addr = peekInetSocketAddress(); pushByte(objectType); return addr; } if (ais == null) ais=new AuxInputStream(); final int objectSize = popInt(); mbuf.len = objectSize; peekReadOnly(mbuf); ais.setBuffer(mbuf.data, mbuf.off, mbuf.len); try { final ObjectInputStream ois = new ObjectInputStream(ais); final Object obj = ois.readObject(); pushInt(objectSize); pushByte(objectType); return obj; } catch (Exception ex) { pushInt(objectSize); pushByte(objectType); throw new MessageException("Error peeking object.",ex); } }
47988 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47988/cbbbe50f14c3ebcc2a939948e5ca87c12b95eda3/Message.java/clean/trunk/appia/src/org/continuent/appia/core/message/Message.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 8032, 921, 1435, 288, 202, 202, 430, 261, 1467, 1648, 374, 13, 1082, 202, 2463, 446, 31, 9506, 202, 6385, 1160, 16400, 273, 1843, 3216, 5621, 202, 202, 430, 12, 1612, 559, 422, 2120, 1584, 67, 25699, 67, 14142, 15329, 1082, 202, 6385, 17943, 3091, 273, 8032, 382, 278, 15520, 5621, 1082, 202, 6206, 3216, 12, 1612, 559, 1769, 1082, 202, 2463, 3091, 31, 202, 202, 97, 9506, 202, 430, 261, 69, 291, 422, 446, 13, 1082, 202, 69, 291, 33, 2704, 432, 2616, 4348, 5621, 9506, 202, 6385, 509, 733, 1225, 273, 1843, 1702, 5621, 202, 202, 1627, 696, 18, 1897, 273, 733, 1225, 31, 202, 202, 347, 3839, 12066, 12, 1627, 696, 1769, 202, 202, 69, 291, 18, 542, 1892, 12, 1627, 696, 18, 892, 16, 312, 4385, 18, 3674, 16, 312, 4385, 18, 1897, 1769, 202, 202, 698, 288, 1082, 202, 6385, 22726, 320, 291, 273, 394, 22726, 12, 69, 291, 1769, 1082, 202, 6385, 1033, 1081, 273, 320, 291, 18, 896, 921, 5621, 1082, 202, 6206, 1702, 12, 1612, 1225, 1769, 1082, 202, 6206, 3216, 12, 1612, 559, 1769, 1082, 202, 2463, 1081, 31, 202, 202, 97, 1044, 261, 503, 431, 13, 288, 1082, 202, 6206, 1702, 12, 1612, 1225, 1769, 1082, 202, 6206, 3216, 12, 1612, 559, 1769, 1082, 202, 12849, 394, 2350, 503, 2932, 668, 8032, 310, 733, 1199, 16, 338, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 8032, 921, 1435, 288, 202, 202, 430, 261, 1467, 1648, 374, 13, 1082, 202, 2463, 446, 31, 9506, 202, 6385, 1160, 16400, 273, 1843, 3216, 5621, 202, 202, 430, 12, 1612, 559, 422, 2120, 1584, 67, 25699, 67, 14142, 15329, 1082, 202, 6385, 17943, 3091, 273, 8032, 382, 278, 15520, 5621, 1082, 202, 6206, 3216, 12, 1612, 559, 1769, 1082, 202, 2463, 3091, 31, 202, 202, 97, 9506, 202, 430, 261, 69, 291, 422, 446, 13, 1082, 202, 69, 291, 33, 2704, 432, 2616, 4348, 5621, 9506, 202, 6385, 509, 733, 1225, 273, 1843, 1702, 5621, 202, 202, 1627, 696, 18, 1897, 273, 733, 1225, 31, 202, 202, 347, 3839, 12066, 12, 1627, 696, 1769, 2 ]
public void setWrapFactory(WrapFactory wrapFactory) {
public final void setWrapFactory(WrapFactory wrapFactory) { if (sealed) onSealedMutation();
public void setWrapFactory(WrapFactory wrapFactory) { if (wrapFactory == null) throw new IllegalArgumentException(); this.wrapFactory = wrapFactory; }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/767031d59e433c96cbc46c5e9fa8adb631f14074/Context.java/clean/src/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 2964, 1733, 12, 2964, 1733, 2193, 1733, 13, 288, 309, 261, 307, 18931, 13, 603, 1761, 18931, 20028, 5621, 3639, 309, 261, 4113, 1733, 422, 446, 13, 604, 394, 2754, 5621, 3639, 333, 18, 4113, 1733, 273, 2193, 1733, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 2964, 1733, 12, 2964, 1733, 2193, 1733, 13, 288, 309, 261, 307, 18931, 13, 603, 1761, 18931, 20028, 5621, 3639, 309, 261, 4113, 1733, 422, 446, 13, 604, 394, 2754, 5621, 3639, 333, 18, 4113, 1733, 273, 2193, 1733, 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 ]
super(position);
super(position, NodeTypes.YIELDNODE);
public YieldNode(ISourcePosition position, Node argsNode, boolean checkState) { super(position); this.argsNode = argsNode; this.checkState = checkState; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/6e15491217631472c05c6928672f9c7064a978b3/YieldNode.java/buggy/src/org/jruby/ast/YieldNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 31666, 907, 12, 45, 1830, 2555, 1754, 16, 2029, 833, 907, 16, 1250, 13632, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 61, 45, 5192, 8744, 1769, 3639, 333, 18, 1968, 907, 273, 833, 907, 31, 3639, 333, 18, 1893, 1119, 273, 13632, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 31666, 907, 12, 45, 1830, 2555, 1754, 16, 2029, 833, 907, 16, 1250, 13632, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 61, 45, 5192, 8744, 1769, 3639, 333, 18, 1968, 907, 273, 833, 907, 31, 3639, 333, 18, 1893, 1119, 273, 13632, 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 ]
try { EventQueue.invokeAndWait(r); } catch (InvocationTargetException e) { throw new GLException(e.getTargetException()); } catch (InterruptedException e) { throw new GLException(e); }
if (Java2D.isOGLPipelineActive() && !isX11) { Java2D.invokeWithOGLContextCurrent(null, r); } else { try { EventQueue.invokeAndWait(r); } catch (InvocationTargetException e) { throw new GLException(e.getTargetException()); } catch (InterruptedException e) { throw new GLException(e); } }
public static void invokeOnOpenGLThread(Runnable r) throws GLException { if (!isSingleThreaded()) { throw new GLException ("Should only call this in single-threaded mode"); } if (isOpenGLThread()) { throw new GLException ("Should only call this from other threads than the OpenGL thread"); } switch (mode) { case AWT: // FIXME: ideally should run all OpenGL work on the Java2D QFT // thread when it's enabled, but there are issues with this when // the GLJPanel is not using the Java2D bridge; would like to run // its OpenGL work on the QFT, but do the image drawing from the // EDT. Other issues still remain with the GLCanvas as well. // if (Java2D.isOGLPipelineActive()) { // Java2D.invokeWithOGLContextCurrent(null, r); // } else { try { EventQueue.invokeAndWait(r); } catch (InvocationTargetException e) { throw new GLException(e.getTargetException()); } catch (InterruptedException e) { throw new GLException(e); } // } break; case WORKER: if (!GLWorkerThread.isStarted()) { synchronized (GLWorkerThread.class) { if (!GLWorkerThread.isStarted()) { GLWorkerThread.start(); } } } try { GLWorkerThread.invokeAndWait(r); } catch (InvocationTargetException e) { throw new GLException(e.getTargetException()); } catch (InterruptedException e) { throw new GLException(e); } break; default: throw new InternalError("Illegal single-threading mode " + mode); } }
48257 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48257/2ebf1e32197d7236ff820c542e22ec78e700bdc1/Threading.java/buggy/src/classes/javax/media/opengl/Threading.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 4356, 1398, 3678, 11261, 3830, 12, 20013, 436, 13, 1216, 10252, 503, 288, 565, 309, 16051, 291, 5281, 1315, 20528, 10756, 288, 1377, 604, 394, 10252, 503, 7566, 14309, 1338, 745, 333, 316, 2202, 17, 451, 20528, 1965, 8863, 565, 289, 565, 309, 261, 291, 3678, 11261, 3830, 10756, 288, 1377, 604, 394, 10252, 503, 7566, 14309, 1338, 745, 333, 628, 1308, 7403, 2353, 326, 3502, 11261, 2650, 8863, 565, 289, 3639, 1620, 261, 3188, 13, 288, 1377, 648, 432, 8588, 30, 3639, 368, 9852, 30, 10572, 1230, 1410, 1086, 777, 3502, 11261, 1440, 603, 326, 5110, 22, 40, 2238, 4464, 3639, 368, 2650, 1347, 518, 1807, 3696, 16, 1496, 1915, 854, 8296, 598, 333, 1347, 3639, 368, 326, 10252, 46, 5537, 353, 486, 1450, 326, 5110, 22, 40, 10105, 31, 4102, 3007, 358, 1086, 3639, 368, 2097, 3502, 11261, 1440, 603, 326, 2238, 4464, 16, 1496, 741, 326, 1316, 16327, 628, 326, 3639, 368, 512, 9081, 18, 4673, 8296, 4859, 7232, 598, 326, 10252, 12971, 487, 5492, 18, 3639, 368, 565, 309, 261, 5852, 22, 40, 18, 291, 51, 11261, 8798, 3896, 10756, 288, 3639, 368, 1377, 5110, 22, 40, 18, 14407, 1190, 51, 11261, 1042, 3935, 12, 2011, 16, 436, 1769, 3639, 368, 565, 289, 469, 288, 3639, 775, 288, 1850, 2587, 3183, 18, 14407, 1876, 5480, 12, 86, 1769, 3639, 289, 1044, 261, 9267, 14950, 425, 13, 288, 1850, 604, 394, 10252, 503, 12, 73, 18, 588, 14950, 10663, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 4356, 1398, 3678, 11261, 3830, 12, 20013, 436, 13, 1216, 10252, 503, 288, 565, 309, 16051, 291, 5281, 1315, 20528, 10756, 288, 1377, 604, 394, 10252, 503, 7566, 14309, 1338, 745, 333, 316, 2202, 17, 451, 20528, 1965, 8863, 565, 289, 565, 309, 261, 291, 3678, 11261, 3830, 10756, 288, 1377, 604, 394, 10252, 503, 7566, 14309, 1338, 745, 333, 628, 1308, 7403, 2353, 326, 3502, 11261, 2650, 8863, 565, 289, 3639, 1620, 261, 3188, 13, 288, 1377, 648, 432, 8588, 30, 3639, 368, 9852, 30, 10572, 1230, 1410, 1086, 777, 3502, 11261, 1440, 603, 326, 5110, 22, 40, 2238, 4464, 3639, 368, 2650, 1347, 518, 1807, 3696, 16, 1496, 1915, 854, 8296, 598, 333, 2 ]
p.insertBack(MIR_Store.create(PPC_STFS, F(reg), A(FP), IC(callSpillLoc)));
private static void callExpand(OPT_Instruction s, OPT_IR ir) { int NumberParams = MIR_Call.getNumberOfParams(s); int int_index = 0; // points to the first integer volatile int double_index = 0; // poinst to the first f.p. volatile int callSpillLoc = STACKFRAME_HEADER_SIZE; OPT_PhysicalRegisterSet phys = ir.regpool.getPhysicalRegisterSet(); OPT_Instruction prev = s.prevInstructionInCodeOrder(); OPT_Register FP = phys.getFP(); OPT_Register JTOC = phys.getJTOC(); boolean isSysCall = ir.stackManager.isSysCall(s); boolean firstLongHalf = false; // (1) Expand parameters for (int opNum = 0; opNum < NumberParams; opNum++) { OPT_Operand param = MIR_Call.getClearParam(s, opNum); OPT_RegisterOperand Reg = (OPT_RegisterOperand)param; // as part of getting into MIR, we make sure all params are in registers. OPT_Register reg = Reg.register; if (Reg.type.isFloatType()) { if (double_index < NUMBER_DOUBLE_PARAM) { // register copy OPT_Register real = phys.get(FIRST_DOUBLE_PARAM + (double_index++)); s.insertBack(MIR_Move.create(PPC_FMR, F(real), Reg)); Reg = F(real); // Record that the call now has a use of the real reg // This is to ensure liveness is correct MIR_Call.setParam(s, opNum, Reg); } else { // spill to memory OPT_Instruction p = prev.nextInstructionInCodeOrder(); p.insertBack(MIR_Store.create(PPC_STFS, F(reg), A(FP), IC(callSpillLoc))); callSpillLoc += BYTES_IN_ADDRESS; // We don't have uses of the heap at MIR, so null it out MIR_Call.setParam(s, opNum, null); } } else if (Reg.type.isDoubleType()) { if (double_index < NUMBER_DOUBLE_PARAM) { // register copy OPT_Register real = phys.get(FIRST_DOUBLE_PARAM + (double_index++)); s.insertBack(MIR_Move.create(PPC_FMR, D(real), Reg)); Reg = D(real); // Record that the call now has a use of the real reg // This is to ensure liveness is correct MIR_Call.setParam(s, opNum, Reg); } else { // spill to memory OPT_Instruction p = prev.nextInstructionInCodeOrder(); p.insertBack(MIR_Store.create(PPC_STFD, D(reg), A(FP), IC(callSpillLoc))); callSpillLoc += BYTES_IN_DOUBLE; // We don't have uses of the heap at MIR, so null it out MIR_Call.setParam(s, opNum, null); } } else { // IntType (or half of long) or reference //-#if RVM_FOR_LINUX /* NOTE: following adjustment is not stated in SVR4 ABI, but * was implemented in GCC. */ if (isSysCall && Reg.type.isLongType()) { if (firstLongHalf) firstLongHalf = false; else { int true_index = FIRST_INT_PARAM + int_index; int_index += (true_index + 1) & 0x01; // if gpr is even, gpr += 1 firstLongHalf = true; } } //-#endif if (int_index < NUMBER_INT_PARAM) { // register copy OPT_Register real = phys.get(FIRST_INT_PARAM + (int_index++)); OPT_RegisterOperand Real = new OPT_RegisterOperand(real, Reg.type); s.insertBack(MIR_Move.create(PPC_MOVE, Real, Reg)); Reg = new OPT_RegisterOperand(real, Reg.type); // Record that the call now has a use of the real reg // This is to ensure liveness is correct MIR_Call.setParam(s, opNum, Reg); } else { // spill to memory OPT_Instruction p = prev.nextInstructionInCodeOrder(); //-#if RVM_FOR_64_ADDR if (Reg.type.isIntType() || Reg.type.isShortType() || Reg.type.isByteType() || Reg.type.isCharType() || Reg.type.isBooleanType()) p.insertBack(MIR_Store.create(PPC_STW, new OPT_RegisterOperand(reg, Reg.type), A(FP), IC(callSpillLoc))); else //a reference or numeric long //-#endif p.insertBack(MIR_Store.create(PPC_STAddr, new OPT_RegisterOperand(reg, Reg.type), A(FP), IC(callSpillLoc))); callSpillLoc += BYTES_IN_ADDRESS; // We don't have uses of the heap at MIR, so null it out MIR_Call.setParam(s, opNum, null); } } } // If we needed to pass arguments on the stack, // then make sure we have a big enough stack if (callSpillLoc != STACKFRAME_HEADER_SIZE) ir.stackManager.allocateParameterSpace(callSpillLoc); // (2) expand result OPT_RegisterOperand callResult = null; OPT_Instruction lastCallSeqInstr = s; if (MIR_Call.hasResult2(s)) { //-#if RVM_FOR_32_ADDR OPT_RegisterOperand result2 = MIR_Call.getClearResult2(s); OPT_RegisterOperand physical = new OPT_RegisterOperand(phys.get (FIRST_INT_RETURN + 1), result2.type); OPT_Instruction tmp = MIR_Move.create(PPC_MOVE, result2, physical); lastCallSeqInstr.insertFront(tmp); lastCallSeqInstr = tmp; MIR_Call.setResult2(s, null); //-#endif //-#if RVM_FOR_64_ADDR if (VM.VerifyAssertions) VM._assert(VM.NOT_REACHED); //-#endif } if (MIR_Call.hasResult(s)) { OPT_RegisterOperand result1 = MIR_Call.getClearResult(s); callResult = result1; if (result1.type.isFloatType() || result1.type.isDoubleType()) { OPT_RegisterOperand physical = new OPT_RegisterOperand(phys.get(FIRST_DOUBLE_RETURN), result1.type); OPT_Instruction tmp = MIR_Move.create(PPC_FMR, result1, physical); lastCallSeqInstr.insertFront(tmp); lastCallSeqInstr = tmp; MIR_Call.setResult(s, null); } else { OPT_RegisterOperand physical = new OPT_RegisterOperand(phys.get(FIRST_INT_RETURN), result1.type); OPT_Instruction tmp = MIR_Move.create(PPC_MOVE, result1, physical); lastCallSeqInstr.insertFront(tmp); lastCallSeqInstr = tmp; MIR_Call.setResult(s, null); } } }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/5ed01150ba9ca69cb9c723a3599cb0f52d10429b/OPT_CallingConvention.java/clean/rvm/src/vm/arch/powerPC/compilers/optimizing/regalloc/OPT_CallingConvention.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 745, 12271, 12, 15620, 67, 11983, 272, 16, 16456, 67, 7937, 9482, 13, 288, 565, 509, 3588, 1370, 273, 490, 7937, 67, 1477, 18, 588, 9226, 1370, 12, 87, 1769, 565, 509, 509, 67, 1615, 273, 374, 31, 1850, 368, 3143, 358, 326, 1122, 3571, 31548, 565, 509, 1645, 67, 1615, 273, 374, 31, 4202, 368, 293, 885, 334, 358, 326, 1122, 284, 18, 84, 18, 565, 31548, 565, 509, 745, 3389, 737, 1333, 273, 11464, 15072, 67, 7557, 67, 4574, 31, 565, 16456, 67, 18136, 3996, 694, 24758, 273, 9482, 18, 1574, 6011, 18, 588, 18136, 3996, 694, 5621, 565, 16456, 67, 11983, 2807, 273, 272, 18, 10001, 11983, 382, 1085, 2448, 5621, 565, 16456, 67, 3996, 28740, 273, 24758, 18, 588, 30246, 5621, 565, 16456, 67, 3996, 804, 4296, 39, 273, 24758, 18, 588, 46, 4296, 39, 5621, 565, 1250, 11604, 1900, 1477, 273, 9482, 18, 3772, 1318, 18, 291, 12712, 1477, 12, 87, 1769, 565, 1250, 1122, 3708, 16168, 273, 629, 31, 565, 368, 261, 21, 13, 16429, 1472, 565, 364, 261, 474, 1061, 2578, 273, 374, 31, 1061, 2578, 411, 3588, 1370, 31, 1061, 2578, 27245, 288, 1377, 16456, 67, 10265, 579, 273, 490, 7937, 67, 1477, 18, 588, 9094, 786, 12, 87, 16, 1061, 2578, 1769, 1377, 16456, 67, 3996, 10265, 2526, 273, 261, 15620, 67, 3996, 10265, 13, 891, 31, 1377, 368, 487, 1087, 434, 8742, 1368, 490, 7937, 16, 732, 1221, 3071, 777, 859, 854, 316, 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, 760, 918, 745, 12271, 12, 15620, 67, 11983, 272, 16, 16456, 67, 7937, 9482, 13, 288, 565, 509, 3588, 1370, 273, 490, 7937, 67, 1477, 18, 588, 9226, 1370, 12, 87, 1769, 565, 509, 509, 67, 1615, 273, 374, 31, 1850, 368, 3143, 358, 326, 1122, 3571, 31548, 565, 509, 1645, 67, 1615, 273, 374, 31, 4202, 368, 293, 885, 334, 358, 326, 1122, 284, 18, 84, 18, 565, 31548, 565, 509, 745, 3389, 737, 1333, 273, 11464, 15072, 67, 7557, 67, 4574, 31, 565, 16456, 67, 18136, 3996, 694, 24758, 273, 9482, 18, 1574, 6011, 18, 588, 18136, 3996, 694, 5621, 565, 16456, 67, 11983, 2807, 273, 272, 18, 10001, 11983, 382, 1085, 2448, 5621, 565, 2 ]
if(lowLevelFilter != null && filter.matchesDroppedConnection() &&
if(lowLevelFilter != null && filter._source != null && filter.matchesDroppedConnection() &&
public Message waitFor(MessageFilter filter) throws DisconnectedException { long startTime = System.currentTimeMillis(); Message ret = null; if(lowLevelFilter != null && filter.matchesDroppedConnection() && lowLevelFilter.isDisconnected(filter._source)) throw new DisconnectedException(); // Check to see whether the filter matches any of the recently _unclaimed messages synchronized (_filters) { Logger.debug(this, "Checking _unclaimed"); for (ListIterator i = _unclaimed.listIterator(); i.hasNext();) { Message m = (Message) i.next(); if (filter.match(m)) { i.remove(); ret = m; Logger.debug(this, "Matching from _unclaimed"); } } Logger.debug(this, "Not in _unclaimed"); if (ret == null) { // Insert filter into filter list in order of timeout ListIterator i = _filters.listIterator(); while (true) { if (!i.hasNext()) { i.add(filter); Logger.debug(this, "Added at end"); break; } MessageFilter mf = (MessageFilter) i.next(); if (mf.getTimeout() > filter.getTimeout()) { i.previous(); i.add(filter); Logger.debug(this, "Added in middle - mf timeout="+mf.getTimeout()+" - my timeout="+filter.getTimeout()); break; } } } } // Unlock to wait on filter // Waiting on the filter won't release the outer lock // So we have to release it here if(ret == null) { Logger.debug(this, "Waiting..."); synchronized (filter) { try { // Precaution against filter getting matched between being added to _filters and // here - bug discovered by Mason boolean fmatched = false; while(!(fmatched = filter.matched() || filter.droppedConnection() != null)) { long wait = filter.getTimeout()-System.currentTimeMillis(); if(wait > 0) filter.wait(wait); else break; } if(filter.droppedConnection() != null) throw new DisconnectedException(); Logger.minor(this, "Matched: "+fmatched); } catch (InterruptedException e) { } ret = filter.getMessage(); filter.clearMatched(); } Logger.debug(this, "Returning "+ret+" from "+filter); } // Probably get rid...// if (Dijjer.getDijjer().getDumpMessageWaitTimes() != null) {// Dijjer.getDijjer().getDumpMessageWaitTimes().println(filter.toString() + "\t" + filter.getInitialTimeout() + "\t"// + (System.currentTimeMillis() - startTime));// Dijjer.getDijjer().getDumpMessageWaitTimes().flush();// } long endTime = System.currentTimeMillis(); Logger.debug(this, "Returning in "+(endTime-startTime)+"ms"); return ret; }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/3fb24c8a088a3fdf93639b966f29c9388f913301/UdpSocketManager.java/clean/src/freenet/io/comm/UdpSocketManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2350, 10712, 12, 1079, 1586, 1034, 13, 1216, 3035, 8537, 503, 288, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 1079, 325, 273, 446, 31, 202, 202, 430, 12, 821, 2355, 1586, 480, 446, 597, 1034, 18, 8436, 23683, 1952, 1435, 597, 1082, 3639, 4587, 2355, 1586, 18, 291, 26303, 12, 2188, 6315, 3168, 3719, 1082, 565, 604, 394, 3035, 8537, 503, 5621, 202, 202, 759, 2073, 358, 2621, 2856, 326, 1034, 1885, 1281, 434, 326, 19907, 389, 551, 80, 4581, 329, 2743, 202, 202, 22043, 261, 67, 6348, 13, 288, 1082, 202, 3328, 18, 4148, 12, 2211, 16, 315, 14294, 389, 551, 80, 4581, 329, 8863, 1082, 202, 1884, 261, 682, 3198, 277, 273, 389, 551, 80, 4581, 329, 18, 1098, 3198, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 1079, 312, 273, 261, 1079, 13, 277, 18, 4285, 5621, 9506, 202, 430, 261, 2188, 18, 1916, 12, 81, 3719, 288, 6862, 202, 77, 18, 4479, 5621, 6862, 202, 1349, 273, 312, 31, 6862, 202, 3328, 18, 4148, 12, 2211, 16, 315, 9517, 628, 389, 551, 80, 4581, 329, 8863, 9506, 202, 97, 1082, 202, 97, 1082, 202, 3328, 18, 4148, 12, 2211, 16, 315, 1248, 316, 389, 551, 80, 4581, 329, 8863, 1082, 202, 430, 261, 1349, 422, 446, 13, 288, 9506, 565, 368, 8040, 1034, 1368, 1034, 666, 316, 1353, 434, 2021, 9506, 202, 682, 3198, 277, 273, 389, 6348, 18, 1098, 3198, 5621, 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, 482, 2350, 10712, 12, 1079, 1586, 1034, 13, 1216, 3035, 8537, 503, 288, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 1079, 325, 273, 446, 31, 202, 202, 430, 12, 821, 2355, 1586, 480, 446, 597, 1034, 18, 8436, 23683, 1952, 1435, 597, 1082, 3639, 4587, 2355, 1586, 18, 291, 26303, 12, 2188, 6315, 3168, 3719, 1082, 565, 604, 394, 3035, 8537, 503, 5621, 202, 202, 759, 2073, 358, 2621, 2856, 326, 1034, 1885, 1281, 434, 326, 19907, 389, 551, 80, 4581, 329, 2743, 202, 202, 22043, 261, 67, 6348, 13, 288, 1082, 202, 3328, 18, 4148, 12, 2211, 16, 315, 14294, 389, 551, 80, 4581, 329, 8863, 1082, 202, 1884, 261, 682, 2 ]
public abstract char getSeparator();
public char getSeparator() { return this.separator; }
public abstract char getSeparator();
3907 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3907/2cf78e7aeebbbe328c456464124dac5d19dd8331/EllipsisParameter.java/buggy/kom/java/nu/rydin/kom/frontend/text/parser/EllipsisParameter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8770, 1149, 1322, 881, 5880, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8770, 1149, 1322, 881, 5880, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
tree.revalidate();
public void editingStopped(ChangeEvent e) { editingPath = null; editingRow = -1; stopEditingInCompleteEditing = false; if (editingComponent != null) { tree.remove(editingComponent.getParent()); editingComponent = null; } if (cellEditor != null) { newVal = ((JTextField) getCellEditor().getCellEditorValue()).getText(); completeEditing(false, false, true); if (cellEditor instanceof DefaultTreeCellEditor) tree.removeTreeSelectionListener((DefaultTreeCellEditor) cellEditor); cellEditor.removeCellEditorListener(cellEditorListener); setCellEditor(null); createdCellEditor = false; } isEditing = false; tree.requestFocusInWindow(false); editorTimer.stop(); validCachedPreferredSize = false; tree.revalidate(); tree.repaint(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/a78ab2f492456918e4f5c52be600854882e139fc/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15755, 15294, 12, 20930, 425, 13, 565, 288, 1377, 15755, 743, 273, 446, 31, 1377, 15755, 1999, 273, 300, 21, 31, 1377, 2132, 28029, 382, 6322, 28029, 273, 629, 31, 1377, 309, 261, 4619, 310, 1841, 480, 446, 13, 3639, 288, 1850, 2151, 18, 4479, 12, 4619, 310, 1841, 18, 588, 3054, 10663, 1850, 15755, 1841, 273, 446, 31, 3639, 289, 1377, 309, 261, 3855, 6946, 480, 446, 13, 3639, 288, 1850, 20957, 273, 14015, 46, 16157, 13, 16458, 6946, 7675, 588, 4020, 6946, 620, 1435, 2934, 588, 1528, 5621, 1850, 3912, 28029, 12, 5743, 16, 629, 16, 638, 1769, 1850, 309, 261, 3855, 6946, 1276, 2989, 2471, 4020, 6946, 13, 5411, 2151, 18, 4479, 2471, 6233, 2223, 12443, 1868, 2471, 4020, 6946, 13, 2484, 6946, 1769, 1850, 2484, 6946, 18, 4479, 4020, 6946, 2223, 12, 3855, 6946, 2223, 1769, 1850, 444, 4020, 6946, 12, 2011, 1769, 1850, 2522, 4020, 6946, 273, 629, 31, 3639, 289, 1377, 353, 28029, 273, 629, 31, 1377, 2151, 18, 2293, 9233, 382, 3829, 12, 5743, 1769, 1377, 4858, 6777, 18, 5681, 5621, 1377, 923, 9839, 16028, 1225, 273, 629, 31, 6647, 2151, 18, 14462, 1598, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15755, 15294, 12, 20930, 425, 13, 565, 288, 1377, 15755, 743, 273, 446, 31, 1377, 15755, 1999, 273, 300, 21, 31, 1377, 2132, 28029, 382, 6322, 28029, 273, 629, 31, 1377, 309, 261, 4619, 310, 1841, 480, 446, 13, 3639, 288, 1850, 2151, 18, 4479, 12, 4619, 310, 1841, 18, 588, 3054, 10663, 1850, 15755, 1841, 273, 446, 31, 3639, 289, 1377, 309, 261, 3855, 6946, 480, 446, 13, 3639, 288, 1850, 20957, 273, 14015, 46, 16157, 13, 16458, 6946, 7675, 588, 4020, 6946, 620, 1435, 2934, 588, 1528, 5621, 1850, 3912, 28029, 12, 5743, 16, 629, 16, 638, 1769, 1850, 309, 261, 3855, 6946, 1276, 2989, 2471, 4020, 6946, 13, 5411, 2151, 18, 4479, 2471, 2 ]
Object[] selection = getStructuredSelection().toArray(); ArrayList markers = new ArrayList(); for (int i = 0; i < selection.length; i++) { MarkerNode object =(MarkerNode) selection[i]; if(object.isConcrete()) markers.add(((ConcreteMarker) object).getMarker()); } return (IMarker[]) markers.toArray(new IMarker[markers.size()]);
return getSelectedMarkers(getStructuredSelection());
IMarker[] getSelectedMarkers(){ Object[] selection = getStructuredSelection().toArray(); ArrayList markers = new ArrayList(); for (int i = 0; i < selection.length; i++) { MarkerNode object =(MarkerNode) selection[i]; if(object.isConcrete()) markers.add(((ConcreteMarker) object).getMarker()); } return (IMarker[]) markers.toArray(new IMarker[markers.size()]); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/0ad3a4ec78f5b82595dc99fe4fc2ef6c355cbbec/MarkerSelectionProviderAction.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerSelectionProviderAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3445, 1313, 264, 8526, 16625, 21644, 1435, 95, 9506, 202, 921, 8526, 4421, 273, 1322, 8813, 2862, 6233, 7675, 31447, 5621, 202, 202, 19558, 11754, 273, 394, 2407, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4421, 18, 2469, 31, 277, 27245, 288, 1082, 202, 7078, 907, 733, 273, 12, 7078, 907, 13, 4421, 63, 77, 15533, 1082, 202, 430, 12, 1612, 18, 291, 25845, 10756, 9506, 202, 22807, 18, 1289, 12443, 12, 25845, 7078, 13, 733, 2934, 588, 7078, 10663, 202, 202, 97, 9506, 202, 2463, 261, 3445, 1313, 264, 63, 5717, 11754, 18, 31447, 12, 2704, 467, 7078, 63, 22807, 18, 1467, 1435, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3445, 1313, 264, 8526, 16625, 21644, 1435, 95, 9506, 202, 921, 8526, 4421, 273, 1322, 8813, 2862, 6233, 7675, 31447, 5621, 202, 202, 19558, 11754, 273, 394, 2407, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4421, 18, 2469, 31, 277, 27245, 288, 1082, 202, 7078, 907, 733, 273, 12, 7078, 907, 13, 4421, 63, 77, 15533, 1082, 202, 430, 12, 1612, 18, 291, 25845, 10756, 9506, 202, 22807, 18, 1289, 12443, 12, 25845, 7078, 13, 733, 2934, 588, 7078, 10663, 202, 202, 97, 9506, 202, 2463, 261, 3445, 1313, 264, 63, 5717, 11754, 18, 31447, 12, 2704, 467, 7078, 63, 22807, 18, 1467, 1435, 19226, 202, 97, 2, -100, -100, -100, -100, -100 ]
public void unregisterAction(String actionId) { if (LOG.isDebugEnabled()) { LOG.debug("enter: unregisterAction(" + actionId + ")"); } if (actionId == null) { LOG.error("id cannot be null"); return; } synchronized (myLock) { if (!myId2Action.containsKey(actionId)) { if (LOG.isDebugEnabled()) { LOG.debug("action with ID " + actionId + " wasn't registered"); return; } } AnAction oldValue = (AnAction)myId2Action.remove(actionId); myAction2Id.remove(oldValue); myId2Index.remove(actionId); for (PluginId pluginName : myPlugin2Id.keySet()) { final THashSet<String> pluginActions = myPlugin2Id.get(pluginName); if (pluginActions != null) { pluginActions.remove(actionId); } } } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 318, 4861, 1803, 12, 780, 1128, 548, 15329, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 318, 4861, 1803, 2932, 15, 1128, 548, 9078, 2225, 1769, 97, 430, 12, 1128, 548, 631, 2011, 15329, 4842, 18, 1636, 2932, 350, 12892, 19425, 420, 8863, 2463, 31, 97, 22043, 12, 4811, 2531, 15329, 430, 12, 5, 4811, 548, 22, 1803, 18, 12298, 653, 12, 1128, 548, 3719, 95, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 1128, 1918, 734, 6, 15, 1128, 548, 9078, 17416, 82, 1404, 14327, 8863, 2463, 31, 9090, 979, 1803, 1673, 620, 28657, 979, 1803, 13, 4811, 548, 22, 1803, 18, 4479, 12, 1128, 548, 1769, 4811, 1803, 22, 548, 18, 4479, 12, 1673, 620, 1769, 4811, 548, 22, 1016, 18, 4479, 12, 1128, 548, 1769, 1884, 12, 3773, 548, 4094, 461, 30, 4811, 3773, 22, 548, 18, 856, 694, 10756, 95, 6385, 56, 13482, 32, 780, 34, 4094, 6100, 33, 4811, 3773, 22, 548, 18, 588, 12, 4094, 461, 1769, 430, 12, 4094, 6100, 5, 33, 2011, 15329, 4094, 6100, 18, 4479, 12, 1128, 548, 1769, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 318, 4861, 1803, 12, 780, 1128, 548, 15329, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 318, 4861, 1803, 2932, 15, 1128, 548, 9078, 2225, 1769, 97, 430, 12, 1128, 548, 631, 2011, 15329, 4842, 18, 1636, 2932, 350, 12892, 19425, 420, 8863, 2463, 31, 97, 22043, 12, 4811, 2531, 15329, 430, 12, 5, 4811, 548, 22, 1803, 18, 12298, 653, 12, 1128, 548, 3719, 95, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 1128, 1918, 734, 6, 15, 1128, 548, 9078, 17416, 82, 1404, 14327, 8863, 2463, 31, 9090, 979, 1803, 1673, 620, 28657, 979, 1803, 13, 4811, 548, 22, 1803, 18, 4479, 12, 2 ]
List webSiteSections = persistentWebSiteSection.readByWebSite(webSite); Iterator iterSections = webSiteSections.iterator(); while (iterSections.hasNext()) { WebSiteSection section = (WebSiteSection) iterSections.next();
infoWebSiteSection.setInfoItemsList(infoWebSiteItems);
public InfoWebSite run(Integer webSiteCode) throws ExcepcaoInexistente, FenixServiceException { IWebSite webSite = null; List infoWebSiteSections = new ArrayList(); try { ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport(); IPersistentWebSite persistentWebSite = sp.getIPersistentWebSite(); IPersistentWebSiteSection persistentWebSiteSection = sp.getIPersistentWebSiteSection(); IPersistentWebSiteItem persistentWebSiteItem = sp.getIPersistentWebSiteItem(); webSite = (IWebSite) persistentWebSite.readByOID(WebSite.class, webSiteCode); if (webSite == null) { throw new NonExistingServiceException("message.nonExistingWebSite", null); } List webSiteSections = persistentWebSiteSection.readByWebSite(webSite); Iterator iterSections = webSiteSections.iterator(); while (iterSections.hasNext()) { WebSiteSection section = (WebSiteSection) iterSections.next(); InfoWebSiteSection infoWebSiteSection = Cloner .copyIWebSiteSection2InfoWebSiteSection(section); List webSiteItems = persistentWebSiteItem.readAllWebSiteItemsByWebSiteSection(section); List infoWebSiteItems = (List) CollectionUtils.collect(webSiteItems, new Transformer() { public Object transform(Object arg0) { IWebSiteItem webSiteItem = (IWebSiteItem) arg0; InfoWebSiteItem infoWebSiteItem = Cloner .copyIWebSiteItem2InfoWebSiteItem(webSiteItem); return infoWebSiteItem; } }); Collections.sort(infoWebSiteItems, new BeanComparator("creationDate")); if (infoWebSiteSection.getSortingOrder().equals("descendent")) { Collections.reverse(infoWebSiteItems); } infoWebSiteSection.setInfoItemsList(infoWebSiteItems); infoWebSiteSections.add(Cloner.copyIWebSiteSection2InfoWebSiteSection(section)); } } catch (ExcepcaoPersistencia ex) { ex.printStackTrace(); FenixServiceException newEx = new FenixServiceException(""); newEx.fillInStackTrace(); throw newEx; } InfoWebSite infoWebSite = new InfoWebSite(); infoWebSite.setName(webSite.getName()); infoWebSite.setSections(infoWebSiteSections); return infoWebSite; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/8ec124b8a9c963cf6787be68b499ae28adad3814/ReadWebSiteByObjectCode.java/buggy/src/net/sourceforge/fenixedu/applicationTier/Servico/webSiteManager/ReadWebSiteByObjectCode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3807, 4079, 4956, 1086, 12, 4522, 3311, 4956, 1085, 13, 1216, 1312, 311, 2436, 6033, 382, 19041, 73, 16, 478, 275, 697, 15133, 288, 3639, 467, 4079, 4956, 3311, 4956, 273, 446, 31, 3639, 987, 1123, 4079, 4956, 15965, 273, 394, 2407, 5621, 3639, 775, 288, 5411, 467, 3088, 499, 73, 11906, 73, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 5411, 2971, 6572, 4079, 4956, 9195, 4079, 4956, 273, 1694, 18, 588, 2579, 6572, 4079, 4956, 5621, 5411, 2971, 6572, 4079, 4956, 5285, 9195, 4079, 4956, 5285, 273, 1694, 18, 588, 2579, 6572, 4079, 4956, 5285, 5621, 5411, 2971, 6572, 4079, 4956, 1180, 9195, 4079, 4956, 1180, 273, 1694, 18, 588, 2579, 6572, 4079, 4956, 1180, 5621, 5411, 3311, 4956, 273, 261, 45, 4079, 4956, 13, 9195, 4079, 4956, 18, 896, 858, 12945, 12, 4079, 4956, 18, 1106, 16, 3311, 4956, 1085, 1769, 5411, 309, 261, 4875, 4956, 422, 446, 13, 288, 7734, 604, 394, 3858, 9895, 15133, 2932, 2150, 18, 5836, 9895, 4079, 4956, 3113, 446, 1769, 5411, 289, 5411, 987, 3311, 4956, 15965, 273, 9195, 4079, 4956, 5285, 18, 896, 858, 4079, 4956, 12, 4875, 4956, 1769, 5411, 4498, 1400, 15965, 273, 3311, 4956, 15965, 18, 9838, 5621, 5411, 1323, 261, 2165, 15965, 18, 5332, 2134, 10756, 288, 7734, 2999, 4956, 5285, 2442, 273, 261, 4079, 4956, 5285, 13, 1400, 15965, 18, 4285, 5621, 7734, 3807, 4079, 4956, 5285, 1123, 4079, 4956, 5285, 273, 3905, 31430, 13491, 263, 3530, 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, 3807, 4079, 4956, 1086, 12, 4522, 3311, 4956, 1085, 13, 1216, 1312, 311, 2436, 6033, 382, 19041, 73, 16, 478, 275, 697, 15133, 288, 3639, 467, 4079, 4956, 3311, 4956, 273, 446, 31, 3639, 987, 1123, 4079, 4956, 15965, 273, 394, 2407, 5621, 3639, 775, 288, 5411, 467, 3088, 499, 73, 11906, 73, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 5411, 2971, 6572, 4079, 4956, 9195, 4079, 4956, 273, 1694, 18, 588, 2579, 6572, 4079, 4956, 5621, 5411, 2971, 6572, 4079, 4956, 5285, 9195, 4079, 4956, 5285, 273, 1694, 18, 588, 2579, 6572, 4079, 4956, 5285, 5621, 5411, 2971, 6572, 4079, 4956, 1180, 9195, 4079, 4956, 1180, 273, 1694, 18, 588, 2579, 6572, 2 ]
while (e.hasMoreElements()) {
while (e.hasMoreElements()) {
public String toString() { if (m_entries == null) return "Can't print decision table classifier!"; else { StringBuffer text = new StringBuffer(); text.append("Decision Table classifier:"+ "\n\nNumber of training instances: "+m_numInstances+ "\nNumber of Rules : "+m_entries.size()+"\n"); if (m_useIBk) text.append("Non matches covered by IB1.\n"); else text.append("Non matches covered by Majority class.\n"); text.append("Best first search for feature set,\nterminated after "+ m_maxStale+" non improving subsets.\n"); text.append("Evaluation (for feature selection): CV "); if (m_CVFolds > 1) text.append("("+m_CVFolds+" fold) "); else text.append("(leave one out) "); text.append("\nFeature set: "+printFeatures()); if (m_displayRules) { text.append("\n\nRules:\n"); StringBuffer tm = new StringBuffer(); for (int i=0;i<m_decisionFeatures.length;i++) { if (m_theInstances.classIndex() != m_decisionFeatures[i]) tm.append(m_theInstances.attribute(i).name()+" "); } tm.append(m_theInstances.attribute(m_theInstances.classIndex()).name()+" "); for (int i=0;i<tm.length()+10;i++) text.append("="); text.append("\n"); text.append(tm); text.append("\n"); for (int i=0;i<tm.length()+10;i++) text.append("="); text.append("\n"); Enumeration e = m_entries.keys(); while (e.hasMoreElements()) { hashKey tt = (hashKey)e.nextElement(); text.append(tt.toString(m_theInstances)); double [] ClassDist = (double []) m_entries.get(tt); if (m_classIsNominal) { int m = Utils.maxIndex(ClassDist); try { text.append(m_theInstances.classAttribute().value(m)+"\n"); } catch (Exception ee) { System.out.println(ee.getMessage()); } } else text.append((ClassDist[0] / ClassDist[1])+"\n"); } for (int i=0;i<tm.length()+10;i++) text.append("="); text.append("\n"); text.append("\n"); } return text.toString(); } }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/f6f62667723170f4030ae82f079e537cd6065be3/DecisionTable.java/buggy/classifiers/rules/DecisionTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 225, 288, 565, 309, 261, 81, 67, 8219, 422, 446, 13, 1377, 327, 315, 2568, 1404, 1172, 14604, 1014, 14622, 4442, 31, 565, 469, 565, 288, 1377, 6674, 977, 273, 394, 6674, 5621, 5411, 977, 18, 6923, 2932, 15861, 3555, 14622, 2773, 15, 1082, 225, 1548, 82, 64, 82, 1854, 434, 8277, 3884, 30, 13773, 81, 67, 2107, 5361, 15, 1082, 225, 1548, 82, 1854, 434, 15718, 294, 13773, 81, 67, 8219, 18, 1467, 1435, 9078, 64, 82, 8863, 1377, 309, 261, 81, 67, 1202, 13450, 79, 13, 202, 955, 18, 6923, 2932, 3989, 1885, 18147, 635, 23450, 21, 8403, 82, 8863, 1377, 469, 202, 955, 18, 6923, 2932, 3989, 1885, 18147, 635, 25977, 560, 667, 8403, 82, 8863, 1377, 977, 18, 6923, 2932, 14173, 1122, 1623, 364, 2572, 444, 17211, 82, 29133, 1839, 13773, 1082, 225, 312, 67, 1896, 19155, 9078, 1661, 13069, 6282, 30760, 8403, 82, 8863, 4202, 202, 955, 18, 6923, 2932, 13468, 261, 1884, 2572, 4421, 4672, 385, 58, 315, 1769, 202, 430, 261, 81, 67, 22007, 15592, 87, 405, 404, 13, 202, 225, 977, 18, 6923, 2932, 2932, 15, 81, 67, 22007, 15592, 87, 9078, 11590, 13, 315, 1769, 202, 12107, 202, 225, 977, 18, 6923, 2932, 12, 19574, 1245, 596, 13, 315, 1769, 202, 955, 18, 6923, 31458, 82, 4595, 444, 30, 13773, 1188, 8696, 10663, 1377, 309, 261, 81, 67, 5417, 4478, 13, 1377, 288, 202, 955, 18, 6923, 31458, 82, 64, 82, 4478, 5581, 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, 514, 1762, 1435, 225, 288, 565, 309, 261, 81, 67, 8219, 422, 446, 13, 1377, 327, 315, 2568, 1404, 1172, 14604, 1014, 14622, 4442, 31, 565, 469, 565, 288, 1377, 6674, 977, 273, 394, 6674, 5621, 5411, 977, 18, 6923, 2932, 15861, 3555, 14622, 2773, 15, 1082, 225, 1548, 82, 64, 82, 1854, 434, 8277, 3884, 30, 13773, 81, 67, 2107, 5361, 15, 1082, 225, 1548, 82, 1854, 434, 15718, 294, 13773, 81, 67, 8219, 18, 1467, 1435, 9078, 64, 82, 8863, 1377, 309, 261, 81, 67, 1202, 13450, 79, 13, 202, 955, 18, 6923, 2932, 3989, 1885, 18147, 635, 23450, 21, 8403, 82, 8863, 1377, 469, 202, 955, 18, 6923, 2932, 3989, 1885, 18147, 635, 25977, 2 ]
InputOptions options = new InputOptions( ); options.setOption( InputOptions.OPT_REQUEST, request ); options.setOption( InputOptions.OPT_LOCALE, locale ); options.setOption( InputOptions.OPT_RTL, new Boolean( rtl ) ); Collection parameterList = this.getReportService( ) .getParameterDefinitions( reportDesignHandle, options, false );
protected void __initParameters( HttpServletRequest request ) throws Exception { this.reportDesignHandle = getDesignHandle( request ); // when in preview model, parse paramenters from config file if ( isDesigner ) { this.parseConfigVars( request ); } InputOptions options = new InputOptions( ); options.setOption( InputOptions.OPT_REQUEST, request ); options.setOption( InputOptions.OPT_LOCALE, locale ); options.setOption( InputOptions.OPT_RTL, new Boolean( rtl ) ); Collection parameterList = this.getReportService( ) .getParameterDefinitions( reportDesignHandle, options, false ); // TODO: Change parameters to be Map, not HashMap this.parameters = (HashMap) getParsedParameters( reportDesignHandle, parameterList, request, options ); this.missingParameter = validateParameters( parameterList, this.parameters ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/56180eb5f772e8e1f27a83f05298fa3db5eef9bb/ViewerAttributeBean.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1001, 2738, 2402, 12, 9984, 590, 262, 1082, 202, 15069, 1185, 202, 95, 202, 202, 2211, 18, 6006, 15478, 3259, 273, 2343, 281, 724, 3259, 12, 590, 11272, 202, 202, 759, 1347, 316, 10143, 938, 16, 1109, 579, 319, 414, 628, 642, 585, 202, 202, 430, 261, 353, 15478, 264, 262, 202, 202, 95, 1082, 202, 2211, 18, 2670, 809, 5555, 12, 590, 11272, 202, 202, 97, 202, 202, 1210, 1320, 702, 273, 394, 2741, 1320, 12, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 16, 590, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 16, 2573, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 54, 5967, 16, 394, 3411, 12, 436, 6172, 262, 11272, 202, 202, 2532, 1569, 682, 273, 333, 18, 588, 4820, 1179, 12, 262, 9506, 202, 18, 588, 1662, 7130, 12, 2605, 15478, 3259, 16, 702, 16, 629, 11272, 202, 202, 759, 2660, 30, 7576, 1472, 358, 506, 1635, 16, 486, 4317, 202, 202, 2211, 18, 3977, 273, 261, 8658, 13, 25406, 2402, 12, 2605, 15478, 3259, 16, 9506, 202, 6775, 682, 16, 590, 16, 702, 11272, 202, 202, 2211, 18, 7337, 1662, 273, 1954, 2402, 12, 1569, 682, 16, 9506, 202, 2211, 18, 3977, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1001, 2738, 2402, 12, 9984, 590, 262, 1082, 202, 15069, 1185, 202, 95, 202, 202, 2211, 18, 6006, 15478, 3259, 273, 2343, 281, 724, 3259, 12, 590, 11272, 202, 202, 759, 1347, 316, 10143, 938, 16, 1109, 579, 319, 414, 628, 642, 585, 202, 202, 430, 261, 353, 15478, 264, 262, 202, 202, 95, 1082, 202, 2211, 18, 2670, 809, 5555, 12, 590, 11272, 202, 202, 97, 202, 202, 1210, 1320, 702, 273, 394, 2741, 1320, 12, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 16, 590, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 16, 2573, 11272, 202, 202, 2116, 18, 542, 2 ]
try {
try {
public SGS() { String verboseString = System.getProperty("sgs.framework.verbose"); if (verboseString != null){ verbose = verboseString.equalsIgnoreCase("true"); } try { kernel = new SimKernelImpl(); String installProperty = System .getProperty("sgs.framework.installurl"); if (installProperty != null) { installFile = installProperty; } if (verbose){ System.out.println("Loading configuration from: "+installFile); } InstallationLoader installation = new InstallationURL(new URL( installFile)); // start framework services transportManager = new LRMPTransportManager(); reportManager = new ReportManagerImpl(transportManager, REPORTTTL); long heartbeat = 1000; // 1 sec heartbeat default String hbprop = System.getProperty("sgs.framework.timer.heartbeat"); if (hbprop!= null){ heartbeat = Long.parseLong(hbprop); } timerManager = new TimerManagerImpl(heartbeat); kernel.setTimerManager(timerManager); kernel.setRawSocketManager(new RawSocketManagerImpl()); // start game services StatusReport installationReport = reportManager .makeNewReport("_SGS_discover_" + sliceID); installationReport.setParameter("game", "count", "0"); for (DeploymentRec game : installation.listGames()) { startupGame(transportManager, game, installationReport); } reportUpdater = new ReportUpdater(reportManager); installationReport.dump(System.out); reportUpdater.addReport(installationReport); } catch (Exception ex) { ex.printStackTrace(); System.exit(1); } }
55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/a43936f6936779dea0283b3d029f695c95bbc693/SGS.java/clean/src/com/sun/gi/SGS.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 348, 16113, 1435, 288, 202, 202, 780, 3988, 780, 273, 2332, 18, 588, 1396, 2932, 87, 564, 18, 12303, 18, 11369, 8863, 9506, 202, 430, 261, 11369, 780, 480, 446, 15329, 1082, 202, 11369, 273, 3988, 780, 18, 14963, 5556, 2932, 3767, 8863, 202, 202, 97, 202, 202, 698, 288, 25083, 202, 8111, 273, 394, 9587, 11286, 2828, 5621, 1082, 202, 780, 3799, 1396, 273, 2332, 6862, 202, 18, 588, 1396, 2932, 87, 564, 18, 12303, 18, 5425, 718, 8863, 1082, 202, 430, 261, 5425, 1396, 480, 446, 13, 288, 9506, 202, 5425, 812, 273, 3799, 1396, 31, 1082, 202, 97, 1082, 202, 430, 261, 11369, 15329, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 10515, 1664, 628, 30, 13773, 5425, 812, 1769, 1082, 202, 97, 1082, 202, 21790, 2886, 13193, 273, 394, 10284, 367, 1785, 12, 2704, 1976, 12, 6862, 202, 5425, 812, 10019, 1082, 202, 759, 787, 8257, 4028, 1082, 202, 13049, 1318, 273, 394, 511, 54, 4566, 6568, 1318, 5621, 1082, 202, 6006, 1318, 273, 394, 8706, 1318, 2828, 12, 13049, 1318, 16, 2438, 52, 916, 1470, 5967, 1769, 1082, 202, 5748, 12923, 273, 4336, 31, 368, 404, 1428, 12923, 805, 1082, 202, 780, 21749, 5986, 273, 2332, 18, 588, 1396, 2932, 87, 564, 18, 12303, 18, 12542, 18, 25445, 8863, 1082, 202, 430, 261, 76, 70, 5986, 5, 33, 446, 15329, 9506, 202, 25445, 273, 3407, 18, 2670, 3708, 12, 76, 70, 5986, 1769, 1082, 202, 97, 1082, 202, 12542, 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, 348, 16113, 1435, 288, 202, 202, 780, 3988, 780, 273, 2332, 18, 588, 1396, 2932, 87, 564, 18, 12303, 18, 11369, 8863, 9506, 202, 430, 261, 11369, 780, 480, 446, 15329, 1082, 202, 11369, 273, 3988, 780, 18, 14963, 5556, 2932, 3767, 8863, 202, 202, 97, 202, 202, 698, 288, 25083, 202, 8111, 273, 394, 9587, 11286, 2828, 5621, 1082, 202, 780, 3799, 1396, 273, 2332, 6862, 202, 18, 588, 1396, 2932, 87, 564, 18, 12303, 18, 5425, 718, 8863, 1082, 202, 430, 261, 5425, 1396, 480, 446, 13, 288, 9506, 202, 5425, 812, 273, 3799, 1396, 31, 1082, 202, 97, 1082, 202, 430, 261, 11369, 15329, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 10515, 2 ]
if (repositoryFileManager == null) { throw new IOException("no RepositoryFileManager"); } return repositoryFileManager.getRevision(filename); }
if (repositoryFileManager == null) { throw new IOException("no RepositoryFileManager"); } return repositoryFileManager.getRevision(filename); }
public String getRevision(String filename) throws IOException { if (repositoryFileManager == null) { throw new IOException("no RepositoryFileManager"); } return repositoryFileManager.getRevision(filename); }
48585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48585/fe784b1bb6157b15ed84ba55ea39b94e5e897d57/Builder.java/buggy/statsvn/src/net/sf/statcvs/input/Builder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 26911, 12, 780, 1544, 13, 1216, 1860, 288, 202, 202, 430, 261, 9071, 812, 1318, 422, 446, 13, 288, 1082, 202, 12849, 394, 1860, 2932, 2135, 6281, 812, 1318, 8863, 202, 202, 97, 202, 202, 2463, 3352, 812, 1318, 18, 588, 7939, 12, 3459, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 26911, 12, 780, 1544, 13, 1216, 1860, 288, 202, 202, 430, 261, 9071, 812, 1318, 422, 446, 13, 288, 1082, 202, 12849, 394, 1860, 2932, 2135, 6281, 812, 1318, 8863, 202, 202, 97, 202, 202, 2463, 3352, 812, 1318, 18, 588, 7939, 12, 3459, 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 ]
public String getServerIDString() { return mServerId; }
public String getServerIDString() { return mServerId; }
public String getServerIDString() { return mServerId; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/c447595de39156a512a226025f8d85e8ab2d1440/ParsedItemID.java/clean/ZimbraServer/src/java/com/zimbra/cs/service/util/ParsedItemID.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11543, 734, 780, 1435, 288, 327, 312, 2081, 548, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11543, 734, 780, 1435, 288, 327, 312, 2081, 548, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
GMaxisOfPos.set(new Vector3f(0.0f,1.0f,0.0f)); tjoInterpolator gmSinger = new tjoInterpolator(alpha, GMsingAlong, GMaxisOfPos, gknots, GMpoints);
GMaxisOfPos.set(new Vector3f(0.0f, 1.0f, 0.0f)); tjoInterpolator gmSinger = new tjoInterpolator(alpha, GMsingAlong, GMaxisOfPos, gknots, GMpoints);
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGroup Trace = new Traces(baz,ang).getTraceBG(); Transform3D rotateX = new Transform3D(); Transform3D rotateY = new Transform3D(); Transform3D rotateZ = new Transform3D(); double zRotation = 90.0d; double xRotation = -135.0d; double yRotation = -45.0d; rotateX.rotX(Math.toRadians(xRotation)); rotateZ.rotZ(Math.toRadians(zRotation)); rotateY.rotY(Math.toRadians(yRotation)); Transform3D rotate = new Transform3D(); Transform3D shift = new Transform3D(); Transform3D scale = new Transform3D(); Transform3D PlaceCoordSystem = new Transform3D(); rotate.mul(rotateZ); rotate.mul(rotateY); rotate.mul(rotateX); scale.setScale(0.5d); shift.setTranslation(new Vector3f(0.0f,0.4f,0.00f)); PlaceCoordSystem.mul(shift); PlaceCoordSystem.mul(rotate); PlaceCoordSystem.mul(scale); Transform3D SurfShift = new Transform3D(); SurfShift.setTranslation(new Vector3f(0.0f,0.36f,0.00f)); Transform3D PlaceSurface = new Transform3D(); PlaceSurface.mul(SurfShift); PlaceSurface.mul(rotate); PlaceSurface.mul(scale); /* Text is placed in the global coordinate sytem at locations transformed by the PlaceCoordSystem object. This keeps them facing the viewer, but in the proper location. */ Point3f textpt = new Point3f(1.0f,0.0f,0.0f); PlaceCoordSystem.transform(textpt); Text2D up = new Text2D("Up", textpt, new Color3f(1.0f, 0f, 0.0f), "Helvetica", 16, Font.BOLD); objRoot.addChild(up); textpt = new Point3f(-1.2f,0.0f,0.0f); PlaceCoordSystem.transform(textpt); Text2D down = new Text2D("Down", textpt, new Color3f(1.0f, 0f, 0.0f), "Helvetica", 16, Font.BOLD); objRoot.addChild(down); textpt = new Point3f(0.0f,1.2f,0.0f); PlaceCoordSystem.transform(textpt); Text2D east = new Text2D("East", textpt, new Color3f(0f, 1.0f, 0.2f), "Helvetica", 16, Font.BOLD); objRoot.addChild(east); textpt = new Point3f(0.0f,-1.2f,0.2f); PlaceCoordSystem.transform(textpt); Text2D west = new Text2D("West", textpt, new Color3f(0f, 1.0f, 0.0f), "Helvetica", 16, Font.BOLD); objRoot.addChild(west); textpt = new Point3f(0.0f,0.0f,1.1f); PlaceCoordSystem.transform(textpt); Text2D north = new Text2D("North", textpt, new Color3f(0f, 0f, 1.0f), "Helvetica", 16, Font.BOLD); objRoot.addChild(north); textpt = new Point3f(0.0f,0.0f,-1.2f); PlaceCoordSystem.transform(textpt); Text2D south = new Text2D("South", textpt, new Color3f(0f, 0f, 1.0f), "Helvetica", 16, Font.BOLD); objRoot.addChild(south); textpt = new Point3f(-1.2f,-1.4f,-1.0f); Text2D caption = new Text2D("Press and Hold any key to start animation", textpt, new Color3f(0f, 0f, 0.0f), "TimesRoman", 24, Font.BOLD); objRoot.addChild(caption); /* Set up the animation of the traces */ Alpha alpha = new Alpha(-1, 4000); TransformGroup ZsingAlong = new TransformGroup(); Transform3D ZaxisOfPos = new Transform3D(); ZaxisOfPos.set(new Vector3f(1.0f,0.0f,0.0f)); ZsingAlong.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); TransformGroup NsingAlong = new TransformGroup(); Transform3D NaxisOfPos = new Transform3D(); NaxisOfPos.set(new Vector3f(1.0f,0.0f,0.0f)); NsingAlong.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); TransformGroup EsingAlong = new TransformGroup(); Transform3D EaxisOfPos = new Transform3D(); EaxisOfPos.set(new Vector3f(1.0f,0.0f,0.0f)); EsingAlong.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); int nknots = new Traces(baz,ang).getNumberOfPoints(); Point3f zSing[] = new Point3f[nknots]; Point3f eSing[] = new Point3f[nknots]; Point3f nSing[] = new Point3f[nknots]; float knots[] = new float[nknots]; float zknots[] = new float[nknots]; float knotInc = 1.0f/(nknots-1); int i = 0; while (i < nknots) { knots[i] = i*knotInc; zknots[i] = i*knotInc; i++; } new Traces(baz,ang).getSingAlongPoints(zSing,nSing,eSing); //System.out.println("before tjo interpolator"); tjoInterpolator nSinger = new tjoInterpolator(alpha, NsingAlong, NaxisOfPos, knots, nSing); //System.out.println("after tjo interpolator"); nSinger.setSchedulingBounds(new BoundingSphere()); //System.out.println("after set scheduling bounds"); //System.out.println("before tjo interpolator"); tjoInterpolator eSinger = new tjoInterpolator(alpha, EsingAlong, EaxisOfPos, knots, eSing); //System.out.println("after tjo interpolator"); eSinger.setSchedulingBounds(new BoundingSphere()); //System.out.println("after set scheduling bounds"); //System.out.println("before tjo interpolator"); tjoInterpolator zSinger = new tjoInterpolator(alpha, ZsingAlong, ZaxisOfPos, knots, zSing); //System.out.println("after tjo interpolator"); zSinger.setSchedulingBounds(new BoundingSphere()); //System.out.println("after set scheduling bounds"); int GMknots = 41; Point3f GMpoints[] = new Point3f[41]; Point3f GMzOnly[] = new Point3f[41]; Point3f GMeOnly[] = new Point3f[41]; Point3f GMnOnly[] = new Point3f[41]; new MotionVector(baz,ang).getMotionPoints(GMpoints); float gknots[] = new float[GMknots]; float gnotInc = 1.0f/(GMknots-1); i = 0; while (i < GMknots) { gknots[i] = i*gnotInc; // //System.out.println("GM " + i + " " + GMpoints[i]); float t[] = new float[3]; GMpoints[i].get(t); GMzOnly[i]=new Point3f(t[0],0.0f,0.0f); GMeOnly[i]=new Point3f(0.0f,t[1],0.0f); GMnOnly[i]=new Point3f(0.0f,0.0f,t[2]); PlaceCoordSystem.transform(GMpoints[i]); PlaceCoordSystem.transform(GMzOnly[i]); PlaceCoordSystem.transform(GMeOnly[i]); PlaceCoordSystem.transform(GMnOnly[i]); i++; } TransformGroup GMsingAlong = new TransformGroup(); GMsingAlong.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); TransformGroup GMzOnly_singAlong = new TransformGroup(); GMzOnly_singAlong.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); TransformGroup GMnOnly_singAlong = new TransformGroup(); GMnOnly_singAlong.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); TransformGroup GMeOnly_singAlong = new TransformGroup(); GMeOnly_singAlong.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); Transform3D GMaxisOfPos = new Transform3D(); GMaxisOfPos.set(new Vector3f(0.0f,1.0f,0.0f)); tjoInterpolator gmSinger = new tjoInterpolator(alpha, GMsingAlong, GMaxisOfPos, gknots, GMpoints); gmSinger.setSchedulingBounds(new BoundingSphere()); tjoInterpolator gmZonlySinger = new tjoInterpolator(alpha, GMzOnly_singAlong, GMaxisOfPos, gknots, GMzOnly); gmZonlySinger.setSchedulingBounds(new BoundingSphere()); tjoInterpolator gmNonlySinger = new tjoInterpolator(alpha, GMnOnly_singAlong, GMaxisOfPos, gknots, GMnOnly); gmNonlySinger.setSchedulingBounds(new BoundingSphere()); tjoInterpolator gmEonlySinger = new tjoInterpolator(alpha, GMeOnly_singAlong, GMaxisOfPos, gknots, GMeOnly); gmEonlySinger.setSchedulingBounds(new BoundingSphere()); TransformGroup objPlace3D = new TransformGroup(PlaceCoordSystem); TransformGroup objPlaceSurf = new TransformGroup(PlaceSurface); Background background = new Background(); background.setColor(0.6f, 0.6f, 0.6f); background.setApplicationBounds(new BoundingSphere()); objRoot.addChild(background); objPlace3D.addChild(Axes); objPlace3D.addChild(Motion); objRoot.addChild(objPlace3D); objPlaceSurf.addChild(Surface); objRoot.addChild(objPlaceSurf); /* objPlaceAxesText.addChild(AxesText); objRoot.addChild(objPlaceAxesText); */ objRoot.addChild(Trace); objRoot.addChild(ZsingAlong); objRoot.addChild(zSinger); Appearance zSphere = new Appearance(); ColoringAttributes zCA = new ColoringAttributes(); zCA.setColor(1.0f,0.0f,0.0f); zSphere.setColoringAttributes(zCA); ZsingAlong.addChild(new Sphere(0.02f,zSphere)); objRoot.addChild(NsingAlong); objRoot.addChild(nSinger); Appearance nSphere = new Appearance(); ColoringAttributes nCA = new ColoringAttributes(); nCA.setColor(0.0f,0.0f,1.0f); nSphere.setColoringAttributes(nCA); NsingAlong.addChild(new Sphere(0.02f,nSphere)); objRoot.addChild(EsingAlong); objRoot.addChild(eSinger); Appearance eSphere = new Appearance(); ColoringAttributes eCA = new ColoringAttributes(); eCA.setColor(0.0f,1.0f,0.0f); eSphere.setColoringAttributes(eCA); EsingAlong.addChild(new Sphere(0.02f,eSphere)); objRoot.addChild(GMzOnly_singAlong); objRoot.addChild(gmZonlySinger); Appearance gmZonlySphere = new Appearance(); ColoringAttributes gmZonlyCA = new ColoringAttributes(); gmZonlyCA.setColor(1.0f,0.0f,0.0f); gmZonlySphere.setColoringAttributes(gmZonlyCA); GMzOnly_singAlong.addChild(new Sphere(0.015f,gmZonlySphere)); objRoot.addChild(GMnOnly_singAlong); objRoot.addChild(gmNonlySinger); Appearance gmNonlySphere = new Appearance(); ColoringAttributes gmNonlyCA = new ColoringAttributes(); gmNonlyCA.setColor(0.0f,0.0f,1.0f); gmNonlySphere.setColoringAttributes(gmNonlyCA); GMnOnly_singAlong.addChild(new Sphere(0.015f,gmNonlySphere)); objRoot.addChild(GMeOnly_singAlong); objRoot.addChild(gmEonlySinger); Appearance gmEonlySphere = new Appearance(); ColoringAttributes gmEonlyCA = new ColoringAttributes(); gmEonlyCA.setColor(0.0f,1.0f,0.0f); gmEonlySphere.setColoringAttributes(gmEonlyCA); GMeOnly_singAlong.addChild(new Sphere(0.015f,gmEonlySphere)); objRoot.addChild(GMsingAlong); objRoot.addChild(gmSinger); Appearance gmSphere = new Appearance(); ColoringAttributes gmCA = new ColoringAttributes(); gmCA.setColor(0.4f,0.2f,0.2f); gmSphere.setColoringAttributes(gmCA); GMsingAlong.addChild(new Sphere(0.02f,gmSphere)); // Let Java 3D perform optimizations on this scene graph. objRoot.compile(); //System.out.println("returning from CreaetScene Graph"); return objRoot; } // end of CreateSceneGraph method
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/bfec18e620e46b8f8f851e49301adbf96206cd3b/PartMo.java/buggy/src/edu/sc/seis/fissuresUtil/parmo3d/PartMo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15449, 1114, 752, 14370, 4137, 12, 5659, 29025, 16, 1431, 7603, 13, 288, 7734, 15449, 1114, 1081, 2375, 225, 273, 394, 15449, 1114, 5621, 3639, 15449, 1114, 22516, 281, 377, 273, 394, 15509, 7675, 588, 6558, 30098, 5621, 3639, 15449, 1114, 24354, 225, 273, 394, 15509, 7675, 588, 11508, 30098, 5621, 3639, 15449, 1114, 28994, 282, 273, 394, 28994, 5018, 12, 70, 1561, 16, 539, 2934, 588, 29360, 30098, 5621, 3639, 15449, 1114, 2677, 565, 273, 394, 2197, 764, 12, 70, 1561, 16, 539, 2934, 588, 3448, 30098, 5621, 7734, 11514, 23, 40, 8534, 60, 273, 394, 11514, 23, 40, 5621, 3639, 11514, 23, 40, 8534, 61, 273, 394, 11514, 23, 40, 5621, 3639, 11514, 23, 40, 8534, 62, 273, 394, 11514, 23, 40, 5621, 7734, 1645, 998, 14032, 273, 8566, 18, 20, 72, 31, 3639, 1645, 619, 14032, 273, 300, 26612, 18, 20, 72, 31, 3639, 1645, 677, 14032, 273, 300, 7950, 18, 20, 72, 31, 7734, 8534, 60, 18, 8342, 60, 12, 10477, 18, 869, 25140, 12, 92, 14032, 10019, 3639, 8534, 62, 18, 8342, 62, 12, 10477, 18, 869, 25140, 12, 94, 14032, 10019, 3639, 8534, 61, 18, 8342, 61, 12, 10477, 18, 869, 25140, 12, 93, 14032, 10019, 7734, 11514, 23, 40, 8534, 225, 273, 394, 11514, 23, 40, 5621, 3639, 11514, 23, 40, 4654, 225, 273, 394, 11514, 23, 40, 5621, 3639, 11514, 23, 40, 3159, 225, 273, 394, 11514, 23, 40, 5621, 7734, 11514, 23, 40, 13022, 5401, 3163, 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, 15449, 1114, 752, 14370, 4137, 12, 5659, 29025, 16, 1431, 7603, 13, 288, 7734, 15449, 1114, 1081, 2375, 225, 273, 394, 15449, 1114, 5621, 3639, 15449, 1114, 22516, 281, 377, 273, 394, 15509, 7675, 588, 6558, 30098, 5621, 3639, 15449, 1114, 24354, 225, 273, 394, 15509, 7675, 588, 11508, 30098, 5621, 3639, 15449, 1114, 28994, 282, 273, 394, 28994, 5018, 12, 70, 1561, 16, 539, 2934, 588, 29360, 30098, 5621, 3639, 15449, 1114, 2677, 565, 273, 394, 2197, 764, 12, 70, 1561, 16, 539, 2934, 588, 3448, 30098, 5621, 7734, 11514, 23, 40, 8534, 60, 273, 394, 11514, 23, 40, 5621, 3639, 11514, 23, 40, 8534, 61, 273, 394, 11514, 23, 40, 5621, 3639, 11514, 23, 40, 2 ]
Object[] errArgs = { desired.getName() }; throw Context.reportRuntimeError( Context.getMessage("msg.cant.convert", errArgs));
throw Context.reportRuntimeError1 ("msg.cant.convert", desired.getName());
static public Object convertArg(Scriptable scope, Object arg, Class desired) { if (desired == ScriptRuntime.StringClass) return ScriptRuntime.toString(arg); if (desired == ScriptRuntime.IntegerClass || desired == Integer.TYPE) { return new Integer(ScriptRuntime.toInt32(arg)); } if (desired == ScriptRuntime.BooleanClass || desired == Boolean.TYPE) { return ScriptRuntime.toBoolean(arg) ? Boolean.TRUE : Boolean.FALSE; } if (desired == ScriptRuntime.DoubleClass || desired == Double.TYPE) { return new Double(ScriptRuntime.toNumber(arg)); } if (desired == ScriptRuntime.ScriptableClass) return ScriptRuntime.toObject(scope, arg); if (desired == ScriptRuntime.ObjectClass) return arg; // Note that the long type is not supported; see the javadoc for // the constructor for this class Object[] errArgs = { desired.getName() }; throw Context.reportRuntimeError( Context.getMessage("msg.cant.convert", errArgs)); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/45820b15541f8822cc8d463aa50caef2201b19b4/FunctionObject.java/clean/src/org/mozilla/javascript/FunctionObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1071, 1033, 1765, 4117, 12, 3651, 429, 2146, 16, 4766, 565, 1033, 1501, 16, 1659, 6049, 13, 565, 288, 3639, 309, 261, 30458, 422, 7739, 5576, 18, 780, 797, 13, 2398, 327, 7739, 5576, 18, 10492, 12, 3175, 1769, 3639, 309, 261, 30458, 422, 7739, 5576, 18, 4522, 797, 747, 2398, 6049, 422, 2144, 18, 2399, 13, 3639, 288, 5411, 327, 394, 2144, 12, 3651, 5576, 18, 869, 1702, 1578, 12, 3175, 10019, 3639, 289, 3639, 309, 261, 30458, 422, 7739, 5576, 18, 5507, 797, 747, 2398, 6049, 422, 3411, 18, 2399, 13, 3639, 288, 5411, 327, 7739, 5576, 18, 869, 5507, 12, 3175, 13, 692, 3411, 18, 18724, 4766, 1171, 294, 3411, 18, 21053, 31, 3639, 289, 3639, 309, 261, 30458, 422, 7739, 5576, 18, 5265, 797, 747, 2398, 6049, 422, 3698, 18, 2399, 13, 3639, 288, 5411, 327, 394, 3698, 12, 3651, 5576, 18, 869, 1854, 12, 3175, 10019, 3639, 289, 3639, 309, 261, 30458, 422, 7739, 5576, 18, 3651, 429, 797, 13, 5411, 327, 7739, 5576, 18, 869, 921, 12, 4887, 16, 1501, 1769, 3639, 309, 261, 30458, 422, 7739, 5576, 18, 921, 797, 13, 5411, 327, 1501, 31, 7734, 368, 3609, 716, 326, 1525, 618, 353, 486, 3260, 31, 2621, 326, 30829, 364, 3639, 368, 326, 3885, 364, 333, 667, 3639, 1033, 8526, 393, 2615, 273, 288, 6049, 18, 17994, 1435, 289, 31, 3639, 604, 1772, 18, 6006, 5576, 668, 12, 7734, 1772, 18, 24906, 2932, 3576, 18, 71, 970, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1071, 1033, 1765, 4117, 12, 3651, 429, 2146, 16, 4766, 565, 1033, 1501, 16, 1659, 6049, 13, 565, 288, 3639, 309, 261, 30458, 422, 7739, 5576, 18, 780, 797, 13, 2398, 327, 7739, 5576, 18, 10492, 12, 3175, 1769, 3639, 309, 261, 30458, 422, 7739, 5576, 18, 4522, 797, 747, 2398, 6049, 422, 2144, 18, 2399, 13, 3639, 288, 5411, 327, 394, 2144, 12, 3651, 5576, 18, 869, 1702, 1578, 12, 3175, 10019, 3639, 289, 3639, 309, 261, 30458, 422, 7739, 5576, 18, 5507, 797, 747, 2398, 6049, 422, 3411, 18, 2399, 13, 3639, 288, 5411, 327, 7739, 5576, 18, 869, 5507, 12, 3175, 13, 692, 3411, 18, 18724, 4766, 1171, 294, 3411, 18, 21053, 31, 3639, 2 ]
public INavigatorContentDescriptor[] bindExtensions(String[] extensionIds) {
public INavigatorContentDescriptor[] bindExtensions(String[] extensionIds, boolean isRoot) {
public INavigatorContentDescriptor[] bindExtensions(String[] extensionIds) { if (extensionIds == null || extensionIds.length == 0) return NO_DESCRIPTORS; for (int i = 0; i < extensionIds.length; i++) assistant.bindExtensions(extensionIds); Set boundDescriptors = new HashSet(); INavigatorContentDescriptor descriptor; for (int i = 0; i < extensionIds.length; i++) { descriptor = CONTENT_DESCRIPTOR_REGISTRY .getContentDescriptor(extensionIds[i]); if (descriptor != null) boundDescriptors.add(descriptor); } if (boundDescriptors.size() == 0) return NO_DESCRIPTORS; return (INavigatorContentDescriptor[]) boundDescriptors .toArray(new INavigatorContentDescriptor[boundDescriptors .size()]); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/187a6e5e9526ea47a03a969d7ddb741178d2527d/NavigatorContentService.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/internal/NavigatorContentService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2120, 13061, 1350, 3187, 8526, 1993, 7513, 12, 780, 8526, 2710, 2673, 13, 288, 202, 202, 430, 261, 6447, 2673, 422, 446, 747, 2710, 2673, 18, 2469, 422, 374, 13, 1082, 202, 2463, 3741, 67, 1639, 10885, 14006, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2710, 2673, 18, 2469, 31, 277, 27245, 1082, 202, 428, 17175, 18, 4376, 7513, 12, 6447, 2673, 1769, 202, 202, 694, 2489, 12705, 273, 394, 6847, 5621, 202, 202, 706, 13061, 1350, 3187, 4950, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2710, 2673, 18, 2469, 31, 277, 27245, 288, 1082, 202, 12628, 273, 12577, 67, 1639, 27689, 67, 5937, 25042, 6862, 202, 18, 588, 1350, 3187, 12, 6447, 2673, 63, 77, 19226, 1082, 202, 430, 261, 12628, 480, 446, 13, 9506, 202, 3653, 12705, 18, 1289, 12, 12628, 1769, 202, 202, 97, 202, 202, 430, 261, 3653, 12705, 18, 1467, 1435, 422, 374, 13, 1082, 202, 2463, 3741, 67, 1639, 10885, 14006, 31, 202, 202, 2463, 261, 706, 13061, 1350, 3187, 63, 5717, 2489, 12705, 9506, 202, 18, 31447, 12, 2704, 2120, 13061, 1350, 3187, 63, 3653, 12705, 25083, 202, 18, 1467, 1435, 19226, 225, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2120, 13061, 1350, 3187, 8526, 1993, 7513, 12, 780, 8526, 2710, 2673, 13, 288, 202, 202, 430, 261, 6447, 2673, 422, 446, 747, 2710, 2673, 18, 2469, 422, 374, 13, 1082, 202, 2463, 3741, 67, 1639, 10885, 14006, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2710, 2673, 18, 2469, 31, 277, 27245, 1082, 202, 428, 17175, 18, 4376, 7513, 12, 6447, 2673, 1769, 202, 202, 694, 2489, 12705, 273, 394, 6847, 5621, 202, 202, 706, 13061, 1350, 3187, 4950, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2710, 2673, 18, 2469, 31, 277, 27245, 288, 1082, 202, 12628, 273, 12577, 67, 1639, 27689, 67, 5937, 25042, 6862, 2 ]
/** * Convert a LDAPAttribute to a JNDI Attribute */ static Attribute ldapAttrToJndiAttr(LDAPAttribute attr) { BasicAttribute jndiAttr = new BasicAttribute(attr.getName()); Enumeration enumVals = null; if (isBinaryAttribute(attr.getName())) { enumVals = attr.getByteValues(); } else { enumVals = attr.getStringValues(); } /* Performance enhancement for an attribute with many values. * If number of value over threshold, use TreeSet to quickly * eliminate value duplication. Locally extends JNDI attribute * to pass TreeSet directly to Vector of JNDI attribute. */ if (attr.size() < 50 ) { if (enumVals != null) { while ( enumVals.hasMoreElements() ) { jndiAttr.add(enumVals.nextElement()); } } } else { /* A local class to allow constructing a JNDI attribute * from a TreeSet. */ class BigAttribute extends BasicAttribute { public BigAttribute (String id, TreeSet val) { super(id); values = new Vector (val); } } TreeSet valSet = new TreeSet(); if (enumVals != null) { while ( enumVals.hasMoreElements() ) { valSet.add(enumVals.nextElement()); } } jndiAttr = new BigAttribute(attr.getName(), valSet); } return jndiAttr; } /** * Convert and array of JNDI ModificationItem to a LDAPModificationSet */ static LDAPModificationSet jndiModsToLdapModSet(ModificationItem[] jndiMods) throws NamingException{ LDAPModificationSet mods = new LDAPModificationSet(); for (int i=0; i < jndiMods.length; i++) { int modop = jndiMods[i].getModificationOp(); LDAPAttribute attr = jndiAttrToLdapAttr(jndiMods[i].getAttribute()); if (modop == DirContext.ADD_ATTRIBUTE) { mods.add(LDAPModification.ADD, attr); } else if (modop == DirContext.REPLACE_ATTRIBUTE) { mods.add(LDAPModification.REPLACE, attr); } else if (modop == DirContext.REMOVE_ATTRIBUTE) { mods.add(LDAPModification.DELETE, attr); } else { } }
static LDAPAttributeSet jndiAttrsToLdapAttrSet(Attributes jndiAttrs) throws NamingException{ LDAPAttributeSet attrs = new LDAPAttributeSet(); for (Enumeration enum = jndiAttrs.getAll(); enum.hasMoreElements();) { attrs.add(jndiAttrToLdapAttr((Attribute) enum.nextElement())); } return attrs; } /** * Convert a JNDI Attribute to a LDAPAttribute */ static LDAPAttribute jndiAttrToLdapAttr(Attribute jndiAttr) throws NamingException{ LDAPAttribute attr = new LDAPAttribute(jndiAttr.getID()); for (NamingEnumeration vals = jndiAttr.getAll(); vals.hasMoreElements();) { Object val = vals.nextElement(); if (val == null) { ; // no value } else if (val instanceof byte[]) { attr.addValue((byte[])val); } else { attr.addValue(val.toString()); } } return attr; } /** * Convert a LDAPAttribute to a JNDI Attribute */ static Attribute ldapAttrToJndiAttr(LDAPAttribute attr) { BasicAttribute jndiAttr = new BasicAttribute(attr.getName()); Enumeration enumVals = null; if (isBinaryAttribute(attr.getName())) { enumVals = attr.getByteValues(); } else { enumVals = attr.getStringValues(); } /* Performance enhancement for an attribute with many values. * If number of value over threshold, use TreeSet to quickly * eliminate value duplication. Locally extends JNDI attribute * to pass TreeSet directly to Vector of JNDI attribute. */ if (attr.size() < 50 ) { if (enumVals != null) { while ( enumVals.hasMoreElements() ) { jndiAttr.add(enumVals.nextElement()); } } } else { /* A local class to allow constructing a JNDI attribute * from a TreeSet. */ class BigAttribute extends BasicAttribute { public BigAttribute (String id, TreeSet val) { super(id); values = new Vector (val); } } TreeSet valSet = new TreeSet(); if (enumVals != null) { while ( enumVals.hasMoreElements() ) { valSet.add(enumVals.nextElement()); } } jndiAttr = new BigAttribute(attr.getName(), valSet); } return jndiAttr; } /** * Convert and array of JNDI ModificationItem to a LDAPModificationSet */ static LDAPModificationSet jndiModsToLdapModSet(ModificationItem[] jndiMods) throws NamingException{ LDAPModificationSet mods = new LDAPModificationSet(); for (int i=0; i < jndiMods.length; i++) { int modop = jndiMods[i].getModificationOp(); LDAPAttribute attr = jndiAttrToLdapAttr(jndiMods[i].getAttribute()); if (modop == DirContext.ADD_ATTRIBUTE) { mods.add(LDAPModification.ADD, attr); } else if (modop == DirContext.REPLACE_ATTRIBUTE) { mods.add(LDAPModification.REPLACE, attr); } else if (modop == DirContext.REMOVE_ATTRIBUTE) { mods.add(LDAPModification.DELETE, attr); } else { // Should never come here. ModificationItem can not // be constructed with a wrong value } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/6ba93b2e6a7d7be123e3c948ae563bb34f400765/AttributesImpl.java/clean/directory/java-sdk/ldapsp/com/netscape/jndi/ldap/AttributesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 11916, 1499, 694, 525, 16564, 8262, 774, 18437, 3843, 694, 12, 2498, 525, 16564, 8262, 13, 1216, 26890, 95, 3639, 11916, 1499, 694, 3422, 273, 394, 11916, 1499, 694, 5621, 3639, 364, 261, 21847, 2792, 273, 525, 16564, 8262, 18, 588, 1595, 5621, 2792, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 3422, 18, 1289, 12, 78, 16564, 3843, 774, 18437, 3843, 12443, 1499, 13, 2792, 18, 4285, 1046, 1435, 10019, 3639, 289, 3639, 327, 3422, 31, 565, 289, 7734, 1783, 377, 380, 4037, 279, 804, 24513, 3601, 358, 279, 11916, 1499, 377, 1195, 565, 760, 11916, 1499, 525, 16564, 3843, 774, 18437, 3843, 12, 1499, 525, 16564, 3843, 13, 1216, 26890, 95, 3639, 11916, 1499, 1604, 273, 394, 11916, 1499, 12, 78, 16564, 3843, 18, 588, 734, 10663, 7734, 364, 261, 24102, 21847, 5773, 273, 525, 16564, 3843, 18, 588, 1595, 5621, 5773, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 1033, 1244, 273, 5773, 18, 4285, 1046, 5621, 5411, 309, 261, 1125, 422, 446, 13, 288, 7734, 274, 225, 368, 1158, 460, 5411, 289, 7734, 469, 309, 261, 1125, 1276, 1160, 63, 5717, 288, 7734, 1604, 18, 1289, 620, 12443, 7229, 63, 5717, 1125, 1769, 5411, 289, 5411, 469, 288, 7734, 1604, 18, 1289, 620, 12, 1125, 18, 10492, 10663, 5411, 289, 5411, 289, 3639, 327, 1604, 31, 565, 289, 3639, 1783, 377, 380, 4037, 279, 11916, 1499, 358, 279, 804, 24513, 3601, 377, 1195, 565, 760, 3601, 8079, 3843, 774, 46, 16564, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 11916, 1499, 694, 525, 16564, 8262, 774, 18437, 3843, 694, 12, 2498, 525, 16564, 8262, 13, 1216, 26890, 95, 3639, 11916, 1499, 694, 3422, 273, 394, 11916, 1499, 694, 5621, 3639, 364, 261, 21847, 2792, 273, 525, 16564, 8262, 18, 588, 1595, 5621, 2792, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 3422, 18, 1289, 12, 78, 16564, 3843, 774, 18437, 3843, 12443, 1499, 13, 2792, 18, 4285, 1046, 1435, 10019, 3639, 289, 3639, 327, 3422, 31, 565, 289, 7734, 1783, 377, 380, 4037, 279, 804, 24513, 3601, 358, 279, 11916, 1499, 377, 1195, 565, 760, 11916, 1499, 525, 16564, 3843, 774, 18437, 3843, 12, 1499, 525, 16564, 3843, 13, 1216, 26890, 95, 3639, 11916, 1499, 1604, 2 ]
public Object getObject (int parameterIndex) throws SQLException { }
public Object getObject(int parameterIndex) throws SQLException { return null; }
public Object getObject (int parameterIndex) throws SQLException { // XXX-Not Implemented }
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/6a061da272f04e1463864065f87f1f3fd61d6162/CallableStatement.java/buggy/src/interfaces/jdbc/postgresql/CallableStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 6455, 261, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 759, 11329, 17, 1248, 18788, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 1033, 6455, 261, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 759, 11329, 17, 1248, 18788, 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 ]
if (read != null) _mds[(i * 2) + 1] = new MethodDescriptor(read);
if (read != null && write != null) { descs.add(new MethodDescriptor(write)); descs.add(new MethodDescriptor(read)); }
public synchronized MethodDescriptor[] getMethodDescriptors() { if (_mds != null) return _mds; PropertyDescriptor[] pds = getPropertyDescriptors(); _mds = new MethodDescriptor[pds.length * 2]; for (int i = 0; i < pds.length; i++) { Method write = pds[i].getWriteMethod(); if (write != null) _mds[i * 2] = new MethodDescriptor(write); Method read = pds[i].getReadMethod(); if (read != null) _mds[(i * 2) + 1] = new MethodDescriptor(read); } return _mds; }
47053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47053/02c9ce3ca796592e45b04f3a42c8922b38ea2305/ConfigurationImpl.java/buggy/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 2985, 3187, 8526, 6272, 12705, 1435, 288, 3639, 309, 261, 67, 1264, 87, 480, 446, 13, 5411, 327, 389, 1264, 87, 31, 3639, 26761, 8526, 293, 2377, 273, 3911, 12705, 5621, 3639, 389, 1264, 87, 273, 394, 2985, 3187, 63, 84, 2377, 18, 2469, 380, 576, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 293, 2377, 18, 2469, 31, 277, 27245, 288, 5411, 2985, 1045, 273, 293, 2377, 63, 77, 8009, 588, 3067, 1305, 5621, 5411, 309, 261, 2626, 480, 446, 13, 7734, 389, 1264, 87, 63, 77, 380, 576, 65, 273, 394, 2985, 3187, 12, 2626, 1769, 5411, 2985, 855, 273, 293, 2377, 63, 77, 8009, 588, 1994, 1305, 5621, 5411, 309, 261, 896, 480, 446, 13, 7734, 389, 1264, 87, 63, 12, 77, 380, 576, 13, 397, 404, 65, 273, 394, 2985, 3187, 12, 896, 1769, 3639, 289, 3639, 327, 389, 1264, 87, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 2985, 3187, 8526, 6272, 12705, 1435, 288, 3639, 309, 261, 67, 1264, 87, 480, 446, 13, 5411, 327, 389, 1264, 87, 31, 3639, 26761, 8526, 293, 2377, 273, 3911, 12705, 5621, 3639, 389, 1264, 87, 273, 394, 2985, 3187, 63, 84, 2377, 18, 2469, 380, 576, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 293, 2377, 18, 2469, 31, 277, 27245, 288, 5411, 2985, 1045, 273, 293, 2377, 63, 77, 8009, 588, 3067, 1305, 5621, 5411, 309, 261, 2626, 480, 446, 13, 7734, 389, 1264, 87, 63, 77, 380, 576, 65, 273, 394, 2985, 3187, 12, 2626, 1769, 5411, 2985, 855, 273, 293, 2377, 63, 77, 8009, 588, 1994, 1305, 5621, 5411, 309, 2 ]
MailItem parent = getCachedParent(); if (parent != null) parent.updateUnread(delta);
MailItem parent = getCachedParent(); if (parent != null) parent.updateUnread(delta);
protected void updateUnread(int delta) throws ServiceException { if (delta == 0 || !trackUnread()) return; markItemModified(Change.MODIFIED_UNREAD); // update our unread count (should we check that we don't have too many unread?) mData.unreadCount += delta; if (mData.unreadCount < 0) throw ServiceException.FAILURE("inconsistent state: unread < 0 for " + getClass().getName() + " " + mId, null); // update the folder's unread count getFolder().updateUnread(delta); // update the parent's unread count MailItem parent = getCachedParent(); if (parent != null) parent.updateUnread(delta); // tell the tags about the new unread item updateTagUnread(delta); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/462f32037d5599195ad7e4125225e678d0173795/MailItem.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/MailItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1089, 984, 896, 12, 474, 3622, 13, 1216, 16489, 288, 202, 202, 430, 261, 9878, 422, 374, 747, 401, 4101, 984, 896, 10756, 1082, 202, 2463, 31, 3639, 2267, 1180, 4575, 12, 3043, 18, 21143, 67, 2124, 6949, 1769, 202, 202, 759, 1089, 3134, 19541, 1056, 261, 13139, 732, 866, 716, 732, 2727, 1404, 1240, 4885, 4906, 19541, 8535, 202, 202, 81, 751, 18, 318, 896, 1380, 1011, 3622, 31, 202, 202, 430, 261, 81, 751, 18, 318, 896, 1380, 411, 374, 13, 1082, 202, 12849, 16489, 18, 17623, 2932, 267, 16952, 919, 30, 19541, 411, 374, 364, 315, 397, 2900, 7675, 17994, 1435, 397, 315, 315, 397, 312, 548, 16, 446, 1769, 202, 202, 759, 1089, 326, 3009, 1807, 19541, 1056, 202, 202, 588, 3899, 7675, 2725, 984, 896, 12, 9878, 1769, 202, 202, 759, 1089, 326, 982, 1807, 19541, 1056, 202, 202, 6759, 1180, 982, 273, 20543, 3054, 5621, 202, 202, 430, 261, 2938, 480, 446, 13, 1082, 202, 2938, 18, 2725, 984, 896, 12, 9878, 1769, 202, 202, 759, 9276, 326, 2342, 2973, 326, 394, 19541, 761, 3639, 1089, 1805, 984, 896, 12, 9878, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1089, 984, 896, 12, 474, 3622, 13, 1216, 16489, 288, 202, 202, 430, 261, 9878, 422, 374, 747, 401, 4101, 984, 896, 10756, 1082, 202, 2463, 31, 3639, 2267, 1180, 4575, 12, 3043, 18, 21143, 67, 2124, 6949, 1769, 202, 202, 759, 1089, 3134, 19541, 1056, 261, 13139, 732, 866, 716, 732, 2727, 1404, 1240, 4885, 4906, 19541, 8535, 202, 202, 81, 751, 18, 318, 896, 1380, 1011, 3622, 31, 202, 202, 430, 261, 81, 751, 18, 318, 896, 1380, 411, 374, 13, 1082, 202, 12849, 16489, 18, 17623, 2932, 267, 16952, 919, 30, 19541, 411, 374, 364, 315, 397, 2900, 7675, 17994, 1435, 397, 315, 315, 397, 312, 548, 16, 446, 1769, 202, 202, 2 ]
return(getPreferredSize(rows));
return preferredSize (getRows ());
preferredSize(){ return(getPreferredSize(rows));}
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/3fe1c14284ce32b79d0e66441aec6a45a77ff684/List.java/buggy/libjava/java/awt/List.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9119, 1225, 1435, 95, 225, 327, 12, 588, 16028, 1225, 12, 3870, 10019, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9119, 1225, 1435, 95, 225, 327, 12, 588, 16028, 1225, 12, 3870, 10019, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else { runInterpreter(args[0]);
else if (args[i].equals("-e")) { if (i++ >= lNbArg) { System.err.println("invalid argument " + i); System.err.println(" -e must be followed by an expression to evaluate"); printUsage(); } else runInterpreter(args[i], "command line " + i); } else { runInterpreterOnFile(args[0]);
public static void main (String args[]) { System.out.println("WARNING this is an ALPHA version of JRuby!!!"); System.out.println("--------------------------------------------"); System.out.println(); if (args.length == 0) { printUsage(); } else { /*if (args[0].equals("-version")) { printVersion(); } else*/ if (args[0].equals("-help")) { printUsage(); } else { runInterpreter(args[0]); } } }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/e433dd46c4f08c54b8f43864c41cbd733cb83561/Main.java/clean/org/jruby/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 833, 63, 5717, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 9511, 333, 353, 392, 29432, 37, 1177, 434, 27974, 10340, 8548, 4442, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 2443, 7620, 8863, 3639, 2332, 18, 659, 18, 8222, 5621, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 1172, 5357, 5621, 3639, 289, 469, 288, 5411, 1748, 430, 261, 1968, 63, 20, 8009, 14963, 2932, 17, 1589, 6, 3719, 288, 7734, 1172, 1444, 5621, 5411, 289, 469, 5549, 309, 261, 1968, 63, 20, 8009, 14963, 2932, 17, 5201, 6, 3719, 288, 7734, 1172, 5357, 5621, 5411, 289, 469, 288, 7734, 1086, 30010, 12, 1968, 63, 20, 19226, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 261, 780, 833, 63, 5717, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 9511, 333, 353, 392, 29432, 37, 1177, 434, 27974, 10340, 8548, 4442, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 2443, 7620, 8863, 3639, 2332, 18, 659, 18, 8222, 5621, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 1172, 5357, 5621, 3639, 289, 469, 288, 5411, 1748, 430, 261, 1968, 63, 20, 8009, 14963, 2932, 17, 1589, 6, 3719, 288, 7734, 1172, 1444, 5621, 5411, 289, 469, 5549, 309, 261, 1968, 63, 20, 8009, 14963, 2932, 17, 5201, 6, 3719, 288, 7734, 1172, 5357, 5621, 5411, 289, 469, 288, 7734, 1086, 30010, 12, 1968, 63, 20, 19226, 5411, 2 ]
+ " (i integer not null, " + " s text not null) ");
+ " (i integer not null, " + " s text not null) ");
public void testPreparedStatement0041() throws Exception { Connection cx = getConnection(); dropTable("#t0041"); Statement stmt = cx.createStatement(); stmt.executeUpdate("create table #t0041 " + " (i integer not null, " + " s text not null) "); PreparedStatement pStmt = cx.prepareStatement("insert into #t0041 values (?, ?)"); // TODO: Check values final int rowsToAdd = 400; final String theString = getLongString(400); int count = 0; for (int i = 1; i <= rowsToAdd; i++) { pStmt.setInt(1, i); pStmt.setString(2, theString.substring(0, i)); count += pStmt.executeUpdate(); } assertTrue(count == rowsToAdd); pStmt.close(); ResultSet rs = stmt.executeQuery("select s, i from #t0041"); assertNotNull(rs); count = 0; while (rs.next()) { rs.getString("s"); count++; } assertTrue(count == rowsToAdd); cx.close(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/d48066e24a9a4b4edf35b9545de98ba05acafd4d/TimestampTest.java/clean/src/test/net/sourceforge/jtds/test/TimestampTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 29325, 713, 9803, 1435, 1216, 1185, 565, 288, 3639, 4050, 9494, 273, 6742, 5621, 3639, 3640, 1388, 2932, 7, 88, 713, 9803, 8863, 3639, 8056, 3480, 273, 9494, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 9803, 315, 5411, 397, 315, 225, 261, 77, 225, 3571, 225, 486, 446, 16, 315, 5411, 397, 315, 282, 272, 225, 977, 377, 486, 446, 13, 315, 1769, 3639, 16913, 293, 8952, 273, 9494, 18, 9366, 3406, 2932, 6387, 1368, 468, 88, 713, 9803, 924, 13590, 16, 692, 2225, 1769, 3639, 368, 2660, 30, 2073, 924, 3639, 727, 509, 2595, 13786, 273, 7409, 31, 3639, 727, 514, 326, 780, 273, 11105, 780, 12, 16010, 1769, 3639, 509, 1056, 273, 374, 31, 3639, 364, 261, 474, 277, 273, 404, 31, 277, 1648, 2595, 13786, 31, 277, 27245, 3639, 288, 5411, 293, 8952, 18, 542, 1702, 12, 21, 16, 277, 1769, 5411, 293, 8952, 18, 542, 780, 12, 22, 16, 326, 780, 18, 28023, 12, 20, 16, 277, 10019, 5411, 1056, 1011, 293, 8952, 18, 8837, 1891, 5621, 3639, 289, 3639, 1815, 5510, 12, 1883, 422, 2595, 13786, 1769, 3639, 293, 8952, 18, 4412, 5621, 3639, 10842, 225, 3597, 273, 3480, 18, 8837, 1138, 2932, 4025, 272, 16, 277, 628, 468, 88, 713, 9803, 8863, 3639, 25395, 12, 5453, 1769, 3639, 1056, 273, 374, 31, 3639, 1323, 261, 5453, 18, 4285, 10756, 3639, 288, 5411, 3597, 18, 588, 780, 2932, 87, 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, 918, 1842, 29325, 713, 9803, 1435, 1216, 1185, 565, 288, 3639, 4050, 9494, 273, 6742, 5621, 3639, 3640, 1388, 2932, 7, 88, 713, 9803, 8863, 3639, 8056, 3480, 273, 9494, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 9803, 315, 5411, 397, 315, 225, 261, 77, 225, 3571, 225, 486, 446, 16, 315, 5411, 397, 315, 282, 272, 225, 977, 377, 486, 446, 13, 315, 1769, 3639, 16913, 293, 8952, 273, 9494, 18, 9366, 3406, 2932, 6387, 1368, 468, 88, 713, 9803, 924, 13590, 16, 692, 2225, 1769, 3639, 368, 2660, 30, 2073, 924, 3639, 727, 509, 2595, 13786, 273, 7409, 31, 3639, 727, 514, 326, 780, 273, 11105, 780, 2 ]
battleSkillNames.add( "custom combat script" ); battleSkillNames.setSelectedIndex(0);
String originalAction = StaticEntity.getProperty( "battleAction" ); if ( battleSkillNames.contains( originalAction ) ) battleSkillNames.setSelectedItem( originalAction );
public static void setAvailableSkills( List newSkillSet ) { availableSkills.clear(); usableSkills.clear(); battleSkillNames.clear(); // All characters get the option to // attack something. battleSkillNames.add( "attack with weapon" ); battleSkillNames.add( "item facsimile dictionary" ); battleSkillNames.add( "item dictionary" ); battleSkillNames.add( "item seal tooth" ); battleSkillNames.add( "item scroll of turtle summoning" ); battleSkillNames.add( "item spices" ); if ( KoLCharacter.isMoxieClass() ) addAvailableSkill( new UseSkillRequest( "Moxious Maneuver", "", 1 ) ); // Check all available skills to see if they // qualify to be added as combat or usables. UseSkillRequest [] skillArray = new UseSkillRequest[ newSkillSet.size() ]; newSkillSet.toArray( skillArray ); for ( int i = 0; i < skillArray.length; ++i ) addAvailableSkill( skillArray[i] ); // Superhuman Cocktailcrafting affects # of summons for // Advanced Cocktailcrafting if ( hasSkill( "Superhuman Cocktailcrafting" ) ) getClient().setBreakfastSummonings( KoLmafia.COCKTAILCRAFTING, 5 ); // Transcendental Noodlecraft affects # of summons for // Pastamastery if ( hasSkill( "Transcendental Noodlecraft" ) ) getClient().setBreakfastSummonings( KoLmafia.PASTAMASTERY, 5 ); // The Way of Sauce affects # of summons for // Advanced Saucecrafting if ( hasSkill( "The Way of Sauce" ) ) getClient().setBreakfastSummonings( KoLmafia.SAUCECRAFTING, 5 ); // Add derived skills based on base skills addDerivedSkills(); // Set the selected combat skill based on // the user's current setting. battleSkillNames.add( "custom combat script" ); battleSkillNames.setSelectedIndex(0); }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/02bf31d31c7de3358b7968403ceb0a6f24f5f1a0/KoLCharacter.java/buggy/src/net/sourceforge/kolmafia/KoLCharacter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 444, 5268, 20057, 12, 987, 394, 9030, 694, 262, 202, 95, 202, 202, 5699, 20057, 18, 8507, 5621, 202, 202, 16665, 20057, 18, 8507, 5621, 202, 202, 70, 4558, 298, 9030, 1557, 18, 8507, 5621, 202, 202, 759, 4826, 3949, 336, 326, 1456, 358, 202, 202, 759, 13843, 5943, 18, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 4558, 484, 598, 732, 28629, 6, 11272, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 1726, 5853, 9812, 398, 3880, 6, 11272, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 1726, 3880, 6, 11272, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 1726, 28144, 358, 10370, 6, 11272, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 1726, 5532, 434, 268, 295, 5929, 2142, 2586, 310, 6, 11272, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 1726, 1694, 1242, 6, 11272, 202, 202, 430, 261, 1475, 83, 48, 7069, 18, 291, 49, 2409, 1385, 797, 1435, 262, 1082, 202, 1289, 5268, 9030, 12, 394, 2672, 9030, 691, 12, 315, 49, 2409, 22774, 8660, 73, 89, 502, 3113, 23453, 404, 262, 11272, 202, 202, 759, 2073, 777, 2319, 15667, 87, 358, 2621, 309, 2898, 202, 202, 759, 4544, 1164, 358, 506, 3096, 487, 3894, 270, 578, 584, 1538, 18, 202, 202, 3727, 9030, 691, 5378, 15667, 1076, 273, 394, 2672, 9030, 691, 63, 394, 9030, 694, 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, 225, 202, 482, 760, 918, 444, 5268, 20057, 12, 987, 394, 9030, 694, 262, 202, 95, 202, 202, 5699, 20057, 18, 8507, 5621, 202, 202, 16665, 20057, 18, 8507, 5621, 202, 202, 70, 4558, 298, 9030, 1557, 18, 8507, 5621, 202, 202, 759, 4826, 3949, 336, 326, 1456, 358, 202, 202, 759, 13843, 5943, 18, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 4558, 484, 598, 732, 28629, 6, 11272, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 1726, 5853, 9812, 398, 3880, 6, 11272, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 1726, 3880, 6, 11272, 202, 202, 70, 4558, 298, 9030, 1557, 18, 1289, 12, 315, 1726, 28144, 2 ]
contentService.deactivateExtensions(new String[] { }, true);
contentService.deactivateExtensions(new String[] {}, true);
public void testNavigatorExtensionEnablement() throws Exception { EditorTestHelper.showView(COMMON_NAVIGATOR_INSTANCE_ID, true); IWorkbenchWindow activeWindow= PlatformUI.getWorkbench().getActiveWorkbenchWindow(); IWorkbenchPage activePage= activeWindow.getActivePage(); IViewPart commonNavigator= activePage.findView(COMMON_NAVIGATOR_INSTANCE_ID); CommonViewer viewer= (CommonViewer) commonNavigator.getAdapter(CommonViewer.class); INavigatorContentService contentService = viewer.getNavigatorContentService(); contentService.activateExtensions(new String[] { }, true); viewer.expandAll(); viewer.refresh(); TreeItem[] items= viewer.getTree().getItems(); assertTrue("There should be NO items.", items.length == 0); //$NON-NLS-1$ contentService.deactivateExtensions(new String[] { }, true); viewer.expandToLevel(2); viewer.refresh(); items= viewer.getTree().getItems(); assertTrue("There should be some items.", items.length > 0); //$NON-NLS-1$ }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/29acf4eb645f3ecd317c8b9efae2fa767f4c51bb/OpenTest.java/clean/tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/OpenTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 22817, 3625, 8317, 475, 1435, 1216, 1185, 288, 202, 202, 6946, 4709, 2276, 18, 4500, 1767, 12, 4208, 17667, 67, 50, 5856, 3047, 3575, 67, 13341, 67, 734, 16, 638, 1769, 202, 202, 45, 2421, 22144, 3829, 2695, 3829, 33, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 5621, 202, 202, 45, 2421, 22144, 1964, 2695, 1964, 33, 2695, 3829, 18, 588, 3896, 1964, 5621, 3196, 202, 45, 1767, 1988, 2975, 22817, 33, 2695, 1964, 18, 4720, 1767, 12, 4208, 17667, 67, 50, 5856, 3047, 3575, 67, 13341, 67, 734, 1769, 9506, 202, 6517, 18415, 14157, 33, 261, 6517, 18415, 13, 2975, 22817, 18, 588, 4216, 12, 6517, 18415, 18, 1106, 1769, 9506, 202, 706, 13061, 1350, 1179, 913, 1179, 273, 14157, 18, 588, 22817, 1350, 1179, 5621, 282, 9506, 202, 1745, 1179, 18, 10014, 7513, 12, 2704, 514, 8526, 288, 19879, 638, 1769, 4766, 10792, 25083, 202, 25256, 18, 12320, 1595, 5621, 202, 202, 25256, 18, 9144, 5621, 9506, 202, 2471, 1180, 8526, 1516, 33, 14157, 18, 588, 2471, 7675, 588, 3126, 5621, 25083, 202, 11231, 5510, 2932, 9828, 1410, 506, 3741, 1516, 1199, 16, 1516, 18, 2469, 422, 374, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 1745, 1179, 18, 323, 10014, 7513, 12, 2704, 514, 8526, 10615, 638, 1769, 4766, 10792, 25083, 202, 25256, 18, 12320, 774, 2355, 12, 22, 1769, 202, 202, 25256, 18, 9144, 5621, 9506, 202, 3319, 33, 14157, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 22817, 3625, 8317, 475, 1435, 1216, 1185, 288, 202, 202, 6946, 4709, 2276, 18, 4500, 1767, 12, 4208, 17667, 67, 50, 5856, 3047, 3575, 67, 13341, 67, 734, 16, 638, 1769, 202, 202, 45, 2421, 22144, 3829, 2695, 3829, 33, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 5621, 202, 202, 45, 2421, 22144, 1964, 2695, 1964, 33, 2695, 3829, 18, 588, 3896, 1964, 5621, 3196, 202, 45, 1767, 1988, 2975, 22817, 33, 2695, 1964, 18, 4720, 1767, 12, 4208, 17667, 67, 50, 5856, 3047, 3575, 67, 13341, 67, 734, 1769, 9506, 202, 6517, 18415, 14157, 33, 261, 6517, 18415, 13, 2975, 22817, 18, 588, 4216, 12, 6517, 18415, 18, 2 ]
log.info( "Receiving: getting request body chunk " + err + " " + bodyMessage.getLen() );
log.info( "Receiving: getting request body chunk " + bodyMessage.getLen() );
public boolean receive() throws IOException { first = false; bodyMessage.reset(); boolean err = readMessage(bodyMessage, false); if( log.isDebugEnabled() ) log.info( "Receiving: getting request body chunk " + err + " " + bodyMessage.getLen() ); if(err) { throw new IOException(); } // No data received. if( bodyMessage.getLen() == 0 ) { // just the header // Don't mark 'end of stream' for the first chunk. // end_of_stream = true; return false; } int blen = bodyMessage.peekInt(); if( blen == 0 ) { return false; } if( log.isTraceEnabled() ) { bodyMessage.dump("Body buffer"); } bodyMessage.getBytes(bodyBytes); if( log.isTraceEnabled() ) log.trace( "Data:\n" + bodyBytes); empty = false; return true; }
10630 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10630/d2832f090f4a85a67bb16b441c22d364886d88ac/AjpAprProcessor.java/clean/java/org/apache/coyote/ajp/AjpAprProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 6798, 1435, 1216, 1860, 288, 3639, 1122, 273, 629, 31, 3639, 1417, 1079, 18, 6208, 5621, 3639, 1250, 393, 273, 855, 1079, 12, 3432, 1079, 16, 629, 1769, 3639, 309, 12, 613, 18, 291, 2829, 1526, 1435, 262, 5411, 613, 18, 1376, 12, 315, 4779, 9288, 30, 8742, 590, 1417, 2441, 315, 397, 1417, 1079, 18, 588, 2891, 1435, 11272, 7734, 309, 12, 370, 13, 288, 5411, 604, 394, 1860, 5621, 3639, 289, 3639, 368, 2631, 501, 5079, 18, 3639, 309, 12, 1417, 1079, 18, 588, 2891, 1435, 422, 374, 262, 288, 368, 2537, 326, 1446, 5411, 368, 7615, 1404, 2267, 296, 409, 434, 1407, 11, 364, 326, 1122, 2441, 18, 5411, 368, 679, 67, 792, 67, 3256, 273, 638, 31, 5411, 327, 629, 31, 3639, 289, 3639, 509, 324, 1897, 273, 1417, 1079, 18, 347, 3839, 1702, 5621, 3639, 309, 12, 324, 1897, 422, 374, 262, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 613, 18, 291, 3448, 1526, 1435, 262, 288, 5411, 1417, 1079, 18, 8481, 2932, 2250, 1613, 8863, 3639, 289, 7734, 1417, 1079, 18, 588, 2160, 12, 3432, 2160, 1769, 3639, 309, 12, 613, 18, 291, 3448, 1526, 1435, 262, 5411, 613, 18, 5129, 12, 315, 751, 5581, 82, 6, 397, 1417, 2160, 1769, 3639, 1008, 273, 629, 31, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 6798, 1435, 1216, 1860, 288, 3639, 1122, 273, 629, 31, 3639, 1417, 1079, 18, 6208, 5621, 3639, 1250, 393, 273, 855, 1079, 12, 3432, 1079, 16, 629, 1769, 3639, 309, 12, 613, 18, 291, 2829, 1526, 1435, 262, 5411, 613, 18, 1376, 12, 315, 4779, 9288, 30, 8742, 590, 1417, 2441, 315, 397, 1417, 1079, 18, 588, 2891, 1435, 11272, 7734, 309, 12, 370, 13, 288, 5411, 604, 394, 1860, 5621, 3639, 289, 3639, 368, 2631, 501, 5079, 18, 3639, 309, 12, 1417, 1079, 18, 588, 2891, 1435, 422, 374, 262, 288, 368, 2537, 326, 1446, 5411, 368, 7615, 1404, 2267, 296, 409, 434, 1407, 11, 364, 326, 1122, 2441, 18, 5411, 368, 679, 67, 792, 2 ]
match(input,34,FOLLOW_34_in_no_loop891); following.push(FOLLOW_opt_eol_in_no_loop893);
match(input,34,FOLLOW_34_in_no_loop937); following.push(FOLLOW_opt_eol_in_no_loop939);
public AttributeDescr no_loop() throws RecognitionException { AttributeDescr d; Token loc=null; Token t=null; d = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:296:17: ( (loc= 'no-loop' opt_eol ( ';' )? opt_eol ) | (loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol ) ) int alt33=2; int LA33_0 = input.LA(1); if ( LA33_0==34 ) { int LA33_1 = input.LA(2); if ( LA33_1==BOOL ) { alt33=2; } else if ( LA33_1==EOL||LA33_1==16||LA33_1==22||LA33_1==29||LA33_1==31||(LA33_1>=33 && LA33_1<=38) ) { alt33=1; } else { NoViableAltException nvae = new NoViableAltException("291:1: no_loop returns [AttributeDescr d] : ( (loc= \'no-loop\' opt_eol ( \';\' )? opt_eol ) | (loc= \'no-loop\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 33, 1, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("291:1: no_loop returns [AttributeDescr d] : ( (loc= \'no-loop\' opt_eol ( \';\' )? opt_eol ) | (loc= \'no-loop\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 33, 0, input); throw nvae; } switch (alt33) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:296:17: (loc= 'no-loop' opt_eol ( ';' )? opt_eol ) { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:296:17: (loc= 'no-loop' opt_eol ( ';' )? opt_eol ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:297:25: loc= 'no-loop' opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,34,FOLLOW_34_in_no_loop891); following.push(FOLLOW_opt_eol_in_no_loop893); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:297:47: ( ';' )? int alt31=2; int LA31_0 = input.LA(1); if ( LA31_0==16 ) { alt31=1; } else if ( LA31_0==EOL||LA31_0==22||LA31_0==29||LA31_0==31||(LA31_0>=33 && LA31_0<=38) ) { alt31=2; } else { NoViableAltException nvae = new NoViableAltException("297:47: ( \';\' )?", 31, 0, input); throw nvae; } switch (alt31) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:297:47: ';' { match(input,16,FOLLOW_16_in_no_loop895); } break; } following.push(FOLLOW_opt_eol_in_no_loop898); opt_eol(); following.pop(); d = new AttributeDescr( "no-loop", "true" ); d.setLocation( loc.getLine(), loc.getCharPositionInLine() ); } } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:304:17: (loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol ) { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:304:17: (loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:305:25: loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,34,FOLLOW_34_in_no_loop923); t=(Token)input.LT(1); match(input,BOOL,FOLLOW_BOOL_in_no_loop927); following.push(FOLLOW_opt_eol_in_no_loop929); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:305:54: ( ';' )? int alt32=2; int LA32_0 = input.LA(1); if ( LA32_0==16 ) { alt32=1; } else if ( LA32_0==EOL||LA32_0==22||LA32_0==29||LA32_0==31||(LA32_0>=33 && LA32_0<=38) ) { alt32=2; } else { NoViableAltException nvae = new NoViableAltException("305:54: ( \';\' )?", 32, 0, input); throw nvae; } switch (alt32) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:305:54: ';' { match(input,16,FOLLOW_16_in_no_loop931); } break; } following.push(FOLLOW_opt_eol_in_no_loop934); opt_eol(); following.pop(); d = new AttributeDescr( "no-loop", t.getText() ); d.setLocation( loc.getLine(), loc.getCharPositionInLine() ); } } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/75f5f3ef6a8af3fa9515d2007a16f1fd6f3ce0d0/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 1158, 67, 6498, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 5540, 26, 30, 4033, 30, 261, 261, 1829, 33, 296, 2135, 17, 6498, 11, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 571, 261, 1829, 33, 296, 2135, 17, 6498, 11, 268, 33, 9784, 1741, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 262, 5411, 509, 3770, 3707, 33, 22, 31, 5411, 509, 2928, 3707, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 3707, 67, 20, 631, 5026, 262, 288, 7734, 509, 2928, 3707, 67, 21, 273, 810, 18, 2534, 12, 22, 1769, 7734, 309, 261, 2928, 3707, 67, 21, 631, 19040, 262, 288, 10792, 3770, 3707, 33, 22, 31, 7734, 289, 7734, 469, 309, 261, 2928, 3707, 67, 21, 631, 5842, 20081, 2534, 3707, 67, 21, 631, 2313, 20081, 2534, 3707, 67, 21, 631, 3787, 20081, 2534, 3707, 67, 21, 631, 5540, 20081, 2534, 3707, 67, 21, 631, 6938, 20081, 12, 2534, 3707, 67, 21, 34, 33, 3707, 597, 2928, 3707, 67, 21, 32, 33, 7414, 13, 262, 288, 10792, 3770, 3707, 33, 21, 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, 3601, 16198, 1158, 67, 6498, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 5540, 26, 30, 4033, 30, 261, 261, 1829, 33, 296, 2135, 17, 6498, 11, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 571, 261, 1829, 33, 296, 2135, 17, 6498, 11, 268, 33, 9784, 1741, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 2 ]
XmlCursor c = XmlObject.Factory.parse( sXmlChild ).newCursor(); String sExpected ="<pre:baz pre:at0=\"val1\" xmlns:pre=\"http: assertEquals( XmlCursor.TokenType.START, c.toNextToken() );
XmlCursor c = XmlObject.Factory.parse(sXmlChild).newCursor(); assertEquals(XmlCursor.TokenType.START, c.toNextToken());
public void testNameTestQName_2() throws XmlException { String sQuery1 = "declare namespace pre=\"http://uri\" $this//pre:baz"; XmlCursor c = XmlObject.Factory.parse( sXmlChild ).newCursor(); String sExpected ="<pre:baz pre:at0=\"val1\" xmlns:pre=\"http://uri\"/>"; assertEquals( XmlCursor.TokenType.START, c.toNextToken() ); c.selectPath(sQuery1); assertEquals(1, c.getSelectionCount()); c.toNextSelection(); assertEquals(sExpected, c.xmlText()); }
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/8dda779763c06a3128766806255171e3ad81fb00/NodeTest.java/clean/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/NodeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 1071, 918, 1842, 461, 4709, 13688, 67, 22, 1435, 1216, 5714, 503, 288, 3639, 514, 26656, 21, 273, 315, 29554, 1981, 675, 5189, 2505, 2207, 1650, 2412, 271, 2211, 759, 1484, 30, 70, 1561, 14432, 3639, 5714, 6688, 276, 273, 5714, 921, 18, 1733, 18, 2670, 12, 272, 4432, 1763, 262, 18, 2704, 6688, 5621, 3639, 514, 272, 6861, 273, 6, 32, 1484, 30, 70, 1561, 675, 30, 270, 20, 5189, 1125, 21, 2412, 12302, 30, 1484, 5189, 2505, 2207, 1650, 2412, 26293, 31, 3639, 1815, 8867, 12, 5714, 6688, 18, 28675, 18, 7570, 16, 276, 18, 869, 9399, 1435, 11272, 3639, 276, 18, 4025, 743, 12, 87, 1138, 21, 1769, 3639, 1815, 8867, 12, 21, 16, 276, 18, 588, 6233, 1380, 10663, 3639, 276, 18, 869, 2134, 6233, 5621, 3639, 1815, 8867, 12, 87, 6861, 16, 276, 18, 2902, 1528, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 1071, 918, 1842, 461, 4709, 13688, 67, 22, 1435, 1216, 5714, 503, 288, 3639, 514, 26656, 21, 273, 315, 29554, 1981, 675, 5189, 2505, 2207, 1650, 2412, 271, 2211, 759, 1484, 30, 70, 1561, 14432, 3639, 5714, 6688, 276, 273, 5714, 921, 18, 1733, 18, 2670, 12, 272, 4432, 1763, 262, 18, 2704, 6688, 5621, 3639, 514, 272, 6861, 273, 6, 32, 1484, 30, 70, 1561, 675, 30, 270, 20, 5189, 1125, 21, 2412, 12302, 30, 1484, 5189, 2505, 2207, 1650, 2412, 26293, 31, 3639, 1815, 8867, 12, 5714, 6688, 18, 28675, 18, 7570, 16, 276, 18, 869, 9399, 1435, 11272, 3639, 276, 18, 4025, 743, 12, 87, 1138, 21, 1769, 3639, 1815, 8867, 12, 21, 16, 276, 2 ]
gc.drawString(fTextWidget.getTextRange(offset, 1), left.x, left.y);
gc.drawString(fTextWidget.getTextRange(offset, 1), left.x, left.y, true);
private void draw(GC gc, int offset, int length) { if (gc != null) { Point left= fTextWidget.getLocationAtOffset(offset); Point right= fTextWidget.getLocationAtOffset(offset + length); gc.setForeground(fColor); if(fNoBox) { gc.drawString(fTextWidget.getTextRange(offset, 1), left.x, left.y); } else { gc.drawRectangle(left.x, left.y, right.x - left.x - 1, gc.getFontMetrics().getHeight() - 1); } } else { fTextWidget.redrawRange(offset, length, true); } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d64ad93d06d4732a2fdc21356b23ba45bbe140b9/BracketPainter.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/BracketPainter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3724, 12, 15396, 8859, 16, 509, 1384, 16, 509, 769, 13, 288, 202, 202, 430, 261, 13241, 480, 446, 13, 288, 1082, 202, 2148, 2002, 33, 284, 1528, 4609, 18, 588, 2735, 861, 2335, 12, 3348, 1769, 1082, 202, 2148, 2145, 33, 284, 1528, 4609, 18, 588, 2735, 861, 2335, 12, 3348, 397, 769, 1769, 25083, 202, 13241, 18, 542, 23206, 12, 74, 2957, 1769, 1082, 202, 430, 12, 74, 2279, 3514, 13, 288, 9506, 202, 13241, 18, 9446, 780, 12, 74, 1528, 4609, 18, 588, 1528, 2655, 12, 3348, 16, 404, 3631, 2002, 18, 92, 16, 2002, 18, 93, 1769, 1082, 202, 97, 469, 288, 9506, 202, 13241, 18, 9446, 19463, 12, 4482, 18, 92, 16, 2002, 18, 93, 16, 2145, 18, 92, 300, 2002, 18, 92, 300, 404, 16, 8859, 18, 588, 5711, 5653, 7675, 588, 2686, 1435, 300, 404, 1769, 1082, 202, 97, 25083, 202, 97, 469, 288, 1082, 202, 74, 1528, 4609, 18, 1118, 1899, 2655, 12, 3348, 16, 769, 16, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3724, 12, 15396, 8859, 16, 509, 1384, 16, 509, 769, 13, 288, 202, 202, 430, 261, 13241, 480, 446, 13, 288, 1082, 202, 2148, 2002, 33, 284, 1528, 4609, 18, 588, 2735, 861, 2335, 12, 3348, 1769, 1082, 202, 2148, 2145, 33, 284, 1528, 4609, 18, 588, 2735, 861, 2335, 12, 3348, 397, 769, 1769, 25083, 202, 13241, 18, 542, 23206, 12, 74, 2957, 1769, 1082, 202, 430, 12, 74, 2279, 3514, 13, 288, 9506, 202, 13241, 18, 9446, 780, 12, 74, 1528, 4609, 18, 588, 1528, 2655, 12, 3348, 16, 404, 3631, 2002, 18, 92, 16, 2002, 18, 93, 1769, 1082, 202, 97, 469, 288, 9506, 202, 13241, 18, 9446, 19463, 12, 4482, 18, 2 ]
public void init(String tag, AttributeList attrs) throws SAXParseException {
public void init(String tag, AttributeList attrs) throws SAXParseException {
public void init(String tag, AttributeList attrs) throws SAXParseException { String name = null; String depends = ""; String ifCond = null; String unlessCond = null; String id = null; String description = null; String token = null; for (int i = 0; i < attrs.getLength(); i++) { String key = attrs.getName(i); String value = attrs.getValue(i); if (key.equals("name")) { name = value; } else if (key.equals("depends")) { depends = value; } else if (key.equals("if")) { ifCond = value; } else if (key.equals("unless")) { unlessCond = value; } else if (key.equals("id")) { id = value; } else if (key.equals("description")) { description = value; } else if (key.equals("token")) { token = value; } else { throw new SAXParseException("Unexpected attribute \"" + key + "\"", locator); } } if (name == null) { throw new SAXParseException("target element appears without " + "a name attribute", locator); } target = new Target(); target.setName(name); target.setIf(ifCond); target.setUnless(unlessCond); target.setDescription(description); if (token == null) { target.setToken("@"); } else target.setToken(token); project.addTarget(name, target); if (id != null && !id.equals("")) project.addReference(id, target); // take care of dependencies if (depends.length() > 0) { StringTokenizer tok = new StringTokenizer(depends, ",", false); while (tok.hasMoreTokens()) { target.addDependency(tok.nextToken().trim()); } } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/adbdf5d6c830f14edbfd28f91c2c7b1a14229291/ProjectHelper.java/buggy/src/main/org/apache/tools/ant/ProjectHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1208, 12, 780, 1047, 16, 3601, 682, 3422, 13, 2398, 1216, 10168, 13047, 288, 5411, 514, 508, 273, 446, 31, 5411, 514, 10935, 273, 1408, 31, 5411, 514, 309, 12441, 273, 446, 31, 5411, 514, 3308, 12441, 273, 446, 31, 5411, 514, 612, 273, 446, 31, 5411, 514, 2477, 273, 446, 31, 5411, 514, 1147, 273, 446, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3422, 18, 588, 1782, 5621, 277, 27245, 288, 7734, 514, 498, 273, 3422, 18, 17994, 12, 77, 1769, 7734, 514, 460, 273, 3422, 18, 24805, 12, 77, 1769, 7734, 309, 261, 856, 18, 14963, 2932, 529, 6, 3719, 288, 10792, 508, 273, 460, 31, 7734, 289, 469, 309, 261, 856, 18, 14963, 2932, 27360, 6, 3719, 288, 10792, 10935, 273, 460, 31, 7734, 289, 469, 309, 261, 856, 18, 14963, 2932, 430, 6, 3719, 288, 10792, 309, 12441, 273, 460, 31, 7734, 289, 469, 309, 261, 856, 18, 14963, 2932, 28502, 6, 3719, 288, 10792, 3308, 12441, 273, 460, 31, 7734, 289, 469, 309, 261, 856, 18, 14963, 2932, 350, 6, 3719, 288, 10792, 612, 273, 460, 31, 7734, 289, 469, 309, 261, 856, 18, 14963, 2932, 3384, 6, 3719, 288, 10792, 2477, 273, 460, 31, 7734, 289, 469, 309, 261, 856, 18, 14963, 2932, 2316, 6, 3719, 288, 10792, 1147, 273, 460, 31, 7734, 289, 469, 288, 10792, 604, 394, 10168, 13047, 2932, 7762, 1566, 11843, 397, 7682, 498, 397, 7023, 3113, 8871, 1769, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1208, 12, 780, 1047, 16, 3601, 682, 3422, 13, 2398, 1216, 10168, 13047, 288, 5411, 514, 508, 273, 446, 31, 5411, 514, 10935, 273, 1408, 31, 5411, 514, 309, 12441, 273, 446, 31, 5411, 514, 3308, 12441, 273, 446, 31, 5411, 514, 612, 273, 446, 31, 5411, 514, 2477, 273, 446, 31, 5411, 514, 1147, 273, 446, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3422, 18, 588, 1782, 5621, 277, 27245, 288, 7734, 514, 498, 273, 3422, 18, 17994, 12, 77, 1769, 7734, 514, 460, 273, 3422, 18, 24805, 12, 77, 1769, 7734, 309, 261, 856, 18, 14963, 2932, 529, 6, 3719, 288, 10792, 508, 273, 460, 31, 7734, 289, 469, 309, 2 ]
public void updateTaskStatus(TaskInProgress tip, TaskStatus status) {
public synchronized void updateTaskStatus(TaskInProgress tip, TaskStatus status) {
public void updateTaskStatus(TaskInProgress tip, TaskStatus status) { double oldProgress = tip.getProgress(); // save old progress tip.updateStatus(status); // update tip // // Update JobInProgress status // double progressDelta = tip.getProgress() - oldProgress; if (tip.isMapTask()) { if (maps.length == 0) { this.status.setMapProgress(1.0f); } else { this.status.mapProgress += (progressDelta / maps.length); } } else { if (reduces.length == 0) { this.status.setReduceProgress(1.0f); } else { this.status.reduceProgress += (progressDelta / reduces.length); } } }
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/50de9d51b6043b8802f1ca8befb218affb724fab/JobInProgress.java/buggy/src/java/org/apache/hadoop/mapred/JobInProgress.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1089, 2174, 1482, 12, 2174, 13434, 9529, 16, 29628, 1267, 13, 288, 3639, 1645, 1592, 5491, 273, 9529, 18, 588, 5491, 5621, 282, 368, 1923, 1592, 4007, 3639, 9529, 18, 2725, 1482, 12, 2327, 1769, 1171, 368, 1089, 9529, 3639, 368, 3639, 368, 2315, 3956, 13434, 1267, 3639, 368, 3639, 1645, 4007, 9242, 273, 9529, 18, 588, 5491, 1435, 300, 1592, 5491, 31, 3639, 309, 261, 14587, 18, 291, 863, 2174, 10756, 288, 1850, 309, 261, 10711, 18, 2469, 422, 374, 13, 288, 5411, 333, 18, 2327, 18, 542, 863, 5491, 12, 21, 18, 20, 74, 1769, 1850, 289, 469, 288, 5411, 333, 18, 2327, 18, 1458, 5491, 1011, 261, 8298, 9242, 342, 7565, 18, 2469, 1769, 1850, 289, 3639, 289, 469, 288, 1850, 309, 261, 1118, 89, 764, 18, 2469, 422, 374, 13, 288, 5411, 333, 18, 2327, 18, 542, 12944, 5491, 12, 21, 18, 20, 74, 1769, 1850, 289, 469, 288, 5411, 333, 18, 2327, 18, 12498, 5491, 1011, 261, 8298, 9242, 342, 30568, 18, 2469, 1769, 1850, 289, 3639, 289, 565, 289, 565, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1089, 2174, 1482, 12, 2174, 13434, 9529, 16, 29628, 1267, 13, 288, 3639, 1645, 1592, 5491, 273, 9529, 18, 588, 5491, 5621, 282, 368, 1923, 1592, 4007, 3639, 9529, 18, 2725, 1482, 12, 2327, 1769, 1171, 368, 1089, 9529, 3639, 368, 3639, 368, 2315, 3956, 13434, 1267, 3639, 368, 3639, 1645, 4007, 9242, 273, 9529, 18, 588, 5491, 1435, 300, 1592, 5491, 31, 3639, 309, 261, 14587, 18, 291, 863, 2174, 10756, 288, 1850, 309, 261, 10711, 18, 2469, 422, 374, 13, 288, 5411, 333, 18, 2327, 18, 542, 863, 5491, 12, 21, 18, 20, 74, 1769, 1850, 289, 469, 288, 5411, 333, 18, 2327, 18, 1458, 5491, 1011, 261, 8298, 9242, 342, 7565, 18, 2 ]
if (valueChangingListeners.size() == 0) {
if (valueChangingListeners.isEmpty()) {
public void removeValueChangingListener(IValueChangingListener listener) { valueChangingListeners.remove(listener); if (valueChangingListeners.size() == 0) { valueChangingListeners = null; } if (!hasListeners()) { lastListenerRemoved(); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/df7d74bc69f8aa387f84c70b79abc08888945658/AbstractVetoableValue.java/buggy/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/provisional/observable/value/AbstractVetoableValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 620, 782, 18183, 2223, 12, 45, 620, 782, 18183, 2223, 2991, 13, 288, 202, 202, 1132, 782, 18183, 5583, 18, 4479, 12, 12757, 1769, 202, 202, 430, 261, 1132, 782, 18183, 5583, 18, 1467, 1435, 422, 374, 13, 288, 1082, 202, 1132, 782, 18183, 5583, 273, 446, 31, 202, 202, 97, 202, 202, 430, 16051, 5332, 5583, 10756, 288, 1082, 202, 2722, 2223, 10026, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 620, 782, 18183, 2223, 12, 45, 620, 782, 18183, 2223, 2991, 13, 288, 202, 202, 1132, 782, 18183, 5583, 18, 4479, 12, 12757, 1769, 202, 202, 430, 261, 1132, 782, 18183, 5583, 18, 1467, 1435, 422, 374, 13, 288, 1082, 202, 1132, 782, 18183, 5583, 273, 446, 31, 202, 202, 97, 202, 202, 430, 16051, 5332, 5583, 10756, 288, 1082, 202, 2722, 2223, 10026, 5621, 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 ]
this(null, qname);
this(Symbol.make(namespaceURI, localName));
public ElementType(Symbol qname) { this(null, qname); }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/5e7cce4b3ecf74dfea9908d0b009eaf871c92818/ElementType.java/buggy/gnu/kawa/xml/ElementType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3010, 559, 12, 5335, 12621, 13, 225, 288, 565, 333, 12, 5335, 18, 6540, 12, 4937, 3098, 16, 11927, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3010, 559, 12, 5335, 12621, 13, 225, 288, 565, 333, 12, 5335, 18, 6540, 12, 4937, 3098, 16, 11927, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if (item instanceof ActionContributionItem) {
} else if (item instanceof ActionContributionItem && item.isEnabled()) {
private void collectContributions(MenuManager menu, Set result) { IContributionItem[] items = menu.getItems(); for (int i = 0; i < items.length; i++) { IContributionItem item = items[i]; if (item instanceof SubContributionItem) { item = ((SubContributionItem) item).getInnerItem(); } if (item instanceof MenuManager) { collectContributions((MenuManager) item, result); } else if (item instanceof ActionContributionItem) { result.add(item); } } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c7670e49d5b0b24a326dd05561c7046e67035eb7/ActionProvider.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/incubator/ActionProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3274, 442, 15326, 12, 4599, 1318, 3824, 16, 1000, 563, 13, 288, 202, 202, 45, 442, 4027, 1180, 8526, 1516, 273, 3824, 18, 588, 3126, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 442, 4027, 1180, 761, 273, 1516, 63, 77, 15533, 1082, 202, 430, 261, 1726, 1276, 2592, 442, 4027, 1180, 13, 288, 9506, 202, 1726, 273, 14015, 1676, 442, 4027, 1180, 13, 761, 2934, 588, 2857, 1180, 5621, 1082, 202, 97, 1082, 202, 430, 261, 1726, 1276, 9809, 1318, 13, 288, 9506, 202, 14676, 442, 15326, 12443, 4599, 1318, 13, 761, 16, 563, 1769, 1082, 202, 97, 469, 309, 261, 1726, 1276, 4382, 442, 4027, 1180, 13, 288, 9506, 202, 2088, 18, 1289, 12, 1726, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3274, 442, 15326, 12, 4599, 1318, 3824, 16, 1000, 563, 13, 288, 202, 202, 45, 442, 4027, 1180, 8526, 1516, 273, 3824, 18, 588, 3126, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 442, 4027, 1180, 761, 273, 1516, 63, 77, 15533, 1082, 202, 430, 261, 1726, 1276, 2592, 442, 4027, 1180, 13, 288, 9506, 202, 1726, 273, 14015, 1676, 442, 4027, 1180, 13, 761, 2934, 588, 2857, 1180, 5621, 1082, 202, 97, 1082, 202, 430, 261, 1726, 1276, 9809, 1318, 13, 288, 9506, 202, 14676, 442, 15326, 12443, 4599, 1318, 13, 761, 16, 563, 1769, 1082, 202, 97, 469, 309, 2 ]
public MuleDescriptor()
public MuleDescriptor(String name)
public MuleDescriptor() { super(); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/1df035e3b0c33f07634c408842e7396a529ccccd/MuleDescriptor.java/buggy/src/java/org/mule/impl/MuleDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 490, 725, 3187, 12, 780, 508, 13, 565, 288, 3639, 2240, 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, 490, 725, 3187, 12, 780, 508, 13, 565, 288, 3639, 2240, 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 ]
AST tmp760_AST_in = (AST)_t;
AST tmp759_AST_in = (AST)_t;
public final void findwhich(AST _t) throws RecognitionException { AST findwhich_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CURRENT: { AST tmp755_AST_in = (AST)_t; match(_t,CURRENT); _t = _t.getNextSibling(); break; } case EACH: { AST tmp756_AST_in = (AST)_t; match(_t,EACH); _t = _t.getNextSibling(); break; } case FIRST: { AST tmp757_AST_in = (AST)_t; match(_t,FIRST); _t = _t.getNextSibling(); break; } case LAST: { AST tmp758_AST_in = (AST)_t; match(_t,LAST); _t = _t.getNextSibling(); break; } case NEXT: { AST tmp759_AST_in = (AST)_t; match(_t,NEXT); _t = _t.getNextSibling(); break; } case PREV: { AST tmp760_AST_in = (AST)_t; match(_t,PREV); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1104, 12784, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1104, 12784, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 18484, 30, 202, 202, 95, 1082, 202, 9053, 1853, 21761, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 15487, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 512, 18133, 30, 202, 202, 95, 1082, 202, 9053, 1853, 27, 4313, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 41, 18133, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 21786, 30, 202, 202, 95, 1082, 202, 9053, 1853, 5877, 27, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 15354, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 15612, 30, 202, 202, 95, 1082, 202, 9053, 1853, 5877, 28, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1104, 12784, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1104, 12784, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 18484, 30, 202, 202, 95, 1082, 202, 9053, 1853, 21761, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 15487, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 2 ]
if( oid == null ) oid = org.jacorb.poa.util.POAUtil.extractOID( object_key ); return oid;
return org.jacorb.poa.util.POAUtil.extractOID( getParsedIOR().get_object_key() );
public byte[] getObjectId() { synchronized( bind_sync ) { bind(); if( oid == null ) oid = org.jacorb.poa.util.POAUtil.extractOID( object_key ); return oid; } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/293e7be387ef8abd47c6e8365dea77e5a2d17543/Delegate.java/buggy/src/org/jacorb/orb/Delegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1160, 8526, 6455, 548, 1435, 565, 288, 3639, 3852, 12, 1993, 67, 8389, 262, 3639, 288, 5411, 1993, 5621, 5411, 309, 12, 7764, 422, 446, 262, 7734, 7764, 273, 2358, 18, 31390, 16640, 18, 1631, 69, 18, 1367, 18, 2419, 37, 1304, 18, 8004, 12945, 12, 733, 67, 856, 11272, 5411, 327, 7764, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1160, 8526, 6455, 548, 1435, 565, 288, 3639, 3852, 12, 1993, 67, 8389, 262, 3639, 288, 5411, 1993, 5621, 5411, 309, 12, 7764, 422, 446, 262, 7734, 7764, 273, 2358, 18, 31390, 16640, 18, 1631, 69, 18, 1367, 18, 2419, 37, 1304, 18, 8004, 12945, 12, 733, 67, 856, 11272, 5411, 327, 7764, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fileList = new JList(); fileList.setModel(getModel()); fileList.removeListSelectionListener(listSelList); fileList.removeMouseListener(doubleClickList); fileList.removeMouseListener(singleClickList); fileList.setModel(getModel()); if (fc.isMultiSelectionEnabled()) fileList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
{ fileListPanel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); scrollPane = new JScrollPane(fileList); fileList.setCellRenderer(new FileRenderer()); }
protected JPanel createList(JFileChooser fc) { JPanel panel = new JPanel(new BorderLayout()); if (fileList == null) fileList = new JList(); fileList.setModel(getModel()); fileList.removeListSelectionListener(listSelList); fileList.removeMouseListener(doubleClickList); fileList.removeMouseListener(singleClickList); fileList.setModel(getModel()); // FIXME: fileList.setLayoutOrientation(JList.VERTICAL_WRAP); if (fc.isMultiSelectionEnabled()) fileList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); else fileList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fileList.addListSelectionListener(listSelList); fileList.addMouseListener(doubleClickList); fileList.addMouseListener(singleClickList); fileList.setCellRenderer(new FileRenderer()); scrollPane = new JScrollPane(fileList); panel.add(scrollPane); return panel; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/c05b8889506cb1896d1225a349b46e649841077d/MetalFileChooserUI.java/clean/javax/swing/plaf/metal/MetalFileChooserUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 24048, 752, 682, 12, 46, 812, 17324, 8036, 13, 225, 288, 565, 24048, 6594, 273, 394, 24048, 12, 2704, 30814, 10663, 565, 309, 261, 768, 682, 422, 446, 13, 1377, 18645, 273, 394, 804, 682, 5621, 565, 18645, 18, 542, 1488, 12, 588, 1488, 10663, 3639, 18645, 18, 4479, 682, 6233, 2223, 12, 1098, 1877, 682, 1769, 565, 18645, 18, 4479, 9186, 2223, 12, 9056, 6563, 682, 1769, 565, 18645, 18, 4479, 9186, 2223, 12, 7526, 6563, 682, 1769, 3639, 18645, 18, 542, 1488, 12, 588, 1488, 10663, 565, 368, 9852, 30, 18645, 18, 542, 3744, 14097, 12, 46, 682, 18, 21654, 10109, 67, 27664, 1769, 3639, 309, 261, 7142, 18, 291, 5002, 6233, 1526, 10756, 1377, 18645, 18, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 24683, 900, 67, 16435, 67, 1090, 15445, 1769, 565, 469, 1377, 18645, 18, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 3639, 18645, 18, 1289, 682, 6233, 2223, 12, 1098, 1877, 682, 1769, 565, 18645, 18, 1289, 9186, 2223, 12, 9056, 6563, 682, 1769, 565, 18645, 18, 1289, 9186, 2223, 12, 7526, 6563, 682, 1769, 3639, 18645, 18, 542, 4020, 6747, 12, 2704, 1387, 6747, 10663, 565, 5532, 8485, 273, 394, 804, 26360, 12, 768, 682, 1769, 565, 6594, 18, 1289, 12, 12033, 8485, 1769, 3639, 327, 6594, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 24048, 752, 682, 12, 46, 812, 17324, 8036, 13, 225, 288, 565, 24048, 6594, 273, 394, 24048, 12, 2704, 30814, 10663, 565, 309, 261, 768, 682, 422, 446, 13, 1377, 18645, 273, 394, 804, 682, 5621, 565, 18645, 18, 542, 1488, 12, 588, 1488, 10663, 3639, 18645, 18, 4479, 682, 6233, 2223, 12, 1098, 1877, 682, 1769, 565, 18645, 18, 4479, 9186, 2223, 12, 9056, 6563, 682, 1769, 565, 18645, 18, 4479, 9186, 2223, 12, 7526, 6563, 682, 1769, 3639, 18645, 18, 542, 1488, 12, 588, 1488, 10663, 565, 368, 9852, 30, 18645, 18, 542, 3744, 14097, 12, 46, 682, 18, 21654, 10109, 67, 27664, 1769, 3639, 309, 261, 7142, 18, 291, 5002, 6233, 1526, 10756, 1377, 2 ]
&& Math.abs(srcHex.floor() - destHex.floor()) > 2) {
&& Math.abs(srcHex.floor() - destHex.floor()) > entity.getMaxElevationChange()) {
public static boolean isMovementPossible(Game game, int entityId, Coords src, Coords dest, int entityMoveType, int stepType, boolean firstStep) { final Entity entity = game.getEntity(entityId); final Hex srcHex = game.board.getHex(src); final Hex destHex = game.board.getHex(dest); // arguments valid? if (entity == null) { throw new IllegalArgumentException("Entity invalid."); } if (src.distance(dest) > 1) { throw new IllegalArgumentException("Coordinates must be adjacent."); } if (entityMoveType == Entity.MOVE_ILLEGAL) { // that was easy return false; } // another easy check if (!game.board.contains(dest)) { return false; } // check elevation difference > 2 if (entityMoveType != Entity.MOVE_JUMP && Math.abs(srcHex.floor() - destHex.floor()) > 2) { return false; } // units moving backwards may not change elevation levels (I think this rule's dumb) if ((stepType == MovementData.STEP_BACKWARDS || stepType == MovementData.STEP_LATERAL_LEFT_BACKWARDS || stepType == MovementData.STEP_LATERAL_RIGHT_BACKWARDS) && srcHex.floor() != destHex.floor()) { return false; } // can't run into water if (entityMoveType == Entity.MOVE_RUN && destHex.levelOf(Terrain.WATER) > 0 && !firstStep) { return false; } // can't move into a hex with an enemy unit, unless charging or jumping if (entityMoveType != Entity.MOVE_JUMP && stepType != MovementData.STEP_CHARGE && stepType != MovementData.STEP_DFA && game.getEntity(dest) != null && entity.isEnemyOf(game.getEntity(dest))) { return false; } // can't jump over too-high terrain if (entityMoveType == Entity.MOVE_JUMP && destHex.getElevation() > (entity.elevation() + entity.getJumpMPWithTerrain())) { return false; } return true; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/6586fc3bf20f93be000a0ff8b58c446a95a7d36b/Compute.java/clean/megamek/src/megamek/common/Compute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 15707, 26140, 13576, 12, 12496, 7920, 16, 509, 15052, 16, 4766, 2868, 10320, 87, 1705, 16, 10320, 87, 1570, 16, 4766, 2398, 509, 1522, 7607, 559, 16, 4766, 2398, 509, 2235, 559, 16, 1250, 1122, 4160, 13, 288, 3639, 727, 3887, 1522, 273, 7920, 18, 588, 1943, 12, 1096, 548, 1769, 3639, 727, 15734, 1705, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 4816, 1769, 3639, 727, 15734, 1570, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 10488, 1769, 7734, 368, 1775, 923, 35, 3639, 309, 261, 1096, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 1943, 2057, 1199, 1769, 3639, 289, 3639, 309, 261, 4816, 18, 8969, 12, 10488, 13, 405, 404, 13, 288, 5411, 604, 394, 2754, 2932, 13431, 1297, 506, 16335, 1199, 1769, 3639, 289, 7734, 309, 261, 1096, 7607, 559, 422, 3887, 18, 16537, 67, 2627, 19384, 1013, 13, 288, 5411, 368, 716, 1703, 12779, 5411, 327, 629, 31, 3639, 289, 3639, 368, 4042, 12779, 866, 3639, 309, 16051, 13957, 18, 3752, 18, 12298, 12, 10488, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 368, 866, 19051, 7114, 405, 576, 3639, 309, 261, 1096, 7607, 559, 480, 3887, 18, 16537, 67, 46, 23942, 2398, 597, 2361, 18, 5113, 12, 4816, 7037, 18, 74, 5807, 1435, 300, 1570, 7037, 18, 74, 5807, 10756, 405, 1522, 18, 588, 2747, 17274, 7112, 3043, 10756, 288, 5411, 327, 629, 31, 3639, 289, 3639, 368, 4971, 12499, 12727, 2026, 486, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 15707, 26140, 13576, 12, 12496, 7920, 16, 509, 15052, 16, 4766, 2868, 10320, 87, 1705, 16, 10320, 87, 1570, 16, 4766, 2398, 509, 1522, 7607, 559, 16, 4766, 2398, 509, 2235, 559, 16, 1250, 1122, 4160, 13, 288, 3639, 727, 3887, 1522, 273, 7920, 18, 588, 1943, 12, 1096, 548, 1769, 3639, 727, 15734, 1705, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 4816, 1769, 3639, 727, 15734, 1570, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 10488, 1769, 7734, 368, 1775, 923, 35, 3639, 309, 261, 1096, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 1943, 2057, 1199, 1769, 3639, 289, 3639, 309, 261, 4816, 18, 8969, 12, 10488, 13, 405, 2 ]
setParamThread(thread.getId().toString());
setParamThread(thread.getUUID().toString());
public void actionReport() throws JspException { // save initialized instance of this class in request attribute for included sub-elements getJsp().getRequest().setAttribute(C_SESSION_WORKPLACE_CLASS, this); switch (getAction()) { case ACTION_REPORT_UPDATE: setParamAction(REPORT_UPDATE); getJsp().include(C_FILE_REPORT_OUTPUT); break; case ACTION_REPORT_BEGIN: case ACTION_CONFIRMED: default: CmsHtmlLinkValidatorThread thread = new CmsHtmlLinkValidatorThread(getCms()); setParamAction(REPORT_BEGIN); setParamThread(thread.getId().toString()); getJsp().include(C_FILE_REPORT_OUTPUT); break; } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/6985cf62d22cf80bd26403e2daf76039bf595f81/CmsHtmlLinkValidatorReport.java/buggy/src/org/opencms/workplace/commons/CmsHtmlLinkValidatorReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1301, 4820, 1435, 1216, 27485, 288, 3639, 368, 1923, 6454, 791, 434, 333, 667, 316, 590, 1566, 364, 5849, 720, 17, 6274, 3639, 31162, 7675, 588, 691, 7675, 542, 1499, 12, 39, 67, 7042, 67, 10566, 12134, 67, 5237, 16, 333, 1769, 3639, 1620, 261, 588, 1803, 10756, 288, 3639, 648, 11385, 67, 22710, 67, 8217, 30, 5411, 22911, 1803, 12, 22710, 67, 8217, 1769, 9079, 31162, 7675, 6702, 12, 39, 67, 3776, 67, 22710, 67, 15527, 1769, 2868, 898, 31, 3639, 648, 11385, 67, 22710, 67, 16061, 30, 3639, 648, 11385, 67, 2248, 1653, 54, 25773, 30, 3639, 805, 30, 5411, 2149, 4353, 2098, 5126, 3830, 2650, 273, 394, 2149, 4353, 2098, 5126, 3830, 12, 588, 4747, 10663, 5411, 22911, 1803, 12, 22710, 67, 16061, 1769, 5411, 22911, 3830, 12, 5930, 18, 588, 5562, 7675, 10492, 10663, 5411, 31162, 7675, 6702, 12, 39, 67, 3776, 67, 22710, 67, 15527, 1769, 2868, 898, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1301, 4820, 1435, 1216, 27485, 288, 3639, 368, 1923, 6454, 791, 434, 333, 667, 316, 590, 1566, 364, 5849, 720, 17, 6274, 3639, 31162, 7675, 588, 691, 7675, 542, 1499, 12, 39, 67, 7042, 67, 10566, 12134, 67, 5237, 16, 333, 1769, 3639, 1620, 261, 588, 1803, 10756, 288, 3639, 648, 11385, 67, 22710, 67, 8217, 30, 5411, 22911, 1803, 12, 22710, 67, 8217, 1769, 9079, 31162, 7675, 6702, 12, 39, 67, 3776, 67, 22710, 67, 15527, 1769, 2868, 898, 31, 3639, 648, 11385, 67, 22710, 67, 16061, 30, 3639, 648, 11385, 67, 2248, 1653, 54, 25773, 30, 3639, 805, 30, 5411, 2149, 4353, 2098, 5126, 3830, 2650, 273, 394, 2149, 4353, 2098, 5126, 3830, 12, 2 ]
encodingCombo.setText(WorkbenchEncoding.getWorkbenchDefaultEncoding());
encodingCombo.setText(getDefaultEnc());
private void populateEncodingsCombo(List encodings, String selectedEncoding) { String[] encodingStrings = new String[encodings.size()]; encodings.toArray(encodingStrings); encodingCombo.setItems(encodingStrings); if (selectedEncoding == null) encodingCombo.setText(WorkbenchEncoding.getWorkbenchDefaultEncoding()); else encodingCombo.setText(selectedEncoding); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/293347d0cfa5214b398a6ef52efacc4bfb2b5b72/AbstractEncodingFieldEditor.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/AbstractEncodingFieldEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6490, 25100, 899, 16156, 12, 682, 24118, 16, 514, 3170, 4705, 13, 288, 202, 202, 780, 8526, 2688, 7957, 273, 394, 514, 63, 1331, 369, 899, 18, 1467, 1435, 15533, 202, 202, 1331, 369, 899, 18, 31447, 12, 5999, 7957, 1769, 202, 202, 5999, 16156, 18, 542, 3126, 12, 5999, 7957, 1769, 202, 202, 430, 261, 8109, 4705, 422, 446, 13, 1082, 202, 5999, 16156, 18, 542, 1528, 12, 2421, 22144, 4705, 18, 588, 2421, 22144, 1868, 4705, 10663, 202, 202, 12107, 1082, 202, 5999, 16156, 18, 542, 1528, 12, 8109, 4705, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6490, 25100, 899, 16156, 12, 682, 24118, 16, 514, 3170, 4705, 13, 288, 202, 202, 780, 8526, 2688, 7957, 273, 394, 514, 63, 1331, 369, 899, 18, 1467, 1435, 15533, 202, 202, 1331, 369, 899, 18, 31447, 12, 5999, 7957, 1769, 202, 202, 5999, 16156, 18, 542, 3126, 12, 5999, 7957, 1769, 202, 202, 430, 261, 8109, 4705, 422, 446, 13, 1082, 202, 5999, 16156, 18, 542, 1528, 12, 2421, 22144, 4705, 18, 588, 2421, 22144, 1868, 4705, 10663, 202, 202, 12107, 1082, 202, 5999, 16156, 18, 542, 1528, 12, 8109, 4705, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!(fun instanceof Function)) throw new UndefinedFunctionError(first); LispObject list = checkList(second); final LispThread thread = LispThread.currentThread(); LispObject result = NIL; LispObject splice = null; while (list != NIL) { LispObject obj = funcall1(fun, list.car(), thread); if (splice == null) { result = new Cons(obj, result); splice = result; } else { Cons cons = new Cons(obj); splice.setCdr(cons); splice = cons;
if (fun instanceof Function) { final int numFunArgs = spread.length(); final LispThread thread = LispThread.currentThread(); switch (numFunArgs) { case 1: return funcall1(fun, spread.car(), thread); case 2: return funcall2(fun, spread.car(), spread.cadr(), thread); case 3: return funcall3(fun, spread.car(), spread.cadr(), spread.cdr().cdr().car(), thread); default: { final LispObject[] funArgs = new LispObject[numFunArgs]; int j = 0; while (spread != NIL) { funArgs[j++] = spread.car(); spread = spread.cdr(); } return funcall(fun, funArgs, thread); }
public LispObject execute(LispObject first, LispObject second) throws Condition { // First argument must be a function. LispObject fun = first; if (fun instanceof Symbol) fun = fun.getSymbolFunction(); if (!(fun instanceof Function)) throw new UndefinedFunctionError(first); // Second argument must be a list. LispObject list = checkList(second); final LispThread thread = LispThread.currentThread(); LispObject result = NIL; LispObject splice = null; while (list != NIL) { LispObject obj = funcall1(fun, list.car(), thread); if (splice == null) { result = new Cons(obj, result); splice = result; } else { Cons cons = new Cons(obj); splice.setCdr(cons); splice = cons; } list = list.cdr(); } return result; }
8279 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8279/e7823709c2ec0ef66bed0b43af115265246ea854/Primitives.java/clean/j/src/org/armedbear/lisp/Primitives.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 511, 23831, 921, 1836, 12, 48, 23831, 921, 1122, 16, 511, 23831, 921, 2205, 13, 5411, 1216, 7949, 3639, 288, 5411, 368, 5783, 1237, 1297, 506, 279, 445, 18, 5411, 511, 23831, 921, 9831, 273, 1122, 31, 5411, 309, 261, 12125, 1276, 8565, 13, 7734, 9831, 273, 9831, 18, 588, 5335, 2083, 5621, 5411, 309, 16051, 12, 12125, 1276, 4284, 3719, 7734, 604, 394, 22243, 2083, 668, 12, 3645, 1769, 5411, 368, 7631, 1237, 1297, 506, 279, 666, 18, 5411, 511, 23831, 921, 666, 273, 866, 682, 12, 8538, 1769, 5411, 727, 511, 23831, 3830, 2650, 273, 511, 23831, 3830, 18, 2972, 3830, 5621, 5411, 511, 23831, 921, 563, 273, 423, 2627, 31, 5411, 511, 23831, 921, 9628, 273, 446, 31, 5411, 1323, 261, 1098, 480, 423, 2627, 13, 288, 7734, 511, 23831, 921, 1081, 273, 1326, 454, 21, 12, 12125, 16, 666, 18, 9815, 9334, 2650, 1769, 7734, 309, 261, 19535, 422, 446, 13, 288, 10792, 563, 273, 394, 11020, 12, 2603, 16, 563, 1769, 10792, 9628, 273, 563, 31, 7734, 289, 469, 288, 10792, 11020, 1959, 273, 394, 11020, 12, 2603, 1769, 10792, 9628, 18, 542, 39, 3069, 12, 8559, 1769, 10792, 9628, 273, 1959, 31, 7734, 289, 7734, 666, 273, 666, 18, 71, 3069, 5621, 5411, 289, 5411, 327, 563, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 540, 1071, 511, 23831, 921, 1836, 12, 48, 23831, 921, 1122, 16, 511, 23831, 921, 2205, 13, 5411, 1216, 7949, 3639, 288, 5411, 368, 5783, 1237, 1297, 506, 279, 445, 18, 5411, 511, 23831, 921, 9831, 273, 1122, 31, 5411, 309, 261, 12125, 1276, 8565, 13, 7734, 9831, 273, 9831, 18, 588, 5335, 2083, 5621, 5411, 309, 16051, 12, 12125, 1276, 4284, 3719, 7734, 604, 394, 22243, 2083, 668, 12, 3645, 1769, 5411, 368, 7631, 1237, 1297, 506, 279, 666, 18, 5411, 511, 23831, 921, 666, 273, 866, 682, 12, 8538, 1769, 5411, 727, 511, 23831, 3830, 2650, 273, 511, 23831, 3830, 18, 2972, 3830, 5621, 5411, 511, 23831, 921, 563, 273, 423, 2627, 31, 5411, 511, 23831, 921, 2 ]
} else if (o.getLongName().equals(event.getBClassName())) {
aDone = true; } if (!bDone && (o.getLongName().equals(event.getBClassName()))) {
public void newAssociation(NewAssociationEvent event) { ObjectClassRelationship ocr = DomainObjectFactory.newObjectClassRelationship(); ObjectClass oc = DomainObjectFactory.newObjectClass(); List ocs = elements.getElements(oc.getClass()); logger.debug("direction: " + event.getDirection()); for(Iterator it = ocs.iterator(); it.hasNext(); ) { ObjectClass o = (ObjectClass) it.next(); if (o.getLongName().equals(event.getAClassName())) { if (event.getDirection().equals("B")) { ocr.setSource(o); ocr.setSourceRole(event.getARole()); ocr.setSourceLowCardinality(event.getALowCardinality()); ocr.setSourceHighCardinality(event.getAHighCardinality()); } else { ocr.setTarget(o); ocr.setTargetRole(event.getARole()); ocr.setTargetLowCardinality(event.getALowCardinality()); ocr.setTargetHighCardinality(event.getAHighCardinality()); } } else if (o.getLongName().equals(event.getBClassName())) { if (event.getDirection().equals("B")) { ocr.setTarget(o); ocr.setTargetRole(event.getBRole()); ocr.setTargetLowCardinality(event.getBLowCardinality()); ocr.setTargetHighCardinality(event.getBHighCardinality()); } else { ocr.setSource(o); ocr.setSourceRole(event.getBRole()); ocr.setSourceLowCardinality(event.getBLowCardinality()); ocr.setSourceHighCardinality(event.getBHighCardinality()); } } } if (event.getDirection().equals("AB")) { ocr.setDirection(ObjectClassRelationship.DIRECTION_BOTH); } else { ocr.setDirection(ObjectClassRelationship.DIRECTION_SINGLE); } ocr.setLongName(event.getRoleName()); ocr.setType(ObjectClassRelationship.TYPE_HAS); elements.addElement(ocr); }
55019 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55019/77c527b891cd65aee67a551cfccb2a1bc63748d9/UMLDefaultHandler.java/buggy/src/gov/nih/nci/ncicb/cadsr/loader/event/UMLDefaultHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 394, 7174, 12, 1908, 7174, 1133, 871, 13, 288, 565, 1033, 797, 8180, 320, 3353, 273, 6648, 921, 1733, 18, 2704, 921, 797, 8180, 5621, 565, 1033, 797, 13345, 273, 6648, 921, 1733, 18, 2704, 921, 797, 5621, 3639, 987, 320, 2143, 273, 2186, 18, 588, 3471, 12, 504, 18, 588, 797, 10663, 565, 1194, 18, 4148, 2932, 9855, 30, 315, 397, 871, 18, 588, 8212, 10663, 565, 364, 12, 3198, 518, 273, 320, 2143, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 1377, 1033, 797, 320, 273, 261, 921, 797, 13, 518, 18, 4285, 5621, 5411, 309, 261, 83, 18, 588, 3708, 461, 7675, 14963, 12, 2575, 18, 588, 37, 3834, 1435, 3719, 288, 3639, 309, 261, 2575, 18, 588, 8212, 7675, 14963, 2932, 38, 6, 3719, 288, 1850, 320, 3353, 18, 542, 1830, 12, 83, 1769, 1850, 320, 3353, 18, 542, 1830, 2996, 12, 2575, 18, 588, 985, 790, 10663, 1850, 320, 3353, 18, 542, 1830, 10520, 20091, 12, 2575, 18, 588, 1013, 543, 20091, 10663, 1850, 320, 3353, 18, 542, 1830, 8573, 20091, 12, 2575, 18, 588, 37, 8573, 20091, 10663, 3639, 289, 469, 288, 1850, 320, 3353, 18, 542, 2326, 12, 83, 1769, 1850, 320, 3353, 18, 542, 2326, 2996, 12, 2575, 18, 588, 985, 790, 10663, 1850, 320, 3353, 18, 542, 2326, 10520, 20091, 12, 2575, 18, 588, 1013, 543, 20091, 10663, 1850, 320, 3353, 18, 542, 2326, 8573, 20091, 12, 2575, 18, 588, 37, 8573, 20091, 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, 394, 7174, 12, 1908, 7174, 1133, 871, 13, 288, 565, 1033, 797, 8180, 320, 3353, 273, 6648, 921, 1733, 18, 2704, 921, 797, 8180, 5621, 565, 1033, 797, 13345, 273, 6648, 921, 1733, 18, 2704, 921, 797, 5621, 3639, 987, 320, 2143, 273, 2186, 18, 588, 3471, 12, 504, 18, 588, 797, 10663, 565, 1194, 18, 4148, 2932, 9855, 30, 315, 397, 871, 18, 588, 8212, 10663, 565, 364, 12, 3198, 518, 273, 320, 2143, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 1377, 1033, 797, 320, 273, 261, 921, 797, 13, 518, 18, 4285, 5621, 5411, 309, 261, 83, 18, 588, 3708, 461, 7675, 14963, 12, 2575, 18, 588, 37, 3834, 1435, 3719, 2 ]
Asserts.notReached("IllegalAccessException: " + e.getMessage());
assert false : "IllegalAccessException: " + e.getMessage();
private static void addVisibility() { final Field[] fields = Visibility.class.getFields(); delegates.put(loadClass("org.jruby.runtime.Visibility"), new PersistenceDelegate() { /** * @see java.beans.PersistenceDelegate#instantiate(Object, Encoder) */ protected Expression instantiate(Object oldInstance, Encoder out) { for (int i = 0; i < 4; i++) { try { if (fields[i].get(null) == oldInstance) { return new Expression(fields[i], "get", new Object[] {null}); } } catch (IllegalAccessException e) { Asserts.notReached("IllegalAccessException: " + e.getMessage()); } } Asserts.notReached(); return null; } }); }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/AstPersistenceDelegates.java/clean/src/org/jruby/ast/util/AstPersistenceDelegates.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 527, 10135, 1435, 288, 3639, 727, 2286, 8526, 1466, 273, 27791, 18, 1106, 18, 588, 2314, 5621, 3639, 22310, 18, 458, 12, 945, 797, 2932, 3341, 18, 78, 27768, 18, 9448, 18, 10135, 6, 3631, 394, 13381, 9586, 1435, 288, 5411, 1783, 2398, 380, 632, 5946, 2252, 18, 2196, 634, 18, 13182, 9586, 7, 24628, 3840, 12, 921, 16, 13554, 13, 2398, 1195, 5411, 4750, 5371, 10275, 12, 921, 1592, 1442, 16, 13554, 596, 13, 288, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1059, 31, 277, 27245, 288, 10792, 775, 288, 13491, 309, 261, 2821, 63, 77, 8009, 588, 12, 2011, 13, 422, 1592, 1442, 13, 288, 18701, 327, 394, 5371, 12, 2821, 63, 77, 6487, 315, 588, 3113, 394, 1033, 8526, 288, 2011, 22938, 13491, 289, 10792, 289, 1044, 261, 12195, 9773, 425, 13, 288, 13491, 1815, 629, 294, 315, 12195, 9773, 30, 315, 397, 425, 18, 24906, 5621, 10792, 289, 7734, 289, 7734, 5452, 87, 18, 902, 23646, 5621, 7734, 327, 446, 31, 5411, 289, 3639, 15549, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 527, 10135, 1435, 288, 3639, 727, 2286, 8526, 1466, 273, 27791, 18, 1106, 18, 588, 2314, 5621, 3639, 22310, 18, 458, 12, 945, 797, 2932, 3341, 18, 78, 27768, 18, 9448, 18, 10135, 6, 3631, 394, 13381, 9586, 1435, 288, 5411, 1783, 2398, 380, 632, 5946, 2252, 18, 2196, 634, 18, 13182, 9586, 7, 24628, 3840, 12, 921, 16, 13554, 13, 2398, 1195, 5411, 4750, 5371, 10275, 12, 921, 1592, 1442, 16, 13554, 596, 13, 288, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1059, 31, 277, 27245, 288, 10792, 775, 288, 13491, 309, 261, 2821, 63, 77, 8009, 588, 12, 2011, 13, 422, 1592, 1442, 13, 288, 18701, 327, 394, 5371, 12, 2 ]
public void _setTransportFactory(ClientTransportFactory f) { getRequestContext().put(BindingProviderProperties.CLIENT_TRANSPORT_FACTORY, f); _transportFactory = f;
public void _setTransportFactory(com.sun.xml.ws.spi.runtime.ClientTransportFactory f) { setTransportFactory((ClientTransportFactory) f);
public void _setTransportFactory(ClientTransportFactory f) { getRequestContext().put(BindingProviderProperties.CLIENT_TRANSPORT_FACTORY, f); _transportFactory = f; }
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/1f8aef05042b6f734b7ac560c1ccdaf99d19173c/EndpointIFBase.java/buggy/jaxws-ri/rt/src/com/sun/xml/ws/client/EndpointIFBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 389, 542, 6568, 1733, 12, 1227, 6568, 1733, 284, 13, 288, 3639, 14713, 7675, 458, 12, 5250, 2249, 2297, 18, 11935, 67, 8989, 31943, 67, 16193, 16, 284, 1769, 3639, 389, 13049, 1733, 273, 284, 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, 1071, 918, 389, 542, 6568, 1733, 12, 1227, 6568, 1733, 284, 13, 288, 3639, 14713, 7675, 458, 12, 5250, 2249, 2297, 18, 11935, 67, 8989, 31943, 67, 16193, 16, 284, 1769, 3639, 389, 13049, 1733, 273, 284, 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 ]
log(aBrace.getLineNo(), aBrace.getColumnNo(), "'{' should be on the previous line.");
log(aBrace.getLineNo(), aBrace.getColumnNo(), "line.previous", "{");
private void checkLCurly(int aStartLine, MyCommonAST aBrace, LeftCurlyOption aOption) { verifyWSAroundBegin(aBrace.getLineNo(), aBrace.getColumnNo() + 1, aBrace.getText()); final String braceLine = mLines[aBrace.getLineNo() - 1]; // calculate the previous line length without trailing whitespace. Need // to handle the case where there is no previous line, cause the line // being check is the first line in the file. final int prevLineLen = (aBrace.getLineNo() == 1) ? mConfig.getMaxLineLength() : Utils.lengthMinusTrailingWhitespace( mLines[aBrace.getLineNo() - 2]); // Check for being told to ignore, or have '{}' which is a special case if ((aOption == LeftCurlyOption.IGNORE) || ((braceLine.length() > (aBrace.getColumnNo() + 1)) && (braceLine.charAt(aBrace.getColumnNo() + 1) == '}'))) { // ignore } else if (aOption == LeftCurlyOption.NL) { if (!Utils.whitespaceBefore(aBrace.getColumnNo(), braceLine)) { log(aBrace.getLineNo(), aBrace.getColumnNo(), "'{' should be on a new line."); } } else if (aOption == LeftCurlyOption.EOL) { if (Utils.whitespaceBefore(aBrace.getColumnNo(), braceLine) && ((prevLineLen + 2) <= mConfig.getMaxLineLength())) { log(aBrace.getLineNo(), aBrace.getColumnNo(), "'{' should be on the previous line."); } } else if (aOption == LeftCurlyOption.NLOW) { if (aStartLine == aBrace.getLineNo()) { // all ok as on the same line } else if ((aStartLine + 1) == aBrace.getLineNo()) { if (!Utils.whitespaceBefore(aBrace.getColumnNo(), braceLine)) { log(aBrace.getLineNo(), aBrace.getColumnNo(), "'{' should be on a new line."); } else if ((prevLineLen + 2) <= mConfig.getMaxLineLength()) { log(aBrace.getLineNo(), aBrace.getColumnNo(), "'{' should be on the previous line."); } } else if (!Utils.whitespaceBefore(aBrace.getColumnNo(), braceLine)) { log(aBrace.getLineNo(), aBrace.getColumnNo(), "'{' should be on a new line."); } } }
31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/c682b5725d22afc38bf19d9667b23a7deab6d8c3/Verifier.java/buggy/src/checkstyle/com/puppycrawl/tools/checkstyle/Verifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 48, 30043, 12, 474, 279, 1685, 1670, 16, 11794, 8005, 6517, 9053, 279, 21965, 16, 11794, 13338, 30043, 1895, 279, 1895, 13, 565, 288, 3639, 3929, 2651, 30022, 8149, 12, 69, 21965, 18, 588, 1670, 2279, 9334, 18701, 279, 21965, 18, 588, 1494, 2279, 1435, 397, 404, 16, 18701, 279, 21965, 18, 588, 1528, 10663, 3639, 727, 514, 22500, 1670, 273, 312, 5763, 63, 69, 21965, 18, 588, 1670, 2279, 1435, 300, 404, 15533, 3639, 368, 4604, 326, 2416, 980, 769, 2887, 7341, 7983, 18, 12324, 3639, 368, 358, 1640, 326, 648, 1625, 1915, 353, 1158, 2416, 980, 16, 4620, 326, 980, 3639, 368, 3832, 866, 353, 326, 1122, 980, 316, 326, 585, 18, 3639, 727, 509, 2807, 1670, 2891, 273, 261, 69, 21965, 18, 588, 1670, 2279, 1435, 422, 404, 13, 5411, 692, 312, 809, 18, 588, 2747, 1670, 1782, 1435, 5411, 294, 6091, 18, 2469, 18434, 16808, 9431, 12, 7734, 312, 5763, 63, 69, 21965, 18, 588, 1670, 2279, 1435, 300, 576, 19226, 3639, 368, 2073, 364, 3832, 268, 1673, 358, 2305, 16, 578, 1240, 7485, 1492, 353, 279, 4582, 648, 3639, 309, 14015, 69, 1895, 422, 13338, 30043, 1895, 18, 20118, 13, 5411, 747, 14015, 70, 9963, 1670, 18, 2469, 1435, 405, 261, 69, 21965, 18, 588, 1494, 2279, 1435, 397, 404, 3719, 7734, 597, 261, 70, 9963, 1670, 18, 3001, 861, 12, 69, 21965, 18, 588, 1494, 2279, 1435, 397, 404, 13, 422, 9571, 20349, 3639, 288, 5411, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 48, 30043, 12, 474, 279, 1685, 1670, 16, 11794, 8005, 6517, 9053, 279, 21965, 16, 11794, 13338, 30043, 1895, 279, 1895, 13, 565, 288, 3639, 3929, 2651, 30022, 8149, 12, 69, 21965, 18, 588, 1670, 2279, 9334, 18701, 279, 21965, 18, 588, 1494, 2279, 1435, 397, 404, 16, 18701, 279, 21965, 18, 588, 1528, 10663, 3639, 727, 514, 22500, 1670, 273, 312, 5763, 63, 69, 21965, 18, 588, 1670, 2279, 1435, 300, 404, 15533, 3639, 368, 4604, 326, 2416, 980, 769, 2887, 7341, 7983, 18, 12324, 3639, 368, 358, 1640, 326, 648, 1625, 1915, 353, 1158, 2416, 980, 16, 4620, 326, 980, 3639, 368, 3832, 866, 353, 326, 1122, 980, 316, 326, 585, 18, 3639, 2 ]
boolean pos = false;
boolean unary = false;
private void addSub(Symbol clasz, int count) { Name name = Names.SUB; Symbol symbol = clasz.lookup(name); assert symbol != Symbol.NONE : Debug.show(clasz) + "." + name; Symbol[] alts = symbol.alternativeSymbols(); // !!! assert count + 1 == alts.length : (count + 1) + " != " + alts.length; boolean pos = false; for (int i = 0; i < alts.length; i++) { switch (alts[i].type()) { case MethodType(Symbol[] vparams, _): if (vparams.length == 0) { // !!! System.out.println("!!! Ignoring pico bridge method " + Debug.show(clasz) + "." + name); break; } addPrimitive(alts[i], Primitive.SUB); count--; break; case PolyType(Symbol[] tparams, _): addPrimitive(alts[i], Primitive.NEG); assert !pos; pos = true; break; default: System.out.println("!!! symbol = " + Debug.show(alts[i])); throw Debug.abort("illegal case" , alts[i].type()); } } assert pos : pos; }
32355 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/32355/72a496a3c41ae105c852ea0f7fee1712efd68264/Primitives.java/buggy/sources/scalac/backend/Primitives.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 25716, 12, 5335, 23268, 94, 16, 509, 1056, 13, 288, 3639, 1770, 508, 273, 5276, 18, 8362, 31, 3639, 8565, 3273, 273, 23268, 94, 18, 8664, 12, 529, 1769, 3639, 1815, 3273, 480, 8565, 18, 9826, 294, 4015, 18, 4500, 12, 830, 345, 94, 13, 397, 4585, 397, 508, 31, 3639, 8565, 8526, 524, 3428, 273, 3273, 18, 27071, 14821, 5621, 3639, 368, 401, 8548, 1815, 1056, 397, 404, 422, 524, 3428, 18, 2469, 294, 261, 1883, 397, 404, 13, 397, 315, 480, 315, 397, 524, 3428, 18, 2469, 31, 4202, 1250, 19017, 273, 629, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 524, 3428, 18, 2469, 31, 277, 27245, 288, 5411, 1620, 261, 2390, 87, 63, 77, 8009, 723, 10756, 288, 5411, 648, 2985, 559, 12, 5335, 8526, 331, 2010, 16, 389, 4672, 7734, 309, 261, 90, 2010, 18, 2469, 422, 374, 13, 288, 10792, 368, 401, 8548, 2332, 18, 659, 18, 8222, 2932, 25885, 467, 16997, 293, 10764, 10105, 707, 315, 397, 4015, 18, 4500, 12, 830, 345, 94, 13, 397, 4585, 397, 508, 1769, 10792, 898, 31, 7734, 289, 7734, 527, 9840, 12, 2390, 87, 63, 77, 6487, 14488, 18, 8362, 1769, 7734, 1056, 413, 31, 7734, 898, 31, 5411, 648, 18394, 559, 12, 5335, 8526, 268, 2010, 16, 389, 4672, 7734, 527, 9840, 12, 2390, 87, 63, 77, 6487, 14488, 18, 5407, 43, 1769, 7734, 1815, 401, 917, 31, 7734, 949, 273, 638, 31, 7734, 898, 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, 3238, 918, 25716, 12, 5335, 23268, 94, 16, 509, 1056, 13, 288, 3639, 1770, 508, 273, 5276, 18, 8362, 31, 3639, 8565, 3273, 273, 23268, 94, 18, 8664, 12, 529, 1769, 3639, 1815, 3273, 480, 8565, 18, 9826, 294, 4015, 18, 4500, 12, 830, 345, 94, 13, 397, 4585, 397, 508, 31, 3639, 8565, 8526, 524, 3428, 273, 3273, 18, 27071, 14821, 5621, 3639, 368, 401, 8548, 1815, 1056, 397, 404, 422, 524, 3428, 18, 2469, 294, 261, 1883, 397, 404, 13, 397, 315, 480, 315, 397, 524, 3428, 18, 2469, 31, 4202, 1250, 19017, 273, 629, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 524, 3428, 18, 2469, 31, 277, 27245, 288, 5411, 1620, 2 ]
protected void InitBankEditorFrame () { //...Create the GUI and put it in the window... myModel = new PatchGridModel (bankData,bankDriver); table = new DNDPatchTable (myModel); table2=table; table.setPreferredScrollableViewportSize (new Dimension (500, 70)); table.setRowSelectionAllowed (false); table.setColumnSelectionAllowed (false); table.addMouseListener (new MouseAdapter () { public void mousePressed (MouseEvent e) { table2.setRowSelectionInterval ( table2.rowAtPoint (new Point (e.getX (),e.getY ())), table2.rowAtPoint (new Point (e.getX (),e.getY ())) ); table2.setColumnSelectionInterval ( table2.columnAtPoint (new Point (e.getX (),e.getY ())), table2.columnAtPoint (new Point (e.getX (),e.getY ())) ); PatchEdit.extractAction.setEnabled (true); PatchEdit.sendAction.setEnabled (true); PatchEdit.sendToAction.setEnabled (false); // not available yet! PatchEdit.reassignAction.setEnabled (false); // not available yet! PatchEdit.playAction.setEnabled (true); PatchEdit.storeAction.setEnabled (true); Patch myPatch=((Patch)myModel.getPatchAt(0,0)); // All entries are of the same type, so we can check the first one.... try{ myPatch.getDriver().getClass().getDeclaredMethod("editPatch", new Class[]{myPatch.getClass()}); PatchEdit.editAction.setEnabled(true); } catch(NoSuchMethodException ex) { if (myPatch.getDriver() instanceof BankDriver) PatchEdit.editAction.setEnabled(true); }; PatchEdit.cutAction.setEnabled (true); PatchEdit.copyAction.setEnabled (true); PatchEdit.deleteAction.setEnabled (true); PatchEdit.exportAction.setEnabled (true); if(e.isPopupTrigger ()) { PatchEdit.menuPatchPopup.show (table2, e.getX (), e.getY ()); } } public void mouseReleased (MouseEvent e) { if(e.isPopupTrigger ()) { PatchEdit.menuPatchPopup.show (table2, e.getX (), e.getY ()); } } public void mouseClicked (MouseEvent e) { if(e.getClickCount ()==2) { PlaySelectedPatch (); } } }); this.addInternalFrameListener (new InternalFrameListener () { public void internalFrameOpened (InternalFrameEvent e) {} public void internalFrameClosed (InternalFrameEvent e) {} public void internalFrameDeiconified (InternalFrameEvent e) {} public void internalFrameIconified (InternalFrameEvent e) {} public void internalFrameActivated (InternalFrameEvent e) { PatchEdit.receiveAction.setEnabled (false); PatchEdit.pasteAction.setEnabled (true); PatchEdit.importAction.setEnabled (true); PatchEdit.importAllAction.setEnabled (true); PatchEdit.newPatchAction.setEnabled (true); if (table.getRowCount ()>0) { PatchEdit.saveAction.setEnabled (true); PatchEdit.menuSaveAs.setEnabled (true); PatchEdit.searchAction.setEnabled (true); } if (table.getRowCount ()>1) { PatchEdit.sortAction.setEnabled (true); PatchEdit.dupAction.setEnabled (true); } if (table.getSelectedRowCount ()>0) { PatchEdit.extractAction.setEnabled (true); PatchEdit.sendAction.setEnabled (true); PatchEdit.sendToAction.setEnabled (false); // not available yet! PatchEdit.reassignAction.setEnabled (false);// not available yet! PatchEdit.playAction.setEnabled (true); PatchEdit.storeAction.setEnabled (true); Patch myPatch=((Patch)myModel.getPatchAt(0,0)); // All entries are of the same type, so we can check the first one.... try{ myPatch.getDriver().getClass().getDeclaredMethod("editPatch", new Class[]{myPatch.getClass()}); PatchEdit.editAction.setEnabled(true); } catch(NoSuchMethodException ex) { if (myPatch.getDriver() instanceof BankDriver) PatchEdit.editAction.setEnabled(true); }; PatchEdit.cutAction.setEnabled (true); PatchEdit.copyAction.setEnabled (true); PatchEdit.deleteAction.setEnabled (true); PatchEdit.exportAction.setEnabled (true); } //System.out.println ("Frame activated"+table.getSelectedRowCount ()); } public void internalFrameClosing (InternalFrameEvent e) { JInternalFrame[] jList =PatchEdit.desktop.getAllFrames (); for (int j=0;j<jList.length;j++) if (jList[j] instanceof PatchEditorFrame) { if (((PatchEditorFrame)(jList[j])).bankFrame==instance) { jList[j].moveToFront(); try{jList[j].setSelected(true); jList[j].setClosed(true); }catch (Exception e1){} } } } public void internalFrameDeactivated (InternalFrameEvent e) { //PatchEdit.receiveAction.setEnabled (false); PatchEdit.extractAction.setEnabled (false); PatchEdit.sendAction.setEnabled (false); PatchEdit.sendToAction.setEnabled (false); PatchEdit.reassignAction.setEnabled (false); PatchEdit.playAction.setEnabled (false); PatchEdit.storeAction.setEnabled (false); PatchEdit.editAction.setEnabled (false); PatchEdit.saveAction.setEnabled (false); PatchEdit.menuSaveAs.setEnabled (false); PatchEdit.sortAction.setEnabled (false); PatchEdit.searchAction.setEnabled (false); PatchEdit.dupAction.setEnabled (false); PatchEdit.cutAction.setEnabled (false); PatchEdit.copyAction.setEnabled (false); PatchEdit.pasteAction.setEnabled (false); PatchEdit.deleteAction.setEnabled (false); PatchEdit.importAction.setEnabled (false); PatchEdit.importAllAction.setEnabled (false); PatchEdit.exportAction.setEnabled (false); PatchEdit.newPatchAction.setEnabled (false); //System.out.println ("Frame deactivated"); } } ); //Create the scroll pane and add the table to it. JScrollPane scrollPane = new JScrollPane (table); //Add the scroll pane to this window. getContentPane ().add (scrollPane, BorderLayout.CENTER); //...Then set the window size or call pack... setSize (600,300); //Set the window's location. }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/6efc773b0bebaeefc8ce7a1b6e42c6a5cbafbeb0/BankEditorFrame.java/clean/JSynthLib/core/BankEditorFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4378, 16040, 6946, 3219, 1832, 565, 288, 3639, 368, 2777, 1684, 326, 10978, 471, 1378, 518, 316, 326, 2742, 2777, 7734, 3399, 1488, 273, 394, 12042, 6313, 1488, 261, 10546, 751, 16, 10546, 4668, 1769, 3639, 1014, 273, 394, 463, 2908, 7332, 1388, 261, 4811, 1488, 1769, 3639, 1014, 22, 33, 2121, 31, 3639, 1014, 18, 542, 16028, 6806, 429, 22743, 1225, 261, 2704, 13037, 261, 12483, 16, 16647, 10019, 3639, 1014, 18, 542, 1999, 6233, 5042, 261, 5743, 1769, 3639, 1014, 18, 542, 1494, 6233, 5042, 261, 5743, 1769, 3639, 1014, 18, 1289, 9186, 2223, 261, 2704, 17013, 4216, 1832, 3639, 288, 5411, 1071, 918, 7644, 24624, 261, 9186, 1133, 425, 13, 5411, 288, 7734, 1014, 22, 18, 542, 1999, 6233, 4006, 261, 7734, 1014, 22, 18, 492, 861, 2148, 261, 2704, 4686, 261, 73, 18, 588, 60, 1832, 16, 73, 18, 588, 61, 1832, 13, 3631, 7734, 1014, 22, 18, 492, 861, 2148, 261, 2704, 4686, 261, 73, 18, 588, 60, 1832, 16, 73, 18, 588, 61, 1832, 3719, 7734, 11272, 7734, 1014, 22, 18, 542, 1494, 6233, 4006, 261, 7734, 1014, 22, 18, 2827, 861, 2148, 261, 2704, 4686, 261, 73, 18, 588, 60, 1832, 16, 73, 18, 588, 61, 1832, 13, 3631, 7734, 1014, 22, 18, 2827, 861, 2148, 261, 2704, 4686, 261, 73, 18, 588, 60, 1832, 16, 73, 18, 588, 61, 1832, 3719, 7734, 11272, 27573, 12042, 4666, 18, 8004, 1803, 18, 542, 1526, 261, 3767, 1769, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4378, 16040, 6946, 3219, 1832, 565, 288, 3639, 368, 2777, 1684, 326, 10978, 471, 1378, 518, 316, 326, 2742, 2777, 7734, 3399, 1488, 273, 394, 12042, 6313, 1488, 261, 10546, 751, 16, 10546, 4668, 1769, 3639, 1014, 273, 394, 463, 2908, 7332, 1388, 261, 4811, 1488, 1769, 3639, 1014, 22, 33, 2121, 31, 3639, 1014, 18, 542, 16028, 6806, 429, 22743, 1225, 261, 2704, 13037, 261, 12483, 16, 16647, 10019, 3639, 1014, 18, 542, 1999, 6233, 5042, 261, 5743, 1769, 3639, 1014, 18, 542, 1494, 6233, 5042, 261, 5743, 1769, 3639, 1014, 18, 1289, 9186, 2223, 261, 2704, 17013, 4216, 1832, 3639, 288, 5411, 1071, 918, 7644, 24624, 261, 9186, 1133, 425, 13, 5411, 288, 7734, 2 ]