rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
public abstract long getLength(File f) throws IOException;
public long getLength(File f) throws IOException { return getLength(new Path(f.toString())); }
public abstract long getLength(File f) throws IOException;
49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/ee01fef4b4fb82c7492a4a747793839a4d14cd39/FileSystem.java/buggy/src/java/org/apache/hadoop/fs/FileSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 1525, 9888, 12, 812, 284, 13, 1216, 1860, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 1525, 9888, 12, 812, 284, 13, 1216, 1860, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ISymbol symbol = target.getTypeSymbol(); if( symbol != null && symbol.isForwardDeclaration() && symbol.getTypeSymbol() != null ){ target = new TypeInfo( target ); target.setType( TypeInfo.t_type ); target.setTypeSymbol( symbol.getTypeSymbol() ); }
target = getFlatTypeInfo( target, null );
static private Cost lvalue_to_rvalue( TypeInfoProvider provider, TypeInfo source, TypeInfo target ){ //lvalues will have type t_type if( source.isType( TypeInfo.t_type ) ){ source = getFlatTypeInfo( source, null ); } if( target.isType( TypeInfo.t_type ) ){ ISymbol symbol = target.getTypeSymbol(); if( symbol != null && symbol.isForwardDeclaration() && symbol.getTypeSymbol() != null ){ target = new TypeInfo( target ); target.setType( TypeInfo.t_type ); target.setTypeSymbol( symbol.getTypeSymbol() ); } } Cost cost = new Cost( provider, source, target ); //if either source or target is null here, then there was a problem //with the parameters and we can't match them. if( cost.getSource() == null || cost.getTarget() == null ){ return cost; } TypeInfo.PtrOp op = null; if( cost.getSource().hasPtrOperators() ){ List sourcePtrs = cost.getSource().getPtrOperators(); TypeInfo.PtrOp ptr = (TypeInfo.PtrOp)sourcePtrs.get( 0 ); if( ptr.getType() == TypeInfo.PtrOp.t_reference ){ sourcePtrs.remove( 0 ); } int size = sourcePtrs.size(); for( int i = 0; i < size; i++ ){ op = (TypeInfo.PtrOp) sourcePtrs.get( 0 ); if( op.getType() == TypeInfo.PtrOp.t_array ){ op.setType( TypeInfo.PtrOp.t_pointer ); } } } if( cost.getTarget().hasPtrOperators() ){ List targetPtrs = cost.getTarget().getPtrOperators(); //ListIterator iterator = targetPtrs.listIterator(); TypeInfo.PtrOp ptr = (TypeInfo.PtrOp)targetPtrs.get(0); if( ptr.getType() == TypeInfo.PtrOp.t_reference ){ targetPtrs.remove(0); cost.targetHadReference = true; } int size = targetPtrs.size(); for( int i = 0; i < size; i++ ){ op = (TypeInfo.PtrOp) targetPtrs.get(0); if( op.getType() == TypeInfo.PtrOp.t_array ){ op.setType( TypeInfo.PtrOp.t_pointer ); } } } return cost; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/942779ea3eaf9822d81dfeffd4c5602f231b42f6/ParserSymbolTable.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/ParserSymbolTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 3238, 28108, 328, 1132, 67, 869, 67, 86, 1132, 12, 1412, 966, 2249, 2893, 16, 1412, 966, 1084, 16, 1412, 966, 1018, 262, 95, 202, 202, 759, 80, 2372, 903, 1240, 618, 268, 67, 723, 202, 202, 430, 12, 1084, 18, 291, 559, 12, 1412, 966, 18, 88, 67, 723, 262, 262, 95, 1082, 202, 3168, 273, 336, 16384, 17305, 12, 1084, 16, 446, 11272, 202, 202, 97, 9506, 202, 430, 12, 1018, 18, 291, 559, 12, 1412, 966, 18, 88, 67, 723, 262, 262, 95, 1082, 202, 5127, 3284, 3273, 273, 1018, 18, 588, 559, 5335, 5621, 1082, 202, 430, 12, 3273, 480, 446, 597, 3273, 18, 291, 8514, 6094, 1435, 597, 3273, 18, 588, 559, 5335, 1435, 480, 446, 262, 95, 9506, 202, 3299, 273, 394, 1412, 966, 12, 1018, 11272, 9506, 202, 3299, 18, 542, 559, 12, 1412, 966, 18, 88, 67, 723, 11272, 9506, 202, 3299, 18, 542, 559, 5335, 12, 3273, 18, 588, 559, 5335, 1435, 11272, 1082, 202, 97, 202, 202, 97, 9506, 202, 8018, 6991, 273, 394, 28108, 12, 2893, 16, 1084, 16, 1018, 11272, 9506, 202, 759, 430, 3344, 1084, 578, 1018, 353, 446, 2674, 16, 1508, 1915, 1703, 279, 6199, 3196, 202, 759, 1918, 326, 1472, 471, 732, 848, 1404, 845, 2182, 18, 202, 202, 430, 12, 6991, 18, 588, 1830, 1435, 422, 446, 747, 6991, 18, 588, 2326, 1435, 422, 446, 262, 95, 1082, 202, 2463, 6991, 31, 202, 202, 97, 9506, 202, 17305, 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, 3845, 3238, 28108, 328, 1132, 67, 869, 67, 86, 1132, 12, 1412, 966, 2249, 2893, 16, 1412, 966, 1084, 16, 1412, 966, 1018, 262, 95, 202, 202, 759, 80, 2372, 903, 1240, 618, 268, 67, 723, 202, 202, 430, 12, 1084, 18, 291, 559, 12, 1412, 966, 18, 88, 67, 723, 262, 262, 95, 1082, 202, 3168, 273, 336, 16384, 17305, 12, 1084, 16, 446, 11272, 202, 202, 97, 9506, 202, 430, 12, 1018, 18, 291, 559, 12, 1412, 966, 18, 88, 67, 723, 262, 262, 95, 1082, 202, 5127, 3284, 3273, 273, 1018, 18, 588, 559, 5335, 5621, 1082, 202, 430, 12, 3273, 480, 446, 597, 3273, 18, 291, 8514, 6094, 1435, 597, 3273, 18, 588, 2 ]
final int a = alphaData[x]&0xFF; for (int b=0; b<bands; b++) {
a = alphaData[x]&0xFF; for (b=0; b<bands; b++) {
public WritableRaster copyData(WritableRaster wr) { // Get my source. CachableRed srcRed = (CachableRed)getSources().get(0); CachableRed alphaRed = (CachableRed)getSources().get(1); if (is_INT_PACK_BYTE_COMP(srcRed.getSampleModel(), alphaRed.getSampleModel())) return INT_PACK_BYTE_COMP_Impl(wr); ColorModel cm = srcRed.getColorModel(); if (cm.hasAlpha()) { // Already has alpha channel so we use it. srcRed.copyData(wr); Rectangle rgn = wr.getBounds(); rgn = rgn.intersection(alphaRed.getBounds()); int [] wrData = null; int [] alphaData = null; Raster r = alphaRed.getData(rgn); int w = rgn.width; final int bands = srcRed.getSampleModel().getNumBands(); if (cm.isAlphaPremultiplied()) { for (int y=rgn.y; y<rgn.y+rgn.height; y++) { wrData = wr.getPixels (rgn.x, y, w, 1, wrData); alphaData = r .getSamples(rgn.x, y, w, 1, 0, alphaData); int i=0; // 4 is the most common case. // 2 is probably next most common... switch (bands) { case 2: for (int x=0; x<alphaData.length; x++) { final int a = alphaData[x]&0xFF; wrData[i] = ((wrData[i]&0xFF)*a)>>8; ++i; wrData[i] = ((wrData[i]&0xFF)*a)>>8; ++i; } case 4: for (int x=0; x<alphaData.length; x++) { final int a = alphaData[x]&0xFF; wrData[i] = ((wrData[i]&0xFF)*a)>>8; ++i; wrData[i] = ((wrData[i]&0xFF)*a)>>8; ++i; wrData[i] = ((wrData[i]&0xFF)*a)>>8; ++i; wrData[i] = ((wrData[i]&0xFF)*a)>>8; ++i; } default: for (int x=0; x<alphaData.length; x++) { final int a = alphaData[x]&0xFF; for (int b=0; b<bands; b++) { wrData[i] = ((wrData[i]&0xFF)*a)>>8; ++i; } } } wr.setPixels(rgn.x, y, w, 1, wrData); } } else { int b = srcRed.getSampleModel().getNumBands()-1; for (int y=rgn.y; y<rgn.y+rgn.height; y++) { wrData = wr.getSamples(rgn.x, y, w, 1, b, wrData); alphaData = r .getSamples(rgn.x, y, w, 1, 0, alphaData); for (int i=0; i<wrData.length; i++) { wrData[i] = ((wrData[i]&0xFF)*(alphaData[i]&0xFF))>>8; } wr.setSamples(rgn.x, y, w, 1, b, wrData); } } return wr; } // No alpha in source, so we hide the alpha channel in wr and // have our source fill wr with color info... int [] bands = new int[wr.getNumBands()-1]; for (int i=0; i<bands.length; i++) bands[i] = i; WritableRaster subWr; subWr = wr.createWritableChild(wr.getMinX(), wr.getMinY(), wr.getWidth(), wr.getHeight(), wr.getMinX(), wr.getMinY(), bands); srcRed.copyData(subWr); Rectangle rgn = wr.getBounds(); rgn = rgn.intersection(alphaRed.getBounds()); bands = new int [] { wr.getNumBands()-1 }; subWr = wr.createWritableChild(rgn.x, rgn.y, rgn.width, rgn.height, rgn.x, rgn.y, bands); alphaRed.copyData(subWr); return wr; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/7a0559e3f8329ea840683754f1218deeb20d367b/MultiplyAlphaRed.java/clean/sources/org/apache/batik/ext/awt/image/rendered/MultiplyAlphaRed.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14505, 18637, 1610, 751, 12, 12061, 18637, 12408, 13, 288, 3639, 368, 968, 3399, 1084, 18, 3639, 23782, 429, 3715, 1705, 3715, 282, 273, 261, 11309, 429, 3715, 13, 588, 8628, 7675, 588, 12, 20, 1769, 3639, 23782, 429, 3715, 4190, 3715, 273, 261, 11309, 429, 3715, 13, 588, 8628, 7675, 588, 12, 21, 1769, 3639, 309, 261, 291, 67, 3217, 67, 12231, 67, 15377, 67, 10057, 12, 4816, 3715, 18, 588, 8504, 1488, 9334, 21394, 4190, 3715, 18, 588, 8504, 1488, 1435, 3719, 5411, 327, 6137, 67, 12231, 67, 15377, 67, 10057, 67, 2828, 12, 91, 86, 1769, 3639, 5563, 1488, 5003, 273, 1705, 3715, 18, 588, 2957, 1488, 5621, 3639, 309, 261, 7670, 18, 5332, 9690, 10756, 288, 5411, 368, 17009, 711, 4190, 1904, 1427, 732, 999, 518, 18, 5411, 1705, 3715, 18, 3530, 751, 12, 91, 86, 1769, 5411, 13264, 436, 1600, 273, 12408, 18, 588, 5694, 5621, 5411, 436, 1600, 273, 436, 1600, 18, 30231, 12, 5429, 3715, 18, 588, 5694, 10663, 13491, 509, 5378, 12408, 751, 565, 273, 446, 31, 5411, 509, 5378, 4190, 751, 273, 446, 31, 5411, 30757, 436, 273, 4190, 3715, 18, 588, 751, 12, 86, 1600, 1769, 5411, 509, 565, 341, 273, 436, 1600, 18, 2819, 31, 5411, 727, 509, 18960, 273, 1705, 3715, 18, 588, 8504, 1488, 7675, 588, 2578, 26554, 5621, 5411, 309, 261, 7670, 18, 291, 9690, 1386, 7027, 3110, 10756, 288, 7734, 364, 261, 474, 677, 33, 86, 1600, 18, 93, 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, 14505, 18637, 1610, 751, 12, 12061, 18637, 12408, 13, 288, 3639, 368, 968, 3399, 1084, 18, 3639, 23782, 429, 3715, 1705, 3715, 282, 273, 261, 11309, 429, 3715, 13, 588, 8628, 7675, 588, 12, 20, 1769, 3639, 23782, 429, 3715, 4190, 3715, 273, 261, 11309, 429, 3715, 13, 588, 8628, 7675, 588, 12, 21, 1769, 3639, 309, 261, 291, 67, 3217, 67, 12231, 67, 15377, 67, 10057, 12, 4816, 3715, 18, 588, 8504, 1488, 9334, 21394, 4190, 3715, 18, 588, 8504, 1488, 1435, 3719, 5411, 327, 6137, 67, 12231, 67, 15377, 67, 10057, 67, 2828, 12, 91, 86, 1769, 3639, 5563, 1488, 5003, 273, 1705, 3715, 18, 588, 2957, 1488, 5621, 3639, 309, 261, 7670, 18, 5332, 2 ]
public int getLength() { if(hasCache()) { // If this NodeSequence wraps a mutable nodeset, then // m_last will not reflect the size of the nodeset if // it has been mutated... if (m_iter instanceof NodeSetDTM) { return m_iter.getLength(); } if(-1 == m_last) { int pos = m_next; runTo(-1); m_next = pos; } return m_last; } else { return (-1 == m_last) ? (m_last = m_iter.getLength()) : m_last; } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/9938cb297f5c5e836be49536ec22f4638b06af37/NodeSequence.java/clean/src/org/apache/xpath/axes/NodeSequence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 474, 588, 1782, 1435, 95, 202, 430, 12, 5332, 1649, 10756, 202, 95, 759, 2047, 2211, 907, 4021, 91, 7506, 301, 322, 378, 1897, 1145, 278, 16, 15991, 759, 81, 67, 2722, 20194, 902, 1734, 1582, 7915, 554, 792, 15991, 1145, 278, 430, 759, 483, 345, 2196, 275, 10735, 690, 2777, 430, 12, 81, 67, 2165, 1336, 792, 907, 694, 9081, 49, 15329, 2463, 81, 67, 2165, 18, 588, 1782, 5621, 97, 202, 202, 430, 19236, 21, 631, 81, 67, 2722, 13, 202, 202, 95, 1082, 202, 474, 917, 33, 81, 67, 4285, 31, 1082, 202, 2681, 774, 19236, 21, 1769, 1082, 202, 81, 67, 4285, 33, 917, 31, 202, 202, 97, 202, 2463, 81, 67, 2722, 31, 202, 97, 202, 12107, 202, 95, 202, 202, 2463, 19236, 21, 631, 81, 67, 2722, 9945, 12, 81, 67, 2722, 33, 81, 67, 2165, 18, 588, 1782, 1435, 4672, 81, 67, 2722, 31, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 474, 588, 1782, 1435, 95, 202, 430, 12, 5332, 1649, 10756, 202, 95, 759, 2047, 2211, 907, 4021, 91, 7506, 301, 322, 378, 1897, 1145, 278, 16, 15991, 759, 81, 67, 2722, 20194, 902, 1734, 1582, 7915, 554, 792, 15991, 1145, 278, 430, 759, 483, 345, 2196, 275, 10735, 690, 2777, 430, 12, 81, 67, 2165, 1336, 792, 907, 694, 9081, 49, 15329, 2463, 81, 67, 2165, 18, 588, 1782, 5621, 97, 202, 202, 430, 19236, 21, 631, 81, 67, 2722, 13, 202, 202, 95, 1082, 202, 474, 917, 33, 81, 67, 4285, 31, 1082, 202, 2681, 774, 19236, 21, 1769, 1082, 202, 81, 67, 4285, 33, 917, 31, 202, 202, 97, 202, 2463, 81, 67, 2722, 31, 2 ]
Reader in = new StringReader(source);
public Function compileFunction(Scriptable scope, String source, String sourceName, int lineno, Object securityDomain) { Reader in = new StringReader(source); try { return (Function) compile(scope, in, sourceName, lineno, securityDomain, true); } catch (IOException ioe) { // Should never happen because we just made the reader // from a String throw new RuntimeException(); } }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/8d78476dde863807579dcd20202decfcfcc9f7f1/Context.java/clean/js/rhino/src/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4284, 4074, 2083, 12, 3651, 429, 2146, 16, 514, 1084, 16, 4766, 565, 514, 28337, 16, 509, 7586, 16, 4766, 565, 1033, 4373, 3748, 13, 565, 288, 9079, 775, 288, 5411, 327, 261, 2083, 13, 4074, 12, 4887, 16, 316, 16, 28337, 16, 7586, 16, 4766, 1377, 4373, 3748, 16, 638, 1769, 3639, 289, 3639, 1044, 261, 14106, 10847, 13, 288, 5411, 368, 9363, 5903, 5865, 2724, 732, 2537, 7165, 326, 2949, 5411, 368, 628, 279, 514, 5411, 604, 394, 3235, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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377, 1071, 4284, 4074, 2083, 12, 3651, 429, 2146, 16, 514, 1084, 16, 4766, 565, 514, 28337, 16, 509, 7586, 16, 4766, 565, 1033, 4373, 3748, 13, 565, 288, 9079, 775, 288, 5411, 327, 261, 2083, 13, 4074, 12, 4887, 16, 316, 16, 28337, 16, 7586, 16, 4766, 1377, 4373, 3748, 16, 638, 1769, 3639, 289, 3639, 1044, 261, 14106, 10847, 13, 288, 5411, 368, 9363, 5903, 5865, 2724, 732, 2537, 7165, 326, 2949, 5411, 368, 628, 279, 514, 5411, 604, 394, 3235, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (node.getNumberChildren() > 1)
if (node != null && node.getNumberChildren() > 1)
private static int getMoveNumberInVariation(Node node) { int moveNumber = 0; while (node != null) { if (node.getMove() != null) ++moveNumber; node = node.getFather(); if (node.getNumberChildren() > 1) break; } return moveNumber; }
51310 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51310/c1f8241fa750ca0f14481b1c05d980426ccc7ede/Writer.java/clean/src/sgf/Writer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 2108, 841, 1854, 382, 23771, 12, 907, 756, 13, 565, 288, 3639, 509, 3635, 1854, 273, 374, 31, 3639, 1323, 261, 2159, 480, 446, 13, 3639, 288, 5411, 309, 261, 2159, 18, 588, 7607, 1435, 480, 446, 13, 7734, 965, 8501, 1854, 31, 5411, 756, 273, 756, 18, 588, 42, 4806, 5621, 5411, 309, 261, 2159, 480, 446, 597, 756, 18, 588, 1854, 4212, 1435, 405, 404, 13, 7734, 898, 31, 3639, 289, 3639, 327, 3635, 1854, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 2108, 841, 1854, 382, 23771, 12, 907, 756, 13, 565, 288, 3639, 509, 3635, 1854, 273, 374, 31, 3639, 1323, 261, 2159, 480, 446, 13, 3639, 288, 5411, 309, 261, 2159, 18, 588, 7607, 1435, 480, 446, 13, 7734, 965, 8501, 1854, 31, 5411, 756, 273, 756, 18, 588, 42, 4806, 5621, 5411, 309, 261, 2159, 480, 446, 597, 756, 18, 588, 1854, 4212, 1435, 405, 404, 13, 7734, 898, 31, 3639, 289, 3639, 327, 3635, 1854, 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 ]
catch (IOException ioe)
catch (MalformedURLException ignore)
public JarURLLoader(URLClassLoader classloader, URLStreamHandlerCache cache, URLStreamHandlerFactory factory, URL baseURL, URL absoluteUrl) { super(classloader, cache, factory, baseURL, absoluteUrl); this.classPath = null; URL baseJarURL = null; JarFile jarfile = null; try { // Cache url prefix for all resources in this jar url. String base = baseURL.toExternalForm() + "!/"; baseJarURL = new URL("jar", "", -1, base, cache.get(factory, "jar")); jarfile = ((JarURLConnection) baseJarURL.openConnection()).getJarFile(); Manifest manifest; Attributes attributes; String classPathString; this.classPath = new Vector(); ArrayList indexListHeaders = new IndexListParser(jarfile, baseJarURL, baseURL).getHeaders(); if (indexListHeaders.size() > 0) this.classPath.addAll(indexListHeaders); else if ((manifest = jarfile.getManifest()) != null && (attributes = manifest.getMainAttributes()) != null && ((classPathString = attributes.getValue(Attributes.Name.CLASS_PATH)) != null)) { StringTokenizer st = new StringTokenizer(classPathString, " "); while (st.hasMoreElements ()) { String e = st.nextToken (); try { this.classPath.add(new URL(baseURL, e)); } catch (java.net.MalformedURLException xx) { // Give up } } } } catch (IOException ioe) { /* ignored */ } this.baseJarURL = baseJarURL; this.jarfile = jarfile; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/eb537850a6328e1669b935f6b7241e49854a015c/JarURLLoader.java/buggy/gnu/java/net/loader/JarURLLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 15644, 1785, 2886, 12, 1785, 7805, 20595, 16, 1976, 1228, 1503, 1649, 1247, 16, 8227, 1976, 1228, 1503, 1733, 3272, 16, 8227, 1976, 17480, 16, 1976, 4967, 1489, 13, 225, 288, 565, 2240, 12, 1106, 6714, 16, 1247, 16, 3272, 16, 17480, 16, 4967, 1489, 1769, 565, 333, 18, 1106, 743, 273, 446, 31, 565, 1976, 1026, 10813, 1785, 273, 446, 31, 565, 15644, 812, 7334, 768, 273, 446, 31, 565, 775, 1377, 288, 3639, 368, 4379, 880, 1633, 364, 777, 2703, 316, 333, 7334, 880, 18, 3639, 514, 1026, 273, 17480, 18, 869, 6841, 1204, 1435, 397, 17528, 4898, 31, 3639, 1026, 10813, 1785, 273, 394, 1976, 2932, 11930, 3113, 23453, 300, 21, 16, 1026, 16, 1247, 18, 588, 12, 6848, 16, 315, 11930, 7923, 1769, 7734, 7334, 768, 273, 1850, 14015, 10813, 14790, 13, 1026, 10813, 1785, 18, 3190, 1952, 1435, 2934, 588, 10813, 812, 5621, 7734, 15443, 5643, 31, 3639, 9055, 1677, 31, 3639, 514, 22503, 780, 31, 3639, 333, 18, 1106, 743, 273, 394, 5589, 5621, 7734, 2407, 770, 682, 3121, 273, 394, 3340, 682, 2678, 12, 11930, 768, 16, 1026, 10813, 1785, 16, 17480, 2934, 588, 3121, 5621, 3639, 309, 261, 1615, 682, 3121, 18, 1467, 1435, 405, 374, 13, 1850, 333, 18, 1106, 743, 18, 1289, 1595, 12, 1615, 682, 3121, 1769, 3639, 469, 309, 14015, 14357, 273, 7334, 768, 18, 588, 9121, 10756, 480, 446, 5411, 597, 261, 4350, 273, 5643, 18, 588, 6376, 2498, 10756, 480, 446, 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, 15644, 1785, 2886, 12, 1785, 7805, 20595, 16, 1976, 1228, 1503, 1649, 1247, 16, 8227, 1976, 1228, 1503, 1733, 3272, 16, 8227, 1976, 17480, 16, 1976, 4967, 1489, 13, 225, 288, 565, 2240, 12, 1106, 6714, 16, 1247, 16, 3272, 16, 17480, 16, 4967, 1489, 1769, 565, 333, 18, 1106, 743, 273, 446, 31, 565, 1976, 1026, 10813, 1785, 273, 446, 31, 565, 15644, 812, 7334, 768, 273, 446, 31, 565, 775, 1377, 288, 3639, 368, 4379, 880, 1633, 364, 777, 2703, 316, 333, 7334, 880, 18, 3639, 514, 1026, 273, 17480, 18, 869, 6841, 1204, 1435, 397, 17528, 4898, 31, 3639, 1026, 10813, 1785, 273, 394, 1976, 2932, 11930, 3113, 23453, 300, 21, 16, 1026, 16, 2 ]
if(queue.isEmpty()) break;
if(queue.isEmpty()) continue outer;
public void run() { while(true) { SingleBlockInserter sbi = null; synchronized(this) { try { wait(100*1000); } catch (InterruptedException e) { // Ignore } while(true) { if(queue.isEmpty()) break; WeakReference ref = (WeakReference) queue.remove(queue.size()-1); sbi = (SingleBlockInserter) ref.get(); if(sbi == null) continue; } } if(sbi.isFinished()) continue; if(sbi.resultingURI != null) continue; sbi.tryEncode(); } }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/13b62b5ea25ebaca48a7fc583b2f3d56532cf832/BackgroundBlockEncoder.java/clean/src/freenet/client/async/BackgroundBlockEncoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 17523, 12, 3767, 13, 288, 1082, 202, 5281, 1768, 382, 550, 387, 2393, 77, 273, 446, 31, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 698, 288, 6862, 202, 7048, 12, 6625, 14, 18088, 1769, 9506, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 6862, 202, 759, 8049, 9506, 202, 97, 9506, 202, 17523, 12, 3767, 13, 288, 6862, 202, 430, 12, 4000, 18, 291, 1921, 10756, 898, 31, 6862, 202, 3218, 581, 2404, 1278, 273, 261, 3218, 581, 2404, 13, 2389, 18, 4479, 12, 4000, 18, 1467, 1435, 17, 21, 1769, 6862, 202, 87, 13266, 273, 261, 5281, 1768, 382, 550, 387, 13, 1278, 18, 588, 5621, 6862, 202, 430, 12, 87, 13266, 422, 446, 13, 1324, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 12, 87, 13266, 18, 291, 10577, 10756, 1324, 31, 1082, 202, 430, 12, 87, 13266, 18, 2088, 310, 3098, 480, 446, 13, 1324, 31, 1082, 202, 87, 13266, 18, 698, 5509, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 482, 918, 1086, 1435, 288, 202, 202, 17523, 12, 3767, 13, 288, 1082, 202, 5281, 1768, 382, 550, 387, 2393, 77, 273, 446, 31, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 698, 288, 6862, 202, 7048, 12, 6625, 14, 18088, 1769, 9506, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 6862, 202, 759, 8049, 9506, 202, 97, 9506, 202, 17523, 12, 3767, 13, 288, 6862, 202, 430, 12, 4000, 18, 291, 1921, 10756, 898, 31, 6862, 202, 3218, 581, 2404, 1278, 273, 261, 3218, 581, 2404, 13, 2389, 18, 4479, 12, 4000, 18, 1467, 1435, 17, 21, 1769, 6862, 202, 87, 13266, 273, 261, 5281, 1768, 382, 550, 387, 13, 1278, 18, 588, 5621, 2 ]
final void setPropertyChangeIgnored(String name, boolean ignore) { setPropertyChangeIgnored(name, NO_VALUE, ignore);
final void setPropertyChangeIgnored(String name, Object value, boolean ignore) { if (ignore) { ignoredProperties.put(name, value); } else { ignoredProperties.remove(name); }
final void setPropertyChangeIgnored(String name, boolean ignore) { setPropertyChangeIgnored(name, NO_VALUE, ignore); }
51553 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51553/24e02545b42a490e7acd2cb4e45328f823b29e40/ComponentRenderer.java/buggy/src/thinwire/render/web/ComponentRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 918, 7486, 3043, 15596, 12, 780, 508,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 918, 7486, 3043, 15596, 12, 780, 508, 16, 1250, 2305, 13, 288, 3639, 7486, 3043, 15596, 12, 529, 16, 3741, 67, 4051, 16, 2305, 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 ]
WorkbenchHelp.setHelp(getControl(), IHelpContextIds.FONT_PREFERENCE_PAGE);
WorkbenchHelp.setHelp( getControl(), IHelpContextIds.FONT_PREFERENCE_PAGE);
public Control createContents(Composite parent) { WorkbenchHelp.setHelp(getControl(), IHelpContextIds.FONT_PREFERENCE_PAGE); Font defaultFont = parent.getFont(); Composite mainColumn = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); layout.numColumns = 2; layout.marginWidth = 0; layout.marginHeight = 0; layout.makeColumnsEqualWidth = true; mainColumn.setFont(defaultFont); mainColumn.setLayout(layout); createFontList(mainColumn); Composite previewColumn = new Composite(mainColumn, SWT.NULL); layout = new GridLayout(); layout.numColumns = 1; layout.marginHeight = 0; layout.marginWidth = 0; previewColumn.setLayout(layout); GridData data = new GridData(GridData.FILL_BOTH); data.grabExcessHorizontalSpace = true; previewColumn.setLayoutData(data); previewColumn.setFont(defaultFont); createPreviewControl(previewColumn); createValueControl(previewColumn); Composite buttonColumn = new Composite(previewColumn, SWT.NULL); layout = new GridLayout(); layout.numColumns = 2; layout.marginHeight = 0; layout.marginWidth = 0; buttonColumn.setLayout(layout); data = new GridData(GridData.HORIZONTAL_ALIGN_END); buttonColumn.setLayoutData(data); buttonColumn.setFont(defaultFont); createUseDefaultsControl( buttonColumn, WorkbenchMessages.getString("FontsPreference.useSystemFont")); //$NON-NLS-1$ createChangeControl(buttonColumn, JFaceResources.getString("openChange")); //$NON-NLS-1$ return mainColumn; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1bba6e68027322eb4457204fdeda19454e06701c/FontPreferencePage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FontPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8888, 752, 6323, 12, 9400, 982, 13, 288, 202, 202, 2421, 22144, 6696, 18, 542, 6696, 12, 588, 3367, 9334, 467, 6696, 1042, 2673, 18, 25221, 67, 3670, 10830, 67, 11219, 1769, 202, 202, 5711, 805, 5711, 273, 982, 18, 588, 5711, 5621, 9506, 202, 9400, 2774, 1494, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 6741, 18, 6540, 3380, 5812, 2384, 273, 638, 31, 202, 202, 5254, 1494, 18, 542, 5711, 12, 1886, 5711, 1769, 202, 202, 5254, 1494, 18, 542, 3744, 12, 6741, 1769, 202, 202, 2640, 5711, 682, 12, 5254, 1494, 1769, 202, 202, 9400, 10143, 1494, 273, 394, 14728, 12, 5254, 1494, 16, 348, 8588, 18, 8560, 1769, 202, 202, 6741, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 404, 31, 202, 202, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 12102, 1494, 18, 542, 3744, 12, 6741, 1769, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 202, 202, 892, 18, 2752, 70, 424, 614, 14457, 3819, 273, 638, 31, 202, 202, 12102, 1494, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 12102, 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, 8888, 752, 6323, 12, 9400, 982, 13, 288, 202, 202, 2421, 22144, 6696, 18, 542, 6696, 12, 588, 3367, 9334, 467, 6696, 1042, 2673, 18, 25221, 67, 3670, 10830, 67, 11219, 1769, 202, 202, 5711, 805, 5711, 273, 982, 18, 588, 5711, 5621, 9506, 202, 9400, 2774, 1494, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 6741, 18, 6540, 3380, 5812, 2384, 273, 638, 31, 202, 202, 5254, 1494, 18, 542, 5711, 12, 1886, 2 ]
return additionalRules.isAllowedTraitValue(new ValuedTraitType(traitType, value), collection);
return additionalRules.isAllowedTraitValue(new ValuedTraitType(traitType, value), context.getTraitCollection());
public boolean isValidNewValue(int value) { return additionalRules.isAllowedTraitValue(new ValuedTraitType(traitType, value), collection); }
51790 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51790/0c9be95dd762287f359d7d5821f52f808a10e587/AdditionRulesTraitValueChangeChecker.java/buggy/Character_Main_Impl/src/net/sf/anathema/character/impl/model/traits/creation/AdditionRulesTraitValueChangeChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 4908, 1908, 620, 12, 474, 460, 13, 288, 565, 327, 3312, 4478, 18, 291, 5042, 15525, 620, 12, 2704, 776, 15730, 15525, 559, 12, 22513, 559, 16, 460, 3631, 819, 18, 588, 15525, 2532, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 4908, 1908, 620, 12, 474, 460, 13, 288, 565, 327, 3312, 4478, 18, 291, 5042, 15525, 620, 12, 2704, 776, 15730, 15525, 559, 12, 22513, 559, 16, 460, 3631, 819, 18, 588, 15525, 2532, 10663, 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 ]
public Update(DBBroker broker, DocumentSet docs, String selectStmt, Map namespaces) { super(broker, docs, selectStmt, namespaces); }
public Update(DBBroker broker, DocumentSet docs, String selectStmt, Map namespaces) { super(broker, docs, selectStmt, namespaces); }
public Update(DBBroker broker, DocumentSet docs, String selectStmt, Map namespaces) { super(broker, docs, selectStmt, namespaces); }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/036ccdd3fe4cdde6cf0f24f284e57caec99eaa4a/Update.java/buggy/src/org/exist/xupdate/Update.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2315, 12, 2290, 11194, 8625, 16, 4319, 694, 3270, 16, 514, 2027, 8952, 16, 1635, 7728, 13, 288, 202, 202, 9565, 12, 21722, 16, 3270, 16, 2027, 8952, 16, 7728, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2315, 12, 2290, 11194, 8625, 16, 4319, 694, 3270, 16, 514, 2027, 8952, 16, 1635, 7728, 13, 288, 202, 202, 9565, 12, 21722, 16, 3270, 16, 2027, 8952, 16, 7728, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Enumeration getPropertyNames() { Set v = new HashSet(); // get properties from PropertyManager Map map = container.getContainerServices() .getPortalCallbackService() .getRequestProperties(getHttpServletRequest(), internalPortletWindow); if (map != null) { v.addAll(map.keySet()); } // get properties from request header Enumeration props = this.getHttpServletRequest().getHeaderNames(); if (props != null) { while (props.hasMoreElements()) { v.add(props.nextElement()); } } return new Enumerator(v.iterator()); }
51810 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51810/c89f6048e4dfc14fe5551c9172739d51e214a696/PortletRequestImpl.java/clean/pluto-container/src/main/java/org/apache/pluto/core/impl/PortletRequestImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13864, 3911, 1557, 1435, 288, 3639, 1000, 331, 273, 394, 6847, 5621, 10402, 368, 336, 1790, 628, 4276, 1318, 3639, 1635, 852, 273, 1478, 18, 588, 2170, 5676, 1435, 7734, 263, 588, 24395, 2428, 1179, 1435, 7734, 263, 588, 691, 2297, 12, 588, 2940, 18572, 9334, 2713, 18566, 3829, 1769, 7734, 309, 261, 1458, 480, 446, 13, 288, 5411, 331, 18, 1289, 1595, 12, 1458, 18, 856, 694, 10663, 3639, 289, 3639, 368, 336, 1790, 628, 590, 1446, 3639, 13864, 3458, 273, 333, 18, 588, 2940, 18572, 7675, 588, 1864, 1557, 5621, 3639, 309, 261, 9693, 480, 446, 13, 288, 5411, 1323, 261, 9693, 18, 5332, 7417, 3471, 10756, 288, 7734, 331, 18, 1289, 12, 9693, 18, 4285, 1046, 10663, 5411, 289, 3639, 289, 3639, 327, 394, 6057, 7385, 12, 90, 18, 9838, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13864, 3911, 1557, 1435, 288, 3639, 1000, 331, 273, 394, 6847, 5621, 10402, 368, 336, 1790, 628, 4276, 1318, 3639, 1635, 852, 273, 1478, 18, 588, 2170, 5676, 1435, 7734, 263, 588, 24395, 2428, 1179, 1435, 7734, 263, 588, 691, 2297, 12, 588, 2940, 18572, 9334, 2713, 18566, 3829, 1769, 7734, 309, 261, 1458, 480, 446, 13, 288, 5411, 331, 18, 1289, 1595, 12, 1458, 18, 856, 694, 10663, 3639, 289, 3639, 368, 336, 1790, 628, 590, 1446, 3639, 13864, 3458, 273, 333, 18, 588, 2940, 18572, 7675, 588, 1864, 1557, 5621, 3639, 309, 261, 9693, 480, 446, 13, 288, 5411, 1323, 261, 9693, 18, 5332, 7417, 3471, 10756, 288, 7734, 331, 18, 1289, 12, 9693, 18, 2 ]
excptn.printStackTrace(new PrintWriter(stackTrace));
exception.printStackTrace(new PrintWriter(stackTrace));
public void handleNativeException(Exception excptn) { Class excptnClass = excptn.getClass(); RubyProc handler = (RubyProc)exceptionHandlers.get(excptnClass.getName()); while (handler == null && excptnClass != Exception.class) { excptnClass = excptnClass.getSuperclass(); } if (handler != null) { handler.call(new IRubyObject[]{JavaUtil.convertJavaToRuby(ruby, excptn)}); } else { StringWriter stackTrace = new StringWriter(); excptn.printStackTrace(new PrintWriter(stackTrace)); StringBuffer sb = new StringBuffer(); sb.append("Native Exception: '"); sb.append(excptn.getClass()).append("\'; Message: "); sb.append(excptn.getMessage()); sb.append("; StackTrace: "); sb.append(stackTrace.getBuffer().toString()); throw new RaiseException(ruby, "RuntimeError", sb.toString()); } }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/12474ae3e4d78d19edc11ac6e29bd9d6e4c50405/JavaSupport.java/clean/org/jruby/javasupport/JavaSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 9220, 503, 12, 503, 3533, 337, 82, 13, 288, 3639, 1659, 3533, 337, 82, 797, 273, 3533, 337, 82, 18, 588, 797, 5621, 3639, 19817, 15417, 1838, 273, 261, 54, 10340, 15417, 13, 4064, 6919, 18, 588, 12, 10075, 337, 82, 797, 18, 17994, 10663, 3639, 1323, 261, 4176, 422, 446, 597, 9079, 3533, 337, 82, 797, 480, 1185, 18, 1106, 13, 288, 5411, 3533, 337, 82, 797, 273, 3533, 337, 82, 797, 18, 588, 28471, 5621, 3639, 289, 3639, 309, 261, 4176, 480, 446, 13, 288, 5411, 1838, 18, 1991, 12, 2704, 15908, 10340, 921, 63, 7073, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 3533, 337, 82, 16869, 1769, 3639, 289, 469, 288, 5411, 17436, 22327, 273, 394, 17436, 5621, 5411, 1520, 18, 1188, 6332, 12, 2704, 14071, 12, 3772, 3448, 10019, 5411, 6674, 2393, 273, 394, 6674, 5621, 5411, 2393, 18, 6923, 2932, 9220, 1185, 30, 2119, 1769, 5411, 2393, 18, 6923, 12, 10075, 337, 82, 18, 588, 797, 1435, 2934, 6923, 2932, 3730, 31, 2350, 30, 315, 1769, 5411, 2393, 18, 6923, 12, 10075, 337, 82, 18, 24906, 10663, 5411, 2393, 18, 6923, 2932, 31, 22164, 30, 315, 1769, 5411, 2393, 18, 6923, 12, 3772, 3448, 18, 588, 1892, 7675, 10492, 10663, 5411, 604, 394, 20539, 503, 12, 27768, 16, 315, 5576, 668, 3113, 2393, 18, 10492, 10663, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 9220, 503, 12, 503, 3533, 337, 82, 13, 288, 3639, 1659, 3533, 337, 82, 797, 273, 3533, 337, 82, 18, 588, 797, 5621, 3639, 19817, 15417, 1838, 273, 261, 54, 10340, 15417, 13, 4064, 6919, 18, 588, 12, 10075, 337, 82, 797, 18, 17994, 10663, 3639, 1323, 261, 4176, 422, 446, 597, 9079, 3533, 337, 82, 797, 480, 1185, 18, 1106, 13, 288, 5411, 3533, 337, 82, 797, 273, 3533, 337, 82, 797, 18, 588, 28471, 5621, 3639, 289, 3639, 309, 261, 4176, 480, 446, 13, 288, 5411, 1838, 18, 1991, 12, 2704, 15908, 10340, 921, 63, 7073, 5852, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 3533, 337, 82, 16869, 1769, 3639, 2 ]
textItemHandle .setContentType( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML );
textItemHandle.setContentType( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML );
public boolean preHandleMouseUp( ) { String type = (String) getRequest( ).getNewObjectType( ); String text = null; ModuleHandle reportHandle = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ); // TextItemHandle textItemHandle = SessionHandleAdapter.getInstance( // ) // .getReportDesignHandle( ) // .getElementFactory( ) // .newTextItem( null ); TextItemHandle textItemHandle = DesignElementFactory.getInstance( ) .newTextItem( null ); try { if ( IReportElementConstants.AUTOTEXT_PAGE .equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_PAGE + "<value-of>pageNumber</value-of>"; //$NON-NLS-1$ textItemHandle .setContentType( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML ); } else if ( IReportElementConstants.AUTOTEXT_DATE .equalsIgnoreCase( type ) ) { text = "<value-of>new Date()</value-of>"; //$NON-NLS-1$ textItemHandle .setContentType( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML ); } else if ( IReportElementConstants.AUTOTEXT_CREATEDON .equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_CREATE_ON + "<value-of>new Date()</value-of>"; //$NON-NLS-1$ textItemHandle .setContentType( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML ); } else if ( IReportElementConstants.AUTOTEXT_CREATEDBY .equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_CREATE_BY; String author = reportHandle.getAuthor( ); if ( author != null ) { text += author; } else { String pluginVersion = (String) ReportPlugin .getDefault( ) .getBundle( ) .getHeaders( ) .get( org.osgi.framework.Constants.BUNDLE_VERSION ); text += DEFAULT_AUTHOR + " " //$NON-NLS-1$ + pluginVersion; } } else if ( IReportElementConstants.AUTOTEXT_FILENAME .equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_FILENAME + reportHandle.getFileName( ); } else if ( IReportElementConstants.AUTOTEXT_LASTPRINTED .equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_LAST_PRINTED + "<value-of>new Date()</value-of>"; //$NON-NLS-1$ textItemHandle .setContentType( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML ); } else if ( IReportElementConstants.AUTOTEXT_PAGEXOFY .equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_PAGE_X_OF_Y; } else if ( !IReportElementConstants.REPORT_ELEMENT_TEXT .equalsIgnoreCase( type ) ) { return false; } if ( text != null ) { textItemHandle.setContent( text ); } } catch ( SemanticException e ) { ExceptionHandler.handle( e ); } setModel( textItemHandle ); return super.preHandleMouseUp( ); } /*
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/8881b5505fc0ba3f08558dcedf523f0b91dfcba5/BasePaletteFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/palette/BasePaletteFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 675, 3259, 9186, 1211, 12, 262, 202, 202, 95, 1082, 202, 780, 618, 273, 261, 780, 13, 4328, 12, 262, 18, 588, 1908, 17610, 12, 11272, 1082, 202, 780, 977, 273, 446, 31, 1082, 202, 3120, 3259, 2605, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 6862, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 1082, 202, 759, 3867, 1180, 3259, 977, 1180, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 1082, 202, 759, 262, 1082, 202, 759, 263, 588, 4820, 15478, 3259, 12, 262, 1082, 202, 759, 263, 21336, 1733, 12, 262, 1082, 202, 759, 263, 2704, 1528, 1180, 12, 446, 11272, 1082, 202, 1528, 1180, 3259, 977, 1180, 3259, 273, 29703, 1046, 1733, 18, 588, 1442, 12, 262, 6862, 202, 18, 2704, 1528, 1180, 12, 446, 11272, 1082, 202, 698, 1082, 202, 95, 9506, 202, 430, 261, 467, 4820, 1046, 2918, 18, 18909, 5151, 67, 11219, 25083, 202, 18, 14963, 5556, 12, 618, 262, 262, 9506, 202, 95, 6862, 202, 955, 273, 17191, 5151, 67, 13545, 67, 11219, 6862, 1082, 202, 15, 3532, 1132, 17, 792, 34, 2433, 1854, 1757, 1132, 17, 792, 2984, 31, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 955, 1180, 3259, 6862, 202, 18, 542, 8046, 12, 29703, 10538, 2918, 18, 5151, 67, 9689, 67, 2399, 67, 4870, 11272, 6862, 6862, 202, 97, 9506, 202, 12107, 309, 261, 467, 4820, 1046, 2918, 18, 18909, 5151, 67, 4594, 25083, 202, 18, 14963, 5556, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 675, 3259, 9186, 1211, 12, 262, 202, 202, 95, 1082, 202, 780, 618, 273, 261, 780, 13, 4328, 12, 262, 18, 588, 1908, 17610, 12, 11272, 1082, 202, 780, 977, 273, 446, 31, 1082, 202, 3120, 3259, 2605, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 6862, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 1082, 202, 759, 3867, 1180, 3259, 977, 1180, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 1082, 202, 759, 262, 1082, 202, 759, 263, 588, 4820, 15478, 3259, 12, 262, 1082, 202, 759, 263, 21336, 1733, 12, 262, 1082, 202, 759, 263, 2704, 1528, 1180, 12, 446, 11272, 1082, 202, 1528, 1180, 3259, 977, 1180, 3259, 273, 2 ]
if(error)
if(error) {
private void setError(boolean err) { error = err; if(error) errorFlag = true; }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/19452beb7a1ae6b1eb14ef6e92feb0fbb95f69b4/JikesOutputParser.java/clean/src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 9967, 12, 6494, 393, 13, 288, 3639, 555, 273, 393, 31, 3639, 309, 12, 1636, 13, 288, 5411, 555, 4678, 273, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 9967, 12, 6494, 393, 13, 288, 3639, 555, 273, 393, 31, 3639, 309, 12, 1636, 13, 288, 5411, 555, 4678, 273, 638, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void xop(byte shortOp, byte op, short local) {
private void xop(byte shortOp, byte op, short local) {
private void xop(byte shortOp, byte op, short local) { switch (local) { case 0: addByteCode(shortOp); break; case 1: addByteCode((byte)(shortOp + 1)); break; case 2: addByteCode((byte)(shortOp + 2)); break; case 3: addByteCode((byte)(shortOp + 3)); break; default: if (local < 0 || local >= Short.MAX_VALUE) throw new RuntimeException("bad local"); if (local < Byte.MAX_VALUE) { addByteCode(op, (byte)local); } else { // Add wide opcode. addByteCode(ByteCode.WIDE); addByteCode(op); addByteCode((byte)(local >> 8)); addByteCode((byte)(local & 0xff)); } break; } }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/e741d0cb339d08bcfa9cb588bcb30951ac0436be/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 619, 556, 12, 7229, 3025, 3817, 16, 1160, 1061, 16, 3025, 1191, 13, 288, 3639, 1620, 261, 3729, 13, 288, 1850, 648, 374, 30, 5411, 527, 3216, 1085, 12, 6620, 3817, 1769, 5411, 898, 31, 1850, 648, 404, 30, 5411, 527, 3216, 1085, 12443, 7229, 21433, 6620, 3817, 397, 404, 10019, 5411, 898, 31, 1850, 648, 576, 30, 5411, 527, 3216, 1085, 12443, 7229, 21433, 6620, 3817, 397, 576, 10019, 5411, 898, 31, 1850, 648, 890, 30, 5411, 527, 3216, 1085, 12443, 7229, 21433, 6620, 3817, 397, 890, 10019, 5411, 898, 31, 1850, 805, 30, 5411, 309, 261, 3729, 411, 374, 747, 1191, 1545, 7925, 18, 6694, 67, 4051, 13, 7734, 604, 394, 3235, 2932, 8759, 1191, 8863, 5411, 309, 261, 3729, 411, 3506, 18, 6694, 67, 4051, 13, 288, 7734, 527, 3216, 1085, 12, 556, 16, 261, 7229, 13, 3729, 1769, 5411, 289, 469, 288, 7734, 368, 1436, 14812, 11396, 18, 7734, 527, 3216, 1085, 12, 3216, 1085, 18, 59, 10385, 1769, 7734, 527, 3216, 1085, 12, 556, 1769, 7734, 527, 3216, 1085, 12443, 7229, 21433, 3729, 1671, 1725, 10019, 7734, 527, 3216, 1085, 12443, 7229, 21433, 3729, 473, 374, 5297, 10019, 5411, 289, 5411, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 918, 619, 556, 12, 7229, 3025, 3817, 16, 1160, 1061, 16, 3025, 1191, 13, 288, 3639, 1620, 261, 3729, 13, 288, 1850, 648, 374, 30, 5411, 527, 3216, 1085, 12, 6620, 3817, 1769, 5411, 898, 31, 1850, 648, 404, 30, 5411, 527, 3216, 1085, 12443, 7229, 21433, 6620, 3817, 397, 404, 10019, 5411, 898, 31, 1850, 648, 576, 30, 5411, 527, 3216, 1085, 12443, 7229, 21433, 6620, 3817, 397, 576, 10019, 5411, 898, 31, 1850, 648, 890, 30, 5411, 527, 3216, 1085, 12443, 7229, 21433, 6620, 3817, 397, 890, 10019, 5411, 898, 31, 1850, 805, 30, 5411, 309, 261, 3729, 411, 374, 747, 1191, 1545, 7925, 18, 6694, 67, 4051, 13, 7734, 604, 394, 3235, 2932, 8759, 2 ]
if (selectByDone) return done == (item.getDone() == 1);
if (selectByDone) return done == (item.getDone() == 1);
private boolean selectByDone(TaskMarker item) { if (selectByDone) return done == (item.getDone() == 1); return true; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1ceb585b9b16047c6c580984b0c9962c41a22ba6/TaskFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TaskFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 2027, 858, 7387, 12, 2174, 7078, 761, 13, 288, 3639, 309, 261, 4025, 858, 7387, 13, 5411, 327, 2731, 422, 261, 1726, 18, 588, 7387, 1435, 422, 404, 1769, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( plugin.getArtifactId().equals("maven-compiler-plugin") )
if ( plugin.getArtifactId().equals( "maven-compiler-plugin" ) )
private void writeEclipseSettings( File projectBaseDir, File outputDir, MavenProject project, MavenProject executedProject ) throws EclipsePluginException { // check if it's necessary to create project specific settings Properties coreSettings = new Properties(); // FIXME: need a better way to do this for ( Iterator it = project.getModel().getBuild().getPlugins().iterator(); it.hasNext(); ) { Plugin plugin = (Plugin) it.next(); if ( plugin.getArtifactId().equals("maven-compiler-plugin") ) { Xpp3Dom o = (Xpp3Dom) plugin.getConfiguration(); String source = o.getChild( "source" ).getValue(); String target = o.getChild( "target" ).getValue(); if ( !source.equals("1.3") ) { coreSettings.put( "org.eclipse.jdt.core.compiler.source", source ); coreSettings.put( "org.eclipse.jdt.core.compiler.compliance", source ); } if ( !target.equals("1.2") ) { coreSettings.put( "org.eclipse.jdt.core.compiler.codegen.targetPlatform", target ); } } } // write the settings, if needed if ( ! coreSettings.isEmpty() ) { File settingsDir = new File( outputDir, "/.settings" ); settingsDir.mkdirs(); coreSettings.put( "eclipse.preferences.version", "1" ); try { File coreSettingsFile = new File( settingsDir, "org.eclipse.jdt.core.prefs" ); coreSettings.store( new FileOutputStream( coreSettingsFile ), null ); log.info( "Wrote settings to " + coreSettingsFile ); } catch (FileNotFoundException e) { throw new EclipsePluginException( "Cannot create settings file", e ); } catch (IOException e) { throw new EclipsePluginException( "Error writing settings file", e ); } } else { log.info( "Not writing settings - defaults suffice" ); } }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/d6bd62e537c6d132d2f95707a388d4ca74de6779/EclipseWriter.java/clean/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 23057, 10472, 2628, 12, 3639, 1387, 1984, 2171, 1621, 16, 1387, 21412, 16, 17176, 4109, 1984, 16, 17176, 4109, 7120, 4109, 565, 262, 3639, 1216, 20840, 10472, 3773, 503, 565, 288, 7734, 368, 866, 309, 518, 1807, 4573, 358, 752, 1984, 2923, 1947, 7734, 6183, 2922, 2628, 273, 394, 6183, 5621, 7734, 368, 9852, 30, 1608, 279, 7844, 4031, 358, 741, 333, 3639, 364, 261, 4498, 518, 273, 1984, 18, 588, 1488, 7675, 588, 3116, 7675, 588, 9461, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 6258, 1909, 273, 261, 3773, 13, 518, 18, 4285, 5621, 13491, 309, 261, 1909, 18, 588, 7581, 548, 7675, 14963, 12, 315, 81, 7638, 17, 9576, 17, 4094, 6, 262, 262, 5411, 288, 7734, 1139, 11858, 23, 8832, 320, 273, 261, 60, 11858, 23, 8832, 13, 1909, 18, 588, 1750, 5621, 7734, 514, 1084, 273, 320, 18, 588, 1763, 12, 315, 3168, 6, 262, 18, 24805, 5621, 27573, 514, 1018, 273, 320, 18, 588, 1763, 12, 315, 3299, 6, 262, 18, 24805, 5621, 27573, 309, 261, 401, 3168, 18, 14963, 2932, 21, 18, 23, 7923, 262, 7734, 288, 10792, 2922, 2628, 18, 458, 12, 315, 3341, 18, 20416, 18, 78, 7510, 18, 3644, 18, 9576, 18, 3168, 3113, 1084, 11272, 10792, 2922, 2628, 18, 458, 12, 315, 3341, 18, 20416, 18, 78, 7510, 18, 3644, 18, 9576, 18, 832, 10671, 3113, 1084, 11272, 7734, 289, 7734, 309, 261, 401, 3299, 18, 14963, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 23057, 10472, 2628, 12, 3639, 1387, 1984, 2171, 1621, 16, 1387, 21412, 16, 17176, 4109, 1984, 16, 17176, 4109, 7120, 4109, 565, 262, 3639, 1216, 20840, 10472, 3773, 503, 565, 288, 7734, 368, 866, 309, 518, 1807, 4573, 358, 752, 1984, 2923, 1947, 7734, 6183, 2922, 2628, 273, 394, 6183, 5621, 7734, 368, 9852, 30, 1608, 279, 7844, 4031, 358, 741, 333, 3639, 364, 261, 4498, 518, 273, 1984, 18, 588, 1488, 7675, 588, 3116, 7675, 588, 9461, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 6258, 1909, 273, 261, 3773, 13, 518, 18, 4285, 5621, 13491, 309, 261, 1909, 18, 588, 7581, 548, 7675, 14963, 12, 315, 81, 7638, 17, 2 ]
Object o = this.testFindCGCIHierarchies();
Object o = this.testFindDatasetAnnotationsSetForExperimenter();
public void testHessian(){ OMEData data = new OMEPerformanceData(); OMEData old = getData(); Set imgs = new HashSet(); imgs.add(new Integer(101)); imgs.add(new Integer(12)); imgs.add(new Integer(5393)); imgs.add(new Integer(4954)); imgs.add(new Integer(3919)); imgs.add(new Integer(1273)); data.imgsCGCI=imgs; setData(data); Object o = this.testFindCGCIHierarchies(); Utils.structureSize(o); setData(old); log.info(getData()); Utils.structureSize(this.testFindCGCIHierarchies()); Utils.structureSize(this.testFindDatasetAnnotationsSet()); Utils.structureSize(this.testFindDatasetAnnotationsSetForExperimenter()); Utils.structureSize(this.testFindImageAnnotationsSet()); Utils.structureSize(this.testFindImageAnnotationsSetForExperimenter()); Utils.structureSize(this.testFindPDIHierarchies()); Utils.structureSize(this.testLoadCGCIHierarchyCategory()); Utils.structureSize(this.testLoadCGCIHierarchyCategoryGroup()); Utils.structureSize(this.testLoadPDIHierarchyDataset()); Utils.structureSize(this.testLoadPDIHierarchyProject()); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5e29e25bb21b2a51d4b44f9fd80b5b876b782887/OmeroServiceTest.java/clean/components/server/test/org/openmicroscopy/omero/server/itests/OmeroServiceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 44, 20529, 1435, 95, 3639, 531, 958, 751, 501, 273, 394, 531, 958, 25024, 751, 5621, 3639, 531, 958, 751, 1592, 273, 4303, 5621, 3639, 1000, 25646, 273, 394, 6847, 5621, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 15168, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 2138, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 25, 5520, 23, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 7616, 6564, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 5520, 3657, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 2138, 9036, 10019, 3639, 501, 18, 381, 564, 20585, 7266, 33, 381, 564, 31, 3639, 7929, 12, 892, 1769, 3639, 1033, 320, 273, 333, 18, 3813, 3125, 10656, 5655, 694, 1290, 424, 457, 381, 2328, 5621, 3639, 6091, 18, 7627, 1225, 12, 83, 1769, 3639, 7929, 12, 1673, 1769, 3639, 613, 18, 1376, 12, 588, 751, 10663, 7734, 6091, 18, 7627, 1225, 12, 2211, 18, 3813, 3125, 20585, 7266, 44, 5148, 606, 10663, 3639, 6091, 18, 7627, 1225, 12, 2211, 18, 3813, 3125, 10656, 5655, 694, 10663, 3639, 6091, 18, 7627, 1225, 12, 2211, 18, 3813, 3125, 10656, 5655, 694, 1290, 424, 457, 381, 2328, 10663, 3639, 6091, 18, 7627, 1225, 12, 2211, 18, 3813, 3125, 2040, 5655, 694, 10663, 3639, 6091, 18, 7627, 1225, 12, 2211, 18, 3813, 3125, 2040, 5655, 694, 1290, 424, 457, 381, 2328, 10663, 3639, 6091, 18, 7627, 1225, 12, 2211, 18, 3813, 3125, 52, 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, 44, 20529, 1435, 95, 3639, 531, 958, 751, 501, 273, 394, 531, 958, 25024, 751, 5621, 3639, 531, 958, 751, 1592, 273, 4303, 5621, 3639, 1000, 25646, 273, 394, 6847, 5621, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 15168, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 2138, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 25, 5520, 23, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 7616, 6564, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 5520, 3657, 10019, 3639, 25646, 18, 1289, 12, 2704, 2144, 12, 2138, 9036, 10019, 3639, 501, 18, 381, 564, 20585, 7266, 33, 381, 564, 31, 3639, 7929, 12, 892, 1769, 3639, 1033, 320, 2 ]
final Object[] r = new BigDecimal[ array.arrayDescriptor().getNumberOfElements() ];
final Object[] r = new Object[ array.arrayDescriptor().getNumberOfElements() ];
protected final Object[] asArrayOfConsts( Object _value ) { if (_value instanceof ExpressionNodeForArrayReference) { final ExpressionNodeForArrayReference array = (ExpressionNodeForArrayReference) _value; final Object[] r = new BigDecimal[ array.arrayDescriptor().getNumberOfElements() ]; int i = 0; for (ExpressionNode cst : array.arguments()) { r[ i++ ] = ((ExpressionNodeForConstantValue) cst).value(); } return r; } else { throw new IllegalArgumentException(); } }
57629 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57629/f5fcfb2d537f251c4a4fa483f05a5d7cb1216954/InterpretedNumericType_Base.java/clean/src/classes/sej/internal/model/util/InterpretedNumericType_Base.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 1033, 8526, 23545, 951, 21543, 12, 1033, 389, 1132, 262, 202, 95, 202, 202, 430, 261, 67, 1132, 1276, 5371, 907, 1290, 1076, 2404, 13, 288, 1082, 202, 6385, 5371, 907, 1290, 1076, 2404, 526, 273, 261, 2300, 907, 1290, 1076, 2404, 13, 389, 1132, 31, 1082, 202, 6385, 1033, 8526, 436, 273, 394, 8150, 63, 526, 18, 1126, 3187, 7675, 588, 9226, 3471, 1435, 308, 31, 1082, 202, 474, 277, 273, 374, 31, 1082, 202, 1884, 261, 2300, 907, 276, 334, 294, 526, 18, 7099, 10756, 288, 9506, 202, 86, 63, 277, 9904, 308, 273, 14015, 2300, 907, 1290, 6902, 620, 13, 276, 334, 2934, 1132, 5621, 1082, 202, 97, 1082, 202, 2463, 436, 31, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 12849, 394, 2754, 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, 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1132, 1276, 5371, 907, 1290, 1076, 2404, 13, 288, 1082, 202, 6385, 5371, 907, 1290, 1076, 2404, 526, 273, 261, 2300, 907, 1290, 1076, 2404, 13, 389, 1132, 31, 1082, 202, 6385, 1033, 8526, 436, 273, 394, 8150, 63, 526, 18, 1126, 3187, 7675, 588, 9226, 3471, 1435, 308, 31, 1082, 202, 474, 277, 273, 374, 31, 1082, 202, 1884, 261, 2300, 907, 276, 334, 294, 526, 18, 7099, 10756, 288, 9506, 202, 86, 63, 277, 9904, 308, 273, 14015, 2300, 907, 1290, 6902, 620, 13, 276, 334, 2934, 1132, 5621, 1082, 202, 97, 1082, 202, 2463, 436, 2 ]
private void parseEnumeration (boolean isNames)
private void parseEnumeration(boolean isNames)
private void parseEnumeration (boolean isNames) throws Exception { dataBufferAppend ('('); // Read the first token. skipWhitespace (); dataBufferAppend (readNmtoken (isNames)); // Read the remaining tokens. skipWhitespace (); while (!tryRead (')')) { require ('|'); dataBufferAppend ('|'); skipWhitespace (); dataBufferAppend (readNmtoken (isNames)); skipWhitespace (); } dataBufferAppend (')'); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/0820da75b03035b7198673adb4bd8108184d0cd8/XmlParser.java/clean/libraries/javalib/gnu/xml/aelfred2/XmlParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1109, 21847, 12, 6494, 353, 1557, 13, 565, 1216, 1185, 565, 288, 202, 892, 1892, 5736, 7707, 2668, 1769, 202, 759, 2720, 326, 1122, 1147, 18, 202, 7457, 9431, 261, 1769, 202, 892, 1892, 5736, 261, 896, 50, 1010, 969, 261, 291, 1557, 10019, 202, 759, 2720, 326, 4463, 2430, 18, 202, 7457, 9431, 261, 1769, 202, 17523, 16051, 698, 1994, 7707, 2506, 3719, 288, 202, 565, 2583, 7707, 96, 8284, 202, 565, 501, 1892, 5736, 7707, 96, 8284, 202, 565, 2488, 9431, 261, 1769, 202, 565, 501, 1892, 5736, 261, 896, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1109, 21847, 12, 6494, 353, 1557, 13, 565, 1216, 1185, 565, 288, 202, 892, 1892, 5736, 7707, 2668, 1769, 202, 759, 2720, 326, 1122, 1147, 18, 202, 7457, 9431, 261, 1769, 202, 892, 1892, 5736, 261, 896, 50, 1010, 969, 261, 291, 1557, 10019, 202, 759, 2720, 326, 4463, 2430, 18, 202, 7457, 9431, 261, 1769, 202, 17523, 16051, 698, 1994, 7707, 2506, 3719, 288, 202, 565, 2583, 7707, 96, 8284, 202, 565, 501, 1892, 5736, 7707, 96, 8284, 202, 565, 2488, 9431, 261, 1769, 202, 565, 501, 1892, 5736, 261, 896, 50, 1010, 969, 261, 291, 1557, 10019, 202, 565, 2488, 9431, 261, 1769, 202, 97, 202, 892, 1892, 5736, 7707, 2506, 1769, 565, 289, 2 ]
if (b[i + 1] != r[i]) { fail("different content"); }
assertEquals("different content", b[i + 1], r[i]);
public void testUpdatebyteArrayintint() { byte [] b = {1, 2, 3, 4, 5}; byte [] r = c.update(b, 0, 5); if (b.length != r.length) { fail("different length"); } for (int i = 0; i < b.length; i++) { if (b[i] != r[i]) { fail("different content"); } } r = c.update(b, 1, 3); if (r.length != 3) { fail("different length"); } for (int i = 0; i < 3; i++) { if (b[i + 1] != r[i]) { fail("different content"); } } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/4d76bfb2eadb70e06c48c35a604c83b3f0eefc76/NullCipherTest.java/buggy/modules/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/NullCipherTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1891, 7229, 1076, 474, 474, 1435, 288, 202, 202, 7229, 5378, 324, 273, 288, 21, 16, 576, 16, 890, 16, 1059, 16, 1381, 20451, 202, 202, 7229, 5378, 436, 273, 276, 18, 2725, 12, 70, 16, 374, 16, 1381, 1769, 202, 202, 430, 261, 70, 18, 2469, 480, 436, 18, 2469, 13, 288, 1082, 202, 6870, 2932, 30738, 769, 8863, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 324, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 70, 63, 77, 65, 480, 436, 63, 77, 5717, 288, 9506, 202, 6870, 2932, 30738, 913, 8863, 1082, 202, 97, 202, 202, 97, 9506, 202, 86, 273, 276, 18, 2725, 12, 70, 16, 404, 16, 890, 1769, 202, 202, 430, 261, 86, 18, 2469, 480, 890, 13, 288, 1082, 202, 6870, 2932, 30738, 769, 8863, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 890, 31, 277, 27245, 288, 1082, 202, 430, 261, 70, 63, 77, 397, 404, 65, 480, 436, 63, 77, 5717, 288, 9506, 202, 6870, 2932, 30738, 913, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 918, 1842, 1891, 7229, 1076, 474, 474, 1435, 288, 202, 202, 7229, 5378, 324, 273, 288, 21, 16, 576, 16, 890, 16, 1059, 16, 1381, 20451, 202, 202, 7229, 5378, 436, 273, 276, 18, 2725, 12, 70, 16, 374, 16, 1381, 1769, 202, 202, 430, 261, 70, 18, 2469, 480, 436, 18, 2469, 13, 288, 1082, 202, 6870, 2932, 30738, 769, 8863, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 324, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 70, 63, 77, 65, 480, 436, 63, 77, 5717, 288, 9506, 202, 6870, 2932, 30738, 913, 8863, 1082, 202, 97, 202, 202, 97, 9506, 202, 86, 273, 276, 18, 2 ]
LoadDataflow dataflow = new LoadDataflow(getCFG(method), analysis);
StoreDataflow dataflow = new StoreDataflow(getCFG(method), analysis);
protected LoadDataflow analyze(Method method) throws CFGBuilderException, DataflowAnalysisException { MethodGen methodGen = getMethodGen(method); if (methodGen == null) return null; LoadAnalysis analysis = new LoadAnalysis( getDepthFirstSearch(method), getConstantPoolGen() ); LoadDataflow dataflow = new LoadDataflow(getCFG(method), analysis); dataflow.execute(); return dataflow; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/d85ce2266570f61b1fbb3b4246a33dd45ad582fb/ClassContext.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/ClassContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 4444, 751, 2426, 12375, 12, 1305, 707, 13, 1216, 7577, 1263, 503, 16, 1910, 2426, 9418, 503, 288, 9506, 202, 1305, 7642, 707, 7642, 273, 6272, 7642, 12, 2039, 1769, 9506, 202, 430, 261, 2039, 7642, 422, 446, 13, 6862, 202, 2463, 446, 31, 9506, 202, 2563, 9418, 6285, 273, 394, 4444, 9418, 12, 25083, 202, 588, 6148, 3759, 2979, 12, 2039, 3631, 25083, 202, 588, 6902, 2864, 7642, 1435, 25083, 202, 1769, 9506, 202, 2563, 751, 2426, 501, 2426, 273, 394, 4444, 751, 2426, 12, 588, 19727, 12, 2039, 3631, 6285, 1769, 9506, 202, 892, 2426, 18, 8837, 5621, 9506, 202, 2463, 501, 2426, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 503, 288, 9506, 202, 1305, 7642, 707, 7642, 273, 6272, 7642, 12, 2039, 1769, 9506, 202, 430, 261, 2039, 7642, 422, 446, 13, 6862, 202, 2463, 446, 31, 9506, 202, 2563, 9418, 6285, 273, 394, 4444, 9418, 12, 25083, 202, 588, 6148, 3759, 2979, 12, 2039, 3631, 25083, 202, 588, 6902, 2864, 7642, 1435, 25083, 202, 1769, 9506, 202, 2563, 751, 2426, 501, 2426, 273, 394, 4444, 751, 2426, 12, 588, 19727, 12, 2039, 3631, 6285, 1769, 9506, 202, 892, 2426, 18, 8837, 5621, 9506, 202, 2463, 501, 2426, 31, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100 ]
new File("debug/nodeinfos").mkdirs();
File dir = new File(Logger.getDebugDir(), "nodeinfos"); dir.mkdirs();
public static boolean writeNodeInformation(NodeInformation nodeInfo) { if (nodeInfo == null) { throw new NullPointerException("NodeInfo is null"); } String fileName; if (nodeInfo.node != null) { fileName = "Node." + nodeInfo.node.nick + ".report.txt"; } else { fileName = "Node.-unknown-.report.txt"; } try { // Create in debug directory // Create dir new File("debug/nodeinfos").mkdirs(); OutputStream fOut = new BufferedOutputStream(new FileOutputStream( "debug/nodeinfos/" + fileName)); fOut.write(nodeInfo.debugReport.getBytes()); fOut.close(); return true; } catch (IOException e) { LOG.error(e); } return false; }
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/345e407b12268b8a7f25e6c3dde52a19eccba263/Debug.java/buggy/src/main/de/dal33t/powerfolder/util/Debug.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 1045, 907, 5369, 12, 907, 5369, 22118, 13, 288, 3639, 309, 261, 2159, 966, 422, 446, 13, 288, 5411, 604, 394, 10108, 2932, 25392, 353, 446, 8863, 3639, 289, 3639, 514, 3968, 31, 3639, 309, 261, 2159, 966, 18, 2159, 480, 446, 13, 288, 5411, 3968, 273, 315, 907, 1199, 397, 22118, 18, 2159, 18, 17091, 397, 3552, 6006, 18, 5830, 14432, 3639, 289, 469, 288, 5411, 3968, 273, 315, 907, 18, 17, 8172, 17, 18, 6006, 18, 5830, 14432, 3639, 289, 3639, 775, 288, 5411, 368, 1788, 316, 1198, 1867, 5411, 368, 1788, 1577, 5411, 1387, 1577, 273, 394, 1387, 12, 3328, 18, 588, 2829, 1621, 9334, 315, 2159, 18227, 8863, 1577, 18, 24816, 8291, 5621, 6647, 8962, 284, 1182, 273, 394, 28649, 12, 2704, 12942, 12, 7734, 315, 4148, 19, 2159, 18227, 4898, 397, 3968, 10019, 5411, 284, 1182, 18, 2626, 12, 2159, 966, 18, 4148, 4820, 18, 588, 2160, 10663, 5411, 284, 1182, 18, 4412, 5621, 5411, 327, 638, 31, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 2018, 18, 1636, 12, 73, 1769, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 1045, 907, 5369, 12, 907, 5369, 22118, 13, 288, 3639, 309, 261, 2159, 966, 422, 446, 13, 288, 5411, 604, 394, 10108, 2932, 25392, 353, 446, 8863, 3639, 289, 3639, 514, 3968, 31, 3639, 309, 261, 2159, 966, 18, 2159, 480, 446, 13, 288, 5411, 3968, 273, 315, 907, 1199, 397, 22118, 18, 2159, 18, 17091, 397, 3552, 6006, 18, 5830, 14432, 3639, 289, 469, 288, 5411, 3968, 273, 315, 907, 18, 17, 8172, 17, 18, 6006, 18, 5830, 14432, 3639, 289, 3639, 775, 288, 5411, 368, 1788, 316, 1198, 1867, 5411, 368, 1788, 1577, 5411, 1387, 1577, 273, 394, 1387, 12, 3328, 18, 588, 2829, 1621, 9334, 315, 2159, 18227, 8863, 1577, 18, 24816, 2 ]
if (type == ruby.getExceptions().getRuntimeError() && info.length() == 0) {
if (type == ruby.getExceptions().getRuntimeError() && (info == null || info.length() == 0)) {
public void printError(RubyException excp) { if (excp == null || excp.isNil()) { return; } RubyArray backtrace = (RubyArray) excp.funcall("backtrace"); if (backtrace.isNil()) { if (ruby.getSourceFile() != null) { getErrorStream().print(ruby.getSourceFile() + ':' + ruby.getSourceLine()); } else { getErrorStream().print(ruby.getSourceLine()); } } else if (backtrace.getLength() == 0) { printErrorPos(); } else { RubyObject mesg = backtrace.entry(0); if (mesg.isNil()) { printErrorPos(); } else { getErrorStream().print(mesg); } } RubyClass type = excp.getRubyClass(); String info = excp.toString(); if (type == ruby.getExceptions().getRuntimeError() && info.length() == 0) { getErrorStream().print(": unhandled exception\n"); } else { String path = type.getClassPath().toString(); if (info.length() == 0) { getErrorStream().print(": " + path + '\n'); } else { if (path.startsWith("#")) { path = null; } String tail = null; if (info.indexOf("\n") != -1) { tail = info.substring(info.indexOf("\n") + 1); info = info.substring(0, info.indexOf("\n")); } getErrorStream().print(": " + info); if (path != null) { getErrorStream().print(" (" + path + ")\n"); } if (tail != null) { getErrorStream().print(tail + '\n'); } } } if (!backtrace.isNil()) { RubyObject[] elements = backtrace.toJavaArray(); for (int i = 0; i < elements.length; i++) { if (elements[i] instanceof RubyString) { getErrorStream().print("\tfrom " + elements[i] + '\n'); } if (i == TRACE_HEAD && elements.length > TRACE_MAX) { getErrorStream().print("\t ... " + (elements.length - TRACE_HEAD - TRACE_TAIL) + "levels...\n"); i = elements.length - TRACE_TAIL; } } } }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/f7702d0afbe9410b0033881bbc09af818b54c112/RubyRuntime.java/buggy/org/jruby/runtime/RubyRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1172, 668, 12, 54, 10340, 503, 3533, 84, 13, 288, 202, 202, 430, 261, 338, 4057, 422, 446, 747, 3533, 84, 18, 291, 12616, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 54, 10340, 1076, 13902, 273, 261, 54, 10340, 1076, 13, 3533, 84, 18, 644, 454, 2932, 18728, 8863, 202, 202, 430, 261, 18728, 18, 291, 12616, 10756, 288, 1082, 202, 430, 261, 27768, 18, 588, 31150, 1435, 480, 446, 13, 288, 9506, 202, 588, 668, 1228, 7675, 1188, 12, 27768, 18, 588, 31150, 1435, 397, 3921, 397, 22155, 18, 588, 1830, 1670, 10663, 1082, 202, 97, 469, 288, 9506, 202, 588, 668, 1228, 7675, 1188, 12, 27768, 18, 588, 1830, 1670, 10663, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 18728, 18, 588, 1782, 1435, 422, 374, 13, 288, 1082, 202, 1188, 668, 1616, 5621, 202, 202, 97, 469, 288, 1082, 202, 54, 10340, 921, 15216, 75, 273, 13902, 18, 4099, 12, 20, 1769, 1082, 202, 430, 261, 26244, 75, 18, 291, 12616, 10756, 288, 9506, 202, 1188, 668, 1616, 5621, 1082, 202, 97, 469, 288, 9506, 202, 588, 668, 1228, 7675, 1188, 12, 26244, 75, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 54, 10340, 797, 618, 273, 3533, 84, 18, 588, 54, 10340, 797, 5621, 202, 202, 780, 1123, 273, 3533, 84, 18, 10492, 5621, 202, 202, 430, 261, 723, 422, 22155, 18, 588, 11416, 7675, 588, 5576, 668, 1435, 597, 1123, 18, 2469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1172, 668, 12, 54, 10340, 503, 3533, 84, 13, 288, 202, 202, 430, 261, 338, 4057, 422, 446, 747, 3533, 84, 18, 291, 12616, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 54, 10340, 1076, 13902, 273, 261, 54, 10340, 1076, 13, 3533, 84, 18, 644, 454, 2932, 18728, 8863, 202, 202, 430, 261, 18728, 18, 291, 12616, 10756, 288, 1082, 202, 430, 261, 27768, 18, 588, 31150, 1435, 480, 446, 13, 288, 9506, 202, 588, 668, 1228, 7675, 1188, 12, 27768, 18, 588, 31150, 1435, 397, 3921, 397, 22155, 18, 588, 1830, 1670, 10663, 1082, 202, 97, 469, 288, 9506, 202, 588, 668, 1228, 7675, 1188, 12, 27768, 18, 588, 1830, 2 ]
vPhaseReport.addElement(r); vPhaseReport.addElement(r2);
addReport(r); addReport(r2);
private void writeInitiativeReport(boolean abbreviatedReport) { // write to report Report r; boolean deployment = false; if (!abbreviatedReport) { r = new Report(1210); r.type = Report.PUBLIC; if ((game.getLastPhase() == IGame.PHASE_DEPLOYMENT) || game.isDeploymentComplete() || !game.shouldDeployThisRound()) { r.messageId = 1000; r.add(game.getRoundCount()); } else { deployment = true; if ( game.getRoundCount() == 0 ) { r.messageId = 1005; } else { r.messageId = 1010; r.add(game.getRoundCount()); } } vPhaseReport.addElement(r); //write seperator vPhaseReport.addElement(new Report(1200, Report.PUBLIC)); } else { vPhaseReport.addElement(new Report(1210, Report.PUBLIC)); //newline } for (Enumeration i = game.getTeams(); i.hasMoreElements();) { final Team team = (Team)i.nextElement(); // If there is only one player, list them as the 'team', and // use the team iniative if (team.getSize() == 1) { final Player player = (Player)team.getPlayers().nextElement(); r = new Report(1015, Report.PUBLIC); r.add(player.getName()); r.add(team.getInitiative().toString()); vPhaseReport.addElement(r); } else { // Multiple players. List the team, then break it down. r = new Report(1015, Report.PUBLIC); r.add(Player.teamNames[team.getId()]); r.add(team.getInitiative().toString()); vPhaseReport.addElement(r); for( Enumeration j = team.getPlayers(); j.hasMoreElements();) { final Player player = (Player)j.nextElement(); r = new Report(1015, Report.PUBLIC); r.indent(); r.add(player.getName()); r.add(player.getInitiative().toString()); vPhaseReport.addElement(r); } } } // The turn order is different in movement phase // if a player has any "even" moving units. r = new Report(1020, Report.PUBLIC); boolean firstTurn = true; boolean hasEven = false; for (Enumeration i = game.getTurns(); i.hasMoreElements();) { GameTurn turn = (GameTurn)i.nextElement(); Player player = getPlayer( turn.getPlayerNum() ); if ( null != player ) { r.add(player.getName()); firstTurn = false; if (player.getEvenTurns() > 0) hasEven = true; } } r.newlines = 2; vPhaseReport.addElement(r); if (hasEven) { r = new Report(1021, Report.PUBLIC); if (game.getOptions().booleanOption("inf_deploy_even") || game.getOptions().booleanOption("protos_deploy_even")) r.choose(true); else r.choose(false); r.indent(); r.newlines = 2; vPhaseReport.addElement(r); } if (!abbreviatedReport) { //Wind direction and strength r = new Report(1025, Report.PUBLIC); r.add(game.getStringWindDirection()); if (game.getWindStrength() != -1) { Report r2 = new Report(1030, Report.PUBLIC); r2.add(game.getStringWindStrength()); r.newlines = 0; vPhaseReport.addElement(r); vPhaseReport.addElement(r2); } else { vPhaseReport.addElement(r); } if (deployment) Report.addNewline(vPhaseReport); } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/0259d527ea17f9b6ac49ee6eb9adc9e0d12e163f/Server.java/clean/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 2570, 77, 1535, 4820, 12, 6494, 23217, 4820, 13, 288, 3639, 368, 1045, 358, 2605, 3639, 8706, 436, 31, 3639, 1250, 6314, 273, 629, 31, 3639, 309, 16051, 378, 9854, 4820, 13, 288, 5411, 436, 273, 394, 8706, 12, 2138, 2163, 1769, 5411, 436, 18, 723, 273, 8706, 18, 14939, 31, 5411, 309, 14015, 13957, 18, 588, 3024, 11406, 1435, 422, 467, 12496, 18, 8939, 4429, 67, 1639, 22971, 3212, 13, 747, 7920, 18, 291, 6733, 6322, 1435, 747, 401, 13957, 18, 13139, 10015, 2503, 11066, 10756, 288, 7734, 436, 18, 2150, 548, 273, 4336, 31, 7734, 436, 18, 1289, 12, 13957, 18, 588, 11066, 1380, 10663, 5411, 289, 469, 288, 7734, 6314, 273, 638, 31, 7734, 309, 261, 7920, 18, 588, 11066, 1380, 1435, 422, 374, 262, 288, 10792, 436, 18, 2150, 548, 273, 2130, 25, 31, 7734, 289, 469, 288, 10792, 436, 18, 2150, 548, 273, 13822, 20, 31, 10792, 436, 18, 1289, 12, 13957, 18, 588, 11066, 1380, 10663, 7734, 289, 5411, 289, 5411, 331, 11406, 4820, 18, 1289, 1046, 12, 86, 1769, 5411, 368, 2626, 22282, 639, 5411, 331, 11406, 4820, 18, 1289, 1046, 12, 2704, 8706, 12, 2138, 713, 16, 8706, 18, 14939, 10019, 3639, 289, 469, 288, 5411, 331, 11406, 4820, 18, 1289, 1046, 12, 2704, 8706, 12, 2138, 2163, 16, 8706, 18, 14939, 10019, 368, 22861, 3639, 289, 3639, 364, 261, 21847, 277, 273, 7920, 18, 588, 8689, 87, 5621, 277, 18, 5332, 7417, 3471, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 2570, 77, 1535, 4820, 12, 6494, 23217, 4820, 13, 288, 3639, 368, 1045, 358, 2605, 3639, 8706, 436, 31, 3639, 1250, 6314, 273, 629, 31, 3639, 309, 16051, 378, 9854, 4820, 13, 288, 5411, 436, 273, 394, 8706, 12, 2138, 2163, 1769, 5411, 436, 18, 723, 273, 8706, 18, 14939, 31, 5411, 309, 14015, 13957, 18, 588, 3024, 11406, 1435, 422, 467, 12496, 18, 8939, 4429, 67, 1639, 22971, 3212, 13, 747, 7920, 18, 291, 6733, 6322, 1435, 747, 401, 13957, 18, 13139, 10015, 2503, 11066, 10756, 288, 7734, 436, 18, 2150, 548, 273, 4336, 31, 7734, 436, 18, 1289, 12, 13957, 18, 588, 11066, 1380, 10663, 5411, 289, 469, 288, 7734, 6314, 273, 638, 2 ]
String onChangeString = "parentSwapped(window.document.forms[0]." + parentSelectName + ".options[selectedIndex].value,window.document.forms[0]." + childSelectName +"," + selectedParentId + "," + selectedChildId +");";
String onChangeString = "parentSwapped("+parentsChildrenId+",window.document." + formName() + "." + parentSelectName + ".options[selectedIndex].value,window.document."+ formName() + "." + childSelectName +"," + selectedParentId + "," + selectedChildId +");";
public String parentPopUpString() { String onChangeString = "parentSwapped(window.document.forms[0]." + parentSelectName + ".options[selectedIndex].value,window.document.forms[0]." + childSelectName +"," + selectedParentId + "," + selectedChildId +");"; StringBuffer returnString = selectHeader(parentSelectName, onChangeString, selectedParent(), parentPopUpStringForAll()); // write out each of the values for the options tags. be sure to set the selected tag if necessary if (selectedParent()==null && parentPopUpStringForAll()==null) setSelectedParent(parentEntitiesList().objectAtIndex(0)); int iCount = parentEntitiesList().count(); for (int i=0;i<iCount;i++) { Object aEntity = (Object)parentEntitiesList().objectAtIndex(i); returnString.append("\t<option "); if (aEntity.equals(selectedParent())) { returnString.append("selected=\"selected\" "); } returnString.append("value=\"" + aEntity.hashCode() + "\">"); returnString.append(NSKeyValueCoding.Utility.valueForKey(aEntity, parentDisplayValueName())); returnString.append("\n"); } returnString.append("</select>\n"); return returnString.toString(); }
50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/36d5c0fac7fab48824d3d173032523f6118d0ba1/ERXJSPopUpRelationPicker.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXJSPopUpRelationPicker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 982, 7049, 1211, 780, 1435, 288, 3639, 514, 24031, 780, 273, 315, 2938, 12521, 1845, 2932, 15, 12606, 4212, 548, 15, 3113, 5668, 18, 5457, 1199, 397, 27404, 1435, 397, 4585, 397, 982, 3391, 461, 397, 3552, 2116, 63, 8109, 1016, 8009, 1132, 16, 5668, 18, 5457, 1199, 15, 27404, 1435, 397, 4585, 397, 1151, 3391, 461, 397, 15937, 397, 3170, 18847, 397, 5753, 397, 3170, 1763, 548, 397, 8863, 14432, 3639, 6674, 327, 780, 273, 2027, 1864, 12, 2938, 3391, 461, 16, 24031, 780, 16, 3170, 3054, 9334, 982, 7049, 1211, 780, 1290, 1595, 10663, 3639, 368, 1045, 596, 1517, 434, 326, 924, 364, 326, 702, 2342, 18, 506, 3071, 358, 444, 326, 3170, 1047, 309, 4573, 3639, 309, 261, 8109, 3054, 1435, 631, 2011, 597, 982, 7049, 1211, 780, 1290, 1595, 1435, 631, 2011, 13, 5411, 23006, 3054, 12, 2938, 8108, 682, 7675, 1612, 24499, 12, 20, 10019, 3639, 509, 277, 1380, 273, 982, 8108, 682, 7675, 1883, 5621, 3639, 364, 261, 474, 277, 33, 20, 31, 77, 32, 77, 1380, 31, 77, 27245, 288, 5411, 1033, 279, 1943, 273, 261, 921, 13, 2938, 8108, 682, 7675, 1612, 24499, 12, 77, 1769, 5411, 327, 780, 18, 6923, 31458, 88, 32, 3482, 315, 1769, 5411, 309, 261, 69, 1943, 18, 14963, 12, 8109, 3054, 1435, 3719, 288, 7734, 327, 780, 18, 6923, 2932, 8109, 5189, 8109, 2412, 315, 1769, 5411, 289, 5411, 327, 780, 18, 6923, 2932, 1132, 13186, 397, 279, 1943, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 982, 7049, 1211, 780, 1435, 288, 3639, 514, 24031, 780, 273, 315, 2938, 12521, 1845, 2932, 15, 12606, 4212, 548, 15, 3113, 5668, 18, 5457, 1199, 397, 27404, 1435, 397, 4585, 397, 982, 3391, 461, 397, 3552, 2116, 63, 8109, 1016, 8009, 1132, 16, 5668, 18, 5457, 1199, 15, 27404, 1435, 397, 4585, 397, 1151, 3391, 461, 397, 15937, 397, 3170, 18847, 397, 5753, 397, 3170, 1763, 548, 397, 8863, 14432, 3639, 6674, 327, 780, 273, 2027, 1864, 12, 2938, 3391, 461, 16, 24031, 780, 16, 3170, 3054, 9334, 982, 7049, 1211, 780, 1290, 1595, 10663, 3639, 368, 1045, 596, 1517, 434, 326, 924, 364, 326, 702, 2342, 18, 506, 3071, 358, 444, 326, 3170, 1047, 2 ]
Route r = getByUserName(userName); if (r!=null) return null;
Route r; if (userName!= null && !userName.equals("")) { r = getByUserName(userName); if (r!=null) return null; }
public Route createNewRoute(String systemName, String userName) { // Check that Route does not already exist Route r = getByUserName(userName); if (r!=null) return null; r = getBySystemName(systemName); if (r!=null) return null; // Route does not exist, create a new route r = new DefaultRoute(systemName,userName); if (r!=null) { // save in the maps register(r); } return r; }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/b766e78b2748affb5b651631fc73a4b93225b912/DefaultRouteManager.java/clean/jmri/DefaultRouteManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5179, 15291, 3255, 12, 780, 2619, 461, 16, 514, 12065, 13, 288, 3639, 368, 2073, 716, 5179, 1552, 486, 1818, 1005, 3639, 5179, 436, 273, 9979, 15296, 12, 1355, 461, 1769, 3639, 309, 261, 86, 5, 33, 2011, 13, 327, 446, 31, 3639, 436, 273, 9979, 3163, 461, 12, 4299, 461, 1769, 3639, 309, 261, 86, 5, 33, 2011, 13, 327, 446, 31, 3639, 368, 5179, 1552, 486, 1005, 16, 752, 279, 394, 1946, 3639, 436, 273, 394, 2989, 3255, 12, 4299, 461, 16, 1355, 461, 1769, 3639, 309, 261, 86, 5, 33, 2011, 13, 288, 5411, 368, 1923, 316, 326, 7565, 5411, 1744, 12, 86, 1769, 3639, 289, 3639, 327, 436, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5179, 15291, 3255, 12, 780, 2619, 461, 16, 514, 12065, 13, 288, 3639, 368, 2073, 716, 5179, 1552, 486, 1818, 1005, 3639, 5179, 436, 273, 9979, 15296, 12, 1355, 461, 1769, 3639, 309, 261, 86, 5, 33, 2011, 13, 327, 446, 31, 3639, 436, 273, 9979, 3163, 461, 12, 4299, 461, 1769, 3639, 309, 261, 86, 5, 33, 2011, 13, 327, 446, 31, 3639, 368, 5179, 1552, 486, 1005, 16, 752, 279, 394, 1946, 3639, 436, 273, 394, 2989, 3255, 12, 4299, 461, 16, 1355, 461, 1769, 3639, 309, 261, 86, 5, 33, 2011, 13, 288, 5411, 368, 1923, 316, 326, 7565, 5411, 1744, 12, 86, 1769, 3639, 289, 3639, 327, 436, 31, 565, 289, 2, -100, -100 ]
result.add(completeArray.get(first));
String[] params = pattern.split(completeArray.get(first)); for (String p: params) { result.add(p); }
public static String[] parameterDifference(String[] complete, String[] part) throws IllegalArgumentException { if (complete.length < part.length) { throw new IllegalArgumentException("first array must be at least as long as second array."); } if (complete.length == 0) { return new String[0]; } List<String> completeArray = new ArrayList<String>(); for (int i = 0; i < complete.length; i++) { String param = complete[i]; if (param.startsWith(OptionHandler.OPTION_PREFIX)) { if (i < complete.length - 1) { String key = complete[i + 1]; if (! key.startsWith(OptionHandler.OPTION_PREFIX)) { completeArray.add(param + " " + key); i++; } else { completeArray.add(param); } } } } List<String> partArray = new ArrayList<String>(); for (int i = 0; i < part.length; i++) { String param = part[i]; if (param.startsWith(OptionHandler.OPTION_PREFIX)) { if (i < part.length - 1) { String key = part[i + 1]; if (! key.startsWith(OptionHandler.OPTION_PREFIX)) { partArray.add(param + " " + key); i++; } else { partArray.add(param); } } } } List<String> result = new ArrayList<String>(); int first = 0; int second = 0; while (first < completeArray.size() && second < partArray.size()) { if (completeArray.get(first).equals(partArray.get(second))) { first++; second++; } else { result.add(completeArray.get(first)); first++; } } if (second < partArray.size()) { throw new IllegalArgumentException("second array contains entries that are not contained by the first array."); } while (first < completeArray.size()) { result.add(completeArray.get(first)); first++; } String[] resultArray = new String[result.size()]; return result.toArray(resultArray); }
5508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5508/d6a6298962efd58508ece31ffd5ad4c6cff16888/Util.java/clean/src/de/lmu/ifi/dbs/utilities/Util.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 8526, 1569, 16220, 12, 780, 8526, 3912, 16, 514, 8526, 1087, 13, 1216, 2754, 288, 565, 309, 261, 6226, 18, 2469, 411, 1087, 18, 2469, 13, 288, 1377, 604, 394, 2754, 2932, 3645, 526, 1297, 506, 622, 4520, 487, 1525, 487, 2205, 526, 1199, 1769, 565, 289, 565, 309, 261, 6226, 18, 2469, 422, 374, 13, 288, 1377, 327, 394, 514, 63, 20, 15533, 565, 289, 565, 987, 32, 780, 34, 3912, 1076, 273, 394, 2407, 32, 780, 34, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3912, 18, 2469, 31, 277, 27245, 288, 1377, 514, 579, 273, 3912, 63, 77, 15533, 1377, 309, 261, 891, 18, 17514, 1190, 12, 1895, 1503, 18, 7425, 67, 6307, 3719, 288, 3639, 309, 261, 77, 411, 3912, 18, 2469, 300, 404, 13, 288, 1850, 514, 498, 273, 3912, 63, 77, 397, 404, 15533, 1850, 309, 16051, 498, 18, 17514, 1190, 12, 1895, 1503, 18, 7425, 67, 6307, 3719, 288, 5411, 3912, 1076, 18, 1289, 12, 891, 397, 315, 315, 397, 498, 1769, 5411, 277, 9904, 31, 1850, 289, 1850, 469, 288, 5411, 3912, 1076, 18, 1289, 12, 891, 1769, 1850, 289, 3639, 289, 1377, 289, 565, 289, 565, 987, 32, 780, 34, 1087, 1076, 273, 394, 2407, 32, 780, 34, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1087, 18, 2469, 31, 277, 27245, 288, 1377, 514, 579, 273, 1087, 63, 77, 15533, 1377, 309, 261, 891, 18, 17514, 1190, 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, 514, 8526, 1569, 16220, 12, 780, 8526, 3912, 16, 514, 8526, 1087, 13, 1216, 2754, 288, 565, 309, 261, 6226, 18, 2469, 411, 1087, 18, 2469, 13, 288, 1377, 604, 394, 2754, 2932, 3645, 526, 1297, 506, 622, 4520, 487, 1525, 487, 2205, 526, 1199, 1769, 565, 289, 565, 309, 261, 6226, 18, 2469, 422, 374, 13, 288, 1377, 327, 394, 514, 63, 20, 15533, 565, 289, 565, 987, 32, 780, 34, 3912, 1076, 273, 394, 2407, 32, 780, 34, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3912, 18, 2469, 31, 277, 27245, 288, 1377, 514, 579, 273, 3912, 63, 77, 15533, 1377, 309, 261, 891, 18, 17514, 1190, 12, 1895, 1503, 2 ]
if (rb_obj_is_kind_of(block, rb_cMethod)) { block = method_proc(block); } else if (!rb_obj_is_proc(block)) { rb_raise(rb_eTypeError, "wrong argument type %s (expected Proc)", rb_class2name(CLASS_OF(block))); } Data_Get_Struct(block, struct BLOCK, data); orphan = blk_orphan(data); /* PUSH BLOCK from data */ /*old_block = ruby_block; _block = *data; ruby_block = &_block; PUSH_ITER(ITER_PRE); ruby_frame->iter = ITER_PRE; PUSH_TAG(PROT_NONE); state = EXEC_TAG(); if (state == 0) { proc_set_safe_level(block); if (safe > ruby_safe_level) ruby_safe_level = safe; result = rb_eval(self, node->nd_iter); } POP_TAG(); POP_ITER(); if (_block.tag->dst == state) { if (orphan) { state &= TAG_MASK; } else { struct BLOCK *ptr = old_block; while (ptr) { if (ptr->scope == _block.scope) { ptr->tag->dst = state; break; } ptr = ptr->prev; } if (!ptr) { state &= TAG_MASK; } } } ruby_block = old_block; ruby_safe_level = safe; switch (state) {/* escape from orphan procedure */ /*case 0: break; case TAG_BREAK: if (orphan) { rb_raise(rb_eLocalJumpError, "break from proc-closure"); } break; case TAG_RETRY: rb_raise(rb_eLocalJumpError, "retry from proc-closure"); break; case TAG_RETURN: if (orphan) { rb_raise(rb_eLocalJumpError, "return from proc-closure"); } default: JUMP_TAG(state); } return result; */ }
public RubyObject eval(Ruby ruby, RubyObject self) { RubyObject block = getBodyNode().eval(ruby, self); // RubyBlock oldBlock; // RubyBlock _block; // RubyBlock data; RubyObject result = ruby.getNil(); // int orphan; // int safe = ruby.getSecurityLevel(); if (block.isNil()) { return ruby.getNil(); // +++ rb_eval(self, node->nd_iter); } if (block.kind_of(ruby.getClasses().getMethodClass()).isTrue()) { block = null; // method_proc(block); // } else if (!(block instanceof RubyProc)) { } return result; /*if (NIL_P(block)) { return rb_eval(self, node->nd_iter); } if (rb_obj_is_kind_of(block, rb_cMethod)) { block = method_proc(block); } else if (!rb_obj_is_proc(block)) { rb_raise(rb_eTypeError, "wrong argument type %s (expected Proc)", rb_class2name(CLASS_OF(block))); } Data_Get_Struct(block, struct BLOCK, data); orphan = blk_orphan(data); /* PUSH BLOCK from data */ /*old_block = ruby_block; _block = *data; ruby_block = &_block; PUSH_ITER(ITER_PRE); ruby_frame->iter = ITER_PRE; PUSH_TAG(PROT_NONE); state = EXEC_TAG(); if (state == 0) { proc_set_safe_level(block); if (safe > ruby_safe_level) ruby_safe_level = safe; result = rb_eval(self, node->nd_iter); } POP_TAG(); POP_ITER(); if (_block.tag->dst == state) { if (orphan) { state &= TAG_MASK; } else { struct BLOCK *ptr = old_block; while (ptr) { if (ptr->scope == _block.scope) { ptr->tag->dst = state; break; } ptr = ptr->prev; } if (!ptr) { state &= TAG_MASK; } } } ruby_block = old_block; ruby_safe_level = safe; switch (state) {/* escape from orphan procedure */ /*case 0: break; case TAG_BREAK: if (orphan) { rb_raise(rb_eLocalJumpError, "break from proc-closure"); } break; case TAG_RETRY: rb_raise(rb_eLocalJumpError, "retry from proc-closure"); break; case TAG_RETURN: if (orphan) { rb_raise(rb_eLocalJumpError, "return from proc-closure"); } default: JUMP_TAG(state); } return result;*/ }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/fe5b7835d80b52a0683d503660a7f722b7af69b1/BlockPassNode.java/buggy/org/jruby/nodes/BlockPassNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 202, 482, 19817, 921, 5302, 12, 54, 10340, 22155, 16, 19817, 921, 365, 13, 288, 3639, 19817, 921, 1203, 273, 7587, 907, 7675, 8622, 12, 27768, 16, 365, 1769, 7734, 368, 19817, 1768, 1592, 1768, 31, 3639, 368, 19817, 1768, 389, 2629, 31, 3639, 368, 19817, 1768, 501, 31, 7734, 19817, 921, 563, 273, 22155, 18, 588, 12616, 5621, 3639, 368, 509, 18234, 31, 3639, 368, 509, 4183, 273, 22155, 18, 588, 4368, 2355, 5621, 3639, 309, 261, 2629, 18, 291, 12616, 10756, 288, 5411, 327, 22155, 18, 588, 12616, 5621, 368, 965, 15, 7138, 67, 8622, 12, 2890, 16, 756, 2122, 4880, 67, 2165, 1769, 3639, 289, 3639, 309, 261, 2629, 18, 9224, 67, 792, 12, 27768, 18, 588, 4818, 7675, 588, 1305, 797, 1435, 2934, 291, 5510, 10756, 288, 5411, 1203, 273, 446, 31, 368, 707, 67, 9381, 12, 2629, 1769, 3639, 368, 289, 469, 309, 16051, 12, 2629, 1276, 19817, 15417, 3719, 288, 3639, 289, 7734, 327, 563, 31, 565, 1748, 430, 261, 50, 2627, 67, 52, 12, 2629, 3719, 288, 202, 2463, 7138, 67, 8622, 12, 2890, 16, 756, 2122, 4880, 67, 2165, 1769, 565, 289, 565, 309, 261, 6731, 67, 2603, 67, 291, 67, 9224, 67, 792, 12, 2629, 16, 7138, 67, 71, 1305, 3719, 288, 202, 2629, 273, 707, 67, 9381, 12, 2629, 1769, 565, 289, 565, 469, 309, 16051, 6731, 67, 2603, 67, 291, 67, 9381, 12, 2629, 3719, 288, 202, 6731, 67, 11628, 12, 6731, 67, 73, 19030, 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, 202, 482, 19817, 921, 5302, 12, 54, 10340, 22155, 16, 19817, 921, 365, 13, 288, 3639, 19817, 921, 1203, 273, 7587, 907, 7675, 8622, 12, 27768, 16, 365, 1769, 7734, 368, 19817, 1768, 1592, 1768, 31, 3639, 368, 19817, 1768, 389, 2629, 31, 3639, 368, 19817, 1768, 501, 31, 7734, 19817, 921, 563, 273, 22155, 18, 588, 12616, 5621, 3639, 368, 509, 18234, 31, 3639, 368, 509, 4183, 273, 22155, 18, 588, 4368, 2355, 5621, 3639, 309, 261, 2629, 18, 291, 12616, 10756, 288, 5411, 327, 22155, 18, 588, 12616, 5621, 368, 965, 15, 7138, 67, 8622, 12, 2890, 16, 756, 2122, 4880, 67, 2165, 1769, 3639, 289, 3639, 309, 261, 2629, 18, 9224, 67, 792, 12, 27768, 2 ]
Element dimElt = dom.getElement(symElt, "GridDimensions");
Element gridElt = dom.getElement(symElt, "Grid"); readGeometryElt(texSym, dom, gridElt); Element dimElt = dom.getElement(gridElt, "Dimensions");
public TextureSymbolizer readTexture(DOMReader dom, Element symElt) { TextureSymbolizer texSym = new TextureSymbolizer(); readGeometryElt(texSym, dom, symElt); readRasterParameters(texSym, dom, symElt); // read grid dimensions Element dimElt = dom.getElement(symElt, "GridDimensions"); Dimensions dim = readDimensions(dom, dimElt); texSym.setGridDimensions(dim); return texSym; }
50692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50692/8e451d10173b82a67297e57901633ff744e347e4/SLDReader.java/buggy/src/org/vast/ows/sld/SLDReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 28582, 5335, 1824, 855, 10967, 12, 8168, 2514, 4092, 16, 3010, 5382, 15899, 13, 565, 288, 3639, 28582, 5335, 1824, 16573, 11901, 273, 394, 28582, 5335, 1824, 5621, 3639, 855, 9823, 15899, 12, 21763, 11901, 16, 4092, 16, 5382, 15899, 1769, 3639, 855, 18637, 2402, 12, 21763, 11901, 16, 4092, 16, 5382, 15899, 1769, 7734, 368, 855, 3068, 5769, 3639, 3010, 3068, 15899, 273, 4092, 18, 21336, 12, 8117, 15899, 16, 315, 6313, 8863, 855, 9823, 15899, 12, 21763, 11901, 16, 4092, 16, 3068, 15899, 1769, 3010, 2464, 15899, 273, 4092, 18, 21336, 12, 5222, 15899, 16, 315, 10796, 8863, 3639, 463, 23124, 2464, 273, 855, 10796, 12, 9859, 16, 2464, 15899, 1769, 3639, 16573, 11901, 18, 542, 6313, 10796, 12, 3509, 1769, 7734, 327, 16573, 11901, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 28582, 5335, 1824, 855, 10967, 12, 8168, 2514, 4092, 16, 3010, 5382, 15899, 13, 565, 288, 3639, 28582, 5335, 1824, 16573, 11901, 273, 394, 28582, 5335, 1824, 5621, 3639, 855, 9823, 15899, 12, 21763, 11901, 16, 4092, 16, 5382, 15899, 1769, 3639, 855, 18637, 2402, 12, 21763, 11901, 16, 4092, 16, 5382, 15899, 1769, 7734, 368, 855, 3068, 5769, 3639, 3010, 3068, 15899, 273, 4092, 18, 21336, 12, 8117, 15899, 16, 315, 6313, 8863, 855, 9823, 15899, 12, 21763, 11901, 16, 4092, 16, 3068, 15899, 1769, 3010, 2464, 15899, 273, 4092, 18, 21336, 12, 5222, 15899, 16, 315, 10796, 8863, 3639, 463, 23124, 2464, 273, 855, 10796, 12, 9859, 16, 2464, 15899, 1769, 3639, 16573, 11901, 18, 2 ]
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws FactoryException {
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) {
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws FactoryException { return new BasicWorkflow(getRemoteUser()).getWorkflowDescriptor(workflowName); }
7621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7621/0ca9c1b022c14486a67ae3e20ab6a037851297fe/BasicSOAPWorkflow.java/clean/src/java/com/opensymphony/workflow/soap/BasicSOAPWorkflow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11363, 3187, 30995, 3187, 12, 780, 6095, 461, 13, 288, 3639, 327, 394, 7651, 8484, 12, 588, 5169, 1299, 1435, 2934, 588, 8484, 3187, 12, 13815, 461, 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,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, 1435, 2934, 588, 8484, 3187, 12, 13815, 461, 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 ]
protected Control createProductAttributes(Composite control) { GridData gd; GridLayout layout; // Search expression Group group = new Group(control, SWT.NONE); layout = new GridLayout(); layout.numColumns = 4; group.setLayout(layout); gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalSpan = 5; group.setLayoutData(gd); // Labels Label label = new Label(group, SWT.LEFT); label.setText("Product"); label = new Label(group, SWT.LEFT); label.setText("Component"); label = new Label(group, SWT.LEFT); label.setText("Version"); label = new Label(group, SWT.LEFT); label.setText("Milestone"); // Lists product = new List(group, SWT.MULTI | SWT.V_SCROLL | SWT.BORDER); gd = new GridData(GridData.FILL_HORIZONTAL); gd.heightHint = 40; product.setLayoutData(gd); component = new List(group, SWT.MULTI | SWT.V_SCROLL | SWT.BORDER); gd = new GridData(GridData.FILL_HORIZONTAL); gd.heightHint = 40; component.setLayoutData(gd); version = new List(group, SWT.MULTI | SWT.V_SCROLL | SWT.BORDER); gd = new GridData(GridData.FILL_HORIZONTAL); gd.heightHint = 40; version.setLayoutData(gd); target = new List(group, SWT.MULTI | SWT.V_SCROLL | SWT.BORDER); gd = new GridData(GridData.FILL_HORIZONTAL); gd.heightHint = 40; target.setLayoutData(gd); return group; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/bd3f4a126cfb57c0118c7a7b1ce3fd5e6ad0220c/BugzillaSearchPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/search/BugzillaSearchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 4133, 2498, 12, 9400, 3325, 13, 288, 202, 202, 6313, 751, 15551, 31, 202, 202, 6313, 3744, 3511, 31, 9506, 202, 759, 5167, 2652, 202, 202, 1114, 1041, 273, 394, 3756, 12, 7098, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6741, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 1059, 31, 202, 202, 1655, 18, 542, 3744, 12, 6741, 1769, 202, 202, 19016, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 202, 202, 19016, 18, 18396, 6952, 273, 1381, 31, 202, 202, 1655, 18, 542, 3744, 751, 12, 19016, 1769, 9506, 202, 759, 12395, 202, 202, 2224, 1433, 273, 394, 5287, 12, 1655, 16, 348, 8588, 18, 10066, 1769, 202, 202, 1925, 18, 542, 1528, 2932, 4133, 8863, 9506, 202, 1925, 273, 394, 5287, 12, 1655, 16, 348, 8588, 18, 10066, 1769, 202, 202, 1925, 18, 542, 1528, 2932, 1841, 8863, 9506, 202, 1925, 273, 394, 5287, 12, 1655, 16, 348, 8588, 18, 10066, 1769, 202, 202, 1925, 18, 542, 1528, 2932, 1444, 8863, 9506, 202, 1925, 273, 394, 5287, 12, 1655, 16, 348, 8588, 18, 10066, 1769, 202, 202, 1925, 18, 542, 1528, 2932, 49, 18270, 8863, 9506, 202, 759, 11592, 202, 202, 5896, 273, 394, 987, 12, 1655, 16, 348, 8588, 18, 26588, 571, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 38, 7954, 1769, 202, 202, 19016, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 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, 8888, 752, 4133, 2498, 12, 9400, 3325, 13, 288, 202, 202, 6313, 751, 15551, 31, 202, 202, 6313, 3744, 3511, 31, 9506, 202, 759, 5167, 2652, 202, 202, 1114, 1041, 273, 394, 3756, 12, 7098, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6741, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 1059, 31, 202, 202, 1655, 18, 542, 3744, 12, 6741, 1769, 202, 202, 19016, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 202, 202, 19016, 18, 18396, 6952, 273, 1381, 31, 202, 202, 1655, 18, 542, 3744, 751, 12, 19016, 1769, 9506, 202, 759, 12395, 202, 202, 2224, 1433, 273, 394, 5287, 12, 1655, 16, 2 ]
for (AbstractRepositoryQuery query : tlist.getQueries()) {
for (AbstractRepositoryQuery query : taskList.getQueries()) {
public void writeTaskList(TaskList tlist, File outFile) { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db; Document doc = null; try { db = dbf.newDocumentBuilder(); doc = db.newDocument(); } catch (ParserConfigurationException e) { MylarStatusHandler.log(e, "could not create document"); } Element root = doc.createElement(ELEMENT_TASK_LIST); root.setAttribute(ATTRIBUTE_VERSION, VALUE_VERSION); for (ITask archiveTask : tlist.getArchiveTasks()) { createTaskElement(doc, root, archiveTask); } for (ITaskContainer category : tlist.getCategories()) { Element element = null; for (ITaskListExternalizer externalizer : externalizers) { if (externalizer.canCreateElementFor(category)) element = externalizer.createCategoryElement(category, doc, root); } if (element == null && delagatingExternalizer.canCreateElementFor(category)) { delagatingExternalizer.createCategoryElement(category, doc, root); } else if (element == null) { MylarStatusHandler.log("Did not externalize: " + category, this); } } for (AbstractRepositoryQuery query : tlist.getQueries()) { Element element = null; for (ITaskListExternalizer externalizer : externalizers) { if (externalizer.canCreateElementFor(query)) element = externalizer.createQueryElement(query, doc, root); } if (element == null && delagatingExternalizer.canCreateElementFor(query)) { delagatingExternalizer.createQueryElement(query, doc, root); } else if (element == null) { MylarStatusHandler.log("Did not externalize: " + query, this); } } for (ITask task : tlist.getRootTasks()) { createTaskElement(doc, root, task); } doc.appendChild(root); writeDOMtoFile(doc, outFile); return; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/5d3a1b0f8f0242f479e5be70dc1fbaee7316de83/TaskListWriter.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/util/TaskListWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1045, 2174, 682, 12, 2174, 682, 268, 1098, 16, 1387, 21651, 13, 288, 202, 202, 2519, 20692, 1319, 74, 273, 30236, 18, 2704, 1442, 5621, 202, 202, 2519, 1263, 1319, 31, 202, 202, 2519, 997, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 1966, 273, 1319, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2434, 273, 1319, 18, 2704, 2519, 5621, 202, 202, 97, 1044, 261, 2678, 10737, 425, 13, 288, 1082, 202, 12062, 7901, 1482, 1503, 18, 1330, 12, 73, 16, 315, 15195, 486, 752, 1668, 8863, 202, 202, 97, 202, 202, 1046, 1365, 273, 997, 18, 2640, 1046, 12, 10976, 67, 15580, 67, 7085, 1769, 202, 202, 3085, 18, 542, 1499, 12, 11616, 67, 5757, 16, 5848, 67, 5757, 1769, 202, 202, 1884, 261, 1285, 835, 5052, 2174, 294, 268, 1098, 18, 588, 7465, 6685, 10756, 288, 1082, 202, 2640, 2174, 1046, 12, 2434, 16, 1365, 16, 5052, 2174, 1769, 202, 202, 97, 9506, 202, 1884, 261, 1285, 835, 2170, 3150, 294, 268, 1098, 18, 588, 10487, 10756, 288, 1082, 202, 1046, 930, 273, 446, 31, 1082, 202, 1884, 261, 1285, 835, 682, 6841, 1824, 3903, 1824, 294, 3903, 8426, 13, 288, 9506, 202, 430, 261, 9375, 1824, 18, 4169, 1684, 1046, 1290, 12, 4743, 3719, 6862, 202, 2956, 273, 3903, 1824, 18, 2640, 4457, 1046, 12, 4743, 16, 997, 16, 1365, 1769, 1082, 202, 97, 1082, 202, 430, 261, 2956, 422, 446, 597, 1464, 346, 1776, 6841, 1824, 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, 1045, 2174, 682, 12, 2174, 682, 268, 1098, 16, 1387, 21651, 13, 288, 202, 202, 2519, 20692, 1319, 74, 273, 30236, 18, 2704, 1442, 5621, 202, 202, 2519, 1263, 1319, 31, 202, 202, 2519, 997, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 1966, 273, 1319, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2434, 273, 1319, 18, 2704, 2519, 5621, 202, 202, 97, 1044, 261, 2678, 10737, 425, 13, 288, 1082, 202, 12062, 7901, 1482, 1503, 18, 1330, 12, 73, 16, 315, 15195, 486, 752, 1668, 8863, 202, 202, 97, 202, 202, 1046, 1365, 273, 997, 18, 2640, 1046, 12, 10976, 67, 15580, 67, 7085, 1769, 202, 202, 3085, 18, 542, 1499, 12, 2 ]
new RuntimeException("removing child " + i).printStackTrace();
public void remove(int i) { new RuntimeException("removing child " + i).printStackTrace(); children.remove(i); params.remove(i); }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/7566dcba5a68c824101fec2d49d26e530f52bef5/SIRContainer.java/buggy/streams/src/at/dms/kjc/sir/SIRContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 12, 474, 277, 13, 288, 202, 2704, 3235, 2932, 2764, 13767, 1151, 315, 397, 277, 2934, 1188, 6332, 5621, 202, 5906, 18, 4479, 12, 77, 1769, 202, 2010, 18, 4479, 12, 77, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 12, 474, 277, 13, 288, 202, 2704, 3235, 2932, 2764, 13767, 1151, 315, 397, 277, 2934, 1188, 6332, 5621, 202, 5906, 18, 4479, 12, 77, 1769, 202, 2010, 18, 4479, 12, 77, 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 ]
modelview.m00*x + modelview.m01*y + modelview.m02*z + modelview.m03;
cameraInv.m00*x + cameraInv.m01*y + cameraInv.m02*z + cameraInv.m03; float ay = cameraInv.m10*x + cameraInv.m11*y + cameraInv.m12*z + cameraInv.m13; float az = cameraInv.m20*x + cameraInv.m21*y + cameraInv.m22*z + cameraInv.m23;
public float modelX(float x, float y, float z) { float ax = modelview.m00*x + modelview.m01*y + modelview.m02*z + modelview.m03; float aw = modelview.m30*x + modelview.m31*y + modelview.m32*z + modelview.m33; return (aw != 0) ? ax / aw : ax; }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/6d68e2b8c7b3e64c57b4b142ddfcfb629998a598/PGraphics3D.java/buggy/core/src/processing/core/PGraphics3D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1431, 938, 60, 12, 5659, 619, 16, 1431, 677, 16, 1431, 998, 13, 288, 565, 1431, 1740, 273, 1377, 10836, 3605, 18, 81, 713, 14, 92, 397, 10836, 3605, 18, 81, 1611, 14, 93, 397, 10836, 3605, 18, 81, 3103, 14, 94, 397, 10836, 3605, 18, 81, 4630, 31, 1431, 26179, 273, 10836, 3605, 18, 81, 2163, 14, 92, 397, 10836, 3605, 18, 81, 2499, 14, 93, 397, 10836, 3605, 18, 81, 2138, 14, 94, 397, 10836, 3605, 18, 81, 3437, 31, 1431, 10562, 273, 10836, 3605, 18, 81, 3462, 14, 92, 397, 10836, 3605, 18, 81, 5340, 14, 93, 397, 10836, 3605, 18, 81, 3787, 14, 94, 397, 10836, 3605, 18, 81, 4366, 31, 565, 1431, 1690, 273, 1377, 938, 1945, 18, 81, 5082, 14, 92, 397, 938, 1945, 18, 81, 6938, 14, 93, 397, 938, 1945, 18, 81, 1578, 14, 94, 397, 938, 1945, 18, 81, 3707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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1431, 938, 60, 12, 5659, 619, 16, 1431, 677, 16, 1431, 998, 13, 288, 565, 1431, 1740, 273, 1377, 10836, 3605, 18, 81, 713, 14, 92, 397, 10836, 3605, 18, 81, 1611, 14, 93, 397, 10836, 3605, 18, 81, 3103, 14, 94, 397, 10836, 3605, 18, 81, 4630, 31, 1431, 26179, 273, 10836, 3605, 18, 81, 2163, 14, 92, 397, 10836, 3605, 18, 81, 2499, 14, 93, 397, 10836, 3605, 18, 81, 2138, 14, 94, 397, 10836, 3605, 18, 81, 3437, 31, 1431, 10562, 273, 10836, 3605, 18, 81, 3462, 14, 92, 397, 10836, 3605, 18, 81, 5340, 14, 93, 397, 10836, 3605, 18, 81, 3787, 14, 94, 397, 10836, 3605, 18, 81, 4366, 31, 565, 1431, 2 ]
state = gData.stateStack[gData.stateStackTop]; state.min = min; state.max = max; state.index = gData.cp; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; ++gData.stateStackTop;
pushProgState(gData, min, max, null, currentContinuation_pc, currentContinuation_op);
executeREBytecode(REGlobalData gData, char[] chars, int end) { int pc = 0; byte program[] = gData.regexp.program; int op = program[pc++]; int currentContinuation_op; int currentContinuation_pc; boolean result = false; currentContinuation_pc = 0; currentContinuation_op = REOP_END;if (debug) {System.out.println("Input = \"" + new String(chars) + "\", start at " + gData.cp);} for (;;) {if (debug) {System.out.println("Testing at " + gData.cp + ", op = " + op);} switch (op) { case REOP_EMPTY: result = true; break; case REOP_BOL: if (gData.cp != 0) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp - 1])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_EOL: if (gData.cp != end) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_WBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ !((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_WNONBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ ((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_DOT: result = (gData.cp != end && !isLineTerm(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_DIGIT: result = (gData.cp != end && isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONDIGIT: result = (gData.cp != end && !isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_SPACE: result = (gData.cp != end && isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONSPACE: result = (gData.cp != end && !isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_ALNUM: result = (gData.cp != end && isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONALNUM: result = (gData.cp != end && !isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_FLAT: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNMatcher(gData, offset, length, chars, end); } break; case REOP_FLATi: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNIMatcher(gData, offset, length, chars, end); } break; case REOP_FLAT1: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_FLAT1i: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_UCFLAT1: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_UCFLAT1i: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_ALT: { int nextpc; byte nextop; REProgState state; state = gData.stateStack[gData.stateStackTop]; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; ++gData.stateStackTop; nextpc = pc + GET_OFFSET(program, pc); nextop = program[nextpc++]; pushBackTrackState(gData, nextop, nextpc); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_JUMP: { int offset; REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; offset = GET_OFFSET(program, pc); pc += offset; op = program[pc++]; } continue; case REOP_LPAREN: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; gData.set_parens(parenIndex, gData.cp, 0); op = program[pc++]; } continue; case REOP_RPAREN: { int cap_index; int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; cap_index = gData.parens_index(parenIndex); gData.set_parens(parenIndex, cap_index, gData.cp - cap_index); if (parenIndex > gData.lastParen) gData.lastParen = parenIndex; op = program[pc++]; } continue; case REOP_BACKREF: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; result = backrefMatcher(gData, parenIndex, chars, end); } break; case REOP_CLASS: { int index = GET_ARG(program, pc); pc += ARG_LEN; if (gData.cp != end) { if (classMatcher(gData, gData.regexp.classList[index], chars[gData.cp])) { gData.cp++; result = true; break; } } result = false; } break; case REOP_ASSERT: case REOP_ASSERT_NOT: { byte testOp; REProgState state; if (op == REOP_ASSERT) { testOp = REOP_ASSERTTEST; } else { testOp = REOP_ASSERTNOTTEST; } state = gData.stateStack[gData.stateStackTop]; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; state.savedBackTrackLast = gData.backTrackLast; state.index = gData.cp; ++gData.stateStackTop; pushBackTrackState(gData, testOp, pc + GET_OFFSET(program, pc)); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_ASSERTTEST: case REOP_ASSERTNOTTEST: { REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; gData.cp = state.index; gData.backTrackLast = state.savedBackTrackLast; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; if (result) { if (op == REOP_ASSERTTEST) { result = true; } else { result = false; } } else { if (op == REOP_ASSERTTEST) { // Do nothing } else { result = true; } } } break; case REOP_STAR: case REOP_PLUS: case REOP_OPT: case REOP_QUANT: case REOP_MINIMALSTAR: case REOP_MINIMALPLUS: case REOP_MINIMALOPT: case REOP_MINIMALQUANT: { REProgState state; int min, max; boolean greedy = false; switch (op) { case REOP_STAR: greedy = true; // fallthrough case REOP_MINIMALSTAR: min = 0; max = -1; break; case REOP_PLUS: greedy = true; // fallthrough case REOP_MINIMALPLUS: min = 1; max = -1; break; case REOP_OPT: greedy = true; // fallthrough case REOP_MINIMALOPT: min = 0; max = 1; break; case REOP_QUANT: greedy = true; // fallthrough case REOP_MINIMALQUANT: min = GET_ARG(program, pc); pc += ARG_LEN; max = GET_ARG(program, pc); pc += ARG_LEN; break; default: throw Kit.codeBug(); } state = gData.stateStack[gData.stateStackTop]; state.min = min; state.max = max; state.index = gData.cp; state.continuation_pc = currentContinuation_pc; state.continuation_op = currentContinuation_op; ++gData.stateStackTop; if (greedy) { currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); /* Step over <parencount>, <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { if (min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; /* <parencount> <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); --gData.stateStackTop; pc += 2 * ARG_LEN; // <parencount> & <parenindex> pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } } } continue; case REOP_ENDCHILD: pc = currentContinuation_pc; op = currentContinuation_op; continue; case REOP_REPEAT: { REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; if (!result) { // // There's been a failure, see if we have enough // children. // if (state.min == 0) result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(program, pc); break; } else { if (state.min == 0 && gData.cp == state.index) { // matched an empty string, that'll get us nowhere result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } if (state.min != 0) state.min--; if (state.max != -1) state.max--; if (state.max == 0) { result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } state.index = gData.cp; ++gData.stateStackTop; currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; op = program[pc++]; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } } } continue; case REOP_MINIMALREPEAT: { REProgState state; --gData.stateStackTop; state = gData.stateStack[gData.stateStackTop]; if (!result) { // // Non-greedy failure - try to consume another child. // if (state.max == -1 || state.max > 0) { state.index = gData.cp; currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } ++gData.stateStackTop; op = program[pc++]; continue; } else { // Don't need to adjust pc since we're going to pop. currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } } else { if (state.min == 0 && gData.cp == state.index) { // Matched an empty string, that'll get us nowhere. result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } if (state.min != 0) state.min--; if (state.max != -1) state.max--; if (state.min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } state.index = gData.cp; ++gData.stateStackTop; op = program[pc++]; } else { currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; state.index = gData.cp; ++gData.stateStackTop; pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); --gData.stateStackTop; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } continue; } } case REOP_END: return true; default: throw Kit.codeBug(); } /* * If the match failed and there's a backtrack option, take it. * Otherwise this is a complete and utter failure. */ if (!result) { REBackTrackData backTrackData = gData.backTrackLast; if (backTrackData != null) { gData.backTrackLast = backTrackData.previous; gData.lastParen = backTrackData.lastParen; // XXX: If backTrackData will no longer be used, then // there is no need to clone backTrackData.parens if (backTrackData.parens != null) { gData.parens = (long[])backTrackData.parens.clone(); } gData.cp = backTrackData.cp; for (int k = 0; k < backTrackData.precedingStateTop; k++) gData.stateStack[k] = backTrackData.precedingState[k]; gData.stateStackTop = backTrackData.precedingStateTop + 1; gData.stateStack[gData.stateStackTop - 1] = backTrackData.currentState; currentContinuation_op = gData.stateStack[gData.stateStackTop - 1].continuation_op; currentContinuation_pc = gData.stateStack[gData.stateStackTop - 1].continuation_pc; pc = backTrackData.continuation_pc; op = backTrackData.continuation_op; continue; } else return false; } /* * Continue with the expression. If this the end of the child, use * the current continuation. */ op = program[pc++]; if (op == REOP_ENDCHILD) { pc = currentContinuation_pc; op = currentContinuation_op; } } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/bfc17d4124cf8110e97525c9b240855202f5ac65/NativeRegExp.java/clean/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 1149, 8526, 5230, 16, 509, 679, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 509, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 509, 783, 660, 23946, 67, 556, 31, 3639, 509, 783, 660, 23946, 67, 2436, 31, 3639, 1250, 563, 273, 629, 31, 3639, 783, 660, 23946, 67, 2436, 273, 374, 31, 3639, 783, 660, 23946, 67, 556, 273, 2438, 3665, 67, 4415, 31, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 1210, 273, 11843, 397, 394, 514, 12, 7549, 13, 397, 1548, 3113, 787, 622, 315, 397, 314, 751, 18, 4057, 1769, 97, 3639, 364, 261, 25708, 13, 288, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 22218, 622, 315, 397, 314, 751, 18, 4057, 397, 3104, 1061, 273, 315, 397, 1061, 1769, 97, 5411, 1620, 261, 556, 13, 288, 5411, 648, 2438, 3665, 67, 13625, 30, 7734, 563, 273, 638, 31, 7734, 898, 31, 5411, 648, 2438, 3665, 67, 38, 1741, 30, 7734, 309, 261, 75, 751, 18, 4057, 480, 374, 13, 288, 10792, 309, 261, 75, 751, 18, 5421, 12554, 747, 18701, 14015, 75, 751, 18, 17745, 18, 7133, 473, 6756, 5937, 67, 12845, 30690, 13, 480, 374, 3719, 288, 13491, 309, 16051, 291, 1670, 4065, 12, 7549, 63, 75, 751, 18, 4057, 300, 404, 22643, 288, 18701, 563, 273, 629, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 1149, 8526, 5230, 16, 509, 679, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 509, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 509, 783, 660, 23946, 67, 556, 31, 3639, 509, 783, 660, 23946, 67, 2436, 31, 3639, 1250, 563, 273, 629, 31, 3639, 783, 660, 23946, 67, 2436, 273, 374, 31, 3639, 783, 660, 23946, 67, 556, 273, 2438, 3665, 67, 4415, 31, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 1210, 273, 11843, 397, 394, 514, 12, 7549, 13, 397, 1548, 3113, 787, 622, 315, 397, 314, 2 ]
330, 331, 332, 333, -1, -1, 336, 337, 338, 339,
330, 331, 332, -1, 10, 335, 336, 337, 338, 339,
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 41, 6, 7, 392, 398, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 693, 370, 49, 50, 10, 52, 53, 27, 10, 410, 50, 101, 21, 292, 44, 32, 47, 296, 10, 4, 5, 369, 71, 10, 51, 54, 50, 263, 280, 14, 106, 10, 280, 10, 54, 506, 507, 306, 41, 387, 11, 10, 11, 444, 313, 314, 693, 59, 695, 41, 310, 310, 58, 59, 402, 94, 343, 44, 61, 263, 264, 100, 269, 91, 271, 269, 51, 44, 10, 53, 2, 3, 4, 5, 113, 41, 8, 9, 10, 11, 59, 10, 14, 15, 16, 94, 0, 19, 15, 16, 310, 343, 19, 310, 26, 61, 10, 2, 320, 10, 71, 10, 310, 328, 343, 90, 454, 10, 10, 44, 362, 371, 371, 349, 362, 47, 48, 49, 10, 51, 304, 53, 49, 10, 308, 10, 61, 349, 10, 58, 59, 353, 354, 44, 359, 44, 829, 108, 10, 41, 308, 269, 47, 271, 10, 59, 125, 58, 59, 369, 370, 371, 369, 370, 371, 58, 59, 59, 90, 41, 10, 369, 370, 371, 311, 312, 10, 559, 10, 218, 310, 200, 59, 105, 59, 107, 545, 267, 10, 269, 200, 310, 829, 41, 231, 232, 233, 59, 467, 10, 590, 41, 58, 59, 44, 362, 565, 244, 41, 246, 247, 10, 107, 61, 244, 91, 246, 247, 41, 244, 681, 246, 247, 364, 58, 59, 58, 59, 61, 282, 244, 268, 246, 247, 93, 91, 58, 59, 61, 369, 370, 371, 263, 32, 290, 291, 16, 340, 59, 19, 369, 370, 371, 91, 256, 91, 61, 218, 331, 32, 59, 10, 666, 222, 223, 338, 125, 671, 269, 91, 271, 267, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 290, 291, 222, 223, 368, 310, 10, 342, 91, 301, 345, 346, 59, 348, 306, 331, 44, 352, 346, 269, 348, 271, 338, 341, 244, 279, 246, 247, 725, 244, 349, 246, 247, 341, 369, 350, 256, 41, 727, 61, 418, 419, 377, 263, 733, 302, 303, 304, 305, 377, 267, 331, 387, 388, 389, 390, 279, 357, 338, 394, 368, 439, 595, 256, 369, 370, 394, 402, 267, 630, 263, 406, 407, 345, 346, 410, 348, 350, 386, 414, 352, 301, 302, 303, 304, 305, 306, 307, 308, 264, 281, 414, 427, 401, 269, 407, 776, 432, 433, 434, 425, 331, 414, 425, 363, 359, 441, 799, 338, 444, 44, 799, 447, 267, 340, 772, 10, 425, 91, 454, 262, 91, 342, 431, 341, 345, 346, 342, 348, 349, 350, 10, 352, 279, 10, 267, 359, 267, 397, 398, 340, 341, 341, 343, 344, 453, 264, 267, 279, 369, 370, 371, 290, 291, 369, 264, 349, 331, 279, 44, 849, 308, 41, 383, 338, 59, 61, 387, 368, 826, 703, 391, 387, 393, 10, 553, 244, 331, 246, 247, 59, 310, 402, 59, 338, 385, 386, 402, 877, 516, 383, 526, 522, 523, 414, 331, 10, 331, 391, 835, 393, 401, 338, 341, 338, 41, 91, 348, 428, 310, 59, 331, 340, 359, 511, 316, 263, 264, 338, 516, 290, 291, 549, 343, 340, 522, 523, 41, 359, 279, 44, 431, 311, 312, 454, 428, 377, 554, 359, 454, 369, 370, 371, 350, 351, 59, 554, 41, 331, 574, 44, 10, 574, 453, 240, 338, 44, 272, 593, 274, 275, 794, 308, 320, 2, 3, 574, 61, 369, 370, 8, 9, 10, 11, 268, 269, 611, 15, 16, 341, 615, 19, 41, 542, 619, 44, 10, 544, 26, 263, 264, 10, 349, 56, 57, 630, 353, 354, 355, 356, 59, 44, 44, 91, 44, 343, 331, 566, 643, 47, 48, 49, 690, 338, 362, 53, 340, 320, 630, 320, 655, 320, 93, 41, 544, 545, 657, 662, 663, 41, 125, 308, 371, 668, 669, 59, 304, 371, 44, 58, 59, 347, 269, 678, 679, 565, 267, 271, 91, 264, 607, 44, 41, 44, 689, 41, 125, 41, 331, 579, 41, 331, 32, 741, 340, 338, 744, 105, 338, 107, 264, 340, 91, 340, 268, 269, 340, 712, 713, 714, 348, 349, 350, 351, 657, 720, 579, 607, 264, 93, 662, 663, 727, 269, 279, 271, 668, 732, 733, 44, 2, 3, 4, 5, 732, 41, 8, 737, 738, 732, 630, 10, 14, 633, 93, 630, 264, 61, 404, 44, 732, 44, 44, 304, 683, 341, 304, 627, 628, 702, 650, 263, 767, 340, 769, 340, 340, 657, 658, 93, 660, 661, 662, 663, 41, 47, 331, 44, 668, 51, 10, 264, 709, 338, 264, 44, 93, 650, 343, 58, 59, 796, 350, 798, 61, 658, 725, 660, 661, 804, 44, 44, 44, 808, 359, 2, 3, 812, 41, 41, 41, 8, 702, 125, 222, 223, 706, 14, 90, 709, 93, 279, 91, 340, 91, 767, 570, 571, 58, 59, 835, 721, 722, 723, 264, 107, 244, 41, 246, 247, 264, 10, 847, 706, 849, 264, 340, 91, 256, 264, 47, 41, 359, 264, 41, 263, 834, 125, 721, 722, 723, 91, 867, 264, 869, 847, 279, 125, 262, 263, 264, 44, 877, 331, 308, 269, 881, 767, 267, 264, 338, 771, 772, 264, 306, 307, 44, 309, 44, 41, 59, 313, 314, 301, 302, 303, 304, 305, 306, 307, 308, 359, 792, 125, 264, 93, 44, 264, 771, 264, 107, 2, 3, 4, 5, 6, 44, 8, 331, 93, 125, 271, 343, 14, 44, 338, 41, 41, 10, 792, 93, 93, 125, 41, 342, 264, 826, 345, 346, 93, 348, 349, 331, 125, 352, 835, 359, 837, 41, 338, 835, 61, 5, 91, 844, 863, 47, 44, 614, 6, 51, 369, 370, 371, 834, 78, 776, 559, 624, 657, 836, 91, 90, 247, 837, 383, 58, 59, -1, 387, 695, 844, 695, 391, 256, 393, 2, 3, 71, 10, -1, 263, 8, -1, 402, -1, -1, -1, 267, 90, -1, -1, -1, -1, 91, -1, 414, -1, -1, 91, -1, -1, 279, 280, -1, -1, 107, -1, -1, -1, 428, -1, 293, 294, 295, 296, 297, -1, -1, 301, -1, 47, -1, -1, 306, 279, 280, 267, 59, 783, 784, -1, 786, -1, -1, -1, 454, -1, 10, -1, 280, 9, 10, 11, -1, -1, -1, -1, -1, 256, -1, -1, 331, -1, 331, -1, 263, -1, 26, 338, 726, 338, -1, 729, 730, -1, 343, 349, 350, 49, -1, 304, 10, -1, 307, 308, 309, 331, -1, -1, 48, 107, 359, -1, 338, 362, 58, 59, 370, 343, -1, 331, -1, -1, 301, -1, -1, -1, 338, 306, -1, 383, 856, 343, -1, 359, -1, -1, 362, 391, 343, 393, -1, -1, -1, 348, 349, 350, 351, 91, 58, 59, 362, -1, -1, 304, 544, 545, 307, 308, 309, 279, 280, -1, -1, -1, -1, 105, -1, -1, -1, -1, 349, -1, 810, 811, 428, 565, 41, 279, -1, 44, 331, 91, -1, 256, -1, -1, -1, 338, -1, 579, 263, 370, 343, -1, -1, -1, 61, 348, 349, 350, 351, -1, -1, 267, 383, -1, -1, 845, 846, -1, 279, 331, 391, 851, 393, -1, 280, 607, 338, -1, -1, -1, -1, 343, -1, -1, 91, -1, 301, 331, 868, -1, -1, 306, -1, 10, 338, -1, 876, 359, 630, 879, 362, 633, -1, 883, -1, -1, 304, 428, -1, 307, 308, 309, -1, -1, -1, 359, 256, -1, 650, -1, 331, -1, -1, 263, -1, 331, 658, 338, 660, 661, 662, 663, 338, -1, 349, 350, 668, 343, -1, -1, 222, 223, 59, -1, -1, -1, -1, -1, 359, 545, 348, 349, 350, 351, -1, 370, 362, -1, -1, 304, -1, 301, 307, 308, 309, -1, 306, -1, 383, 565, 231, 232, -1, -1, 706, -1, 391, 709, 393, -1, -1, 267, -1, 579, -1, -1, 331, -1, -1, 721, 722, 723, 0, 338, 280, -1, -1, -1, 343, -1, -1, 10, -1, 348, 349, 350, 351, -1, -1, 349, -1, -1, -1, 428, -1, 267, -1, -1, -1, -1, 302, 303, 304, 305, 545, 307, 308, -1, -1, -1, 370, -1, -1, 41, -1, 767, -1, -1, -1, 771, 772, -1, -1, 383, 565, 331, -1, -1, 342, -1, 59, 391, 338, 393, 650, 651, -1, 343, 579, -1, 792, 657, 658, -1, 660, 661, -1, -1, -1, -1, -1, -1, 279, -1, 10, 369, 362, -1, -1, 331, -1, -1, -1, 377, 378, 346, 338, 348, 428, 371, -1, 44, -1, 387, 826, -1, -1, -1, -1, -1, -1, -1, -1, 835, -1, 837, 702, -1, 402, -1, 706, -1, 844, -1, -1, -1, 377, 125, -1, -1, -1, -1, -1, 59, 331, 721, 722, 723, -1, 650, 545, 338, 414, 394, -1, -1, 657, 658, 91, 660, 661, -1, -1, -1, -1, 406, 407, -1, -1, 410, 565, -1, 359, 414, -1, -1, -1, -1, 41, -1, 454, 44, -1, -1, 579, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 771, 772, -1, 61, -1, 441, 702, -1, 444, -1, 706, 447, 304, -1, -1, 307, 308, 309, -1, -1, 10, 792, -1, -1, -1, 721, 722, 723, -1, -1, 545, -1, -1, 91, -1, -1, 505, 506, 507, 331, -1, -1, 511, -1, -1, 41, 338, -1, 44, -1, 565, 343, -1, 522, 523, 826, 348, 349, 350, 351, 650, -1, -1, -1, 579, 61, 837, 657, 658, 59, 660, 661, -1, 844, -1, 771, 772, 546, -1, 262, 263, 264, -1, -1, -1, 268, 269, 544, 271, -1, 526, -1, -1, -1, 41, 91, 792, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 578, -1, 580, 702, 582, 61, -1, 706, -1, -1, 41, 304, 590, 44, 307, 308, 309, -1, -1, -1, -1, 826, 721, 722, 723, -1, 650, 0, -1, -1, 61, -1, 837, -1, 658, 91, 660, 661, 331, 844, -1, 607, 279, 280, -1, 338, -1, -1, 593, -1, 343, -1, -1, -1, -1, 348, 349, 350, 351, -1, 91, -1, -1, -1, -1, -1, 611, 633, 41, -1, 615, -1, 771, 772, 619, -1, -1, -1, -1, -1, -1, -1, 706, -1, 304, 630, -1, 307, 308, 309, -1, -1, 0, 792, 331, -1, -1, 721, 722, 723, -1, 338, 10, 681, -1, -1, 343, -1, -1, -1, -1, 331, 279, 280, -1, -1, -1, -1, 338, -1, -1, -1, 359, 343, -1, 362, -1, 826, 348, 349, 350, 351, -1, 41, 679, -1, 44, -1, 837, -1, -1, -1, -1, 709, 689, 844, -1, 771, 772, -1, 58, 59, 125, 61, -1, 63, -1, -1, -1, 737, 738, -1, -1, -1, 331, -1, -1, -1, 792, -1, -1, 338, -1, -1, 279, 720, 343, -1, -1, -1, -1, -1, 727, 91, -1, 93, -1, -1, 733, -1, -1, -1, 359, -1, -1, 362, -1, -1, -1, -1, -1, -1, 826, -1, -1, 304, -1, -1, 307, 308, 309, -1, -1, 837, -1, 0, -1, 125, -1, -1, 844, 799, -1, 279, 769, 10, 331, -1, -1, -1, -1, -1, 331, 338, -1, -1, -1, -1, 343, 338, -1, -1, -1, -1, 343, -1, -1, -1, 279, 348, 349, 350, 351, 798, 359, -1, 41, 835, -1, 44, -1, -1, -1, 808, -1, -1, -1, 812, -1, -1, -1, -1, -1, 58, 59, 331, 61, -1, 63, -1, -1, -1, 338, -1, -1, 863, -1, -1, 10, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, 331, -1, 847, 359, 849, -1, 91, 338, 93, 320, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 867, -1, 869, 336, 337, -1, 359, -1, -1, -1, 877, -1, -1, -1, 881, -1, 349, -1, 125, 63, 353, 354, 355, 356, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, 63, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, 59, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, 297, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 58, 59, -1, 61, -1, 63, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, 304, 305, 0, -1, 308, -1, -1, -1, -1, -1, -1, 315, 10, 317, 318, 125, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, 320, 41, 348, 349, 44, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, 336, 337, 58, 59, -1, 61, 304, 63, -1, 307, 308, 309, -1, 349, -1, 351, -1, 353, 354, 355, 356, -1, 10, -1, -1, 320, -1, -1, -1, -1, 325, 326, -1, 331, -1, 91, -1, 93, -1, -1, 338, 336, 337, -1, -1, 343, -1, -1, -1, -1, 348, 349, 350, 351, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 125, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 63, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, 304, -1, -1, 307, 308, 309, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 331, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 41, 343, -1, 44, -1, -1, 348, 349, 350, 351, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 304, 305, 0, -1, 308, -1, -1, -1, -1, -1, -1, 315, 10, 317, 318, 125, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, 348, 349, 44, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 58, 59, -1, -1, -1, 63, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, 91, -1, 93, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 44, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, 125, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 304, 305, 58, 59, 308, -1, -1, 63, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, 0, 361, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, 41, 329, -1, 44, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 348, 349, 63, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, 91, -1, 93, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, 58, -1, -1, -1, 125, 63, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 304, 305, 58, 59, 308, -1, -1, 63, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, 0, 361, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, 41, 329, -1, 44, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 348, 349, 63, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, 91, -1, 93, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, -1, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, -1, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, 41, 325, 326, 44, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, 58, 59, -1, 61, -1, 63, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, 91, -1, 93, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, 0, 334, 335, 336, 337, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, 41, -1, -1, 44, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, 58, 59, 329, -1, -1, 63, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, 91, 361, 93, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 349, 125, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, -1, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, -1, 329, 330, -1, -1, -1, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, 59, -1, 61, -1, 63, 320, 321, 322, 323, 324, 325, 326, -1, -1, 329, 330, -1, -1, -1, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 320, 361, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, 336, 337, 10, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, -1, -1, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, }; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 565, 2371, 16, 225, 29460, 16, 282, 4711, 16, 282, 2872, 16, 565, 1666, 16, 6647, 890, 8285, 16, 282, 5342, 16, 282, 4711, 16, 282, 2872, 16, 282, 9035, 16, 225, 890, 5877, 16, 282, 5342, 16, 282, 20170, 16, 565, 1666, 16, 565, 2371, 16, 6647, 890, 9975, 16, 225, 890, 10689, 16, 282, 12732, 16, 282, 4711, 16, 282, 2872, 16, 282, 12732, 16, 225, 890, 9452, 16, 282, 5342, 16, 282, 21193, 16, 282, 13291, 16, 5411, 1728, 16, 565, 890, 16, 225, 1666, 11180, 16, 225, 890, 7301, 16, 282, 17160, 16, 282, 6437, 16, 282, 1728, 16, 282, 18106, 16, 282, 15935, 16, 282, 12732, 16, 5411, 1728, 16, 225, 1059, 2163, 16, 282, 6437, 16, 225, 13822, 16, 282, 9035, 16, 225, 576, 9975, 16, 282, 13291, 16, 282, 3847, 16, 282, 17495, 16, 225, 576, 10525, 16, 5411, 1728, 16, 565, 1059, 16, 565, 1381, 16, 225, 6580, 29, 16, 282, 26465, 16, 282, 1728, 16, 282, 21119, 16, 282, 22431, 16, 282, 6437, 16, 225, 576, 4449, 16, 6647, 576, 3672, 16, 282, 5045, 16, 225, 1728, 26, 16, 282, 1728, 16, 225, 576, 3672, 16, 282, 1728, 16, 282, 22431, 16, 225, 6437, 26, 16, 225, 6437, 27, 16, 225, 5196, 26, 16, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 565, 2371, 16, 225, 29460, 16, 282, 4711, 16, 282, 2872, 16, 565, 1666, 16, 6647, 890, 8285, 16, 282, 5342, 16, 282, 4711, 16, 282, 2872, 16, 282, 9035, 16, 225, 890, 5877, 16, 282, 5342, 16, 282, 20170, 16, 565, 1666, 16, 565, 2371, 16, 6647, 890, 9975, 16, 225, 890, 10689, 16, 282, 12732, 16, 282, 4711, 16, 282, 2872, 16, 282, 12732, 16, 225, 890, 9452, 16, 282, 5342, 16, 282, 21193, 16, 282, 13291, 16, 5411, 1728, 16, 565, 890, 16, 2 ]
TimeZone tz = TimeZone.getTimeZone("US/Eastern");
TimeZone tz = TimeZone.getTimeZone("US/Eastern");
public void testSettingsWithStartEndDayAndTimeZone() throws Exception { SessionSettings settings = new SessionSettings(); settings.setString(Session.SETTING_TIMEZONE, "US/Eastern"); settings.setString(Session.SETTING_START_DAY, "Tue"); settings.setString(Session.SETTING_END_DAY, "Fri"); settings.setString(Session.SETTING_START_TIME, "01:00:00"); settings.setString(Session.SETTING_END_TIME, "15:00:00"); SessionID sessionID = new SessionID("FIX.4.2", "SENDER", "TARGET"); SessionSchedule schedule = new SessionSchedule(settings, sessionID); TimeZone tz = TimeZone.getTimeZone("US/Eastern"); doIsSessionTimeTest(schedule, false, 2006, 1, 27, 0, 30, 0, tz); doIsSessionTimeTest(schedule, false, 2006, 1, 27, 1, 30, 0, tz); doIsSessionTimeTest(schedule, false, 2006, 1, 28, 0, 59, 0, tz); doIsSessionTimeTest(schedule, true, 2006, 1, 28, 14, 30, 0, tz); doIsSessionTimeTest(schedule, true, 2006, 2, 1, 0, 30, 0, tz); doIsSessionTimeTest(schedule, true, 2006, 2, 3, 14, 30, 0, tz); doIsSessionTimeTest(schedule, false, 2006, 2, 3, 16, 30, 0, tz); doIsSessionTimeTest(schedule, false, 2006, 2, 4, 16, 30, 0); }
52211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52211/12051425dd8a2de5b2c7181dc007d4b8a4504dbb/SessionScheduleTest.java/clean/test/quickfix/SessionScheduleTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2628, 1190, 1685, 1638, 4245, 1876, 16760, 1435, 1216, 1185, 288, 3639, 3877, 2628, 1947, 273, 394, 3877, 2628, 5621, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 4684, 20725, 16, 315, 3378, 19, 41, 2440, 82, 8863, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 7570, 67, 10339, 16, 315, 56, 344, 8863, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 4415, 67, 10339, 16, 315, 42, 566, 8863, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 7570, 67, 4684, 16, 315, 1611, 30, 713, 30, 713, 8863, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 4415, 67, 4684, 16, 315, 3600, 30, 713, 30, 713, 8863, 3639, 3877, 734, 13737, 273, 394, 3877, 734, 2932, 4563, 18, 24, 18, 22, 3113, 315, 1090, 18556, 3113, 315, 16374, 8863, 3639, 3877, 6061, 4788, 273, 394, 3877, 6061, 12, 4272, 16, 13737, 1769, 3639, 16491, 6016, 273, 16491, 18, 588, 16760, 2932, 3378, 19, 41, 2440, 82, 8863, 7734, 741, 2520, 2157, 950, 4709, 12, 10676, 16, 629, 16, 27212, 16, 404, 16, 12732, 16, 374, 16, 5196, 16, 374, 16, 6016, 1769, 3639, 741, 2520, 2157, 950, 4709, 12, 10676, 16, 629, 16, 27212, 16, 404, 16, 12732, 16, 404, 16, 5196, 16, 374, 16, 6016, 1769, 3639, 741, 2520, 2157, 950, 4709, 12, 10676, 16, 629, 16, 27212, 16, 404, 16, 9131, 16, 374, 16, 14995, 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, 2628, 1190, 1685, 1638, 4245, 1876, 16760, 1435, 1216, 1185, 288, 3639, 3877, 2628, 1947, 273, 394, 3877, 2628, 5621, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 4684, 20725, 16, 315, 3378, 19, 41, 2440, 82, 8863, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 7570, 67, 10339, 16, 315, 56, 344, 8863, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 4415, 67, 10339, 16, 315, 42, 566, 8863, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 7570, 67, 4684, 16, 315, 1611, 30, 713, 30, 713, 8863, 3639, 1947, 18, 542, 780, 12, 2157, 18, 1090, 12239, 67, 4415, 67, 4684, 2 ]
Logger.normal(this, "1: maybeUpdateHandshakeIPs got a result of: "+handshakeIPsToString());
Logger.minor(this, "1: maybeUpdateHandshakeIPs got a result of: "+handshakeIPsToString());
public void maybeUpdateHandshakeIPs(boolean ignoreHostnames) { long now = System.currentTimeMillis(); if((now - lastAttemptedHandshakeIPUpdateTime) < (5*60*1000)) return; // 5 minutes // We want to come back right away for DNS requesting if this is our first time through if(!ignoreHostnames) lastAttemptedHandshakeIPUpdateTime = now; Logger.normal(this, "Updating handshake IPs for peer '"+getPeer()+"' named '"+myName+"' ("+ignoreHostnames+")"); Peer[] localHandshakeIPs; Peer[] p = null; Peer[] myNominalPeer; // Don't synchronize while doing lookups which may take a long time! synchronized(this) { myNominalPeer = (Peer[]) nominalPeer.toArray(new Peer[nominalPeer.size()]); } if(myNominalPeer.length == 0) { if(detectedPeer == null) { localHandshakeIPs = null; synchronized(this) { handshakeIPs = localHandshakeIPs; } Logger.normal(this, "1: maybeUpdateHandshakeIPs got a result of: "+handshakeIPsToString()); return; } localHandshakeIPs = new Peer[] { detectedPeer }; for(int i=0;i<localHandshakeIPs.length;i++) { if(ignoreHostnames) { // Don't do a DNS request on the first cycle through PeerNodes by DNSRequest // upon startup (I suspect the following won't do anything, but just in case) localHandshakeIPs[i].getAddress(false); } else { // Actually do the DNS request for the member Peer of localHandshakeIPs localHandshakeIPs[i].getHandshakeAddress(); } } synchronized(this) { handshakeIPs = localHandshakeIPs; } Logger.normal(this, "2: maybeUpdateHandshakeIPs got a result of: "+handshakeIPsToString()); return; } if( detectedPeer != null && ! nominalPeer.contains(detectedPeer)){ p= new Peer[1+nominalPeer.size()]; p[0]=detectedPeer; for(int i=1;i<nominalPeer.size()+1;i++) p[i]=(Peer) nominalPeer.get(i-1); }else{ p = (Peer[]) nominalPeer.toArray(new Peer[nominalPeer.size()]); } // Hack for two nodes on the same IP that can't talk over inet for routing reasons FreenetInetAddress localhost = node.fLocalhostAddress; FreenetInetAddress nodeAddr = node.getPrimaryIPAddress(); Peer extra = null; for(int i=0;i<p.length;i++) { FreenetInetAddress a = p[i].getFreenetAddress(); if(a.equals(nodeAddr)) { extra = new Peer(localhost, p[i].getPort()); } } if(extra != null) { Peer[] newPeers = new Peer[p.length+1]; System.arraycopy(p, 0, newPeers, 0, p.length); newPeers[p.length] = extra; p = newPeers; } localHandshakeIPs = p; for(int i=0;i<localHandshakeIPs.length;i++) { // Actually do the DNS request for the member Peer of localHandshakeIPs localHandshakeIPs[i].getHandshakeAddress(); } synchronized(this) { handshakeIPs = localHandshakeIPs; } Logger.normal(this, "3: maybeUpdateHandshakeIPs got a result of: "+handshakeIPsToString()); return; }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/eeca3bcf6e867de2577f41461470a78057554d0b/PeerNode.java/buggy/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6944, 1891, 14545, 18246, 12, 6494, 2305, 2594, 1973, 13, 288, 377, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 430, 12443, 3338, 300, 1142, 28788, 14545, 2579, 1891, 950, 13, 411, 261, 25, 14, 4848, 14, 18088, 3719, 327, 31, 225, 368, 1381, 6824, 377, 202, 759, 1660, 2545, 358, 12404, 1473, 2145, 10804, 364, 8858, 18709, 309, 333, 353, 3134, 1122, 813, 3059, 377, 202, 430, 12, 5, 6185, 2594, 1973, 13, 377, 202, 202, 2722, 28788, 14545, 2579, 1891, 950, 273, 2037, 31, 377, 202, 3328, 18, 6130, 12, 2211, 16, 315, 17858, 11942, 23842, 364, 4261, 2119, 15, 588, 6813, 1435, 15, 5187, 4141, 2119, 15, 4811, 461, 15, 5187, 7566, 15, 6185, 2594, 1973, 9078, 2225, 1769, 377, 202, 6813, 8526, 1191, 14545, 18246, 31, 377, 202, 6813, 8526, 293, 273, 446, 31, 377, 202, 6813, 8526, 3399, 26685, 1490, 6813, 31, 377, 202, 377, 202, 759, 7615, 1404, 16978, 1323, 9957, 20286, 1492, 2026, 4862, 279, 1525, 813, 5, 377, 202, 22043, 12, 2211, 13, 288, 377, 202, 202, 4811, 26685, 1490, 6813, 273, 261, 6813, 63, 5717, 12457, 1490, 6813, 18, 31447, 12, 2704, 10669, 63, 12306, 1490, 6813, 18, 1467, 1435, 19226, 377, 202, 97, 377, 202, 377, 202, 430, 12, 4811, 26685, 1490, 6813, 18, 2469, 422, 374, 13, 288, 377, 202, 202, 430, 12, 8238, 828, 6813, 422, 446, 13, 288, 377, 1082, 3639, 1191, 14545, 18246, 273, 446, 31, 540, 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, 6944, 1891, 14545, 18246, 12, 6494, 2305, 2594, 1973, 13, 288, 377, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 430, 12443, 3338, 300, 1142, 28788, 14545, 2579, 1891, 950, 13, 411, 261, 25, 14, 4848, 14, 18088, 3719, 327, 31, 225, 368, 1381, 6824, 377, 202, 759, 1660, 2545, 358, 12404, 1473, 2145, 10804, 364, 8858, 18709, 309, 333, 353, 3134, 1122, 813, 3059, 377, 202, 430, 12, 5, 6185, 2594, 1973, 13, 377, 202, 202, 2722, 28788, 14545, 2579, 1891, 950, 273, 2037, 31, 377, 202, 3328, 18, 6130, 12, 2211, 16, 315, 17858, 11942, 23842, 364, 4261, 2119, 15, 588, 6813, 1435, 15, 5187, 4141, 2119, 15, 4811, 461, 15, 2 ]
private URL getMoreInfoURL(AboutBundleData bundleInfo) {
private URL getMoreInfoURL(AboutBundleData bundleInfo, boolean makeLocal) {
private URL getMoreInfoURL(AboutBundleData bundleInfo) { Bundle bundle = Platform.getBundle(bundleInfo.getId()); if (bundle == null) return null; URL aboutUrl = Platform.find(bundle, baseNLPath.append(PLUGININFO), null); if (aboutUrl != null) try { return Platform.resolve(aboutUrl); } catch(IOException e) { // do nothing } return null; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/483e90825f2add37821abfe2ec606bd8862b1f5a/AboutPluginsDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutPluginsDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1976, 2108, 479, 966, 1785, 12, 24813, 3405, 751, 3440, 966, 16, 1250, 1221, 2042, 13, 288, 3639, 8539, 3440, 273, 11810, 18, 588, 3405, 12, 9991, 966, 18, 26321, 10663, 3639, 309, 261, 9991, 422, 446, 13, 5411, 327, 446, 31, 3639, 1976, 2973, 1489, 273, 11810, 18, 4720, 12, 9991, 16, 1026, 24924, 743, 18, 6923, 12, 19415, 5923, 3631, 446, 1769, 202, 202, 430, 261, 21071, 1489, 480, 446, 13, 1082, 565, 775, 288, 1082, 3639, 327, 11810, 18, 10828, 12, 21071, 1489, 1769, 1082, 565, 289, 1044, 12, 14106, 425, 13, 288, 1082, 3639, 368, 741, 5083, 1082, 565, 289, 202, 202, 2463, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1976, 2108, 479, 966, 1785, 12, 24813, 3405, 751, 3440, 966, 16, 1250, 1221, 2042, 13, 288, 3639, 8539, 3440, 273, 11810, 18, 588, 3405, 12, 9991, 966, 18, 26321, 10663, 3639, 309, 261, 9991, 422, 446, 13, 5411, 327, 446, 31, 3639, 1976, 2973, 1489, 273, 11810, 18, 4720, 12, 9991, 16, 1026, 24924, 743, 18, 6923, 12, 19415, 5923, 3631, 446, 1769, 202, 202, 430, 261, 21071, 1489, 480, 446, 13, 1082, 565, 775, 288, 1082, 3639, 327, 11810, 18, 10828, 12, 21071, 1489, 1769, 1082, 565, 289, 1044, 12, 14106, 425, 13, 288, 1082, 3639, 368, 741, 5083, 1082, 565, 289, 202, 202, 2463, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100 ]
if (input != null) { if (fInputIsProject && input.equals(element.getJavaProject())) { postRemove(input); return; } else if (!fInputIsProject && input.equals(element)) {
if (input != null && input.equals(element)) {
protected void processDelta(IJavaElementDelta delta) throws JavaModelException { int kind = delta.getKind(); final IJavaElement element = delta.getElement(); if (isClassPathChange(delta)) { Object input= fViewer.getInput(); if (input != null) { if (fInputIsProject && input.equals(element.getJavaProject())) { postRefresh(input); return; } else if (!fInputIsProject && input.equals(element)) { if (element.exists()) postRefresh(input); else postRemove(input); return; } } } if (kind == IJavaElementDelta.REMOVED) { Object input= fViewer.getInput(); if (input != null) { if (fInputIsProject && input.equals(element.getJavaProject())) { postRemove(input); return; } else if (!fInputIsProject && input.equals(element)) { postRemove(input); return; } } } if (element instanceof IPackageFragment) { final IPackageFragment frag = (IPackageFragment) element; //if fragment was in LogicalPackage refresh, //otherwise just remove if (kind == IJavaElementDelta.REMOVED) { removeElement(frag); return; } else if (kind == IJavaElementDelta.ADDED) { Object parent= getParent(frag); addElement(frag, parent); return; } else if (kind == IJavaElementDelta.CHANGED) { //just refresh LogicalPackage logicalPkg= findLogicalPackage(frag); //in case changed object is filtered out if (logicalPkg != null) postRefresh(findElementToRefresh(logicalPkg)); else postRefresh(findElementToRefresh(frag)); return; } } processAffectedChildren(delta); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/fa13b6f5b1d02c2caed1aeb3b26a0693fdd566c6/PackagesViewHierarchicalContentProvider.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1207, 9242, 12, 45, 5852, 1046, 9242, 3622, 13, 1216, 5110, 1488, 503, 288, 202, 202, 474, 3846, 273, 3622, 18, 588, 5677, 5621, 202, 202, 6385, 467, 5852, 1046, 930, 273, 3622, 18, 21336, 5621, 202, 202, 430, 261, 291, 22158, 3043, 12, 9878, 3719, 288, 1082, 202, 921, 810, 33, 284, 18415, 18, 588, 1210, 5621, 1082, 202, 430, 261, 2630, 480, 446, 13, 288, 9506, 202, 430, 261, 74, 1210, 2520, 4109, 597, 810, 18, 14963, 12, 2956, 18, 588, 5852, 4109, 1435, 3719, 288, 6862, 202, 2767, 8323, 12, 2630, 1769, 6862, 202, 2463, 31, 9506, 202, 97, 469, 309, 16051, 74, 1210, 2520, 4109, 597, 810, 18, 14963, 12, 2956, 3719, 288, 6862, 202, 430, 261, 2956, 18, 1808, 10756, 25083, 202, 2767, 8323, 12, 2630, 1769, 6862, 202, 12107, 25083, 202, 2767, 3288, 12, 2630, 1769, 6862, 202, 2463, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 9506, 202, 430, 261, 9224, 422, 467, 5852, 1046, 9242, 18, 11122, 12135, 13, 288, 1082, 202, 921, 810, 33, 284, 18415, 18, 588, 1210, 5621, 1082, 202, 430, 261, 2630, 480, 446, 13, 288, 9506, 202, 430, 261, 74, 1210, 2520, 4109, 597, 810, 18, 14963, 12, 2956, 18, 588, 5852, 4109, 1435, 3719, 288, 6862, 202, 2767, 3288, 12, 2630, 1769, 6862, 202, 2463, 31, 9506, 202, 97, 469, 309, 16051, 74, 1210, 2520, 4109, 597, 810, 18, 14963, 12, 2956, 3719, 288, 6862, 202, 2767, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1207, 9242, 12, 45, 5852, 1046, 9242, 3622, 13, 1216, 5110, 1488, 503, 288, 202, 202, 474, 3846, 273, 3622, 18, 588, 5677, 5621, 202, 202, 6385, 467, 5852, 1046, 930, 273, 3622, 18, 21336, 5621, 202, 202, 430, 261, 291, 22158, 3043, 12, 9878, 3719, 288, 1082, 202, 921, 810, 33, 284, 18415, 18, 588, 1210, 5621, 1082, 202, 430, 261, 2630, 480, 446, 13, 288, 9506, 202, 430, 261, 74, 1210, 2520, 4109, 597, 810, 18, 14963, 12, 2956, 18, 588, 5852, 4109, 1435, 3719, 288, 6862, 202, 2767, 8323, 12, 2630, 1769, 6862, 202, 2463, 31, 9506, 202, 97, 469, 309, 16051, 74, 1210, 2520, 4109, 597, 810, 18, 14963, 12, 2956, 2 ]
generateExecute(cfw);
generateExecute(cfw, script);
private void generateCode(String encodedSource) { boolean hasScript = (scriptOrFnNodes[0].getType() == Token.SCRIPT); boolean hasFunctions = (scriptOrFnNodes.length > 1 || !hasScript); String sourceFile = null; if (generateDebugInfo) { sourceFile = scriptOrFnNodes[0].getSourceName(); } ClassFileWriter cfw = new ClassFileWriter(mainClassName, SUPER_CLASS_NAME, sourceFile); cfw.addField(ID_FIELD_NAME, "I", ClassFileWriter.ACC_PRIVATE); cfw.addField(DIRECT_CALL_PARENT_FIELD, mainClassSignature, ClassFileWriter.ACC_PRIVATE); cfw.addField(REGEXP_ARRAY_FIELD_NAME, REGEXP_ARRAY_FIELD_TYPE, ClassFileWriter.ACC_PRIVATE); if (hasFunctions) { generateFunctionConstructor(cfw); } if (hasScript) { cfw.addInterface("org/mozilla/javascript/Script"); generateScriptCtor(cfw); generateMain(cfw); generateExecute(cfw); } generateCallMethod(cfw); if (encodedSource != null) { generateGetEncodedSource(cfw, encodedSource); } int count = scriptOrFnNodes.length; for (int i = 0; i != count; ++i) { ScriptOrFnNode n = scriptOrFnNodes[i]; boolean isFunction = (n.getType() == Token.FUNCTION); generateInitImpl(cfw, n); BodyCodegen bodygen = new BodyCodegen(); bodygen.cfw = cfw; bodygen.codegen = this; bodygen.scriptOrFn = n; bodygen.generateBodyCode(); if (n.getType() == Token.FUNCTION) { OptFunctionNode fn = (OptFunctionNode)n; if (fn.isTargetOfDirectCall()) { emitDirectConstructor(cfw, fn); } } } if (directCallTargets != null) { int N = directCallTargets.size(); for (int j = 0; j != N; ++j) { OptFunctionNode fn = (OptFunctionNode)directCallTargets.get(j); cfw.addField(getDirectTargetFieldName(j), mainClassSignature, ClassFileWriter.ACC_PRIVATE); } } emitConstantDudeInitializers(cfw); mainClassBytes = cfw.toByteArray(); }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/cd4d57e8761d5259430d0f15e2d6c497dd7012b0/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 1085, 12, 780, 3749, 1830, 13, 565, 288, 3639, 1250, 711, 3651, 273, 261, 4263, 1162, 5372, 3205, 63, 20, 8009, 588, 559, 1435, 422, 3155, 18, 10885, 1769, 3639, 1250, 711, 7503, 273, 261, 4263, 1162, 5372, 3205, 18, 2469, 405, 404, 747, 401, 5332, 3651, 1769, 3639, 514, 16338, 273, 446, 31, 3639, 309, 261, 7163, 2829, 966, 13, 288, 5411, 16338, 273, 2728, 1162, 5372, 3205, 63, 20, 8009, 588, 1830, 461, 5621, 3639, 289, 3639, 30614, 2289, 6080, 91, 273, 394, 30614, 2289, 12, 5254, 3834, 16, 4766, 5375, 16459, 654, 67, 5237, 67, 1985, 16, 4766, 5375, 16338, 1769, 3639, 6080, 91, 18, 1289, 974, 12, 734, 67, 6776, 67, 1985, 16, 315, 45, 3113, 5397, 30614, 2289, 18, 31414, 67, 20055, 1769, 3639, 6080, 91, 18, 1289, 974, 12, 17541, 67, 13730, 67, 14943, 67, 6776, 16, 2774, 797, 5374, 16, 5397, 30614, 2289, 18, 31414, 67, 20055, 1769, 3639, 6080, 91, 18, 1289, 974, 12, 28225, 67, 8552, 67, 6776, 67, 1985, 16, 11980, 16109, 67, 8552, 67, 6776, 67, 2399, 16, 5397, 30614, 2289, 18, 31414, 67, 20055, 1769, 3639, 309, 261, 5332, 7503, 13, 288, 5411, 2103, 2083, 6293, 12, 8522, 91, 1769, 3639, 289, 3639, 309, 261, 5332, 3651, 13, 288, 5411, 6080, 91, 18, 1289, 1358, 2932, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 8863, 5411, 2103, 3651, 27425, 12, 8522, 91, 1769, 5411, 2103, 6376, 12, 8522, 91, 1769, 5411, 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, 1085, 12, 780, 3749, 1830, 13, 565, 288, 3639, 1250, 711, 3651, 273, 261, 4263, 1162, 5372, 3205, 63, 20, 8009, 588, 559, 1435, 422, 3155, 18, 10885, 1769, 3639, 1250, 711, 7503, 273, 261, 4263, 1162, 5372, 3205, 18, 2469, 405, 404, 747, 401, 5332, 3651, 1769, 3639, 514, 16338, 273, 446, 31, 3639, 309, 261, 7163, 2829, 966, 13, 288, 5411, 16338, 273, 2728, 1162, 5372, 3205, 63, 20, 8009, 588, 1830, 461, 5621, 3639, 289, 3639, 30614, 2289, 6080, 91, 273, 394, 30614, 2289, 12, 5254, 3834, 16, 4766, 5375, 16459, 654, 67, 5237, 67, 1985, 16, 4766, 5375, 16338, 1769, 3639, 6080, 91, 18, 1289, 974, 12, 734, 67, 6776, 67, 2 ]
public ExtensionFileFilter(String[] extensions, String description) { exts = new String[extensions.length]; System.arraycopy(extensions, 0, exts, 0, extensions.length); StringBuffer sb = new StringBuffer(description); boolean first = true; for (int i=0; i<exts.length; i++) { if (exts[i] == null) exts[i] = ""; if (exts[i].equals("")) continue; if (first) { sb.append(" ("); first = false; } else sb.append(", "); sb.append("*."); sb.append(exts[i]); } sb.append(")"); desc = sb.toString();
public ExtensionFileFilter(String extension, String description) { this(new String[] {extension}, description);
public ExtensionFileFilter(String[] extensions, String description) { exts = new String[extensions.length]; System.arraycopy(extensions, 0, exts, 0, extensions.length); StringBuffer sb = new StringBuffer(description); boolean first = true; for (int i=0; i<exts.length; i++) { if (exts[i] == null) exts[i] = ""; if (exts[i].equals("")) continue; if (first) { sb.append(" ("); first = false; } else sb.append(", "); sb.append("*."); sb.append(exts[i]); } sb.append(")"); desc = sb.toString(); }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/37c35157a6dee82217c1ac24396c5dc7189c675e/ExtensionFileFilter.java/buggy/loci/formats/ExtensionFileFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10021, 29837, 12, 780, 8526, 4418, 16, 514, 2477, 13, 288, 565, 20793, 273, 394, 514, 63, 9489, 18, 2469, 15533, 565, 2332, 18, 1126, 3530, 12, 9489, 16, 374, 16, 20793, 16, 374, 16, 4418, 18, 2469, 1769, 565, 6674, 2393, 273, 394, 6674, 12, 3384, 1769, 565, 1250, 1122, 273, 638, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 408, 87, 18, 2469, 31, 277, 27245, 288, 1377, 309, 261, 408, 87, 63, 77, 65, 422, 446, 13, 20793, 63, 77, 65, 273, 1408, 31, 1377, 309, 261, 408, 87, 63, 77, 8009, 14963, 2932, 6, 3719, 1324, 31, 1377, 309, 261, 3645, 13, 288, 3639, 2393, 18, 6923, 2932, 7566, 1769, 3639, 1122, 273, 629, 31, 1377, 289, 1377, 469, 2393, 18, 6923, 2932, 16, 315, 1769, 1377, 2393, 18, 6923, 2932, 14, 1199, 1769, 1377, 2393, 18, 6923, 12, 408, 87, 63, 77, 19226, 565, 289, 565, 2393, 18, 6923, 2932, 2225, 1769, 565, 3044, 273, 2393, 18, 10492, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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514, 63, 9489, 18, 2469, 15533, 565, 2332, 18, 1126, 3530, 12, 9489, 16, 374, 16, 20793, 16, 374, 16, 4418, 18, 2469, 1769, 565, 6674, 2393, 273, 394, 6674, 12, 3384, 1769, 565, 1250, 1122, 273, 638, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 408, 87, 18, 2469, 31, 277, 27245, 288, 1377, 309, 261, 408, 87, 63, 77, 65, 422, 446, 13, 20793, 63, 77, 65, 273, 1408, 31, 1377, 309, 261, 408, 87, 63, 77, 8009, 14963, 2932, 6, 3719, 1324, 31, 1377, 309, 261, 3645, 13, 288, 3639, 2393, 18, 6923, 2932, 7566, 1769, 2 ]
else if (elementType == java.nio.ByteBuffer.class)
else if (java.nio.Buffer.class.isAssignableFrom(elementType))
public String jniTypeName() { if (clazz == null) { return null; } if (isVoid()) { return "void"; } if (clazz.isPrimitive()) { return "j" + clazz.getName(); } if (clazz.isArray()) { Class elementType = clazz.getComponentType(); if (elementType.isPrimitive()) { // Type is array-of-primitive return "j" + elementType.getName() + "Array"; } else if (elementType == java.lang.String.class) { // Type is array-of-string return "jobjectArray /*elements are String*/"; //return "jobjectArray"; } else if (elementType == java.nio.ByteBuffer.class) { return "jobjectArray /*elements are ByteBuffer*/"; } else if (elementType.isArray()) { // Type is array-of-arrays-of-something if (elementType.getComponentType().isPrimitive()) { // Type is an array-of-arrays-of-primitive return "jobjectArray /* elements are " + elementType.getComponentType() + "[]*/"; //return "jobjectArray"; } else { throw new RuntimeException("Multi-dimensional arrays of types that are not primitives or Strings are not supported."); } } else { // Some unusual type that we don't handle throw new RuntimeException("Unexpected and unsupported type: \"" + this + "\""); } } // end array type case if (isString()) { return "jstring"; } return "jobject"; }
46690 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46690/4b93bb531605fa082bdad6452d3e6a51cbb15bed/JavaType.java/clean/src/net/java/games/gluegen/JavaType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 525, 15834, 7947, 1435, 288, 565, 309, 261, 830, 3638, 422, 446, 13, 288, 1377, 327, 446, 31, 565, 289, 565, 309, 261, 291, 19038, 10756, 288, 1377, 327, 315, 6459, 14432, 565, 289, 565, 309, 261, 830, 3638, 18, 291, 9840, 10756, 288, 1377, 327, 315, 78, 6, 397, 4003, 18, 17994, 5621, 565, 289, 565, 309, 261, 830, 3638, 18, 291, 1076, 10756, 288, 1377, 1659, 21427, 273, 4003, 18, 588, 28116, 5621, 1377, 309, 261, 2956, 559, 18, 291, 9840, 10756, 1377, 288, 3639, 368, 1412, 353, 526, 17, 792, 17, 683, 5025, 3639, 327, 315, 78, 6, 397, 21427, 18, 17994, 1435, 397, 315, 1076, 14432, 1377, 289, 1377, 469, 309, 261, 2956, 559, 422, 2252, 18, 4936, 18, 780, 18, 1106, 13, 1377, 288, 3639, 368, 1412, 353, 526, 17, 792, 17, 1080, 3639, 327, 315, 78, 1612, 1076, 1748, 6274, 854, 514, 14, 4898, 31, 3639, 368, 2463, 315, 78, 1612, 1076, 14432, 1377, 289, 1377, 469, 309, 261, 6290, 18, 82, 1594, 18, 1892, 18, 1106, 18, 291, 7961, 1265, 12, 2956, 559, 3719, 1377, 288, 3639, 327, 315, 78, 1612, 1076, 1748, 6274, 854, 7400, 14, 4898, 31, 1377, 289, 1377, 469, 309, 261, 2956, 559, 18, 291, 1076, 10756, 1377, 288, 3639, 368, 1412, 353, 526, 17, 792, 17, 16223, 17, 792, 17, 30289, 7734, 309, 261, 2956, 559, 18, 588, 28116, 7675, 291, 9840, 10756, 3639, 288, 10792, 368, 1412, 353, 392, 526, 17, 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, 525, 15834, 7947, 1435, 288, 565, 309, 261, 830, 3638, 422, 446, 13, 288, 1377, 327, 446, 31, 565, 289, 565, 309, 261, 291, 19038, 10756, 288, 1377, 327, 315, 6459, 14432, 565, 289, 565, 309, 261, 830, 3638, 18, 291, 9840, 10756, 288, 1377, 327, 315, 78, 6, 397, 4003, 18, 17994, 5621, 565, 289, 565, 309, 261, 830, 3638, 18, 291, 1076, 10756, 288, 1377, 1659, 21427, 273, 4003, 18, 588, 28116, 5621, 1377, 309, 261, 2956, 559, 18, 291, 9840, 10756, 1377, 288, 3639, 368, 1412, 353, 526, 17, 792, 17, 683, 5025, 3639, 327, 315, 78, 6, 397, 21427, 18, 17994, 1435, 397, 315, 1076, 14432, 1377, 289, 1377, 469, 309, 261, 2 ]
if (name==null) { logMissingAttribute(element, CAT_ATT_NAME); } CapabilityCategory category = new CapabilityCategory(id, name); capabilityRegistry.addCategory(category);
private boolean readCategory(IConfigurationElement element) { String id = element.getAttribute(CAT_ATT_ID); String name = element.getAttribute(CAT_ATT_NAME); if (id==null) { logMissingAttribute(element, CAT_ATT_ID); } if (name==null) { logMissingAttribute(element, CAT_ATT_NAME); } CapabilityCategory category = new CapabilityCategory(id, name); capabilityRegistry.addCategory(category); return true; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/440f5144e9ac626abee93b29d254622715027c3c/CapabilityRegistryReader.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/registry/CapabilityRegistryReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 855, 4457, 12, 45, 1750, 1046, 930, 13, 288, 202, 202, 780, 612, 273, 930, 18, 588, 1499, 12, 14130, 67, 789, 56, 67, 734, 1769, 202, 202, 780, 508, 273, 930, 18, 588, 1499, 12, 14130, 67, 789, 56, 67, 1985, 1769, 6862, 202, 430, 261, 350, 631, 2011, 13, 288, 1082, 202, 1330, 4841, 1499, 12, 2956, 16, 30210, 67, 789, 56, 67, 734, 1769, 202, 202, 97, 202, 202, 430, 261, 529, 631, 2011, 13, 288, 1082, 202, 1330, 4841, 1499, 12, 2956, 16, 30210, 67, 789, 56, 67, 1985, 1769, 202, 202, 97, 202, 202, 17035, 4457, 3150, 273, 394, 28075, 4457, 12, 350, 16, 508, 1769, 202, 202, 13568, 4243, 18, 1289, 4457, 12, 4743, 1769, 202, 202, 2463, 638, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 1499, 12, 14130, 67, 789, 56, 67, 734, 1769, 202, 202, 780, 508, 273, 930, 18, 588, 1499, 12, 14130, 67, 789, 56, 67, 1985, 1769, 6862, 202, 430, 261, 350, 631, 2011, 13, 288, 1082, 202, 1330, 4841, 1499, 12, 2956, 16, 30210, 67, 789, 56, 67, 734, 1769, 202, 202, 97, 202, 202, 430, 261, 529, 631, 2011, 13, 288, 1082, 202, 1330, 4841, 1499, 12, 2956, 16, 30210, 67, 789, 56, 67, 1985, 1769, 202, 202, 97, 202, 202, 17035, 4457, 3150, 273, 394, 28075, 4457, 12, 350, 16, 508, 1769, 202, 202, 13568, 4243, 2 ]
public void reset() { spoolName.setEnabled(false); spoolName.setText(""); //select.setSelected(false); all.setSelected(true); }
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/a0b52967963e68feb943e20f08a495df37ac01c3/SpoolNameTabPanel.java/buggy/src/org/tn5250j/spoolfile/SpoolNameTabPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 6208, 1435, 95, 1752, 1371, 461, 18, 542, 1526, 12, 5743, 1769, 1752, 1371, 461, 18, 542, 1528, 2932, 8863, 759, 4025, 18, 542, 7416, 12, 5743, 1769, 454, 18, 542, 7416, 12, 3767, 1769, 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, 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 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 6208, 1435, 95, 1752, 1371, 461, 18, 542, 1526, 12, 5743, 1769, 1752, 1371, 461, 18, 542, 1528, 2932, 8863, 759, 4025, 18, 542, 7416, 12, 5743, 1769, 454, 18, 542, 7416, 12, 3767, 1769, 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 ]
for(int i = 0; i < superMethods.length; i++){ final PsiMethod superMethod = superMethods[i];
for(final PsiMethod superMethod : superMethods){
private void checkParameter(PsiParameter parameter, int index, PsiMethod[] superMethods){ final String parameterName = parameter.getName(); if(parameterName == null){ return; } for(int i = 0; i < superMethods.length; i++){ final PsiMethod superMethod = superMethods[i]; final PsiParameterList parameterList = superMethod.getParameterList(); if(parameterList != null){ final PsiParameter[] parameters = parameterList.getParameters(); if(parameters != null){ final String superParameterName = parameters[index].getName(); if(superParameterName != null && !superParameterName.equals(parameterName)){ if(!m_ignoreSingleCharacterNames || superParameterName.length() != 1){ registerVariableError(parameter); return; } } } } } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/2d46d291193579a7564649b4881c7ea8e02eda5b/ParameterNameDiffersFromOverriddenParameterInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/naming/ParameterNameDiffersFromOverriddenParameterInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 866, 1662, 12, 52, 7722, 1662, 1569, 16, 509, 770, 16, 4766, 565, 453, 7722, 1305, 8526, 2240, 4712, 15329, 5411, 727, 514, 15524, 273, 1569, 18, 17994, 5621, 5411, 309, 12, 6775, 461, 422, 446, 15329, 7734, 327, 31, 5411, 289, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 2240, 4712, 18, 2469, 31, 277, 27245, 95, 7734, 727, 453, 7722, 1305, 2240, 1305, 273, 2240, 4712, 63, 77, 15533, 7734, 727, 453, 7722, 1662, 682, 1569, 682, 273, 13491, 2240, 1305, 18, 588, 1662, 682, 5621, 7734, 309, 12, 6775, 682, 480, 446, 15329, 10792, 727, 453, 7722, 1662, 8526, 1472, 273, 18701, 1569, 682, 18, 588, 2402, 5621, 10792, 309, 12, 3977, 480, 446, 15329, 13491, 727, 514, 2240, 24586, 273, 27573, 1472, 63, 1615, 8009, 17994, 5621, 13491, 309, 12, 9565, 24586, 480, 446, 597, 4766, 282, 401, 9565, 24586, 18, 14963, 12, 6775, 461, 3719, 95, 18701, 309, 12, 5, 81, 67, 6185, 5281, 7069, 1557, 747, 4766, 4202, 2240, 24586, 18, 2469, 1435, 480, 404, 15329, 27573, 1744, 3092, 668, 12, 6775, 1769, 27573, 327, 31, 18701, 289, 13491, 289, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 866, 1662, 12, 52, 7722, 1662, 1569, 16, 509, 770, 16, 4766, 565, 453, 7722, 1305, 8526, 2240, 4712, 15329, 5411, 727, 514, 15524, 273, 1569, 18, 17994, 5621, 5411, 309, 12, 6775, 461, 422, 446, 15329, 7734, 327, 31, 5411, 289, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 2240, 4712, 18, 2469, 31, 277, 27245, 95, 7734, 727, 453, 7722, 1305, 2240, 1305, 273, 2240, 4712, 63, 77, 15533, 7734, 727, 453, 7722, 1662, 682, 1569, 682, 273, 13491, 2240, 1305, 18, 588, 1662, 682, 5621, 7734, 309, 12, 6775, 682, 480, 446, 15329, 10792, 727, 453, 7722, 1662, 8526, 1472, 273, 18701, 1569, 682, 18, 588, 2402, 5621, 10792, 309, 12, 2 ]
new ProgressMonitorDialog(getShell()).run(fork, cancelable, runnable);
new ProgressMonitorJobsDialog(getShell()).run(fork, cancelable, runnable);
public void run(boolean fork, boolean cancelable, IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException { new ProgressMonitorDialog(getShell()).run(fork, cancelable, runnable); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/b51c2fc598412328186b6dc9d53170279785fe34/ProjectCapabilityEditingPropertyPage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ProjectCapabilityEditingPropertyPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 12, 6494, 12515, 16, 1250, 3755, 429, 16, 467, 20013, 1190, 5491, 14685, 13, 1216, 15342, 16, 7558, 288, 1082, 202, 2704, 10980, 7187, 6353, 12, 588, 13220, 1435, 2934, 2681, 12, 23335, 16, 3755, 429, 16, 14685, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3196, 202, 482, 918, 1086, 12, 6494, 12515, 16, 1250, 3755, 429, 16, 467, 20013, 1190, 5491, 14685, 13, 1216, 15342, 16, 7558, 288, 1082, 202, 2704, 10980, 7187, 6353, 12, 588, 13220, 1435, 2934, 2681, 12, 23335, 16, 3755, 429, 16, 14685, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throws IOException, UnsupportedCallbackException {
throws IOException, UnsupportedCallbackException {
public void handle(Callback callback, Authentication authentication) throws IOException, UnsupportedCallbackException { if (callback instanceof NameCallback) { NameCallback ncb = (NameCallback) callback; ncb.setName(authentication.getPrincipal().toString()); } }
57740 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57740/2bda6ec25c13295b44176bdb841737344bfc0f0a/JaasNameCallbackHandler.java/buggy/core/src/main/java/org/acegisecurity/providers/jaas/JaasNameCallbackHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 12, 2428, 1348, 16, 8665, 5107, 13, 3639, 1216, 1860, 16, 7221, 2428, 503, 288, 540, 309, 261, 3394, 1276, 1770, 2428, 13, 288, 5411, 1770, 2428, 290, 7358, 273, 261, 461, 2428, 13, 1348, 31, 5411, 290, 7358, 18, 542, 461, 12, 12293, 18, 588, 9155, 7675, 10492, 10663, 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, 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071, 918, 1640, 12, 2428, 1348, 16, 8665, 5107, 13, 3639, 1216, 1860, 16, 7221, 2428, 503, 288, 540, 309, 261, 3394, 1276, 1770, 2428, 13, 288, 5411, 1770, 2428, 290, 7358, 273, 261, 461, 2428, 13, 1348, 31, 5411, 290, 7358, 18, 542, 461, 12, 12293, 18, 588, 9155, 7675, 10492, 10663, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
= runtime.exec(StringUtils.splitArguments(program)); Thread stdErrThread = new ProcessUtils.StdErrThread(process);
= runtime.exec(StringUtil.splitArguments(program)); Thread stdErrThread = new ProcessUtil.StdErrThread(process);
public GtpServer(boolean verbose, boolean loop, String program, String remoteHost, int port, String userFile) throws Exception { Runtime runtime = Runtime.getRuntime(); ServerSocket serverSocket = null; if (remoteHost == null) serverSocket = new ServerSocket(port, 1); while (true) { Process process = runtime.exec(StringUtils.splitArguments(program)); Thread stdErrThread = new ProcessUtils.StdErrThread(process); stdErrThread.start(); Socket socket; if (serverSocket == null) socket = connectToRemote(remoteHost, port, userFile); else { if (verbose) System.err.println("Waiting for connection..."); socket = serverSocket.accept(); } if (verbose) System.err.println("gtpserver: Connected with " + socket.getInetAddress()); Thread fromNet = new Thread(new StreamCopy(verbose, socket.getInputStream(), process.getOutputStream(), true)); Thread toNet = new Thread(new StreamCopy(verbose, process.getInputStream(), socket.getOutputStream(), false)); fromNet.start(); toNet.start(); toNet.join(); socket.shutdownOutput(); fromNet.join(); socket.close(); process.waitFor(); if (remoteHost != null || ! loop) break; } if (serverSocket != null) serverSocket.close(); }
51310 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51310/1f50ffb219183ddaf94720a4aba453e11f412425/GtpServer.java/buggy/src/net/sf/gogui/gtpserver/GtpServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 611, 6834, 2081, 12, 6494, 3988, 16, 1250, 2798, 16, 514, 5402, 16, 5397, 514, 2632, 2594, 16, 509, 1756, 16, 514, 729, 812, 13, 3639, 1216, 1185, 565, 288, 3639, 2509, 3099, 273, 2509, 18, 588, 5576, 5621, 3639, 3224, 4534, 1438, 4534, 273, 446, 31, 3639, 309, 261, 7222, 2594, 422, 446, 13, 5411, 1438, 4534, 273, 394, 3224, 4534, 12, 655, 16, 404, 1769, 3639, 1323, 261, 3767, 13, 3639, 288, 5411, 4389, 1207, 7734, 273, 3099, 18, 4177, 12, 780, 1989, 18, 4939, 4628, 12, 12890, 10019, 5411, 4884, 2044, 2524, 3830, 273, 394, 4389, 1989, 18, 10436, 2524, 3830, 12, 2567, 1769, 5411, 2044, 2524, 3830, 18, 1937, 5621, 5411, 8758, 2987, 31, 5411, 309, 261, 3567, 4534, 422, 446, 13, 7734, 2987, 273, 3077, 774, 5169, 12, 7222, 2594, 16, 1756, 16, 729, 812, 1769, 5411, 469, 5411, 288, 7734, 309, 261, 11369, 13, 10792, 2332, 18, 370, 18, 8222, 2932, 15946, 364, 1459, 7070, 1769, 7734, 2987, 273, 1438, 4534, 18, 9436, 5621, 5411, 289, 5411, 309, 261, 11369, 13, 7734, 2332, 18, 370, 18, 8222, 2932, 4521, 84, 3567, 30, 6683, 828, 598, 315, 4766, 282, 397, 2987, 18, 588, 382, 278, 1887, 10663, 5411, 4884, 628, 7308, 273, 7734, 394, 4884, 12, 2704, 3961, 2951, 12, 11369, 16, 2987, 18, 588, 4348, 9334, 4766, 1850, 1207, 18, 588, 4632, 9334, 638, 10019, 5411, 4884, 358, 7308, 273, 7734, 394, 4884, 12, 2704, 3961, 2951, 12, 11369, 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, 611, 6834, 2081, 12, 6494, 3988, 16, 1250, 2798, 16, 514, 5402, 16, 5397, 514, 2632, 2594, 16, 509, 1756, 16, 514, 729, 812, 13, 3639, 1216, 1185, 565, 288, 3639, 2509, 3099, 273, 2509, 18, 588, 5576, 5621, 3639, 3224, 4534, 1438, 4534, 273, 446, 31, 3639, 309, 261, 7222, 2594, 422, 446, 13, 5411, 1438, 4534, 273, 394, 3224, 4534, 12, 655, 16, 404, 1769, 3639, 1323, 261, 3767, 13, 3639, 288, 5411, 4389, 1207, 7734, 273, 3099, 18, 4177, 12, 780, 1989, 18, 4939, 4628, 12, 12890, 10019, 5411, 4884, 2044, 2524, 3830, 273, 394, 4389, 1989, 18, 10436, 2524, 3830, 12, 2567, 1769, 5411, 2044, 2524, 3830, 18, 1937, 5621, 5411, 8758, 2987, 2 ]
if (refEntity instanceof RefMethod) { RefMethod refMethod = (RefMethod) refEntity; if (!getContext().isToCheckMember(refMethod, SameReturnValueInspection.this)) return; ProblemDescriptor[] descriptors = checkMethod(refMethod, manager); if (descriptors != null) { addProblemElement(refMethod, descriptors); }
if (refEntity instanceof RefElement && problemDescriptionsProcessor.getDescriptions(refEntity) != null) { refEntity.accept(new RefVisitor() { public void visitMethod(final RefMethod refMethod) { globalContext.enqueueDerivedMethodsProcessor(refMethod, new GlobalInspectionContextImpl.DerivedMethodsProcessor() { public boolean process(PsiMethod derivedMethod) { problemDescriptionsProcessor.ignoreElement(refMethod); return false; } }); } });
public void visitElement(RefEntity refEntity) { if (refEntity instanceof RefMethod) { RefMethod refMethod = (RefMethod) refEntity; if (!getContext().isToCheckMember(refMethod, SameReturnValueInspection.this)) return; ProblemDescriptor[] descriptors = checkMethod(refMethod, manager); if (descriptors != null) { addProblemElement(refMethod, descriptors); } } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/5f5b1ed48708e53ec126bb2ca0956457df48f6e7/SameReturnValueInspection.java/clean/inspections/impl/com/intellij/codeInspection/sameReturnValue/SameReturnValueInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 3757, 1046, 12, 1957, 1943, 1278, 1943, 13, 288, 3639, 309, 261, 1734, 1943, 1276, 3941, 1305, 13, 288, 1850, 3941, 1305, 1278, 1305, 273, 261, 1957, 1305, 13, 1278, 1943, 31, 5411, 309, 16051, 29120, 7675, 291, 18126, 4419, 12, 1734, 1305, 16, 17795, 19092, 14985, 18, 2211, 3719, 327, 31, 1850, 21685, 3187, 8526, 14215, 273, 866, 1305, 12, 1734, 1305, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 3757, 1046, 12, 1957, 1943, 1278, 1943, 13, 288, 3639, 309, 261, 1734, 1943, 1276, 3941, 1305, 13, 288, 1850, 3941, 1305, 1278, 1305, 273, 261, 1957, 1305, 13, 1278, 1943, 31, 5411, 309, 16051, 29120, 7675, 291, 18126, 4419, 12, 1734, 1305, 16, 17795, 19092, 14985, 18, 2211, 3719, 327, 31, 1850, 21685, 3187, 8526, 14215, 273, 866, 1305, 12, 1734, 1305, 16, 3301, 1769, 1850, 309, 261, 72, 8379, 480, 446, 13, 288, 5411, 527, 13719, 1046, 12, 1734, 1305, 16, 14215, 1769, 1850, 289, 3639, 289, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new String("'" + o.toString() + "'");
return new String("\"" + escapeString(o.toString()) + "\"");
private String convertValueJ2JS(Object o) { /* FIXME: escape strings: ' -> \' */ if (o == null) return new String("null"); if (o instanceof java.lang.Number || o instanceof java.lang.Boolean) return o.toString(); if (o instanceof netscape.javascript.JSObject) return new String("window.__lc[0][" + ((JSObject)o).getId() + "]"); return new String("'" + o.toString() + "'"); }
1818 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1818/72b824b1c514e92d78f1b0df94ae4f1dff1cd85f/JSObject.java/clean/khtml/java/org/kde/javascript/JSObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 1765, 620, 46, 22, 6479, 12, 921, 320, 13, 288, 3639, 1748, 9852, 30, 4114, 2064, 30, 296, 317, 7164, 540, 1195, 3639, 309, 261, 83, 422, 446, 13, 5411, 327, 394, 514, 2932, 2011, 8863, 3639, 309, 261, 83, 1276, 2252, 18, 4936, 18, 1854, 747, 320, 1276, 2252, 18, 4936, 18, 5507, 13, 5411, 327, 320, 18, 10492, 5621, 3639, 309, 261, 83, 1276, 2901, 12476, 18, 11242, 18, 6479, 921, 13, 5411, 327, 394, 514, 2932, 5668, 16186, 17704, 63, 20, 6362, 6, 397, 14015, 6479, 921, 13, 83, 2934, 26321, 1435, 397, 9870, 1769, 3639, 327, 394, 514, 2932, 8530, 397, 28028, 12, 83, 18, 10492, 10756, 397, 11143, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 1765, 620, 46, 22, 6479, 12, 921, 320, 13, 288, 3639, 1748, 9852, 30, 4114, 2064, 30, 296, 317, 7164, 540, 1195, 3639, 309, 261, 83, 422, 446, 13, 5411, 327, 394, 514, 2932, 2011, 8863, 3639, 309, 261, 83, 1276, 2252, 18, 4936, 18, 1854, 747, 320, 1276, 2252, 18, 4936, 18, 5507, 13, 5411, 327, 320, 18, 10492, 5621, 3639, 309, 261, 83, 1276, 2901, 12476, 18, 11242, 18, 6479, 921, 13, 5411, 327, 394, 514, 2932, 5668, 16186, 17704, 63, 20, 6362, 6, 397, 14015, 6479, 921, 13, 83, 2934, 26321, 1435, 397, 9870, 1769, 3639, 327, 394, 514, 2932, 8530, 397, 28028, 12, 83, 18, 10492, 10756, 397, 11143, 1769, 565, 289, 2 ]
loword = addr.loadWord();
int loword = addr.loadInt();
static Object[] packageParameterFromVarArg(VM_Method targetMethod, Address argAddress) { VM_TypeReference[] argTypes = targetMethod.getParameterTypes(); int argCount = argTypes.length; Object[] argObjectArray = new Object[argCount]; // get the VM_JNIEnvironment for this thread in case we need to dereference any object arg VM_JNIEnvironment env = VM_Thread.getCurrentThread().getJNIEnv(); // VM.sysWrite("JNI packageParameterFromVarArg: packaging " + argCount + " arguments\n"); Address addr = argAddress; for (int i=0; i<argCount; i++) { Word loword, hiword; hiword = addr.loadWord(); // VM.sysWrite("JNI packageParameterFromVarArg: arg " + i + " = " + hiword + // " or " + VM.intAsHexString(hiword) + "\n"); addr = addr.add(BYTES_IN_ADDRESS); // convert and wrap the argument according to the expected type if (argTypes[i].isFloatType()) { // NOTE: in VarArg convention, C compiler will expand a float to a double that occupy 2 words // so we have to extract it as a double and convert it back to a float if (VM.BuildFor32Addr) { loword = addr.loadWord(); addr = addr.add(BYTES_IN_ADDRESS); long doubleBits = (((long) hiword.toInt()) << BITS_IN_INT) | (loword.toInt() & 0xFFFFFFFFL); argObjectArray[i] = VM_Reflection.wrapFloat((float) (Double.longBitsToDouble(doubleBits))); } else { argObjectArray[i] = VM_Reflection.wrapFloat((float) (Double.longBitsToDouble(hiword.toLong()))); } } else if (argTypes[i].isDoubleType()) { if (VM.BuildFor32Addr) { loword = addr.loadWord(); addr = addr.add(BYTES_IN_ADDRESS); long doubleBits = (((long) hiword.toInt()) << BITS_IN_INT) | (loword.toInt() & 0xFFFFFFFFL); argObjectArray[i] = VM_Reflection.wrapDouble(Double.longBitsToDouble(doubleBits)); } else { argObjectArray[i] = VM_Reflection.wrapDouble(Double.longBitsToDouble(hiword.toLong())); } } else if (argTypes[i].isLongType()) { if (VM.BuildFor32Addr) { loword = addr.loadWord(); addr = addr.add(BYTES_IN_ADDRESS); long longValue = (((long) hiword.toInt()) << BITS_IN_INT) | (loword.toInt() & 0xFFFFFFFFL); argObjectArray[i] = VM_Reflection.wrapLong(longValue); } else { argObjectArray[i] = VM_Reflection.wrapLong(hiword.toLong()); } } else if (argTypes[i].isBooleanType()) { // the 0/1 bit is stored in the high byte argObjectArray[i] = VM_Reflection.wrapBoolean(hiword.toInt()); } else if (argTypes[i].isByteType()) { // the target byte is stored in the high byte argObjectArray[i] = VM_Reflection.wrapByte((byte) hiword.toInt()); } else if (argTypes[i].isCharType()) { // char is stored in the high 2 bytes argObjectArray[i] = VM_Reflection.wrapChar((char) hiword.toInt()); } else if (argTypes[i].isShortType()) { // short is stored in the high 2 bytes argObjectArray[i] = VM_Reflection.wrapShort((short) hiword.toInt()); } else if (argTypes[i].isReferenceType()) { // for object, the arg is a JREF index, dereference to get the real object argObjectArray[i] = env.getJNIRef(hiword.toInt()); } else if (argTypes[i].isIntType()) { argObjectArray[i] = VM_Reflection.wrapInt(hiword.toInt()); } else { return null; } } return argObjectArray; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/9b22bffbb06319b08a93aed2a8f11de10ba3fecf/VM_JNIHelpers.java/buggy/rvm/src/vm/arch/powerPC/jni/VM_JNIHelpers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 1033, 8526, 2181, 1662, 1265, 1537, 4117, 12, 7397, 67, 1305, 1018, 1305, 16, 5267, 1501, 1887, 13, 288, 565, 8251, 67, 7534, 8526, 30973, 273, 1018, 1305, 18, 588, 1662, 2016, 5621, 565, 509, 1501, 1380, 273, 30973, 18, 2469, 31, 565, 1033, 8526, 1501, 921, 1076, 273, 394, 1033, 63, 3175, 1380, 15533, 565, 368, 336, 326, 8251, 67, 46, 50, 45, 5494, 364, 333, 2650, 316, 648, 732, 1608, 358, 27794, 1281, 733, 1501, 565, 8251, 67, 46, 50, 45, 5494, 1550, 273, 8251, 67, 3830, 18, 588, 3935, 3830, 7675, 588, 46, 50, 45, 3491, 5621, 565, 368, 8251, 18, 9499, 3067, 2932, 46, 50, 45, 2181, 1662, 1265, 1537, 4117, 30, 2298, 5755, 315, 397, 1501, 1380, 397, 315, 1775, 64, 82, 8863, 565, 5267, 3091, 273, 1501, 1887, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 3175, 1380, 31, 277, 27245, 288, 1377, 9926, 437, 1095, 16, 10118, 1095, 31, 1377, 10118, 1095, 273, 3091, 18, 945, 3944, 5621, 1377, 368, 8251, 18, 9499, 3067, 2932, 46, 50, 45, 2181, 1662, 1265, 1537, 4117, 30, 225, 1501, 315, 397, 277, 397, 315, 273, 315, 397, 10118, 1095, 397, 4202, 368, 315, 578, 315, 397, 8251, 18, 474, 1463, 14866, 12, 12266, 1095, 13, 397, 1548, 82, 8863, 1377, 3091, 273, 3091, 18, 1289, 12, 13718, 67, 706, 67, 15140, 1769, 1377, 368, 1765, 471, 2193, 326, 1237, 4888, 358, 326, 2665, 618, 1377, 309, 261, 3175, 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, 760, 1033, 8526, 2181, 1662, 1265, 1537, 4117, 12, 7397, 67, 1305, 1018, 1305, 16, 5267, 1501, 1887, 13, 288, 565, 8251, 67, 7534, 8526, 30973, 273, 1018, 1305, 18, 588, 1662, 2016, 5621, 565, 509, 1501, 1380, 273, 30973, 18, 2469, 31, 565, 1033, 8526, 1501, 921, 1076, 273, 394, 1033, 63, 3175, 1380, 15533, 565, 368, 336, 326, 8251, 67, 46, 50, 45, 5494, 364, 333, 2650, 316, 648, 732, 1608, 358, 27794, 1281, 733, 1501, 565, 8251, 67, 46, 50, 45, 5494, 1550, 273, 8251, 67, 3830, 18, 588, 3935, 3830, 7675, 588, 46, 50, 45, 3491, 5621, 565, 368, 8251, 18, 9499, 3067, 2932, 46, 50, 45, 2181, 1662, 1265, 1537, 4117, 30, 2298, 2 ]
jj_la1[73] = jj_gen;
jj_la1[74] = jj_gen;
final public void AdditiveExpression() throws ParseException { /*@bgen(jjtree) AdditiveExpression */ ASTAdditiveExpression jjtn000 = new ASTAdditiveExpression(this, JJTADDITIVEEXPRESSION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { MultiplicativeExpression(); checkForDiscard(jjtn000); label_32: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: case MINUS: ; break; default: jj_la1[73] = jj_gen; break label_32; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: jj_consume_token(PLUS); jjtn000.setImage("+");jjtn000.setUnDiscardable(); break; case MINUS: jj_consume_token(MINUS); jjtn000.setImage("-");jjtn000.setUnDiscardable(); break; default: jj_la1[74] = jj_gen; jj_consume_token(-1); throw new ParseException(); } MultiplicativeExpression(); } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (RuntimeException)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/a180e9b19197c7613f1e73c6ec8a574a17011e5e/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 1436, 3720, 2300, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 1436, 3720, 2300, 1195, 225, 9183, 986, 3720, 2300, 10684, 5088, 3784, 273, 394, 9183, 986, 3720, 2300, 12, 2211, 16, 804, 46, 56, 8355, 16325, 19111, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 5991, 28884, 2300, 5621, 17311, 13855, 14185, 12, 78, 78, 5088, 3784, 1769, 1377, 1433, 67, 1578, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 22443, 3378, 30, 3639, 648, 6989, 3378, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 5608, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 1578, 31, 3639, 289, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 22443, 3378, 30, 1850, 10684, 67, 21224, 67, 2316, 12, 6253, 3378, 1769, 4766, 21394, 10684, 5088, 3784, 18, 542, 2040, 2932, 15, 8863, 78, 78, 5088, 3784, 18, 542, 984, 14185, 429, 5621, 1850, 898, 31, 3639, 648, 6989, 3378, 30, 1850, 10684, 67, 21224, 67, 2316, 12, 6236, 3378, 1769, 28524, 4766, 18701, 10684, 5088, 3784, 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, 282, 727, 1071, 918, 1436, 3720, 2300, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 1436, 3720, 2300, 1195, 225, 9183, 986, 3720, 2300, 10684, 5088, 3784, 273, 394, 9183, 986, 3720, 2300, 12, 2211, 16, 804, 46, 56, 8355, 16325, 19111, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 5991, 28884, 2300, 5621, 17311, 13855, 14185, 12, 78, 78, 5088, 3784, 1769, 1377, 1433, 67, 1578, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 2 ]
throw new InvalidConfigValueException("Moving temp directory on the fly not supported at present");
throw new InvalidConfigValueException("Moving node directory on the fly not supported at present");
public void set(String val) throws InvalidConfigValueException { if(tempDir.equals(new File(val))) return; // FIXME throw new InvalidConfigValueException("Moving temp directory on the fly not supported at present"); }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/0e73e63698410905555b43e69172b80870e39ae5/Node.java/clean/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 444, 12, 780, 1244, 13, 1216, 1962, 809, 9738, 288, 25083, 202, 430, 12, 5814, 1621, 18, 14963, 12, 2704, 1387, 12, 1125, 20349, 327, 31, 25083, 202, 759, 9852, 25083, 202, 12849, 394, 1962, 809, 9738, 2932, 49, 13767, 1906, 1867, 603, 326, 21434, 486, 3260, 622, 3430, 8863, 6862, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 444, 12, 780, 1244, 13, 1216, 1962, 809, 9738, 288, 25083, 202, 430, 12, 5814, 1621, 18, 14963, 12, 2704, 1387, 12, 1125, 20349, 327, 31, 25083, 202, 759, 9852, 25083, 202, 12849, 394, 1962, 809, 9738, 2932, 49, 13767, 1906, 1867, 603, 326, 21434, 486, 3260, 622, 3430, 8863, 6862, 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 ]
}, getLocale( ) ), x, y );
}, getLocale( ) ), x, y );
public void presentException( Exception cexp ) { if ( _bo == null ) { _bo = BoundsImpl.create( 0, 0, 400, 300 ); } String sWrappedException = cexp.getClass( ).getName( ); while ( cexp.getCause( ) != null ) { cexp = (Exception) cexp.getCause( ); } String sException = cexp.getClass( ).getName( ); if ( sWrappedException.equals( sException ) ) { sWrappedException = null; } String sMessage = cexp.getMessage( ); StackTraceElement[] stea = cexp.getStackTrace( ); Dimension d = new Dimension( (int) _bo.getWidth( ), (int) _bo.getHeight( ) ); Font fo = new Font( "Monospaced", Font.BOLD, 14 ); //$NON-NLS-1$ _g2d.setFont( fo ); FontMetrics fm = _g2d.getFontMetrics( ); _g2d.setColor( Color.WHITE ); _g2d.fillRect( 20, 20, d.width - 40, d.height - 40 ); _g2d.setColor( Color.BLACK ); _g2d.drawRect( 20, 20, d.width - 40, d.height - 40 ); _g2d.setClip( 20, 20, d.width - 40, d.height - 40 ); int x = 25, y = 20 + fm.getHeight( ); _g2d.drawString( Messages.getString( "exception.caption", getLocale( ) ), x, y ); //$NON-NLS-1$ x += fm.stringWidth( Messages.getString( "exception.caption",//$NON-NLS-1$ getLocale( ) ) ) + 5; _g2d.setColor( Color.RED ); _g2d.drawString( sException, x, y ); x = 25; y += fm.getHeight( ); if ( sWrappedException != null ) { _g2d.setColor( Color.BLACK ); _g2d.drawString( Messages.getString( "wrapped.caption", getLocale( ) ), x, y ); //$NON-NLS-1$ x += fm.stringWidth( Messages.getString( "wrapped.caption",//$NON-NLS-1$ getLocale( ) ) ) + 5; _g2d.setColor( Color.RED ); _g2d.drawString( sWrappedException, x, y ); x = 25; y += fm.getHeight( ); } _g2d.setColor( Color.BLACK ); y += 10; _g2d.drawString( Messages.getString( "message.caption", getLocale( ) ), x, y ); //$NON-NLS-1$ x += fm.stringWidth( Messages.getString( "message.caption", getLocale( ) ) ) + 5; //$NON-NLS-1$ _g2d.setColor( Color.BLUE ); _g2d.drawString( sMessage, x, y ); x = 25; y += fm.getHeight( ); _g2d.setColor( Color.BLACK ); y += 10; _g2d.drawString( Messages.getString( "trace.caption", getLocale( ) ), x, y );x = 40;y += fm.getHeight( ); //$NON-NLS-1$ _g2d.setColor( Color.GREEN.darker( ) ); for ( int i = 0; i < stea.length; i++ ) { _g2d.drawString( Messages.getString( "trace.detail",//$NON-NLS-1$ new Object[]{ stea[i].getClassName( ), stea[i].getMethodName( ), String.valueOf( stea[i].getLineNumber( ) ) }, getLocale( ) ), x, y ); x = 40; y += fm.getHeight( ); // i18n_CONCATENATIONS_REMOVED } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/cfe491a60302f8d9a15dd71e36232fb0a396e1bf/JavaxImageIOWriter.java/clean/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3430, 503, 12, 1185, 276, 2749, 262, 202, 95, 202, 202, 430, 261, 389, 1075, 422, 446, 262, 202, 202, 95, 1082, 202, 67, 1075, 273, 20382, 2828, 18, 2640, 12, 374, 16, 374, 16, 7409, 16, 11631, 11272, 202, 202, 97, 202, 202, 780, 272, 17665, 503, 273, 276, 2749, 18, 588, 797, 12, 262, 18, 17994, 12, 11272, 202, 202, 17523, 261, 276, 2749, 18, 588, 10683, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 311, 23829, 273, 261, 503, 13, 276, 2749, 18, 588, 10683, 12, 11272, 202, 202, 97, 202, 202, 780, 272, 503, 273, 276, 2749, 18, 588, 797, 12, 262, 18, 17994, 12, 11272, 202, 202, 430, 261, 272, 17665, 503, 18, 14963, 12, 272, 503, 262, 262, 202, 202, 95, 1082, 202, 87, 17665, 503, 273, 446, 31, 202, 202, 97, 202, 202, 780, 28699, 273, 276, 2749, 18, 24906, 12, 11272, 202, 202, 6332, 1046, 8526, 18654, 69, 273, 276, 2749, 18, 588, 6332, 12, 11272, 202, 202, 8611, 302, 273, 394, 13037, 12, 261, 474, 13, 389, 1075, 18, 588, 2384, 12, 262, 16, 9506, 202, 12, 474, 13, 389, 1075, 18, 588, 2686, 12, 262, 11272, 202, 202, 5711, 18261, 273, 394, 10063, 12, 315, 11415, 538, 909, 72, 3113, 10063, 18, 38, 11846, 16, 5045, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 67, 75, 22, 72, 18, 542, 5711, 12, 18261, 11272, 202, 202, 5711, 5653, 10940, 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, 3430, 503, 12, 1185, 276, 2749, 262, 202, 95, 202, 202, 430, 261, 389, 1075, 422, 446, 262, 202, 202, 95, 1082, 202, 67, 1075, 273, 20382, 2828, 18, 2640, 12, 374, 16, 374, 16, 7409, 16, 11631, 11272, 202, 202, 97, 202, 202, 780, 272, 17665, 503, 273, 276, 2749, 18, 588, 797, 12, 262, 18, 17994, 12, 11272, 202, 202, 17523, 261, 276, 2749, 18, 588, 10683, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 311, 23829, 273, 261, 503, 13, 276, 2749, 18, 588, 10683, 12, 11272, 202, 202, 97, 202, 202, 780, 272, 503, 273, 276, 2749, 18, 588, 797, 12, 262, 18, 17994, 12, 11272, 202, 202, 430, 2 ]
providers.remove(className);
FontProvider prv = providers.remove(className); if(firstProvider == prv) { firstProvider = null; }
public void extensionRemoved(ExtensionPoint point, Extension extension) { final ConfigurationElement[] elements = extension.getConfigurationElements(); for (int j = 0; j < elements.length; j++) { final String className = elements[j].getAttribute("class"); log.debug("Removed provider: class=" + className); if (className != null) { providers.remove(className); } } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/27da370c3e05f80083e8c618351850b1d1d108b6/DefaultFontManager.java/clean/gui/src/awt/org/jnode/awt/font/def/DefaultFontManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2710, 10026, 12, 3625, 2148, 1634, 16, 10021, 2710, 13, 288, 3639, 727, 4659, 1046, 8526, 2186, 273, 2710, 18, 588, 1750, 3471, 5621, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 2186, 18, 2469, 31, 525, 27245, 288, 5411, 727, 514, 2658, 273, 2186, 63, 78, 8009, 588, 1499, 2932, 1106, 8863, 5411, 613, 18, 4148, 2932, 10026, 2893, 30, 667, 1546, 397, 2658, 1769, 5411, 309, 261, 12434, 480, 446, 13, 288, 7734, 10063, 2249, 846, 90, 273, 9165, 18, 4479, 12, 12434, 1769, 309, 12, 3645, 2249, 422, 846, 90, 13, 288, 1122, 2249, 273, 446, 31, 282, 289, 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, 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471, 5621, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 2186, 18, 2469, 31, 525, 27245, 288, 5411, 727, 514, 2658, 273, 2186, 63, 78, 8009, 588, 1499, 2932, 1106, 8863, 5411, 613, 18, 4148, 2932, 10026, 2893, 30, 667, 1546, 397, 2658, 1769, 5411, 309, 261, 12434, 480, 446, 13, 288, 7734, 10063, 2249, 846, 90, 273, 9165, 18, 4479, 12, 12434, 1769, 309, 12, 3645, 2249, 422, 846, 90, 13, 288, 1122, 2249, 273, 446, 31, 282, 289, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100 ]
DirectByteBufferImpl.shiftDown(address, 0, pos, count);
VMDirectByteBuffer.shiftDown(address, 0, pos, count);
public ByteBuffer compact () { int pos = position(); if (pos > 0) { int count = remaining(); // Call shiftDown method optimized for direct buffers. DirectByteBufferImpl.shiftDown(address, 0, pos, count); position(count); limit(capacity()); } return this; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/099941e739b24ffc71faddc589f984d1cda55549/MappedByteBufferImpl.java/clean/core/src/classpath/java/java/nio/MappedByteBufferImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7400, 6739, 1832, 225, 288, 565, 509, 949, 273, 1754, 5621, 565, 309, 261, 917, 405, 374, 13, 1377, 288, 202, 474, 1056, 273, 4463, 5621, 202, 759, 3049, 4654, 4164, 707, 15411, 364, 2657, 9664, 18, 202, 5368, 12242, 2828, 18, 4012, 4164, 12, 2867, 16, 374, 16, 949, 16, 1056, 1769, 202, 3276, 12, 1883, 1769, 202, 3595, 12, 16017, 10663, 1377, 289, 565, 327, 333, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7400, 6739, 1832, 225, 288, 565, 509, 949, 273, 1754, 5621, 565, 309, 261, 917, 405, 374, 13, 1377, 288, 202, 474, 1056, 273, 4463, 5621, 202, 759, 3049, 4654, 4164, 707, 15411, 364, 2657, 9664, 18, 202, 5368, 12242, 2828, 18, 4012, 4164, 12, 2867, 16, 374, 16, 949, 16, 1056, 1769, 202, 3276, 12, 1883, 1769, 202, 3595, 12, 16017, 10663, 1377, 289, 565, 327, 333, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setButtonLayoutData(overwriteExistingFilesCheckbox);
protected void createOptionsGroupButtons(Group optionsGroup) { Font font = optionsGroup.getFont(); // overwrite... checkbox overwriteExistingFilesCheckbox = new Button(optionsGroup, SWT.CHECK | SWT.LEFT); overwriteExistingFilesCheckbox.setText( DataTransferMessages.getString("ExportFile.overwriteExisting")); //$NON-NLS-1$ overwriteExistingFilesCheckbox.setFont(font); setButtonLayoutData(overwriteExistingFilesCheckbox); // create directory structure radios createDirectoryStructureButton = new Button(optionsGroup, SWT.RADIO | SWT.LEFT); createDirectoryStructureButton.setText( DataTransferMessages.getString("FileExport.createDirectoryStructure")); //$NON-NLS-1$ createDirectoryStructureButton.setSelection(false); createDirectoryStructureButton.setFont(font); setButtonLayoutData(createDirectoryStructureButton); // create directory structure radios createSelectionOnlyButton = new Button(optionsGroup, SWT.RADIO | SWT.LEFT); createSelectionOnlyButton.setText( DataTransferMessages.getString("FileExport.createSelectedDirectories"));//$NON-NLS-1$} createSelectionOnlyButton.setSelection(true); createSelectionOnlyButton.setFont(font); setButtonLayoutData(createSelectionOnlyButton);}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/11e051e324a68ba6a089163d604db87a33e15002/WizardFileSystemResourceExportPage1.java/buggy/bundles/org.eclipse.ui/Eclipse UI Standard Components/org/eclipse/ui/wizards/datatransfer/WizardFileSystemResourceExportPage1.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 752, 1320, 1114, 14388, 12, 1114, 702, 1114, 13, 288, 202, 202, 5711, 3512, 273, 702, 1114, 18, 588, 5711, 5621, 202, 759, 6156, 2777, 11832, 202, 19274, 9895, 2697, 21272, 273, 394, 12569, 12, 2116, 1114, 16, 348, 8588, 18, 10687, 571, 348, 8588, 18, 10066, 1769, 202, 19274, 9895, 2697, 21272, 18, 542, 1528, 12, 202, 202, 751, 5912, 5058, 18, 588, 780, 2932, 6144, 812, 18, 19274, 9895, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 19274, 9895, 2697, 21272, 18, 542, 5711, 12, 5776, 1769, 202, 542, 3616, 3744, 751, 12, 19274, 9895, 2697, 21272, 1769, 202, 759, 752, 1867, 3695, 12094, 538, 202, 2640, 2853, 6999, 3616, 273, 394, 12569, 12, 2116, 1114, 16, 348, 8588, 18, 28829, 4294, 571, 348, 8588, 18, 10066, 1769, 202, 2640, 2853, 6999, 3616, 18, 542, 1528, 12, 202, 202, 751, 5912, 5058, 18, 588, 780, 2932, 812, 6144, 18, 2640, 2853, 6999, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 2640, 2853, 6999, 3616, 18, 542, 6233, 12, 5743, 1769, 202, 2640, 2853, 6999, 3616, 18, 542, 5711, 12, 5776, 1769, 202, 542, 3616, 3744, 751, 12, 2640, 2853, 6999, 3616, 1769, 202, 759, 752, 1867, 3695, 12094, 538, 202, 2640, 6233, 3386, 3616, 273, 394, 12569, 12, 2116, 1114, 16, 348, 8588, 18, 28829, 4294, 571, 348, 8588, 18, 10066, 1769, 202, 2640, 6233, 3386, 3616, 18, 542, 1528, 12, 202, 202, 751, 5912, 5058, 18, 588, 780, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 752, 1320, 1114, 14388, 12, 1114, 702, 1114, 13, 288, 202, 202, 5711, 3512, 273, 702, 1114, 18, 588, 5711, 5621, 202, 759, 6156, 2777, 11832, 202, 19274, 9895, 2697, 21272, 273, 394, 12569, 12, 2116, 1114, 16, 348, 8588, 18, 10687, 571, 348, 8588, 18, 10066, 1769, 202, 19274, 9895, 2697, 21272, 18, 542, 1528, 12, 202, 202, 751, 5912, 5058, 18, 588, 780, 2932, 6144, 812, 18, 19274, 9895, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 19274, 9895, 2697, 21272, 18, 542, 5711, 12, 5776, 1769, 202, 542, 3616, 3744, 751, 12, 19274, 9895, 2697, 21272, 1769, 202, 759, 752, 1867, 3695, 12094, 538, 202, 2640, 2853, 6999, 3616, 273, 394, 12569, 2 ]
if (resource.isLinked()) return true;
if (resource.isLinked()) { return true; }
private boolean containsLinkedResource(IResource[] resources) { for (int i = 0; i < resources.length; i++) { IResource resource = resources[i]; if (resource.isLinked()) return true; } return false; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/DeleteResourceAction.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/DeleteResourceAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1914, 13174, 1420, 12, 45, 1420, 8526, 2703, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2703, 18, 2469, 31, 277, 27245, 288, 5411, 467, 1420, 1058, 273, 2703, 63, 77, 15533, 5411, 309, 261, 3146, 18, 291, 13174, 10756, 7734, 327, 638, 31, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1914, 13174, 1420, 12, 45, 1420, 8526, 2703, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2703, 18, 2469, 31, 277, 27245, 288, 5411, 467, 1420, 1058, 273, 2703, 63, 77, 15533, 5411, 309, 261, 3146, 18, 291, 13174, 10756, 7734, 327, 638, 31, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (parent == null || info == null) return new Dimension (0, 0); Insets insets = parent.getInsets(); int width = sumIntArray (info.colWidths) + insets.left + insets.right; int height = sumIntArray (info.rowHeights) + insets.top + insets.bottom; return new Dimension (width, height);
return GetMinSize (parent, info);
protected Dimension getMinSize (Container parent, GridBagLayoutInfo info) { if (parent == null || info == null) return new Dimension (0, 0); Insets insets = parent.getInsets(); int width = sumIntArray (info.colWidths) + insets.left + insets.right; int height = sumIntArray (info.rowHeights) + insets.top + insets.bottom; return new Dimension (width, height); }
5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/3fe1c14284ce32b79d0e66441aec6a45a77ff684/GridBagLayout.java/buggy/libjava/java/awt/GridBagLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 13037, 9555, 1225, 261, 2170, 982, 16, 7145, 5013, 3744, 966, 1123, 13, 565, 288, 202, 430, 261, 2938, 422, 446, 747, 1123, 422, 446, 13, 202, 565, 327, 394, 13037, 261, 20, 16, 374, 1769, 202, 382, 4424, 23576, 273, 982, 18, 588, 382, 4424, 5621, 202, 474, 1835, 273, 2142, 1702, 1076, 261, 1376, 18, 1293, 22407, 13, 397, 23576, 18, 4482, 397, 23576, 18, 4083, 31, 202, 474, 2072, 273, 2142, 1702, 1076, 261, 1376, 18, 492, 2686, 87, 13, 397, 23576, 18, 3669, 397, 23576, 18, 9176, 31, 202, 2463, 394, 13037, 261, 2819, 16, 2072, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 13037, 9555, 1225, 261, 2170, 982, 16, 7145, 5013, 3744, 966, 1123, 13, 565, 288, 202, 430, 261, 2938, 422, 446, 747, 1123, 422, 446, 13, 202, 565, 327, 394, 13037, 261, 20, 16, 374, 1769, 202, 382, 4424, 23576, 273, 982, 18, 588, 382, 4424, 5621, 202, 474, 1835, 273, 2142, 1702, 1076, 261, 1376, 18, 1293, 22407, 13, 397, 23576, 18, 4482, 397, 23576, 18, 4083, 31, 202, 474, 2072, 273, 2142, 1702, 1076, 261, 1376, 18, 492, 2686, 87, 13, 397, 23576, 18, 3669, 397, 23576, 18, 9176, 31, 202, 2463, 394, 13037, 261, 2819, 16, 2072, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public ReportMediator getMediator( )
public ReportMediator getMediator( ModuleHandle handle )
public ReportMediator getMediator( ) { return getMediator( getReportDesignHandle( ) ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/2ea858bfd8d742efcc96d98227831ce68aae96ac/SessionHandleAdapter.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8706, 13265, 10620, 2108, 329, 10620, 12, 262, 202, 95, 202, 202, 2463, 2108, 329, 10620, 12, 22452, 15478, 3259, 12, 262, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 synchronized Vector publishProject(CmsRequestContext context, CmsProject onlineProject, boolean backupEnabled, int backupTagId, I_CmsReport report, Hashtable exportpoints, CmsResource directPublishResource) throws CmsException { CmsExportPointDriver discAccess = null; CmsFolder currentFolder = null; CmsFile currentFile = null; CmsResource currentFileHeader = null; CmsLock currentLock = null; CmsFolder newFolder = null; CmsFile newFile = null; CmsFile onlineFile = null; List offlineFolders = null; List offlineFiles = null; List deletedFolders = (List) new ArrayList(); Vector changedResources = new Vector(); String currentExportKey = null; String currentResourceName = null; long publishDate = System.currentTimeMillis(); Iterator i = null; boolean publishCurrentResource = false; List projectResources = null; Map properties = null; CmsFolder onlineFolder = null; Map sortedFolderMap = null; List sortedFolderList = null; CmsResource delOnlineFolder = null; byte[] contents = null; int publishHistoryId = nextPublishVersionId(); try { discAccess = new CmsExportPointDriver(exportpoints); if (backupEnabled) { // write an entry in the publish project log m_driverManager.backupProject(context, context.currentProject(), backupTagId, publishDate, context.currentUser()); } // read the project resources of the project that gets published projectResources = m_driverManager.readProjectResources(context, context.currentProject()); // read all changed/new/deleted folders in the offline project offlineFolders = m_driverManager.getVfsDriver().readFolders(context.currentProject().getId()); // ensure that the folders appear in the correct (DFS) tree order sortedFolderMap = (Map) new HashMap(); i = offlineFolders.iterator(); while (i.hasNext()) { currentFolder = (CmsFolder) i.next(); currentResourceName = m_driverManager.readPath(context, currentFolder, true); sortedFolderMap.put(currentResourceName, currentFolder); } sortedFolderList = (List) new ArrayList(sortedFolderMap.keySet()); Collections.sort(sortedFolderList); offlineFolders.clear(); offlineFolders = null; i = sortedFolderList.iterator(); while (i.hasNext()) { currentResourceName = (String) i.next(); currentFolder = (CmsFolder) sortedFolderMap.get(currentResourceName); currentLock = m_driverManager.getLock(context, currentResourceName); // the resource must have either a new/deleted state in the link or a new/delete state in the resource record publishCurrentResource = currentFolder.getState() > I_CmsConstants.C_STATE_UNCHANGED; if (context.currentProject().getType() == I_CmsConstants.C_PROJECT_TYPE_DIRECT_PUBLISH && directPublishResource != null) { // the resource must be a sub resource of the direct-publish-resource in case of a "direct publish" publishCurrentResource = publishCurrentResource && currentResourceName.startsWith(directPublishResource.getFullResourceName()); } else { // the resource must have a changed state and must be changed in the project that is currently published publishCurrentResource = publishCurrentResource && currentFolder.getProjectId() == context.currentProject().getId(); // the resource must be in one of the paths defined for the project publishCurrentResource = publishCurrentResource && CmsProject.isInsideProject(projectResources, currentFolder); } // the resource must be unlocked publishCurrentResource = publishCurrentResource && currentLock.isNullLock(); if (publishCurrentResource) { currentExportKey = checkExport(currentResourceName, exportpoints); report.print(report.key("report.publishing"), I_CmsReport.C_FORMAT_NOTE); report.println(context.removeSiteRoot(currentResourceName)); if (currentFolder.getState() == I_CmsConstants.C_STATE_DELETED) { // C_STATE_DELETE deletedFolders.add(currentFolder); changedResources.addElement(currentResourceName); } else if (currentFolder.getState() == I_CmsConstants.C_STATE_NEW) { // I_CmsConstants.C_STATE_NEW changedResources.addElement(currentResourceName); // export to filesystem if necessary if (currentExportKey != null) { discAccess.createFolder(currentResourceName, currentExportKey); } // create the new folder in the online project try { newFolder = (CmsFolder) currentFolder.clone(); newFolder.setState(I_CmsConstants.C_STATE_UNCHANGED); newFolder.setFullResourceName(currentResourceName); m_driverManager.getVfsDriver().createFolder(context.currentUser(), onlineProject, newFolder, newFolder.getParentId(), newFolder.getResourceName()); } catch (CmsException e) { // if the folder already exists in the online project if (e.getType() == CmsException.C_FILE_EXISTS) { try { // onlineFolder = m_driverManager.readFolder(context, currentFolder.getId(), false); // cw - we must read online resources really from the online project onlineFolder = m_driverManager.getVfsDriver().readFolder(onlineProject.getId(), newFolder.getId()); onlineFolder.setFullResourceName(currentResourceName); } catch (CmsException exc) { throw exc; } m_driverManager.getVfsDriver().publishResource(onlineFolder, currentFolder); } else { throw e; } } // copy the access control entries of the folder m_driverManager.getUserDriver().publishAccessControlEntries(context.currentProject(), onlineProject, currentFolder.getResourceAceId(), newFolder.getResourceAceId()); // copy properties properties = (Map) new HashMap(); try { //m_driverManager.readPath(context, newFolder, true); properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFolder, currentFolder.getType()); m_driverManager.getVfsDriver().writeProperties(properties, onlineProject.getId(), newFolder, newFolder.getType()); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, copy properties for " + newFolder.toString() + " Message= " + exc.getMessage()); } } if (backupEnabled) { // backup the offline resource m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFolder, properties, backupTagId, publishDate); } writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFolder); if (currentFolder.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // set the state of current folder in the offline project to unchanged currentFolder.setState(I_CmsConstants.C_STATE_UNCHANGED); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), currentFolder, CmsDriverManager.C_UPDATE_ALL); } } else if (currentFolder.getState() == I_CmsConstants.C_STATE_CHANGED) { // I_CmsConstants.C_STATE_CHANGED changedResources.addElement(currentResourceName); onlineFolder = null; try { // onlineFolder = m_driverManager.readFolder(context, currentFolder.getId(), false); // cw - we must read from the online project onlineFolder = m_driverManager.getVfsDriver().readFolder(onlineProject.getId(), currentFolder.getId()); onlineFolder.setFullResourceName(currentResourceName); } catch (CmsException exc) { // if folder does not exist create it if (exc.getType() == CmsException.C_NOT_FOUND) { // create the new folder onlineFolder = m_driverManager.getVfsDriver().createFolder(context.currentUser(), onlineProject, currentFolder, currentFolder.getParentId(), currentFolder.getResourceName()); onlineFolder.setState(I_CmsConstants.C_STATE_UNCHANGED); onlineFolder.setFullResourceName(currentResourceName); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), onlineFolder, CmsDriverManager.C_UPDATE_ALL); } else { throw exc; } } // export to filesystem if necessary if (currentExportKey != null) { discAccess.createFolder(currentResourceName, currentExportKey); // TODO: this does not work currently since getResourceName results in the name and not in the path ! // if (!onlineFolder.getResourceName().equals(currentResourceName)) { // discAccess.removeResource(onlineFolder.getResourceName(), currentExportKey); //} } m_driverManager.getVfsDriver().publishResource(onlineFolder, currentFolder); // copy the access control entries of the folder m_driverManager.getUserDriver().publishAccessControlEntries(context.currentProject(), onlineProject, currentFolder.getResourceAceId(), onlineFolder.getResourceAceId()); // copy properties properties = (Map) new HashMap(); try { //m_driverManager.readPath(context, onlineFolder, true); m_driverManager.getVfsDriver().deleteAllProperties(onlineProject.getId(), onlineFolder); properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFolder, currentFolder.getType()); m_driverManager.getVfsDriver().writeProperties(properties, onlineProject.getId(), onlineFolder, currentFolder.getType()); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting properties for " + onlineFolder.toString() + " Message= " + exc.getMessage()); } } if (backupEnabled) { // backup the offline resource m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFolder, properties, backupTagId, publishDate); } writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFolder); if (currentFolder.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // set the state of current folder in the offline project to unchanged currentFolder.setState(I_CmsConstants.C_STATE_UNCHANGED); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), currentFolder, CmsDriverManager.C_UPDATE_ALL); } } m_driverManager.getVfsDriver().resetProjectId(context.currentProject(), currentFolder); OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_MODIFIED, Collections.singletonMap("resource", currentFolder))); i.remove(); properties = null; currentFolder = null; newFolder = null; onlineFolder = null; } } if (sortedFolderList != null) { sortedFolderList.clear(); sortedFolderList = null; } if (sortedFolderMap != null) { sortedFolderMap.clear(); sortedFolderMap = null; } // now read all changed/new/deleted FILES in offlineProject offlineFiles = m_driverManager.getVfsDriver().readFiles(context.currentProject().getId()); i = offlineFiles.iterator(); while (i.hasNext()) { currentFileHeader = (CmsResource) i.next(); currentResourceName = m_driverManager.readPath(context, currentFileHeader, true); currentLock = m_driverManager.getLock(context, currentResourceName); switch (currentFileHeader.getState()) { // the current resource is deleted case I_CmsConstants.C_STATE_DELETED : String delProject=m_driverManager.getVfsDriver().readProperty(I_CmsConstants.C_PROPERTY_INTERNAL, context.currentProject().getId(), currentFileHeader, currentFileHeader.getType()); if (delProject!=null && delProject.equals(""+context.currentProject().getId())) { publishCurrentResource = true; } else { publishCurrentResource = false; } // it is published, if it was changed to deleted in the current project //publishCurrentResource = currentFileHeader.getProjectId() == context.currentProject().getId(); break; // the current resource is new ... case I_CmsConstants.C_STATE_NEW : // it is published, if it was created in the current project // or if it is a new sibling of another resource that is currently not changed in any project publishCurrentResource = currentFileHeader.getProjectId() == context.currentProject().getId() || currentFileHeader.getProjectId() == 0; break; // the current resource is changed case I_CmsConstants.C_STATE_CHANGED : // it is published, if it was changed in the current project publishCurrentResource = currentFileHeader.getProjectId() == context.currentProject().getId(); break; // the current resource is unchanged case I_CmsConstants.C_STATE_UNCHANGED : default : // so it is not published publishCurrentResource = false; break; } /* // the resource must have either a new/deleted state in the link or a new/delete state in the resource record publishCurrentResource = currentFileHeader.getState() > I_CmsConstants.C_STATE_CHANGED; // or the resource must have a changed state and must be changed in the project that is currently published if (currentFileHeader.getState() == I_CmsConstants.C_STATE_CHANGED) */ if (context.currentProject().getType() == I_CmsConstants.C_PROJECT_TYPE_DIRECT_PUBLISH && directPublishResource != null) { // the resource must be a sub resource of the direct-publish-resource in case of a "direct publish" publishCurrentResource = publishCurrentResource && currentResourceName.startsWith(directPublishResource.getFullResourceName()); } else { // the resource must be in one of the paths defined for the project publishCurrentResource = publishCurrentResource && CmsProject.isInsideProject(projectResources, currentFileHeader); } // do not publish resource that are locked publishCurrentResource = publishCurrentResource && currentLock.isNullLock(); if (publishCurrentResource) { currentFile = m_driverManager.getVfsDriver().readFile(context.currentProject().getId(), true, currentFileHeader.getId()); currentFile.setFullResourceName(currentResourceName); currentExportKey = checkExport(currentResourceName, exportpoints); report.print(report.key("report.publishing"), I_CmsReport.C_FORMAT_NOTE); report.println(context.removeSiteRoot(currentResourceName)); if (currentLock.isNullLock()) { // remove the temporary files for this resource m_driverManager.getVfsDriver().removeTemporaryFile(currentFile); } if (currentFile.getResourceName().startsWith(I_CmsConstants.C_TEMP_PREFIX)) { m_driverManager.getVfsDriver().deleteAllProperties(context.currentProject().getId(), currentFile); m_driverManager.getVfsDriver().removeFile(context.currentProject(), currentFile); } if (currentFile.getState() == I_CmsConstants.C_STATE_DELETED) { // C_STATE_DELETE changedResources.addElement(currentResourceName); if (currentExportKey != null) { try { discAccess.removeResource(currentResourceName, currentExportKey); } catch (Exception ex) { // NOOP } } onlineFile = m_driverManager.readFileInProject(context, onlineProject.getId(), currentFile.getId(), false); onlineFile.setFullResourceName(currentResourceName); //m_driverManager.readPath(context, onlineFile, true); if (backupEnabled) { properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFile, currentFile.getType()); m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFile, properties, backupTagId, publishDate); } writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFile); try { m_driverManager.getVfsDriver().deleteAllProperties(onlineProject.getId(), onlineFile); m_driverManager.getVfsDriver().deleteAllProperties(context.currentProject().getId(), currentFile); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting properties for " + onlineFile.toString() + " Message= " + exc.getMessage()); } } try { m_driverManager.getVfsDriver().removeFile(onlineProject, onlineFile); m_driverManager.getVfsDriver().removeFile(context.currentProject(), currentFile); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting resource for " + onlineFile.toString() + " Message= " + exc.getMessage()); } } try { m_driverManager.getUserDriver().removeAllAccessControlEntries(onlineProject, onlineFile.getResourceAceId()); m_driverManager.getUserDriver().removeAllAccessControlEntries(context.currentProject(), currentFile.getResourceAceId()); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting resource for " + onlineFile.toString() + " Message= " + exc.getMessage()); } } /* try { m_driverManager.getUserDriver().removeAllAccessControlEntries(onlineProject, onlineFile.getResourceAceId()); m_driverManager.getUserDriver().removeAllAccessControlEntries(context.currentProject(), currentFile.getResourceAceId()); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting resource for " + onlineFile.toString() + " Message= " + exc.getMessage()); } } */ } else if (currentFile.getState() == I_CmsConstants.C_STATE_CHANGED) { // C_STATE_CHANGED changedResources.addElement(currentResourceName); // export to filesystem if necessary if (currentExportKey != null) { // Encoding project: Make sure files are written in the right encoding contents = currentFile.getContents(); String encoding = m_driverManager.getVfsDriver().readProperty(I_CmsConstants.C_PROPERTY_CONTENT_ENCODING, context.currentProject().getId(), currentFile, currentFile.getType()); if (encoding != null) { // Only files that have the encodig property set will be encoded, // the other files will be ignored. So images etc. are not touched. try { contents = (new String(contents, encoding)).getBytes(); } catch (UnsupportedEncodingException uex) { // contents will keep original value } } discAccess.writeFile(currentResourceName, currentExportKey, contents); } try { // onlineFile = m_driverManager.readFile(context, currentFile.getId(), false); // cw - we must read online resources from the online project onlineFile = m_driverManager.getVfsDriver().readFile(onlineProject.getId(), false, currentFile.getId()); onlineFile.setFullResourceName(currentResourceName); } catch (CmsException exc) { if (exc.getType() == CmsException.C_NOT_FOUND) { // create a new File currentFile.setState(I_CmsConstants.C_STATE_UNCHANGED); onlineFile = m_driverManager.getVfsDriver().createFile(onlineProject, currentFile, context.currentUser().getId(), currentFile.getParentId(), currentFile.getResourceName()); } } // TODO: decide if its neccessary to publish the content m_driverManager.getVfsDriver().publishResource(onlineFile, currentFile); // if (currentFile.isHardLink()) { // m_driverManager.getVfsDriver().writeFileContent(onlineFile.getFileId(), currentFile.getContents(), I_CmsConstants.C_PROJECT_ONLINE_ID, false); //} // copy properties properties = (Map) new HashMap(); try { //m_driverManager.readPath(context, onlineFile, true); m_driverManager.getVfsDriver().deleteAllProperties(onlineProject.getId(), onlineFile); properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFile, currentFile.getType()); m_driverManager.getVfsDriver().writeProperties(properties, onlineProject.getId(), onlineFile, currentFile.getType()); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting properties for " + onlineFile.toString() + " Message= " + exc.getMessage()); } } // copy access control entries m_driverManager.getUserDriver().publishAccessControlEntries(context.currentProject(), onlineProject, currentFile.getResourceAceId(), onlineFile.getResourceAceId()); if (backupEnabled) { // backup the offline resource m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFile, properties, backupTagId, publishDate); } writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFile); if (currentFile.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // set the file state to unchanged currentFile.setState(I_CmsConstants.C_STATE_UNCHANGED); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), currentFile, CmsDriverManager.C_UPDATE_ALL); } m_driverManager.getVfsDriver().resetProjectId(context.currentProject(), currentFile); } else if (currentFile.getState() == I_CmsConstants.C_STATE_NEW) { // C_STATE_NEW changedResources.addElement(currentResourceName); // export to filesystem if necessary if (currentExportKey != null) { // Encoding project: Make sure files are written in the right encoding contents = currentFile.getContents(); String encoding = m_driverManager.getVfsDriver().readProperty(I_CmsConstants.C_PROPERTY_CONTENT_ENCODING, context.currentProject().getId(), currentFile, currentFile.getType()); if (encoding != null) { // Only files that have the encodig property set will be encoded, // the other files will be ignored. So images etc. are not touched. try { contents = (new String(contents, encoding)).getBytes(); } catch (UnsupportedEncodingException uex) { // contents will keep original value } } discAccess.writeFile(currentResourceName, currentExportKey, contents); } // create the new file try { newFile = (CmsFile) currentFile.clone(); newFile.setState(I_CmsConstants.C_STATE_UNCHANGED); newFile.setFullResourceName(currentResourceName); m_driverManager.getVfsDriver().createFile(onlineProject, newFile, context.currentUser().getId(), newFile.getParentId(), newFile.getResourceName()); } catch (CmsException e) { if (e.getType() == CmsException.C_FILE_EXISTS) { try { // onlineFile = m_driverManager.readFile(context, currentFile.getId(), false); // we must read online resources from the online project onlineFile = m_driverManager.getVfsDriver().readFile(onlineProject.getId(), false, currentFile.getId()); onlineFile.setFullResourceName(currentResourceName); } catch (CmsException exc) { throw exc; } // TODO: decide if its neccessary to publish the content m_driverManager.getVfsDriver().publishResource(onlineFile, currentFile); // if (currentFile.isHardLink()) { // m_driverManager.getVfsDriver().writeFileContent(onlineFile.getFileId(), currentFile.getContents(), I_CmsConstants.C_PROJECT_ONLINE_ID, false); //} } else { throw e; } } // copy properties properties = (Map) new HashMap(); try { //m_driverManager.readPath(context, newFile, true); properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFile, currentFile.getType()); m_driverManager.getVfsDriver().writeProperties(properties, onlineProject.getId(), newFile, newFile.getType()); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, copy properties for " + newFile.toString() + " Message= " + exc.getMessage()); } } // copy access control entries m_driverManager.getUserDriver().publishAccessControlEntries(context.currentProject(), onlineProject, currentFile.getResourceAceId(), newFile.getResourceAceId()); if (backupEnabled) { // backup the offline resource m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFile, properties, backupTagId, publishDate); } writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFile); if (currentFile.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // set the file state to unchanged currentFile.setState(I_CmsConstants.C_STATE_UNCHANGED); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), currentFile, CmsDriverManager.C_UPDATE_ALL); } m_driverManager.getVfsDriver().resetProjectId(context.currentProject(), currentFile); } //m_driverManager.getVfsDriver().resetProjectId(context.currentProject(), currentFile); OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_MODIFIED, Collections.singletonMap("resource", currentFile))); i.remove(); properties = null; currentFile = null; currentFileHeader = null; newFile = null; onlineFile = null; contents = null; } } if (offlineFiles != null) { offlineFiles.clear(); offlineFiles = null; } // now delete the "deleted" folders if (deletedFolders.isEmpty()) { return changedResources; } // ensure that the folders appear in the correct (DFS) tree order sortedFolderMap = (Map) new HashMap(); i = deletedFolders.iterator(); while (i.hasNext()) { currentFolder = (CmsFolder) i.next(); currentResourceName = currentFolder.getFullResourceName(); sortedFolderMap.put(currentResourceName, currentFolder); } sortedFolderList = (List) new ArrayList(sortedFolderMap.keySet()); Collections.sort(sortedFolderList); Collections.reverse(sortedFolderList); if (deletedFolders != null) { deletedFolders.clear(); deletedFolders = null; } i = sortedFolderList.iterator(); while (i.hasNext()) { currentResourceName = (String) i.next(); currentFolder = (CmsFolder) sortedFolderMap.get(currentResourceName); currentExportKey = checkExport(currentResourceName, exportpoints); report.print(report.key("report.deleting"), I_CmsReport.C_FORMAT_NOTE); report.println(context.removeSiteRoot(currentResourceName)); if (currentExportKey != null) { discAccess.removeResource(currentResourceName, currentExportKey); } if (backupEnabled) { properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFolder, currentFolder.getType()); // backup the offline resource m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFolder, properties, backupTagId, publishDate); } delOnlineFolder = m_driverManager.readFolder(context, currentFolder.getId(), true); delOnlineFolder.setFullResourceName(currentResourceName); try { //m_driverManager.readPath(context, delOnlineFolder, true); m_driverManager.getVfsDriver().deleteAllProperties(onlineProject.getId(), delOnlineFolder); m_driverManager.getVfsDriver().deleteAllProperties(context.currentProject().getId(), currentFolder); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting properties for " + currentFolder.toString() + " Message= " + exc.getMessage()); } } m_driverManager.getVfsDriver().removeFolder(onlineProject, currentFolder); m_driverManager.getVfsDriver().removeFolder(context.currentProject(), currentFolder); // delete both online and offline access control entries applied to this folder m_driverManager.getUserDriver().removeAllAccessControlEntries(onlineProject, delOnlineFolder.getResourceAceId()); m_driverManager.getUserDriver().removeAllAccessControlEntries(context.currentProject(), currentFolder.getResourceAceId()); OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_MODIFIED, Collections.singletonMap("resource", currentFolder))); i.remove(); currentFolder = null; delOnlineFolder = null; } if (sortedFolderList != null) { sortedFolderList.clear(); sortedFolderList = null; } if (sortedFolderMap != null) { sortedFolderMap.clear(); sortedFolderMap = null; } } catch (CmsException e) { // these are dummy catch blocks to have a finally block for clearing // allocated resources. thus the exceptions are just logged and // immediately thrown to the upper app. layer. if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject] " + e.getMessage()); } throw e; } catch (OutOfMemoryError o) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject] out of memory error!"); } // clear all caches to reclaim memory OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_CLEAR_CACHES, new HashMap(), false)); // force a complete object finalization and garbage collection System.runFinalization(); Runtime.getRuntime().runFinalization(); System.gc(); Runtime.getRuntime().gc(); throw o; } finally { if (sortedFolderList != null) { sortedFolderList.clear(); sortedFolderList = null; } if (sortedFolderMap != null) { sortedFolderMap.clear(); sortedFolderMap = null; } if (deletedFolders != null) { deletedFolders.clear(); deletedFolders = null; } if (offlineFiles != null) { offlineFiles.clear(); offlineFiles = null; } properties = null; currentFile = null; currentFileHeader = null; newFile = null; onlineFile = null; currentFolder = null; newFolder = null; onlineFolder = null; discAccess = null; delOnlineFolder = null; currentExportKey = null; contents = null; } return changedResources; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/bc83fccba74a19eb8794dd44eb7434573b8e9614/CmsProjectDriver.java/clean/src/org/opencms/db/generic/CmsProjectDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3852, 5589, 3808, 4109, 12, 4747, 21426, 819, 16, 2149, 4109, 12365, 4109, 16, 1250, 5114, 1526, 16, 509, 5114, 1805, 548, 16, 467, 67, 25702, 2605, 16, 18559, 3359, 4139, 16, 7630, 2657, 6024, 1420, 13, 1216, 11228, 288, 4747, 6144, 2148, 4668, 19169, 1862, 273, 446, 31, 4747, 3899, 783, 3899, 273, 446, 31, 4747, 812, 22650, 273, 446, 31, 4747, 1420, 22650, 1864, 273, 446, 31, 4747, 2531, 783, 2531, 273, 446, 31, 4747, 3899, 394, 3899, 273, 446, 31, 4747, 812, 20592, 273, 446, 31, 4747, 812, 12365, 812, 273, 446, 31, 682, 13493, 14885, 273, 446, 31, 682, 13493, 2697, 273, 446, 31, 682, 4282, 14885, 273, 261, 682, 13, 394, 2407, 5621, 5018, 3550, 3805, 273, 394, 5589, 5621, 780, 783, 6144, 653, 273, 446, 31, 780, 783, 19327, 273, 446, 31, 5748, 3808, 1626, 273, 2332, 18, 2972, 28512, 5621, 3198, 277, 273, 446, 31, 6494, 3808, 3935, 1420, 273, 629, 31, 682, 1984, 3805, 273, 446, 31, 863, 1790, 273, 446, 31, 4747, 3899, 12365, 3899, 273, 446, 31, 863, 3115, 3899, 863, 273, 446, 31, 682, 3115, 3899, 682, 273, 446, 31, 4747, 1420, 1464, 16860, 3899, 273, 446, 31, 7229, 8526, 2939, 273, 446, 31, 474, 3808, 5623, 548, 273, 1024, 6024, 28039, 5621, 775, 288, 2251, 71, 1862, 273, 394, 2149, 6144, 2148, 4668, 12, 6530, 4139, 1769, 430, 261, 9572, 1526, 13, 288, 759, 1045, 392, 1241, 316, 326, 3808, 1984, 613, 81, 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, 1071, 3852, 5589, 3808, 4109, 12, 4747, 21426, 819, 16, 2149, 4109, 12365, 4109, 16, 1250, 5114, 1526, 16, 509, 5114, 1805, 548, 16, 467, 67, 25702, 2605, 16, 18559, 3359, 4139, 16, 7630, 2657, 6024, 1420, 13, 1216, 11228, 288, 4747, 6144, 2148, 4668, 19169, 1862, 273, 446, 31, 4747, 3899, 783, 3899, 273, 446, 31, 4747, 812, 22650, 273, 446, 31, 4747, 1420, 22650, 1864, 273, 446, 31, 4747, 2531, 783, 2531, 273, 446, 31, 4747, 3899, 394, 3899, 273, 446, 31, 4747, 812, 20592, 273, 446, 31, 4747, 812, 12365, 812, 273, 446, 31, 682, 13493, 14885, 273, 446, 31, 682, 13493, 2697, 273, 446, 31, 682, 4282, 14885, 273, 261, 682, 13, 394, 2407, 5621, 2 ]
if (pcClass.isVisible() && filter.accept(null, pcClass))
if (pcClass.getVisibility().equals(Visibility.DEFAULT) && filter.accept(null, pcClass))
public static void registerAllRaceFilters(FilterAdapterPanel fap) { if (raceFilters.size() == 0) { /* * this is done locally in InfoStats, since we have to populate that combobox! * author: Thomas Behr 17-02-02 * * not anymore - we now have InfoRace, which does not have that combobox! * author: Thomas Behr 04-03-02 */ // TODO - Change to RACETYPE/RACESUBTYPE? for ( final String raceType : Globals.getRaceTypes() ) { raceFilters.add(FilterFactory.createTypeFilter(raceType)); } raceFilters.add(FilterFactory.createQualifyFilter()); // Create a favored class filter for each visible Base.PC class. // TODO - Fix this hardcoding PObjectFilter filter = FilterFactory.createCompoundFilter(new TypeFilter("Base"), new TypeFilter("PC"), AND); //$NON-NLS-1$ //$NON-NLS-2$ for ( final PCClass pcClass : Globals.getClassList() ) { if (pcClass.isVisible() && filter.accept(null, pcClass)) { raceFilters.add(FilterFactory.createFavoredClassFilter(pcClass.getKeyName())); } } raceFilters.add(FilterFactory.createPCTemplateFilter()); raceFilters.add(FilterFactory.createRaceFilter()); } for ( final PObjectFilter filter : raceFilters ) { fap.registerFilter(filter); } }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/409d8455e3f43fd17084c6e16c3d2b1e298a252f/FilterFactory.java/buggy/code/src/java/pcgen/gui/filter/FilterFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1744, 1595, 54, 623, 5422, 12, 1586, 4216, 5537, 284, 438, 13, 202, 95, 202, 202, 430, 261, 9963, 5422, 18, 1467, 1435, 422, 374, 13, 202, 202, 95, 1082, 202, 20308, 9506, 380, 333, 353, 2731, 13760, 316, 3807, 4195, 16, 3241, 732, 1240, 358, 6490, 716, 3894, 27570, 5, 9506, 380, 2869, 30, 935, 362, 345, 4823, 7256, 8043, 17, 3103, 17, 3103, 9506, 380, 9506, 380, 486, 16828, 300, 732, 2037, 1240, 3807, 54, 623, 16, 1492, 1552, 486, 1240, 716, 3894, 27570, 5, 9506, 380, 2869, 30, 935, 362, 345, 4823, 7256, 16486, 17, 4630, 17, 3103, 9506, 1195, 1082, 202, 759, 2660, 300, 7576, 358, 534, 6312, 2399, 19, 9254, 8362, 2399, 35, 1082, 202, 1884, 261, 727, 514, 17996, 559, 294, 18901, 1031, 18, 588, 54, 623, 2016, 1435, 262, 1082, 202, 95, 9506, 202, 9963, 5422, 18, 1289, 12, 1586, 1733, 18, 2640, 559, 1586, 12, 9963, 559, 10019, 1082, 202, 97, 1082, 202, 9963, 5422, 18, 1289, 12, 1586, 1733, 18, 2640, 5628, 1164, 1586, 10663, 1082, 202, 759, 1788, 279, 18180, 7653, 667, 1034, 364, 1517, 6021, 3360, 18, 3513, 667, 18, 1082, 202, 759, 2660, 300, 12139, 333, 7877, 2014, 1082, 202, 52, 921, 1586, 1034, 273, 4008, 1733, 18, 2640, 16835, 1586, 12, 2704, 1412, 1586, 2932, 2171, 6, 3631, 394, 1412, 1586, 2932, 3513, 6, 3631, 4116, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 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, 1744, 1595, 54, 623, 5422, 12, 1586, 4216, 5537, 284, 438, 13, 202, 95, 202, 202, 430, 261, 9963, 5422, 18, 1467, 1435, 422, 374, 13, 202, 202, 95, 1082, 202, 20308, 9506, 380, 333, 353, 2731, 13760, 316, 3807, 4195, 16, 3241, 732, 1240, 358, 6490, 716, 3894, 27570, 5, 9506, 380, 2869, 30, 935, 362, 345, 4823, 7256, 8043, 17, 3103, 17, 3103, 9506, 380, 9506, 380, 486, 16828, 300, 732, 2037, 1240, 3807, 54, 623, 16, 1492, 1552, 486, 1240, 716, 3894, 27570, 5, 9506, 380, 2869, 30, 935, 362, 345, 4823, 7256, 16486, 17, 4630, 17, 3103, 9506, 1195, 1082, 202, 759, 2660, 300, 7576, 358, 534, 6312, 2399, 19, 2 ]
if (getCurrentOperation() == DND.DROP_COPY) status = performResourceCopy(getShell(), resources); else status = performResourceMove(resources);
if (getCurrentOperation() == DND.DROP_COPY) { status = performResourceCopy(getShell(), resources); } else { status = performResourceMove(resources); }
public boolean performDrop(final Object data) { alwaysOverwrite = false; if (getCurrentTarget() == null || data == null) { return false; } boolean result = false; IStatus status = null; IResource[] resources = null; TransferData currentTransfer = getCurrentTransfer(); if (LocalSelectionTransfer.getInstance().isSupportedType( currentTransfer)) { resources = getSelectedResources(); } else if (ResourceTransfer.getInstance().isSupportedType( currentTransfer)) { resources = (IResource[]) data; } else if (FileTransfer.getInstance().isSupportedType(currentTransfer)) { status = performFileDrop(data); result = status.isOK(); } else { result = NavigatorDropAdapter.super.performDrop(data); } if (resources != null && resources.length > 0) { if (getCurrentOperation() == DND.DROP_COPY) status = performResourceCopy(getShell(), resources); else status = performResourceMove(resources); } openError(status); return result; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/NavigatorDropAdapter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/NavigatorDropAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 3073, 7544, 12, 6385, 1033, 501, 13, 288, 3639, 3712, 20832, 273, 629, 31, 3639, 309, 261, 588, 3935, 2326, 1435, 422, 446, 747, 501, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 1250, 563, 273, 629, 31, 3639, 467, 1482, 1267, 273, 446, 31, 3639, 467, 1420, 8526, 2703, 273, 446, 31, 3639, 12279, 751, 783, 5912, 273, 5175, 5912, 5621, 3639, 309, 261, 2042, 6233, 5912, 18, 588, 1442, 7675, 291, 7223, 559, 12, 7734, 783, 5912, 3719, 288, 5411, 2703, 273, 16625, 3805, 5621, 3639, 289, 469, 309, 261, 1420, 5912, 18, 588, 1442, 7675, 291, 7223, 559, 12, 7734, 783, 5912, 3719, 288, 5411, 2703, 273, 261, 45, 1420, 63, 5717, 501, 31, 3639, 289, 469, 309, 261, 812, 5912, 18, 588, 1442, 7675, 291, 7223, 559, 12, 2972, 5912, 3719, 288, 5411, 1267, 273, 3073, 812, 7544, 12, 892, 1769, 5411, 563, 273, 1267, 18, 291, 3141, 5621, 3639, 289, 469, 288, 5411, 563, 273, 423, 13061, 7544, 4216, 18, 9565, 18, 16092, 7544, 12, 892, 1769, 3639, 289, 3639, 309, 261, 4683, 480, 446, 597, 2703, 18, 2469, 405, 374, 13, 288, 5411, 309, 261, 588, 3935, 2988, 1435, 422, 463, 2908, 18, 18768, 67, 24875, 13, 7734, 1267, 273, 3073, 1420, 2951, 12, 588, 13220, 9334, 2703, 1769, 5411, 469, 7734, 1267, 273, 3073, 1420, 7607, 12, 4683, 1769, 3639, 289, 3639, 1696, 668, 12, 2327, 1769, 3639, 327, 563, 31, 565, 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, 1071, 1250, 3073, 7544, 12, 6385, 1033, 501, 13, 288, 3639, 3712, 20832, 273, 629, 31, 3639, 309, 261, 588, 3935, 2326, 1435, 422, 446, 747, 501, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 1250, 563, 273, 629, 31, 3639, 467, 1482, 1267, 273, 446, 31, 3639, 467, 1420, 8526, 2703, 273, 446, 31, 3639, 12279, 751, 783, 5912, 273, 5175, 5912, 5621, 3639, 309, 261, 2042, 6233, 5912, 18, 588, 1442, 7675, 291, 7223, 559, 12, 7734, 783, 5912, 3719, 288, 5411, 2703, 273, 16625, 3805, 5621, 3639, 289, 469, 309, 261, 1420, 5912, 18, 588, 1442, 7675, 291, 7223, 559, 12, 7734, 783, 5912, 3719, 288, 5411, 2703, 273, 261, 45, 1420, 2 ]
return null;
return fetchToken();
private Token fetchToken() throws EndOfFile { try { return scanner.nextToken(); } catch (EndOfFile e) { throw e; } catch (ScannerException e) { e.printStackTrace(); return null; } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7081cddca65cafaedaa594c3e2e024e8be4be7f7/Parser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3155, 2158, 1345, 1435, 1216, 4403, 951, 812, 288, 202, 202, 698, 288, 1082, 202, 2463, 7683, 18, 4285, 1345, 5621, 202, 202, 97, 1044, 261, 23358, 812, 425, 13, 288, 1082, 202, 12849, 425, 31, 202, 202, 97, 1044, 261, 11338, 503, 425, 13, 288, 1082, 202, 73, 18, 1188, 6332, 5621, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3155, 2158, 1345, 1435, 1216, 4403, 951, 812, 288, 202, 202, 698, 288, 1082, 202, 2463, 7683, 18, 4285, 1345, 5621, 202, 202, 97, 1044, 261, 23358, 812, 425, 13, 288, 1082, 202, 12849, 425, 31, 202, 202, 97, 1044, 261, 11338, 503, 425, 13, 288, 1082, 202, 73, 18, 1188, 6332, 5621, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return PlatformUI.PLUGIN_ID + ".task_list_view_context";
return PlatformUI.PLUGIN_ID + ".task_list_view_context";
protected String getStaticContextId() { return PlatformUI.PLUGIN_ID + ".task_list_view_context"; //$NON-NLS-1$ }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/3cb3c464f1eeb8cd773d462560821d8819aec0b7/TaskView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TaskView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 23414, 1042, 548, 1435, 288, 3639, 327, 11810, 5370, 18, 19415, 67, 734, 397, 3552, 4146, 67, 1098, 67, 1945, 67, 2472, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 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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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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.sourceBaseList = sourceBaseList; }
this.sourceBaseList = sourceBaseList; }
public void setSourceBaseList(List<String> sourceBaseList) { this.sourceBaseList = sourceBaseList; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/12585c49931ed31a964714a768f89f88c7ac85ca/SourceFinder.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/SourceFinder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 18913, 2171, 682, 12, 682, 32, 780, 34, 1084, 2171, 682, 13, 288, 202, 2211, 18, 3168, 2171, 682, 273, 1084, 2171, 682, 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, 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, 682, 32, 780, 34, 1084, 2171, 682, 13, 288, 202, 2211, 18, 3168, 2171, 682, 273, 1084, 2171, 682, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
boolean apply = global || !stylesheet.bindings.containsKey(name, global); if (apply) {
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { boolean apply = global || !stylesheet.bindings.containsKey(name, global); if (apply) { // push the variable context stylesheet.bindings.push(global); // set the variable Object value = getValue(stylesheet, mode, context, pos, len); if (value != null) { stylesheet.bindings.set(name, value, global); } } // variable and param don't process children as such // all subsequent instructions are processed with that variable context if (next != null) { next.apply(stylesheet, mode, context, pos, len, parent, nextSibling); } if (apply) { // pop the variable context stylesheet.bindings.pop(global); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/ParameterNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 741, 7001, 12, 24656, 13820, 16, 16723, 1965, 16, 2398, 2029, 819, 16, 509, 949, 16, 509, 562, 16, 2398, 2029, 982, 16, 2029, 19419, 13, 565, 1216, 21684, 225, 288, 565, 1250, 2230, 273, 2552, 747, 401, 19403, 18, 15863, 18, 12298, 653, 12, 529, 16, 2552, 1769, 565, 309, 261, 9010, 13, 1377, 288, 3639, 368, 1817, 326, 2190, 819, 3639, 13820, 18, 15863, 18, 6206, 12, 6347, 1769, 3639, 368, 444, 326, 2190, 3639, 1033, 460, 273, 2366, 12, 19403, 16, 1965, 16, 819, 16, 949, 16, 562, 1769, 3639, 309, 261, 1132, 480, 446, 13, 1850, 288, 5411, 13820, 18, 15863, 18, 542, 12, 529, 16, 460, 16, 2552, 1769, 1850, 289, 1377, 289, 565, 368, 2190, 471, 579, 2727, 1404, 1207, 2325, 487, 4123, 565, 368, 777, 10815, 12509, 854, 5204, 598, 716, 2190, 819, 565, 309, 261, 4285, 480, 446, 13, 1377, 288, 3639, 1024, 18, 9010, 12, 19403, 16, 1965, 16, 10402, 819, 16, 949, 16, 562, 16, 10402, 982, 16, 19419, 1769, 1377, 289, 565, 309, 261, 9010, 13, 1377, 288, 3639, 368, 1843, 326, 2190, 819, 3639, 13820, 18, 15863, 18, 5120, 12, 6347, 1769, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 741, 7001, 12, 24656, 13820, 16, 16723, 1965, 16, 2398, 2029, 819, 16, 509, 949, 16, 509, 562, 16, 2398, 2029, 982, 16, 2029, 19419, 13, 565, 1216, 21684, 225, 288, 565, 1250, 2230, 273, 2552, 747, 401, 19403, 18, 15863, 18, 12298, 653, 12, 529, 16, 2552, 1769, 565, 309, 261, 9010, 13, 1377, 288, 3639, 368, 1817, 326, 2190, 819, 3639, 13820, 18, 15863, 18, 6206, 12, 6347, 1769, 3639, 368, 444, 326, 2190, 3639, 1033, 460, 273, 2366, 12, 19403, 16, 1965, 16, 819, 16, 949, 16, 562, 1769, 3639, 309, 261, 1132, 480, 446, 13, 1850, 288, 5411, 13820, 18, 15863, 18, 542, 12, 529, 16, 460, 16, 2552, 1769, 1850, 289, 1377, 2 ]
try { BlockingProgressMonitor bpm = new BlockingProgressMonitor(); bpm.reset(); newFile = makeNewFile("newFile.txt",selectedFolder,bpm); bpm.waitForCompletion(); } catch (SWTException e) { System.err.println(">>> caught swt exception (copyAndRemoveNewNonSrcFile) - don't care"); monitor.reset(); simpleProject.refreshLocal(IResource.DEPTH_INFINITE,monitor); monitor.waitForCompletion(); try { Thread.sleep(5000); } catch (InterruptedException e2) { System.err.println("interrupted sleep - don't care"); } }
public void testCopyAndRemoveNewNonSrcFile() throws CoreException { // test setup..... IProject simpleProject = Utils.getPredefinedProject("Simple AJ Project", true); simpleProject.build(IncrementalProjectBuilder.FULL_BUILD, null); ProjectDependenciesUtils.waitForJobsToComplete(simpleProject); IJavaProject javaProject = JavaCore.create(simpleProject); String srcPath = javaProject.getUnderlyingResource().getLocation().toOSString() + File.separator + "src" + File.separator + "p1" + File.separator + "newFile.txt"; String binPath = javaProject.getUnderlyingResource().getLocation().toOSString() + File.separator + "bin" + File.separator + "p1" + File.separator + "newFile.txt"; assertFalse("newFile.txt should not exist under src tree! (path=" + srcPath + ")",new File(srcPath).exists()); assertFalse("newFile.txt should not exist under bin tree! (path=" + binPath + ")",new File(binPath).exists()); BlockingProgressMonitor monitor = new BlockingProgressMonitor(); // start of test IFolder src = simpleProject.getFolder("src"); if (!src.exists()){ monitor.reset(); src.create(true, true, monitor); monitor.waitForCompletion(); } IFolder p1 = src.getFolder("p1"); if (!p1.exists()){ monitor.reset(); p1.create(true, true, monitor); monitor.waitForCompletion(); } assertNotNull("src folder should not be null", src); assertNotNull("package p1 should not be null", p1); IStructuredSelection selectedFolder = new StructuredSelection(p1); // need to set this because otherwise a full build is // forced (which isn't how it behaves when run this test // manually) ProjectBuildConfigurator pbc = BuildConfigurator.getBuildConfigurator() .getProjectBuildConfigurator(simpleProject); pbc.requestFullBuild(false); ProjectDependenciesUtils.waitForJobsToComplete(simpleProject); IFile newFile = null; try { BlockingProgressMonitor bpm = new BlockingProgressMonitor(); bpm.reset(); newFile = makeNewFile("newFile.txt",selectedFolder,bpm); bpm.waitForCompletion(); } catch (SWTException e) { // don't care about this exception because it's down // in SWT and nothing to do with the test System.err.println(">>> caught swt exception (copyAndRemoveNewNonSrcFile) - don't care"); monitor.reset(); simpleProject.refreshLocal(IResource.DEPTH_INFINITE,monitor); monitor.waitForCompletion(); try { Thread.sleep(5000); } catch (InterruptedException e2) { System.err.println("interrupted sleep - don't care"); } } if (newFile == null){ IFile f = p1.getFile("newFile.txt"); if (!f.exists()) { System.err.println("trying again...."); monitor.reset(); f.create(new ByteArrayInputStream(new byte[0]), true, monitor); monitor.waitForCompletion(); } newFile = p1.getFile("newFile.txt"); } try { Thread.sleep(5000); } catch (InterruptedException e) { System.err.println("interrupted sleep - don't care"); } ProjectDependenciesUtils.waitForJobsToComplete(simpleProject); monitor.reset(); simpleProject.refreshLocal(IResource.DEPTH_INFINITE,monitor); monitor.waitForCompletion(); monitor.reset(); simpleProject.refreshLocal(IResource.DEPTH_INFINITE,monitor); monitor.waitForCompletion(); ProjectDependenciesUtils.waitForJobsToComplete(simpleProject); // If either of these fail, then it's more likely than not to be // down to the timings of driving this programatically (this is // why there is a sleep above. assertTrue("newFile.txt should exist under src tree! (path=" + srcPath + ")",new File(srcPath).exists()); assertTrue("newFile.txt should exist under bin tree! (path=" + binPath + ")",new File(binPath).exists()); // check that the .java file hasn't been copied over... String binPathToMain = javaProject.getUnderlyingResource().getLocation().toOSString() + File.separator + "bin" + File.separator + "p1" + File.separator + "Main.java"; assertFalse("Main.java should not exist under bin tree! (path=" + binPathToMain + ")",new File(binPathToMain).exists()); // now delete the file monitor.reset(); newFile.delete(true,monitor); monitor.waitForCompletion(); ProjectDependenciesUtils.waitForJobsToComplete(simpleProject); monitor.reset(); simpleProject.refreshLocal(IResource.DEPTH_INFINITE,monitor); monitor.waitForCompletion(); try { Thread.sleep(2000); } catch (InterruptedException e) { System.err.println("interrupted sleep - don't care"); } // If either of these fail, then it's more likely than not to be // down to the timings of driving this programatically (this is // why there is a sleep above. assertFalse("newFile.txt should NOT exist under src tree! (path=" + srcPath + ")",new File(srcPath).exists()); ProjectDependenciesUtils.waitForJobsToComplete(simpleProject); monitor.reset(); simpleProject.refreshLocal(IResource.DEPTH_INFINITE,monitor); monitor.waitForCompletion(); assertFalse("newFile.txt should NOT exist under bin tree! (path=" + binPath + ")",new File(binPath).exists()); }
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/307bebe3b7fa481f0101510bcebaa0a11745acb7/BuilderTest.java/buggy/org.eclipse.ajdt.ui.tests/src/org/eclipse/ajdt/internal/builder/BuilderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2951, 1876, 3288, 1908, 3989, 7740, 812, 1435, 1216, 30015, 288, 202, 202, 759, 1842, 3875, 838, 2777, 202, 202, 45, 4109, 4143, 4109, 273, 6091, 18, 588, 1386, 2178, 4109, 2932, 5784, 432, 46, 5420, 3113, 638, 1769, 202, 202, 9647, 4109, 18, 3510, 12, 10798, 287, 4109, 1263, 18, 18111, 67, 20215, 16, 446, 1769, 202, 202, 4109, 8053, 1989, 18, 7048, 1290, 7276, 774, 6322, 12, 9647, 4109, 1769, 202, 202, 45, 5852, 4109, 2252, 4109, 273, 5110, 4670, 18, 2640, 12, 9647, 4109, 1769, 9506, 202, 780, 19497, 273, 2252, 4109, 18, 588, 14655, 6291, 1420, 7675, 588, 2735, 7675, 869, 4618, 780, 1435, 15106, 202, 15, 1387, 18, 11287, 397, 315, 4816, 6, 397, 1387, 18, 11287, 397, 315, 84, 21, 6, 15106, 202, 15, 1387, 18, 11287, 397, 315, 2704, 812, 18, 5830, 14432, 9506, 202, 780, 4158, 743, 273, 2252, 4109, 18, 588, 14655, 6291, 1420, 7675, 588, 2735, 7675, 869, 4618, 780, 1435, 15106, 202, 15, 1387, 18, 11287, 397, 315, 4757, 6, 397, 1387, 18, 11287, 397, 315, 84, 21, 6, 15106, 202, 15, 1387, 18, 11287, 397, 315, 2704, 812, 18, 5830, 14432, 202, 202, 11231, 8381, 2932, 2704, 812, 18, 5830, 1410, 486, 1005, 3613, 1705, 2151, 5, 261, 803, 1546, 397, 19497, 397, 7310, 16, 2704, 1387, 12, 4816, 743, 2934, 1808, 10663, 202, 202, 11231, 8381, 2932, 2704, 812, 18, 5830, 1410, 486, 1005, 3613, 4158, 2151, 5, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2951, 1876, 3288, 1908, 3989, 7740, 812, 1435, 1216, 30015, 288, 202, 202, 759, 1842, 3875, 838, 2777, 202, 202, 45, 4109, 4143, 4109, 273, 6091, 18, 588, 1386, 2178, 4109, 2932, 5784, 432, 46, 5420, 3113, 638, 1769, 202, 202, 9647, 4109, 18, 3510, 12, 10798, 287, 4109, 1263, 18, 18111, 67, 20215, 16, 446, 1769, 202, 202, 4109, 8053, 1989, 18, 7048, 1290, 7276, 774, 6322, 12, 9647, 4109, 1769, 202, 202, 45, 5852, 4109, 2252, 4109, 273, 5110, 4670, 18, 2640, 12, 9647, 4109, 1769, 9506, 202, 780, 19497, 273, 2252, 4109, 18, 588, 14655, 6291, 1420, 7675, 588, 2735, 7675, 869, 4618, 780, 1435, 15106, 202, 15, 1387, 18, 11287, 2 ]
ownerScope = owner;
super( owner );
public UsingDeclaration( IScope owner ) { ownerScope = owner; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1408e4cd833b907fe44a1e7f51c25316752fa21f/UsingDeclaration.java/buggy/core/org.eclipse.cdt.core/dom/org/eclipse/cdt/internal/core/dom/UsingDeclaration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11637, 6094, 12, 467, 3876, 3410, 262, 202, 95, 202, 202, 8443, 3876, 273, 3410, 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,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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (columnInfoColumns.contains("IS_NULLABLE") && "NO".equalsIgnoreCase( columnData.getString("IS_NULLABLE"))) {
String isNullableValue = columnInfoColumns.contains("IS_NULLABLE") ? columnData.getString("IS_NULLABLE") : null; if ( isNullableValue != null ) isNullableValue = isNullableValue.trim(); if ( "NO".equalsIgnoreCase(isNullableValue) ) {
private List getColumnsForTable(String tableName) throws SQLException { List columnInfoColumns = new Vector(); DatabaseMetaData dbmd = connection.getMetaData(); List columns = new Vector(); ResultSet columnData = null; List primaryKeys = getPrimaryKeysForTable(tableName); try { columnData = dbmd.getColumns(catalog, schema, tableName, null); ResultSetMetaData rsmd = columnData.getMetaData(); for (int i = 0; i < rsmd.getColumnCount(); i++) { columnInfoColumns.add(rsmd.getColumnName(i + 1)); } while (columnData.next()) { /* table catalog (may be null) */ String columnTableCatalog = columnInfoColumns.contains("TABLE_CAT") ? columnData.getString("TABLE_CAT") : ""; /* table schema (may be null) */ String columnTableSchema = columnInfoColumns.contains("TABLE_SCHEM") ? columnData.getString("TABLE_SCHEM") : ""; /* column name */ String columnName = columnInfoColumns.contains("COLUMN_NAME") ? columnData.getString("COLUMN_NAME") : "UNKNOWN"; /* SQL type from java.sql.Types */ int columnType = columnInfoColumns.contains("DATA_TYPE") ? columnData.getInt("DATA_TYPE") : java.sql.Types.OTHER; /* * Data source dependent type name, for a UDT the type name is * fully qualified */ String columnDbName = columnInfoColumns.contains("TYPE_NAME") ? columnData.getString("TYPE_NAME") : null; /* * column size. For char or date types this is the maximum * number of characters, for numeric or decimal types this is * precision. */ String columnSize = columnInfoColumns.contains("COLUMN_SIZE") ? columnData.getString("COLUMN_SIZE") : null; /* the number of fractional digits */ int columnScale = columnInfoColumns.contains("DECIMAL_DIGITS") ? columnData.getInt("DECIMAL_DIGITS") : 0; /* Radix (typically either 10 or 2) */ int columnPrecision = columnInfoColumns.contains("NUM_PREC_RADIX") ? columnData.getInt("NUM_PREC_RADIX") : 10; /* * is NULL allowed. * columnNoNulls - might not allow NULL values * columnNullable - definitely allows NULL values * columnNullableUnknown - nullability unknown */ int columnNullable = columnInfoColumns.contains("NULLABLE") ? columnData.getInt("NULLABLE") : ResultSetMetaData.columnNullableUnknown; /* comment describing column (may be null) */ String columnRemarks = columnInfoColumns.contains("REMARKS") ? columnData.getString("REMARKS") : ""; /* default value (may be null) */ String columnDefaultValue = columnInfoColumns.contains("COLUMN_DEF") ? columnData.getString("COLUMN_DEF") : null; /* for char types the maximum number of bytes in the column */ int columnCharOctetLength = columnInfoColumns.contains("CHAR_OCTET_LENGTH") ? columnData.getInt("CHAR_OCTET_LENGTH") : 0; /* index of column in table (starting at 1) */ int columnOrdinalPosition = columnInfoColumns.contains("ORDINAL_POSITION") ? columnData.getInt("ORDINAL_POSITION") : 0; /* * "NO" means column definitely does not allow NULL values; * "YES" means the column might allow NULL values; * An empty string means nobody knows. * We make the assumption that "NO" means no, anything else means * yes. */ boolean columnIsNullable = false; if (columnInfoColumns.contains("IS_NULLABLE") && "NO".equalsIgnoreCase( columnData.getString("IS_NULLABLE"))) { columnIsNullable = false; } else { columnIsNullable = true; } /* * catalog of table that is the scope of a reference attribute * (null if DATA_TYPE isn't REF) */ String columnScopeCatalog = columnInfoColumns.contains("SCOPE_CATLOG") ? columnData.getString("SCOPE_CATLOG") : null; /* * schema of table that is the scope of a reference attribute * (null if DATA_TYPE isn't REF) */ String columnScopeSchema = columnInfoColumns.contains("SCOPE_SCHEMA") ? columnData.getString("SCOPE_SCHEMA") : null; /* * table name that is the scope of a reference attribute * (null if DATA_TYPE isn't REF) */ String columnScopeTable = columnInfoColumns.contains("SCOPE_TABLE") ? columnData.getString("SCOPE_TABLE") : null; /* * source type of a distinct type or user-generated Ref type, * SQL type from java.sql.Types (null if DATA_TYPE isn't DISTINCT * or user-generated REF) */ short columnSourceDataType = columnInfoColumns.contains("SOURCE_DATA_TYPE") ? columnData.getShort("SOURCE_DATA_TYPE") : 0; Column col = new Column(); col.setName(columnName); col.setTypeCode(columnType); col.setSize(columnSize); col.setRequired(!columnIsNullable); col.setDefaultValue(columnDefaultValue); if (primaryKeys.contains(col.getName())) { col.setPrimaryKey(true); } else { col.setPrimaryKey(false); } col.setPrecisionRadix(columnPrecision); col.setScale(columnScale); columns.add(col); } return columns; } finally { if (columnData != null) { columnData.close(); } } }
3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/9257d20e9772d988d828a1ac26e3a47e10c48409/JdbcModelReader.java/clean/src/java/org/apache/commons/sql/io/JdbcModelReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 14226, 1290, 1388, 12, 780, 4775, 13, 1216, 6483, 288, 3639, 987, 29448, 3380, 273, 394, 5589, 5621, 3639, 5130, 6998, 1319, 1264, 273, 1459, 18, 588, 6998, 5621, 3639, 987, 2168, 273, 394, 5589, 5621, 3639, 10842, 1057, 751, 273, 446, 31, 3639, 987, 31629, 273, 11398, 2396, 1290, 1388, 12, 18033, 1769, 3639, 775, 288, 5411, 1057, 751, 273, 1319, 1264, 18, 588, 3380, 12, 7199, 16, 1963, 16, 4775, 16, 446, 1769, 5411, 10842, 6998, 3597, 1264, 273, 1057, 751, 18, 588, 6998, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3597, 1264, 18, 588, 1494, 1380, 5621, 277, 27245, 288, 7734, 29448, 3380, 18, 1289, 12, 5453, 1264, 18, 588, 8516, 12, 77, 397, 404, 10019, 5411, 289, 5411, 1323, 261, 2827, 751, 18, 4285, 10756, 288, 7734, 1748, 1014, 6222, 261, 24877, 506, 446, 13, 1195, 7734, 514, 1057, 1388, 9769, 273, 10792, 29448, 3380, 18, 12298, 2932, 7775, 67, 14130, 7923, 13491, 692, 1057, 751, 18, 588, 780, 2932, 7775, 67, 14130, 7923, 13491, 294, 1408, 31, 7734, 1748, 1014, 1963, 261, 24877, 506, 446, 13, 1195, 7734, 514, 1057, 1388, 3078, 273, 10792, 29448, 3380, 18, 12298, 2932, 7775, 67, 55, 10390, 7923, 13491, 692, 1057, 751, 18, 588, 780, 2932, 7775, 67, 55, 10390, 7923, 13491, 294, 1408, 31, 7734, 1748, 1057, 508, 1195, 7734, 514, 7578, 273, 10792, 29448, 3380, 18, 12298, 2932, 11009, 67, 1985, 7923, 13491, 692, 1057, 751, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 14226, 1290, 1388, 12, 780, 4775, 13, 1216, 6483, 288, 3639, 987, 29448, 3380, 273, 394, 5589, 5621, 3639, 5130, 6998, 1319, 1264, 273, 1459, 18, 588, 6998, 5621, 3639, 987, 2168, 273, 394, 5589, 5621, 3639, 10842, 1057, 751, 273, 446, 31, 3639, 987, 31629, 273, 11398, 2396, 1290, 1388, 12, 18033, 1769, 3639, 775, 288, 5411, 1057, 751, 273, 1319, 1264, 18, 588, 3380, 12, 7199, 16, 1963, 16, 4775, 16, 446, 1769, 5411, 10842, 6998, 3597, 1264, 273, 1057, 751, 18, 588, 6998, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3597, 1264, 18, 588, 1494, 1380, 5621, 277, 27245, 288, 7734, 29448, 3380, 18, 1289, 12, 5453, 1264, 18, 2 ]
_t = __t303;
_t = __t311;
public final Expression expr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST expr_AST_in = (AST)_t; AST t = null; AST someVarName = null; AST varName = null; AST posVar = null; AST letVarName = null; step= null; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_cast: { AST __t266 = _t; AST tmp3_AST_in = (AST)_t; match(_t,LITERAL_cast); _t = _t.getFirstChild(); PathExpr expr= new PathExpr(context); int cardinality= Cardinality.EXACTLY_ONE; step=expr(_t,expr); _t = _retTree; t = (AST)_t; match(_t,ATOMIC_TYPE); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QUESTION: { AST tmp4_AST_in = (AST)_t; match(_t,QUESTION); _t = _t.getNextSibling(); cardinality= Cardinality.ZERO_OR_ONE; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } QName qn= QName.parse(context, t.getText()); int code= Type.getType(qn); CastExpression castExpr= new CastExpression(context, expr, code, cardinality); path.add(castExpr); step = castExpr; _t = __t266; _t = _t.getNextSibling(); break; } case COMMA: { AST __t268 = _t; AST tmp5_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; SequenceConstructor sc= new SequenceConstructor(context); sc.addExpression(left); sc.addExpression(right); path.add(sc); step = sc; _t = __t268; _t = _t.getNextSibling(); break; } case LITERAL_if: { AST __t269 = _t; AST tmp6_AST_in = (AST)_t; match(_t,LITERAL_if); _t = _t.getFirstChild(); PathExpr testExpr= new PathExpr(context); PathExpr thenExpr= new PathExpr(context); PathExpr elseExpr= new PathExpr(context); step=expr(_t,testExpr); _t = _retTree; step=expr(_t,thenExpr); _t = _retTree; step=expr(_t,elseExpr); _t = _retTree; ConditionalExpression cond= new ConditionalExpression(context, testExpr, thenExpr, elseExpr); path.add(cond); step = cond; _t = __t269; _t = _t.getNextSibling(); break; } case LITERAL_some: { AST __t270 = _t; AST tmp7_AST_in = (AST)_t; match(_t,LITERAL_some); _t = _t.getFirstChild(); List clauses= new ArrayList(); PathExpr satisfiesExpr = new PathExpr(context); { _loop275: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t272 = _t; someVarName = _t==ASTNULL ? null :(AST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); PathExpr inputSequence = new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t274 = _t; AST tmp8_AST_in = (AST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t274; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= someVarName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t272; _t = _t.getNextSibling(); } else { break _loop275; } } while (true); } step=expr(_t,satisfiesExpr); _t = _retTree; Expression action = satisfiesExpr; for (int i= clauses.size() - 1; i >= 0; i--) { ForLetClause clause= (ForLetClause) clauses.get(i); BindingExpression expr = new QuantifiedExpression(context); expr.setVariable(clause.varName); expr.setSequenceType(clause.sequenceType); expr.setInputSequence(clause.inputSequence); expr.setReturnExpression(action); satisfiesExpr= null; action= expr; } path.add(action); step = action; _t = __t270; _t = _t.getNextSibling(); break; } case LITERAL_return: { AST __t276 = _t; AST tmp9_AST_in = (AST)_t; match(_t,LITERAL_return); _t = _t.getFirstChild(); List clauses= new ArrayList(); Expression action= new PathExpr(context); PathExpr whereExpr= null; List orderBy= null; { int _cnt291=0; _loop291: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_for: { AST __t278 = _t; AST tmp10_AST_in = (AST)_t; match(_t,LITERAL_for); _t = _t.getFirstChild(); { int _cnt284=0; _loop284: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t280 = _t; varName = _t==ASTNULL ? null :(AST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); PathExpr inputSequence= new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t282 = _t; AST tmp11_AST_in = (AST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); clause.sequenceType= new SequenceType(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t282; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case POSITIONAL_VAR: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case POSITIONAL_VAR: { posVar = (AST)_t; match(_t,POSITIONAL_VAR); _t = _t.getNextSibling(); clause.posVar= posVar.getText(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= varName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t280; _t = _t.getNextSibling(); } else { if ( _cnt284>=1 ) { break _loop284; } else {throw new NoViableAltException(_t);} } _cnt284++; } while (true); } _t = __t278; _t = _t.getNextSibling(); break; } case LITERAL_let: { AST __t285 = _t; AST tmp12_AST_in = (AST)_t; match(_t,LITERAL_let); _t = _t.getFirstChild(); { int _cnt290=0; _loop290: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t287 = _t; letVarName = _t==ASTNULL ? null :(AST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); clause.isForClause= false; PathExpr inputSequence= new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t289 = _t; AST tmp13_AST_in = (AST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); clause.sequenceType= new SequenceType(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t289; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= letVarName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t287; _t = _t.getNextSibling(); } else { if ( _cnt290>=1 ) { break _loop290; } else {throw new NoViableAltException(_t);} } _cnt290++; } while (true); } _t = __t285; _t = _t.getNextSibling(); break; } default: { if ( _cnt291>=1 ) { break _loop291; } else {throw new NoViableAltException(_t);} } } _cnt291++; } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_where: { AST tmp14_AST_in = (AST)_t; match(_t,LITERAL_where); _t = _t.getNextSibling(); whereExpr= new PathExpr(context); step=expr(_t,whereExpr); _t = _retTree; break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case ORDER_BY: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ORDER_BY: { AST __t294 = _t; AST tmp15_AST_in = (AST)_t; match(_t,ORDER_BY); _t = _t.getFirstChild(); orderBy= new ArrayList(3); { int _cnt300=0; _loop300: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_0.member(_t.getType()))) { PathExpr orderSpecExpr= new PathExpr(context); step=expr(_t,orderSpecExpr); _t = _retTree; OrderSpec orderSpec= new OrderSpec(orderSpecExpr); int modifiers= 0; orderBy.add(orderSpec); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_ascending: case LITERAL_descending: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_ascending: { AST tmp16_AST_in = (AST)_t; match(_t,LITERAL_ascending); _t = _t.getNextSibling(); break; } case LITERAL_descending: { AST tmp17_AST_in = (AST)_t; match(_t,LITERAL_descending); _t = _t.getNextSibling(); modifiers= OrderSpec.DESCENDING_ORDER; orderSpec.setModifiers(modifiers); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case LITERAL_empty: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_empty: { AST tmp18_AST_in = (AST)_t; match(_t,LITERAL_empty); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_greatest: { AST tmp19_AST_in = (AST)_t; match(_t,LITERAL_greatest); _t = _t.getNextSibling(); break; } case LITERAL_least: { AST tmp20_AST_in = (AST)_t; match(_t,LITERAL_least); _t = _t.getNextSibling(); modifiers |= OrderSpec.EMPTY_LEAST; orderSpec.setModifiers(modifiers); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } } else { if ( _cnt300>=1 ) { break _loop300; } else {throw new NoViableAltException(_t);} } _cnt300++; } while (true); } _t = __t294; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,(PathExpr) action); _t = _retTree; for (int i= clauses.size() - 1; i >= 0; i--) { ForLetClause clause= (ForLetClause) clauses.get(i); BindingExpression expr; if (clause.isForClause) expr= new ForExpr(context); else expr= new LetExpr(context); expr.setVariable(clause.varName); expr.setSequenceType(clause.sequenceType); expr.setInputSequence(clause.inputSequence); expr.setReturnExpression(action); if (clause.isForClause) ((ForExpr) expr).setPositionalVariable(clause.posVar); if (whereExpr != null) { expr.setWhereExpression(whereExpr); whereExpr= null; } if (orderBy != null) { OrderSpec orderSpecs[]= new OrderSpec[orderBy.size()]; int k= 0; for (Iterator j= orderBy.iterator(); j.hasNext(); k++) { OrderSpec orderSpec= (OrderSpec) j.next(); orderSpecs[k]= orderSpec; } expr.setOrderSpecs(orderSpecs); } action= expr; } path.add(action); step = action; _t = __t276; _t = _t.getNextSibling(); break; } case LITERAL_or: { AST __t301 = _t; AST tmp21_AST_in = (AST)_t; match(_t,LITERAL_or); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t301; _t = _t.getNextSibling(); OpOr or= new OpOr(context); or.add(left); or.add(right); path.addPath(or); step = or; break; } case LITERAL_and: { AST __t302 = _t; AST tmp22_AST_in = (AST)_t; match(_t,LITERAL_and); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t302; _t = _t.getNextSibling(); OpAnd and= new OpAnd(context); and.add(left); and.add(right); path.addPath(and); step = and; break; } case UNION: { AST __t303 = _t; AST tmp23_AST_in = (AST)_t; match(_t,UNION); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t303; _t = _t.getNextSibling(); Union union= new Union(context, left, right); path.add(union); step = union; break; } case LITERAL_intersect: { AST __t304 = _t; AST tmp24_AST_in = (AST)_t; match(_t,LITERAL_intersect); _t = _t.getFirstChild(); PathExpr left = new PathExpr(context); PathExpr right = new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t304; _t = _t.getNextSibling(); Intersection intersect = new Intersection(context, left, right); path.add(intersect); step = intersect; break; } case LITERAL_except: { AST __t305 = _t; AST tmp25_AST_in = (AST)_t; match(_t,LITERAL_except); _t = _t.getFirstChild(); PathExpr left = new PathExpr(context); PathExpr right = new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t305; _t = _t.getNextSibling(); Except intersect = new Except(context, left, right); path.add(intersect); step = intersect; break; } case ABSOLUTE_SLASH: { AST __t306 = _t; AST tmp26_AST_in = (AST)_t; match(_t,ABSOLUTE_SLASH); _t = _t.getFirstChild(); RootNode root= new RootNode(context); path.add(root); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { step=expr(_t,path); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t306; _t = _t.getNextSibling(); break; } case ABSOLUTE_DSLASH: { AST __t308 = _t; AST tmp27_AST_in = (AST)_t; match(_t,ABSOLUTE_DSLASH); _t = _t.getFirstChild(); RootNode root= new RootNode(context); path.add(root); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { step=expr(_t,path); _t = _retTree; if (step instanceof LocationStep) { LocationStep s= (LocationStep) step; if (s.getAxis() == Constants.ATTRIBUTE_AXIS) // combines descendant-or-self::node()/attribute:* s.setAxis(Constants.DESCENDANT_ATTRIBUTE_AXIS); else s.setAxis(Constants.DESCENDANT_SELF_AXIS); } else step.setPrimaryAxis(Constants.DESCENDANT_SELF_AXIS); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t308; _t = _t.getNextSibling(); break; } case LITERAL_to: { AST __t310 = _t; AST tmp28_AST_in = (AST)_t; match(_t,LITERAL_to); _t = _t.getFirstChild(); PathExpr start= new PathExpr(context); PathExpr end= new PathExpr(context); List args= new ArrayList(2); args.add(start); args.add(end); step=expr(_t,start); _t = _retTree; step=expr(_t,end); _t = _retTree; RangeExpression range= new RangeExpression(context); range.setArguments(args); path.addPath(range); step = range; _t = __t310; _t = _t.getNextSibling(); break; } case EQ: case NEQ: case GT: case GTEQ: case LT: case LTEQ: { step=generalComp(_t,path); _t = _retTree; break; } case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: { step=valueComp(_t,path); _t = _retTree; break; } case ANDEQ: case OREQ: { step=fulltextComp(_t,path); _t = _retTree; break; } case PARENTHESIZED: case FUNCTION: case VARIABLE_REF: case ELEMENT: case TEXT: case STRING_LITERAL: case LCURLY: case XML_COMMENT: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { step=primaryExpr(_t,path); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: { step=pathExpr(_t,path); _t = _retTree; break; } case UNARY_MINUS: case UNARY_PLUS: case STAR: case PLUS: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: { step=numericExpr(_t,path); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/d31ac0d651739cc32d55579c14a0786f6bfb4200/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 3065, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 3065, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 268, 273, 446, 31, 202, 202, 9053, 2690, 18129, 273, 446, 31, 202, 202, 9053, 13722, 273, 446, 31, 202, 202, 9053, 949, 1537, 273, 446, 31, 202, 202, 9053, 2231, 18129, 273, 446, 31, 202, 202, 4119, 33, 446, 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, 511, 18454, 67, 4155, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 5558, 26, 273, 389, 88, 31, 1082, 202, 9053, 1853, 23, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 23225, 67, 4155, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 6862, 6862, 202, 743, 4742, 3065, 33, 394, 2666, 4742, 12, 2472, 1769, 25083, 202, 474, 14379, 33, 14338, 9232, 18, 2294, 6526, 7076, 67, 5998, 31, 6862, 9506, 202, 4119, 33, 8638, 24899, 88, 16, 8638, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 88, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 28146, 2871, 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, 5371, 225, 3065, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 3065, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 268, 273, 446, 31, 202, 202, 9053, 2690, 18129, 273, 446, 31, 202, 202, 9053, 13722, 273, 446, 31, 202, 202, 9053, 949, 1537, 273, 446, 31, 202, 202, 9053, 2231, 18129, 273, 446, 31, 202, 202, 4119, 33, 446, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 2 ]
public SearcherModel(){ this.elements = Collections.synchronizedSortedSet(new TreeSet(getComparator())); // this.historyElements = Collections.synchronizedSortedSet(new TreeSet(getComparator())); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/10a948754077bad2b6e3ce4ba40929fe9f5533dc/AbstractSearcher.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/AbstractSearcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 2979, 264, 1488, 1435, 95, 1082, 202, 2211, 18, 6274, 33, 15150, 18, 22043, 11739, 694, 12, 2704, 2471, 694, 12, 588, 5559, 1435, 10019, 202, 759, 202, 202, 2211, 18, 8189, 3471, 33, 15150, 18, 22043, 11739, 694, 12, 2704, 2471, 694, 12, 588, 5559, 1435, 10019, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 2979, 264, 1488, 1435, 95, 1082, 202, 2211, 18, 6274, 33, 15150, 18, 22043, 11739, 694, 12, 2704, 2471, 694, 12, 588, 5559, 1435, 10019, 202, 759, 202, 202, 2211, 18, 8189, 3471, 33, 15150, 18, 22043, 11739, 694, 12, 2704, 2471, 694, 12, 588, 5559, 1435, 10019, 202, 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 ]
List editparts = new ArrayList(layoutNodes.size());
public Runnable layoutLayoutNodes(List layoutNodes, boolean offsetFromBoundingBox, IAdaptable layoutHint) { IGraphicalEditPart gep = (IGraphicalEditPart) layoutHint .getAdapter(IGraphicalEditPart.class); List editparts = new ArrayList(layoutNodes.size()); Assert.isNotNull(gep, "The Graphical EditPart is null"); //$NON-NLS-1$ Map registry = gep.getViewer().getEditPartRegistry(); Iterator nodes = layoutNodes.listIterator(); while (nodes.hasNext()) { Node view = ((ILayoutNode) nodes.next()).getNode(); editparts.add(registry.get(view)); } if (offsetFromBoundingBox) { final Command cmdSelect = layoutEditParts(editparts, layoutHint); return new IInternalLayoutRunnable() { public void run() { cmdSelect.execute(); } public Command getCommand() { return cmdSelect; } }; } else { final Command cmdDiag = layoutEditParts(gep, layoutHint); return new IInternalLayoutRunnable() { public void run() { cmdDiag.execute(); } public Command getCommand() { return cmdDiag; } }; } }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8712be55a3a605f18a6a20f69b12a1bb6021180a/AbstractLayoutEditPartProvider.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/services/layout/AbstractLayoutEditPartProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10254, 3511, 3744, 3205, 12, 682, 3511, 3205, 16, 1082, 202, 6494, 1384, 1265, 19020, 16, 467, 13716, 429, 3511, 7002, 13, 288, 202, 202, 3047, 1483, 1706, 4666, 1988, 314, 881, 273, 261, 3047, 1483, 1706, 4666, 1988, 13, 3511, 7002, 9506, 202, 18, 588, 4216, 12, 3047, 1483, 1706, 4666, 1988, 18, 1106, 1769, 202, 202, 682, 3874, 6019, 273, 394, 2407, 12, 6741, 3205, 18, 1467, 10663, 202, 202, 8213, 18, 291, 5962, 12, 75, 881, 16, 315, 1986, 5601, 1706, 15328, 1988, 353, 446, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 863, 4023, 273, 314, 881, 18, 588, 18415, 7675, 588, 4666, 1988, 4243, 5621, 202, 202, 3198, 2199, 273, 3511, 3205, 18, 1098, 3198, 5621, 202, 202, 17523, 261, 4690, 18, 5332, 2134, 10756, 288, 1082, 202, 907, 1476, 273, 14015, 2627, 2012, 907, 13, 2199, 18, 4285, 1435, 2934, 588, 907, 5621, 1082, 202, 4619, 6019, 18, 1289, 12, 9893, 18, 588, 12, 1945, 10019, 202, 202, 97, 202, 202, 430, 261, 3348, 1265, 19020, 13, 288, 1082, 202, 6385, 3498, 1797, 3391, 273, 3511, 4666, 4305, 12, 4619, 6019, 16, 3511, 7002, 1769, 1082, 202, 2463, 394, 467, 3061, 3744, 20013, 1435, 288, 9506, 202, 482, 918, 1086, 1435, 288, 6862, 202, 4172, 3391, 18, 8837, 5621, 9506, 202, 97, 9506, 202, 482, 3498, 12856, 1435, 288, 6862, 202, 2463, 1797, 3391, 31, 9506, 202, 97, 1082, 202, 20451, 202, 202, 97, 469, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10254, 3511, 3744, 3205, 12, 682, 3511, 3205, 16, 1082, 202, 6494, 1384, 1265, 19020, 16, 467, 13716, 429, 3511, 7002, 13, 288, 202, 202, 3047, 1483, 1706, 4666, 1988, 314, 881, 273, 261, 3047, 1483, 1706, 4666, 1988, 13, 3511, 7002, 9506, 202, 18, 588, 4216, 12, 3047, 1483, 1706, 4666, 1988, 18, 1106, 1769, 202, 202, 682, 3874, 6019, 273, 394, 2407, 12, 6741, 3205, 18, 1467, 10663, 202, 202, 8213, 18, 291, 5962, 12, 75, 881, 16, 315, 1986, 5601, 1706, 15328, 1988, 353, 446, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 863, 4023, 273, 314, 881, 18, 588, 18415, 7675, 588, 4666, 1988, 4243, 5621, 202, 202, 3198, 2199, 2 ]
onClickPageTest("<html><head><title>foo</title></head><frameset><frame/><noframes id='clickId' onClick='alert(\"foo\")'/></frameset></html>");
onClickPageTest("<html><head><title>foo</title></head><frameset><frame/>" + "<noframes id='clickId' onClick='alert(\"foo\")'/></frameset></html>");
public void XXtestNoFrames_onClick() throws Exception { onClickPageTest("<html><head><title>foo</title></head><frameset><frame/><noframes id='clickId' onClick='alert(\"foo\")'/></frameset></html>"); }
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/f510d7e2a5529d09914a7cc8aecb4f1d4b5d883a/ClickableElementTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/ClickableElementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1139, 60, 3813, 2279, 15162, 67, 265, 6563, 1435, 1216, 1185, 288, 3639, 18296, 1964, 4709, 2932, 32, 2620, 4438, 1978, 4438, 2649, 34, 11351, 1757, 2649, 4695, 1978, 4438, 10278, 278, 4438, 3789, 26293, 397, 3532, 82, 792, 86, 753, 612, 2218, 7475, 548, 11, 18296, 2218, 11798, 23031, 11351, 2412, 2506, 19, 4695, 10278, 278, 4695, 2620, 2984, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1139, 60, 3813, 2279, 15162, 67, 265, 6563, 1435, 1216, 1185, 288, 3639, 18296, 1964, 4709, 2932, 32, 2620, 4438, 1978, 4438, 2649, 34, 11351, 1757, 2649, 4695, 1978, 4438, 10278, 278, 4438, 3789, 26293, 397, 3532, 82, 792, 86, 753, 612, 2218, 7475, 548, 11, 18296, 2218, 11798, 23031, 11351, 2412, 2506, 19, 4695, 10278, 278, 4695, 2620, 2984, 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 ]
public GEStreamNode construct(GraphStructure graphStruct) { System.out.println("Constructing the SplitJoin " +this.getName()); this.draw(); // Create a graph structure that will be contained within a LiveJGraphInternalFrame. GraphStructure localGraphStruct = new GraphStructure(); localGraphStruct.liveDemo = graphStruct.liveDemo; DefaultGraphModel model = new DefaultGraphModel(); localGraphStruct.setGraphModel(model); localGraphStruct.setJGraph(new JGraph(model)); LiveJGraphInternalFrame frame = new LiveJGraphInternalFrame(localGraphStruct.getJGraph()); localGraphStruct.internalFrame = frame; this.splitter.construct(localGraphStruct); ////// this.splitter.construct(graphStruct); ArrayList nodeList = (ArrayList) this.getSuccesors(); Iterator listIter = nodeList.listIterator(); ArrayList lastNodeList = new ArrayList(); while(listIter.hasNext()) { GEStreamNode strNode = ((GEStreamNode) listIter.next()); lastNodeList.add(strNode.construct(localGraphStruct)); ///////// lastNodeList.add(strNode.construct(graphStruct)); System.out.println("Connecting " + splitter.getName()+ " to "+ strNode.getName()); localGraphStruct.connectDraw(splitter, strNode); ///////// graphStruct.connectDraw(splitter, strNode); } listIter = lastNodeList.listIterator(); this.joiner.construct(localGraphStruct); //////// this.joiner.construct(graphStruct); while(listIter.hasNext()) { GEStreamNode strNode = (GEStreamNode) listIter.next(); System.out.println("Connecting " + strNode.getName()+ " to "+ joiner.getName()); localGraphStruct.connectDraw(strNode, joiner); //////// graphStruct.connectDraw(strNode, joiner); } model.insert(localGraphStruct.getCells().toArray(),localGraphStruct.getAttributes(), localGraphStruct.getConnectionSet(), null, null); DefaultGraphCell splitjoinCell = new DefaultGraphCell(frame); this.port = new DefaultPort(); splitjoinCell.add(this.port); frame.setGraphCell(splitjoinCell); frame.setGraphStruct(graphStruct); frame.setGraphModel(model); frame.create(this.getName()); frame.setSize(320, 700); //(graphStruct.getAttributes()).put(this, this.attributes); //GraphConstants.setAutoSize(this.attributes, true); //GraphConstants.setBounds(this.attributes, graphStruct.setRectCoords(this)); graphStruct.getCells().add(splitjoinCell); //(graphStruct.getGraphModel()).insert(new Object[] {splitjoinCell}, null, null, null, null); graphStruct.internalFrame.getContentPane().add(frame); // did not actually solve the problem, as originally thought (07/24/03) //graphStruct.internalFrame.getDesktopPane().add(frame); try { frame.setSelected(true); } catch(Exception pve) {} return this; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/a918825ff245251c28cecd7c30cee381c17b3c93/GESplitJoin.java/buggy/streams/src/streamit/eclipse/grapheditor/GESplitJoin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7113, 1228, 907, 10062, 12, 4137, 6999, 4660, 3823, 13, 202, 95, 202, 202, 3163, 18, 659, 18, 8222, 2932, 7249, 310, 5787, 5521, 4572, 6, 15, 2211, 18, 17994, 10663, 202, 202, 2211, 18, 9446, 5621, 9506, 202, 759, 1684, 6994, 7627, 19056, 20194, 70, 31313, 8707, 1918, 15314, 12328, 46, 4137, 3061, 3219, 18, 202, 202, 4137, 6999, 3729, 4137, 3823, 33, 2704, 4137, 6999, 5621, 202, 202, 3729, 4137, 3823, 18, 16472, 27126, 33, 4660, 3823, 18, 16472, 27126, 31, 202, 202, 1868, 4137, 1488, 2284, 33, 2704, 1868, 4137, 1488, 5621, 202, 202, 3729, 4137, 3823, 18, 542, 4137, 1488, 12, 2284, 1769, 202, 202, 3729, 4137, 3823, 18, 542, 46, 4137, 12, 2704, 46, 4137, 12, 2284, 10019, 25083, 202, 12328, 46, 4137, 3061, 3219, 3789, 33, 2704, 12328, 46, 4137, 3061, 3219, 12, 3729, 4137, 3823, 18, 588, 46, 4137, 10663, 202, 202, 3729, 4137, 3823, 18, 7236, 3219, 33, 3789, 31, 9506, 202, 2211, 18, 4939, 387, 18, 10062, 12, 3729, 4137, 3823, 1769, 18235, 2211, 18, 4939, 387, 18, 10062, 12, 4660, 3823, 1769, 9506, 202, 19558, 2159, 682, 28657, 19558, 13, 2211, 18, 588, 55, 5286, 764, 1383, 5621, 202, 202, 3198, 1098, 2360, 33, 2159, 682, 18, 1098, 3198, 5621, 202, 202, 19558, 2722, 19914, 33, 2704, 19558, 5621, 9506, 202, 17523, 12, 1098, 2360, 18, 5332, 2134, 10756, 202, 202, 95, 1082, 202, 7113, 1228, 3205, 313, 907, 33, 12443, 7113, 1228, 907, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7113, 1228, 907, 10062, 12, 4137, 6999, 4660, 3823, 13, 202, 95, 202, 202, 3163, 18, 659, 18, 8222, 2932, 7249, 310, 5787, 5521, 4572, 6, 15, 2211, 18, 17994, 10663, 202, 202, 2211, 18, 9446, 5621, 9506, 202, 759, 1684, 6994, 7627, 19056, 20194, 70, 31313, 8707, 1918, 15314, 12328, 46, 4137, 3061, 3219, 18, 202, 202, 4137, 6999, 3729, 4137, 3823, 33, 2704, 4137, 6999, 5621, 202, 202, 3729, 4137, 3823, 18, 16472, 27126, 33, 4660, 3823, 18, 16472, 27126, 31, 202, 202, 1868, 4137, 1488, 2284, 33, 2704, 1868, 4137, 1488, 5621, 202, 202, 3729, 4137, 3823, 18, 542, 4137, 1488, 12, 2284, 1769, 202, 202, 3729, 4137, 3823, 18, 542, 46, 4137, 2 ]
if(clipHistory.getSize() >= 1) clips.setSelectedIndex(0);
public PastePrevious(View view) { super(view,jEdit.getProperty("pasteprev.title"),true); this.view = view; JPanel content = new JPanel(new BorderLayout()); content.setBorder(new EmptyBorder(12,12,12,12)); setContentPane(content); clipHistory = HistoryModel.getModel("clipboard"); clips = new JList(new AbstractListModel() { public int getSize() { return clipHistory.getSize(); } public Object getElementAt(int index) { return clipHistory.getItem(index); } }); clips.setVisibleRowCount(16); clips.addMouseListener(this); clips.addListSelectionListener(this); if(clipHistory.getSize() >= 1) clips.setSelectedIndex(0); insert = new JButton(jEdit.getProperty("pasteprev.insert")); cancel = new JButton(jEdit.getProperty("common.cancel")); JLabel label = new JLabel(jEdit.getProperty("pasteprev.caption")); label.setBorder(new EmptyBorder(0,0,6,0)); content.add(BorderLayout.NORTH,label); JScrollPane scroller = new JScrollPane(clips); Dimension dim = scroller.getPreferredSize(); scroller.setPreferredSize(new Dimension(640,dim.height)); content.add(scroller, BorderLayout.CENTER); JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel,BoxLayout.X_AXIS)); panel.setBorder(new EmptyBorder(12,0,0,0)); panel.add(Box.createGlue()); panel.add(insert); panel.add(Box.createHorizontalStrut(6)); panel.add(cancel); panel.add(Box.createGlue()); content.add(panel, BorderLayout.SOUTH); updateButtons(); getRootPane().setDefaultButton(insert); insert.addActionListener(this); cancel.addActionListener(this); GUIUtilities.requestFocus(this,clips); pack(); setLocationRelativeTo(view); show(); } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/b6be720abd046c21960b747ea91cb922692a74f6/PastePrevious.java/buggy/org/gjt/sp/jedit/gui/PastePrevious.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 453, 14725, 8351, 12, 1767, 1476, 13, 202, 95, 202, 202, 9565, 12, 1945, 16, 78, 4666, 18, 588, 1396, 2932, 84, 689, 881, 9083, 18, 2649, 6, 3631, 3767, 1769, 202, 202, 2211, 18, 1945, 273, 1476, 31, 202, 202, 46, 5537, 913, 273, 394, 24048, 12, 2704, 30814, 10663, 202, 202, 1745, 18, 542, 8107, 12, 2704, 8953, 8107, 12, 2138, 16, 2138, 16, 2138, 16, 2138, 10019, 202, 202, 542, 1350, 8485, 12, 1745, 1769, 202, 202, 14161, 5623, 273, 16058, 1488, 18, 588, 1488, 2932, 14161, 3752, 8863, 202, 202, 4857, 1121, 273, 394, 804, 682, 12, 2704, 4115, 682, 1488, 1435, 288, 1082, 202, 482, 509, 9950, 1435, 1082, 202, 95, 9506, 202, 2463, 6807, 5623, 18, 588, 1225, 5621, 1082, 202, 97, 1082, 202, 482, 1033, 7426, 861, 12, 474, 770, 13, 1082, 202, 95, 9506, 202, 2463, 6807, 5623, 18, 588, 1180, 12, 1615, 1769, 1082, 202, 97, 202, 202, 22938, 202, 202, 4857, 1121, 18, 542, 6207, 26359, 12, 2313, 1769, 202, 202, 4857, 1121, 18, 1289, 9186, 2223, 12, 2211, 1769, 202, 202, 4857, 1121, 18, 1289, 682, 6233, 2223, 12, 2211, 1769, 202, 202, 430, 12, 14161, 5623, 18, 588, 1225, 1435, 1545, 404, 13, 1082, 202, 4857, 1121, 18, 542, 7416, 1016, 12, 20, 1769, 202, 202, 6387, 273, 394, 28804, 12, 78, 4666, 18, 588, 1396, 2932, 84, 689, 881, 9083, 18, 6387, 7923, 1769, 202, 202, 10996, 273, 394, 28804, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 453, 14725, 8351, 12, 1767, 1476, 13, 202, 95, 202, 202, 9565, 12, 1945, 16, 78, 4666, 18, 588, 1396, 2932, 84, 689, 881, 9083, 18, 2649, 6, 3631, 3767, 1769, 202, 202, 2211, 18, 1945, 273, 1476, 31, 202, 202, 46, 5537, 913, 273, 394, 24048, 12, 2704, 30814, 10663, 202, 202, 1745, 18, 542, 8107, 12, 2704, 8953, 8107, 12, 2138, 16, 2138, 16, 2138, 16, 2138, 10019, 202, 202, 542, 1350, 8485, 12, 1745, 1769, 202, 202, 14161, 5623, 273, 16058, 1488, 18, 588, 1488, 2932, 14161, 3752, 8863, 202, 202, 4857, 1121, 273, 394, 804, 682, 12, 2704, 4115, 682, 1488, 1435, 288, 1082, 202, 482, 509, 9950, 1435, 1082, 202, 95, 2 ]
public static boolean replace(View view) { // component that will parent any dialog boxes Component comp = SearchDialog.getSearchDialog(view); if(comp == null) comp = view; JEditTextArea textArea = view.getTextArea(); Buffer buffer = view.getBuffer(); if(!buffer.isEditable()) return false; boolean smartCaseReplace = getSmartCaseReplace(); Selection[] selection = textArea.getSelection(); if(selection.length == 0) { view.getToolkit().beep(); return false; } record(view,"replace(view)",true,false); // a little hack for reverse replace and find int caret = textArea.getCaretPosition(); Selection s = textArea.getSelectionAtOffset(caret); if(s != null) caret = s.getStart(); try { buffer.beginCompoundEdit(); SearchMatcher matcher = getSearchMatcher(); if(matcher == null) return false; initReplace(); int retVal = 0; for(int i = 0; i < selection.length; i++) { s = selection[i]; retVal += replaceInSelection(view,textArea, buffer,matcher,smartCaseReplace,s); } boolean _reverse = !regexp && reverse && fileset instanceof CurrentBufferSet; if(_reverse) { // so that Replace and Find continues from // the right location textArea.moveCaretPosition(caret); } else { s = textArea.getSelectionAtOffset( textArea.getCaretPosition()); if(s != null) textArea.moveCaretPosition(s.getEnd()); } if(!BeanShell.isScriptRunning()) { Object[] args = { new Integer(retVal), new Integer(1) }; view.getStatus().setMessageAndClear(jEdit.getProperty( "view.status.replace-all",args)); } if(retVal == 0) { view.getToolkit().beep(); return false; } return true; } catch(Exception e) { handleError(comp,e); } finally { buffer.endCompoundEdit(); } return false; } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/893ab85e79bd482df41bd47d26fa4a46d0d6521b/SearchAndReplace.java/clean/org/gjt/sp/jedit/search/SearchAndReplace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 1453, 12, 1767, 1476, 13, 202, 95, 202, 202, 759, 1794, 716, 903, 982, 1281, 6176, 14356, 202, 202, 1841, 1161, 273, 5167, 6353, 18, 588, 2979, 6353, 12, 1945, 1769, 202, 202, 430, 12, 2919, 422, 446, 13, 1082, 202, 2919, 273, 1476, 31, 202, 202, 46, 4666, 1528, 5484, 977, 5484, 273, 1476, 18, 588, 1528, 5484, 5621, 202, 202, 1892, 1613, 273, 1476, 18, 588, 1892, 5621, 202, 202, 430, 12, 5, 4106, 18, 291, 15470, 10756, 1082, 202, 2463, 629, 31, 202, 202, 6494, 13706, 2449, 5729, 273, 1322, 81, 485, 2449, 5729, 5621, 202, 202, 6233, 8526, 4421, 273, 977, 5484, 18, 588, 6233, 5621, 202, 202, 430, 12, 10705, 18, 2469, 422, 374, 13, 202, 202, 95, 1082, 202, 1945, 18, 588, 6364, 8691, 7675, 2196, 881, 5621, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 3366, 12, 1945, 10837, 2079, 12, 1945, 2225, 16, 3767, 16, 5743, 1769, 202, 202, 759, 279, 12720, 11769, 364, 4219, 1453, 471, 1104, 202, 202, 474, 21683, 273, 977, 5484, 18, 588, 39, 20731, 2555, 5621, 202, 202, 6233, 272, 273, 977, 5484, 18, 588, 6233, 861, 2335, 12, 71, 20731, 1769, 202, 202, 430, 12, 87, 480, 446, 13, 1082, 202, 71, 20731, 273, 272, 18, 588, 1685, 5621, 202, 202, 698, 202, 202, 95, 1082, 202, 4106, 18, 10086, 16835, 4666, 5621, 1082, 202, 2979, 6286, 4546, 273, 15627, 6286, 5621, 1082, 202, 430, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 1453, 12, 1767, 1476, 13, 202, 95, 202, 202, 759, 1794, 716, 903, 982, 1281, 6176, 14356, 202, 202, 1841, 1161, 273, 5167, 6353, 18, 588, 2979, 6353, 12, 1945, 1769, 202, 202, 430, 12, 2919, 422, 446, 13, 1082, 202, 2919, 273, 1476, 31, 202, 202, 46, 4666, 1528, 5484, 977, 5484, 273, 1476, 18, 588, 1528, 5484, 5621, 202, 202, 1892, 1613, 273, 1476, 18, 588, 1892, 5621, 202, 202, 430, 12, 5, 4106, 18, 291, 15470, 10756, 1082, 202, 2463, 629, 31, 202, 202, 6494, 13706, 2449, 5729, 273, 1322, 81, 485, 2449, 5729, 5621, 202, 202, 6233, 8526, 4421, 273, 977, 5484, 18, 588, 6233, 5621, 202, 202, 430, 12, 2 ]
_loop482:
_loop485:
protected final void mDOUBLE_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = DOUBLE_LITERAL; int _saveIndex; if (!( !(inElementContent || inAttributeContent) )) throw new SemanticException(" !(inElementContent || inAttributeContent) "); { if ((LA(1)=='.')) { { match('.'); mDIGITS(false); } } else if ((_tokenSet_3.member(LA(1)))) { { mDIGITS(false); { switch ( LA(1)) { case '.': { match('.'); { _loop482: do { if ((_tokenSet_3.member(LA(1)))) { mDIGIT(false); } else { break _loop482; } } while (true); } break; } case 'E': case 'e': { break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } { switch ( LA(1)) { case '+': { match('+'); break; } case '-': { match('-'); break; } default: if ((_tokenSet_3.member(LA(1)))) { } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } mDIGITS(false); if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ddc6ab496ae303f007a96cb80352f3352974cbcf/XQueryLexer.java/clean/src/org/exist/xquery/parser/XQueryLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 312, 17088, 67, 23225, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 14918, 67, 23225, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 430, 16051, 12, 401, 12, 267, 1046, 1350, 747, 316, 1499, 1350, 13, 8623, 1082, 225, 604, 394, 24747, 503, 2932, 401, 12, 267, 1046, 1350, 747, 316, 1499, 1350, 13, 315, 1769, 202, 202, 95, 202, 202, 430, 14015, 2534, 12, 21, 13, 18920, 1093, 3719, 288, 1082, 202, 95, 1082, 202, 1916, 2668, 1093, 1769, 1082, 202, 81, 21243, 10158, 12, 5743, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 14015, 67, 2316, 694, 67, 23, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 1082, 202, 95, 1082, 202, 81, 21243, 10158, 12, 5743, 1769, 1082, 202, 95, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 2611, 30, 1082, 202, 95, 9506, 202, 1916, 2668, 1093, 1769, 9506, 202, 95, 9506, 202, 67, 6498, 8875, 22, 30, 9506, 202, 2896, 288, 6862, 202, 430, 14015, 67, 2316, 694, 67, 23, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 25083, 202, 81, 21243, 1285, 12, 5743, 1769, 6862, 202, 97, 6862, 202, 12107, 288, 25083, 202, 8820, 389, 6498, 8875, 22, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 312, 17088, 67, 23225, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 14918, 67, 23225, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 430, 16051, 12, 401, 12, 267, 1046, 1350, 747, 316, 1499, 1350, 13, 8623, 1082, 225, 604, 394, 24747, 503, 2932, 401, 12, 267, 1046, 1350, 747, 316, 1499, 1350, 13, 315, 1769, 202, 202, 95, 202, 202, 430, 14015, 2534, 12, 21, 13, 18920, 1093, 3719, 288, 1082, 202, 95, 1082, 202, 2 ]
Converter converter = null;
public Object convertInbound(Class paramType, InboundVariable iv, InboundContext inctx, TypeHintContext incc) throws MarshallException { Object converted = inctx.getConverted(iv, paramType); if (converted == null) { // // MIKE // // [This is maybe the worst hack of all my updates, as I had a hard // time finding a good place for this code] Converter converter = null; // Was the inbound variable marshalled as an Object in the client // (could mean that this is an instance of one of our generated // JavaScript classes) if (iv.getType().startsWith("Object_")) { // Extract the JavaScript classname from the inbound type String javascriptClassName = iv.getType().substring("Object_".length()); // Locate a converter for this JavaScript classname Iterator it = converters.entrySet().iterator(); while (it.hasNext()) { Map.Entry entry = (Map.Entry) it.next(); String match = (String) entry.getKey(); Converter conv = (Converter) entry.getValue(); // JavaScript mapping is only applicable for compound converters if ( conv instanceof BasicObjectConverter ) { BasicObjectConverter boConv = (BasicObjectConverter) conv; if (boConv.getJavascript()!=null && boConv.getJavascript().equals(javascriptClassName)) { // We found a potential converter! But is the // converter's Java class compatible with the // parameter type? try { Class inboundClass = LocalUtil.classForName(match); if (paramType.isAssignableFrom(inboundClass)) { // And the winner is: converter = boConv; // Hack: We also want to make sure that the // converter creates its object based on the // inbound class instead of the parameter // type, and we have to use the other ref // for this: boConv.setInstanceType(inboundClass); break; } } catch(ClassNotFoundException ex) { throw new MarshallException(ex); } } } } } // Fall back to the standard way of locating a converter if we // didn't find anything above if ( converter == null ) converter = getConverter(paramType); // // MIKE // if (converter == null) { throw new MarshallException(Messages.getString("DefaultConverterManager.MissingConverter", paramType.getName())); } // We only think about doing a null conversion ourselves once we are // sure that there is a converter available. This prevents hackers // from passing null to things they are not allowed to convert if (iv.isNull()) { return null; } // TODO: push the push/pop inside the converters? inctx.pushContext(incc); converted = converter.convertInbound(paramType, iv, inctx); inctx.popContext(); } return converted; }
45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/5efc169beae24f474436a61d68b97ee4ace3b2d1/DefaultConverterManager.java/buggy/java/org/directwebremoting/dwrp/DefaultConverterManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1765, 20571, 12, 797, 20781, 16, 657, 3653, 3092, 4674, 16, 657, 3653, 1042, 316, 5900, 16, 1412, 7002, 1042, 316, 952, 13, 1216, 26026, 503, 565, 288, 3639, 1033, 5970, 273, 316, 5900, 18, 588, 22063, 12, 427, 16, 20781, 1769, 3639, 309, 261, 6283, 329, 422, 446, 13, 3639, 288, 5411, 368, 5411, 368, 20806, 6859, 5411, 368, 5411, 368, 306, 2503, 353, 6944, 326, 22952, 11769, 434, 777, 3399, 4533, 16, 487, 467, 9323, 279, 7877, 5411, 368, 813, 13727, 279, 7494, 3166, 364, 333, 981, 65, 4766, 6647, 368, 28938, 326, 13357, 2190, 10893, 1259, 487, 392, 1033, 316, 326, 1004, 2398, 368, 261, 15195, 3722, 716, 333, 353, 392, 791, 434, 1245, 434, 3134, 4374, 5411, 368, 11905, 3318, 13, 5411, 309, 261, 427, 18, 588, 559, 7675, 17514, 1190, 2932, 921, 9548, 3719, 5411, 288, 7734, 368, 8152, 326, 11905, 7479, 628, 326, 13357, 618, 7734, 514, 11341, 3834, 273, 4674, 18, 588, 559, 7675, 28023, 2932, 921, 9548, 18, 2469, 10663, 27573, 368, 2851, 340, 279, 6027, 364, 333, 11905, 7479, 7734, 4498, 518, 273, 19414, 18, 4099, 694, 7675, 9838, 5621, 7734, 1323, 261, 305, 18, 5332, 2134, 10756, 7734, 288, 10792, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 518, 18, 4285, 5621, 10792, 514, 845, 273, 261, 780, 13, 1241, 18, 588, 653, 5621, 10792, 14768, 6292, 273, 261, 5072, 13, 1241, 18, 24805, 5621, 4766, 3639, 368, 11905, 2874, 353, 1338, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1765, 20571, 12, 797, 20781, 16, 657, 3653, 3092, 4674, 16, 657, 3653, 1042, 316, 5900, 16, 1412, 7002, 1042, 316, 952, 13, 1216, 26026, 503, 565, 288, 3639, 1033, 5970, 273, 316, 5900, 18, 588, 22063, 12, 427, 16, 20781, 1769, 3639, 309, 261, 6283, 329, 422, 446, 13, 3639, 288, 5411, 368, 5411, 368, 20806, 6859, 5411, 368, 5411, 368, 306, 2503, 353, 6944, 326, 22952, 11769, 434, 777, 3399, 4533, 16, 487, 467, 9323, 279, 7877, 5411, 368, 813, 13727, 279, 7494, 3166, 364, 333, 981, 65, 4766, 6647, 368, 28938, 326, 13357, 2190, 10893, 1259, 487, 392, 1033, 316, 326, 1004, 2398, 368, 261, 15195, 3722, 716, 333, 353, 392, 791, 434, 2 ]
return jjStartNfa_1(1, old0);
return jjStartNfa_1(1, old0, 0L);
private final int jjMoveStringLiteralDfa3_1(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_1(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(2, active0); return 3; } switch(curChar) { case 101: if ((active0 & 0x10000000L) != 0L) return jjStartNfaWithStates_1(3, 28, 25); break; case 115: return jjMoveStringLiteralDfa4_1(active0, 0x20000000L); default : break; } return jjStartNfa_1(2, active0);}
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/8e9e155e88430402b0d51d6b344267b73292ca2c/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 23, 67, 21, 12, 5748, 1592, 20, 16, 1525, 2695, 20, 15329, 282, 309, 261, 12443, 3535, 20, 12058, 1592, 20, 3719, 422, 374, 48, 13, 1377, 327, 10684, 1685, 50, 507, 67, 21, 12, 21, 16, 1592, 20, 16, 374, 48, 1769, 282, 775, 288, 662, 2156, 273, 810, 67, 3256, 18, 896, 2156, 5621, 289, 282, 1044, 12, 6290, 18, 1594, 18, 14106, 425, 13, 288, 1377, 10684, 4947, 28565, 40, 507, 67, 21, 12, 22, 16, 2695, 20, 1769, 1377, 327, 890, 31, 282, 289, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13822, 30, 540, 309, 14015, 3535, 20, 473, 374, 92, 21, 17877, 48, 13, 480, 374, 48, 13, 5411, 327, 10684, 1685, 50, 507, 1190, 7629, 67, 21, 12, 23, 16, 9131, 16, 6969, 1769, 540, 898, 31, 1377, 648, 22821, 30, 540, 327, 10684, 7607, 28565, 40, 507, 24, 67, 21, 12, 3535, 20, 16, 374, 92, 22, 17877, 48, 1769, 1377, 805, 294, 540, 898, 31, 282, 289, 282, 327, 10684, 1685, 50, 507, 67, 21, 12, 22, 16, 2695, 20, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 23, 67, 21, 12, 5748, 1592, 20, 16, 1525, 2695, 20, 15329, 282, 309, 261, 12443, 3535, 20, 12058, 1592, 20, 3719, 422, 374, 48, 13, 1377, 327, 10684, 1685, 50, 507, 67, 21, 12, 21, 16, 1592, 20, 16, 374, 48, 1769, 282, 775, 288, 662, 2156, 273, 810, 67, 3256, 18, 896, 2156, 5621, 289, 282, 1044, 12, 6290, 18, 1594, 18, 14106, 425, 13, 288, 1377, 10684, 4947, 28565, 40, 507, 67, 21, 12, 22, 16, 2695, 20, 1769, 1377, 327, 890, 31, 282, 289, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13822, 30, 540, 309, 14015, 3535, 20, 473, 374, 92, 21, 17877, 48, 2 ]
if(m_fromDb) update(db); else insert(db);
Connection db = null; try { db = DatabaseConnectionFactory.getInstance().getConnection(); store(db); if(db.getAutoCommit() == false) db.commit(); } finally { try { if(db != null) db.close(); } catch(SQLException e) { ThreadCategory.getInstance(getClass()).warn("Exception closing JDBC connection", e); } }
void store(Connection db) throws SQLException { Category log = ThreadCategory.getInstance(getClass()); log.debug("DbNodeEntry: changed map = 0x" + Integer.toHexString(m_changed)); if(m_changed != 0 || m_fromDb == false) { if(m_fromDb) update(db); else insert(db); } }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/b3612967cb053036bdb295ee74cb2e369c6ca18d/DbNodeEntry.java/buggy/src/services/org/opennms/netmgt/capsd/DbNodeEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1707, 12, 1952, 1319, 13, 202, 202, 15069, 6483, 202, 95, 202, 202, 4457, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 202, 202, 1330, 18, 4148, 2932, 4331, 907, 1622, 30, 3550, 852, 273, 374, 92, 6, 397, 2144, 18, 869, 14866, 12, 81, 67, 6703, 10019, 202, 202, 430, 12, 81, 67, 6703, 480, 374, 747, 312, 67, 2080, 4331, 422, 629, 13, 202, 202, 95, 1082, 202, 430, 12, 81, 67, 2080, 4331, 13, 9506, 202, 2725, 12, 1966, 1769, 1082, 202, 12107, 9506, 202, 6387, 12, 1966, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 202, 202, 1330, 18, 4148, 2932, 4331, 907, 1622, 30, 3550, 852, 273, 374, 92, 6, 397, 2144, 18, 869, 14866, 12, 81, 67, 6703, 10019, 202, 202, 430, 12, 81, 67, 6703, 480, 374, 747, 312, 67, 2080, 4331, 422, 629, 13, 202, 202, 95, 1082, 202, 430, 12, 81, 67, 2080, 4331, 13, 9506, 202, 2725, 12, 1966, 1769, 1082, 202, 12107, 9506, 202, 6387, 12, 1966, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
caches.add(cache);
public void addCacheForURI(MenuCacheEntry cache) { if (cache == null || cache.getUri()==null) return; String cacheId = getIdFromURI(cache.getUri()); List caches = (List) uriToManager.get(cacheId); // we always return a list if (caches == null) { caches = new ArrayList(); uriToManager.put(cacheId, caches); } cache.generateSubCaches(); caches.add(cache); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1b754452816c29ba7aee5f28f9b16d050c0ddafe/WorkbenchMenuService.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 1649, 1290, 3098, 12, 4599, 27630, 1247, 13, 288, 202, 202, 430, 261, 2493, 422, 446, 747, 1247, 18, 588, 3006, 1435, 631, 2011, 13, 1082, 202, 2463, 31, 202, 202, 780, 21367, 273, 2634, 1265, 3098, 12, 2493, 18, 588, 3006, 10663, 202, 202, 682, 12535, 273, 261, 682, 13, 2003, 774, 1318, 18, 588, 12, 2493, 548, 1769, 202, 202, 759, 732, 3712, 327, 279, 666, 202, 202, 430, 261, 17703, 281, 422, 446, 13, 288, 1082, 202, 17703, 281, 273, 394, 2407, 5621, 1082, 202, 1650, 774, 1318, 18, 458, 12, 2493, 548, 16, 12535, 1769, 202, 202, 97, 202, 202, 2493, 18, 7163, 1676, 18755, 5621, 202, 202,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 1649, 1290, 3098, 12, 4599, 27630, 1247, 13, 288, 202, 202, 430, 261, 2493, 422, 446, 747, 1247, 18, 588, 3006, 1435, 631, 2011, 13, 1082, 202, 2463, 31, 202, 202, 780, 21367, 273, 2634, 1265, 3098, 12, 2493, 18, 588, 3006, 10663, 202, 202, 682, 12535, 273, 261, 682, 13, 2003, 774, 1318, 18, 588, 12, 2493, 548, 1769, 202, 202, 759, 732, 3712, 327, 279, 666, 202, 202, 430, 261, 17703, 281, 422, 446, 13, 288, 1082, 202, 17703, 281, 273, 394, 2407, 5621, 1082, 202, 1650, 774, 1318, 18, 458, 12, 2493, 548, 16, 12535, 1769, 202, 202, 97, 202, 202, 2493, 18, 7163, 1676, 18755, 5621, 202, 202, 17703, 281, 2 ]
match(input,16,FOLLOW_16_in_package_statement178);
match(input,15,FOLLOW_15_in_package_statement188);
public String package_statement() throws RecognitionException { String packageName; String name = null; packageName = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:119:17: ( 'package' opt_eol name= dotted_name ( ';' )? opt_eol ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:119:17: 'package' opt_eol name= dotted_name ( ';' )? opt_eol { match(input,15,FOLLOW_15_in_package_statement170); following.push(FOLLOW_opt_eol_in_package_statement172); opt_eol(); following.pop(); following.push(FOLLOW_dotted_name_in_package_statement176); name=dotted_name(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:119:52: ( ';' )? int alt8=2; int LA8_0 = input.LA(1); if ( LA8_0==16 ) { alt8=1; } else if ( LA8_0==-1||LA8_0==EOL||(LA8_0>=17 && LA8_0<=20)||LA8_0==26||LA8_0==28 ) { alt8=2; } else { NoViableAltException nvae = new NoViableAltException("119:52: ( \';\' )?", 8, 0, input); throw nvae; } switch (alt8) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:119:52: ';' { match(input,16,FOLLOW_16_in_package_statement178); } break; } following.push(FOLLOW_opt_eol_in_package_statement181); opt_eol(); following.pop(); packageName = name; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return packageName; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/9c6423b7a31fdc4a1317e71a6d2850c94e2140e0/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2181, 67, 11516, 1435, 1216, 9539, 288, 6647, 514, 9929, 31, 3639, 514, 508, 273, 446, 31, 1171, 202, 202, 5610, 461, 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, 23635, 30, 4033, 30, 261, 296, 5610, 11, 2153, 67, 30951, 508, 33, 20965, 67, 529, 261, 7554, 7851, 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, 23635, 30, 4033, 30, 296, 5610, 11, 2153, 67, 30951, 508, 33, 20965, 67, 529, 261, 7554, 7851, 2153, 67, 30951, 5411, 288, 5411, 845, 12, 2630, 16, 3600, 16, 29890, 67, 3600, 67, 267, 67, 5610, 67, 11516, 31779, 1769, 2398, 3751, 18, 6206, 12, 29890, 67, 3838, 67, 30951, 67, 267, 67, 5610, 67, 11516, 28406, 1769, 5411, 2153, 67, 30951, 5621, 5411, 3751, 18, 5120, 5621, 5411, 3751, 18, 6206, 12, 29890, 67, 9811, 2344, 67, 529, 67, 267, 67, 5610, 67, 11516, 28493, 1769, 5411, 508, 33, 9811, 2344, 67, 529, 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, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2181, 67, 11516, 1435, 1216, 9539, 288, 6647, 514, 9929, 31, 3639, 514, 508, 273, 446, 31, 1171, 202, 202, 5610, 461, 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, 23635, 30, 4033, 30, 261, 296, 5610, 11, 2153, 67, 30951, 508, 33, 20965, 67, 529, 261, 7554, 7851, 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, 2 ]
hierarchy.addToFrom(sqlQuery); SqlQuery outerQuery = newQuery( "while generating query to count members in level " + level); outerQuery.addSelect("count(*)"); outerQuery.addFromQuery(sqlQuery.toString(), "foo"); return outerQuery.toString();
String makeLevelMemberCountSql(RolapLevel level) { SqlQuery sqlQuery = newQuery( "while generating query to count members in level " + level); int levelDepth = level.getDepth(); RolapLevel[] levels = (RolapLevel[]) hierarchy.getLevels(); if (levelDepth == levels.length) { // "select count(*) from schema.customer" sqlQuery.addSelect("count(*)"); hierarchy.addToFrom(sqlQuery); return sqlQuery.toString(); } sqlQuery.setDistinct(true); for (int i = levelDepth; i >= 0; i--) { RolapLevel level2 = levels[i]; if (level2.isAll()) { continue; } sqlQuery.addSelect(sqlQuery.quoteIdentifier(level2.column)); if (level2.unique) { break; // no further qualification needed } } hierarchy.addToFrom(sqlQuery); // note: Postgres requires the alias 'as foo' // return "select count(*) from (" + sqlQuery.toString() + ") as foo"; SqlQuery outerQuery = newQuery( "while generating query to count members in level " + level); outerQuery.addSelect("count(*)"); outerQuery.addFromQuery(sqlQuery.toString(), "foo"); return outerQuery.toString(); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/4db8d3ddd0ee0bd25be68e4e4eb15686810bde26/SqlMemberSource.java/buggy/src/main/mondrian/rolap/SqlMemberSource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 780, 1221, 2355, 4419, 1380, 5101, 12, 4984, 438, 2355, 1801, 13, 202, 95, 202, 202, 5101, 1138, 24451, 273, 22955, 12, 1082, 202, 6, 17523, 12516, 843, 358, 1056, 4833, 316, 1801, 315, 397, 1801, 1769, 202, 202, 474, 1801, 6148, 273, 1801, 18, 588, 6148, 5621, 21114, 202, 4984, 438, 2355, 8526, 7575, 273, 261, 4984, 438, 2355, 63, 5717, 9360, 18, 588, 12240, 5621, 202, 202, 430, 261, 2815, 6148, 422, 7575, 18, 2469, 13, 288, 1082, 202, 759, 315, 4025, 1056, 24099, 628, 1963, 18, 10061, 6, 1082, 202, 4669, 1138, 18, 1289, 3391, 2932, 1883, 30857, 2225, 1769, 1082, 202, 17937, 18, 1289, 774, 1265, 12, 4669, 1138, 1769, 1082, 202, 2463, 24451, 18, 10492, 5621, 202, 202, 97, 202, 202, 4669, 1138, 18, 542, 23402, 12, 3767, 1769, 21114, 202, 1884, 261, 474, 277, 273, 1801, 6148, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 26924, 202, 4984, 438, 2355, 1801, 22, 273, 7575, 63, 77, 15533, 26924, 202, 430, 261, 2815, 22, 18, 291, 1595, 10756, 288, 282, 9506, 202, 17143, 31, 26924, 202, 97, 1082, 202, 4669, 1138, 18, 1289, 3391, 12, 4669, 1138, 18, 6889, 3004, 12, 2815, 22, 18, 2827, 10019, 1082, 202, 430, 261, 2815, 22, 18, 6270, 13, 288, 9506, 202, 8820, 31, 368, 1158, 9271, 4544, 1480, 3577, 1082, 202, 97, 202, 202, 97, 202, 202, 17937, 18, 1289, 774, 1265, 12, 4669, 1138, 1769, 202, 202, 759, 4721, 30, 5616, 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, 780, 1221, 2355, 4419, 1380, 5101, 12, 4984, 438, 2355, 1801, 13, 202, 95, 202, 202, 5101, 1138, 24451, 273, 22955, 12, 1082, 202, 6, 17523, 12516, 843, 358, 1056, 4833, 316, 1801, 315, 397, 1801, 1769, 202, 202, 474, 1801, 6148, 273, 1801, 18, 588, 6148, 5621, 21114, 202, 4984, 438, 2355, 8526, 7575, 273, 261, 4984, 438, 2355, 63, 5717, 9360, 18, 588, 12240, 5621, 202, 202, 430, 261, 2815, 6148, 422, 7575, 18, 2469, 13, 288, 1082, 202, 759, 315, 4025, 1056, 24099, 628, 1963, 18, 10061, 6, 1082, 202, 4669, 1138, 18, 1289, 3391, 2932, 1883, 30857, 2225, 1769, 1082, 202, 17937, 18, 1289, 774, 1265, 12, 4669, 1138, 1769, 1082, 202, 2463, 2 ]
removePage(2);
if (getPageCount()>0) { removePage(getPageCount()-1); }
public void removeLastPage() { removePage(2); lastPage = null; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/6e52717d6bf9676c17a5970d994de9c3af1a48bc/MultiVariablePageEditor.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/multipageeditor/MultiVariablePageEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 3024, 1964, 1435, 288, 202, 202, 4479, 1964, 12, 22, 1769, 202, 202, 2722, 1964, 273, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 273, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try { FileOutputStream out = new FileOutputStream("tn5250jsettings.cfg"); settings.store(out,"----------------- tn5250j Global Settings --------------"); } catch (FileNotFoundException fnfe) {} catch (IOException ioe) {}
try { FileOutputStream out = new FileOutputStream(settingsFile); settings.store(out,"----------------- tn5250j Global Settings --------------"); } catch (FileNotFoundException fnfe) {} catch (IOException ioe) {}
public void saveSettings() { try { FileOutputStream out = new FileOutputStream("tn5250jsettings.cfg"); settings.store(out,"----------------- tn5250j Global Settings --------------"); } catch (FileNotFoundException fnfe) {} catch (IOException ioe) {} }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1923, 2628, 1435, 288, 202, 202, 698, 288, 1082, 202, 812, 4632, 596, 273, 394, 12942, 2932, 5088, 25, 26520, 78, 4272, 18, 7066, 8863, 1082, 202, 4272, 18, 2233, 12, 659, 10837, 1271, 17, 16002, 25, 26520, 78, 8510, 8709, 300, 16982, 8863, 202, 202, 97, 202, 202, 14683, 261, 812, 3990, 2295, 3030, 13, 2618, 202, 202, 14683, 261, 14106, 10847, 13, 2618, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1923, 2628, 1435, 288, 202, 202, 698, 288, 1082, 202, 812, 4632, 596, 273, 394, 12942, 2932, 5088, 25, 26520, 78, 4272, 18, 7066, 8863, 1082, 202, 4272, 18, 2233, 12, 659, 10837, 1271, 17, 16002, 25, 26520, 78, 8510, 8709, 300, 16982, 8863, 202, 202, 97, 202, 202, 14683, 261, 812, 3990, 2295, 3030, 13, 2618, 202, 202, 14683, 261, 14106, 10847, 13, 2618, 282, 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 ]
filename = addIndexInfo(index, path);
filename = addIndexInfo(index, path, id);
private void convertFile(Factory cldrFactory, String id, String outputDirectory, PrintWriter index) throws IOException { PrintWriter output = null; String filename = null; CLDRFile cldrFile = cldrFactory.make(id, false); boolean first = true; for (Iterator it = cldrFile.iterator("", CLDRFile.ldmlComparator); it.hasNext();) { String path = (String) it.next(); String value = cldrFile.getStringValue(path); if (first) { filename = addIndexInfo(index, path); if (filename == null) return; // not a transform file! output = BagFormatter.openUTF8Writer(outputDirectory, filename); doRuleHeader(output); output.println("# File: " + id + ".txt"); output.println("# Generated from CLDR: " + new Date()); output.println("#"); first = false; } if (path.indexOf("/comment") >= 0) { if (!skipComments) output.println(value); } else if (path.indexOf("/tRule") >= 0) { if(skipComments){ value = value.replaceFirst(";\\s+#.*",";"); } output.println(value); } else { throw new IllegalArgumentException("Unknown element: " + path + "\t " + value); } } output.close(); }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/45728685993bdfc34948b5a152b4574ca988ce30/ConvertTransforms.java/buggy/tools/java/org/unicode/cldr/icu/ConvertTransforms.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1765, 812, 12, 1733, 927, 3069, 1733, 16, 514, 612, 16, 514, 29373, 16, 14071, 770, 13, 1216, 1860, 288, 202, 202, 5108, 2289, 876, 273, 446, 31, 202, 202, 780, 1544, 273, 446, 31, 202, 202, 5017, 6331, 812, 927, 3069, 812, 273, 927, 3069, 1733, 18, 6540, 12, 350, 16, 629, 1769, 202, 202, 6494, 1122, 273, 638, 31, 202, 202, 1884, 261, 3198, 518, 273, 927, 3069, 812, 18, 9838, 2932, 3113, 14934, 6331, 812, 18, 1236, 781, 5559, 1769, 518, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 780, 589, 273, 261, 780, 13, 518, 18, 4285, 5621, 1082, 202, 780, 460, 273, 927, 3069, 812, 18, 588, 19733, 12, 803, 1769, 1082, 202, 430, 261, 3645, 13, 288, 9506, 202, 3459, 273, 26794, 966, 12, 1615, 16, 589, 1769, 9506, 202, 430, 261, 3459, 422, 446, 13, 327, 31, 368, 486, 279, 2510, 585, 5, 9506, 202, 2844, 273, 31711, 5074, 18, 3190, 5159, 28, 2289, 12, 2844, 2853, 16, 1544, 1769, 9506, 202, 2896, 2175, 1864, 12, 2844, 1769, 9506, 202, 2844, 18, 8222, 2932, 7, 1387, 30, 315, 397, 612, 397, 3552, 5830, 8863, 9506, 202, 2844, 18, 8222, 2932, 7, 11025, 628, 14934, 6331, 30, 315, 397, 394, 2167, 10663, 9506, 202, 2844, 18, 8222, 2932, 7, 8863, 9506, 202, 3645, 273, 629, 31, 1082, 202, 97, 1082, 202, 430, 261, 803, 18, 31806, 2932, 19, 3469, 7923, 1545, 374, 13, 288, 9506, 202, 430, 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, 1765, 812, 12, 1733, 927, 3069, 1733, 16, 514, 612, 16, 514, 29373, 16, 14071, 770, 13, 1216, 1860, 288, 202, 202, 5108, 2289, 876, 273, 446, 31, 202, 202, 780, 1544, 273, 446, 31, 202, 202, 5017, 6331, 812, 927, 3069, 812, 273, 927, 3069, 1733, 18, 6540, 12, 350, 16, 629, 1769, 202, 202, 6494, 1122, 273, 638, 31, 202, 202, 1884, 261, 3198, 518, 273, 927, 3069, 812, 18, 9838, 2932, 3113, 14934, 6331, 812, 18, 1236, 781, 5559, 1769, 518, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 780, 589, 273, 261, 780, 13, 518, 18, 4285, 5621, 1082, 202, 780, 460, 273, 927, 3069, 812, 18, 588, 19733, 12, 803, 2 ]
iVisited.accept(_Payload);
_Payload.visitBreakNode(iVisited);
public void visitBreakNode(BreakNode iVisited) { iVisited.accept(_Payload); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 7634, 907, 12, 7634, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 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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019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
rule = new SwitchDensityRule(); rule.addProperty("minimum", "4"); }
rule = findRule("design", "SwitchDensity"); rule.addProperty("minimum", "4"); }
public void setUp() { rule = new SwitchDensityRule(); rule.addProperty("minimum", "4"); }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/4e45de9075eeb015245ff09f8f8c58cf0f98bbf3/SwitchDensityTest.java/clean/pmd/regress/test/net/sourceforge/pmd/rules/design/SwitchDensityTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24292, 1435, 288, 3639, 1720, 273, 394, 13967, 23309, 2175, 5621, 3639, 1720, 18, 1289, 1396, 2932, 15903, 3113, 315, 24, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24292, 1435, 288, 3639, 1720, 273, 394, 13967, 23309, 2175, 5621, 3639, 1720, 18, 1289, 1396, 2932, 15903, 3113, 315, 24, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
patternType, captureWildcard, constrType);
patternType, constrType);
private Pair<PsiType, ConstraintType> getSubstitutionForTypeParameterInner(PsiType param, PsiType arg, PsiType patternType, boolean captureWildcard, final ConstraintType constraintType) { if (arg instanceof PsiCapturedWildcardType) arg = ((PsiCapturedWildcardType)arg).getWildcard(); //reopen if (patternType.equals(param)) { return processArgType(arg, captureWildcard, constraintType); } if (param instanceof PsiWildcardType) { final PsiWildcardType wildcardParam = (PsiWildcardType)param; final PsiType paramBound = wildcardParam.getBound(); if (paramBound == null) return null; ConstraintType constrType = wildcardParam.isExtends() ? ConstraintType.SUPERTYPE : ConstraintType.SUBTYPE; if (arg instanceof PsiWildcardType) { if (((PsiWildcardType)arg).isExtends() == wildcardParam.isExtends()) { Pair<PsiType, ConstraintType> res = getSubstitutionForTypeParameterInner(paramBound, ((PsiWildcardType)arg).getBound(), patternType, captureWildcard, constrType); if (res != null) return res; } } else if (patternType.equals(paramBound)) { Pair<PsiType, ConstraintType> res = getSubstitutionForTypeParameterInner(paramBound, arg, patternType, captureWildcard, constrType); if (res != null) return res; } else if (paramBound instanceof PsiClassType && arg instanceof PsiClassType) { final PsiClassType.ClassResolveResult boundResult = ((PsiClassType)paramBound).resolveGenerics(); final PsiClass boundClass = boundResult.getElement(); if (boundClass != null) { final PsiClassType.ClassResolveResult argResult = ((PsiClassType)arg).resolveGenerics(); final PsiClass argClass = argResult.getElement(); if (argClass != null) { if (wildcardParam.isExtends()) { PsiSubstitutor superSubstitutor = TypeConversionUtil.getClassSubstitutor(boundClass, argClass, argResult.getSubstitutor()); if (superSubstitutor != null) { final Iterator<PsiTypeParameter> iterator = PsiUtil.typeParametersIterator(boundClass); while (iterator.hasNext()) { final PsiTypeParameter typeParameter = iterator.next(); PsiType substituted = superSubstitutor.substitute(typeParameter); if (substituted != null) { final Pair<PsiType, ConstraintType> res; res = getSubstitutionForTypeParameterInner(boundResult.getSubstitutor().substitute(typeParameter), substituted, patternType, captureWildcard, ConstraintType.EQUALS); if (res != null) return res; } } } } else { PsiSubstitutor superSubstitutor = TypeConversionUtil.getClassSubstitutor(argClass, boundClass, boundResult.getSubstitutor()); if (superSubstitutor != null) { final Iterator<PsiTypeParameter> iterator = PsiUtil.typeParametersIterator(argClass); while (iterator.hasNext()) { final PsiTypeParameter typeParameter = iterator.next(); PsiType substituted = argResult.getSubstitutor().substitute(typeParameter); if (substituted != null) { final Pair<PsiType, ConstraintType> res; res = getSubstitutionForTypeParameterInner(superSubstitutor.substitute(typeParameter), substituted, patternType, captureWildcard, ConstraintType.EQUALS); if (res != null) return res; } } } } } } } } if (param instanceof PsiArrayType && arg instanceof PsiArrayType) { return getSubstitutionForTypeParameterInner(((PsiArrayType)param).getComponentType(), ((PsiArrayType)arg).getComponentType(), patternType, captureWildcard, constraintType); } if (param instanceof PsiClassType && arg instanceof PsiClassType) { PsiClass paramClass = ((PsiClassType)param).resolve(); if (paramClass == null) return null; PsiClass argClass = ((PsiClassType)arg).resolve(); if (argClass != paramClass) return null; PsiType[] paramTypes = ((PsiClassType)param).getParameters(); PsiType[] argTypes = ((PsiClassType)arg).getParameters(); if (paramTypes.length != argTypes.length) return null; Pair<PsiType,ConstraintType> capturedWildcard = null; for (int i = 0; i < argTypes.length; i++) { Pair<PsiType,ConstraintType> res = getSubstitutionForTypeParameterInner(paramTypes[i], argTypes[i], patternType, captureWildcard, ConstraintType.EQUALS); if (res != null) { if (!captureWildcard) { return res; } else { if (capturedWildcard != null) { return null; } else { capturedWildcard = res; } } } } return capturedWildcard; } return null; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/180621cdfe3caed8d9addf56b112ecb9e04ed08a/PsiResolveHelperImpl.java/buggy/source/com/intellij/psi/impl/source/resolve/PsiResolveHelperImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 8599, 32, 52, 7722, 559, 16, 10770, 559, 34, 7040, 14278, 1290, 16920, 2857, 12, 52, 7722, 559, 579, 16, 28524, 2398, 453, 7722, 559, 1501, 16, 28524, 2398, 453, 7722, 559, 1936, 559, 16, 28524, 2398, 1250, 7477, 12121, 16, 28524, 2398, 727, 10770, 559, 4954, 559, 13, 288, 565, 309, 261, 3175, 1276, 453, 7722, 26294, 2862, 12121, 559, 13, 1501, 273, 14015, 52, 7722, 26294, 2862, 12121, 559, 13, 3175, 2934, 588, 12121, 5621, 368, 266, 3190, 565, 309, 261, 4951, 559, 18, 14963, 12, 891, 3719, 288, 1377, 327, 1207, 4117, 559, 12, 3175, 16, 7477, 12121, 16, 4954, 559, 1769, 565, 289, 565, 309, 261, 891, 1276, 453, 7722, 12121, 559, 13, 288, 1377, 727, 453, 7722, 12121, 559, 8531, 786, 273, 261, 52, 7722, 12121, 559, 13, 891, 31, 1377, 727, 453, 7722, 559, 579, 3499, 273, 8531, 786, 18, 588, 3499, 5621, 1377, 309, 261, 891, 3499, 422, 446, 13, 327, 446, 31, 1377, 10770, 559, 14472, 559, 273, 8531, 786, 18, 291, 19581, 1435, 692, 10770, 559, 18, 13272, 654, 2399, 294, 10770, 559, 18, 8362, 2399, 31, 1377, 309, 261, 3175, 1276, 453, 7722, 12121, 559, 13, 288, 3639, 309, 261, 12443, 52, 7722, 12121, 559, 13, 3175, 2934, 291, 19581, 1435, 422, 8531, 786, 18, 291, 19581, 10756, 288, 1850, 8599, 32, 52, 7722, 559, 16, 10770, 559, 34, 400, 273, 7040, 14278, 1290, 16920, 2857, 12, 891, 3499, 16, 14015, 52, 7722, 12121, 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, 282, 3238, 8599, 32, 52, 7722, 559, 16, 10770, 559, 34, 7040, 14278, 1290, 16920, 2857, 12, 52, 7722, 559, 579, 16, 28524, 2398, 453, 7722, 559, 1501, 16, 28524, 2398, 453, 7722, 559, 1936, 559, 16, 28524, 2398, 1250, 7477, 12121, 16, 28524, 2398, 727, 10770, 559, 4954, 559, 13, 288, 565, 309, 261, 3175, 1276, 453, 7722, 26294, 2862, 12121, 559, 13, 1501, 273, 14015, 52, 7722, 26294, 2862, 12121, 559, 13, 3175, 2934, 588, 12121, 5621, 368, 266, 3190, 565, 309, 261, 4951, 559, 18, 14963, 12, 891, 3719, 288, 1377, 327, 1207, 4117, 559, 12, 3175, 16, 7477, 12121, 16, 4954, 559, 1769, 565, 289, 565, 309, 261, 891, 1276, 453, 7722, 12121, 559, 13, 2 ]
public Rectangle getCharacterBounds(int value0) throws NotImplementedException
public Rectangle getCharacterBounds(int i)
public Rectangle getCharacterBounds(int value0) throws NotImplementedException { return null; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8a78b0a127a68dcc6823fee2b8bdb1cbb7ec268d/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13264, 31306, 5694, 12, 474, 460, 20, 13, 1377, 1216, 10051, 503, 565, 288, 1377, 327, 446, 31, 368, 2660, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13264, 31306, 5694, 12, 474, 460, 20, 13, 1377, 1216, 10051, 503, 565, 288, 1377, 327, 446, 31, 368, 2660, 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 ]
public IContextActivationService getContextActivationService() { if (contextActivationService == null) { contextActivationService = new ContextActivationService(); contextActivationService.addContextActivationServiceListener(contextActivationServiceListener); } return contextActivationService; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c982c620ee74d8f88359cf86b9700d8f8f07c71a/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1042, 14857, 1179, 6474, 14857, 1179, 1435, 288, 202, 202, 430, 261, 2472, 14857, 1179, 422, 446, 13, 288, 1082, 202, 2472, 14857, 1179, 273, 394, 1772, 14857, 1179, 5621, 1082, 202, 2472, 14857, 1179, 18, 1289, 1042, 14857, 1179, 2223, 12, 2472, 14857, 1179, 2223, 1769, 202, 202, 97, 9506, 202, 2463, 819, 14857, 1179, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1042, 14857, 1179, 6474, 14857, 1179, 1435, 288, 202, 202, 430, 261, 2472, 14857, 1179, 422, 446, 13, 288, 1082, 202, 2472, 14857, 1179, 273, 394, 1772, 14857, 1179, 5621, 1082, 202, 2472, 14857, 1179, 18, 1289, 1042, 14857, 1179, 2223, 12, 2472, 14857, 1179, 2223, 1769, 202, 202, 97, 9506, 202, 2463, 819, 14857, 1179, 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 ]
public org.quickfix.field.PartyIDSource getPartyIDSource() throws FieldNotFound { org.quickfix.field.PartyIDSource value = new org.quickfix.field.PartyIDSource();
public quickfix.field.PartyIDSource getPartyIDSource() throws FieldNotFound { quickfix.field.PartyIDSource value = new quickfix.field.PartyIDSource();
public org.quickfix.field.PartyIDSource getPartyIDSource() throws FieldNotFound { org.quickfix.field.PartyIDSource value = new org.quickfix.field.PartyIDSource(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReport.java/buggy/src/java/src/quickfix/fix44/TradeCaptureReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 734, 1830, 1689, 7325, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 734, 1830, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 734, 1830, 1689, 7325, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 17619, 734, 1830, 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 ]
public void run() {
public void run() {
public void run() { try { String line; while((line=bin.readLine()) != null) { if(bout != null) { bout.writeUTF(line); //writeChars bout.writeChar('\n'); } } bout.flush(); } catch(IOException io) { } }
51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/e10b40e8014547113799b2653164e8c990d41209/StreamUtil.java/buggy/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 1377, 775, 288, 3639, 514, 980, 31, 3639, 1323, 12443, 1369, 33, 4757, 18, 896, 1670, 10756, 480, 446, 13, 288, 1850, 309, 12, 70, 659, 480, 446, 13, 288, 5411, 31095, 18, 2626, 5159, 12, 1369, 1769, 368, 2626, 7803, 5411, 31095, 18, 2626, 2156, 2668, 64, 82, 8284, 1850, 289, 3639, 289, 3639, 31095, 18, 11330, 5621, 1377, 289, 1044, 12, 14106, 2527, 13, 288, 2868, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 1377, 775, 288, 3639, 514, 980, 31, 3639, 1323, 12443, 1369, 33, 4757, 18, 896, 1670, 10756, 480, 446, 13, 288, 1850, 309, 12, 70, 659, 480, 446, 13, 288, 5411, 31095, 18, 2626, 5159, 12, 1369, 1769, 368, 2626, 7803, 5411, 31095, 18, 2626, 2156, 2668, 64, 82, 8284, 1850, 289, 3639, 289, 3639, 31095, 18, 11330, 5621, 1377, 289, 1044, 12, 14106, 2527, 13, 288, 2868, 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 ]
int count = 3;
public void testgetByte() throws Exception { ResultSet rs = con.createStatement().executeQuery("select * from testnumeric"); boolean thrown = false; assertTrue(rs.next()); assertEquals(1,rs.getByte(1)); assertTrue(rs.next()); assertEquals(0,rs.getByte(1)); assertTrue(rs.next()); assertEquals(-1,rs.getByte(1)); int count = 3; while (rs.next()) { try { rs.getByte(1); } catch (Exception e) { thrown = true; } if (!thrown) fail("Exception expected."); count++; } if (count != 9) fail("Exception expected."); }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/3636d3a282e1e35fec86ca1c3173b2ad7e12a882/ResultSetTest.java/clean/org/postgresql/test/jdbc2/ResultSetTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3639, 1071, 918, 1842, 588, 3216, 1435, 1216, 1185, 4202, 288, 3639, 202, 202, 13198, 3597, 273, 356, 18, 2640, 3406, 7675, 8837, 1138, 2932, 4025, 380, 628, 1842, 5246, 8863, 202, 202, 6494, 6718, 273, 629, 31, 9506, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 11231, 8867, 12, 21, 16, 5453, 18, 588, 3216, 12, 21, 10019, 9506, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 11231, 8867, 12, 20, 16, 5453, 18, 588, 3216, 12, 21, 10019, 9506, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 11231, 8867, 19236, 21, 16, 5453, 18, 588, 3216, 12, 21, 10019, 202, 202, 474, 1056, 273, 890, 31, 9506, 202, 17523, 261, 5453, 18, 4285, 10756, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 5453, 18, 588, 3216, 12, 21, 1769, 1082, 202, 97, 1082, 202, 14683, 261, 503, 425, 13, 1082, 202, 95, 9506, 202,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3639, 1071, 918, 1842, 588, 3216, 1435, 1216, 1185, 4202, 288, 3639, 202, 202, 13198, 3597, 273, 356, 18, 2640, 3406, 7675, 8837, 1138, 2932, 4025, 380, 628, 1842, 5246, 8863, 202, 202, 6494, 6718, 273, 629, 31, 9506, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 11231, 8867, 12, 21, 16, 5453, 18, 588, 3216, 12, 21, 10019, 9506, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 11231, 8867, 12, 20, 16, 5453, 18, 588, 3216, 12, 21, 10019, 9506, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 11231, 8867, 19236, 21, 16, 5453, 18, 588, 3216, 12, 21, 10019, 202, 202, 474, 1056, 273, 890, 31, 9506, 202, 17523, 261, 5453, 2 ]
public RTCNodeSvcTime(long lostt)
public RTCNodeSvcTime()
public RTCNodeSvcTime(long lostt) { m_svcLostTime = lostt; m_svcRegainedTime = -1; }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/b3612967cb053036bdb295ee74cb2e369c6ca18d/RTCNodeSvcTime.java/buggy/src/services/org/opennms/netmgt/rtc/datablock/RTCNodeSvcTime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13060, 39, 907, 17444, 950, 12, 5748, 13557, 88, 13, 202, 95, 202, 202, 81, 67, 30992, 19024, 950, 273, 13557, 88, 31, 202, 202, 81, 67, 30992, 1617, 8707, 950, 273, 300, 21, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13060, 39, 907, 17444, 950, 12, 5748, 13557, 88, 13, 202, 95, 202, 202, 81, 67, 30992, 19024, 950, 273, 13557, 88, 31, 202, 202, 81, 67, 30992, 1617, 8707, 950, 273, 300, 21, 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 ]