rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
else if ( unescaped )
} else if ( unescaped ) {
protected void printText( char[] chars, int start, int length, boolean preserveSpace, boolean unescaped ) throws IOException { int index; char ch; if ( preserveSpace ) { // Preserving spaces: the text must print exactly as it is, // without breaking when spaces appear in the text and without // consolidating spaces. If a line terminator is used, a line // break will occur. while ( length-- > 0 ) { ch = chars[ start ]; ++start; if ( ch == '\n' || ch == '\r' || unescaped ) _printer.printText( ch ); else printEscaped( ch ); } } else { // Not preserving spaces: print one part at a time, and // use spaces between parts to break them into different // lines. Spaces at beginning of line will be stripped // by printing mechanism. Line terminator is treated // no different than other text part. while ( length-- > 0 ) { ch = chars[ start ]; ++start; if ( ch == ' ' || ch == '\f' || ch == '\t' || ch == '\n' || ch == '\r' ) _printer.printSpace(); else if ( unescaped ) _printer.printText( ch ); else printEscaped( ch ); } } }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/cfb3f3097d85124676452a829f95d78eb4d128e5/BaseMarkupSerializer.java/clean/src/org/apache/xml/serialize/BaseMarkupSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1172, 1528, 12, 1149, 8526, 5230, 16, 509, 787, 16, 509, 769, 16, 4766, 565, 1250, 9420, 3819, 16, 1250, 27869, 262, 3639, 1216, 1860, 565, 288, 3639, 509, 770, 31, 3639, 1149, 462, 31, 3639, 309, 261, 9420, 3819, 262, 288, 5411, 368, 18346, 264, 6282, 7292, 30, 326, 977, 1297, 1172, 8950, 487, 518, 353, 16, 5411, 368, 2887, 24412, 1347, 7292, 9788, 316, 326, 977, 471, 2887, 5411, 368, 21785, 1776, 7292, 18, 971, 279, 980, 24965, 353, 1399, 16, 279, 980, 5411, 368, 898, 903, 3334, 18, 5411, 1323, 261, 769, 413, 405, 374, 262, 288, 7734, 462, 273, 5230, 63, 787, 308, 31, 7734, 965, 1937, 31, 7734, 309, 261, 462, 422, 2337, 82, 11, 747, 462, 422, 2337, 86, 11, 747, 27869, 262, 10792, 389, 30439, 18, 1188, 1528, 12, 462, 11272, 7734, 469, 10792, 1172, 17208, 12, 462, 11272, 5411, 289, 3639, 289, 469, 288, 5411, 368, 2288, 27995, 7292, 30, 1172, 1245, 1087, 622, 279, 813, 16, 471, 5411, 368, 999, 7292, 3086, 2140, 358, 898, 2182, 1368, 3775, 5411, 368, 2362, 18, 348, 4996, 622, 8435, 434, 980, 903, 506, 13300, 5411, 368, 635, 19171, 12860, 18, 5377, 24965, 353, 13974, 5411, 368, 1158, 3775, 2353, 1308, 977, 1087, 18, 5411, 1323, 261, 769, 413, 405, 374, 262, 288, 7734, 462, 273, 5230, 63, 787, 308, 31, 7734, 965, 1937, 31, 7734, 309, 261, 462, 422, 296, 296, 747, 462, 422, 2337, 74, 11, 747, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1172, 1528, 12, 1149, 8526, 5230, 16, 509, 787, 16, 509, 769, 16, 4766, 565, 1250, 9420, 3819, 16, 1250, 27869, 262, 3639, 1216, 1860, 565, 288, 3639, 509, 770, 31, 3639, 1149, 462, 31, 3639, 309, 261, 9420, 3819, 262, 288, 5411, 368, 18346, 264, 6282, 7292, 30, 326, 977, 1297, 1172, 8950, 487, 518, 353, 16, 5411, 368, 2887, 24412, 1347, 7292, 9788, 316, 326, 977, 471, 2887, 5411, 368, 21785, 1776, 7292, 18, 971, 279, 980, 24965, 353, 1399, 16, 279, 980, 5411, 368, 898, 903, 3334, 18, 5411, 1323, 261, 769, 413, 405, 374, 262, 288, 7734, 462, 273, 5230, 63, 787, 308, 31, 7734, 965, 1937, 31, 7734, 309, 261, 462, 2 ]
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = new ZipInputStream (new FileInputStream ( Compiler.IZPACK_HOME + "lib" + File.separator + "installer.jar")); } ZipEntry zentry; while ((zentry = skeleton_is.getNextEntry()) != null) { // Puts a new entry out.putNextEntry(new ZipEntry(zentry.getName())); // Copy the data copyStream(skeleton_is, out); out.closeEntry(); skeleton_is.closeEntry(); } }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/Packager.java/clean/src/lib/com/izforge/izpack/compiler/Packager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 28070, 18678, 261, 10813, 4632, 596, 13, 565, 1216, 1185, 225, 288, 565, 5037, 353, 273, 2900, 7675, 588, 1420, 17052, 2932, 19, 2941, 19, 20163, 18, 11930, 8863, 565, 8603, 4348, 17761, 67, 291, 273, 446, 31, 565, 309, 261, 291, 480, 446, 13, 565, 288, 1377, 17761, 67, 291, 273, 394, 8603, 4348, 261, 291, 1769, 565, 289, 565, 309, 261, 7771, 12143, 67, 291, 422, 446, 13, 565, 288, 1377, 17761, 67, 291, 273, 394, 8603, 4348, 261, 2704, 11907, 261, 3639, 12972, 18, 6867, 12231, 67, 14209, 397, 315, 2941, 6, 397, 1387, 18, 11287, 397, 315, 20163, 18, 11930, 7923, 1769, 3639, 289, 3639, 23652, 998, 4099, 31, 6647, 1323, 14015, 94, 4099, 273, 17761, 67, 291, 18, 588, 2134, 1622, 10756, 480, 446, 13, 565, 288, 1377, 368, 4399, 87, 279, 394, 1241, 1377, 596, 18, 458, 2134, 1622, 12, 2704, 23652, 12, 94, 4099, 18, 17994, 1435, 10019, 1377, 368, 5631, 326, 501, 1377, 1610, 1228, 12, 7771, 12143, 67, 291, 16, 596, 1769, 1377, 596, 18, 4412, 1622, 5621, 1377, 17761, 67, 291, 18, 4412, 1622, 5621, 565, 289, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 28070, 18678, 261, 10813, 4632, 596, 13, 565, 1216, 1185, 225, 288, 565, 5037, 353, 273, 2900, 7675, 588, 1420, 17052, 2932, 19, 2941, 19, 20163, 18, 11930, 8863, 565, 8603, 4348, 17761, 67, 291, 273, 446, 31, 565, 309, 261, 291, 480, 446, 13, 565, 288, 1377, 17761, 67, 291, 273, 394, 8603, 4348, 261, 291, 1769, 565, 289, 565, 309, 261, 7771, 12143, 67, 291, 422, 446, 13, 565, 288, 1377, 17761, 67, 291, 273, 394, 8603, 4348, 261, 2704, 11907, 261, 3639, 12972, 18, 6867, 12231, 67, 14209, 397, 315, 2941, 6, 397, 1387, 18, 11287, 397, 315, 20163, 18, 11930, 7923, 1769, 3639, 289, 3639, 23652, 998, 4099, 31, 6647, 1323, 2 ]
int temp = DataTools.bytesToInt(tag, pt, 4, true);
int temp = DataTools.bytesToInt(tag, pt, 2, true);
protected void initMetadata() throws FormatException, IOException { // parse the "header" byte array // right now we're using header data from an image item metadata.put("Legacy?", needLegacy ? "yes" : "no"); if (header == null) return; if (needLegacy) metadata = legacy.getMetadata(currentId); int pt = 14; int numBytes = DataTools.bytesToInt(header, pt, 2, true); pt += 2 + numBytes; pt += 2; metadata.put("ImageWidth", new Integer(DataTools.bytesToInt(header, pt, 4, true))); pt += 6; metadata.put("ImageHeight", new Integer(DataTools.bytesToInt(header, pt, 4, true))); pt += 6; pt += 6; int pixel = DataTools.bytesToInt(header, pt, 4, true); pt += 6; String fmt; switch (pixel) { case 1: fmt = "8-bit RGB Triple (B, G, R)"; break; case 2: fmt = "8-bit RGB Quad (B, G, R, A)"; break; case 3: fmt = "8-bit grayscale"; break; case 4: fmt = "16-bit signed integer"; break; case 5: fmt = "32-bit integer"; break; case 6: fmt = "32-bit IEEE float"; break; case 7: fmt = "64-bit IEEE float"; break; case 8: fmt = "16-bit unsigned RGB Triple (B, G, R)"; break; case 9: fmt = "32-bit RGB Triple (B, G, R)"; break; default: fmt = "unknown"; } metadata.put("PixelFormat", fmt); metadata.put("NumberOfImages", new Integer(getImageCount(currentId))); pt += 6; metadata.put("BitsPerPixel", new Integer(DataTools.bytesToInt(header, pt, 4, true))); pt += 6; switch (pixel) { case 1: typeAsString = "Uint8"; break; case 2: typeAsString = "Uint8"; break; case 3: typeAsString = "Uint8"; break; case 4: typeAsString = "int16"; break; case 5: typeAsString = "Uint32"; break; case 6: typeAsString = "float"; break; case 7: typeAsString = "float"; break; case 8: typeAsString = "Uint16"; break; case 9: typeAsString = "Uint32"; break; default: typeAsString = "Uint8"; } // parse the "tags" byte array if (tags == null || tags.size() == 0) return; for (int k=0; k<tags.size(); k++) { byte[] tag = (byte[]) tags.get(k); pt = 24; int numTags = DataTools.bytesToInt(tag, pt, 4, true); pt += 4; for (int i=0; i<numTags; i++) { // we have duples of {value, ID} form if (pt < 0 || pt >= tag.length) break; // first read the data type int type = DataTools.bytesToInt(tag, pt, 2, true); pt += 2; // read in appropriate amount of data Object data = null; int length; try { switch (type) { case 2: // VT_I2: 16 bit integer data = new Integer(DataTools.bytesToInt(tag, pt, 2, true)); pt += 2; break; case 3: // VT_I4: 32 bit integer data = new Integer(DataTools.bytesToInt(tag, pt, 4, true)); pt += 4; break; case 4: // VT_R4: 32 bit float data = new Float(Float.intBitsToFloat( DataTools.bytesToInt(tag, pt, 4, true))); pt += 4; break; case 5: // VT_R8: 64 bit float data = new Double(Double.longBitsToDouble( DataTools.bytesToLong(tag, pt, 8, true))); pt += 8; break; case 7: // VT_DATE: 64 bit float data = new Double(Double.longBitsToDouble( DataTools.bytesToLong(tag, pt, 8, true))); pt += 8; break; case 8: // VT_BSTR: streamed storage object length = DataTools.bytesToInt(tag, pt, 2, true); pt += 2; data = new String(tag, pt, length); pt += length; break; case 11: // VT_BOOL: 16 bit integer (true if !0) int temp = DataTools.bytesToInt(tag, pt, 4, true); data = new Boolean(temp != 0); pt += 4; break; case 16: // VT_I1: 8 bit integer data = new Integer(DataTools.bytesToInt(tag, pt, 1, true)); pt += 1; break; case 17: // VT_UI1: 8 bit unsigned integer data = new Integer(DataTools.bytesToInt(tag, pt, 1, true)); pt += 1; break; case 18: // VT_UI2: 16 bit unsigned integer data = new Integer(DataTools.bytesToInt(tag, pt, 2, true)); pt += 2; break; case 19: // VT_UI4: 32 bit unsigned integer data = new Integer(DataTools.bytesToInt(tag, pt, 4, true)); pt += 4; break; case 20: // VT_I8: 64 bit integer data = new Integer(DataTools.bytesToInt(tag, pt, 8, true)); pt += 8; break; case 21: // VT_UI8: 64 bit unsigned integer data = new Integer(DataTools.bytesToInt(tag, pt, 8, true)); pt += 8; break; case 65: // VT_BLOB: binary data length = DataTools.bytesToInt(tag, pt, 4, true); pt += 4; try { data = new String(tag, pt, length); } catch (Throwable e) { data = null; } pt += length; break; case 68: // VT_STORED_OBJECT: streamed storage object length = DataTools.bytesToInt(tag, pt, 2, true); pt += 2; data = new String(tag, pt, length); pt += length; break; default: data = null; } } catch (Exception e) { } pt += 2; // skip over ID type // read in tag ID int tagID = DataTools.bytesToInt(tag, pt, 4, true); pt += 4; pt += 6; // skip over attribute and attribute type (unused) // really ugly switch statement to put metadata in hashtable if (data != null) { switch (tagID) { case 222: metadata.put("Compression", data); break; case 258: metadata.put("BlackValue", data);// if (ome != null) {// OMETools.setAttribute(ome,// "Grey Channel", "BlackLevel", "" + data);// } break; case 259: metadata.put("WhiteValue", data);// if (ome != null) {// OMETools.setAttribute(ome,// "Grey Channel", "WhiteLevel", "" + data);// } break; case 260: metadata.put("ImageDataMappingAutoRange", data); break; case 261: metadata.put("Thumbnail", data); break; case 262: metadata.put("GammaValue", data);// if (ome != null) {// OMETools.setAttribute(ome,// "Grey Channel", "GammaLevel", "" + data);// } break; case 264: metadata.put("ImageOverExposure", data); break; case 265: metadata.put("ImageRelativeTime1", data); break; case 266: metadata.put("ImageRelativeTime2", data); break; case 267: metadata.put("ImageRelativeTime3", data); break; case 268: metadata.put("ImageRelativeTime4", data); break; case 515: metadata.put("ImageWidth", data); break; case 516: metadata.put("ImageHeight", data); break; //case 518: metadata.put("PixelType", data); break; case 519: metadata.put("NumberOfRawImages", data); break; case 520: metadata.put("ImageSize", data); break; case 523: metadata.put("Acquisition pause annotation", data); break; case 530: metadata.put("Document Subtype", data); break; case 531: metadata.put("Acquisition Bit Depth", data); break; case 534: metadata.put("Z-Stack single representative", data); break; case 769: metadata.put("Scale Factor for X", data); break; case 770: metadata.put("Scale Unit for X", data); break; case 771: metadata.put("Scale Width", data); break; case 772: metadata.put("Scale Factor for Y", data); break; case 773: metadata.put("Scale Unit for Y", data); break; case 774: metadata.put("Scale Height", data); break; case 775: metadata.put("Scale Factor for Z", data); break; case 776: metadata.put("Scale Unit for Z", data); break; case 777: metadata.put("Scale Depth", data); break; case 778: metadata.put("Scaling Parent", data); break; case 1001: metadata.put("Date", data); break; case 1002: metadata.put("code", data); break; case 1003: metadata.put("Source", data); break; case 1004: metadata.put("Message", data); break; case 1026: metadata.put("8-bit acquisition", data); break; case 1027: metadata.put("Camera Bit Depth", data); break; case 1029: metadata.put("MonoReferenceLow", data); break; case 1030: metadata.put("MonoReferenceHigh", data); break; case 1031: metadata.put("RedReferenceLow", data); break; case 1032: metadata.put("RedReferenceHigh", data); break; case 1033: metadata.put("GreenReferenceLow", data); break; case 1034: metadata.put("GreenReferenceHigh", data); break; case 1035: metadata.put("BlueReferenceLow", data); break; case 1036: metadata.put("BlueReferenceHigh", data); break; case 1041: metadata.put("FrameGrabber Name", data); break; case 1042: metadata.put("Camera", data); break; case 1044: metadata.put("CameraTriggerSignalType", data); break; case 1045: metadata.put("CameraTriggerEnable", data); break; case 1046: metadata.put("GrabberTimeout", data); break; case 1281: metadata.put("MultiChannelEnabled", data); break; case 1282: metadata.put("MultiChannel Color", data); break; case 1283: metadata.put("MultiChannel Weight", data); break; case 1284: metadata.put("Channel Name", data); break; case 1536: metadata.put("DocumentInformationGroup", data); break; case 1537: metadata.put("Title", data); break; case 1538: metadata.put("Author", data); break; case 1539: metadata.put("Keywords", data); break; case 1540: metadata.put("Comments", data);break; case 1541: metadata.put("SampleID", data); break; case 1542: metadata.put("Subject", data); break; case 1543: metadata.put("RevisionNumber", data); break; case 1544: metadata.put("Save Folder", data); break; case 1545: metadata.put("FileLink", data); break; case 1546: metadata.put("Document Type", data); break; case 1547: metadata.put("Storage Media", data); break; case 1548: metadata.put("File ID", data); break; case 1549: metadata.put("Reference", data); break; case 1550: metadata.put("File Date", data); break; case 1551: metadata.put("File Size", data); break; case 1553: metadata.put("Filename", data); break; case 1792: metadata.put("ProjectGroup", data);break; case 1793: metadata.put("Acquisition Date", data); break; case 1794: metadata.put("Last modified by", data); break; case 1795: metadata.put("User company", data); break; case 1796: metadata.put("User company logo", data); break; case 1797: metadata.put("Image", data); break; case 1800: metadata.put("User ID", data); break; case 1801: metadata.put("User Name", data); break; case 1802: metadata.put("User City", data); break; case 1803: metadata.put("User Address", data); break; case 1804: metadata.put("User Country", data); break; case 1805: metadata.put("User Phone", data); break; case 1806: metadata.put("User Fax", data); break; case 2049: metadata.put("Objective Name", data); break; case 2050: metadata.put("Optovar", data); break; case 2051: metadata.put("Reflector", data); break; case 2052: metadata.put("Condenser Contrast", data); break; case 2053: metadata.put("Transmitted Light Filter 1", data); break; case 2054: metadata.put("Transmitted Light Filter 2", data); break; case 2055: metadata.put("Reflected Light Shutter", data); break; case 2056: metadata.put("Condenser Front Lens", data); break; case 2057: metadata.put("Excitation Filter Name", data); break; case 2060: metadata.put("Transmitted Light Fieldstop Aperture", data); break; case 2061: metadata.put("Reflected Light Aperture", data); break; case 2062: metadata.put("Condenser N.A.", data); break; case 2063: metadata.put("Light Path", data); break; case 2064: metadata.put("HalogenLampOn", data); break; case 2065: metadata.put("Halogen Lamp Mode", data); break; case 2066: metadata.put("Halogen Lamp Voltage", data); break; case 2068: metadata.put("Fluorescence Lamp Level", data); break; case 2069: metadata.put("Fluorescence Lamp Intensity", data); break; case 2070: metadata.put("LightManagerEnabled", data); break; case 2072: metadata.put("Focus Position", data); break; case 2073: metadata.put("Stage Position X", data);break; case 2074: metadata.put("Stage Position Y", data); break; case 2075: metadata.put("Microscope Name", data);// if (ome != null) {// OMETools.setAttribute(ome, "Microscope", "Name", "" + data);// } break; case 2076: metadata.put("Objective Magnification", data); break; case 2077: metadata.put("Objective N.A.", data); break; case 2078: metadata.put("MicroscopeIllumination", data); break; case 2079: metadata.put("External Shutter 1", data); break; case 2080: metadata.put("External Shutter 2", data); break; case 2081: metadata.put("External Shutter 3", data); break; case 2082: metadata.put("External Filter Wheel 1 Name", data); break; case 2083: metadata.put("External Filter Wheel 2 Name", data); break; case 2084: metadata.put("Parfocal Correction", data); break; case 2086: metadata.put("External Shutter 4", data); break; case 2087: metadata.put("External Shutter 5", data); break; case 2088: metadata.put("External Shutter 6", data); break; case 2089: metadata.put("External Filter Wheel 3 Name", data); break; case 2090: metadata.put("External Filter Wheel 4 Name", data); break; case 2103: metadata.put("Objective Turret Position", data); break; case 2104: metadata.put("Objective Contrast Method", data); break; case 2105: metadata.put("Objective Immersion Type", data); break; case 2107: metadata.put("Reflector Position", data); break; case 2109: metadata.put("Transmitted Light Filter 1 Position", data); break; case 2110: metadata.put("Transmitted Light Filter 2 Position", data); break; case 2112: metadata.put("Excitation Filter Position", data); break; case 2113: metadata.put("Lamp Mirror Position", data); break; case 2114: metadata.put("External Filter Wheel 1 Position", data); break; case 2115: metadata.put("External Filter Wheel 2 Position", data); break; case 2116: metadata.put("External Filter Wheel 3 Position", data); break; case 2117: metadata.put("External Filter Wheel 4 Position", data); break; case 2118: metadata.put("Lightmanager Mode", data); break; case 2119: metadata.put("Halogen Lamp Calibration", data); break; case 2120: metadata.put("CondenserNAGoSpeed", data); break; case 2121: metadata.put("TransmittedLightFieldstopGoSpeed", data); break; case 2122: metadata.put("OptovarGoSpeed", data); break; case 2123: metadata.put("Focus calibrated", data); break; case 2124: metadata.put("FocusBasicPosition", data); break; case 2125: metadata.put("FocusPower", data); break; case 2126: metadata.put("FocusBacklash", data); break; case 2127: metadata.put("FocusMeasurementOrigin", data); break; case 2128: metadata.put("FocusMeasurementDistance", data); break; case 2129: metadata.put("FocusSpeed", data); break; case 2130: metadata.put("FocusGoSpeed", data); break; case 2131: metadata.put("FocusDistance", data); break; case 2132: metadata.put("FocusInitPosition", data); break; case 2133: metadata.put("Stage calibrated", data); break; case 2134: metadata.put("StagePower", data); break; case 2135: metadata.put("StageXBacklash", data); break; case 2136: metadata.put("StageYBacklash", data); break; case 2137: metadata.put("StageSpeedX", data); break; case 2138: metadata.put("StageSpeedY", data); break; case 2139: metadata.put("StageSpeed", data); break; case 2140: metadata.put("StageGoSpeedX", data); break; case 2141: metadata.put("StageGoSpeedY", data); break; case 2142: metadata.put("StageStepDistanceX", data); break; case 2143: metadata.put("StageStepDistanceY", data); break; case 2144: metadata.put("StageInitialisationPositionX", data); break; case 2145: metadata.put("StageInitialisationPositionY", data); break; case 2146: metadata.put("MicroscopeMagnification", data); break; case 2147: metadata.put("ReflectorMagnification", data); break; case 2148: metadata.put("LampMirrorPosition", data); break; case 2149: metadata.put("FocusDepth", data); break; case 2150: metadata.put("MicroscopeType", data);// if (ome != null) {// OMETools.setAttribute(ome, "Microscope", "Type", "" + data);// } break; case 2151: metadata.put("Objective Working Distance", data); break; case 2152: metadata.put("ReflectedLightApertureGoSpeed", data); break; case 2153: metadata.put("External Shutter", data); break; case 2154: metadata.put("ObjectiveImmersionStop", data); break; case 2155: metadata.put("Focus Start Speed", data); break; case 2156: metadata.put("Focus Acceleration", data); break; case 2157: metadata.put("ReflectedLightFieldstop", data); break; case 2158: metadata.put("ReflectedLightFieldstopGoSpeed", data); break; case 2159: metadata.put("ReflectedLightFilter 1", data); break; case 2160: metadata.put("ReflectedLightFilter 2", data); break; case 2161: metadata.put("ReflectedLightFilter1Position", data); break; case 2162: metadata.put("ReflectedLightFilter2Position", data); break; case 2163: metadata.put("TransmittedLightAttenuator", data); break; case 2164: metadata.put("ReflectedLightAttenuator", data); break; case 2165: metadata.put("Transmitted Light Shutter", data); break; case 2166: metadata.put("TransmittedLightAttenuatorGoSpeed", data); break; case 2167: metadata.put("ReflectedLightAttenuatorGoSpeed", data); break; case 2176: metadata.put("TransmittedLightVirtualFilterPosition", data); break; case 2177: metadata.put("TransmittedLightVirtualFilter", data); break; case 2178: metadata.put("ReflectedLightVirtualFilterPosition", data); break; case 2179: metadata.put("ReflectedLightVirtualFilter", data); break; case 2180: metadata.put("ReflectedLightHalogenLampMode", data); break; case 2181: metadata.put("ReflectedLightHalogenLampVoltage", data); break; case 2182: metadata.put("ReflectedLightHalogenLampColorTemperature", data); break; case 2183: metadata.put("ContrastManagerMode", data); break; case 2184: metadata.put("Dazzle Protection Active", data); break; case 2195: metadata.put("Zoom", data);// if (ome != null) {// OMETools.setAttribute(ome,// "DisplayOptions", "Zoom", "" + data);// } break; case 2196: metadata.put("ZoomGoSpeed", data); break; case 2197: metadata.put("LightZoom", data); break; case 2198: metadata.put("LightZoomGoSpeed", data); break; case 2199: metadata.put("LightZoomCoupled", data); break; case 2200: metadata.put("TransmittedLightHalogenLampMode", data); break; case 2201: metadata.put("TransmittedLightHalogenLampVoltage", data); break; case 2202: metadata.put("TransmittedLightHalogenLampColorTemperature", data); break; case 2203: metadata.put("Reflected Coldlight Mode", data); break; case 2204: metadata.put("Reflected Coldlight Intensity", data); break; case 2205: metadata.put("Reflected Coldlight Color Temperature", data); break; case 2206: metadata.put("Transmitted Coldlight Mode", data); break; case 2207: metadata.put("Transmitted Coldlight Intensity", data); break; case 2208: metadata.put("Transmitted Coldlight Color Temperature", data); break; case 2209: metadata.put("Infinityspace Portchanger Position", data); break; case 2210: metadata.put("Beamsplitter Infinity Space", data); break; case 2211: metadata.put("TwoTv VisCamChanger Position", data); break; case 2212: metadata.put("Beamsplitter Ocular", data); break; case 2213: metadata.put("TwoTv CamerasChanger Position", data); break; case 2214: metadata.put("Beamsplitter Cameras", data); break; case 2215: metadata.put("Ocular Shutter", data); break; case 2216: metadata.put("TwoTv CamerasChangerCube", data); break; case 2218: metadata.put("Ocular Magnification", data); break; case 2219: metadata.put("Camera Adapter Magnification", data); break; case 2220: metadata.put("Microscope Port", data); break; case 2221: metadata.put("Ocular Total Magnification", data); break; case 2222: metadata.put("Field of View", data); break; case 2223: metadata.put("Ocular", data); break; case 2224: metadata.put("CameraAdapter", data); break; case 2225: metadata.put("StageJoystickEnabled", data); break; case 2226: metadata.put("ContrastManager Contrast Method", data); break; case 2229: metadata.put("CamerasChanger Beamsplitter Type", data); break; case 2235: metadata.put("Rearport Slider Position", data); break; case 2236: metadata.put("Rearport Source", data); break; case 2237: metadata.put("Beamsplitter Type Infinity Space", data); break; case 2238: metadata.put("Fluorescence Attenuator", data); break; case 2239: metadata.put("Fluorescence Attenuator Position", data); break; case 2307: metadata.put("Camera Framestart Left", data); break; case 2308: metadata.put("Camera Framestart Top", data); break; case 2309: metadata.put("Camera Frame Width", data); break; case 2310: metadata.put("Camera Frame Height", data); break; case 2311: metadata.put("Camera Binning", data); break; case 2312: metadata.put("CameraFrameFull", data); break; case 2313: metadata.put("CameraFramePixelDistance", data); break; case 2318: metadata.put("DataFormatUseScaling", data); break; case 2319: metadata.put("CameraFrameImageOrientation", data); break; case 2320: metadata.put("VideoMonochromeSignalType", data); break; case 2321: metadata.put("VideoColorSignalType", data); break; case 2322: metadata.put("MeteorChannelInput", data); break; case 2323: metadata.put("MeteorChannelSync", data); break; case 2324: metadata.put("WhiteBalanceEnabled", data); break; case 2325: metadata.put("CameraWhiteBalanceRed", data); break; case 2326: metadata.put("CameraWhiteBalanceGreen", data); break; case 2327: metadata.put("CameraWhiteBalanceBlue", data); break; case 2331: metadata.put("CameraFrameScalingFactor", data); break; case 2562: metadata.put("Meteor Camera Type", data); break; case 2564: metadata.put("Exposure Time [ms]", data); break; case 2568: metadata.put("CameraExposureTimeAutoCalculate", data); break; case 2569: metadata.put("Meteor Gain Value", data); break; case 2571: metadata.put("Meteor Gain Automatic", data); break; case 2572: metadata.put("MeteorAdjustHue", data); break; case 2573: metadata.put("MeteorAdjustSaturation", data); break; case 2574: metadata.put("MeteorAdjustRedLow", data); break; case 2575: metadata.put("MeteorAdjustGreenLow", data); break; case 2576: metadata.put("Meteor Blue Low", data); break; case 2577: metadata.put("MeteorAdjustRedHigh", data); break; case 2578: metadata.put("MeteorAdjustGreenHigh", data); break; case 2579: metadata.put("MeteorBlue High", data); break; case 2582: metadata.put("CameraExposureTimeCalculationControl", data); break; case 2585: metadata.put("AxioCamFadingCorrectionEnable", data); break; case 2587: metadata.put("CameraLiveImage", data); break; case 2588: metadata.put("CameraLiveEnabled", data); break; case 2589: metadata.put("LiveImageSyncObjectName", data); break; case 2590: metadata.put("CameraLiveSpeed", data); break; case 2591: metadata.put("CameraImage", data); break; case 2592: metadata.put("CameraImageWidth", data); break; case 2593: metadata.put("CameraImageHeight", data); break; case 2594: metadata.put("CameraImagePixelType", data); break; case 2595: metadata.put("CameraImageShMemoryName", data); break; case 2596: metadata.put("CameraLiveImageWidth", data); break; case 2597: metadata.put("CameraLiveImageHeight", data); break; case 2598: metadata.put("CameraLiveImagePixelType", data); break; case 2599: metadata.put("CameraLiveImageShMemoryName", data); break; case 2600: metadata.put("CameraLiveMaximumSpeed", data); break; case 2601: metadata.put("CameraLiveBinning", data); break; case 2602: metadata.put("CameraLiveGainValue", data); break; case 2603: metadata.put("CameraLiveExposureTimeValue", data); break; case 2604: metadata.put("CameraLiveScalingFactor", data); break; case 2822: metadata.put("ImageTile Index", data); break; case 2823: metadata.put("Image acquisition Index", data); break; case 2841: metadata.put("Original Stage Position X", data); break; case 2842: metadata.put("Original Stage Position Y", data); break; case 3088: metadata.put("LayerDrawFlags", data); break; case 3334: metadata.put("RemainingTime", data); break; case 3585: metadata.put("User Field 1", data); break; case 3586: metadata.put("User Field 2", data); break; case 3587: metadata.put("User Field 3", data); break; case 3588: metadata.put("User Field 4", data); break; case 3589: metadata.put("User Field 5", data); break; case 3590: metadata.put("User Field 6", data); break; case 3591: metadata.put("User Field 7", data); break; case 3592: metadata.put("User Field 8", data); break; case 3593: metadata.put("User Field 9", data); break; case 3594: metadata.put("User Field 10", data); break; case 3840: metadata.put("ID", data); break; case 3841: metadata.put("Name", data); break; case 3842: metadata.put("Value", data); break; case 5501: metadata.put("PvCamClockingMode", data); break; case 8193: metadata.put("Autofocus Status Report", data); break; case 8194: metadata.put("Autofocus Position", data); break; case 8195: metadata.put("Autofocus Position Offset", data); break; case 8196: metadata.put("Autofocus Empty Field Threshold", data); break; case 8197: metadata.put("Autofocus Calibration Name", data); break; case 8198: metadata.put("Autofocus Current Calibration Item", data); break; case 65537: metadata.put("CameraFrameFullWidth", data); break; case 65538: metadata.put("CameraFrameFullHeight", data); break; case 65541: metadata.put("AxioCam Shutter Signal", data); break; case 65542: metadata.put("AxioCam Delay Time", data); break; case 65543: metadata.put("AxioCam Shutter Control", data); break; case 65544: metadata.put("AxioCam BlackRefIsCalculated", data); break; case 65545: metadata.put("AxioCam Black Reference", data); break; case 65547: metadata.put("Camera Shading Correction", data); break; case 65550: metadata.put("AxioCam Enhance Color", data); break; case 65551: metadata.put("AxioCam NIR Mode", data); break; case 65552: metadata.put("CameraShutterCloseDelay", data); break; case 65553: metadata.put("CameraWhiteBalanceAutoCalculate", data); break; case 65556: metadata.put("AxioCam NIR Mode Available", data); break; case 65557: metadata.put("AxioCam Fading Correction Available", data); break; case 65559: metadata.put("AxioCam Enhance Color Available", data); break; case 65565: metadata.put("MeteorVideoNorm", data); break; case 65566: metadata.put("MeteorAdjustWhiteReference", data); break; case 65567: metadata.put("MeteorBlackReference", data); break; case 65568: metadata.put("MeteorChannelInputCountMono", data); break; case 65570: metadata.put("MeteorChannelInputCountRGB", data); break; case 65571: metadata.put("MeteorEnableVCR", data); break; case 65572: metadata.put("Meteor Brightness", data); break; case 65573: metadata.put("Meteor Contrast", data); break; case 65575: metadata.put("AxioCam Selector", data); break; case 65576: metadata.put("AxioCam Type", data); break; case 65577: metadata.put("AxioCam Info", data); break; case 65580: metadata.put("AxioCam Resolution", data); break; case 65581: metadata.put("AxioCam Color Model", data); break; case 65582: metadata.put("AxioCam MicroScanning", data); break; case 65585: metadata.put("Amplification Index", data); break; case 65586: metadata.put("Device Command", data); break; case 65587: metadata.put("BeamLocation", data); break; case 65588: metadata.put("ComponentType", data); break; case 65589: metadata.put("ControllerType", data); break; case 65590: metadata.put("CameraWhiteBalanceCalculationRedPaint", data); break; case 65591: metadata.put("CameraWhiteBalanceCalculationBluePaint", data); break; case 65592: metadata.put("CameraWhiteBalanceSetRed", data); break; case 65593: metadata.put("CameraWhiteBalanceSetGreen", data); break; case 65594: metadata.put("CameraWhiteBalanceSetBlue", data); break; case 65595: metadata.put("CameraWhiteBalanceSetTargetRed", data); break; case 65596: metadata.put("CameraWhiteBalanceSetTargetGreen", data); break; case 65597: metadata.put("CameraWhiteBalanceSetTargetBlue", data); break; case 65598: metadata.put("ApotomeCamCalibrationMode", data); break; case 65599: metadata.put("ApoTome Grid Position", data); break; case 65600: metadata.put("ApotomeCamScannerPosition", data); break; case 65601: metadata.put("ApoTome Full Phase Shift", data); break; case 65602: metadata.put("ApoTome Grid Name", data); break; case 65603: metadata.put("ApoTome Staining", data); break; case 65604: metadata.put("ApoTome Processing Mode", data); break; case 65605: metadata.put("ApotmeCamLiveCombineMode", data); break; case 65606: metadata.put("ApoTome Filter Name", data); break; case 65607: metadata.put("Apotome Filter Strength", data); break; case 65608: metadata.put("ApotomeCamFilterHarmonics", data); break; case 65609: metadata.put("ApoTome Grating Period", data); break; case 65610: metadata.put("ApoTome Auto Shutter Used", data); break; case 65611: metadata.put("Apotome Cam Status", data); break; case 65612: metadata.put("ApotomeCamNormalize", data); break; case 65613: metadata.put("ApotomeCamSettingsManager", data); break; case 65614: metadata.put("DeepviewCamSupervisorMode", data); break; case 65615: metadata.put("DeepView Processing", data); break; case 65616: metadata.put("DeepviewCamFilterName", data); break; case 65617: metadata.put("DeepviewCamStatus", data); break; case 65618: metadata.put("DeepviewCamSettingsManager", data); break; case 65619: metadata.put("DeviceScalingName", data); break; case 65620: metadata.put("CameraShadingIsCalculated", data); break; case 65621: metadata.put("CameraShadingCalculationName", data); break; case 65622: metadata.put("CameraShadingAutoCalculate", data); break; case 65623: metadata.put("CameraTriggerAvailable", data); break; case 65626: metadata.put("CameraShutterAvailable", data); break; case 65627: metadata.put("AxioCam ShutterMicroScanningEnable", data); break; case 65628: metadata.put("ApotomeCamLiveFocus", data); break; case 65629: metadata.put("DeviceInitStatus", data); break; case 65630: metadata.put("DeviceErrorStatus", data); break; case 65631: metadata.put("ApotomeCamSliderInGridPosition", data); break; case 65632: metadata.put("Orca NIR Mode Used", data); break; case 65633: metadata.put("Orca Analog Gain", data); break; case 65634: metadata.put("Orca Analog Offset", data); break; case 65635: metadata.put("Orca Binning", data); break; case 65636: metadata.put("Orca Bit Depth", data); break; case 65637: metadata.put("ApoTome Averaging Count", data); break; case 65638: metadata.put("DeepView DoF", data); break; case 65639: metadata.put("DeepView EDoF", data); break; case 65643: metadata.put("DeepView Slider Name", data); break; } } } } // Now that we've done the heavy lifting lets get the data into the active // metadata store. initMetadataStore(); }
49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/650b0f42fd429580da06c39d7846e8126cf26491/ZeissZVIReader.java/buggy/loci/formats/in/ZeissZVIReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 2277, 1435, 1216, 4077, 503, 16, 1860, 288, 565, 368, 1109, 326, 315, 3374, 6, 1160, 526, 565, 368, 2145, 2037, 732, 4565, 1450, 1446, 501, 628, 392, 1316, 761, 565, 1982, 18, 458, 2932, 12235, 35, 3113, 1608, 12235, 692, 315, 9707, 6, 294, 315, 2135, 8863, 565, 309, 261, 3374, 422, 446, 13, 327, 31, 565, 309, 261, 14891, 12235, 13, 1982, 273, 8866, 18, 588, 2277, 12, 2972, 548, 1769, 565, 509, 5818, 273, 5045, 31, 565, 509, 18633, 273, 1910, 10348, 18, 3890, 17864, 12, 3374, 16, 5818, 16, 576, 16, 638, 1769, 565, 5818, 1011, 576, 397, 18633, 31, 565, 5818, 1011, 576, 31, 565, 1982, 18, 458, 2932, 2040, 2384, 3113, 1377, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 3374, 16, 5818, 16, 1059, 16, 638, 3719, 1769, 565, 5818, 1011, 1666, 31, 565, 1982, 18, 458, 2932, 2040, 2686, 3113, 1377, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 3374, 16, 5818, 16, 1059, 16, 638, 3719, 1769, 565, 5818, 1011, 1666, 31, 565, 5818, 1011, 1666, 31, 565, 509, 4957, 273, 1910, 10348, 18, 3890, 17864, 12, 3374, 16, 5818, 16, 1059, 16, 638, 1769, 565, 5818, 1011, 1666, 31, 565, 514, 1325, 31, 565, 1620, 261, 11743, 13, 288, 1377, 648, 404, 30, 1325, 273, 315, 28, 17, 3682, 11510, 28173, 261, 38, 16, 611, 16, 534, 2225, 31, 898, 31, 1377, 648, 576, 30, 1325, 273, 315, 28, 17, 3682, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 2277, 1435, 1216, 4077, 503, 16, 1860, 288, 565, 368, 1109, 326, 315, 3374, 6, 1160, 526, 565, 368, 2145, 2037, 732, 4565, 1450, 1446, 501, 628, 392, 1316, 761, 565, 1982, 18, 458, 2932, 12235, 35, 3113, 1608, 12235, 692, 315, 9707, 6, 294, 315, 2135, 8863, 565, 309, 261, 3374, 422, 446, 13, 327, 31, 565, 309, 261, 14891, 12235, 13, 1982, 273, 8866, 18, 588, 2277, 12, 2972, 548, 1769, 565, 509, 5818, 273, 5045, 31, 565, 509, 18633, 273, 1910, 10348, 18, 3890, 17864, 12, 3374, 16, 5818, 16, 576, 16, 638, 1769, 565, 5818, 1011, 576, 397, 18633, 31, 565, 5818, 1011, 576, 31, 565, 1982, 18, 458, 2932, 2040, 2 ]
protected void initVkMap() {
protected void initVkMap(int []vkMap, char[] lcharMap, char[] ucharMap, char[] altGrCharMap) {
protected void initVkMap() { vkMap[0] = KeyEvent.VK_UNDEFINED; vkMap[1] = KeyEvent.VK_ESCAPE; vkMap[2] = KeyEvent.VK_AMPERSAND; vkMap[3] = KeyEvent.VK_E; // TODO : remap to vkMap[4] = KeyEvent.VK_QUOTEDBL; vkMap[5] = KeyEvent.VK_QUOTE; vkMap[6] = KeyEvent.VK_OPEN_BRACKET; vkMap[7] = KeyEvent.VK_MINUS; vkMap[8] = KeyEvent.VK_DEAD_GRAVE; // TODO: remap to vkMap[9] = KeyEvent.VK_UNDERSCORE; vkMap[10] = KeyEvent.VK_DEAD_CEDILLA; vkMap[11] = KeyEvent.VK_DEAD_ACUTE; vkMap[12] = KeyEvent.VK_CLOSE_BRACKET; vkMap[13] = KeyEvent.VK_EQUALS; vkMap[14] = KeyEvent.VK_BACK_SPACE; vkMap[15] = KeyEvent.VK_TAB; vkMap[16] = KeyEvent.VK_A; vkMap[17] = KeyEvent.VK_Z; vkMap[18] = KeyEvent.VK_E; vkMap[19] = KeyEvent.VK_R; vkMap[20] = KeyEvent.VK_T; vkMap[21] = KeyEvent.VK_Y; vkMap[22] = KeyEvent.VK_U; vkMap[23] = KeyEvent.VK_I; vkMap[24] = KeyEvent.VK_O; vkMap[25] = KeyEvent.VK_P; vkMap[26] = KeyEvent.VK_DEAD_CIRCUMFLEX; vkMap[27] = KeyEvent.VK_DOLLAR; vkMap[28] = KeyEvent.VK_ENTER; vkMap[29] = KeyEvent.VK_CONTROL; vkMap[30] = KeyEvent.VK_Q; vkMap[31] = KeyEvent.VK_S; vkMap[32] = KeyEvent.VK_D; vkMap[33] = KeyEvent.VK_F; vkMap[34] = KeyEvent.VK_G; vkMap[35] = KeyEvent.VK_H; vkMap[36] = KeyEvent.VK_J; vkMap[37] = KeyEvent.VK_K; vkMap[38] = KeyEvent.VK_L; vkMap[39] = KeyEvent.VK_M; vkMap[40] = KeyEvent.VK_QUOTE; //'%' not found... vkMap[41] = KeyEvent.VK_UNDEFINED; // '' not found vkMap[42] = KeyEvent.VK_SHIFT; vkMap[43] = KeyEvent.VK_MULTIPLY; vkMap[44] = KeyEvent.VK_W; vkMap[45] = KeyEvent.VK_X; vkMap[46] = KeyEvent.VK_C; vkMap[47] = KeyEvent.VK_V; vkMap[48] = KeyEvent.VK_B; vkMap[49] = KeyEvent.VK_N; vkMap[50] = KeyEvent.VK_COMMA; vkMap[51] = KeyEvent.VK_SEMICOLON; vkMap[52] = KeyEvent.VK_COLON; vkMap[53] = KeyEvent.VK_EXCLAMATION_MARK; vkMap[54] = KeyEvent.VK_SHIFT; vkMap[55] = KeyEvent.VK_CONTROL; vkMap[56] = KeyEvent.VK_ALT; vkMap[57] = KeyEvent.VK_SPACE; vkMap[58] = KeyEvent.VK_CAPS_LOCK; vkMap[59] = KeyEvent.VK_F1; vkMap[60] = KeyEvent.VK_F2; vkMap[61] = KeyEvent.VK_F3; vkMap[62] = KeyEvent.VK_F4; vkMap[63] = KeyEvent.VK_F5; vkMap[64] = KeyEvent.VK_F6; vkMap[65] = KeyEvent.VK_F7; vkMap[66] = KeyEvent.VK_F8; vkMap[67] = KeyEvent.VK_F9; vkMap[68] = KeyEvent.VK_F10; vkMap[69] = KeyEvent.VK_NUM_LOCK; vkMap[70] = KeyEvent.VK_SCROLL_LOCK; vkMap[71] = KeyEvent.VK_NUMPAD7; vkMap[72] = KeyEvent.VK_NUMPAD8; vkMap[73] = KeyEvent.VK_NUMPAD9; vkMap[74] = KeyEvent.VK_SUBTRACT; vkMap[75] = KeyEvent.VK_NUMPAD4; vkMap[76] = KeyEvent.VK_NUMPAD5; vkMap[77] = KeyEvent.VK_NUMPAD6; vkMap[78] = KeyEvent.VK_ADD; vkMap[79] = KeyEvent.VK_NUMPAD1; vkMap[80] = KeyEvent.VK_NUMPAD2; vkMap[81] = KeyEvent.VK_NUMPAD3; vkMap[82] = KeyEvent.VK_NUMPAD0; vkMap[83] = KeyEvent.VK_DECIMAL; vkMap[86] = KeyEvent.VK_LESS; vkMap[87] = KeyEvent.VK_F11; vkMap[88] = KeyEvent.VK_F12; vkMap[96] = KeyEvent.VK_INSERT; vkMap[97] = KeyEvent.VK_HOME; vkMap[98] = KeyEvent.VK_PAGE_UP; vkMap[99] = KeyEvent.VK_DIVIDE; vkMap[100] = KeyEvent.VK_PRINTSCREEN; vkMap[101] = KeyEvent.VK_DELETE; vkMap[102] = KeyEvent.VK_END; vkMap[103] = KeyEvent.VK_PAGE_DOWN; vkMap[104] = KeyEvent.VK_UP; vkMap[105] = KeyEvent.VK_SEPARATOR; vkMap[111] = KeyEvent.VK_SLASH; vkMap[112] = KeyEvent.VK_CONTROL; vkMap[113] = KeyEvent.VK_LEFT; vkMap[114] = KeyEvent.VK_DOWN; vkMap[115] = KeyEvent.VK_RIGHT; vkMap[116] = KeyEvent.VK_PAUSE; lcharMap[2] = '&'; lcharMap[3] = ''; lcharMap[4] = '"'; lcharMap[5] = '\''; lcharMap[6] = '('; lcharMap[7] = '-'; lcharMap[8] = ''; lcharMap[9] = '_'; lcharMap[10] = ''; lcharMap[11] = ''; lcharMap[12] = ')'; lcharMap[13] = '='; lcharMap[14] = '\b'; lcharMap[15] = '\t'; lcharMap[16] = 'a'; lcharMap[17] = 'z'; lcharMap[18] = 'e'; lcharMap[19] = 'r'; lcharMap[20] = 't'; lcharMap[21] = 'y'; lcharMap[22] = 'u'; lcharMap[23] = 'i'; lcharMap[24] = 'o'; lcharMap[25] = 'p'; lcharMap[26] = '^'; lcharMap[27] = '$'; lcharMap[28] = '\n'; lcharMap[30] = 'q'; lcharMap[31] = 's'; lcharMap[32] = 'd'; lcharMap[33] = 'f'; lcharMap[34] = 'g'; lcharMap[35] = 'h'; lcharMap[36] = 'j'; lcharMap[37] = 'k'; lcharMap[38] = 'l'; lcharMap[39] = 'm'; lcharMap[40] = ''; lcharMap[41] = ''; lcharMap[43] = '*'; lcharMap[44] = 'w'; lcharMap[45] = 'x'; lcharMap[46] = 'c'; lcharMap[47] = 'v'; lcharMap[48] = 'b'; lcharMap[49] = 'n'; lcharMap[50] = ','; lcharMap[51] = ';'; lcharMap[52] = ':'; lcharMap[53] = '!';// lcharMap[55] = ' '; lcharMap[57] = ' '; lcharMap[71] = '7'; lcharMap[72] = '8'; lcharMap[73] = '9'; lcharMap[74] = '-'; lcharMap[75] = '4'; lcharMap[76] = '5'; lcharMap[77] = '6'; lcharMap[78] = '+'; lcharMap[79] = '1'; lcharMap[80] = '2'; lcharMap[81] = '3'; lcharMap[82] = '0'; lcharMap[83] = '.'; lcharMap[86] = '<'; lcharMap[111] = '/'; ucharMap[2] = '1'; ucharMap[3] = '2'; ucharMap[4] = '3'; ucharMap[5] = '4'; ucharMap[6] = '5'; ucharMap[7] = '6'; ucharMap[8] = '7'; ucharMap[9] = '8'; ucharMap[10] = '9'; ucharMap[11] = '0'; ucharMap[12] = ''; ucharMap[13] = '+'; ucharMap[14] = '\b'; ucharMap[15] = '\t'; ucharMap[16] = 'A'; ucharMap[17] = 'Z'; ucharMap[18] = 'E'; ucharMap[19] = 'R'; ucharMap[20] = 'T'; ucharMap[21] = 'Y'; ucharMap[22] = 'U'; ucharMap[23] = 'I'; ucharMap[24] = 'O'; ucharMap[25] = 'P'; ucharMap[26] = ''; ucharMap[27] = ''; ucharMap[28] = '\n'; ucharMap[30] = 'Q'; ucharMap[31] = 'S'; ucharMap[32] = 'D'; ucharMap[33] = 'F'; ucharMap[34] = 'G'; ucharMap[35] = 'H'; ucharMap[36] = 'J'; ucharMap[37] = 'K'; ucharMap[38] = 'L'; ucharMap[39] = 'M'; ucharMap[40] = '%'; ucharMap[41] = '~'; ucharMap[43] = ''; ucharMap[44] = 'W'; ucharMap[45] = 'X'; ucharMap[46] = 'C'; ucharMap[47] = 'V'; ucharMap[48] = 'B'; ucharMap[49] = 'N'; ucharMap[50] = '?'; ucharMap[51] = '.'; ucharMap[52] = '/'; ucharMap[53] = '';// ucharMap[55] = ' '; ucharMap[57] = ' '; ucharMap[71] = '7'; ucharMap[72] = '8'; ucharMap[73] = '9'; ucharMap[74] = '-'; ucharMap[75] = '4'; ucharMap[76] = '5'; ucharMap[77] = '6'; ucharMap[78] = '+'; ucharMap[79] = '1'; ucharMap[80] = '2'; ucharMap[81] = '3'; ucharMap[82] = '0'; ucharMap[83] = '.'; ucharMap[86] = '>'; ucharMap[111] = '/'; altGrCharMap[41] = ''; int i = 2; altGrCharMap[i++] = ''; altGrCharMap[i++] = '~'; altGrCharMap[i++] = '#'; altGrCharMap[i++] = '{'; altGrCharMap[i++] = '['; altGrCharMap[i++] = '|'; altGrCharMap[i++] = '`'; altGrCharMap[i++] = '\\'; altGrCharMap[i++] = '^'; altGrCharMap[i++] = '@'; altGrCharMap[i++] = ']'; altGrCharMap[i++] = '}';// altGrCharMap[i++] = ' ';// backspace do nothing// altGrCharMap[i++] = ' ';// tab do nothing i+=2; altGrCharMap[i++] = ''; altGrCharMap[i++] = ''; altGrCharMap[i++] = ''; altGrCharMap[i++] = ''; altGrCharMap[i++] = '?';// altGrCharMap[i++] = ' '; // y -> do nothing// altGrCharMap[i++] = ' '; // u -> do nothing// altGrCharMap[i++] = ' '; // i -> do nothing i+=3; altGrCharMap[i++] = ''; altGrCharMap[i++] = '';// altGrCharMap[i++] = ' '; // dead ^ -> do nothing i++; altGrCharMap[i++] = '?';// altGrCharMap[i++] = ' '; // enter -> do nothing// altGrCharMap[i++] = ' '; // Ctrl -> do nothing i+=2; altGrCharMap[i++] = '@'; altGrCharMap[i++] = ''; altGrCharMap[i++] = ''; altGrCharMap[i++] = '?'; altGrCharMap[i++] = '?'; altGrCharMap[i++] = '?'; altGrCharMap[i++] = 'j';// altGrCharMap[i++] = ' '; // k -> do nothing i++; altGrCharMap[i++] = '?'; altGrCharMap[i++] = '';// altGrCharMap[i++] = ' '; // % -> do nothing// altGrCharMap[i++] = ' '; // * -> do nothing i+=2; altGrCharMap[i++] = '?'; altGrCharMap[i++] = ''; altGrCharMap[i++] = '';// altGrCharMap[i++] = ' '; // v -> do nothing// altGrCharMap[i++] = ' '; // b -> do nothing i+=2; altGrCharMap[i++] = 'n';// altGrCharMap[i++] = ' '; // , -> do nothing// altGrCharMap[i++] = ' '; // ; -> do nothing i+=2; altGrCharMap[i++] = ''; altGrCharMap[i++] = '?'; altGrCharMap[i++] = '?'; altGrCharMap[86] = '|'; altGrCharMap[111] = '/'; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/57843b9b284ea62b4a1db76be6395f975acfd0fc/KeyboardInterpreter_FR.java/buggy/core/src/driver/org/jnode/driver/input/l10n/KeyboardInterpreter_FR.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1208, 58, 79, 863, 1435, 288, 202, 202, 90, 79, 863, 63, 20, 65, 273, 23737, 18, 58, 47, 67, 2124, 15544, 31, 202, 202, 90, 79, 863, 63, 21, 65, 273, 23737, 18, 58, 47, 67, 24849, 31, 202, 202, 90, 79, 863, 63, 22, 65, 273, 23737, 18, 58, 47, 67, 2192, 3194, 55, 4307, 31, 202, 202, 90, 79, 863, 63, 23, 65, 273, 23737, 18, 58, 47, 67, 41, 31, 368, 2660, 294, 21674, 358, 3196, 202, 90, 79, 863, 63, 24, 65, 273, 23737, 18, 58, 47, 67, 18980, 2290, 48, 31, 202, 202, 90, 79, 863, 63, 25, 65, 273, 23737, 18, 58, 47, 67, 18980, 31, 202, 202, 90, 79, 863, 63, 26, 65, 273, 23737, 18, 58, 47, 67, 11437, 67, 21217, 31, 202, 202, 90, 79, 863, 63, 27, 65, 273, 23737, 18, 58, 47, 67, 6236, 3378, 31, 202, 202, 90, 79, 863, 63, 28, 65, 273, 23737, 18, 58, 47, 67, 1639, 1880, 67, 24554, 3412, 31, 368, 2660, 30, 21674, 358, 3196, 202, 90, 79, 863, 63, 29, 65, 273, 23737, 18, 58, 47, 67, 31625, 28520, 31, 202, 202, 90, 79, 863, 63, 2163, 65, 273, 23737, 18, 58, 47, 67, 1639, 1880, 67, 1441, 2565, 48, 2534, 31, 202, 202, 90, 79, 863, 63, 2499, 65, 273, 23737, 18, 58, 47, 67, 1639, 1880, 67, 2226, 9099, 31, 202, 202, 90, 79, 863, 63, 2138, 65, 273, 23737, 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, 1117, 918, 1208, 58, 79, 863, 1435, 288, 202, 202, 90, 79, 863, 63, 20, 65, 273, 23737, 18, 58, 47, 67, 2124, 15544, 31, 202, 202, 90, 79, 863, 63, 21, 65, 273, 23737, 18, 58, 47, 67, 24849, 31, 202, 202, 90, 79, 863, 63, 22, 65, 273, 23737, 18, 58, 47, 67, 2192, 3194, 55, 4307, 31, 202, 202, 90, 79, 863, 63, 23, 65, 273, 23737, 18, 58, 47, 67, 41, 31, 368, 2660, 294, 21674, 358, 3196, 202, 90, 79, 863, 63, 24, 65, 273, 23737, 18, 58, 47, 67, 18980, 2290, 48, 31, 202, 202, 90, 79, 863, 63, 25, 65, 273, 23737, 18, 58, 47, 67, 18980, 31, 202, 202, 2 ]
update(createInitialContext());
fUpdatingCount++; try { update(createInitialContext()); } finally { fUpdatingCount--; }
public final void initialize() { update(createInitialContext()); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/e7464d9a0db0b4ad6e42cef9a8fb5979a58c93da/DefaultJavaFoldingStructureProvider.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4046, 1435, 288, 202, 202, 2725, 12, 2640, 4435, 1042, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4046, 1435, 288, 202, 202, 2725, 12, 2640, 4435, 1042, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Class getColumnClass(int columnIndex) {
public Class getColumnClass(int columnIndex) {
public Class getColumnClass(int columnIndex) { return types[columnIndex]; }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/d4a93c3315c8aa9b9d64e1c03577610a1dbca61d/SchemaExplorer.java/clean/src/main/mondrian/gui/SchemaExplorer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 1659, 6716, 797, 12, 474, 14882, 13, 288, 9506, 202, 2463, 1953, 63, 2827, 1016, 15533, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 1659, 6716, 797, 12, 474, 14882, 13, 288, 9506, 202, 2463, 1953, 63, 2827, 1016, 15533, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if (instance instanceof Writable) { ((Writable)instance).write(out);
private static void writeObject(DataOutput out, Object instance, Class theClass) throws IOException { if (instance == null) { // null instance = new NullInstance(theClass); theClass = NullInstance.class; } UTF8.writeString(out, theClass.getName()); if (theClass.isArray()) { // array int length = Array.getLength(instance); out.writeInt(length); for (int i = 0; i < length; i++) { writeObject(out, Array.get(instance, i), theClass.getComponentType()); } } else if (theClass == String.class) { // String UTF8.writeString(out, (String)instance); } else if (theClass.isPrimitive()) { // primitive type if (theClass == Boolean.TYPE) { // boolean out.writeBoolean(((Boolean)instance).booleanValue()); } else if (theClass == Character.TYPE) { // char out.writeChar(((Character)instance).charValue()); } else if (theClass == Byte.TYPE) { // byte out.writeByte(((Byte)instance).byteValue()); } else if (theClass == Short.TYPE) { // short out.writeShort(((Short)instance).shortValue()); } else if (theClass == Integer.TYPE) { // int out.writeInt(((Integer)instance).intValue()); } else if (theClass == Long.TYPE) { // long out.writeLong(((Long)instance).longValue()); } else if (theClass == Float.TYPE) { // float out.writeFloat(((Float)instance).floatValue()); } else if (theClass == Double.TYPE) { // double out.writeDouble(((Double)instance).doubleValue()); } else if (theClass == Void.TYPE) { // void } else { throw new IllegalArgumentException("Not a known primitive: "+theClass); } } else if (instance instanceof Writable) { // Writable ((Writable)instance).write(out); } else { throw new IOException("Can't write: " + instance + " as " + theClass); } }
1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/1e027c52d3746fdda27eb01324ca3994c20e6293/RPC.java/clean/src/java/org/apache/nutch/ipc/RPC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 16306, 12, 751, 1447, 596, 16, 1033, 791, 16, 21394, 1659, 326, 797, 13, 1216, 1860, 288, 565, 309, 261, 1336, 422, 446, 13, 288, 15604, 368, 446, 1377, 791, 273, 394, 4112, 1442, 12, 5787, 797, 1769, 1377, 326, 797, 273, 4112, 1442, 18, 1106, 31, 565, 289, 565, 6380, 28, 18, 2626, 780, 12, 659, 16, 326, 797, 18, 17994, 10663, 565, 309, 261, 5787, 797, 18, 291, 1076, 10756, 288, 5397, 368, 526, 1377, 509, 769, 273, 1510, 18, 588, 1782, 12, 1336, 1769, 1377, 596, 18, 2626, 1702, 12, 2469, 1769, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 3639, 16306, 12, 659, 16, 1510, 18, 588, 12, 1336, 16, 277, 3631, 326, 797, 18, 588, 28116, 10663, 1377, 289, 1850, 289, 469, 309, 261, 5787, 797, 422, 514, 18, 1106, 13, 288, 3639, 368, 514, 1377, 6380, 28, 18, 2626, 780, 12, 659, 16, 261, 780, 13, 1336, 1769, 1850, 289, 469, 309, 261, 5787, 797, 18, 291, 9840, 10756, 288, 1850, 368, 8225, 618, 1377, 309, 261, 5787, 797, 422, 3411, 18, 2399, 13, 288, 5411, 368, 1250, 3639, 596, 18, 2626, 5507, 12443, 12, 5507, 13, 1336, 2934, 6494, 620, 10663, 1377, 289, 469, 309, 261, 5787, 797, 422, 6577, 18, 2399, 13, 288, 565, 368, 1149, 3639, 596, 18, 2626, 2156, 12443, 12, 7069, 13, 1336, 2934, 3001, 620, 10663, 1377, 289, 469, 309, 261, 5787, 797, 422, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 16306, 12, 751, 1447, 596, 16, 1033, 791, 16, 21394, 1659, 326, 797, 13, 1216, 1860, 288, 565, 309, 261, 1336, 422, 446, 13, 288, 15604, 368, 446, 1377, 791, 273, 394, 4112, 1442, 12, 5787, 797, 1769, 1377, 326, 797, 273, 4112, 1442, 18, 1106, 31, 565, 289, 565, 6380, 28, 18, 2626, 780, 12, 659, 16, 326, 797, 18, 17994, 10663, 565, 309, 261, 5787, 797, 18, 291, 1076, 10756, 288, 5397, 368, 526, 1377, 509, 769, 273, 1510, 18, 588, 1782, 12, 1336, 1769, 1377, 596, 18, 2626, 1702, 12, 2469, 1769, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 3639, 16306, 12, 659, 16, 2 ]
protected void internalReceiveReply(Reply reply) throws java.io.IOException { if (messageEventProducer != null) messageEventProducer.notifyListeners(reply, MessageEvent.REPLY_RECEIVED, bodyID); replyReceiver.receiveReply(reply, this, getFuturePool()); }
protected void internalReceiveReply(Reply reply) throws java.io.IOException { if (messageEventProducer != null) messageEventProducer.notifyListeners(reply, MessageEvent.REPLY_RECEIVED, bodyID); replyReceiver.receiveReply(reply, this, getFuturePool()); }
protected void internalReceiveReply(Reply reply) throws java.io.IOException { if (messageEventProducer != null) messageEventProducer.notifyListeners(reply, MessageEvent.REPLY_RECEIVED, bodyID); replyReceiver.receiveReply(reply, this, getFuturePool()); }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/625cd3611da648072e66b62b74a66e1548e31628/BodyImpl.java/buggy/src/org/objectweb/proactive/core/body/BodyImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 2713, 11323, 7817, 12, 7817, 4332, 13, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 309, 261, 2150, 1133, 12140, 480, 446, 13, 1377, 883, 1133, 12140, 18, 12336, 5583, 12, 10629, 16, 2350, 1133, 18, 862, 23893, 67, 27086, 20764, 16, 1417, 734, 1769, 565, 4332, 12952, 18, 18149, 7817, 12, 10629, 16, 333, 16, 2812, 2241, 2864, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 2713, 11323, 7817, 12, 7817, 4332, 13, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 309, 261, 2150, 1133, 12140, 480, 446, 13, 1377, 883, 1133, 12140, 18, 12336, 5583, 12, 10629, 16, 2350, 1133, 18, 862, 23893, 67, 27086, 20764, 16, 1417, 734, 1769, 565, 4332, 12952, 18, 18149, 7817, 12, 10629, 16, 333, 16, 2812, 2241, 2864, 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 ]
xsqlvar.sqldata = new String(db.in.readOpaque(xsqlvar.sqllen));
xsqlvar.sqldata = db.in.readOpaque(xsqlvar.sqllen);
private Object readSQLDatum(isc_db_handle_impl db, XSQLVAR xsqlvar) throws GDSException { try { switch (xsqlvar.sqltype & ~1) { case SQL_TEXT: xsqlvar.sqldata = new String(db.in.readOpaque(xsqlvar.sqllen)); break; case SQL_VARYING: xsqlvar.sqldata = new String(db.in.readOpaque(db.in.readInt())); break; case SQL_SHORT: xsqlvar.sqldata = new Short((short) db.in.readInt()); break; case SQL_LONG: xsqlvar.sqldata = new Integer(db.in.readInt()); break; case SQL_FLOAT: xsqlvar.sqldata = new Float(db.in.readFloat()); break; case SQL_DOUBLE: xsqlvar.sqldata = new Double(db.in.readDouble()); break;// case SQL_D_FLOAT:// break; case SQL_TIMESTAMP: xsqlvar.sqldata = new java.sql.Timestamp( decodeDate(db.in.readInt()).getTime() + decodeTime(db.in.readInt()).getTime()); break; case SQL_BLOB: xsqlvar.sqldata = new Long(db.in.readLong()); break; case SQL_ARRAY: xsqlvar.sqldata = new Long(db.in.readLong()); break; case SQL_QUAD: xsqlvar.sqldata = new Long(db.in.readLong()); break; case SQL_TYPE_TIME: xsqlvar.sqldata = decodeTime(db.in.readInt()); break; case SQL_TYPE_DATE: xsqlvar.sqldata = decodeDate(db.in.readInt()); break; case SQL_INT64: xsqlvar.sqldata = new Long(db.in.readLong()); break; } xsqlvar.sqlind = db.in.readInt(); if (xsqlvar.sqlind == 0) { return xsqlvar.sqldata; } else if (xsqlvar.sqlind == -1) { return null; } else { throw new GDSException("invalid sqlind value: " + xsqlvar.sqlind); } } catch (IOException ex) { throw new GDSException(isc_net_read_err); } }
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/bc1fb4739702b6ce42c7d12ba750773d64acc238/GDS_Impl.java/buggy/src/org/firebirdsql/jgds/GDS_Impl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 855, 3997, 18268, 12, 291, 71, 67, 1966, 67, 4110, 67, 11299, 1319, 16, 4766, 1139, 3997, 7716, 619, 4669, 1401, 13, 1216, 611, 3948, 503, 288, 3639, 775, 288, 5411, 1620, 261, 92, 4669, 1401, 18, 4669, 723, 473, 4871, 21, 13, 288, 7734, 648, 3063, 67, 5151, 30, 10792, 619, 4669, 1401, 18, 4669, 892, 273, 13491, 394, 514, 12, 1966, 18, 267, 18, 896, 3817, 14886, 12, 92, 4669, 1401, 18, 4669, 1897, 10019, 10792, 898, 31, 7734, 648, 3063, 67, 58, 6043, 1360, 30, 10792, 619, 4669, 1401, 18, 4669, 892, 273, 13491, 394, 514, 12, 1966, 18, 267, 18, 896, 3817, 14886, 12, 1966, 18, 267, 18, 896, 1702, 1435, 10019, 10792, 898, 31, 7734, 648, 3063, 67, 15993, 30, 10792, 619, 4669, 1401, 18, 4669, 892, 273, 394, 7925, 12443, 6620, 13, 1319, 18, 267, 18, 896, 1702, 10663, 10792, 898, 31, 7734, 648, 3063, 67, 14639, 30, 10792, 619, 4669, 1401, 18, 4669, 892, 273, 394, 2144, 12, 1966, 18, 267, 18, 896, 1702, 10663, 10792, 898, 31, 7734, 648, 3063, 67, 15640, 30, 10792, 619, 4669, 1401, 18, 4669, 892, 273, 394, 5450, 12, 1966, 18, 267, 18, 896, 4723, 10663, 10792, 898, 31, 7734, 648, 3063, 67, 17088, 30, 10792, 619, 4669, 1401, 18, 4669, 892, 273, 394, 3698, 12, 1966, 18, 267, 18, 896, 5265, 10663, 10792, 898, 31, 759, 5411, 648, 3063, 67, 40, 67, 15640, 2207, 7734, 898, 31, 7734, 648, 3063, 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, 1033, 855, 3997, 18268, 12, 291, 71, 67, 1966, 67, 4110, 67, 11299, 1319, 16, 4766, 1139, 3997, 7716, 619, 4669, 1401, 13, 1216, 611, 3948, 503, 288, 3639, 775, 288, 5411, 1620, 261, 92, 4669, 1401, 18, 4669, 723, 473, 4871, 21, 13, 288, 7734, 648, 3063, 67, 5151, 30, 10792, 619, 4669, 1401, 18, 4669, 892, 273, 13491, 394, 514, 12, 1966, 18, 267, 18, 896, 3817, 14886, 12, 92, 4669, 1401, 18, 4669, 1897, 10019, 10792, 898, 31, 7734, 648, 3063, 67, 58, 6043, 1360, 30, 10792, 619, 4669, 1401, 18, 4669, 892, 273, 13491, 394, 514, 12, 1966, 18, 267, 18, 896, 3817, 14886, 12, 1966, 18, 267, 18, 896, 1702, 1435, 10019, 2 ]
{ return visibles; }
{ return visibleRowCount; }
public int getVisibleRowCount() { return visibles; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0788b89b7368770a1157f825d60dd8c5a9df183e/JList.java/buggy/core/src/classpath/javax/javax/swing/JList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 31564, 26359, 1435, 565, 288, 327, 2281, 495, 1040, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 31564, 26359, 1435, 565, 288, 327, 2281, 495, 1040, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
EOModelGroup group = EOModelGroup.modelGroupForObjectStoreCoordinator((EOObjectStoreCoordinator)ec.rootObjectStore()); EOEntity entity = group.entityNamed(entityName);
EOEntity entity = ERXEOAccessUtilities.entityNamed(ec, entityName);
public static EOFetchSpecification primaryKeyFetchSpecificationForEntity(EOEditingContext ec, String entityName, EOQualifier eoqualifier, NSArray sortOrderings, NSArray additionalKeys) { EOModelGroup group = EOModelGroup.modelGroupForObjectStoreCoordinator((EOObjectStoreCoordinator)ec.rootObjectStore()); EOEntity entity = group.entityNamed(entityName); EOFetchSpecification fs = new EOFetchSpecification(entityName, eoqualifier, sortOrderings); fs.setFetchesRawRows(true); NSMutableArray keys = new NSMutableArray(entity.primaryKeyAttributeNames()); if (additionalKeys != null) { keys.addObjectsFromArray(additionalKeys); } fs.setRawRowKeyPaths(keys); return fs; }
810 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/810/e1e06fa0a1d916e087aac4f7cafa2f449ca12748/ERXEOControlUtilities.java/buggy/Wonder/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXEOControlUtilities.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 6431, 1593, 8615, 8841, 5005, 8615, 1290, 1943, 12, 41, 51, 28029, 1042, 6557, 16, 28524, 1377, 514, 14868, 16, 28524, 1377, 512, 51, 16185, 425, 83, 28157, 16, 28524, 1377, 11472, 1076, 19050, 899, 16, 28524, 1377, 11472, 1076, 3312, 2396, 13, 288, 3639, 512, 51, 1488, 1114, 1041, 273, 512, 51, 1488, 1114, 18, 2284, 1114, 1290, 921, 2257, 25307, 12443, 41, 51, 921, 2257, 25307, 13, 557, 18, 3085, 921, 2257, 10663, 3639, 512, 51, 1943, 1522, 273, 1041, 18, 1096, 7604, 12, 1096, 461, 1769, 3639, 6431, 1593, 8615, 2662, 273, 394, 6431, 1593, 8615, 12, 1096, 461, 16, 425, 83, 28157, 16, 19050, 899, 1769, 3639, 2662, 18, 542, 14288, 4809, 4300, 12, 3767, 1769, 3639, 423, 7303, 3050, 1076, 1311, 273, 394, 423, 7303, 3050, 1076, 12, 1096, 18, 8258, 653, 26080, 10663, 3639, 309, 261, 13996, 2396, 480, 446, 13, 288, 5411, 1311, 18, 1289, 4710, 16638, 12, 13996, 2396, 1769, 3639, 289, 3639, 2662, 18, 542, 4809, 1999, 653, 4466, 12, 2452, 1769, 3639, 327, 2662, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 6431, 1593, 8615, 8841, 5005, 8615, 1290, 1943, 12, 41, 51, 28029, 1042, 6557, 16, 28524, 1377, 514, 14868, 16, 28524, 1377, 512, 51, 16185, 425, 83, 28157, 16, 28524, 1377, 11472, 1076, 19050, 899, 16, 28524, 1377, 11472, 1076, 3312, 2396, 13, 288, 3639, 512, 51, 1488, 1114, 1041, 273, 512, 51, 1488, 1114, 18, 2284, 1114, 1290, 921, 2257, 25307, 12443, 41, 51, 921, 2257, 25307, 13, 557, 18, 3085, 921, 2257, 10663, 3639, 512, 51, 1943, 1522, 273, 1041, 18, 1096, 7604, 12, 1096, 461, 1769, 3639, 6431, 1593, 8615, 2662, 273, 394, 6431, 1593, 8615, 12, 1096, 461, 16, 425, 83, 28157, 16, 19050, 899, 1769, 3639, 2662, 18, 542, 14288, 4809, 2 ]
m_lastChunk = l >>> m_chunkBits; m_firstFree = l & m_chunkMask;
m_lastChunk = l >>> m_chunkBits; if(m_lastChunk==0 && m_innerFSB!=null) { m_innerFSB.setLength(l,this); } else { m_firstFree = l & m_chunkMask; }
public final void setLength(int l) { m_lastChunk = l >>> m_chunkBits; m_firstFree = l & m_chunkMask; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/94fe6f440f6847ceaa33f7a4a6c1d587c94985a0/FastStringBuffer.java/clean/src/org/apache/xml/utils/FastStringBuffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 15683, 12, 474, 328, 13, 225, 288, 565, 312, 67, 2722, 5579, 273, 328, 4080, 312, 67, 6551, 6495, 31, 565, 312, 67, 3645, 9194, 273, 328, 225, 473, 225, 312, 67, 6551, 5796, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 15683, 12, 474, 328, 13, 225, 288, 565, 312, 67, 2722, 5579, 273, 328, 4080, 312, 67, 6551, 6495, 31, 565, 312, 67, 3645, 9194, 273, 328, 225, 473, 225, 312, 67, 6551, 5796, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public FunContains(XQueryContext context) {
public FunContains(XQueryContext context, FunctionSignature signature) {
public FunContains(XQueryContext context) { super(context, signature); }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/5b79c2c13684b7af9cd45f502c48d1f0d4f0f1fe/FunContains.java/clean/src/org/exist/xquery/functions/FunContains.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 478, 318, 10846, 12, 60, 1138, 1042, 819, 13, 288, 202, 202, 9565, 12, 2472, 16, 3372, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 478, 318, 10846, 12, 60, 1138, 1042, 819, 13, 288, 202, 202, 9565, 12, 2472, 16, 3372, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super(runtime, null, superClass, runtime.getClasses().getObjectClass(), "Class", RubyClass.class);
super(runtime, null, superClass, runtime.getObject(), "Class", RubyClass.class);
public ClassMetaClass(Ruby runtime, RubyClass superClass) { super(runtime, null, superClass, runtime.getClasses().getObjectClass(), "Class", RubyClass.class); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/ca6b16e996ea9af83ce593594b9c69b9364a9924/ClassMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/ClassMetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 2781, 797, 12, 54, 10340, 3099, 16, 19817, 797, 18846, 13, 288, 377, 202, 9565, 12, 9448, 16, 446, 16, 18846, 16, 3099, 18, 588, 921, 9334, 315, 797, 3113, 19817, 797, 18, 1106, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 1659, 2781, 797, 12, 54, 10340, 3099, 16, 19817, 797, 18846, 13, 288, 377, 202, 9565, 12, 9448, 16, 446, 16, 18846, 16, 3099, 18, 588, 921, 9334, 315, 797, 3113, 19817, 797, 18, 1106, 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 ]
logger.debug("Cached revision is: " + getCachedRevision());
private void load() throws CacheException { final ObjectInputStream inputStream; if (cacheFile.exists()) { try { inputStream = new ObjectInputStream(new FileInputStream(cacheFile)); setCachedRevision(inputStream.readLong()); setEntries((Set<RepositoryEntry>) inputStream.readObject()); logger.debug("Cached revision is: " + getCachedRevision()); logger.debug("Number of loaded cached entries: " + getSize()); } catch (Exception ex) { throw new CacheException("Unable to read entryCache file", ex); } } else { // No serialized cachefile exsisted - initialize an empty one. setEntries(Collections.checkedSet(new TreeSet<RepositoryEntry>( new RepositoryEntryComparator(RepositoryEntryComparator.SortType.FULL_NAME, false)), RepositoryEntry.class)); } }
50734 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50734/ed4cd20163ca361e2ef416348c11272f80a88b21/DiskCache.java/buggy/sventon/dev/java/src/de/berlios/sventon/repository/cache/entrycache/DiskCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1262, 1435, 1216, 4379, 503, 288, 565, 727, 22726, 10010, 31, 565, 309, 261, 2493, 812, 18, 1808, 10756, 288, 1377, 775, 288, 3639, 10010, 273, 394, 22726, 12, 2704, 11907, 12, 2493, 812, 10019, 3639, 444, 9839, 7939, 12, 2630, 1228, 18, 896, 3708, 10663, 3639, 444, 5400, 12443, 694, 32, 3305, 1622, 23429, 10010, 18, 896, 921, 10663, 9079, 1194, 18, 4148, 2932, 1854, 434, 4203, 3472, 3222, 30, 315, 397, 9950, 10663, 1377, 289, 1044, 261, 503, 431, 13, 288, 3639, 604, 394, 4379, 503, 2932, 3370, 358, 855, 1241, 1649, 585, 3113, 431, 1769, 1377, 289, 565, 289, 469, 288, 1377, 368, 2631, 5343, 1247, 768, 431, 87, 25444, 300, 4046, 392, 1008, 1245, 18, 1377, 444, 5400, 12, 15150, 18, 4532, 694, 12, 2704, 19461, 32, 3305, 1622, 34, 12, 1850, 394, 6281, 1622, 5559, 12, 3305, 1622, 5559, 18, 4416, 559, 18, 18111, 67, 1985, 16, 629, 13, 3631, 1850, 6281, 1622, 18, 1106, 10019, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1262, 1435, 1216, 4379, 503, 288, 565, 727, 22726, 10010, 31, 565, 309, 261, 2493, 812, 18, 1808, 10756, 288, 1377, 775, 288, 3639, 10010, 273, 394, 22726, 12, 2704, 11907, 12, 2493, 812, 10019, 3639, 444, 9839, 7939, 12, 2630, 1228, 18, 896, 3708, 10663, 3639, 444, 5400, 12443, 694, 32, 3305, 1622, 23429, 10010, 18, 896, 921, 10663, 9079, 1194, 18, 4148, 2932, 1854, 434, 4203, 3472, 3222, 30, 315, 397, 9950, 10663, 1377, 289, 1044, 261, 503, 431, 13, 288, 3639, 604, 394, 4379, 503, 2932, 3370, 358, 855, 1241, 1649, 585, 3113, 431, 1769, 1377, 289, 565, 289, 469, 288, 1377, 368, 2631, 5343, 1247, 768, 431, 87, 25444, 300, 4046, 392, 2 ]
if (sortOrder.equals(BY_CLASS)) return bugInstanceByClassComparator; else if (sortOrder.equals(BY_PACKAGE)) return bugInstanceByPackageComparator; else if (sortOrder.equals(BY_CATEGORY)) return bugInstanceByCategoryComparator; else throw new IllegalArgumentException("Bad sort order: " + sortOrder);
if (sortOrder.equals(BY_CLASS)) return bugInstanceByClassComparator; else if (sortOrder.equals(BY_PACKAGE)) return bugInstanceByPackageComparator; else if (sortOrder.equals(BY_CATEGORY)) return bugInstanceByCategoryComparator; else throw new IllegalArgumentException("Bad sort order: " + sortOrder);
private Comparator getBugInstanceComparator(String sortOrder) { if (sortOrder.equals(BY_CLASS)) return bugInstanceByClassComparator; else if (sortOrder.equals(BY_PACKAGE)) return bugInstanceByPackageComparator; else if (sortOrder.equals(BY_CATEGORY)) return bugInstanceByCategoryComparator; else throw new IllegalArgumentException("Bad sort order: " + sortOrder); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/e10335340ef9c432b558bca8aceb9973af1fb250/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 13359, 2882, 637, 1442, 5559, 12, 780, 19050, 13, 288, 3639, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 5237, 3719, 5411, 327, 7934, 1442, 30032, 5559, 31, 3639, 469, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 19077, 3719, 5411, 327, 7934, 1442, 858, 2261, 5559, 31, 3639, 469, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 24847, 3719, 5411, 327, 7934, 1442, 858, 4457, 5559, 31, 3639, 469, 5411, 604, 394, 2754, 2932, 6434, 1524, 1353, 30, 315, 397, 19050, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 13359, 2882, 637, 1442, 5559, 12, 780, 19050, 13, 288, 3639, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 5237, 3719, 5411, 327, 7934, 1442, 30032, 5559, 31, 3639, 469, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 19077, 3719, 5411, 327, 7934, 1442, 858, 2261, 5559, 31, 3639, 469, 309, 261, 3804, 2448, 18, 14963, 12, 6486, 67, 24847, 3719, 5411, 327, 7934, 1442, 858, 4457, 5559, 31, 3639, 469, 5411, 604, 394, 2754, 2932, 6434, 1524, 1353, 30, 315, 397, 19050, 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 ]
assertTrue("u5a returns a wrong protocol", u5a.getProtocol() .equals("file"));
assertEquals("u5a returns a wrong protocol", "file", u5a.getProtocol() );
public void test_ConstructorLjava_lang_String() { // Test for method java.net.URL(java.lang.String) // Tests for multiple URL instantiation try { // basic parsing test u = new URL( "http://www.yahoo1.com:8080/dir1/dir2/test.cgi?point1.html#anchor1"); assertTrue("u returns a wrong protocol", u.getProtocol().equals( "http")); assertTrue("u returns a wrong host", u.getHost().equals( "www.yahoo1.com")); assertTrue("u returns a wrong port", u.getPort() == 8080); assertTrue("u returns a wrong file", u.getFile().equals( "/dir1/dir2/test.cgi?point1.html")); assertTrue("u returns a wrong anchor", u.getRef().equals("anchor1")); // test for no file u1 = new URL("http://www.yahoo2.com:9999"); assertTrue("u1 returns a wrong protocol", u1.getProtocol().equals( "http")); assertTrue("u1 returns a wrong host", u1.getHost().equals( "www.yahoo2.com")); assertTrue("u1 returns a wrong port", u1.getPort() == 9999); assertTrue("u1 returns a wrong file", u1.getFile().equals("")); assertTrue("u1 returns a wrong anchor", u1.getRef() == null); // test for no port u2 = new URL( "http://www.yahoo3.com/dir1/dir2/test.cgi?point1.html#anchor1"); assertTrue("u2 returns a wrong protocol", u2.getProtocol().equals( "http")); assertTrue("u2 returns a wrong host", u2.getHost().equals( "www.yahoo3.com")); assertTrue("u2 returns a wrong port", u2.getPort() == -1); assertTrue("u2 returns a wrong file", u2.getFile().equals( "/dir1/dir2/test.cgi?point1.html")); assertTrue("u2 returns a wrong anchor", u2.getRef().equals( "anchor1")); // test for no port URL u2a = new URL( "file://www.yahoo3.com/dir1/dir2/test.cgi#anchor1"); assertTrue("u2a returns a wrong protocol", u2a.getProtocol() .equals("file")); assertTrue("u2a returns a wrong host", u2a.getHost().equals( "www.yahoo3.com")); assertTrue("u2a returns a wrong port", u2a.getPort() == -1); assertTrue("u2a returns a wrong file", u2a.getFile().equals( "/dir1/dir2/test.cgi")); assertTrue("u2a returns a wrong anchor", u2a.getRef().equals( "anchor1")); // test for no file, no port u3 = new URL("http://www.yahoo4.com/"); assertTrue("u3 returns a wrong protocol", u3.getProtocol().equals( "http")); assertTrue("u3 returns a wrong host", u3.getHost().equals( "www.yahoo4.com")); assertTrue("u3 returns a wrong port", u3.getPort() == -1); assertTrue("u3 returns a wrong file", u3.getFile().equals("/")); assertTrue("u3 returns a wrong anchor", u3.getRef() == null); // test for no file, no port URL u3a = new URL("file://www.yahoo4.com/"); assertTrue("u3a returns a wrong protocol", u3a.getProtocol() .equals("file")); assertTrue("u3a returns a wrong host", u3a.getHost().equals( "www.yahoo4.com")); assertTrue("u3a returns a wrong port", u3a.getPort() == -1); assertTrue("u3a returns a wrong file", u3a.getFile().equals("/")); assertTrue("u3a returns a wrong anchor", u3a.getRef() == null); // test for no file, no port URL u3b = new URL("file://www.yahoo4.com"); assertTrue("u3b returns a wrong protocol", u3b.getProtocol() .equals("file")); assertTrue("u3b returns a wrong host", u3b.getHost().equals( "www.yahoo4.com")); assertTrue("u3b returns a wrong port", u3b.getPort() == -1); assertTrue("u3b returns a wrong file", u3b.getFile().equals("")); assertTrue("u3b returns a wrong anchor", u3b.getRef() == null); // test for non-port ":" and wierd characters occurrences u4 = new URL( "http://www.yahoo5.com/di!@$%^&*()_+r1/di:::r2/test.cgi?point1.html#anchor1"); assertTrue("u4 returns a wrong protocol", u4.getProtocol().equals( "http")); assertTrue("u4 returns a wrong host", u4.getHost().equals( "www.yahoo5.com")); assertTrue("u4 returns a wrong port", u4.getPort() == -1); assertTrue("u4 returns a wrong file", u4.getFile().equals( "/di!@$%^&*()_+r1/di:::r2/test.cgi?point1.html")); assertTrue("u4 returns a wrong anchor", u4.getRef().equals( "anchor1")); u5 = new URL("file:/testing.tst"); assertTrue("u5 returns a wrong protocol", u5.getProtocol().equals( "file")); assertTrue("u5 returns a wrong host", u5.getHost().equals("")); assertTrue("u5 returns a wrong port", u5.getPort() == -1); assertTrue("u5 returns a wrong file", u5.getFile().equals( "/testing.tst")); assertTrue("u5 returns a wrong anchor", u5.getRef() == null); URL u5a = new URL("file:testing.tst"); assertTrue("u5a returns a wrong protocol", u5a.getProtocol() .equals("file")); assertTrue("u5a returns a wrong host", u5a.getHost().equals("")); assertTrue("u5a returns a wrong port", u5a.getPort() == -1); assertTrue("u5a returns a wrong file", u5a.getFile().equals( "testing.tst")); assertTrue("u5a returns a wrong anchor", u5a.getRef() == null); URL u6 = new URL("http://host:/file"); assertTrue("u6 return a wrong port", u6.getPort() == -1); URL u7 = new URL("file:../../file.txt"); assertTrue("u7 returns a wrong file: " + u7.getFile(), u7.getFile() .equals("../../file.txt")); URL u8 = new URL("http://[fec0::1:20d:60ff:fe24:7410]:35/file.txt"); assertTrue("u8 returns a wrong protocol " + u8.getProtocol(), u8 .getProtocol().equals("http")); assertTrue("u8 returns a wrong host " + u8.getHost(), u8.getHost() .equals("[fec0::1:20d:60ff:fe24:7410]")); assertTrue("u8 returns a wrong port " + u8.getPort(), u8.getPort() == 35); assertTrue("u8 returns a wrong file " + u8.getFile(), u8.getFile() .equals("/file.txt")); assertTrue("u8 returns a wrong anchor " + u8.getRef(), u8.getRef() == null); URL u9 = new URL( "file://[fec0::1:20d:60ff:fe24:7410]/file.txt#sogood"); assertTrue("u9 returns a wrong protocol " + u9.getProtocol(), u9 .getProtocol().equals("file")); assertTrue("u9 returns a wrong host " + u9.getHost(), u9.getHost() .equals("[fec0::1:20d:60ff:fe24:7410]")); assertTrue("u9 returns a wrong port " + u9.getPort(), u9.getPort() == -1); assertTrue("u9 returns a wrong file " + u9.getFile(), u9.getFile() .equals("/file.txt")); assertTrue("u9 returns a wrong anchor " + u9.getRef(), u9.getRef() .equals("sogood")); URL u10 = new URL("file://[fec0::1:20d:60ff:fe24:7410]"); assertTrue("u10 returns a wrong protocol " + u10.getProtocol(), u10 .getProtocol().equals("file")); assertTrue("u10 returns a wrong host " + u10.getHost(), u10 .getHost().equals("[fec0::1:20d:60ff:fe24:7410]")); assertTrue("u10 returns a wrong port " + u10.getPort(), u10 .getPort() == -1); } catch (Exception e) { fail("Exception during tests : " + e.getMessage()); } // test for error catching // Bad HTTP format - no "//" try { u = new URL( "http:www.yahoo5.com::22/dir1/di:::r2/test.cgi?point1.html#anchor1"); } catch (MalformedURLException e) { fail("1 Should not have thrown MalformedURLException : " + e.getMessage()); } catch (Exception e) { fail("1 Threw exception : " + e.getMessage()); } caught = false; try { u = new URL( "http://www.yahoo5.com::22/dir1/di:::r2/test.cgi?point1.html#anchor1"); } catch (MalformedURLException e) { caught = true; } catch (Exception e) { fail("2 Threw exception : " + e.getMessage()); } assertTrue("Should have throw MalformedURLException", caught); // unknown protocol try { u = new URL("myProtocol://www.yahoo.com:22"); } catch (MalformedURLException e) { caught = true; } catch (Exception e) { fail("3 Threw the wrong kind of exception : " + e); } assertTrue("3 Failed to throw MalformedURLException", caught); caught = false; // no protocol try { u = new URL("www.yahoo.com"); } catch (MalformedURLException e) { caught = true; } catch (Exception e) { fail("4 Threw the wrong kind of exception : " + e); } assertTrue("4 Failed to throw MalformedURLException", caught); caught = false; URL u1 = null; try { // No leading or trailing spaces. u1 = new URL("file:/some/path"); assertEquals("5 got wrong file length1", 10, u1.getFile().length()); // Leading spaces. u1 = new URL(" file:/some/path"); assertEquals("5 got wrong file length2", 10, u1.getFile().length()); // Trailing spaces. u1 = new URL("file:/some/path "); assertEquals("5 got wrong file length3", 10, u1.getFile().length()); // Leading and trailing. u1 = new URL(" file:/some/path "); assertEquals("5 got wrong file length4", 10, u1.getFile().length()); // in-place spaces. u1 = new URL(" file: /some/path "); assertEquals("5 got wrong file length5", 12, u1.getFile().length()); } catch (MalformedURLException e) { fail("5 Did not expect the exception " + e); } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/181e940cd92dfff67639d98e991206d375a987ea/URLTest.java/buggy/modules/luni/src/test/java/tests/api/java/net/URLTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 6293, 21159, 67, 4936, 67, 780, 1435, 288, 202, 202, 759, 7766, 364, 707, 2252, 18, 2758, 18, 1785, 12, 6290, 18, 4936, 18, 780, 13, 202, 202, 759, 7766, 87, 364, 3229, 1976, 28380, 202, 202, 698, 288, 1082, 202, 759, 5337, 5811, 1842, 1082, 202, 89, 273, 394, 1976, 12, 6862, 202, 6, 2505, 2207, 5591, 18, 93, 9795, 5161, 21, 18, 832, 30, 3672, 3672, 19, 1214, 21, 19, 1214, 22, 19, 3813, 18, 19062, 35, 1153, 21, 18, 2620, 7, 16215, 21, 8863, 1082, 202, 11231, 5510, 2932, 89, 1135, 279, 7194, 1771, 3113, 582, 18, 588, 5752, 7675, 14963, 12, 6862, 202, 6, 2505, 7923, 1769, 1082, 202, 11231, 5510, 2932, 89, 1135, 279, 7194, 1479, 3113, 582, 18, 588, 2594, 7675, 14963, 12, 6862, 202, 6, 5591, 18, 93, 9795, 5161, 21, 18, 832, 7923, 1769, 1082, 202, 11231, 5510, 2932, 89, 1135, 279, 7194, 1756, 3113, 582, 18, 588, 2617, 1435, 422, 8958, 3672, 1769, 1082, 202, 11231, 5510, 2932, 89, 1135, 279, 7194, 585, 3113, 582, 18, 29925, 7675, 14963, 12, 6862, 202, 6, 19, 1214, 21, 19, 1214, 22, 19, 3813, 18, 19062, 35, 1153, 21, 18, 2620, 7923, 1769, 1082, 202, 11231, 5510, 2932, 89, 1135, 279, 7194, 6984, 3113, 582, 18, 588, 1957, 7675, 14963, 2932, 16215, 21, 7923, 1769, 1082, 202, 759, 1842, 364, 1158, 585, 1082, 202, 89, 21, 273, 394, 1976, 2932, 2505, 2207, 5591, 18, 93, 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, 67, 6293, 21159, 67, 4936, 67, 780, 1435, 288, 202, 202, 759, 7766, 364, 707, 2252, 18, 2758, 18, 1785, 12, 6290, 18, 4936, 18, 780, 13, 202, 202, 759, 7766, 87, 364, 3229, 1976, 28380, 202, 202, 698, 288, 1082, 202, 759, 5337, 5811, 1842, 1082, 202, 89, 273, 394, 1976, 12, 6862, 202, 6, 2505, 2207, 5591, 18, 93, 9795, 5161, 21, 18, 832, 30, 3672, 3672, 19, 1214, 21, 19, 1214, 22, 19, 3813, 18, 19062, 35, 1153, 21, 18, 2620, 7, 16215, 21, 8863, 1082, 202, 11231, 5510, 2932, 89, 1135, 279, 7194, 1771, 3113, 582, 18, 588, 5752, 7675, 14963, 12, 6862, 202, 6, 2505, 7923, 1769, 1082, 202, 2 ]
in.seek(DataTools.read4UnsignedBytes(in, littleEndian));
int pointer = (int) DataTools.read4UnsignedBytes(in, littleEndian); in.reset(); in.mark(fileLength); in.skipBytes(pointer);
private Hashtable parseIFD(int offset) { try { in.seek(offset); Hashtable newIFD = new Hashtable(); int numEntries = DataTools.read2UnsignedBytes(in, littleEndian); for (int i=0; i<numEntries; i++) { int tag = DataTools.read2UnsignedBytes(in, littleEndian); int type = DataTools.read2UnsignedBytes(in, littleEndian); int count = (int) DataTools.read4UnsignedBytes(in, littleEndian); if (count < 0) break; // invalid data Object value = null; if (tag == MAKER_NOTE) { long pt = in.getFilePointer(); makerNoteOffset = (int) DataTools.read4UnsignedBytes(in, littleEndian); in.seek(pt); } long pos = in.getFilePointer() + 4; if (type == TiffTools.BYTE) { // 8-bit unsigned integer short[] bytes = new short[count]; if (count > 4) { in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); } for (int j=0; j<count; j++) { bytes[j] = DataTools.readUnsignedByte(in); } if (bytes.length == 1) value = new Short(bytes[0]); else value = bytes; } else if (type == TiffTools.ASCII) { // 8-bit byte that contain a 7-bit ASCII code; // the last byte must be NUL (binary zero) byte[] ascii = new byte[count]; if (count > 4) { in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); } DataTools.readFully(in, ascii); // count number of null terminators int nullCount = 0; for (int j=0; j<count; j++) if (ascii[j] == 0) nullCount++; // convert character array to array of strings String[] strings = new String[nullCount]; int c = 0, ndx = -1; for (int j=0; j<count; j++) { if (ascii[j] == 0) { strings[c++] = new String(ascii, ndx + 1, j - ndx - 1); ndx = j; } } if (strings.length == 1) value = strings[0]; else value = strings; } else if (type == TiffTools.SHORT) { // 16-bit (2-byte) unsigned integer int[] shorts = new int[count]; if (count > 2) { in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); } for (int j=0; j<count; j++) { shorts[j] = DataTools.read2UnsignedBytes(in, littleEndian); } if (shorts.length == 1) value = new Integer(shorts[0]); else value = shorts; } else if (type == TiffTools.LONG) { // 32-bit (4-byte) unsigned integer long[] longs = new long[count]; if (count > 1) { in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); } for (int j=0; j<count; j++) { longs[j] = DataTools.read4UnsignedBytes(in, littleEndian); } if (longs.length == 1) value = new Long(longs[0]); else value = longs; } else if (type == TiffTools.RATIONAL) { // Two LONGs: the first represents the numerator of a fraction; // the second, the denominator TiffRational[] rationals = new TiffRational[count]; in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); for (int j=0; j<count; j++) { long numer = DataTools.read4UnsignedBytes(in, littleEndian); long denom = DataTools.read4UnsignedBytes(in, littleEndian); rationals[j] = new TiffRational(numer, denom); } if (rationals.length == 1) value = rationals[0]; else value = rationals; } else if (type == TiffTools.SBYTE || type == TiffTools.UNDEFINED) { // SBYTE: An 8-bit signed (twos-complement) integer // UNDEFINED: An 8-bit byte that may contain anything, // depending on the definition of the field byte[] sbytes = new byte[count]; if (count > 4) { in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); } DataTools.readFully(in, sbytes); if (sbytes.length == 1) value = new Byte(sbytes[0]); else value = sbytes; } else if (type == TiffTools.SSHORT) { // A 16-bit (2-byte) signed (twos-complement) integer short[] sshorts = new short[count]; if (count > 2) { in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); } for (int j=0; j<count; j++) { sshorts[j] = DataTools.read2SignedBytes(in, littleEndian); } if (sshorts.length == 1) value = new Short(sshorts[0]); else value = sshorts; } else if (type == TiffTools.SLONG) { // A 32-bit (4-byte) signed (twos-complement) integer int[] slongs = new int[count]; if (count > 1) { in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); } for (int j=0; j<count; j++) { slongs[j] = DataTools.read4SignedBytes(in, littleEndian); } if (slongs.length == 1) value = new Integer(slongs[0]); else value = slongs; } else if (type == TiffTools.SRATIONAL) { // Two SLONG's: the first represents the numerator of a fraction, // the second the denominator TiffRational[] srationals = new TiffRational[count]; in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); for (int j=0; j<count; j++) { int numer = DataTools.read4SignedBytes(in, littleEndian); int denom = DataTools.read4SignedBytes(in, littleEndian); srationals[j] = new TiffRational(numer, denom); } if (srationals.length == 1) value = srationals[0]; else value = srationals; } else if (type == TiffTools.FLOAT) { // Single precision (4-byte) IEEE format float[] floats = new float[count]; if (count > 1) { in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); } for (int j=0; j<count; j++) { floats[j] = DataTools.readFloat(in, littleEndian); } if (floats.length == 1) value = new Float(floats[0]); else value = floats; } else if (type == TiffTools.DOUBLE) { // Double precision (8-byte) IEEE format double[] doubles = new double[count]; in.seek(DataTools.read4UnsignedBytes(in, littleEndian)); for (int j=0; j<count; j++) { doubles[j] = DataTools.readDouble(in, littleEndian); } if (doubles.length == 1) value = new Double(doubles[0]); else value = doubles; } in.seek(pos); if (value != null) newIFD.put(new Integer(tag), value); } return newIFD; } catch (Exception e) { e.printStackTrace(); } return null; }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/91859a26506b8a1d312b398da2c3ecd94e02fa60/NikonReader.java/buggy/loci/formats/NikonReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 18559, 1109, 5501, 40, 12, 474, 1384, 13, 288, 565, 775, 288, 1377, 316, 18, 16508, 12, 3348, 1769, 1377, 18559, 394, 5501, 40, 273, 394, 18559, 5621, 1377, 509, 818, 5400, 273, 1910, 10348, 18, 896, 22, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 1377, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2107, 5400, 31, 277, 27245, 288, 3639, 509, 1047, 273, 1910, 10348, 18, 896, 22, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 3639, 509, 618, 273, 1910, 10348, 18, 896, 22, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 3639, 509, 1056, 273, 261, 474, 13, 1910, 10348, 18, 896, 24, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 3639, 309, 261, 1883, 411, 374, 13, 898, 31, 368, 2057, 501, 3639, 1033, 460, 273, 446, 31, 3639, 309, 261, 2692, 422, 490, 14607, 654, 67, 17857, 13, 288, 1850, 1525, 5818, 273, 316, 18, 29925, 4926, 5621, 1850, 312, 6388, 8067, 2335, 273, 5411, 261, 474, 13, 1910, 10348, 18, 896, 24, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 1850, 316, 18, 16508, 12, 337, 1769, 3639, 289, 3639, 1525, 949, 273, 316, 18, 29925, 4926, 1435, 397, 1059, 31, 3639, 309, 261, 723, 422, 399, 3048, 10348, 18, 15377, 13, 288, 1850, 368, 1725, 17, 3682, 9088, 3571, 1850, 3025, 8526, 1731, 273, 394, 3025, 63, 1883, 15533, 1850, 309, 261, 1883, 405, 1059, 13, 288, 5411, 509, 4407, 273, 261, 474, 13, 1910, 10348, 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, 18559, 1109, 5501, 40, 12, 474, 1384, 13, 288, 565, 775, 288, 1377, 316, 18, 16508, 12, 3348, 1769, 1377, 18559, 394, 5501, 40, 273, 394, 18559, 5621, 1377, 509, 818, 5400, 273, 1910, 10348, 18, 896, 22, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 1377, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2107, 5400, 31, 277, 27245, 288, 3639, 509, 1047, 273, 1910, 10348, 18, 896, 22, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 3639, 509, 618, 273, 1910, 10348, 18, 896, 22, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 3639, 509, 1056, 273, 261, 474, 13, 1910, 10348, 18, 896, 24, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 3639, 2 ]
_log.warn("Cannot write unnamed index " + index); } else { print("CREATE"); if (index.isUnique())
if (index.getName() == null)
protected void writeExternalIndexCreateStmt(Table table, Index index) throws IOException { if (index.getName() == null) { _log.warn("Cannot write unnamed index " + index); } else { print("CREATE"); if (index.isUnique()) { print(" UNIQUE"); } print(" INDEX "); printIdentifier(getIndexName(index)); print(" ON "); printIdentifier(getTableName(table)); print(" ("); for (int idx = 0; idx < index.getColumnCount(); idx++) { IndexColumn idxColumn = index.getColumn(idx); Column col = table.findColumn(idxColumn.getName()); if (col == null) { //would get null pointer on next line anyway, so throw exception throw new DynaSqlException("Invalid column '" + idxColumn.getName() + "' on index " + index.getName() + " for table " + table.getName()); } if (idx > 0) { print(", "); } printIdentifier(getColumnName(col)); } print(")"); printEndOfStatement(); } }
3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/dbff6cd85d996d384f554939c30209eb50b80f5a/SqlBuilder.java/buggy/src/java/org/apache/ddlutils/platform/SqlBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 6841, 1016, 1684, 8952, 12, 1388, 1014, 16, 3340, 770, 13, 1216, 1860, 565, 288, 3639, 309, 261, 1615, 18, 17994, 1435, 422, 446, 13, 3639, 288, 5411, 389, 1330, 18, 8935, 2932, 4515, 1045, 640, 13188, 770, 315, 397, 770, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 1172, 2932, 9344, 8863, 5411, 309, 261, 1615, 18, 291, 6303, 10756, 5411, 288, 7734, 1172, 2932, 26623, 8863, 5411, 289, 5411, 1172, 2932, 12425, 315, 1769, 5411, 1172, 3004, 12, 588, 29276, 12, 1615, 10019, 5411, 1172, 2932, 6229, 315, 1769, 5411, 1172, 3004, 12, 588, 7147, 12, 2121, 10019, 5411, 1172, 2932, 7566, 1769, 5411, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 770, 18, 588, 1494, 1380, 5621, 2067, 27245, 5411, 288, 7734, 3340, 1494, 2067, 1494, 273, 770, 18, 588, 1494, 12, 3465, 1769, 7734, 4753, 1377, 645, 4202, 273, 1014, 18, 4720, 1494, 12, 3465, 1494, 18, 17994, 10663, 7734, 309, 261, 1293, 422, 446, 13, 7734, 288, 10792, 368, 91, 1006, 336, 446, 4407, 603, 1024, 980, 13466, 16, 1427, 604, 1520, 10792, 604, 394, 463, 23041, 5101, 503, 2932, 1941, 1057, 2119, 397, 2067, 1494, 18, 17994, 1435, 397, 2491, 603, 770, 315, 397, 770, 18, 17994, 1435, 397, 315, 364, 1014, 315, 397, 1014, 18, 17994, 10663, 7734, 289, 7734, 309, 261, 3465, 405, 374, 13, 7734, 288, 10792, 1172, 2932, 16, 315, 1769, 7734, 289, 7734, 1172, 3004, 12, 588, 8516, 12, 1293, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 6841, 1016, 1684, 8952, 12, 1388, 1014, 16, 3340, 770, 13, 1216, 1860, 565, 288, 3639, 309, 261, 1615, 18, 17994, 1435, 422, 446, 13, 3639, 288, 5411, 389, 1330, 18, 8935, 2932, 4515, 1045, 640, 13188, 770, 315, 397, 770, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 1172, 2932, 9344, 8863, 5411, 309, 261, 1615, 18, 291, 6303, 10756, 5411, 288, 7734, 1172, 2932, 26623, 8863, 5411, 289, 5411, 1172, 2932, 12425, 315, 1769, 5411, 1172, 3004, 12, 588, 29276, 12, 1615, 10019, 5411, 1172, 2932, 6229, 315, 1769, 5411, 1172, 3004, 12, 588, 7147, 12, 2121, 10019, 5411, 1172, 2932, 7566, 1769, 5411, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 2 ]
protected int getHandle()
protected long getHandle()
protected int getHandle() { return tokenHandle; }
48142 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48142/2a4a4f417dd4193df9e0a3deae14aacd3f94ccb1/Token.java/buggy/src/JAVA/classes/org/openafs/jafs/Token.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1525, 26298, 1435, 225, 288, 565, 327, 1147, 3259, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1525, 26298, 1435, 225, 288, 565, 327, 1147, 3259, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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.RepurchaseRate getRepurchaseRate() throws FieldNotFound { org.quickfix.field.RepurchaseRate value = new org.quickfix.field.RepurchaseRate();
public quickfix.field.RepurchaseRate getRepurchaseRate() throws FieldNotFound { quickfix.field.RepurchaseRate value = new quickfix.field.RepurchaseRate();
public org.quickfix.field.RepurchaseRate getRepurchaseRate() throws FieldNotFound { org.quickfix.field.RepurchaseRate value = new org.quickfix.field.RepurchaseRate(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderCancelReplaceRequest.java/clean/src/java/src/quickfix/fix43/OrderCancelReplaceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 5561, 12688, 12104, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 5561, 12688, 12104, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 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 ]
cell.setStaticValue(value);
cell = new Cell(value);
public int doEndTag() throws JspException { TableTag tableTag = getTableTag(); MediaTypeEnum currentMediaType = (MediaTypeEnum) this.pageContext.findAttribute(TableTag.PAGE_ATTRIBUTE_MEDIA); if (currentMediaType != null && !MediaUtil.availableForMedia(this, currentMediaType)) { if (log.isDebugEnabled()) { log.debug("skipping column body, currentMediaType=" + currentMediaType); } return SKIP_BODY; } // add column header only once if (tableTag.isFirstIteration()) { addHeaderToTable(tableTag); } if (!tableTag.isIncludedRow()) { return super.doEndTag(); } HtmlAttributeMap perRowValues = new HtmlAttributeMap(); perRowValues.put(TagConstants.ATTRIBUTE_STYLE, this.attributeMap.get(TagConstants.ATTRIBUTE_STYLE)); perRowValues.put(TagConstants.ATTRIBUTE_CLASS, this.attributeMap.get(TagConstants.ATTRIBUTE_CLASS)); Cell cell = new Cell(null); cell.setPerRowAttributes(perRowValues); if (this.property == null && this.bodyContent != null) { String value = this.bodyContent.getString(); if (value == null && this.nulls) { value = TagConstants.EMPTY_STRING; } cell.setStaticValue(value); } tableTag.addCell(cell); // cleanup non-attribute variables this.alreadySorted = false; return super.doEndTag(); }
10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/fa74e62d15d7e0226a0726ae68ade3afdb233307/ColumnTag.java/buggy/displaytag/src/main/java/org/displaytag/tags/ColumnTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 25633, 1435, 1216, 27485, 565, 288, 3639, 3555, 1805, 1014, 1805, 273, 5638, 1805, 5621, 3639, 6128, 10549, 783, 20870, 273, 261, 5419, 10549, 13, 333, 18, 2433, 1042, 18, 4720, 1499, 12, 1388, 1805, 18, 11219, 67, 11616, 67, 26368, 1769, 3639, 309, 261, 2972, 20870, 480, 446, 597, 401, 5419, 1304, 18, 5699, 1290, 5419, 12, 2211, 16, 783, 20870, 3719, 3639, 288, 5411, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 5411, 288, 7734, 613, 18, 4148, 2932, 7457, 1382, 1057, 1417, 16, 783, 20870, 1546, 397, 783, 20870, 1769, 5411, 289, 5411, 327, 18420, 67, 16691, 31, 3639, 289, 3639, 368, 527, 1057, 1446, 1338, 3647, 3639, 309, 261, 2121, 1805, 18, 291, 3759, 10795, 10756, 3639, 288, 5411, 13906, 774, 1388, 12, 2121, 1805, 1769, 3639, 289, 3639, 309, 16051, 2121, 1805, 18, 291, 19323, 1999, 10756, 3639, 288, 5411, 327, 2240, 18, 2896, 25633, 5621, 3639, 289, 3639, 5430, 1499, 863, 1534, 1999, 1972, 273, 394, 5430, 1499, 863, 5621, 3639, 1534, 1999, 1972, 18, 458, 12, 1805, 2918, 18, 11616, 67, 15066, 16, 333, 18, 4589, 863, 18, 588, 12, 1805, 2918, 18, 11616, 67, 15066, 10019, 3639, 1534, 1999, 1972, 18, 458, 12, 1805, 2918, 18, 11616, 67, 5237, 16, 333, 18, 4589, 863, 18, 588, 12, 1805, 2918, 18, 11616, 67, 5237, 10019, 3639, 8614, 2484, 273, 394, 8614, 12, 2011, 1769, 3639, 2484, 18, 542, 2173, 1999, 2498, 12, 457, 1999, 1972, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 25633, 1435, 1216, 27485, 565, 288, 3639, 3555, 1805, 1014, 1805, 273, 5638, 1805, 5621, 3639, 6128, 10549, 783, 20870, 273, 261, 5419, 10549, 13, 333, 18, 2433, 1042, 18, 4720, 1499, 12, 1388, 1805, 18, 11219, 67, 11616, 67, 26368, 1769, 3639, 309, 261, 2972, 20870, 480, 446, 597, 401, 5419, 1304, 18, 5699, 1290, 5419, 12, 2211, 16, 783, 20870, 3719, 3639, 288, 5411, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 5411, 288, 7734, 613, 18, 4148, 2932, 7457, 1382, 1057, 1417, 16, 783, 20870, 1546, 397, 783, 20870, 1769, 5411, 289, 5411, 327, 18420, 67, 16691, 31, 3639, 289, 3639, 368, 527, 1057, 1446, 1338, 3647, 3639, 309, 261, 2121, 1805, 2 ]
tempFile.delete();
protected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { //first, adjust the path String path = adjustPath(request); //second, perform descriptor actions Descriptor descriptor = Descriptor.getDescriptorSingleton(); if(descriptor != null) { //TODO: figure out a way to log PUT requests with HttpServletRequestWrapper and Descriptor.doLogRequestInReplayLog() //map's the path if a mapping is specified in the descriptor path = descriptor.mapPath(path); } //third, authenticate the user User user = authenticate(request,response); if (user == null) { // You now get a challenge if there is no user //response.sendError(HttpServletResponse.SC_FORBIDDEN, // "Permission denied: unknown user or password"); return; } //fourth, process the request ServletInputStream is = request.getInputStream(); int len = request.getContentLength(); // put may send a lot of data, so save it // to a temporary file first. File tempFile = File.createTempFile("existSRV", ".tmp"); OutputStream os = new FileOutputStream(tempFile); byte[] buffer = new byte[4096]; int count, l = 0; do { count = is.read(buffer); if (count > 0) os.write(buffer, 0, count); l += count; } while (l < len); os.close(); DBBroker broker = null; try { broker = pool.get(user); srvREST.doPut(broker, tempFile, XmldbURI.create(path), request, response); } catch (BadRequestException e) { response.sendError(HttpServletResponse.SC_BAD_REQUEST, e.getMessage()); } catch (PermissionDeniedException e) { response.sendError(HttpServletResponse.SC_FORBIDDEN, e.getMessage()); } catch (EXistException e) { response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e.getMessage()); } finally { pool.release(broker); } tempFile.delete(); }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/fe387cf6a4763e160964a11fe1a9d1e7226b6dc0/EXistServlet.java/clean/src/org/exist/http/servlets/EXistServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 741, 6426, 12, 2940, 18572, 590, 16, 12446, 766, 13, 1216, 16517, 16, 1860, 202, 95, 202, 202, 759, 3645, 16, 5765, 326, 589, 202, 202, 780, 589, 273, 5765, 743, 12, 2293, 1769, 9506, 202, 759, 8538, 16, 3073, 4950, 4209, 202, 202, 3187, 4950, 273, 12823, 18, 588, 3187, 19571, 5621, 377, 202, 430, 12, 12628, 480, 446, 13, 377, 202, 95, 377, 202, 202, 759, 6241, 30, 7837, 596, 279, 4031, 358, 613, 11443, 3285, 598, 9984, 3611, 471, 12823, 18, 2896, 1343, 691, 382, 26481, 1343, 1435, 1377, 1082, 377, 202, 202, 759, 1458, 1807, 326, 589, 309, 279, 2874, 353, 1269, 316, 326, 4950, 377, 202, 202, 803, 273, 4950, 18, 1458, 743, 12, 803, 1769, 377, 202, 97, 9506, 202, 759, 451, 6909, 16, 8929, 326, 729, 202, 202, 1299, 729, 273, 8929, 12, 2293, 16, 2740, 1769, 202, 202, 430, 261, 1355, 422, 446, 13, 288, 13491, 368, 4554, 2037, 336, 279, 12948, 309, 1915, 353, 1158, 729, 1082, 202, 759, 2740, 18, 4661, 668, 12, 2940, 29910, 18, 2312, 67, 7473, 30198, 16, 1082, 202, 759, 202, 202, 6, 5041, 15338, 30, 5917, 729, 578, 2201, 8863, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 759, 74, 477, 451, 16, 1207, 326, 590, 202, 202, 4745, 4348, 353, 273, 590, 18, 588, 4348, 5621, 202, 202, 474, 562, 273, 590, 18, 588, 1350, 1782, 5621, 202, 202, 759, 1378, 2026, 1366, 279, 17417, 434, 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, 741, 6426, 12, 2940, 18572, 590, 16, 12446, 766, 13, 1216, 16517, 16, 1860, 202, 95, 202, 202, 759, 3645, 16, 5765, 326, 589, 202, 202, 780, 589, 273, 5765, 743, 12, 2293, 1769, 9506, 202, 759, 8538, 16, 3073, 4950, 4209, 202, 202, 3187, 4950, 273, 12823, 18, 588, 3187, 19571, 5621, 377, 202, 430, 12, 12628, 480, 446, 13, 377, 202, 95, 377, 202, 202, 759, 6241, 30, 7837, 596, 279, 4031, 358, 613, 11443, 3285, 598, 9984, 3611, 471, 12823, 18, 2896, 1343, 691, 382, 26481, 1343, 1435, 1377, 1082, 377, 202, 202, 759, 1458, 1807, 326, 589, 309, 279, 2874, 353, 1269, 316, 326, 4950, 377, 202, 202, 803, 273, 4950, 2 ]
JOptionPane.showMessageDialog(this, message, title, JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog( this, message, title, JOptionPane.ERROR_MESSAGE);
public void emitError (String title, String message) { JOptionPane.showMessageDialog(this, message, title, JOptionPane.ERROR_MESSAGE); }
28044 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28044/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/IzPanel.java/buggy/src/lib/com/izforge/izpack/installer/IzPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3626, 668, 261, 780, 2077, 16, 514, 883, 13, 225, 288, 565, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 333, 16, 883, 16, 2077, 16, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 3626, 668, 261, 780, 2077, 16, 514, 883, 13, 225, 288, 565, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 333, 16, 883, 16, 2077, 16, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static void optAttribute(Device d, String attr, String value)
public static void optAttribute(Device d, String attr, StringBuffer value)
public static void optAttribute(Device d, String attr, String value) throws IOException { if (value != null && value.trim().length() > 0) { d.print(" ").print(attr).print("=\""); quote(d, value, true); d.print("\""); } }
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/3c1c3978e98a96f34ebd6cad77fdcd9b19263adf/Utils.java/clean/wings2/src/java/org/wings/plaf/css/Utils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2153, 1499, 12, 3654, 302, 16, 514, 1604, 16, 6674, 460, 13, 5411, 1216, 1860, 288, 3639, 309, 261, 1132, 480, 446, 597, 460, 18, 5290, 7675, 2469, 1435, 405, 374, 13, 288, 5411, 302, 18, 1188, 2932, 315, 2934, 1188, 12, 1747, 2934, 1188, 2932, 5189, 8863, 5411, 3862, 12, 72, 16, 460, 16, 638, 1769, 5411, 302, 18, 1188, 2932, 8530, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2153, 1499, 12, 3654, 302, 16, 514, 1604, 16, 6674, 460, 13, 5411, 1216, 1860, 288, 3639, 309, 261, 1132, 480, 446, 597, 460, 18, 5290, 7675, 2469, 1435, 405, 374, 13, 288, 5411, 302, 18, 1188, 2932, 315, 2934, 1188, 12, 1747, 2934, 1188, 2932, 5189, 8863, 5411, 3862, 12, 72, 16, 460, 16, 638, 1769, 5411, 302, 18, 1188, 2932, 8530, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this( constraints, true );
this( constraints, true );
public TripleBetaConstraints(final BetaNodeFieldConstraint[] constraints) { this( constraints, true ); }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/5978a39e76b4f1f80599f0bb15fe4295f18edcf1/TripleBetaConstraints.java/buggy/drools-core/src/main/java/org/drools/common/TripleBetaConstraints.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 28173, 38, 1066, 4878, 12, 6385, 16393, 907, 974, 5806, 8526, 6237, 13, 288, 3639, 333, 12, 6237, 16, 638, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 28173, 38, 1066, 4878, 12, 6385, 16393, 907, 974, 5806, 8526, 6237, 13, 288, 3639, 333, 12, 6237, 16, 638, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
AbsintheArchivalUnit pmAu1 = makeAu(new URL(stem1 + "/"), "2003");
ConfigurableArchivalUnit pmAu1 = makeAu(new URL(stem1 + "/"), "2003");
public void testGetUrlStems() throws Exception { String stem1 = "http://muse.jhu.edu"; AbsintheArchivalUnit pmAu1 = makeAu(new URL(stem1 + "/"), "2003"); assertEquals(ListUtil.list(stem1), pmAu1.getUrlStems()); String stem2 = "http://muse.jhu.edu:8080"; AbsintheArchivalUnit pmAu2 = makeAu(new URL(stem2 + "/"), "2003"); assertEquals(ListUtil.list(stem2), pmAu2.getUrlStems()); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/7213af99d56a7766716f5d711aa30ad85c71d195/TestAbsintheArchivalUnit.java/clean/test/src/org/lockss/plugin/absinthe/TestAbsintheArchivalUnit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 967, 1489, 510, 7424, 1435, 1216, 1185, 288, 565, 514, 13119, 21, 273, 315, 2505, 2207, 81, 1202, 18, 78, 76, 89, 18, 28049, 14432, 565, 29312, 12269, 5162, 2802, 7430, 37, 89, 21, 273, 1221, 37, 89, 12, 2704, 1976, 12, 19781, 21, 397, 4016, 3631, 315, 6976, 23, 8863, 565, 1815, 8867, 12, 682, 1304, 18, 1098, 12, 19781, 21, 3631, 7430, 37, 89, 21, 18, 588, 1489, 510, 7424, 10663, 565, 514, 13119, 22, 273, 315, 2505, 2207, 81, 1202, 18, 78, 76, 89, 18, 28049, 30, 3672, 3672, 14432, 565, 15084, 267, 5787, 12269, 5162, 2802, 7430, 37, 89, 22, 273, 1221, 37, 89, 12, 2704, 1976, 12, 19781, 22, 397, 4016, 3631, 315, 6976, 23, 8863, 565, 1815, 8867, 12, 682, 1304, 18, 1098, 12, 19781, 22, 3631, 7430, 37, 89, 22, 18, 588, 1489, 510, 7424, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 967, 1489, 510, 7424, 1435, 1216, 1185, 288, 565, 514, 13119, 21, 273, 315, 2505, 2207, 81, 1202, 18, 78, 76, 89, 18, 28049, 14432, 565, 29312, 12269, 5162, 2802, 7430, 37, 89, 21, 273, 1221, 37, 89, 12, 2704, 1976, 12, 19781, 21, 397, 4016, 3631, 315, 6976, 23, 8863, 565, 1815, 8867, 12, 682, 1304, 18, 1098, 12, 19781, 21, 3631, 7430, 37, 89, 21, 18, 588, 1489, 510, 7424, 10663, 565, 514, 13119, 22, 273, 315, 2505, 2207, 81, 1202, 18, 78, 76, 89, 18, 28049, 30, 3672, 3672, 14432, 565, 15084, 267, 5787, 12269, 5162, 2802, 7430, 37, 89, 22, 273, 1221, 37, 89, 12, 2704, 1976, 12, 19781, 22, 397, 2 ]
public void resourceChanged(IResourceChangeEvent event) { IMarkerDelta[] markerDeltas = event.findMarkerDeltas(PMDRuntimeConstants.PMD_MARKER, true); // first we get a List of changes to Files and Projects // so we won't need updating everything ArrayList changedFiles = new ArrayList(); ArrayList changedProjects = new ArrayList(); IResource resource = null; for (int i=0; i<markerDeltas.length; i++) { resource = markerDeltas[i].getResource(); IProject project = resource.getProject(); // the lists should not contain // Projects or Resources twice if (!changedFiles.contains(resource)) changedFiles.add(resource); if (!changedProjects.contains(project)) changedProjects.add(project); } // we can add, change or remove Resources // all this changes are given to the viewer later final ArrayList additions = new ArrayList(); final ArrayList removals = new ArrayList(); final ArrayList changes = new ArrayList(); // we got through the changed Projects for (int i=0; i<changedProjects.size(); i++) { IProject project = (IProject) changedProjects.get(i); ProjectRecord projectRec = (ProjectRecord) root.findResource(project); // if the Project is closed or deleted, // we also delete it from the Model and go on if ( (!project.isOpen()) || (!project.exists()) ) { ArrayList[] array = updateFiles(project, changedFiles); removals.addAll(array[1]); root.removeResource(project); continue; } // if we couldn't find the Project // then it has to be new if (projectRec == null) { projectRec = (ProjectRecord) root.addResource(project); } // then we can update the Files for the new or updated Project ArrayList[] array = updateFiles(project, changedFiles); additions.addAll(array[0]); removals.addAll(array[1]); changes.addAll(array[2]); } // the addtions, removals and changes are given to the viewer // so that it can update itself // updating the table MUST be in sync treeViewer.getControl().getDisplay().syncExec(new Runnable() { public void run() { updateViewer(additions, removals, changes); } }); }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/a71f46c4f6b1195d02582581aa74424aff607ebb/ViolationOverviewContentProvider.java/clean/pmd-eclipse-ui/src/net/sourceforge/pmd/ui/views/ViolationOverviewContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1058, 5033, 12, 45, 1420, 20930, 871, 13, 288, 202, 202, 3445, 1313, 264, 9242, 8526, 5373, 2837, 9158, 273, 871, 18, 4720, 7078, 2837, 9158, 12, 52, 6188, 5576, 2918, 18, 52, 6188, 67, 25989, 16, 638, 1769, 9506, 202, 759, 1122, 732, 336, 279, 987, 434, 3478, 358, 6471, 471, 30491, 202, 202, 759, 1427, 732, 8462, 1404, 1608, 9702, 7756, 202, 202, 19558, 3550, 2697, 273, 394, 2407, 5621, 202, 202, 19558, 3550, 15298, 273, 394, 2407, 5621, 202, 202, 45, 1420, 1058, 273, 446, 31, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 11145, 2837, 9158, 18, 2469, 31, 277, 27245, 288, 540, 202, 3146, 273, 5373, 2837, 9158, 63, 77, 8009, 588, 1420, 5621, 540, 202, 45, 4109, 1984, 273, 1058, 18, 588, 4109, 5621, 540, 202, 540, 202, 759, 326, 6035, 1410, 486, 912, 1850, 202, 759, 30491, 578, 8128, 13605, 540, 202, 540, 202, 430, 16051, 6703, 2697, 18, 12298, 12, 3146, 3719, 540, 202, 202, 6703, 2697, 18, 1289, 12, 3146, 1769, 540, 202, 540, 202, 430, 16051, 6703, 15298, 18, 12298, 12, 4406, 3719, 540, 202, 202, 6703, 15298, 18, 1289, 12, 4406, 1769, 3639, 289, 7734, 368, 732, 848, 527, 16, 2549, 578, 1206, 8128, 3639, 368, 777, 333, 3478, 854, 864, 358, 326, 14157, 5137, 3639, 727, 2407, 26260, 273, 394, 2407, 5621, 3639, 727, 2407, 2797, 1031, 273, 394, 2407, 5621, 3639, 727, 2407, 3478, 273, 394, 2407, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1058, 5033, 12, 45, 1420, 20930, 871, 13, 288, 202, 202, 3445, 1313, 264, 9242, 8526, 5373, 2837, 9158, 273, 871, 18, 4720, 7078, 2837, 9158, 12, 52, 6188, 5576, 2918, 18, 52, 6188, 67, 25989, 16, 638, 1769, 9506, 202, 759, 1122, 732, 336, 279, 987, 434, 3478, 358, 6471, 471, 30491, 202, 202, 759, 1427, 732, 8462, 1404, 1608, 9702, 7756, 202, 202, 19558, 3550, 2697, 273, 394, 2407, 5621, 202, 202, 19558, 3550, 15298, 273, 394, 2407, 5621, 202, 202, 45, 1420, 1058, 273, 446, 31, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 11145, 2837, 9158, 18, 2469, 31, 277, 27245, 288, 540, 202, 3146, 273, 5373, 2837, 9158, 2 ]
public void addPostSelectionChangedListener( ISelectionChangedListener listener) { postSelectionChangedListeners.add(listener); }
public void addPostSelectionChangedListener(ISelectionChangedListener listener) { postSelectionChangedListeners.add(listener); }
public void addPostSelectionChangedListener( ISelectionChangedListener listener) { postSelectionChangedListeners.add(listener); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/dc85f0b1334fe6aa79c5c32e8024d573af99e0d2/StructuredViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 18347, 6233, 5033, 2223, 12, 5411, 467, 6233, 5033, 2223, 2991, 13, 288, 3639, 1603, 6233, 5033, 5583, 18, 1289, 12, 12757, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 18347, 6233, 5033, 2223, 12, 5411, 467, 6233, 5033, 2223, 2991, 13, 288, 3639, 1603, 6233, 5033, 5583, 18, 1289, 12, 12757, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
WorkbenchPlugin.log("Error parsing version \"" + ver + "\" for plugin: " + id + " in Workbench.readFeaturesInfo()");
WorkbenchPlugin.log("Error parsing version \"" + vid + "\" for plugin: " + id + " in Workbench.readFeaturesInfo()");
private void readFeaturesInfo() { // get the previous features IDialogSettings settings = WorkbenchPlugin.getDefault().getDialogSettings(); String[] oldFeaturesArray = settings.getArray(INSTALLED_FEATURES); List oldFeatures = null; if (oldFeaturesArray != null) oldFeatures = Arrays.asList(oldFeaturesArray); ArrayList aboutInfos = new ArrayList(); ArrayList newAboutInfos = new ArrayList(); IPlatformConfiguration.IFeatureEntry[] featureEntries = BootLoader.getCurrentPlatformConfiguration().getConfiguredFeatureEntries(); String[] idArray = new String[featureEntries.length]; for (int i = 0; i < featureEntries.length; i++) { IPlatformConfiguration.IFeatureEntry entry = featureEntries[i]; String id = entry.getFeatureIdentifier(); String ver = entry.getFeatureVersion(); String versionedId = id + ":" + ver; idArray[i] = versionedId; try { PluginVersionIdentifier vid = new PluginVersionIdentifier(ver); AboutInfo info = new AboutInfo(id, vid); aboutInfos.add(info); if (oldFeatures != null && !oldFeatures.contains(versionedId)) // only report new if we have a record of the old newAboutInfos.add(info); } catch (RuntimeException e) { if (WorkbenchPlugin.DEBUG) // only report ini problems if the -debug command line argument is used WorkbenchPlugin.log("Error parsing version \"" + ver + "\" for plugin: " + id + " in Workbench.readFeaturesInfo()"); // continue } } settings.put(INSTALLED_FEATURES, idArray); // ensure a consistent ordering Collections.sort(aboutInfos, new Comparator() { Collator coll = Collator.getInstance(); public int compare(Object a, Object b) { AboutInfo infoA = (AboutInfo) a; AboutInfo infoB = (AboutInfo) b; int c = coll.compare(infoA.getFeatureId(), infoB.getFeatureId()); if (c == 0) { c = infoA.getVersionId().isGreaterThan(infoB.getVersionId()) ? 1 : -1; } return c; } }); featuresInfo = new AboutInfo[aboutInfos.size()]; aboutInfos.toArray(featuresInfo); for (int i = 0; i < featuresInfo.length; i++) { try { featuresInfo[i].readINIFile(); // Exclude any feature for which there is no corresponding plug-in if (featuresInfo[i].getDescriptor() == null) { aboutInfos.remove(featuresInfo[i]); newAboutInfos.remove(featuresInfo[i]); } } catch (CoreException e) { if (WorkbenchPlugin.DEBUG) // only report ini problems if the -debug command line argument is used WorkbenchPlugin.log("Error reading about info file for feature: " + featuresInfo[i].getFeatureId(), e.getStatus()); //$NON-NLS-1$ } } newFeaturesInfo = new AboutInfo[newAboutInfos.size()]; newAboutInfos.toArray(newFeaturesInfo); if (aboutInfos.size() < featuresInfo.length) { featuresInfo = new AboutInfo[aboutInfos.size()]; aboutInfos.toArray(featuresInfo); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/d0521597f6e06a42361296f0ca64afccccb39b72/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, 1152, 918, 855, 8696, 966, 1435, 288, 202, 202, 759, 336, 326, 2416, 4467, 202, 202, 734, 3529, 2628, 1947, 273, 4147, 22144, 3773, 18, 588, 1868, 7675, 588, 6353, 2628, 5621, 202, 202, 780, 8526, 1592, 8696, 1076, 273, 1947, 18, 588, 1076, 12, 19784, 27751, 67, 18257, 55, 1769, 202, 202, 682, 1592, 8696, 273, 446, 31, 202, 202, 430, 261, 1673, 8696, 1076, 480, 446, 13, 9506, 1592, 8696, 273, 5647, 18, 345, 682, 12, 1673, 8696, 1076, 1769, 202, 202, 19558, 2973, 7655, 273, 394, 2407, 5621, 202, 202, 19558, 394, 24813, 7655, 273, 394, 2407, 5621, 9506, 202, 45, 8201, 1750, 18, 45, 4595, 1622, 8526, 2572, 5400, 273, 1875, 202, 15817, 2886, 18, 588, 3935, 8201, 1750, 7675, 588, 15334, 4595, 5400, 5621, 202, 202, 780, 8526, 612, 1076, 273, 394, 514, 63, 7238, 5400, 18, 2469, 15533, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2572, 5400, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 8201, 1750, 18, 45, 4595, 1622, 1241, 273, 2572, 5400, 63, 77, 15533, 1082, 202, 780, 612, 273, 1241, 18, 588, 4595, 3004, 5621, 1082, 202, 780, 1924, 273, 1241, 18, 588, 4595, 1444, 5621, 1082, 202, 780, 17083, 548, 273, 612, 397, 6153, 397, 1924, 31, 1082, 202, 350, 1076, 63, 77, 65, 273, 17083, 548, 31, 1082, 202, 698, 288, 9506, 202, 3773, 1444, 3004, 18339, 273, 394, 6258, 1444, 3004, 12, 502, 1769, 9506, 202, 24813, 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, 855, 8696, 966, 1435, 288, 202, 202, 759, 336, 326, 2416, 4467, 202, 202, 734, 3529, 2628, 1947, 273, 4147, 22144, 3773, 18, 588, 1868, 7675, 588, 6353, 2628, 5621, 202, 202, 780, 8526, 1592, 8696, 1076, 273, 1947, 18, 588, 1076, 12, 19784, 27751, 67, 18257, 55, 1769, 202, 202, 682, 1592, 8696, 273, 446, 31, 202, 202, 430, 261, 1673, 8696, 1076, 480, 446, 13, 9506, 1592, 8696, 273, 5647, 18, 345, 682, 12, 1673, 8696, 1076, 1769, 202, 202, 19558, 2973, 7655, 273, 394, 2407, 5621, 202, 202, 19558, 394, 24813, 7655, 273, 394, 2407, 5621, 9506, 202, 45, 8201, 1750, 18, 45, 4595, 1622, 8526, 2572, 5400, 273, 1875, 202, 15817, 2 ]
private boolean info (String message) {
protected boolean info (String message) {
private boolean info (String message) { return MessageUtil.info(messageHandler,message); }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/3226d27a82e968da0f04e6b4fb5a29a03fbdb0f5/WeavingAdaptor.java/clean/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1123, 261, 780, 883, 13, 288, 202, 202, 2463, 2350, 1304, 18, 1376, 12, 2150, 1503, 16, 2150, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1123, 261, 780, 883, 13, 288, 202, 202, 2463, 2350, 1304, 18, 1376, 12, 2150, 1503, 16, 2150, 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 ]
public void opt_eol() throws RecognitionException { try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:82:17: ( ( EOL )* ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:82:17: ( EOL )* { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:82:17: ( EOL )* loop1: do { int alt1=2; int LA1_0 = input.LA(1); if ( LA1_0==EOL ) { alt1=1; } switch (alt1) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:82:17: EOL { match(input,EOL,FOLLOW_EOL_in_opt_eol40); } break; default : break loop1; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/61acd40072560afada3f7897673309e5b51b402d/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2153, 67, 30951, 1435, 1216, 9539, 288, 6647, 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, 11149, 30, 4033, 30, 261, 261, 19995, 8618, 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, 11149, 30, 4033, 30, 261, 19995, 8618, 5411, 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, 11149, 30, 4033, 30, 261, 19995, 8618, 5411, 2798, 21, 30, 5411, 741, 288, 7734, 509, 3770, 21, 33, 22, 31, 7734, 509, 2928, 21, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 2928, 21, 67, 20, 631, 5842, 262, 288, 10792, 3770, 21, 33, 21, 31, 7734, 289, 7734, 1620, 261, 2390, 21, 13, 288, 2398, 202, 3593, 404, 294, 2398, 202, 565, 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, 11149, 30, 4033, 30, 19995, 2398, 202, 565, 288, 2398, 202, 565, 845, 12, 2630, 16, 5842, 16, 29890, 67, 5842, 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, 2153, 67, 30951, 1435, 1216, 9539, 288, 6647, 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, 11149, 30, 4033, 30, 261, 261, 19995, 8618, 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, 11149, 30, 4033, 30, 261, 19995, 8618, 5411, 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, 2 ]
return region;
final public static Address alignAllocation(Address region, int alignment, int offset, int knownAlignment, boolean fillAlignmentGap) throws InlinePragma { if (Assert.VERIFY_ASSERTIONS) { Assert._assert(knownAlignment >= MIN_ALIGNMENT); Assert._assert(MIN_ALIGNMENT >= BYTES_IN_INT); Assert._assert(!(fillAlignmentGap && region.isZero())); Assert._assert(alignment <= MAX_ALIGNMENT); Assert._assert(offset >= 0); Assert._assert(region.toWord().and(Word.fromIntSignExtend(MIN_ALIGNMENT-1)).isZero()); Assert._assert((alignment & (MIN_ALIGNMENT - 1)) == 0); Assert._assert((offset & (MIN_ALIGNMENT - 1)) == 0); } // No alignment ever required. if (alignment <= knownAlignment || MAX_ALIGNMENT <= MIN_ALIGNMENT) return region; // May require an alignment Word mask = Word.fromIntSignExtend(alignment - 1); Word negOff = Word.fromIntSignExtend(-offset); Offset delta = negOff.minus(region.toWord()).and(mask).toOffset(); if (fillAlignmentGap && ALIGNMENT_VALUE != 0) { if ((MAX_ALIGNMENT - MIN_ALIGNMENT) == BYTES_IN_INT) { // At most a single hole if (!delta.isZero()) { region.store(ALIGNMENT_VALUE); region = region.plus(delta); } return region; } else { while (delta.toWord().GT(Word.zero())) { region.store(ALIGNMENT_VALUE); region = region.plus(BYTES_IN_INT); delta = delta.minus(BYTES_IN_INT); } return region; } } return region.plus(delta); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/8e59febe2eb149bbee9ccfcd53b9cff4341654a4/Allocator.java/clean/MMTk/src/org/mmtk/utility/alloc/Allocator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 760, 5267, 5689, 17353, 12, 1887, 3020, 16, 509, 8710, 16, 4766, 2398, 509, 1384, 16, 509, 4846, 11535, 16, 4766, 2868, 1250, 3636, 11535, 14001, 13, 1377, 1216, 16355, 2050, 9454, 288, 565, 309, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 288, 1377, 5452, 6315, 11231, 12, 2994, 11535, 1545, 6989, 67, 26439, 3212, 1769, 1377, 5452, 6315, 11231, 12, 6236, 67, 26439, 3212, 1545, 26214, 67, 706, 67, 3217, 1769, 1377, 5452, 6315, 11231, 12, 5, 12, 5935, 11535, 14001, 597, 3020, 18, 291, 7170, 1435, 10019, 1377, 5452, 6315, 11231, 12, 14409, 1648, 4552, 67, 26439, 3212, 1769, 1377, 5452, 6315, 11231, 12, 3348, 1545, 374, 1769, 1377, 5452, 6315, 11231, 12, 6858, 18, 869, 3944, 7675, 464, 12, 3944, 18, 2080, 1702, 2766, 16675, 12, 6236, 67, 26439, 3212, 17, 21, 13, 2934, 291, 7170, 10663, 1377, 5452, 6315, 11231, 12443, 14409, 473, 261, 6236, 67, 26439, 3212, 300, 404, 3719, 422, 374, 1769, 1377, 5452, 6315, 11231, 12443, 3348, 473, 261, 6236, 67, 26439, 3212, 300, 404, 3719, 422, 374, 1769, 565, 289, 565, 368, 2631, 8710, 14103, 1931, 18, 565, 309, 261, 14409, 1648, 4846, 11535, 747, 4552, 67, 26439, 3212, 1648, 6989, 67, 26439, 3212, 13, 540, 368, 16734, 2583, 392, 8710, 565, 9926, 3066, 273, 9926, 18, 2080, 1702, 2766, 16675, 12, 14409, 300, 404, 1769, 565, 9926, 4251, 7210, 273, 9926, 18, 2080, 1702, 2766, 16675, 19236, 3348, 1769, 565, 9874, 3622, 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, 760, 5267, 5689, 17353, 12, 1887, 3020, 16, 509, 8710, 16, 4766, 2398, 509, 1384, 16, 509, 4846, 11535, 16, 4766, 2868, 1250, 3636, 11535, 14001, 13, 1377, 1216, 16355, 2050, 9454, 288, 565, 309, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 288, 1377, 5452, 6315, 11231, 12, 2994, 11535, 1545, 6989, 67, 26439, 3212, 1769, 1377, 5452, 6315, 11231, 12, 6236, 67, 26439, 3212, 1545, 26214, 67, 706, 67, 3217, 1769, 1377, 5452, 6315, 11231, 12, 5, 12, 5935, 11535, 14001, 597, 3020, 18, 291, 7170, 1435, 10019, 1377, 5452, 6315, 11231, 12, 14409, 1648, 4552, 67, 26439, 3212, 1769, 1377, 5452, 6315, 11231, 12, 3348, 1545, 374, 1769, 1377, 5452, 6315, 2 ]
groupInput.setAsNotEmpty(iwrb.getLocalizedString("new_user.group_required","Group must be selected"));
protected void initializeFields(IWContext iwc) { IWResourceBundle iwrb = getResourceBundle(iwc); fullNameField = new TextInput(fullNameFieldParameterName); fullNameField.setLength(20); fullNameField.setStyleClass("text"); fullNameField.setOnFocus("");// fullNameField.setAsNotEmpty(iwrb.getLocalizedString("new_user.full_name_required","Full name must be selected")); ssnField = new TextInput(ssnFieldParameterName); ssnField.setLength(20); ssnField.setMaxlength(12);// ssnField.setAsNotEmpty(iwrb.getLocalizedString("new_user.personal_id_required","Personal ID must be selected")); //ssnField.setAsIcelandicSSNumber(); goToPropertiesField = new HiddenInput(goToPropertiesFieldParameterName,"TRUE"); //goToPropertiesField.setChecked(true); primaryGroupField = new GroupChooser(primaryGroupFieldParameterName); groupInput = (TextInput)primaryGroupField.getPresentationObject(iwc); groupInput.setAsNotEmpty(iwrb.getLocalizedString("new_user.group_required","Group must be selected"));// if(primaryGroupField.isEmpty()) {// this.setErrorMessage(iwrb.getLocalizedString("new_user.group_required","Group must be selected"));// this.setToLoadAlert(iwrb.getLocalizedString("new_user.group_required","Group must be selected"));// }// primaryGroupField.setAsNotEmpty(iwrb.getLocalizedString(primaryGroupFieldParameterName,"A group must be selected")); okButton = new SubmitButton(iwrb.getLocalizedString("save", "Save"), submitButtonParameterName, okButtonParameterValue); okButton.setAsImageButton(true); continueButton = new SubmitButton(iwrb.getLocalizedString("yes", "Yes"), submitButtonParameterName, submitButtonParameterValue); continueButton.setAsImageButton(true); //cancelButton = new SubmitButton(" Cancel ", submitButtonParameterName, cancelButtonParameterValue); cancelButton = new CloseButton(iwrb.getLocalizedString("close", "Close")); cancelButton.setAsImageButton(true); backButton = new BackButton(iwrb.getLocalizedString("back", "Back")); }
52002 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52002/fbaddea9280e17bf98fdd2e6e4a9fe02fb0d1947/CreateUser.java/buggy/src/java/com/idega/user/presentation/CreateUser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4046, 2314, 12, 45, 59, 1042, 25522, 71, 13, 288, 9506, 202, 45, 59, 18731, 25522, 6731, 273, 5070, 3405, 12, 22315, 71, 1769, 9506, 202, 2854, 461, 974, 273, 394, 3867, 1210, 12, 2854, 461, 974, 24586, 1769, 202, 202, 2854, 461, 974, 18, 542, 1782, 12, 3462, 1769, 202, 202, 2854, 461, 974, 18, 542, 2885, 797, 2932, 955, 8863, 202, 202, 2854, 461, 974, 18, 542, 1398, 9233, 2932, 8863, 759, 202, 202, 2854, 461, 974, 18, 542, 1463, 18431, 12, 22315, 6731, 18, 588, 2042, 1235, 780, 2932, 2704, 67, 1355, 18, 2854, 67, 529, 67, 4718, 15937, 5080, 508, 1297, 506, 3170, 7923, 1769, 202, 202, 1049, 82, 974, 273, 394, 3867, 1210, 12, 1049, 82, 974, 24586, 1769, 202, 202, 1049, 82, 974, 18, 542, 1782, 12, 3462, 1769, 202, 202, 1049, 82, 974, 18, 542, 2747, 2469, 12, 2138, 1769, 759, 202, 202, 1049, 82, 974, 18, 542, 1463, 18431, 12, 22315, 6731, 18, 588, 2042, 1235, 780, 2932, 2704, 67, 1355, 18, 29991, 67, 350, 67, 4718, 15937, 8346, 287, 1599, 1297, 506, 3170, 7923, 1769, 202, 202, 759, 1049, 82, 974, 18, 542, 1463, 45, 2183, 464, 335, 1260, 1854, 5621, 202, 202, 3240, 774, 2297, 974, 273, 394, 22479, 1210, 12, 3240, 774, 2297, 974, 24586, 10837, 18724, 8863, 202, 202, 759, 3240, 774, 2297, 974, 18, 542, 11454, 12, 3767, 1769, 9506, 202, 8258, 1114, 974, 273, 394, 3756, 17324, 12, 8258, 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, 4046, 2314, 12, 45, 59, 1042, 25522, 71, 13, 288, 9506, 202, 45, 59, 18731, 25522, 6731, 273, 5070, 3405, 12, 22315, 71, 1769, 9506, 202, 2854, 461, 974, 273, 394, 3867, 1210, 12, 2854, 461, 974, 24586, 1769, 202, 202, 2854, 461, 974, 18, 542, 1782, 12, 3462, 1769, 202, 202, 2854, 461, 974, 18, 542, 2885, 797, 2932, 955, 8863, 202, 202, 2854, 461, 974, 18, 542, 1398, 9233, 2932, 8863, 759, 202, 202, 2854, 461, 974, 18, 542, 1463, 18431, 12, 22315, 6731, 18, 588, 2042, 1235, 780, 2932, 2704, 67, 1355, 18, 2854, 67, 529, 67, 4718, 15937, 5080, 508, 1297, 506, 3170, 7923, 1769, 202, 202, 1049, 82, 974, 273, 2 ]
new ULocale(localeName).getDisplayName() + " - <tt>" + localeName + "</tt>" + "</a> "); ctx.println("<br/> "); if(doMajor != null) { fetchDoc(ctx, localeName); }
new ULocale(localeName).getDisplayName() + " - <tt>" + localeName + "</tt>" + "</a> "); ctx.println("<br/> ");
public void doGet(WebContext ctx) { ctx.println("<html>"); ctx.println("<head>"); ctx.println("<title>Interim Test Tool - s/n " + getN() + "</title>"); ctx.println("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">"); ctx.println("</head>"); ctx.println("<body>"); // get the context CookieSession mySession = null; String myNum = ctx.field("s"); if(myNum != null) { mySession = CookieSession.retrieve(myNum); if(mySession == null) { ctx.println("<i>Warning: ignoring expired session " + myNum + "</i><br/>"); } } if(mySession == null) { mySession = new CookieSession(); } ctx.session = mySession; ctx.addQuery("s", mySession.id); WebContext baseContext = new WebContext(ctx);// ctx.println("<i>using session " + mySession.id + " </i><br/>"); // print 'shopping cart' { Hashtable lh = ctx.session.getLocales(); Enumeration e = lh.keys(); if(e.hasMoreElements()) { ctx.println("<B>Changed locales: </B> "); } for(;e.hasMoreElements();) { String k = e.nextElement().toString(); ctx.println("<a href=\"" + baseContext.url() + "&_=" + k + "\">" + new ULocale(k).getDisplayName() + "</a> "); } ctx.println("<br/>"); } ctx.println("<h1>Locales</h1>"); String locale = ctx.field("_"); if(locale != null) { // knock out some bad cases if((locale.indexOf('.') != -1) || (locale.indexOf('/') != -1)) { locale = null; } } if((locale==null)||(locale.length()<=0)) { ctx.println("<b>locales: </b> <br/>"); // 1. get the list of input XML files FileFilter myFilter = new FileFilter() { public boolean accept(File f) { String n = f.getName(); return(!f.isDirectory() &&n.endsWith(".xml") &&!n.startsWith("supplementalData") // not a locale /*&&!n.startsWith("root")*/); // root is implied, will be included elsewhere. } }; File baseDir = new File(fileBase); File inFiles[] = baseDir.listFiles(myFilter); int nrInFiles = inFiles.length; String doMajor = ctx.field("loadAll"); if((doMajor!=null)&&(doMajor.length()<=0)) { doMajor = null; } else { fetchDoc(ctx, "root"); } for(int i=0;i<nrInFiles;i++) { String localeName = inFiles[i].getName(); int dot = localeName.indexOf('.'); if(dot != -1) { localeName = localeName.substring(0,dot); if(i != 0) { ctx.println("<a href=\"" + baseContext.url() + "&" + "_=" + localeName + "\">" + new ULocale(localeName).getDisplayName() + " - <tt>" + localeName + "</tt>" + "</a> "); ctx.println("<br/> "); if(doMajor != null) { fetchDoc(ctx, localeName); } } } } ctx.println("<br/>"); ctx.println("<form action='/II/surv.sh' method=GET>Locale: <input name='_'><br/>" + "Resolve? [enter 'Y'] <input name='res'><br/>" + "<input type=submit></form>"); } else { ctx.setLocale(new ULocale(locale)); ctx.println("<b>" + ctx.locale + "</b><br/>\n"); if(ctx.doc[0] != null) { //ctx.println("Parsed. Huh. " + doc.toString() + "<hr>("); //LDMLUtilities.printDOMTree(doc,out); //ctx.println(")<ul>"); /// dumpIt(out, doc, 0); //ctx.println("</ul>"); showLocale(ctx); } else { ctx.println("<i>err, couldn't fetch " + ctx.locale.toString() + "</i><br/>"); } } ctx.println("</body>"); ctx.println("</html>"); // out.close(); }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/f81772896e7ace6a25cd0ae9706b437c0cdc6b11/SurveyMain.java/clean/tools/java/org/unicode/cldr/web/SurveyMain.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23611, 12, 4079, 1042, 1103, 13, 565, 288, 3639, 1103, 18, 8222, 2932, 32, 2620, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 1978, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 2649, 34, 2465, 381, 7766, 13288, 300, 272, 19, 82, 315, 397, 11069, 1435, 397, 6823, 2649, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 3901, 1062, 17, 14298, 427, 5189, 1350, 17, 559, 2412, 913, 5189, 955, 19, 2620, 31, 4856, 33, 3158, 17, 28, 21121, 1769, 3639, 1103, 18, 8222, 2932, 1757, 1978, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 3432, 2984, 1769, 7734, 368, 336, 326, 819, 7734, 10201, 2157, 3399, 2157, 273, 446, 31, 3639, 514, 3399, 2578, 273, 1103, 18, 1518, 2932, 87, 8863, 3639, 309, 12, 4811, 2578, 480, 446, 13, 288, 5411, 3399, 2157, 273, 10201, 2157, 18, 17466, 12, 4811, 2578, 1769, 5411, 309, 12, 4811, 2157, 422, 446, 13, 288, 7734, 1103, 18, 8222, 2932, 32, 77, 34, 6210, 30, 14398, 7708, 1339, 315, 397, 3399, 2578, 397, 6823, 77, 4438, 2848, 26293, 1769, 5411, 289, 3639, 289, 3639, 309, 12, 4811, 2157, 422, 446, 13, 288, 5411, 3399, 2157, 273, 394, 10201, 2157, 5621, 3639, 289, 3639, 1103, 18, 3184, 273, 3399, 2157, 31, 3639, 1103, 18, 1289, 1138, 2932, 87, 3113, 3399, 2157, 18, 350, 1769, 3639, 2999, 1042, 1026, 1042, 273, 394, 2999, 1042, 12, 5900, 1769, 759, 3639, 1103, 18, 8222, 2932, 32, 77, 34, 9940, 1339, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23611, 12, 4079, 1042, 1103, 13, 565, 288, 3639, 1103, 18, 8222, 2932, 32, 2620, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 1978, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 2649, 34, 2465, 381, 7766, 13288, 300, 272, 19, 82, 315, 397, 11069, 1435, 397, 6823, 2649, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 3901, 1062, 17, 14298, 427, 5189, 1350, 17, 559, 2412, 913, 5189, 955, 19, 2620, 31, 4856, 33, 3158, 17, 28, 21121, 1769, 3639, 1103, 18, 8222, 2932, 1757, 1978, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 3432, 2984, 1769, 7734, 368, 336, 326, 819, 7734, 10201, 2157, 3399, 2157, 273, 446, 31, 3639, 514, 3399, 2578, 273, 2 ]
char[] fileShortCuts = {'0', 'N', '\0', 'X'};
char[] fileShortCuts = {'0', 'N', 0, 'X'};
Menubar(SwingGui debugGui) { super(); this.debugGui = debugGui; String[] fileItems = {"Open...", "Run...", "", "Exit"}; String[] fileCmds = {"Open", "Load", "", "Exit"}; char[] fileShortCuts = {'0', 'N', '\0', 'X'}; int[] fileAccelerators = {KeyEvent.VK_O, KeyEvent.VK_N, 0, KeyEvent.VK_Q}; String[] editItems = {"Cut", "Copy", "Paste", "Go to function..."}; char[] editShortCuts = {'T', 'C', 'P', 'F'}; String[] debugItems = {"Break", "Go", "Step Into", "Step Over", "Step Out"}; char[] debugShortCuts = {'B', 'G', 'I', 'O', 'T'}; String[] plafItems = {"Metal", "Windows", "Motif"}; char [] plafShortCuts = {'M', 'W', 'F'}; int[] debugAccelerators = {KeyEvent.VK_PAUSE, KeyEvent.VK_F5, KeyEvent.VK_F11, KeyEvent.VK_F7, KeyEvent.VK_F8, 0, 0}; JMenu fileMenu = new JMenu("File"); fileMenu.setMnemonic('F'); JMenu editMenu = new JMenu("Edit"); editMenu.setMnemonic('E'); JMenu plafMenu = new JMenu("Platform"); plafMenu.setMnemonic('P'); JMenu debugMenu = new JMenu("Debug"); debugMenu.setMnemonic('D'); windowMenu = new JMenu("Window"); windowMenu.setMnemonic('W'); for (int i = 0; i < fileItems.length; ++i) { if (fileItems[i].length() == 0) { fileMenu.addSeparator(); } else { JMenuItem item = new JMenuItem(fileItems[i], fileShortCuts[i]); item.setActionCommand(fileCmds[i]); item.addActionListener(this); fileMenu.add(item); if (fileAccelerators[i] != 0) { KeyStroke k = KeyStroke.getKeyStroke(fileAccelerators[i], Event.CTRL_MASK); item.setAccelerator(k); } } } for (int i = 0; i < editItems.length; ++i) { JMenuItem item = new JMenuItem(editItems[i], editShortCuts[i]); item.addActionListener(this); editMenu.add(item); } for (int i = 0; i < plafItems.length; ++i) { JMenuItem item = new JMenuItem(plafItems[i], plafShortCuts[i]); item.addActionListener(this); plafMenu.add(item); } for (int i = 0; i < debugItems.length; ++i) { JMenuItem item = new JMenuItem(debugItems[i], debugShortCuts[i]); item.addActionListener(this); if (debugAccelerators[i] != 0) { KeyStroke k = KeyStroke.getKeyStroke(debugAccelerators[i], 0); item.setAccelerator(k); } if (i != 0) { interruptOnlyItems.add(item); } else { runOnlyItems.add(item); } debugMenu.add(item); } breakOnExceptions = new JCheckBoxMenuItem("Break on Exceptions"); breakOnExceptions.setMnemonic('X'); breakOnExceptions.addActionListener(this); breakOnExceptions.setSelected(false); debugMenu.add(breakOnExceptions); breakOnEnter = new JCheckBoxMenuItem("Break on Function Enter"); breakOnEnter.setMnemonic('E'); breakOnEnter.addActionListener(this); breakOnEnter.setSelected(false); debugMenu.add(breakOnEnter); breakOnReturn = new JCheckBoxMenuItem("Break on Function Return"); breakOnReturn.setMnemonic('R'); breakOnReturn.addActionListener(this); breakOnReturn.setSelected(false); debugMenu.add(breakOnReturn); add(fileMenu); add(editMenu); //add(plafMenu); add(debugMenu); JMenuItem item; windowMenu.add(item = new JMenuItem("Cascade", 'A')); item.addActionListener(this); windowMenu.add(item = new JMenuItem("Tile", 'T')); item.addActionListener(this); windowMenu.addSeparator(); windowMenu.add(item = new JMenuItem("Console", 'C')); item.addActionListener(this); add(windowMenu); updateEnabled(false); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/7d1b33a19c3b651c13a0c8102bfbcab16f1967e0/SwingGui.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 490, 275, 373, 297, 12, 6050, 310, 18070, 1198, 18070, 13, 288, 3639, 2240, 5621, 3639, 333, 18, 4148, 18070, 273, 1198, 18070, 31, 3639, 514, 8526, 585, 3126, 225, 273, 12528, 3678, 7070, 16, 315, 1997, 7070, 16, 23453, 315, 6767, 6, 20451, 3639, 514, 8526, 585, 5931, 87, 225, 273, 12528, 3678, 3113, 315, 2563, 3113, 23453, 315, 6767, 6, 20451, 3639, 1149, 8526, 585, 4897, 39, 12940, 273, 13666, 20, 2187, 296, 50, 2187, 374, 16, 296, 60, 11, 20451, 3639, 509, 8526, 585, 18019, 264, 3062, 273, 288, 653, 1133, 18, 58, 47, 67, 51, 16, 21394, 23737, 18, 58, 47, 67, 50, 16, 21394, 374, 16, 21394, 23737, 18, 58, 47, 67, 53, 20451, 3639, 514, 8526, 3874, 3126, 273, 12528, 15812, 3113, 315, 2951, 3113, 315, 52, 14725, 3113, 315, 5741, 358, 445, 7070, 20451, 3639, 1149, 8526, 3874, 4897, 39, 12940, 273, 13666, 56, 2187, 296, 39, 2187, 296, 52, 2187, 296, 42, 11, 20451, 3639, 514, 8526, 1198, 3126, 273, 12528, 7634, 3113, 315, 5741, 3113, 315, 4160, 657, 869, 3113, 315, 4160, 10752, 3113, 315, 4160, 2976, 6, 20451, 3639, 1149, 8526, 1198, 4897, 39, 12940, 273, 13666, 38, 2187, 296, 43, 2187, 296, 45, 2187, 296, 51, 2187, 296, 56, 11, 20451, 3639, 514, 8526, 886, 1727, 3126, 273, 12528, 26365, 3113, 315, 10399, 3113, 315, 24749, 430, 6, 20451, 3639, 1149, 5378, 886, 1727, 4897, 39, 12940, 273, 13666, 49, 2187, 296, 59, 2187, 296, 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, 490, 275, 373, 297, 12, 6050, 310, 18070, 1198, 18070, 13, 288, 3639, 2240, 5621, 3639, 333, 18, 4148, 18070, 273, 1198, 18070, 31, 3639, 514, 8526, 585, 3126, 225, 273, 12528, 3678, 7070, 16, 315, 1997, 7070, 16, 23453, 315, 6767, 6, 20451, 3639, 514, 8526, 585, 5931, 87, 225, 273, 12528, 3678, 3113, 315, 2563, 3113, 23453, 315, 6767, 6, 20451, 3639, 1149, 8526, 585, 4897, 39, 12940, 273, 13666, 20, 2187, 296, 50, 2187, 374, 16, 296, 60, 11, 20451, 3639, 509, 8526, 585, 18019, 264, 3062, 273, 288, 653, 1133, 18, 58, 47, 67, 51, 16, 21394, 23737, 18, 58, 47, 67, 50, 16, 21394, 374, 16, 21394, 23737, 18, 58, 47, 67, 53, 2 ]
fileType == StdFileTypes.XHTML || fileType == StdFileTypes.JSPX
fileType == StdFileTypes.XHTML
public static String getDefaultNamespace(final XmlDocument document) { final XmlFile file = XmlUtil.getContainingFile(document); if (file != null && file.getCopyableUserData(XmlFile.ANT_BUILD_FILE) != null) { return ANT_URI; } XmlTag tag = document.getRootTag(); if (tag == null) return EMPTY_NAMESPACE; if ("project".equals(tag.getName()) && tag.getContext() instanceof XmlDocument) { if (tag.getAttributeValue("default") != null) { return ANT_URI; } } String namespace = getDtdUri(document); if (namespace != null) return EMPTY_NAMESPACE; if ("taglib".equals(tag.getName())) { return TAGLIB_1_2_URI; } if (file != null) { final FileType fileType = file.getFileType(); if (fileType == StdFileTypes.HTML || fileType == StdFileTypes.XHTML || fileType == StdFileTypes.JSPX ) { return XHTML_URI; } } return EMPTY_NAMESPACE; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/ec8061af33c3650e89e2969e0d5e8f16ded6a4e7/XmlUtil.java/buggy/source/com/intellij/xml/util/XmlUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 4829, 3402, 12, 6385, 5714, 2519, 1668, 13, 288, 565, 727, 5714, 812, 585, 273, 5714, 1304, 18, 588, 24344, 812, 12, 5457, 1769, 565, 309, 261, 768, 480, 446, 597, 585, 18, 588, 2951, 429, 19265, 12, 4432, 812, 18, 6856, 67, 20215, 67, 3776, 13, 480, 446, 13, 288, 1377, 327, 27274, 67, 3098, 31, 565, 289, 565, 5714, 1805, 1047, 273, 1668, 18, 588, 2375, 1805, 5621, 565, 309, 261, 2692, 422, 446, 13, 327, 8984, 67, 11368, 31, 565, 309, 7566, 4406, 9654, 14963, 12, 2692, 18, 17994, 10756, 597, 1047, 18, 29120, 1435, 1276, 5714, 2519, 13, 288, 1377, 309, 261, 2692, 18, 588, 14942, 2932, 1886, 7923, 480, 446, 13, 288, 3639, 327, 27274, 67, 3098, 31, 1377, 289, 565, 289, 565, 514, 1981, 273, 2343, 4465, 3006, 12, 5457, 1769, 565, 309, 261, 4937, 480, 446, 13, 327, 8984, 67, 11368, 31, 565, 309, 7566, 2692, 2941, 9654, 14963, 12, 2692, 18, 17994, 1435, 3719, 288, 1377, 327, 8358, 14484, 67, 21, 67, 22, 67, 3098, 31, 565, 289, 565, 309, 261, 768, 480, 446, 13, 288, 1377, 727, 29449, 21939, 273, 585, 18, 588, 28941, 5621, 1377, 309, 261, 768, 559, 422, 6276, 812, 2016, 18, 4870, 747, 1850, 21939, 422, 6276, 812, 2016, 18, 60, 4870, 747, 1850, 21939, 422, 6276, 812, 2016, 18, 46, 3118, 60, 1850, 262, 288, 3639, 327, 30551, 67, 3098, 31, 1377, 289, 565, 289, 565, 327, 8984, 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, 282, 1071, 760, 514, 4829, 3402, 12, 6385, 5714, 2519, 1668, 13, 288, 565, 727, 5714, 812, 585, 273, 5714, 1304, 18, 588, 24344, 812, 12, 5457, 1769, 565, 309, 261, 768, 480, 446, 597, 585, 18, 588, 2951, 429, 19265, 12, 4432, 812, 18, 6856, 67, 20215, 67, 3776, 13, 480, 446, 13, 288, 1377, 327, 27274, 67, 3098, 31, 565, 289, 565, 5714, 1805, 1047, 273, 1668, 18, 588, 2375, 1805, 5621, 565, 309, 261, 2692, 422, 446, 13, 327, 8984, 67, 11368, 31, 565, 309, 7566, 4406, 9654, 14963, 12, 2692, 18, 17994, 10756, 597, 1047, 18, 29120, 1435, 1276, 5714, 2519, 13, 288, 1377, 309, 261, 2692, 18, 588, 14942, 2932, 1886, 7923, 480, 446, 2 ]
ap1.setAttribute(CommonAttributes.LINE_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.YELLOW);
ap1.setAttribute(CommonAttributes.LINE_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, java.awt.Color.YELLOW);
public static SceneGraphComponent generateScene2(SceneGraphComponent root) { float[] bgc = {.3f, .3f, .5f, 1f}; IndexedFaceSet globeSet=new CatenoidHelicoid(40); globeSet.setName("CatHel1"); globeSet.buildEdgesFromFaces(); double scaleVal = 1.5; SceneGraphComponent globeNode1= new SceneGraphComponent(); globeNode1.setName("Comp1"); Transformation gt= new Transformation(); gt.setTranslation(0, 0, scaleVal); gt.setStretch(.3); globeNode1.setTransformation(gt); Appearance ap1 = new Appearance(); ap1.setAttribute(CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.RED); ap1.setAttribute(CommonAttributes.LINE_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.BLACK); ap1.setAttribute(CommonAttributes.LIGHTING_ENABLED,true); ap1.setAttribute(CommonAttributes.POLYGON_SHADER+"."+CommonAttributes.SMOOTH_SHADING,true); ap1.setAttribute(CommonAttributes.EDGE_DRAW,false); ap1.setAttribute(CommonAttributes.POLYGON_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, java.awt.Color.RED);// ap1.setAttribute(CommonAttributes.POLYGON_SHADER+"."+"textureEnabled",true);// double[] vec = {1d, 1.5d, 1d};// ap1.setAttribute(CommonAttributes.POLYGON_SHADER+"."+"textureFile","/gunn/grid256rgba.jpg");// ap1.setAttribute(CommonAttributes.POLYGON_SHADER+"."+"textureMatrix",P3.makeStretchMatrix(null, vec)); globeNode1.setAppearance(ap1); //rootAp = ap1; globeNode1.setGeometry(globeSet); // 2. globeSet=new CatenoidHelicoid(20); globeSet.setName("CatHel2"); globeSet.buildEdgesFromFaces(); SceneGraphComponent globeNode2= new SceneGraphComponent(); globeNode2.setName("Comp1"); gt= new Transformation(); gt.setTranslation(scaleVal, scaleVal, scaleVal); gt.setStretch(.3); globeNode2.setTransformation(gt); globeNode2.setGeometry(globeSet); ap1 = new Appearance(); ap1.setAttribute(CommonAttributes.LINE_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.PURPLE); ap1.setAttribute(CommonAttributes.LINE_WIDTH,2.0); ap1.setAttribute(CommonAttributes.POLYGON_SHADER+"."+CommonAttributes.DIFFUSE_COLOR,new java.awt.Color(.2f, .5f, .5f, 1f)); ap1.setAttribute(CommonAttributes.FACE_DRAW,true); ap1.setAttribute(CommonAttributes.EDGE_DRAW,true); ap1.setAttribute(CommonAttributes.VERTEX_DRAW,true); ap1.setAttribute(CommonAttributes.TRANSPARENCY_ENABLED,true); ap1.setAttribute(CommonAttributes.SMOOTH_SHADING,false); ap1.setAttribute(CommonAttributes.LIGHTING_ENABLED,true); ap1.setAttribute(CommonAttributes.NORMALS_DRAW,true); ap1.setAttribute(CommonAttributes.NORMAL_SCALE, 1.0); globeNode2.setAppearance(ap1); globeSet=new CatenoidHelicoid(20); globeSet.setName("CatHel3"); globeSet.buildEdgesFromFaces(); SceneGraphComponent globeNode3= new SceneGraphComponent(); gt= new Transformation(); gt.setTranslation(-scaleVal, -scaleVal, scaleVal); gt.setStretch(.3); globeNode3.setTransformation(gt); globeNode3.setGeometry(globeSet); ap1 = new Appearance(); ap1.setAttribute(CommonAttributes.LINE_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.WHITE); ap1.setAttribute(CommonAttributes.LINE_WIDTH,2.0); ap1.setAttribute(CommonAttributes.POINT_RADIUS,3.0); ap1.setAttribute(CommonAttributes.EDGE_DRAW,true); ap1.setAttribute(CommonAttributes.LINE_STIPPLE,true); ap1.setAttribute(CommonAttributes.LINE_STIPPLE_PATTERN,0x1c47); ap1.setAttribute(CommonAttributes.ANTIALIASING_ENABLED,true); ap1.setAttribute(CommonAttributes.FACE_DRAW,false); ap1.setAttribute(CommonAttributes.VERTEX_DRAW,false); globeNode3.setAppearance(ap1); //Torus torus= new Torus(2.3, 1.5, 20, 30); //torus.calculateNormals(); //Torus torus= new Torus(2.3, 1.5, 20, 30); //torus.calculateNormals(); DiscreteSpaceCurve torus1 = DiscreteSpaceCurve.discreteTorusKnot(1.0, .4,3,5,100); SceneGraphComponent globeNode4= new SceneGraphComponent(); gt= new Transformation(); gt.setTranslation(0, 0, 0.0); //gt.setRotation( Math.PI/2.0,1.0, 0.0, 0.0); //gt.setStretch(.3); globeNode4.setTransformation(gt); globeNode4.setGeometry(torus1); ap1 = new Appearance(); ap1.setAttribute(CommonAttributes.POLYGON_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.BLUE); ap1.setAttribute(CommonAttributes.LINE_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.GREEN); ap1.setAttribute(CommonAttributes.LINE_WIDTH,1.0); ap1.setAttribute(CommonAttributes.POINT_RADIUS,3.0); ap1.setAttribute(CommonAttributes.FACE_DRAW,false); ap1.setAttribute(CommonAttributes.EDGE_DRAW,true); ap1.setAttribute(CommonAttributes.LIGHTING_ENABLED,true); ap1.setAttribute(CommonAttributes.SMOOTH_SHADING,true); ap1.setAttribute(CommonAttributes.SPECULAR_EXPONENT,200.0); ap1.setAttribute(CommonAttributes.NORMALS_DRAW,false); ap1.setAttribute(CommonAttributes.NORMAL_SCALE,-1.0); ap1.setAttribute(CommonAttributes.LINE_WIDTH, 2.0); ap1.setAttribute(CommonAttributes.LINE_STIPPLE,false); ap1.setAttribute(CommonAttributes.VERTEX_DRAW,false); globeNode4.setAppearance(ap1); Torus torus= new Torus(2.3, 1.5, 20, 30); torus.calculateNormals(); SceneGraphComponent globeNode5= new SceneGraphComponent(); gt= new Transformation(); gt.setTranslation(scaleVal,scaleVal,0.0); //gt.setRotation( Math.PI/2.0,1.0, 0.0, 0.0); gt.setStretch(.3); globeNode5.setTransformation(gt); globeNode5.setGeometry(torus); ap1 = new Appearance(); ap1.setAttribute(CommonAttributes.LINE_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.YELLOW); ap1.setAttribute(CommonAttributes.FACE_DRAW,false); ap1.setAttribute(CommonAttributes.EDGE_DRAW,true); ap1.setAttribute(CommonAttributes.LIGHTING_ENABLED,false); ap1.setAttribute(CommonAttributes.NORMALS_DRAW,true); ap1.setAttribute(CommonAttributes.ANTIALIASING_ENABLED,true); ap1.setAttribute(CommonAttributes.NORMAL_SCALE,1.0); globeNode5.setAppearance(ap1); torus= new Torus(2.3, 1.5, 20, 30); torus.calculateNormals(); SceneGraphComponent globeNode6= new SceneGraphComponent(); gt= new Transformation(); gt.setTranslation(-scaleVal,-scaleVal,0.0); gt.setRotation( Math.PI/2.0,1.0, 0.0, 0.0); gt.setStretch(.3); ap1 = new Appearance(); ap1.setAttribute(CommonAttributes.POLYGON_SHADER+"."+CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.BLUE); globeNode6.setTransformation(gt); globeNode6.setGeometry(torus); globeNode6.setAppearance(ap1); root.addChild(globeNode1); root.addChild(globeNode2); root.addChild(globeNode3); root.addChild(globeNode4); root.addChild(globeNode5); root.addChild(globeNode6); return root; }
25476 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25476/352d69123ac0111eaac1bdb80e046d16518a5f52/ImplodeShaderDemo.java/clean/test/de/jreality/examples/jsyzygy/ImplodeShaderDemo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 29347, 4137, 1841, 2103, 14370, 22, 12, 14370, 4137, 1841, 1365, 13, 288, 202, 202, 5659, 8526, 7611, 71, 273, 288, 18, 23, 74, 16, 263, 23, 74, 16, 263, 25, 74, 16, 404, 74, 20451, 202, 202, 15034, 11824, 694, 4715, 73, 694, 33, 2704, 385, 270, 275, 839, 44, 292, 335, 839, 12, 7132, 1769, 202, 202, 10581, 73, 694, 18, 542, 461, 2932, 11554, 44, 292, 21, 8863, 202, 202, 10581, 73, 694, 18, 3510, 10697, 1265, 17268, 5621, 202, 282, 1645, 3159, 3053, 273, 404, 18, 25, 31, 202, 202, 14370, 4137, 1841, 4715, 73, 907, 21, 33, 394, 29347, 4137, 1841, 5621, 202, 202, 10581, 73, 907, 21, 18, 542, 461, 2932, 2945, 21, 8863, 202, 202, 15292, 9879, 33, 394, 21274, 5621, 202, 202, 4521, 18, 542, 6717, 12, 20, 16, 374, 16, 3159, 3053, 1769, 202, 202, 4521, 18, 542, 510, 20783, 10604, 23, 1769, 202, 202, 10581, 73, 907, 21, 18, 542, 15292, 12, 4521, 1769, 202, 282, 1716, 27668, 513, 21, 273, 394, 1716, 27668, 5621, 202, 282, 513, 21, 18, 542, 1499, 12, 6517, 2498, 18, 2565, 2246, 8001, 67, 10989, 16, 2989, 11790, 19396, 18, 5879, 1769, 202, 282, 513, 21, 18, 542, 1499, 12, 6517, 2498, 18, 5997, 67, 2664, 5483, 9078, 1199, 15, 6517, 2498, 18, 2565, 2246, 8001, 67, 10989, 16, 2989, 11790, 19396, 18, 14618, 3649, 1769, 202, 282, 513, 21, 18, 542, 1499, 12, 6517, 2498, 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, 760, 29347, 4137, 1841, 2103, 14370, 22, 12, 14370, 4137, 1841, 1365, 13, 288, 202, 202, 5659, 8526, 7611, 71, 273, 288, 18, 23, 74, 16, 263, 23, 74, 16, 263, 25, 74, 16, 404, 74, 20451, 202, 202, 15034, 11824, 694, 4715, 73, 694, 33, 2704, 385, 270, 275, 839, 44, 292, 335, 839, 12, 7132, 1769, 202, 202, 10581, 73, 694, 18, 542, 461, 2932, 11554, 44, 292, 21, 8863, 202, 202, 10581, 73, 694, 18, 3510, 10697, 1265, 17268, 5621, 202, 282, 1645, 3159, 3053, 273, 404, 18, 25, 31, 202, 202, 14370, 4137, 1841, 4715, 73, 907, 21, 33, 394, 29347, 4137, 1841, 5621, 202, 202, 10581, 73, 907, 21, 18, 542, 2 ]
afterSend((OutNetMessage)changedMsgs.get(i), false, false, 0);
OutNetMessage cur = (OutNetMessage)changedMsgs.get(i); cur.timestamp("changedIdents"); afterSend(cur, false, false, 0);
void connectionEstablished(TCPConnection con) { TCPAddress remAddr = con.getRemoteAddress(); RouterIdentity ident = con.getRemoteRouterIdentity(); if ( (remAddr == null) || (ident == null) ) { con.closeConnection(); return; } List waitingMsgs = null; List changedMsgs = null; boolean alreadyConnected = false; boolean changedIdents = false; synchronized (_connectionLock) { if (_connectionsByAddress.containsKey(remAddr.toString())) { alreadyConnected = true; } else { _connectionsByAddress.put(remAddr.toString(), con); } if (_connectionsByIdent.containsKey(ident.calculateHash())) { alreadyConnected = true; } else { _connectionsByIdent.put(ident.calculateHash(), con); } // just drop the _pending connections - the establisher should fail // them accordingly. _pendingConnectionsByAddress.remove(remAddr.toString()); _pendingConnectionsByIdent.remove(ident.calculateHash()); if ( (con.getAttemptedPeer() != null) && (!ident.getHash().equals(con.getAttemptedPeer())) ) { changedIdents = true; _pendingConnectionsByIdent.remove(con.getAttemptedPeer()); changedMsgs = (List)_pendingMessages.remove(con.getAttemptedPeer()); } if (!alreadyConnected) waitingMsgs = (List)_pendingMessages.remove(ident.calculateHash()); if (_log.shouldLog(Log.DEBUG)) { StringBuffer buf = new StringBuffer(256); buf.append("\nConnection to ").append(ident.getHash().toBase64().substring(0,6)); buf.append(" built. Already connected? "); buf.append(alreadyConnected); buf.append("\nconnectionsByAddress: (cur=").append(remAddr.toString()).append(") "); for (Iterator iter = _connectionsByAddress.keySet().iterator(); iter.hasNext(); ) { String addr = (String)iter.next(); buf.append(addr).append(" "); } buf.append("\nconnectionsByIdent: "); for (Iterator iter = _connectionsByIdent.keySet().iterator(); iter.hasNext(); ) { Hash h = (Hash)iter.next(); buf.append(h.toBase64().substring(0,6)).append(" "); } _log.debug(buf.toString()); } } if (changedIdents) { _context.shitlist().shitlistRouter(con.getAttemptedPeer(), "Changed identities"); if (changedMsgs != null) { for (int i = 0; i < changedMsgs.size(); i++) { afterSend((OutNetMessage)changedMsgs.get(i), false, false, 0); } } } if (alreadyConnected) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Closing new duplicate"); con.setTransport(this); con.closeConnection(); } else { if (waitingMsgs != null) { for (int i = 0; i < waitingMsgs.size(); i++) { con.addMessage((OutNetMessage)waitingMsgs.get(i)); } } _context.shitlist().unshitlistRouter(ident.calculateHash()); con.setTransport(this); con.runConnection(); if (_log.shouldLog(Log.DEBUG)) _log.debug("Connection set to run"); } }
27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/98c780415bee01e25550543ebc6a0bb55423f6f7/TCPTransport.java/buggy/router/java/src/net/i2p/router/transport/tcp/TCPTransport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1459, 9122, 9237, 5992, 12, 13891, 1952, 356, 13, 288, 3639, 9911, 1887, 849, 3178, 273, 356, 18, 588, 5169, 1887, 5621, 3639, 9703, 4334, 3390, 273, 356, 18, 588, 5169, 8259, 4334, 5621, 3639, 309, 261, 261, 2764, 3178, 422, 446, 13, 747, 261, 6392, 422, 446, 13, 262, 288, 5411, 356, 18, 4412, 1952, 5621, 5411, 327, 31, 3639, 289, 7734, 987, 7336, 17949, 273, 446, 31, 3639, 987, 3550, 17949, 273, 446, 31, 3639, 1250, 1818, 8932, 273, 629, 31, 3639, 1250, 3550, 548, 4877, 273, 629, 31, 3639, 3852, 261, 67, 4071, 2531, 13, 288, 5411, 309, 261, 67, 13313, 858, 1887, 18, 12298, 653, 12, 2764, 3178, 18, 10492, 1435, 3719, 288, 7734, 1818, 8932, 273, 638, 31, 5411, 289, 469, 288, 7734, 389, 13313, 858, 1887, 18, 458, 12, 2764, 3178, 18, 10492, 9334, 356, 1769, 5411, 289, 13491, 309, 261, 67, 13313, 5132, 319, 18, 12298, 653, 12, 6392, 18, 11162, 2310, 1435, 3719, 288, 7734, 1818, 8932, 273, 638, 31, 5411, 289, 469, 288, 7734, 389, 13313, 5132, 319, 18, 458, 12, 6392, 18, 11162, 2310, 9334, 356, 1769, 5411, 289, 13491, 368, 2537, 3640, 326, 389, 9561, 5921, 300, 326, 18312, 264, 1410, 2321, 5411, 368, 2182, 15905, 18, 5411, 389, 9561, 9314, 858, 1887, 18, 4479, 12, 2764, 3178, 18, 10492, 10663, 5411, 389, 9561, 9314, 5132, 319, 18, 4479, 12, 6392, 18, 11162, 2310, 10663, 5411, 309, 261, 261, 591, 18, 588, 28788, 6813, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1459, 9122, 9237, 5992, 12, 13891, 1952, 356, 13, 288, 3639, 9911, 1887, 849, 3178, 273, 356, 18, 588, 5169, 1887, 5621, 3639, 9703, 4334, 3390, 273, 356, 18, 588, 5169, 8259, 4334, 5621, 3639, 309, 261, 261, 2764, 3178, 422, 446, 13, 747, 261, 6392, 422, 446, 13, 262, 288, 5411, 356, 18, 4412, 1952, 5621, 5411, 327, 31, 3639, 289, 7734, 987, 7336, 17949, 273, 446, 31, 3639, 987, 3550, 17949, 273, 446, 31, 3639, 1250, 1818, 8932, 273, 629, 31, 3639, 1250, 3550, 548, 4877, 273, 629, 31, 3639, 3852, 261, 67, 4071, 2531, 13, 288, 5411, 309, 261, 67, 13313, 858, 1887, 18, 12298, 653, 12, 2764, 3178, 18, 10492, 1435, 3719, 288, 2 ]
assertTrue(data.doubleValue() == rs.getDouble(1));
assertEquals(data.doubleValue(), rs.getDouble(1));
public void testPreparedStatementSetObject3() throws Exception { BigDecimal data = new BigDecimal(3.7D); Statement stmt = con.createStatement(); stmt.execute("CREATE TABLE #psso3 (data MONEY)"); stmt.close(); PreparedStatement pstmt = con.prepareStatement("INSERT INTO #psso3 (data) VALUES (?)"); pstmt.setObject(1, data, Types.DECIMAL); assertTrue(pstmt.executeUpdate() == 1); pstmt.close(); stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("SELECT data FROM #psso3"); assertTrue(rs.next()); assertTrue(data.doubleValue() == rs.getDouble(1)); assertTrue(!rs.next()); rs.close(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/711d47f475f1fc9d77fbce64a70d11606c38d145/PreparedStatementTest.java/buggy/src/test/net/sourceforge/jtds/test/PreparedStatementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 29325, 694, 921, 23, 1435, 1216, 1185, 288, 3639, 8150, 501, 273, 394, 8150, 12, 23, 18, 27, 40, 1769, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 84, 31269, 23, 261, 892, 30215, 2602, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 11356, 12421, 468, 84, 31269, 23, 261, 892, 13, 13477, 13590, 2225, 1769, 3639, 293, 10589, 18, 542, 921, 12, 21, 16, 501, 16, 7658, 18, 23816, 1769, 3639, 1815, 5510, 12, 84, 10589, 18, 8837, 1891, 1435, 422, 404, 1769, 3639, 293, 10589, 18, 4412, 5621, 3639, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 10842, 3597, 273, 3480, 18, 8837, 1138, 2932, 4803, 501, 4571, 468, 84, 31269, 23, 8863, 3639, 1815, 5510, 12, 5453, 18, 4285, 10663, 3639, 1815, 8867, 12, 892, 18, 9056, 620, 9334, 3597, 18, 588, 5265, 12, 21, 10019, 3639, 1815, 5510, 12, 5, 5453, 18, 4285, 10663, 3639, 3597, 18, 4412, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 29325, 694, 921, 23, 1435, 1216, 1185, 288, 3639, 8150, 501, 273, 394, 8150, 12, 23, 18, 27, 40, 1769, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 84, 31269, 23, 261, 892, 30215, 2602, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 11356, 12421, 468, 84, 31269, 23, 261, 892, 13, 13477, 13590, 2225, 1769, 3639, 293, 10589, 18, 542, 921, 12, 21, 16, 501, 16, 7658, 18, 23816, 1769, 3639, 1815, 5510, 12, 84, 10589, 18, 8837, 1891, 1435, 422, 404, 1769, 3639, 293, 10589, 18, 4412, 5621, 3639, 3480, 273, 356, 18, 2640, 3406, 2 ]
saveBeforeProceedingCount++;
saveAllBeforeProceedingCount++;
public void testCompileUnsavedButSaveWhenAsked() throws BadLocationException, IOException { final OpenDefinitionsDocument doc = setupDocument(FOO_TEXT); final File file = tempFile(); CompileShouldSucceedListener listener = new CompileShouldSucceedListener() { public void saveBeforeProceeding(GlobalModelListener.SaveReason reason) { assertEquals(_name() + "save reason", COMPILE_REASON, reason); assertModified(true, doc); assertSaveCount(0); assertCompileStartCount(0); assertCompileEndCount(0); assertInteractionsResetCount(0); assertConsoleResetCount(0); try { doc.saveFile(new FileSelector(file)); } catch (IOException ioe) { fail("Save produced exception: " + ioe); } saveBeforeProceedingCount++; } public void fileSaved(OpenDefinitionsDocument doc) { assertModified(false, doc); assertSaveBeforeProceedingCount(0); assertCompileStartCount(0); assertCompileEndCount(0); assertInteractionsResetCount(0); assertConsoleResetCount(0); File f = null; try { f = doc.getFile(); } catch (IllegalStateException ise) { // We know file should exist throw new UnexpectedException(ise); } assertEquals(_name() + "file saved", file, f); saveCount++; } }; _model.addListener(listener); doc.startCompile(); // Check events fired listener.assertSaveBeforeProceedingCount(1); listener.assertSaveCount(1); assertCompileErrorsPresent(_name(), false); listener.checkCompileOccurred(); // Make sure .class exists File compiled = classForJava(file, "Foo"); assertTrue(_name() + "Class file doesn't exist after compile", compiled.exists()); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/963348ced7921c9036c4d0267a79aecf5dc0da09/GlobalModelCompileTest.java/buggy/drjava/src/edu/rice/cs/drjava/model/GlobalModelCompileTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 9937, 984, 14077, 31167, 4755, 9434, 23663, 329, 1435, 565, 1216, 6107, 2735, 503, 16, 1860, 225, 288, 565, 727, 3502, 7130, 2519, 997, 273, 3875, 2519, 12, 3313, 51, 67, 5151, 1769, 565, 727, 1387, 585, 273, 18286, 5621, 565, 16143, 14309, 55, 5286, 5288, 2223, 2991, 273, 394, 16143, 14309, 55, 5286, 5288, 2223, 1435, 288, 1377, 1071, 918, 1923, 4649, 626, 5288, 310, 12, 5160, 1488, 2223, 18, 4755, 8385, 3971, 13, 288, 3639, 1815, 8867, 24899, 529, 1435, 397, 315, 5688, 3971, 3113, 5423, 1102, 900, 67, 29416, 1413, 16, 3971, 1769, 3639, 1815, 4575, 12, 3767, 16, 997, 1769, 3639, 1815, 4755, 1380, 12, 20, 1769, 3639, 1815, 9937, 1685, 1380, 12, 20, 1769, 3639, 1815, 9937, 1638, 1380, 12, 20, 1769, 3639, 1815, 2465, 4905, 7013, 1380, 12, 20, 1769, 3639, 1815, 10215, 7013, 1380, 12, 20, 1769, 3639, 775, 288, 1850, 997, 18, 5688, 812, 12, 2704, 1387, 4320, 12, 768, 10019, 3639, 289, 3639, 1044, 261, 14106, 10847, 13, 288, 1850, 2321, 2932, 4755, 14929, 1520, 30, 315, 397, 10847, 1769, 3639, 289, 3639, 1923, 1595, 4649, 626, 5288, 310, 1380, 9904, 31, 1377, 289, 1377, 1071, 918, 585, 16776, 12, 3678, 7130, 2519, 997, 13, 288, 3639, 1815, 4575, 12, 5743, 16, 997, 1769, 3639, 1815, 4755, 4649, 626, 5288, 310, 1380, 12, 20, 1769, 3639, 1815, 9937, 1685, 1380, 12, 20, 1769, 3639, 1815, 9937, 1638, 1380, 12, 20, 1769, 3639, 1815, 2465, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 9937, 984, 14077, 31167, 4755, 9434, 23663, 329, 1435, 565, 1216, 6107, 2735, 503, 16, 1860, 225, 288, 565, 727, 3502, 7130, 2519, 997, 273, 3875, 2519, 12, 3313, 51, 67, 5151, 1769, 565, 727, 1387, 585, 273, 18286, 5621, 565, 16143, 14309, 55, 5286, 5288, 2223, 2991, 273, 394, 16143, 14309, 55, 5286, 5288, 2223, 1435, 288, 1377, 1071, 918, 1923, 4649, 626, 5288, 310, 12, 5160, 1488, 2223, 18, 4755, 8385, 3971, 13, 288, 3639, 1815, 8867, 24899, 529, 1435, 397, 315, 5688, 3971, 3113, 5423, 1102, 900, 67, 29416, 1413, 16, 3971, 1769, 3639, 1815, 4575, 12, 3767, 16, 997, 1769, 3639, 1815, 4755, 1380, 12, 20, 1769, 3639, 1815, 9937, 1685, 2 ]
String strikethroughPosStr = fontFaceElement.getAttributeNS(null, SVG_STRIKETHROUGH_POSITION_ATTRIBUTE);
String strikethroughPosStr = fontFaceElement.getAttributeNS (null, SVG_STRIKETHROUGH_POSITION_ATTRIBUTE);
public SVGFontFace createFontFace(BridgeContext ctx, Element fontFaceElement) { // get all the font-face attributes String familyNames = fontFaceElement.getAttributeNS(null, SVG_FONT_FAMILY_ATTRIBUTE); // units per em String unitsPerEmStr = fontFaceElement.getAttributeNS(null, SVG_UNITS_PER_EM_ATTRIBUTE); if (unitsPerEmStr.length() == 0) { unitsPerEmStr = SVG_FONT_FACE_UNITS_PER_EM_DEFAULT_VALUE; } float unitsPerEm; try { unitsPerEm = SVGUtilities.convertSVGNumber(unitsPerEmStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_UNITS_PER_EM_ATTRIBUTE, unitsPerEmStr}); } // font-weight String fontWeight = fontFaceElement.getAttributeNS(null, SVG_FONT_WEIGHT_ATTRIBUTE); if (fontWeight.length() == 0) { fontWeight = SVG_FONT_FACE_FONT_WEIGHT_DEFAULT_VALUE; } // font-style String fontStyle = fontFaceElement.getAttributeNS(null, SVG_FONT_STYLE_ATTRIBUTE); if (fontStyle.length() == 0) { fontStyle = SVG_FONT_FACE_FONT_STYLE_DEFAULT_VALUE; } // font-variant String fontVariant = fontFaceElement.getAttributeNS(null, SVG_FONT_VARIANT_ATTRIBUTE); if (fontVariant.length() == 0) { fontVariant = SVG_FONT_FACE_FONT_VARIANT_DEFAULT_VALUE; } // font-stretch String fontStretch = fontFaceElement.getAttributeNS(null, SVG_FONT_STRETCH_ATTRIBUTE); if (fontStretch.length() == 0) { fontStretch = SVG_FONT_FACE_FONT_STRETCH_DEFAULT_VALUE; } // slopeStr String slopeStr = fontFaceElement.getAttributeNS(null, SVG_SLOPE_ATTRIBUTE); if (slopeStr.length() == 0) { slopeStr = SVG_FONT_FACE_SLOPE_DEFAULT_VALUE; } float slope; try { slope = SVGUtilities.convertSVGNumber(slopeStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, slopeStr}); } // panose-1 String panose1 = fontFaceElement.getAttributeNS(null, SVG_PANOSE_1_ATTRIBUTE); if (panose1.length() == 0) { panose1 = SVG_FONT_FACE_PANOSE_1_DEFAULT_VALUE; } // ascent String ascentStr = fontFaceElement.getAttributeNS(null, SVG_ASCENT_ATTRIBUTE); if (ascentStr.length() == 0) { // set it to be unitsPerEm/2, not sure if this is correct or not ascentStr = String.valueOf(unitsPerEm/2); } float ascent; try { ascent = SVGUtilities.convertSVGNumber(ascentStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, ascentStr}); } // descent String descentStr = fontFaceElement.getAttributeNS(null, SVG_DESCENT_ATTRIBUTE); if (descentStr.length() == 0) { // set it to be unitsPerEm/2, not sure if this is correct or not descentStr = String.valueOf(unitsPerEm/2); } float descent; try { descent = SVGUtilities.convertSVGNumber(descentStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, descentStr}); } // underline-position String underlinePosStr = fontFaceElement.getAttributeNS(null, SVG_UNDERLINE_POSITION_ATTRIBUTE); if (underlinePosStr.length() == 0) { underlinePosStr = "0"; } float underlinePos; try { underlinePos = SVGUtilities.convertSVGNumber(underlinePosStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, underlinePosStr}); } // underline-thickness String underlineThicknessStr = fontFaceElement.getAttributeNS(null, SVG_UNDERLINE_THICKNESS_ATTRIBUTE); if (underlineThicknessStr.length() == 0) { underlineThicknessStr = String.valueOf(unitsPerEm/20); } float underlineThickness; try { underlineThickness = SVGUtilities.convertSVGNumber(underlineThicknessStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, underlineThicknessStr}); } // strikethrough-position String strikethroughPosStr = fontFaceElement.getAttributeNS(null, SVG_STRIKETHROUGH_POSITION_ATTRIBUTE); if (strikethroughPosStr.length() == 0) { strikethroughPosStr = String.valueOf(ascent/3); } float strikethroughPos; try { strikethroughPos = SVGUtilities.convertSVGNumber(strikethroughPosStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, strikethroughPosStr}); } // strikethrough-thickness String strikethroughThicknessStr = fontFaceElement.getAttributeNS(null, SVG_STRIKETHROUGH_THICKNESS_ATTRIBUTE); if (strikethroughThicknessStr.length() == 0) { strikethroughThicknessStr = String.valueOf(unitsPerEm/20); } float strikethroughThickness; try { strikethroughThickness = SVGUtilities.convertSVGNumber(strikethroughThicknessStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, strikethroughThicknessStr}); } // overline-position String overlinePosStr = fontFaceElement.getAttributeNS(null, this.SVG_OVERLINE_POSITION_ATTRIBUTE); if (overlinePosStr.length() == 0) { overlinePosStr = String.valueOf(ascent); } float overlinePos; try { overlinePos = SVGUtilities.convertSVGNumber(overlinePosStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, overlinePosStr}); } // overline-thickness String overlineThicknessStr = fontFaceElement.getAttributeNS(null, SVG_OVERLINE_THICKNESS_ATTRIBUTE); if (overlineThicknessStr.length() == 0) { overlineThicknessStr = String.valueOf(unitsPerEm/20); } float overlineThickness; try { overlineThickness = SVGUtilities.convertSVGNumber(overlineThicknessStr); } catch (NumberFormatException ex) { throw new BridgeException (fontFaceElement, ERR_ATTRIBUTE_VALUE_MALFORMED, new Object [] {SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, overlineThicknessStr}); } // TODO: get the rest of the attributes return new SVGFontFace(familyNames, unitsPerEm, fontWeight, fontStyle, fontVariant, fontStretch, slope, panose1, ascent, descent, strikethroughPos, strikethroughThickness, underlinePos, underlineThickness, overlinePos, overlineThickness); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/0e8fac772791a058755ef5ad1de71c14544b11bb/SVGFontFaceElementBridge.java/buggy/sources/org/apache/batik/bridge/SVGFontFaceElementBridge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11281, 5711, 11824, 752, 5711, 11824, 12, 13691, 1042, 1103, 16, 4766, 1377, 3010, 3512, 11824, 1046, 13, 288, 3639, 368, 336, 777, 326, 3512, 17, 865, 1677, 3639, 514, 6755, 1557, 273, 3512, 11824, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 11281, 67, 25221, 67, 25002, 25554, 67, 11616, 1769, 3639, 368, 4971, 1534, 801, 3639, 514, 4971, 2173, 1514, 1585, 273, 3512, 11824, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 11281, 67, 24325, 67, 3194, 67, 3375, 67, 11616, 1769, 3639, 309, 261, 7705, 2173, 1514, 1585, 18, 2469, 1435, 422, 374, 13, 288, 5411, 4971, 2173, 1514, 1585, 273, 11281, 67, 25221, 67, 11300, 67, 24325, 67, 3194, 67, 3375, 67, 5280, 67, 4051, 31, 3639, 289, 3639, 1431, 4971, 2173, 1514, 31, 3639, 775, 288, 5411, 4971, 2173, 1514, 273, 11281, 11864, 18, 6283, 26531, 1854, 12, 7705, 2173, 1514, 1585, 1769, 3639, 289, 1044, 261, 1854, 9291, 431, 13, 288, 5411, 604, 394, 24219, 503, 7734, 261, 5776, 11824, 1046, 16, 10359, 67, 11616, 67, 4051, 67, 49, 1013, 7473, 25773, 16, 7734, 394, 1033, 5378, 288, 26531, 67, 24325, 67, 3194, 67, 3375, 67, 11616, 16, 4971, 2173, 1514, 1585, 22938, 3639, 289, 3639, 368, 3512, 17, 4865, 3639, 514, 3512, 6544, 273, 3512, 11824, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 11281, 67, 25221, 67, 29988, 67, 11616, 1769, 3639, 309, 261, 5776, 6544, 18, 2469, 1435, 422, 374, 13, 288, 5411, 3512, 6544, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11281, 5711, 11824, 752, 5711, 11824, 12, 13691, 1042, 1103, 16, 4766, 1377, 3010, 3512, 11824, 1046, 13, 288, 3639, 368, 336, 777, 326, 3512, 17, 865, 1677, 3639, 514, 6755, 1557, 273, 3512, 11824, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 11281, 67, 25221, 67, 25002, 25554, 67, 11616, 1769, 3639, 368, 4971, 1534, 801, 3639, 514, 4971, 2173, 1514, 1585, 273, 3512, 11824, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 11281, 67, 24325, 67, 3194, 67, 3375, 67, 11616, 1769, 3639, 309, 261, 7705, 2173, 1514, 1585, 18, 2469, 1435, 422, 374, 13, 288, 5411, 4971, 2173, 1514, 1585, 273, 11281, 67, 25221, 67, 11300, 67, 24325, 67, 3194, 67, 3375, 67, 5280, 2 ]
void progress(String taskid, float progress, String state, Phase phase)
void progress(String taskid, float progress, String state, TaskStatus.Phase phase)
void progress(String taskid, float progress, String state, Phase phase) throws IOException;
49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/1e24384b1f84e52afdfd79649a51a55574be4905/TaskUmbilicalProtocol.java/buggy/src/java/org/apache/hadoop/mapred/TaskUmbilicalProtocol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 4007, 12, 780, 29035, 16, 1431, 4007, 16, 514, 919, 16, 29628, 18, 11406, 6855, 13, 565, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 4007, 12, 780, 29035, 16, 1431, 4007, 16, 514, 919, 16, 29628, 18, 11406, 6855, 13, 565, 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 ]
public Node parse(String file, Reader content) { return parse(file, content, new RubyParserConfiguration());
public Node parse(String file, String content) { return parse(file, new StringReader(content));
public Node parse(String file, Reader content) { return parse(file, content, new RubyParserConfiguration()); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/0f6e18726a82e6e618032c9fbecf61f67509d272/Parser.java/buggy/src/org/jruby/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 1109, 12, 780, 585, 16, 5393, 913, 13, 288, 3639, 327, 1109, 12, 768, 16, 913, 16, 394, 19817, 2678, 1750, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2029, 1109, 12, 780, 585, 16, 5393, 913, 13, 288, 3639, 327, 1109, 12, 768, 16, 913, 16, 394, 19817, 2678, 1750, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
CRole.getInstance().refreshRole();
public void commit(CTreeNode node, String commitMessage) throws Exception{ File toCommit = new File(node.getLocalPath()); //Si on doit envoyer un dossier if(toCommit.isDirectory()){ File[] fileInDirectory ; //Si le dossier n'est pas sous une version control??e if(!SvnHistory.isUnderVersion(toCommit)){ //On recupere tout les fichiers parents ?? envoyer fileInDirectory = fileToAdd(node); }else{ //Liste les fichiers que l'utilisateur ?? le droit d'envoyer fileInDirectory = toCommit.listFiles(new FilenameFilter() { public boolean accept(File dir, String name) { File directory = new File(dir.getAbsolutePath()+"/"+name); if(directory.isDirectory()&&!directory.isHidden()) return true; if(name.endsWith(".xml")||name.endsWith(".pre")||name.endsWith(".pog")||name.endsWith(".apes")) return true; return false; } }); //Ajout des fichiers non versionn??s dans le cas o?? le dossier est versionn?? doAdd(toCommit); } //Envoi des fichiers try { svnCC.doCommit(fileInDirectory,false,commitMessage, false, true); } catch (SVNException e) { ErrorManager.getInstance().setErrMsg("L'envoi du dossier "+toCommit.getName()+" a ??chou??.\n"+e.getCause()); ErrorManager.getInstance().setErrTitle("Envoi impossible"); throw e; } }else{ if(!SvnHistory.isUnderVersion(toCommit)){ //Ajout du fichier et des parents non versionn??s, puis envoi de ces fichiers try { svnCC.doCommit(fileToAdd(node),false,commitMessage, false, false); } catch (SVNException e) { ErrorManager.getInstance().setErrMsg("L'envoi du fichier "+toCommit.getName()+" a ??chou??.\n"+e.getCause()); ErrorManager.getInstance().setErrTitle("Envoi impossible"); throw e; } }else{ //Si le fichiers est versionn??, on l'envoi sendFile(toCommit,commitMessage); } } //Si le fichiers des d??pendances est modifi?? on l'envoi en m??me temps if(SvnHistory.isModified(UsersParser.getInstance().getUsersXML())||SvnHistory.isModified(ProjectsParser.getInstance().getProjectXML())) sendXMLFile(); }
10528 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10528/57ddee7cd9f469e84982484d10dff8c355564e42/SvnCommit.java/clean/XAGDOP/xagdop/Svn/SvnCommit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 918, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 3294, 12, 1268, 992, 907, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 756, 16, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 514, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 3294, 1079, 13, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 1216, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 1185, 95, 202, 202, 812, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 358, 5580, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 273, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 394, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 1387, 12, 2159, 18, 588, 2042, 743, 10663, 202, 202, 759, 55, 77, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 603, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 741, 305, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 1550, 13372, 264, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 640, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 302, 8464, 2453, 202, 202, 430, 12, 869, 5580, 18, 291, 2853, 10756, 95, 1082, 202, 812, 8526, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 585, 382, 2853, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 274, 1082, 202, 759, 55, 77, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 884, 39, 2996, 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, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 918, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 3294, 12, 1268, 992, 907, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 756, 16, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 514, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 3294, 1079, 13, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 1216, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 1185, 95, 202, 202, 812, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 358, 5580, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 273, 39, 2996, 18, 588, 1442, 7675, 9144, 2996, 5621, 394, 39, 2996, 18, 588, 2 ]
public org.quickfix.field.SettlDate getSettlDate() throws FieldNotFound { org.quickfix.field.SettlDate value = new org.quickfix.field.SettlDate();
public quickfix.field.SettlDate getSettlDate() throws FieldNotFound { quickfix.field.SettlDate value = new quickfix.field.SettlDate();
public org.quickfix.field.SettlDate getSettlDate() throws FieldNotFound { org.quickfix.field.SettlDate value = new org.quickfix.field.SettlDate(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteRequest.java/buggy/src/java/src/quickfix/fix44/QuoteRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 1626, 336, 694, 6172, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 1626, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 1626, 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, 694, 6172, 1626, 336, 694, 6172, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 1626, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 1626, 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 ]
return _ifStatement;
return ifStatement;
public JIfStatement getIfStatement() { return _ifStatement; }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9d2c39c906c6955e17daf4ac239b85d4727ddc83/JIfElseIfElseStatement.java/clean/modules/interop/src/java/org/apache/geronimo/interop/generator/JIfElseIfElseStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 804, 2047, 3406, 336, 2047, 3406, 1435, 288, 3639, 327, 309, 3406, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 804, 2047, 3406, 336, 2047, 3406, 1435, 288, 3639, 327, 309, 3406, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return id;
return Util.safeString(id);
public String getId() { if (program == null) { if (configurationElement == null) { return id; } return configurationElement.getAttribute(IWorkbenchRegistryConstants.ATT_ID); } return program.getName(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/45ab2bee3420234882ba61c9b99fecd868b62e8f/EditorDescriptor.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/EditorDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2634, 1435, 288, 3639, 309, 261, 12890, 422, 446, 13, 288, 540, 202, 430, 261, 7025, 1046, 422, 446, 13, 288, 540, 202, 202, 2463, 3564, 18, 4626, 780, 12, 350, 1769, 540, 202, 97, 540, 202, 2463, 1664, 1046, 18, 588, 1499, 12, 45, 2421, 22144, 4243, 2918, 18, 789, 56, 67, 734, 1769, 540, 202, 3639, 289, 3639, 327, 5402, 18, 17994, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2634, 1435, 288, 3639, 309, 261, 12890, 422, 446, 13, 288, 540, 202, 430, 261, 7025, 1046, 422, 446, 13, 288, 540, 202, 202, 2463, 3564, 18, 4626, 780, 12, 350, 1769, 540, 202, 97, 540, 202, 2463, 1664, 1046, 18, 588, 1499, 12, 45, 2421, 22144, 4243, 2918, 18, 789, 56, 67, 734, 1769, 540, 202, 3639, 289, 3639, 327, 5402, 18, 17994, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
releaseRegister(tmp);
L1AHelper.releaseRegister(eContext, tmp);
public final void visit_putstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize class if needed if (!sf.getDeclaringClass().isInitialized()) { final Register tmp = requestRegister(JvmType.INT, false); writeInitializeClass(fieldRef, tmp); releaseRegister(tmp); } // Get value final Item val = vstack.pop(); val.load(eContext); // Put static field if (!fieldRef.isWide()) { final WordItem wval = (WordItem) val; final Register valr = wval.getRegister(); helper.writePutStaticsEntry(curInstrLabel, valr, sf); if (helper.needsWriteBarrier()) { final Register tmp = requestRegister(JvmType.INT, false); helper.writePutstaticWriteBarrier(sf, valr, tmp); releaseRegister(tmp); } } else { final DoubleWordItem dval = (DoubleWordItem) val; helper.writePutStaticsEntry64(curInstrLabel, dval.getLsbRegister(), dval.getMsbRegister(), sf); } // Release val.release(eContext); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7f3f443c80552e30cb144c1a1ce760d89fa35f2b/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3757, 67, 458, 3845, 12, 22143, 9661, 974, 1957, 652, 1957, 13, 288, 202, 202, 1518, 1957, 18, 10828, 12, 6714, 1769, 202, 202, 6385, 776, 81, 5788, 974, 9033, 273, 261, 22143, 5788, 974, 13, 652, 1957, 18, 588, 12793, 22143, 974, 5621, 202, 202, 759, 9190, 667, 309, 3577, 202, 202, 430, 16051, 21668, 18, 588, 3456, 14682, 7675, 291, 11459, 10756, 288, 1082, 202, 6385, 5433, 1853, 273, 590, 3996, 12, 6071, 559, 18, 3217, 16, 629, 1769, 1082, 202, 2626, 7520, 797, 12, 1518, 1957, 16, 1853, 1769, 1082, 202, 9340, 3996, 12, 5645, 1769, 202, 202, 97, 202, 202, 759, 968, 460, 202, 202, 6385, 4342, 1244, 273, 19510, 18, 5120, 5621, 202, 202, 1125, 18, 945, 12, 73, 1042, 1769, 202, 202, 759, 4399, 760, 652, 202, 202, 430, 16051, 1518, 1957, 18, 291, 11075, 10756, 288, 1082, 202, 6385, 9926, 1180, 341, 1125, 273, 261, 3944, 1180, 13, 1244, 31, 1082, 202, 6385, 5433, 1244, 86, 273, 341, 1125, 18, 588, 3996, 5621, 1082, 202, 4759, 18, 2626, 6426, 5000, 2102, 1622, 12, 1397, 382, 701, 2224, 16, 1244, 86, 16, 9033, 1769, 1082, 202, 430, 261, 4759, 18, 20600, 3067, 5190, 10342, 10756, 288, 9506, 202, 6385, 5433, 1853, 273, 590, 3996, 12, 6071, 559, 18, 3217, 16, 629, 1769, 9506, 202, 4759, 18, 2626, 6426, 3845, 3067, 5190, 10342, 12, 21668, 16, 1244, 86, 16, 1853, 1769, 9506, 202, 9340, 3996, 12, 5645, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3757, 67, 458, 3845, 12, 22143, 9661, 974, 1957, 652, 1957, 13, 288, 202, 202, 1518, 1957, 18, 10828, 12, 6714, 1769, 202, 202, 6385, 776, 81, 5788, 974, 9033, 273, 261, 22143, 5788, 974, 13, 652, 1957, 18, 588, 12793, 22143, 974, 5621, 202, 202, 759, 9190, 667, 309, 3577, 202, 202, 430, 16051, 21668, 18, 588, 3456, 14682, 7675, 291, 11459, 10756, 288, 1082, 202, 6385, 5433, 1853, 273, 590, 3996, 12, 6071, 559, 18, 3217, 16, 629, 1769, 1082, 202, 2626, 7520, 797, 12, 1518, 1957, 16, 1853, 1769, 1082, 202, 9340, 3996, 12, 5645, 1769, 202, 202, 97, 202, 202, 759, 968, 460, 202, 202, 6385, 4342, 1244, 273, 19510, 2 ]
Location loc = (Location) rr.get(1);
Gene gene = (Gene) rr.get(1); Location loc = (Location) rr.get(2); addToLocToGeneMap(locToGeneMap, loc, gene);
public void createIntergenicRegionFeatures() throws ObjectStoreException { Results results = PostProcessUtil.findLocations(os, Chromosome.class, Gene.class); results.setBatchSize(500); dataSet = (DataSet) DynamicUtil.createObject(Collections.singleton(DataSet.class)); dataSet.setTitle("FlyMine intergenic regions"); dataSet.setDescription("Intergenic regions created by FlyMine"); dataSet.setVersion("" + new Date()); // current time and date dataSet.setUrl("http://www.flymine.org"); dataSet.setDataSource(dataSource); Iterator resIter = results.iterator(); Integer previousChrId = null; Set locationSet = new HashSet(); while (resIter.hasNext()) { ResultsRow rr = (ResultsRow) resIter.next(); Integer chrId = (Integer) rr.get(0); Location loc = (Location) rr.get(1); if (previousChrId != null && !chrId.equals(previousChrId)) { Iterator irIter = createIntergenicRegionFeatures(locationSet, previousChrId); storeItergenicRegions(osw, irIter); locationSet = new HashSet(); } locationSet.add(loc); previousChrId = chrId; } if (previousChrId != null) { Iterator irIter = createIntergenicRegionFeatures(locationSet, previousChrId); storeItergenicRegions(osw, irIter); // we've created some IntergenicRegion objects so store() the DataSet osw.store(dataSet); } }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/0deea374f54d7613d8da940b1ad34da82ec540c1/IntergenicRegionUtil.java/clean/flymine/model/genomic/src/java/org/flymine/postprocess/IntergenicRegionUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 2465, 4507, 335, 5165, 8696, 1435, 1216, 1033, 21151, 288, 3639, 10351, 1686, 273, 5411, 5616, 2227, 1304, 18, 4720, 10985, 12, 538, 16, 1680, 520, 16958, 18, 1106, 16, 611, 4009, 18, 1106, 1769, 3639, 1686, 18, 542, 23304, 12, 12483, 1769, 3639, 14837, 273, 261, 13676, 13, 12208, 1304, 18, 2640, 921, 12, 15150, 18, 24487, 12, 13676, 18, 1106, 10019, 3639, 14837, 18, 542, 4247, 2932, 42, 715, 49, 558, 1554, 4507, 335, 10085, 8863, 3639, 14837, 18, 542, 3291, 2932, 2465, 4507, 335, 10085, 2522, 635, 478, 715, 49, 558, 8863, 3639, 14837, 18, 542, 1444, 2932, 6, 397, 394, 2167, 10663, 368, 783, 813, 471, 1509, 3639, 14837, 18, 542, 1489, 2932, 2505, 2207, 5591, 18, 29670, 3081, 18, 3341, 8863, 3639, 14837, 18, 542, 8597, 12, 892, 1830, 1769, 4766, 1377, 4498, 400, 2360, 273, 1686, 18, 9838, 5621, 3639, 2144, 2416, 782, 86, 548, 273, 446, 31, 3639, 1000, 2117, 694, 273, 394, 6847, 5621, 7734, 1323, 261, 455, 2360, 18, 5332, 2134, 10756, 288, 5411, 10351, 1999, 8354, 273, 261, 3447, 1999, 13, 400, 2360, 18, 4285, 5621, 5411, 2144, 4513, 548, 273, 261, 4522, 13, 8354, 18, 588, 12, 20, 1769, 5411, 611, 4009, 7529, 273, 261, 24442, 13, 8354, 18, 588, 12, 21, 1769, 7050, 1515, 273, 261, 2735, 13, 8354, 18, 588, 12, 22, 1769, 225, 9604, 1333, 774, 24442, 863, 12, 1829, 774, 24442, 863, 16, 1515, 16, 7529, 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, 1071, 918, 752, 2465, 4507, 335, 5165, 8696, 1435, 1216, 1033, 21151, 288, 3639, 10351, 1686, 273, 5411, 5616, 2227, 1304, 18, 4720, 10985, 12, 538, 16, 1680, 520, 16958, 18, 1106, 16, 611, 4009, 18, 1106, 1769, 3639, 1686, 18, 542, 23304, 12, 12483, 1769, 3639, 14837, 273, 261, 13676, 13, 12208, 1304, 18, 2640, 921, 12, 15150, 18, 24487, 12, 13676, 18, 1106, 10019, 3639, 14837, 18, 542, 4247, 2932, 42, 715, 49, 558, 1554, 4507, 335, 10085, 8863, 3639, 14837, 18, 542, 3291, 2932, 2465, 4507, 335, 10085, 2522, 635, 478, 715, 49, 558, 8863, 3639, 14837, 18, 542, 1444, 2932, 6, 397, 394, 2167, 10663, 368, 783, 813, 471, 1509, 3639, 14837, 18, 542, 2 ]
"JSchException", "Auth fail");
"SmartFrogException", "Remote command: cmd1 failed with exit status");
public void testCaseTCN93() throws Exception { deployExpectingException(FILES+"tcn93.sf", "tcn93", "SmartFrogLifecycleException", null, "JSchException", "Auth fail"); }
4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/3de2638b23eed34d2d2b7236d77895e03c30c198/SSHTest.java/buggy/core/testharness/testcases/org/smartfrog/test/system/components/ssh/SSHTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2449, 56, 12821, 11180, 1435, 1216, 1185, 288, 3639, 7286, 11988, 21546, 12, 12669, 9078, 5111, 82, 11180, 18, 21668, 3113, 4766, 315, 5111, 82, 11180, 3113, 4766, 315, 23824, 42, 303, 75, 9977, 503, 3113, 4766, 446, 16, 4766, 315, 6479, 343, 503, 3113, 4766, 315, 1730, 2321, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2449, 56, 12821, 11180, 1435, 1216, 1185, 288, 3639, 7286, 11988, 21546, 12, 12669, 9078, 5111, 82, 11180, 18, 21668, 3113, 4766, 315, 5111, 82, 11180, 3113, 4766, 315, 23824, 42, 303, 75, 9977, 503, 3113, 4766, 446, 16, 4766, 315, 6479, 343, 503, 3113, 4766, 315, 1730, 2321, 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 ]
JavaClass superClass = obj.getSuperClass(); Method [] superClassMethods = superClass.getMethods(); superClassImplementsSerializable = Repository.instanceOf(superClass, "java.io.Serializable"); superClassHasVoidConstructor = false; for(int i = 0; i < superClassMethods.length; i++) { Method m = superClassMethods[i]; /* System.out.println("Supercase has method named " + m.getName() + " with sig " + m.getSignature()); */ if (m.getName().equals("<init>") && m.getSignature().equals("()V") && m.isPublic() ) superClassHasVoidConstructor = true;
JavaClass superClass = obj.getSuperClass(); if (superClass != null) { Method [] superClassMethods = superClass.getMethods(); superClassImplementsSerializable = Repository.instanceOf(superClass, "java.io.Serializable"); superClassHasVoidConstructor = false; for(int i = 0; i < superClassMethods.length; i++) { Method m = superClassMethods[i]; /* System.out.println("Supercase has method named " + m.getName() + " with sig " + m.getSignature()); */ if (m.getName().equals("<init>") && m.getSignature().equals("()V") && m.isPublic() ) superClassHasVoidConstructor = true; }
public void visit(JavaClass obj) { int flags = obj.getAccessFlags(); isAbstract = (flags & ACC_ABSTRACT) != 0 || (flags & ACC_INTERFACE) != 0; sawSerialVersionUID = false; isSerializable = implementsSerializableDirectly = false; isExternalizable = false; directlyImplementsExternalizable = false; isGUIClass = false; isRemote = false; // Does this class directly implement Serializable? String [] interface_names = obj.getInterfaceNames(); for(int i=0; i < interface_names.length; i++) { if (interface_names[i].equals("java.io.Externalizable")) { directlyImplementsExternalizable = true; isExternalizable = true; // System.out.println("Directly implements Externalizable: " + betterClassName); } else if (interface_names[i].equals("java.io.Serializable")) { implementsSerializableDirectly = true; isSerializable = true; break; } } // Does this class indirectly implement Serializable? if (!isSerializable) { try { if (Repository.instanceOf(obj,"java.io.Externalizable")) isExternalizable = true; if (Repository.instanceOf(obj,"java.io.Serializable")) isSerializable = true; if (Repository.instanceOf(obj,"java.rmi.Remote")) { isRemote = true; } } catch (ClassNotFoundException e) { bugReporter.reportMissingClass(e); } } hasPublicVoidConstructor = false; superClassHasVoidConstructor = true; superClassImplementsSerializable = isSerializable && !implementsSerializableDirectly; try { JavaClass superClass = obj.getSuperClass(); Method [] superClassMethods = superClass.getMethods(); superClassImplementsSerializable = Repository.instanceOf(superClass, "java.io.Serializable"); superClassHasVoidConstructor = false; for(int i = 0; i < superClassMethods.length; i++) { Method m = superClassMethods[i]; /* System.out.println("Supercase has method named " + m.getName() + " with sig " + m.getSignature()); */ if (m.getName().equals("<init>") && m.getSignature().equals("()V") && m.isPublic() ) superClassHasVoidConstructor = true; } } catch (ClassNotFoundException e) {} if (isSerializable && !isExternalizable && !superClassHasVoidConstructor && !superClassImplementsSerializable) bugReporter.reportBug(new BugInstance("SE_NO_SUITABLE_CONSTRUCTOR", implementsSerializableDirectly ? HIGH_PRIORITY : NORMAL_PRIORITY) .addClass(thisClass.getClassName())); // Is this a GUI class? try { isGUIClass = Repository.instanceOf(obj, "java.awt.Component"); } catch (ClassNotFoundException e) { bugReporter.reportMissingClass(e); } foundSynthetic = false; foundSynchronizedMethods = false; writeObjectIsSynchronized = false; sawReadExternal = sawWriteExternal = sawReadObject = sawWriteObject = false; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/8f76827409759795f541937cb0f052f05782f7f2/SerializableIdiom.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/SerializableIdiom.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 12, 5852, 797, 1081, 13, 377, 288, 4202, 202, 474, 2943, 273, 1081, 18, 588, 1862, 5094, 5621, 202, 291, 7469, 273, 261, 7133, 473, 18816, 67, 26756, 13, 480, 374, 4697, 282, 747, 261, 7133, 473, 18816, 67, 18865, 13, 480, 374, 31, 3639, 19821, 6342, 1444, 3060, 273, 629, 31, 3639, 353, 21682, 273, 4792, 21682, 5368, 715, 273, 629, 31, 202, 291, 6841, 6934, 273, 629, 31, 202, 7205, 715, 17516, 6841, 6934, 273, 629, 31, 202, 291, 43, 5370, 797, 273, 629, 31, 202, 291, 5169, 273, 629, 31, 3639, 368, 9637, 333, 667, 5122, 2348, 13687, 35, 3639, 514, 5378, 1560, 67, 1973, 273, 1081, 18, 588, 1358, 1557, 5621, 3639, 364, 12, 474, 277, 33, 20, 31, 277, 411, 1560, 67, 1973, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 5831, 67, 1973, 63, 77, 8009, 14963, 2932, 6290, 18, 1594, 18, 6841, 6934, 6, 3719, 288, 202, 202, 7205, 715, 17516, 6841, 6934, 273, 638, 31, 7734, 353, 6841, 6934, 273, 638, 31, 202, 202, 759, 2332, 18, 659, 18, 8222, 2932, 5368, 715, 4792, 11352, 6934, 30, 315, 397, 7844, 3834, 1769, 202, 202, 97, 5411, 469, 309, 261, 5831, 67, 1973, 63, 77, 8009, 14963, 2932, 6290, 18, 1594, 18, 21682, 6, 3719, 288, 202, 202, 17061, 21682, 5368, 715, 273, 638, 31, 7734, 353, 21682, 273, 638, 31, 202, 202, 8820, 31, 7734, 289, 5411, 289, 3639, 368, 9637, 333, 667, 16807, 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, 3757, 12, 5852, 797, 1081, 13, 377, 288, 4202, 202, 474, 2943, 273, 1081, 18, 588, 1862, 5094, 5621, 202, 291, 7469, 273, 261, 7133, 473, 18816, 67, 26756, 13, 480, 374, 4697, 282, 747, 261, 7133, 473, 18816, 67, 18865, 13, 480, 374, 31, 3639, 19821, 6342, 1444, 3060, 273, 629, 31, 3639, 353, 21682, 273, 4792, 21682, 5368, 715, 273, 629, 31, 202, 291, 6841, 6934, 273, 629, 31, 202, 7205, 715, 17516, 6841, 6934, 273, 629, 31, 202, 291, 43, 5370, 797, 273, 629, 31, 202, 291, 5169, 273, 629, 31, 3639, 368, 9637, 333, 667, 5122, 2348, 13687, 35, 3639, 514, 5378, 1560, 67, 1973, 273, 1081, 18, 588, 1358, 1557, 5621, 2 ]
} catch (Exception e) {
} catch (Exception e) {
public Object getComponent(Object key) throws ObjectNotFoundException { if (key == null) { throw new ObjectNotFoundException("Component not found for null key"); } try { Class clazz; if (key instanceof Class) { clazz = (Class) key; } else { clazz = ClassUtils.loadClass(key.toString(), getClass()); } return clazz.newInstance(); } catch (Exception e) { throw new ObjectNotFoundException(key.toString() + " (" + e.getMessage() + ")"); } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/175cf9e55a7a61f557593e09105f6b206652096c/MuleContainerContext.java/clean/core/src/main/java/org/mule/impl/container/MuleContainerContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 10322, 12, 921, 498, 13, 1216, 1033, 3990, 565, 288, 3639, 309, 261, 856, 422, 446, 13, 288, 5411, 604, 394, 1033, 3990, 2932, 1841, 486, 1392, 364, 446, 498, 8863, 3639, 289, 3639, 775, 288, 5411, 1659, 4003, 31, 5411, 309, 261, 856, 1276, 1659, 13, 288, 7734, 4003, 273, 261, 797, 13, 498, 31, 5411, 289, 469, 288, 7734, 4003, 273, 26382, 18, 945, 797, 12, 856, 18, 10492, 9334, 2900, 10663, 5411, 289, 5411, 327, 4003, 18, 2704, 1442, 5621, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 1033, 3990, 12, 856, 18, 10492, 1435, 397, 315, 7566, 397, 425, 18, 24906, 1435, 397, 7310, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 1033, 10322, 12, 921, 498, 13, 1216, 1033, 3990, 565, 288, 3639, 309, 261, 856, 422, 446, 13, 288, 5411, 604, 394, 1033, 3990, 2932, 1841, 486, 1392, 364, 446, 498, 8863, 3639, 289, 3639, 775, 288, 5411, 1659, 4003, 31, 5411, 309, 261, 856, 1276, 1659, 13, 288, 7734, 4003, 273, 261, 797, 13, 498, 31, 5411, 289, 469, 288, 7734, 4003, 273, 26382, 18, 945, 797, 12, 856, 18, 10492, 9334, 2900, 10663, 5411, 289, 5411, 327, 4003, 18, 2704, 1442, 5621, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 1033, 3990, 12, 856, 18, 10492, 1435, 397, 315, 7566, 397, 425, 18, 24906, 1435, 397, 7310, 1769, 3639, 289, 565, 289, 2 ]
}
node.setIpInterfaces(new LinkedHashSet<OnmsIpInterface>()); }
public OnmsNode getHierarchy(Integer id) { final String hierarchyQuery = "SELECT " + "node.nodeid as nodeid, " + "node.dpName as dpName, " + "node.nodeCreateTime as nodeCreateTime, " + "node.nodeParentID as nodeParentID, " + "node.nodeType as nodeType, " + "node.nodeSysOid as nodeSysOid, " + "node.nodeSysName as nodeSysName, " + "node.nodeSysDescription as nodeSysDescription, " + "node.nodeSysLocation as nodeSysLocation, " + "node.nodeSysContact as nodeSysContact, " + "node.nodeLabel as nodeLabel, " + "node.nodeLabelSource as nodeLabelSource, " + "node.nodeNetBiosName as nodeNetBiosName, " + "node.nodeDomainName as nodeDomainName, " + "node.operatingSystem as operatingSystem, " + "node.lastCapsdPoll as lastCapsdPoll, " + "ipInterface.nodeID as ipInterface_nodeID, " + "ipInterface.ipAddr as ipInterface_ipAddr, " + "ipInterface.ifIndex as ipInterface_ifIndex, " + "ipInterface.ipHostname as ipInterface_ipHostname, " + "ipInterface.isManaged as ipInterface_isManaged, " + "ipInterface.ipStatus as ipInterface_ipStatus, " + "ipInterface.ipLastCapsdPoll as ipInterface_ipLastCapsdPoll, " + "ipInterface.isSnmpPrimary as ipInterface_isSnmpPrimary, " + "ifservices.nodeid as ifservices_nodeid, " + "ifservices.ipAddr as ifservices_ipAddr, " + "ifservices.ifIndex as ifservices_ifIndex, " + "ifservices.serviceId as ifservices_serviceId, " + "ifservices.lastGood as ifservices_lastGood, " + "ifservices.lastFail as ifservices_lastFail, " + "ifservices.qualifier as ifservices_qualifier, " + "ifservices.status as ifservices_status, " + "ifservices.source as ifservices_source, " + "ifservices.notify as ifservices_notify, " + "outages.outageID as outages_outageID, " + "outages.svcLostEventID as outages_svcLostEventID, " + "outages.svcRegainedEventID as outages_svcRegainedEventID, " + "outages.nodeID as outages_nodeID, " + "outages.ipAddr as outages_ipAddr, " + "outages.serviceID as outages_serviceID, " + "ifservices.ifIndex as outages_ifIndex, " + "outages.ifLostService as outages_ifLostService, " + "outages.ifRegainedService as outages_ifRegainedService, " + "outages.suppressTime as outages_suppressTime, " + "outages.suppressedBy as outages_suppressedBy " + "FROM node " + "LEFT JOIN ipInterface ON (node.nodeId = ipInterface.nodeId) " + "LEFT JOIN ifservices ON (ipInterface.nodeId = ifservices.nodeId AND ipInterface.ipAddr = ifservices.ipAddr) " + "LEFT JOIN outages ON (ifServices.nodeId = outages.nodeId AND ifServices.ipAddr = outages.ipAddr AND ifServices.serviceID = outages.serviceId AND outages.ifRegainedService is null) " + "WHERE node.nodeId = ?" + ""; RowMapper rowMapper = new RowMapper() { // we use the lazy mapper to that the other relationships that we are using // are filling in in a lazy way NodeMapper nodeMapper = new NodeMapperWithLazyRelatives(getDataSource()) { @Override protected void setIpInterfaces(OnmsNode node) { // we override this to do nothing and just fill in the set with the rest of the query } }; IpInterfaceMapper ifMapper = new IpInterfaceMapper(); MonitoredServiceMapper monSvcMapper = new MonitoredServiceMapper(); OutageMapper outageMapper = new OutageMapper(); public Object mapRow(ResultSet rs, int rowNum) throws SQLException { OnmsNode node = nodeMapper.mapNode(rs, rowNum); OnmsIpInterface iface = ifMapper.mapInterface(rs, rowNum); if (iface != null) { node.getIpInterfaces().add(iface); OnmsMonitoredService monSvc = (OnmsMonitoredService)monSvcMapper.mapRow(rs, rowNum); if (monSvc != null) { iface.getMonitoredServices().add(monSvc); OnmsOutage outage = (OnmsOutage)outageMapper.mapRow(rs, rowNum); if (outage != null) { monSvc.getCurrentOutages().add(outage); } } } return node; } }; Set<OnmsNode> nodes = new HashSet<OnmsNode>(getJdbcTemplate().query(hierarchyQuery, new Object[] { id }, rowMapper)); if (nodes.isEmpty()) return null; else if (nodes.size() == 1) return (OnmsNode)nodes.iterator().next(); else throw new IncorrectResultSizeDataAccessException("Unexpected number of nodes returned.", 1, nodes.size()); }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/600027a3ade97dc3a449702132515af836849e9e/NodeDaoJdbc.java/clean/opennms-dao/src/main/java/org/opennms/netmgt/dao/jdbc/NodeDaoJdbc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2755, 959, 907, 7628, 6000, 12, 4522, 612, 13, 288, 377, 202, 377, 202, 6385, 514, 9360, 1138, 273, 315, 4803, 315, 397, 377, 202, 6, 2159, 18, 2159, 350, 487, 756, 350, 16, 315, 397, 377, 202, 6, 2159, 18, 9295, 461, 487, 9986, 461, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 1684, 950, 487, 756, 1684, 950, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 29586, 487, 756, 29586, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 559, 487, 9507, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 12712, 19105, 487, 756, 12712, 19105, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 12712, 461, 487, 756, 12712, 461, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 12712, 3291, 487, 756, 12712, 3291, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 12712, 2735, 487, 756, 12712, 2735, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 12712, 6567, 487, 756, 12712, 6567, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 2224, 487, 756, 2224, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 2224, 1830, 487, 756, 2224, 1830, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 7308, 38, 7441, 461, 487, 756, 7308, 38, 7441, 461, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 20144, 487, 756, 20144, 16, 315, 397, 377, 202, 6, 2159, 18, 4063, 24811, 487, 16929, 3163, 16, 315, 397, 377, 202, 6, 2159, 18, 2722, 4664, 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, 2755, 959, 907, 7628, 6000, 12, 4522, 612, 13, 288, 377, 202, 377, 202, 6385, 514, 9360, 1138, 273, 315, 4803, 315, 397, 377, 202, 6, 2159, 18, 2159, 350, 487, 756, 350, 16, 315, 397, 377, 202, 6, 2159, 18, 9295, 461, 487, 9986, 461, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 1684, 950, 487, 756, 1684, 950, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 29586, 487, 756, 29586, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 559, 487, 9507, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 12712, 19105, 487, 756, 12712, 19105, 16, 315, 397, 377, 202, 6, 2159, 18, 2159, 12712, 461, 487, 756, 12712, 461, 2 ]
Object [] ps = data.functionParameters;
IType [] ps = getSourceParameterTypes( data.functionParameters );
static private ObjectSet getAssociatedScopes( LookupData data ) { Object [] ps = data.functionParameters; ObjectSet namespaces = new ObjectSet(2); ObjectSet classes = new ObjectSet(2); for( int i = 0; i < ps.length; i++ ){ IType p = getSourceParameterType( ps, i ); p = getUltimateType( p, true ); try { getAssociatedScopes( p, namespaces, classes ); } catch ( DOMException e ) { } } return namespaces; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/8668326658b0f27894800cc82d1a0ab01448d0b1/CPPSemantics.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 3238, 1033, 694, 336, 19233, 12668, 12, 8834, 751, 501, 262, 288, 3639, 467, 559, 5378, 4250, 273, 7889, 1662, 2016, 12, 501, 18, 915, 2402, 11272, 3639, 1033, 694, 7728, 273, 394, 1033, 694, 12, 22, 1769, 3639, 1033, 694, 3318, 273, 394, 1033, 694, 12, 22, 1769, 3639, 364, 12, 509, 277, 273, 374, 31, 277, 411, 4250, 18, 2469, 31, 277, 9904, 262, 95, 5411, 467, 559, 293, 273, 7889, 28460, 12, 4250, 16, 277, 11272, 5411, 293, 273, 23037, 5618, 4988, 559, 12, 293, 16, 638, 11272, 5411, 775, 288, 7734, 336, 19233, 12668, 12, 293, 16, 7728, 16, 3318, 11272, 5411, 289, 1044, 261, 4703, 503, 425, 262, 288, 5411, 289, 3639, 289, 3639, 327, 7728, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 3238, 1033, 694, 336, 19233, 12668, 12, 8834, 751, 501, 262, 288, 3639, 467, 559, 5378, 4250, 273, 7889, 1662, 2016, 12, 501, 18, 915, 2402, 11272, 3639, 1033, 694, 7728, 273, 394, 1033, 694, 12, 22, 1769, 3639, 1033, 694, 3318, 273, 394, 1033, 694, 12, 22, 1769, 3639, 364, 12, 509, 277, 273, 374, 31, 277, 411, 4250, 18, 2469, 31, 277, 9904, 262, 95, 5411, 467, 559, 293, 273, 7889, 28460, 12, 4250, 16, 277, 11272, 5411, 293, 273, 23037, 5618, 4988, 559, 12, 293, 16, 638, 11272, 5411, 775, 288, 7734, 336, 19233, 12668, 12, 293, 16, 7728, 16, 3318, 11272, 5411, 289, 1044, 261, 4703, 503, 425, 262, 288, 5411, 289, 3639, 2 ]
baseport, vlan .intValue());
baseport, vlan);
private void storeSnmpCollection(Connection dbConn, Timestamp now) throws SQLException, UnknownHostException { Category log = ThreadCategory.getInstance(getClass()); PreparedStatement stmt = null; ResultSet rs = null; Iterator ite = null; int nodeid = m_node.getNodeId(); if (m_snmpcoll.hasIpNetToMediaTable()) { ite = m_snmpcoll.getIpNetToMediaTable() .getEntries().iterator(); if (log.isDebugEnabled()) log .debug("store: saving IpNetToMediaTable to atinterface table in DB"); while (ite.hasNext()) { int atnodeid = -1; IpNetToMediaTableEntry ent = (IpNetToMediaTableEntry) ite .next(); int ifindex = ent .getInt32(IpNetToMediaTableEntry.INTM_INDEX); String physAddr = ent .getHexString(IpNetToMediaTableEntry.INTM_PHYSADDR); InetAddress ipaddress = ent .getIPAddress(IpNetToMediaTableEntry.INTM_NETADDR); if (log.isDebugEnabled()) log.debug("store: trying save info for ipaddr " + ipaddress.getHostName() + " mac address " + physAddr + " found on ifindex " + ifindex); try { stmt = dbConn.prepareStatement(SQL_GET_NODEID); stmt.setString(1, ipaddress.getHostAddress()); rs = stmt.executeQuery(); if (!rs.next()) { rs.close(); stmt.close(); if (log.isEnabledFor(Priority.WARN)) log.warn("store: no nodeid found for ipaddress " + ipaddress + "."); continue; } int ndx = 1; atnodeid = rs.getInt(ndx++); if (rs.wasNull()) { if (log.isEnabledFor(Priority.WARN)) log.warn("store: no nodeid find for ipaddress " + ipaddress + "."); continue; } } finally { if (rs != null) rs.close(); if (stmt != null) stmt.close(); } if (physAddr.equals("000000000000")) { log.warn("store: mac address " + physAddr + " is invalid for ipaddress " + ipaddress.getHostAddress()); continue; } DbAtInterfaceEntry atInterfaceEntry = DbAtInterfaceEntry.get( dbConn, atnodeid, ipaddress.getHostAddress()); if (atInterfaceEntry == null) { atInterfaceEntry = DbAtInterfaceEntry.create(atnodeid, ipaddress.toString()); } // update object atInterfaceEntry.updateAtPhysAddr(physAddr); atInterfaceEntry.updateSourceNodeId(nodeid); atInterfaceEntry.updateIfIndex(ifindex); atInterfaceEntry.updateStatus(DbAtInterfaceEntry.STATUS_ACTIVE); atInterfaceEntry.set_lastpolltime(now); // store object in database atInterfaceEntry.store(dbConn); } } if (m_snmpcoll.hasCdpCacheTable()) { java.util.List cdpInterfaces = new java.util.ArrayList(); ite = m_snmpcoll.getCdpCacheTable() .getEntries().iterator(); while (ite.hasNext()) { CdpCacheTableEntry cdpEntry = (CdpCacheTableEntry) ite.next(); int cdpAddrType = cdpEntry.getInt32(CdpCacheTableEntry.CDP_ADDRESS_TYPE); if (cdpAddrType != 1) continue; InetAddress cdpTargetIpAddr = cdpEntry.getIPAddress(CdpCacheTableEntry.CDP_ADDRESS); int cdpIfIndex = cdpEntry.getInt32(CdpCacheTableEntry.CDP_IFINDEX); String cdpTargetDevicePort = cdpEntry.getHexString(CdpCacheTableEntry.CDP_DEVICEPORT); CdpInterface cdpIface = new CdpInterface(cdpIfIndex); int targetCdpNodeId = getNodeidFromIp(dbConn, cdpTargetIpAddr); cdpIface.setCdpTargetNodeId(targetCdpNodeId); cdpIface.setCdpTargetIpAddr(cdpTargetIpAddr); cdpIface.setCdpTargetIfIndex(getIfIndexFromSnmpInterfaceIfName( dbConn, targetCdpNodeId, cdpTargetDevicePort.toString())); cdpInterfaces.add(cdpIface); } m_node.setCdpInterfaces(cdpInterfaces); } if (m_snmpcoll.hasRouteTable()) { java.util.List routeInterfaces = new java.util.ArrayList(); ite = m_snmpcoll.getIpRouteTable().getEntries() .iterator(); if (log.isDebugEnabled()) log .debug("store: saving ipRouteTable to iprouteinterface table in DB"); while (ite.hasNext()) { IpRouteTableEntry ent = (IpRouteTableEntry) ite.next(); InetAddress routedest = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_DEST); InetAddress routemask = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_MASK); InetAddress nexthop = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_NXTHOP); int ifindex = ent.getInt32(IpRouteTableEntry.IP_ROUTE_IFINDEX); int routemetric1 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC1); int routemetric2 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC2); int routemetric3 =ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC3); int routemetric4 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC4); int routemetric5 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC5); int routetype = ent.getInt32(IpRouteTableEntry.IP_ROUTE_TYPE); int routeproto = ent.getInt32(IpRouteTableEntry.IP_ROUTE_PROTO); // info used for Discovery Link RouterInterface routeIface = new RouterInterface(ifindex); routeIface.setMetric(routemetric1); routeIface.setNextHop(nexthop); routeIface.setSnmpiftype(getSnmpIfType(dbConn, nodeid, ifindex)); routeIface.setNodeparentid(getNodeidFromIp(dbConn,nexthop)); routeInterfaces.add(routeIface); // save info to DB DbIpRouteInterfaceEntry iprouteInterfaceEntry = DbIpRouteInterfaceEntry .get(dbConn, nodeid, routedest.toString()); if (iprouteInterfaceEntry == null) { // Create a new entry iprouteInterfaceEntry = DbIpRouteInterfaceEntry.create( m_node.getNodeId(), routedest.toString()); } // update object iprouteInterfaceEntry.updateRouteMask(routemask.getHostAddress()); iprouteInterfaceEntry.updateRouteNextHop(nexthop.getHostAddress()); iprouteInterfaceEntry.updateIfIndex(ifindex); if (routemetric1 != -1) iprouteInterfaceEntry.updateRouteMetric1(routemetric1); if (routemetric2 != -1) iprouteInterfaceEntry.updateRouteMetric2(routemetric2); if (routemetric3 != -1) iprouteInterfaceEntry.updateRouteMetric3(routemetric3); if (routemetric4 != -1) iprouteInterfaceEntry.updateRouteMetric4(routemetric4); if (routemetric5 != -1) iprouteInterfaceEntry.updateRouteMetric5(routemetric5); if (routetype != -1) iprouteInterfaceEntry.updateRouteType(routetype); if (routeproto != -1) iprouteInterfaceEntry.updateRouteProto(routeproto); iprouteInterfaceEntry .updateStatus(DbAtInterfaceEntry.STATUS_ACTIVE); iprouteInterfaceEntry.set_lastpolltime(now); // store object in database iprouteInterfaceEntry.store(dbConn); } m_node.setRouteInterfaces(routeInterfaces); } // STARTS loop on vlans if (m_snmpcoll.hasVlanTable()) { ite = m_snmpcoll.getSnmpVlanCollections() .iterator(); while (ite.hasNext()) { SnmpVlanCollection snmpVlanColl = (SnmpVlanCollection) ite .next(); String vlanindex = snmpVlanColl.getVlanIndex(); Integer vlan = new Integer(vlanindex); String vlanname = m_snmpcoll.getVlanName( vlanindex); if (log.isDebugEnabled()) log .debug("store: saving SnmpVlanCollection entries in DB for VLAN " + vlanname + " index " + vlan); if (snmpVlanColl.hasDot1dBase()) { if (log.isDebugEnabled()) log .debug("store: saving Dot1dBaseGroup in stpnode table in DB"); Dot1dBaseGroup dod1db = (Dot1dBaseGroup) snmpVlanColl.getDot1dBase(); String baseBridgeAddress = dod1db.getBridgeAddress(); int basenumports = dod1db.getNumberOfPorts(); int bridgetype = dod1db.getBridgeType(); if (baseBridgeAddress == "000000000000") { log.warn("store: base bridge address " + baseBridgeAddress + " is invalid for ipaddress " ); } else { m_node.addBridgeIdentifier(baseBridgeAddress,vlanindex); DbStpNodeEntry dbStpNodeEntry = DbStpNodeEntry.get(dbConn, m_node.getNodeId(), vlan.intValue()); if (dbStpNodeEntry == null) { // Create a new entry dbStpNodeEntry = DbStpNodeEntry.create(m_node .getNodeId(), vlan.intValue()); } // update object dbStpNodeEntry.updateBaseBridgeAddress(baseBridgeAddress); dbStpNodeEntry.updateBaseNumPorts(basenumports); dbStpNodeEntry.updateBaseType(bridgetype); dbStpNodeEntry.updateBaseVlanName(vlanname); if (snmpVlanColl.hasDot1dStp()) { if (log.isDebugEnabled()) log .debug("store: saving Dot1dStpGroup in stpnode table in DB"); Dot1dStpGroup dod1stp = (Dot1dStpGroup) snmpVlanColl .getDot1dStp(); int protospec = dod1stp.getStpProtocolSpecification(); int stppriority = dod1stp.getStpPriority(); String stpDesignatedRoot = dod1stp.getStpDesignatedRoot(); int stprootcost = dod1stp.getStpRootCost(); int stprootport = dod1stp.getStpRootPort(); if (stpDesignatedRoot != "0000000000000000") { m_node.setVlanStpRoot(vlanindex,stpDesignatedRoot); } dbStpNodeEntry.updateStpProtocolSpecification(protospec); dbStpNodeEntry.updateStpPriority(stppriority); dbStpNodeEntry.updateStpDesignatedRoot(stpDesignatedRoot); dbStpNodeEntry.updateStpRootCost(stprootcost); dbStpNodeEntry.updateStpRootPort(stprootport); } // store object in database dbStpNodeEntry.updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpNodeEntry.set_lastpolltime(now); dbStpNodeEntry.store(dbConn); if (snmpVlanColl.hasDot1dBasePortTable()) { Iterator sub_ite = snmpVlanColl.getDot1dBasePortTable() .getEntries().iterator(); if (log.isDebugEnabled()) log .debug("store: saving Dot1dBasePortTable in stpinterface table in DB"); while (sub_ite.hasNext()) { Dot1dBasePortTableEntry dot1dbaseptentry = (Dot1dBasePortTableEntry) sub_ite .next(); int baseport = dot1dbaseptentry.getInt32(Dot1dBasePortTableEntry.BASE_PORT); int ifindex = dot1dbaseptentry.getInt32(Dot1dBasePortTableEntry.BASE_IFINDEX); m_node.setIfIndexBridgePort(ifindex,baseport); DbStpInterfaceEntry dbStpIntEntry = DbStpInterfaceEntry .get(dbConn, m_node.getNodeId(), baseport, vlan .intValue()); if (dbStpIntEntry == null) { // Create a new entry dbStpIntEntry = DbStpInterfaceEntry.create( m_node.getNodeId(), baseport, vlan.intValue()); } dbStpIntEntry.updateIfIndex(ifindex); dbStpIntEntry .updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpIntEntry.set_lastpolltime(now); dbStpIntEntry.store(dbConn); } } if (snmpVlanColl.hasDot1dStpPortTable()) { if (log.isDebugEnabled()) log .debug(" store: saving Dot1dStpPortTable in stpinterface table in DB"); Iterator sub_ite = snmpVlanColl.getDot1dStpPortTable() .getEntries().iterator(); while (sub_ite.hasNext()) { Dot1dStpPortTableEntry dot1dstpptentry = (Dot1dStpPortTableEntry) sub_ite .next(); int stpport = dot1dstpptentry.getInt32(Dot1dStpPortTableEntry.STP_PORT); DbStpInterfaceEntry dbStpIntEntry = DbStpInterfaceEntry .get(dbConn, m_node.getNodeId(), stpport, vlan.intValue()); if (dbStpIntEntry == null) { // Cannot create the object becouse must exists the dot1dbase // object!!!!! if (log.isEnabledFor(Priority.WARN)) log .warn("store StpInterface: when storing STP info" + " for bridge node with nodeid " + m_node.getNodeId() + " bridgeport number " + stpport + " and vlan index " + vlanindex + " info not found in database, ERROR skipping....."); } else { int stpportstate = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_STATE); int stpportpathcost = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_PATH_COST); String stpPortDesignatedBridge = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_BRIDGE); String stpPortDesignatedRoot = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_ROOT); int stpportdesignatedcost = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_COST); String stpPortDesignatedPort = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_PORT); if (stpPortDesignatedBridge.equals("0000000000000000")) { log.warn("storeSnmpCollection: designated bridge is invalid not adding to discoveryLink"); } else if (stpPortDesignatedPort.equals("0000")) { log.warn("storeSnmpCollection: designated port is invalid not adding to discoveryLink"); } else { BridgeStpInterface stpIface = new BridgeStpInterface(stpport,vlanindex); stpIface.setStpPortDesignatedBridge(stpPortDesignatedBridge); stpIface.setStpPortDesignatedPort(stpPortDesignatedPort); m_node.addStpInterface(stpIface); } dbStpIntEntry.updateStpPortState(stpportstate); dbStpIntEntry.updateStpPortPathCost(stpportpathcost); dbStpIntEntry.updateStpportDesignatedBridge(stpPortDesignatedBridge); dbStpIntEntry.updateStpportDesignatedRoot(stpPortDesignatedRoot); dbStpIntEntry.updateStpPortDesignatedCost(stpportdesignatedcost); dbStpIntEntry.updateStpportDesignatedPort(stpPortDesignatedPort); dbStpIntEntry.updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpIntEntry.set_lastpolltime(now); dbStpIntEntry.store(dbConn); } } } if (snmpVlanColl.hasDot1dTpFdbTable()) { Iterator subite = snmpVlanColl.getDot1dFdbTable() .getEntries().iterator(); while (subite.hasNext()) { Dot1dTpFdbTableEntry dot1dfdbentry = (Dot1dTpFdbTableEntry) subite .next(); String curMacAddress = dot1dfdbentry .getHexString(Dot1dTpFdbTableEntry.FDB_ADDRESS); int fdbport = dot1dfdbentry.getInt32(Dot1dTpFdbTableEntry.FDB_PORT); if (fdbport == 0) { if (log.isDebugEnabled()) log.debug("populateBridge: macaddress " + curMacAddress + " learned on invalid port " + fdbport + " . Skipping"); continue; } int curfdbstatus = dot1dfdbentry.getInt32(Dot1dTpFdbTableEntry.FDB_STATUS); if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_LEARNED) { m_node.addMacAddress(fdbport, curMacAddress, vlanindex); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found learned mac address " + curMacAddress + " on bridge port " + fdbport + " for VLAN " + snmpVlanColl.getVlanIndex()); } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_SELF) { m_node.addBridgeIdentifier(curMacAddress); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found bridge identifier " + curMacAddress + " for VLAN " + snmpVlanColl.getVlanIndex() + " and bridge port " + fdbport); } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_INVALID) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has INVALID status on port " + fdbport + " . Skipping"); continue; } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_MGMT) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has MGMT status on port " + fdbport + " . Skipping"); continue; } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_OTHER) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has OTHER status on port " + fdbport + " . Skipping"); continue; } } } //now adding bridge identifier mac addresses of switch from snmpinterface stmt = dbConn.prepareStatement(SQL_GET_SNMPPHYSADDR_SNMPINTERFACE); stmt.setInt(1, m_node.getNodeId()); rs = stmt.executeQuery(); while (rs.next()) { String macaddr = rs.getString("snmpphysaddr"); if (macaddr == null) continue; m_node.addBridgeIdentifier(macaddr); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found bridge identifier " + macaddr + " from snmpinterface db table"); } //now adding bridge identifier mac addresses of switch from snmpinterface stmt = dbConn.prepareStatement(SQL_GET_ATPHYSADDR_SNMPINTERFACE); stmt.setInt(1, m_node.getNodeId()); rs = stmt.executeQuery(); while (rs.next()) { String macaddr = rs.getString("atphysaddr"); if (macaddr == null) continue; m_node.addBridgeIdentifier(macaddr); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found bridge identifier " + macaddr + " from atinterface db table"); } } } } } int i = 0; stmt = dbConn.prepareStatement(SQL_UPDATE_ATINTERFACE); stmt.setInt(1, m_node.getNodeId()); stmt.setTimestamp(2, now); i = stmt.executeUpdate(); if (log.isDebugEnabled()) log.debug("store: SQL statement " + stmt.toString() + ". " + i + " rows UPDATED for nodeid " + m_node.getNodeId() + "."); stmt.close(); stmt = dbConn.prepareStatement(SQL_UPDATE_IPROUTEINTERFACE); stmt.setInt(1, m_node.getNodeId()); stmt.setTimestamp(2, now); i = stmt.executeUpdate(); if (log.isDebugEnabled()) log.debug("store: SQL statement " + stmt.toString() + ". " + i + " rows UPDATED for nodeid " + m_node.getNodeId() + "."); stmt.close(); stmt = dbConn.prepareStatement(SQL_UPDATE_STPNODE); stmt.setInt(1, m_node.getNodeId()); stmt.setTimestamp(2, now); i = stmt.executeUpdate(); if (log.isDebugEnabled()) log.debug("store: SQL statement " + stmt.toString() + ". " + i + " rows UPDATED for nodeid " + m_node.getNodeId() + "."); stmt.close(); stmt = dbConn.prepareStatement(SQL_UPDATE_STPINTERFACE); stmt.setInt(1, m_node.getNodeId()); stmt.setTimestamp(2, now); i = stmt.executeUpdate(); if (log.isDebugEnabled()) log.debug("store: SQL statement " + stmt.toString() + ". " + i + " rows UPDATED for nodeid " + m_node.getNodeId() + "."); stmt.close(); }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/f3e13aa5f29f79fb74c5975bb7cf59814d4d4cb1/DbEventWriter.java/clean/opennms-services/src/main/java/org/opennms/netmgt/linkd/DbEventWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1707, 10461, 1291, 2532, 12, 1952, 30795, 16, 8159, 2037, 13, 1216, 6483, 16, 1082, 202, 4874, 29776, 288, 202, 202, 4457, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 202, 202, 29325, 3480, 273, 446, 31, 202, 202, 13198, 3597, 273, 446, 31, 202, 202, 3198, 518, 73, 273, 446, 31, 202, 202, 474, 756, 350, 273, 312, 67, 2159, 18, 588, 15883, 5621, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 5332, 5273, 7308, 774, 5419, 1388, 10756, 288, 1082, 202, 1137, 273, 312, 67, 26527, 12910, 18, 588, 5273, 7308, 774, 5419, 1388, 1435, 6862, 202, 18, 588, 5400, 7675, 9838, 5621, 1082, 202, 430, 261, 1330, 18, 291, 2829, 1526, 10756, 9506, 202, 1330, 25083, 202, 18, 4148, 2932, 2233, 30, 12392, 14709, 7308, 774, 5419, 1388, 358, 622, 5831, 1014, 316, 2383, 8863, 1082, 202, 17523, 261, 1137, 18, 5332, 2134, 10756, 288, 9506, 202, 474, 622, 2159, 350, 273, 300, 21, 31, 9506, 202, 5273, 7308, 774, 5419, 1388, 1622, 3281, 273, 261, 5273, 7308, 774, 5419, 1388, 1622, 13, 518, 73, 25083, 202, 18, 4285, 5621, 9506, 202, 474, 309, 1615, 273, 3281, 25083, 202, 18, 588, 1702, 1578, 12, 5273, 7308, 774, 5419, 1388, 1622, 18, 3217, 49, 67, 9199, 1769, 9506, 202, 780, 24758, 3178, 273, 3281, 25083, 202, 18, 588, 14866, 12, 5273, 7308, 774, 5419, 1388, 1622, 18, 3217, 49, 67, 8939, 61, 55, 14142, 1769, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1707, 10461, 1291, 2532, 12, 1952, 30795, 16, 8159, 2037, 13, 1216, 6483, 16, 1082, 202, 4874, 29776, 288, 202, 202, 4457, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 202, 202, 29325, 3480, 273, 446, 31, 202, 202, 13198, 3597, 273, 446, 31, 202, 202, 3198, 518, 73, 273, 446, 31, 202, 202, 474, 756, 350, 273, 312, 67, 2159, 18, 588, 15883, 5621, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 5332, 5273, 7308, 774, 5419, 1388, 10756, 288, 1082, 202, 1137, 273, 312, 67, 26527, 12910, 18, 588, 5273, 7308, 774, 5419, 1388, 1435, 6862, 202, 18, 588, 5400, 7675, 9838, 5621, 1082, 202, 430, 261, 1330, 18, 2 ]
return getFilterProperties(null); }
return getFilterProperties(null); }
public final org.rcfaces.core.model.IFilterProperties getFilterProperties() { return getFilterProperties(null); }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/ComboComponent.java/clean/org.rcfaces.core/src/org/rcfaces/core/component/ComboComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 2358, 18, 1310, 4601, 18, 3644, 18, 2284, 18, 45, 1586, 2297, 12267, 2297, 1435, 288, 3639, 327, 12267, 2297, 12, 2011, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 2358, 18, 1310, 4601, 18, 3644, 18, 2284, 18, 45, 1586, 2297, 12267, 2297, 1435, 288, 3639, 327, 12267, 2297, 12, 2011, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
results = compare(retEnv, tempPath); assertTrue(results);
compareXML(retEnv, tempPath);
public void testR2GBEchoNestedArray() throws AxisFault { url = "http://www.mssoapinterop.org:80/Remoting/ServiceB.soap"; soapAction = "http://soapinterop.org/"; util = new GroupbEchoNestedArrayUtil(); retEnv = SunRound2Client.sendMsg(util, url, soapAction); tempPath = resFilePath + "MSRemGroupbNestedArrayRes.xml"; results = compare(retEnv, tempPath); assertTrue(results); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/6295a3864398ed319578fb0b345f1adafef73782/MSRemRound2InteropTest.java/buggy/modules/integration/itest/test/interop/whitemesa/round2/MSRemRound2InteropTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 5887, 19704, 8649, 1076, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 5591, 18, 959, 19215, 30376, 18, 3341, 30, 3672, 19, 1933, 17128, 19, 1179, 38, 18, 19215, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 3756, 70, 19704, 8649, 1076, 1304, 5621, 3639, 325, 3491, 273, 31608, 11066, 22, 1227, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 3537, 1933, 1114, 70, 8649, 1076, 607, 18, 2902, 14432, 3639, 1686, 273, 3400, 12, 1349, 3491, 16, 1906, 743, 1769, 3639, 1815, 5510, 12, 4717, 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, 1071, 918, 1842, 54, 22, 5887, 19704, 8649, 1076, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 5591, 18, 959, 19215, 30376, 18, 3341, 30, 3672, 19, 1933, 17128, 19, 1179, 38, 18, 19215, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 3756, 70, 19704, 8649, 1076, 1304, 5621, 3639, 325, 3491, 273, 31608, 11066, 22, 1227, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 3537, 1933, 1114, 70, 8649, 1076, 607, 18, 2902, 14432, 3639, 1686, 273, 3400, 12, 1349, 3491, 16, 1906, 743, 1769, 3639, 1815, 5510, 12, 4717, 1769, 565, 289, 2 ]
public void mINT() throws RecognitionException { try { int type = INT; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:773:17: ( ( '-' )? ( '0' .. '9' )+ ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:773:17: ( '-' )? ( '0' .. '9' )+ { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:773:17: ( '-' )? int alt3=2; int LA3_0 = input.LA(1); if ( LA3_0=='-' ) { alt3=1; } else if ( (LA3_0>='0' && LA3_0<='9') ) { alt3=2; } else { NoViableAltException nvae = new NoViableAltException("773:17: ( \'-\' )?", 3, 0, input); throw nvae; } switch (alt3) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:773:18: '-' { match('-'); } break; } // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:773:23: ( '0' .. '9' )+ int cnt4=0; loop4: do { int alt4=2; int LA4_0 = input.LA(1); if ( (LA4_0>='0' && LA4_0<='9') ) { alt4=1; } switch (alt4) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:773:24: '0' .. '9' { matchRange('0','9'); } break; default : if ( cnt4 >= 1 ) break loop4; EarlyExitException eee = new EarlyExitException(4, input); throw eee; } cnt4++; } while (true); } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { } }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/75f5f3ef6a8af3fa9515d2007a16f1fd6f3ce0d0/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 3217, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 509, 618, 273, 6137, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 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, 4700, 23, 30, 4033, 30, 261, 261, 4014, 7851, 261, 296, 20, 11, 6116, 296, 29, 11, 27462, 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, 4700, 23, 30, 4033, 30, 261, 4014, 7851, 261, 296, 20, 11, 6116, 296, 29, 11, 27462, 5411, 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, 4700, 23, 30, 4033, 30, 261, 4014, 7851, 5411, 509, 3770, 23, 33, 22, 31, 5411, 509, 2928, 23, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 23, 67, 20, 18920, 6627, 262, 288, 7734, 3770, 23, 33, 21, 31, 5411, 289, 5411, 469, 309, 261, 261, 2534, 23, 67, 20, 34, 2218, 20, 11, 597, 2928, 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, 312, 3217, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 509, 618, 273, 6137, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 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, 4700, 23, 30, 4033, 30, 261, 261, 4014, 7851, 261, 296, 20, 11, 6116, 296, 29, 11, 27462, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 2 ]
final BigDecimal stripped = _value.stripTrailingZeros();
final BigDecimal stripped = BigDecimalHelper.stripTrailingZeros( _value );
public static String stringFromBigDecimal( BigDecimal _value ) { if (_value.compareTo( BigDecimal.ZERO ) == 0) return "0"; // avoid "0.0" final BigDecimal stripped = _value.stripTrailingZeros(); final int scale = stripped.scale(); final int prec = BigDecimalHelper.precision( stripped ); final int ints = prec - scale; if (ints > 20) { return stripped.toString(); } else { return stripped.toPlainString(); } }
57629 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57629/26ead82a310c69b076534d9fb65ee6791842401b/Runtime_v1.java/buggy/src/classes/sej/internal/runtime/Runtime_v1.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 533, 1265, 29436, 12, 8150, 389, 1132, 262, 202, 95, 202, 202, 430, 261, 67, 1132, 18, 9877, 774, 12, 8150, 18, 24968, 262, 422, 374, 13, 327, 315, 20, 14432, 368, 4543, 315, 20, 18, 20, 6, 202, 202, 6385, 8150, 13300, 273, 389, 1132, 18, 6406, 16808, 20801, 5621, 202, 202, 6385, 509, 3159, 273, 13300, 18, 5864, 5621, 202, 202, 6385, 509, 13382, 273, 8150, 2276, 18, 14548, 12, 13300, 11272, 202, 202, 6385, 509, 15542, 273, 13382, 300, 3159, 31, 202, 202, 430, 261, 28142, 405, 4200, 13, 288, 1082, 202, 2463, 13300, 18, 10492, 5621, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 2463, 13300, 18, 869, 13360, 780, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 533, 1265, 29436, 12, 8150, 389, 1132, 262, 202, 95, 202, 202, 430, 261, 67, 1132, 18, 9877, 774, 12, 8150, 18, 24968, 262, 422, 374, 13, 327, 315, 20, 14432, 368, 4543, 315, 20, 18, 20, 6, 202, 202, 6385, 8150, 13300, 273, 389, 1132, 18, 6406, 16808, 20801, 5621, 202, 202, 6385, 509, 3159, 273, 13300, 18, 5864, 5621, 202, 202, 6385, 509, 13382, 273, 8150, 2276, 18, 14548, 12, 13300, 11272, 202, 202, 6385, 509, 15542, 273, 13382, 300, 3159, 31, 202, 202, 430, 261, 28142, 405, 4200, 13, 288, 1082, 202, 2463, 13300, 18, 10492, 5621, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 2463, 13300, 18, 869, 13360, 2 ]
vPhaseReport.addElement(r);
addReport(r);
private void resolveDfaAttack(PhysicalResult pr, int lastEntityId) { final DfaAttackAction daa = (DfaAttackAction)pr.aaa; final Entity ae = game.getEntity(daa.getEntityId()); final Targetable target = game.getTarget(daa.getTargetType(), daa.getTargetId()); // get damage, ToHitData and roll from the PhysicalResult int damage = pr.damage; final ToHitData toHit = pr.toHit; int roll = pr.roll; Entity te = null; if (target != null && target.getTargetType() == Targetable.TYPE_ENTITY) { // Lets re-write around that horrible hack that was here before. // So instead of asking if a specific location is wet and praying // that it won't cause an NPE... // We'll check 1) if the hex has water, and 2) if it's deep enough // to cover the unit in question at its current elevation. // It's especially important to make sure it's done this way, // because some units (Sylph, submarines) can be at ANY elevation // underwater, and VTOLs can be well above the surface. te = (Entity)target; IHex hex = game.getBoard().getHex(te.getPosition()); if (hex.containsTerrain(Terrains.WATER)) { if (te.absHeight() < hex.getElevation()) damage = (int)Math.ceil(damage * 0.5f); } } boolean throughFront = true; if (te!=null) { throughFront = Compute.isThroughFrontHex(game, daa.getEntityId(), te); } final boolean glancing = (game.getOptions().booleanOption("maxtech_glancing_blows") && (roll == toHit.getValue())); Report r; // Which building takes the damage? Building bldg = game.getBoard().getBuildingAt( daa.getTargetPos() ); // is the attacker dead? because that sure messes up the calculations if (ae == null) { return; } final int direction = ae.getFacing(); if (lastEntityId != daa.getEntityId()) { //who is making the attack r = new Report(4005); r.subject = ae.getId(); r.addDesc(ae); vPhaseReport.addElement(r); } // entity isn't DFAing any more ae.setDisplacementAttack(null); // should we even bother? if (target == null || (target.getTargetType() == Targetable.TYPE_ENTITY && (te.isDestroyed() || te.isDoomed() || te.crew.isDead()))) { r = new Report(4245); r.subject = ae.getId(); r.indent(); vPhaseReport.addElement(r); if (ae.isProne()) { // attacker prone during weapons phase doEntityFall(ae, daa.getTargetPos(), 2, 3, ae.getBasePilotingRoll()); } else { // same effect as successful DFA doEntityDisplacement(ae, ae.getPosition(), daa.getTargetPos(), new PilotingRollData(ae.getId(), 4, "executed death from above")); } return; } r = new Report(4246); r.subject = ae.getId(); r.indent(); r.add(target.getDisplayName()); r.newlines = 0; vPhaseReport.addElement(r); // target still in the same position? if ( !target.getPosition().equals(daa.getTargetPos()) ) { r = new Report(4215); r.subject = ae.getId(); vPhaseReport.addElement(r); doEntityFallsInto(ae, ae.getPosition(), daa.getTargetPos(), ae.getBasePilotingRoll()); return; } // hack: if the attacker's prone, or incapacitated, fudge the roll if (ae.isProne() || !ae.isActive()) { roll = -12; r = new Report(4250); r.subject = ae.getId(); r.add(toHit.getDesc()); vPhaseReport.addElement(r); } else if (toHit.getValue() == ToHitData.IMPOSSIBLE) { roll = -12; r = new Report(4255); r.subject = ae.getId(); r.add(toHit.getDesc()); vPhaseReport.addElement(r); } else if (toHit.getValue() == ToHitData.AUTOMATIC_SUCCESS) { r = new Report(4260); r.subject = ae.getId(); r.add(toHit.getDesc()); vPhaseReport.addElement(r); roll = Integer.MAX_VALUE; } else { // report the roll r = new Report(4025); r.subject = ae.getId(); r.add(toHit.getValue()); r.add(roll); r.newlines = 0; vPhaseReport.addElement(r); if (glancing) { r = new Report(4030); r.subject = ae.getId(); r.newlines = 0; vPhaseReport.addElement(r); } } // do we hit? if (roll < toHit.getValue()) { Coords dest = te.getPosition(); Coords targetDest = Compute.getPreferredDisplacement(game, te.getId(), dest, direction); //miss r = new Report(4035); r.subject = ae.getId(); vPhaseReport.addElement(r); if (targetDest != null) { // attacker falls into destination hex r = new Report(4265); r.subject = ae.getId(); r.addDesc(ae); r.add(dest.getBoardNum(), true); vPhaseReport.addElement(r); doEntityFall(ae, dest, 2, 3, ae.getBasePilotingRoll()); // move target to preferred hex doEntityDisplacement(te, dest, targetDest, null); } else { // attacker destroyed Tanks // suffer an ammo/power plant hit. // TODO : a Mech suffers a Head Blown Off crit. vPhaseReport.addAll( destroyEntity(ae, "impossible displacement", (ae instanceof Mech), (ae instanceof Mech))); } return; } // we hit... // Can't DFA a target inside of a building. int damageTaken = DfaAttackAction.getDamageTakenBy(ae); r = new Report(4040); r.subject = ae.getId(); vPhaseReport.addElement(r); // Targeting a building. if ( target.getTargetType() == Targetable.TYPE_BUILDING ) { // The building takes the full brunt of the attack. Report buildingReport = damageBuilding( bldg, damage ); buildingReport.indent(); buildingReport.subject = ae.getId(); vPhaseReport.addElement(buildingReport); // Damage any infantry in the hex. this.damageInfantryIn( bldg, damage ); } // Target isn't building. else { if (glancing) { damage = (int)Math.floor(damage/2.0); } //damage target r = new Report(4230); r.subject = ae.getId(); r.add(damage); r.add(toHit.getTableDesc()); r.newlines = 0; vPhaseReport.addElement(r); while (damage > 0) { int cluster = Math.min(5, damage); HitData hit = te.rollHitLocation(toHit.getHitTable(), toHit.getSideTable()); vPhaseReport.addAll( damageEntity(te, hit, cluster, false, 0, false, false, throughFront)); damage -= cluster; } } if (glancing) { // Glancing Blow rule doesn't state whether damage to attacker on charge // or DFA is halved as well, assume yes. TODO: Check with PM damageTaken = (int)Math.floor(damageTaken/2.0); } //damage attacker r = new Report(4240); r.subject = ae.getId(); r.add(damageTaken); r.newlines = 0; vPhaseReport.addElement(r); while (damageTaken > 0) { int cluster = Math.min(5, damageTaken); HitData hit = ae.rollHitLocation(ToHitData.HIT_KICK, ToHitData.SIDE_FRONT); vPhaseReport.addAll( damageEntity(ae, hit, cluster)); damageTaken -= cluster; } Report.addNewline(vPhaseReport); // That's it for target buildings. // TODO: where do I put the attacker?!? if ( target.getTargetType() == Targetable.TYPE_BUILDING ) { return; } // Target entities are pushed away or destroyed. Coords dest = te.getPosition(); Coords targetDest = Compute.getValidDisplacement(game, te.getId(), dest, direction); if (targetDest != null) { doEntityDisplacement(te, dest, targetDest, new PilotingRollData(te.getId(), 2, "hit by death from above")); } else { // ack! automatic death! Tanks // suffer an ammo/power plant hit. // TODO : a Mech suffers a Head Blown Off crit. vPhaseReport.addAll( destroyEntity(te, "impossible displacement", (te instanceof Mech), (te instanceof Mech))); } // HACK: to avoid automatic falls, displace from dest to dest doEntityDisplacement(ae, dest, dest, new PilotingRollData(ae.getId(), 4, "executed death from above")); }
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, 2245, 40, 507, 3075, 484, 12, 18136, 1253, 846, 16, 509, 1142, 18029, 13, 288, 3639, 727, 463, 507, 3075, 484, 1803, 5248, 69, 273, 261, 40, 507, 3075, 484, 1803, 13, 683, 18, 26676, 31, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 2414, 69, 18, 588, 18029, 10663, 3639, 727, 5916, 429, 1018, 273, 7920, 18, 588, 2326, 12, 2414, 69, 18, 588, 2326, 559, 9334, 5248, 69, 18, 588, 2326, 548, 10663, 3639, 368, 336, 302, 301, 410, 16, 2974, 13616, 751, 471, 5824, 628, 326, 19712, 1253, 3639, 509, 302, 301, 410, 273, 846, 18, 72, 301, 410, 31, 3639, 727, 2974, 13616, 751, 358, 13616, 273, 846, 18, 869, 13616, 31, 3639, 509, 5824, 273, 846, 18, 2693, 31, 3639, 3887, 6489, 273, 446, 31, 3639, 309, 261, 3299, 480, 446, 597, 1018, 18, 588, 2326, 559, 1435, 422, 5916, 429, 18, 2399, 67, 11101, 13, 288, 5411, 368, 511, 2413, 283, 17, 2626, 6740, 716, 29404, 86, 1523, 11769, 716, 1703, 2674, 1865, 18, 5411, 368, 6155, 3560, 434, 29288, 309, 279, 2923, 2117, 353, 341, 278, 471, 293, 435, 310, 5411, 368, 716, 518, 8462, 1404, 4620, 392, 423, 1423, 2777, 5411, 368, 1660, 5614, 866, 404, 13, 309, 326, 3827, 711, 16313, 16, 471, 576, 13, 309, 518, 1807, 4608, 7304, 5411, 368, 358, 5590, 326, 2836, 316, 5073, 622, 2097, 783, 19051, 18, 5411, 368, 2597, 1807, 29440, 10802, 358, 1221, 3071, 518, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2245, 40, 507, 3075, 484, 12, 18136, 1253, 846, 16, 509, 1142, 18029, 13, 288, 3639, 727, 463, 507, 3075, 484, 1803, 5248, 69, 273, 261, 40, 507, 3075, 484, 1803, 13, 683, 18, 26676, 31, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 2414, 69, 18, 588, 18029, 10663, 3639, 727, 5916, 429, 1018, 273, 7920, 18, 588, 2326, 12, 2414, 69, 18, 588, 2326, 559, 9334, 5248, 69, 18, 588, 2326, 548, 10663, 3639, 368, 336, 302, 301, 410, 16, 2974, 13616, 751, 471, 5824, 628, 326, 19712, 1253, 3639, 509, 302, 301, 410, 273, 846, 18, 72, 301, 410, 31, 3639, 727, 2974, 13616, 751, 358, 13616, 273, 846, 18, 869, 2 ]
if (debug>=3) System.out.println("TraceHeader() METHOD_RECORD mid "+mid+" : "+full_name);
if (debug>=3) System.out.println(trips+": TraceHeader() METHOD_RECORD mid "+mid+" : "+full_name);
public TraceHeader(String header_filename, String trace_filename) { filename = trace_filename; DataInputStream input_file = openTraceMetaFile(header_filename, trace_filename); version = Utilities.getIntFromDataInputStream(input_file); n_counters = Utilities.getIntFromDataInputStream(input_file); mode = Utilities.getIntFromDataInputStream(input_file); if(debug>=1) System.out.println(" version "+version+", n_counters "+n_counters+", mode "+mode); int n_elements = n_counters+1; // allocate and initialize arrays short_event_names = new String[ n_elements]; ids = new int[ n_elements]; status = new int[ n_elements]; thresholdable = new boolean[n_elements]; for (int i=0; i<n_elements; i++) { ids[ i] = 0; short_event_names[ i] = null; status[ i] = -1; thresholdable[i] = false; } // read records from trace file HashMap map = new HashMap(); // Global TID (Integer) X thread name(String) HashMap mapg2l = new HashMap(); // Global TID (Integer) X TID (Integer) while(true) { int record_type = Utilities.getIntFromDataInputStream(input_file); if (record_type == Utilities.EOF_int) { break; } else if (record_type == MACHINE_TYPE_FORMAT) { processor_name = Utilities.getStringFromDataInputStream(input_file); if (debug>=3) System.out.println("TraceHeader() MACHINE_TYPE_RECORD "+processor_name); } else if (record_type == EVENT_FORMAT) { int counter_number = Utilities.getIntFromDataInputStream(input_file); if (counter_number >= n_elements) { System.out.println("TraceHeader("+trace_filename+") counter number "+ counter_number+" > n_elements "+n_elements); System.exit(-1); } ids[counter_number] = Utilities.getIntFromDataInputStream(input_file); short_event_names[counter_number] = Utilities.getStringFromDataInputStream(input_file); if (debug>=3) System.out.println("TraceHeader() EVENT_RECORD "+counter_number+" = "+ ids[counter_number]+" : "+short_event_names[counter_number]); } else if (record_type == THREAD_FORMAT) { int tid = Utilities.getIntFromDataInputStream(input_file); int local_tid = Utilities.getIntFromDataInputStream(input_file); if (n_threads < tid) n_threads = tid; String thread_name = Utilities.getStringFromDataInputStream(input_file); Integer TID = new Integer(tid); map.put(TID, thread_name); if (debug>=3) System.out.println("TraceHeader() THREAD_RECORD global tid "+tid+" : "+ local_tid+" : "+thread_name); Integer LOCAL_TID = new Integer(local_tid); mapg2l.put(TID,LOCAL_TID); } else if (record_type == METHOD_FORMAT) { int mid = Utilities.getIntFromDataInputStream(input_file); String class_name = Utilities.getStringFromDataInputStream(input_file); String method_name = Utilities.getStringFromDataInputStream(input_file); String method_descriptor = Utilities.getStringFromDataInputStream(input_file); String full_name = class_name+"."+method_name+method_descriptor; if (debug>=3) System.out.println("TraceHeader() METHOD_RECORD mid "+mid+" : "+full_name); MID_map.put(new Integer(mid), full_name); } } // allocate thread array. threads = new String[n_threads+1]; for (int i = 0; i<=n_threads; i++) { threads[i] = null; } if (debug>=3) System.out.println("\nDump global thread id to thread name map:"); Set keys = map.keySet(); for (Iterator i = keys.iterator(); i.hasNext();) { Integer Key = (Integer)i.next(); String thread_name = (String)map.get(Key); int key = Key.intValue(); if (key >=0) { threads[key] = thread_name; if(debug>=3)System.out.println(" threads["+key+"] = "+thread_name); } else { if(debug>=3)System.out.println(" threads["+key+"] = "+thread_name+" discarded!" ); } } // allocate thread array. globalToLocalTIDs = new int[n_threads+1]; if (debug>=3) System.out.println("\nDump global to local thread id map:"); keys = mapg2l.keySet(); for (Iterator i = keys.iterator(); i.hasNext();) { Integer Key = (Integer)i.next(); Integer Local_Tid = (Integer)mapg2l.get(Key); int tid = Key.intValue(); if (tid >= 0) { globalToLocalTIDs[tid] = Local_Tid.intValue(); if(debug>=3)System.out.println(" globalToLocalTIDs["+tid+"] = "+Local_Tid); } else { if(debug>=3)System.out.println(" globalToLocalTIDs["+tid+"] = "+Local_Tid+" discarded!"); } } if (debug>=2) print(); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/abe3257b980f7bdb39d472ac90c6ae2118b01c86/TraceHeader.java/buggy/rvm/src/tools/HPM_traceFileReader/TraceHeader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2677, 1864, 12, 780, 1446, 67, 3459, 16, 514, 2606, 67, 3459, 13, 282, 288, 565, 1544, 273, 2606, 67, 3459, 31, 565, 29382, 810, 67, 768, 273, 1696, 3448, 2781, 812, 12, 3374, 67, 3459, 16, 2606, 67, 3459, 1769, 565, 1177, 565, 273, 26703, 18, 588, 1702, 1265, 751, 4348, 12, 2630, 67, 768, 1769, 565, 290, 67, 23426, 273, 26703, 18, 588, 1702, 1265, 751, 4348, 12, 2630, 67, 768, 1769, 565, 1965, 4202, 273, 26703, 18, 588, 1702, 1265, 751, 4348, 12, 2630, 67, 768, 1769, 3639, 309, 12, 4148, 34, 33, 21, 13, 2332, 18, 659, 18, 8222, 2932, 1177, 13773, 1589, 15, 3113, 290, 67, 23426, 13773, 82, 67, 23426, 15, 3113, 1965, 13773, 3188, 1769, 565, 509, 290, 67, 6274, 1377, 273, 290, 67, 23426, 15, 21, 31, 565, 368, 10101, 471, 4046, 5352, 565, 3025, 67, 2575, 67, 1973, 282, 273, 394, 514, 63, 290, 67, 6274, 15533, 565, 3258, 1171, 273, 394, 509, 63, 565, 290, 67, 6274, 15533, 565, 1267, 2868, 273, 394, 509, 63, 565, 290, 67, 6274, 15533, 565, 5573, 429, 4202, 273, 394, 1250, 63, 82, 67, 6274, 15533, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 82, 67, 6274, 31, 277, 27245, 288, 1377, 3258, 63, 7734, 277, 65, 273, 374, 31, 1377, 3025, 67, 2575, 67, 1973, 63, 225, 277, 65, 273, 446, 31, 1377, 1267, 63, 4202, 277, 65, 273, 300, 21, 31, 1377, 5573, 429, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2677, 1864, 12, 780, 1446, 67, 3459, 16, 514, 2606, 67, 3459, 13, 282, 288, 565, 1544, 273, 2606, 67, 3459, 31, 565, 29382, 810, 67, 768, 273, 1696, 3448, 2781, 812, 12, 3374, 67, 3459, 16, 2606, 67, 3459, 1769, 565, 1177, 565, 273, 26703, 18, 588, 1702, 1265, 751, 4348, 12, 2630, 67, 768, 1769, 565, 290, 67, 23426, 273, 26703, 18, 588, 1702, 1265, 751, 4348, 12, 2630, 67, 768, 1769, 565, 1965, 4202, 273, 26703, 18, 588, 1702, 1265, 751, 4348, 12, 2630, 67, 768, 1769, 3639, 309, 12, 4148, 34, 33, 21, 13, 2332, 18, 659, 18, 8222, 2932, 1177, 13773, 1589, 15, 3113, 290, 67, 23426, 13773, 82, 67, 23426, 15, 2 ]
scrolledComposite.setMinSize( infoArea.computeSize(SWT.DEFAULT, SWT.DEFAULT));
scrolledComposite.setMinSize(infoArea.computeSize(SWT.DEFAULT, SWT.DEFAULT));
protected Composite createInfoArea(Composite parent) { createContextMenu(); scrolledComposite = new ScrolledComposite(parent, SWT.V_SCROLL | SWT.H_SCROLL); scrolledComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); infoArea = new Composite(this.scrolledComposite, SWT.NONE); scrolledComposite.setMinSize( infoArea.computeSize(SWT.DEFAULT, SWT.DEFAULT)); GridLayout infoLayout = new GridLayout(); infoLayout.numColumns = 1; infoLayout.verticalSpacing = 0; infoLayout.horizontalSpacing = 0; infoLayout.marginWidth = 0; infoArea.setLayout(infoLayout); infoArea.setBackground(background); if (getBug() == null) {// close(); MessageDialog.openError( Display.getDefault().getActiveShell(), "Bugzilla Client Errror", "Could not resolve the requested bug, check Bugzilla server and version."); Composite composite = new Composite(parent, SWT.NULL); Label noBugLabel = new Label(composite, SWT.NULL); noBugLabel.setText("Could not resolve bug"); return composite; } createLayouts(); this.scrolledComposite.setContent(infoArea); Point p = infoArea.computeSize(SWT.DEFAULT, SWT.DEFAULT, true); this.scrolledComposite.setMinHeight(p.y); this.scrolledComposite.setMinWidth(p.x); this.scrolledComposite.setExpandHorizontal(true); this.scrolledComposite.setExpandVertical(true); // make the editor scroll properly with a scroll editor scrolledComposite.addControlListener(new ControlListener() { public void controlMoved(ControlEvent e) { // don't care when the control moved } public void controlResized(ControlEvent e) { scrolledComposite.getVerticalBar() .setIncrement(scrollIncrement); scrolledComposite.getHorizontalBar().setIncrement( scrollIncrement); scrollVertPageIncrement = scrolledComposite.getClientArea().height; scrollHorzPageIncrement = scrolledComposite.getClientArea().width; scrolledComposite.getVerticalBar().setPageIncrement( scrollVertPageIncrement); scrolledComposite.getHorizontalBar().setPageIncrement( scrollHorzPageIncrement); } }); return infoArea; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/03771035b0c3ee44c251feb0d994a738a0a26e89/AbstractBugEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 14728, 752, 966, 5484, 12, 9400, 982, 13, 288, 202, 202, 2640, 27315, 5621, 9506, 202, 1017, 25054, 9400, 273, 1082, 202, 2704, 2850, 25054, 9400, 12, 2938, 16, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 44, 67, 2312, 14555, 1769, 202, 202, 1017, 25054, 9400, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 202, 202, 1376, 5484, 273, 394, 14728, 12, 2211, 18, 1017, 25054, 9400, 16, 348, 8588, 18, 9826, 1769, 202, 202, 1017, 25054, 9400, 18, 542, 2930, 1225, 12, 1082, 202, 1376, 5484, 18, 9200, 1225, 12, 55, 8588, 18, 5280, 16, 348, 8588, 18, 5280, 10019, 202, 202, 6313, 3744, 1123, 3744, 273, 394, 7145, 3744, 5621, 202, 202, 1376, 3744, 18, 2107, 3380, 273, 404, 31, 202, 202, 1376, 3744, 18, 17824, 18006, 273, 374, 31, 202, 202, 1376, 3744, 18, 18396, 18006, 273, 374, 31, 202, 202, 1376, 3744, 18, 10107, 2384, 273, 374, 31, 202, 202, 1376, 5484, 18, 542, 3744, 12, 1376, 3744, 1769, 202, 202, 1376, 5484, 18, 542, 8199, 12, 9342, 1769, 202, 202, 430, 261, 588, 19865, 1435, 422, 446, 13, 288, 759, 1082, 202, 4412, 5621, 1082, 202, 1079, 6353, 18, 3190, 668, 12, 6862, 202, 4236, 18, 588, 1868, 7675, 588, 3896, 13220, 9334, 4405, 202, 6, 19865, 15990, 2445, 1926, 86, 280, 3113, 6862, 202, 6, 4445, 486, 2245, 326, 3764, 7934, 16, 866, 16907, 15990, 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, 14728, 752, 966, 5484, 12, 9400, 982, 13, 288, 202, 202, 2640, 27315, 5621, 9506, 202, 1017, 25054, 9400, 273, 1082, 202, 2704, 2850, 25054, 9400, 12, 2938, 16, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 44, 67, 2312, 14555, 1769, 202, 202, 1017, 25054, 9400, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 202, 202, 1376, 5484, 273, 394, 14728, 12, 2211, 18, 1017, 25054, 9400, 16, 348, 8588, 18, 9826, 1769, 202, 202, 1017, 25054, 9400, 18, 542, 2930, 1225, 12, 1082, 202, 1376, 5484, 18, 9200, 1225, 12, 55, 8588, 18, 5280, 16, 348, 8588, 18, 5280, 10019, 202, 202, 2 ]
if (!preserveSpace.isEmpty())
if (source)
boolean isPreserved(Text text) throws TransformerConfigurationException { // Check characters in text String value = text.getData(); if (value != null) { int len = value.length(); for (int i = 0; i < len; i++) { char c = value.charAt(i); if (c != 0x20 && c != 0x09 && c != 0x0a && c != 0x0d) { return true; } } } // Check parent node Node ctx = text.getParentNode(); if (!preserveSpace.isEmpty()) { for (Iterator i = preserveSpace.iterator(); i.hasNext(); ) { NameTest preserveTest = (NameTest) i.next(); if (preserveTest.matches(ctx, 1, 1)) { boolean override = false; if (!stripSpace.isEmpty()) { for (Iterator j = stripSpace.iterator(); j.hasNext(); ) { NameTest stripTest = (NameTest) j.next(); if (stripTest.matches(ctx, 1, 1)) { override = true; break; } } } if (!override) { return true; } } } } // Check whether any ancestor specified xml:space while (ctx != null) { if (ctx.getNodeType() == Node.ELEMENT_NODE) { Element element = (Element) ctx; String xmlSpace = element.getAttribute("xml:space"); if ("default".equals(xmlSpace)) { break; } else if ("preserve".equals(xmlSpace)) { return true; } else if (xmlSpace.length() > 0) { String msg = "Illegal value for xml:space: " + xmlSpace; throw new TransformerConfigurationException(msg); } else if ("text".equals(ctx.getLocalName()) && XSL_NS.equals(ctx.getNamespaceURI())) { // xsl:text implies xml:space='preserve' return true; } } ctx = ctx.getParentNode(); } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Stylesheet.java/clean/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1250, 353, 12236, 4920, 12, 1528, 977, 13, 565, 1216, 11519, 10737, 225, 288, 565, 368, 2073, 3949, 316, 977, 565, 514, 460, 273, 977, 18, 588, 751, 5621, 565, 309, 261, 1132, 480, 446, 13, 1377, 288, 3639, 509, 562, 273, 460, 18, 2469, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 1850, 288, 5411, 1149, 276, 273, 460, 18, 3001, 861, 12, 77, 1769, 5411, 309, 261, 71, 480, 374, 92, 3462, 597, 276, 480, 374, 92, 5908, 597, 276, 480, 374, 92, 20, 69, 597, 276, 480, 374, 92, 20, 72, 13, 2868, 288, 7734, 327, 638, 31, 2868, 289, 1850, 289, 1377, 289, 565, 368, 2073, 982, 756, 565, 2029, 1103, 273, 977, 18, 588, 3054, 907, 5621, 565, 309, 261, 3168, 13, 1377, 288, 3639, 364, 261, 3198, 277, 273, 9420, 3819, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 1850, 288, 5411, 1770, 4709, 9420, 4709, 273, 261, 461, 4709, 13, 277, 18, 4285, 5621, 5411, 309, 261, 27297, 4709, 18, 8436, 12, 5900, 16, 404, 16, 404, 3719, 2868, 288, 7734, 1250, 3849, 273, 629, 31, 7734, 309, 16051, 6406, 3819, 18, 291, 1921, 10756, 5375, 288, 10792, 364, 261, 3198, 525, 273, 2569, 3819, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 262, 8227, 288, 13491, 1770, 4709, 2569, 4709, 273, 261, 461, 4709, 13, 525, 18, 4285, 5621, 13491, 309, 261, 6406, 4709, 18, 8436, 12, 5900, 16, 404, 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, 1250, 353, 12236, 4920, 12, 1528, 977, 13, 565, 1216, 11519, 10737, 225, 288, 565, 368, 2073, 3949, 316, 977, 565, 514, 460, 273, 977, 18, 588, 751, 5621, 565, 309, 261, 1132, 480, 446, 13, 1377, 288, 3639, 509, 562, 273, 460, 18, 2469, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 1850, 288, 5411, 1149, 276, 273, 460, 18, 3001, 861, 12, 77, 1769, 5411, 309, 261, 71, 480, 374, 92, 3462, 597, 276, 480, 374, 92, 5908, 597, 276, 480, 374, 92, 20, 69, 597, 276, 480, 374, 92, 20, 72, 13, 2868, 288, 7734, 327, 638, 31, 2868, 289, 1850, 289, 1377, 289, 565, 368, 2073, 982, 2 ]
return s291;
return s290;
public DFA.State transition(IntStream input) throws RecognitionException { int LA15_212 = input.LA(1); if ( (LA15_212>='0' && LA15_212<='9')||(LA15_212>='A' && LA15_212<='Z')||LA15_212=='_'||(LA15_212>='a' && LA15_212<='z') ) {return s51;} return s291; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/75f5f3ef6a8af3fa9515d2007a16f1fd6f3ce0d0/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 3600, 67, 22, 2138, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 261, 2534, 3600, 67, 22, 2138, 34, 2218, 20, 11, 597, 2928, 3600, 67, 22, 2138, 32, 2218, 29, 6134, 20081, 12, 2534, 3600, 67, 22, 2138, 34, 2218, 37, 11, 597, 2928, 3600, 67, 22, 2138, 32, 2218, 62, 6134, 20081, 2534, 3600, 67, 22, 2138, 18920, 4623, 20081, 12, 2534, 3600, 67, 22, 2138, 34, 2218, 69, 11, 597, 2928, 3600, 67, 22, 2138, 32, 2218, 94, 6134, 262, 288, 2463, 272, 10593, 31, 97, 7734, 327, 272, 5540, 20, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 3600, 67, 22, 2138, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 261, 2534, 3600, 67, 22, 2138, 34, 2218, 20, 11, 597, 2928, 3600, 67, 22, 2138, 32, 2218, 29, 6134, 20081, 12, 2534, 3600, 67, 22, 2138, 34, 2218, 37, 11, 597, 2928, 3600, 67, 22, 2138, 32, 2218, 62, 6134, 20081, 2534, 3600, 67, 22, 2138, 18920, 4623, 20081, 12, 2534, 3600, 67, 22, 2138, 34, 2218, 69, 11, 597, 2928, 3600, 67, 22, 2138, 32, 2218, 94, 6134, 262, 288, 2463, 272, 10593, 31, 97, 7734, 327, 272, 5540, 20, 31, 5411, 289, 2, -100, -100 ]
if(parseException != null) {
if (parseException != null) {
public Document load(java.net.URL url) throws DOMTestLoadException { Document doc = null; Exception parseException = null; try { LoadErrorHandler errorHandler = new LoadErrorHandler(); builder.setErrorHandler(errorHandler); doc = builder.parse(url.openStream(),url.toString()); parseException = errorHandler.getFirstException(); } catch(Exception ex) { parseException = ex; } builder.setErrorHandler(null); if(parseException != null) { throw new DOMTestLoadException(parseException); } return doc; }
55441 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55441/19ecf80dd539cb3920fc52530e5ddff6102cf9f2/JAXPDOMTestDocumentBuilderFactory.java/clean/java/org/w3c/domts/JAXPDOMTestDocumentBuilderFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4319, 1262, 12, 6290, 18, 2758, 18, 1785, 880, 13, 1216, 4703, 4709, 2563, 503, 288, 565, 4319, 997, 273, 446, 31, 565, 1185, 1109, 503, 273, 446, 31, 565, 775, 288, 1377, 4444, 17729, 17227, 273, 394, 4444, 17729, 5621, 1377, 2089, 18, 542, 17729, 12, 1636, 1503, 1769, 1377, 997, 273, 2089, 18, 2670, 12, 718, 18, 3190, 1228, 9334, 718, 18, 10492, 10663, 1377, 1109, 503, 273, 17227, 18, 588, 3759, 503, 5621, 565, 289, 565, 1044, 12, 503, 431, 13, 288, 1377, 1109, 503, 273, 431, 31, 565, 289, 565, 2089, 18, 542, 17729, 12, 2011, 1769, 565, 309, 261, 2670, 503, 480, 446, 13, 288, 1377, 604, 394, 4703, 4709, 2563, 503, 12, 2670, 503, 1769, 565, 289, 565, 327, 997, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4319, 1262, 12, 6290, 18, 2758, 18, 1785, 880, 13, 1216, 4703, 4709, 2563, 503, 288, 565, 4319, 997, 273, 446, 31, 565, 1185, 1109, 503, 273, 446, 31, 565, 775, 288, 1377, 4444, 17729, 17227, 273, 394, 4444, 17729, 5621, 1377, 2089, 18, 542, 17729, 12, 1636, 1503, 1769, 1377, 997, 273, 2089, 18, 2670, 12, 718, 18, 3190, 1228, 9334, 718, 18, 10492, 10663, 1377, 1109, 503, 273, 17227, 18, 588, 3759, 503, 5621, 565, 289, 565, 1044, 12, 503, 431, 13, 288, 1377, 1109, 503, 273, 431, 31, 565, 289, 565, 2089, 18, 542, 17729, 12, 2011, 1769, 565, 309, 261, 2670, 503, 480, 446, 13, 288, 1377, 604, 394, 4703, 4709, 2563, 503, 2 ]
return getFontUnderline(null); }
return getFontUnderline(null); }
public final java.lang.Boolean getFontUnderline() { return getFontUnderline(null); }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/TextComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/TextComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 2252, 18, 4936, 18, 5507, 18776, 14655, 1369, 1435, 288, 3639, 327, 18776, 14655, 1369, 12, 2011, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 2252, 18, 4936, 18, 5507, 18776, 14655, 1369, 1435, 288, 3639, 327, 18776, 14655, 1369, 12, 2011, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
start = i; break;
if(offsetMgr.isLineContextValid(i)) { start = i; break; }
public void markTokens(int lineIndex, TokenHandler tokenHandler) { Segment seg; if(SwingUtilities.isEventDispatchThread()) seg = this.seg; else seg = new Segment(); try { writeLock(); if(lineIndex < 0 || lineIndex >= offsetMgr.getLineCount()) throw new ArrayIndexOutOfBoundsException(lineIndex); /* * Scan backwards, looking for a line with * a valid line context. */ int start, end; if(parseFully) { start = -1; end = 0; } else { start = Math.max(0,lineIndex - 100) - 1; end = Math.max(0,lineIndex - 100); } for(int i = lineIndex - 1; i > end; i--) { if(offsetMgr.isLineContextValid(i)) { start = i; break; } } for(int i = start + 1; i <= lineIndex; i++) { getLineText(i,seg); TokenMarker.LineContext prevContext = (i == 0 ? null : offsetMgr.getLineContext(i - 1)); TokenMarker.LineContext context = offsetMgr.getLineContext(i); ParserRule oldRule; ParserRuleSet oldRules; if(context == null) { oldRule = null; oldRules = null; } else { oldRule = context.inRule; oldRules = context.rules; } context = tokenMarker.markTokens(prevContext, (i == lineIndex ? tokenHandler : DummyTokenHandler.INSTANCE),seg); offsetMgr.setLineContext(i,context); // Could incorrectly be set to 'false' with // recursive delegates, where the chaining might // have changed but not the rule set in question (?) if(oldRule != context.inRule) nextLineRequested = true; else if(oldRules != context.rules) nextLineRequested = true; //else if(i != lastTokenizedLine) // nextLineRequested = false; } int lineCount = offsetMgr.getLineCount(); if(nextLineRequested && lineCount - lineIndex > 1) { offsetMgr.lineInfoChangedFrom(lineIndex + 1); } } finally { writeUnlock(); } } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/e3ac628ca649d95c99f8c2afc65cf58cadf5eee7/Buffer.java/buggy/org/gjt/sp/jedit/Buffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2267, 5157, 12, 474, 980, 1016, 16, 3155, 1503, 1147, 1503, 13, 202, 95, 202, 202, 4131, 2291, 31, 202, 202, 430, 12, 6050, 310, 11864, 18, 291, 1133, 5325, 3830, 10756, 1082, 202, 5680, 273, 333, 18, 5680, 31, 202, 202, 12107, 1082, 202, 5680, 273, 394, 10807, 5621, 202, 202, 698, 202, 202, 95, 1082, 202, 2626, 2531, 5621, 1082, 202, 430, 12, 1369, 1016, 411, 374, 747, 980, 1016, 1545, 1384, 9455, 18, 588, 1670, 1380, 10756, 9506, 202, 12849, 394, 1510, 30548, 12, 1369, 1016, 1769, 1082, 202, 20308, 9506, 380, 8361, 12727, 16, 7849, 364, 279, 980, 598, 9506, 380, 279, 923, 980, 819, 18, 9506, 1195, 1082, 202, 474, 787, 16, 679, 31, 1082, 202, 430, 12, 2670, 16999, 13, 1082, 202, 95, 9506, 202, 1937, 273, 300, 21, 31, 9506, 202, 409, 273, 374, 31, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 1937, 273, 2361, 18, 1896, 12, 20, 16, 1369, 1016, 300, 2130, 13, 300, 404, 31, 9506, 202, 409, 273, 2361, 18, 1896, 12, 20, 16, 1369, 1016, 300, 2130, 1769, 1082, 202, 97, 1082, 202, 1884, 12, 474, 277, 273, 980, 1016, 300, 404, 31, 277, 405, 679, 31, 277, 413, 13, 1082, 202, 95, 9506, 202, 430, 12, 3348, 9455, 18, 291, 1670, 1042, 1556, 12, 77, 3719, 9506, 202, 95, 6862, 202, 1937, 273, 277, 31, 6862, 202, 8820, 31, 9506, 202, 97, 1082, 202, 97, 1082, 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, 2267, 5157, 12, 474, 980, 1016, 16, 3155, 1503, 1147, 1503, 13, 202, 95, 202, 202, 4131, 2291, 31, 202, 202, 430, 12, 6050, 310, 11864, 18, 291, 1133, 5325, 3830, 10756, 1082, 202, 5680, 273, 333, 18, 5680, 31, 202, 202, 12107, 1082, 202, 5680, 273, 394, 10807, 5621, 202, 202, 698, 202, 202, 95, 1082, 202, 2626, 2531, 5621, 1082, 202, 430, 12, 1369, 1016, 411, 374, 747, 980, 1016, 1545, 1384, 9455, 18, 588, 1670, 1380, 10756, 9506, 202, 12849, 394, 1510, 30548, 12, 1369, 1016, 1769, 1082, 202, 20308, 9506, 380, 8361, 12727, 16, 7849, 364, 279, 980, 598, 9506, 380, 279, 923, 980, 819, 18, 9506, 1195, 1082, 202, 474, 2 ]
IntItem vi = vstack.popInt(); vi.load(eContext); r = vi.getRegister(); v = vi;
val.load(eContext); final Register valr = val.getRegister(); vstack.push(eContext); os.writeTEST(valr, valr); os.writeJCC(helper.getInstrLabel(address), jccOpcode);
private void visit_ifxx(int type, int address, int jccOpcode) { //IMPROVE: Constant case / Local case Item v; Register r; if (type == JvmType.REFERENCE) { RefItem vr = vstack.popRef(); vr.load(eContext); r = vr.getRegister(); v = vr; } else { IntItem vi = vstack.popInt(); vi.load(eContext); r = vi.getRegister(); v = vi; } // flush vstack before jumping vstack.push(eContext); v.release(eContext); os.writeTEST(r, r); os.writeJCC(helper.getInstrLabel(address), jccOpcode); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/d672242345f119107d72572d1e0cbc4bae87fa53/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3757, 67, 430, 5279, 12, 474, 618, 16, 509, 1758, 16, 509, 525, 952, 22808, 13, 288, 202, 202, 759, 3445, 3373, 3412, 30, 10551, 648, 342, 3566, 648, 202, 202, 1180, 331, 31, 202, 202, 3996, 436, 31, 202, 202, 430, 261, 723, 422, 12920, 559, 18, 14617, 13, 288, 1082, 202, 1957, 1180, 16612, 273, 19510, 18, 5120, 1957, 5621, 1082, 202, 18090, 18, 945, 12, 73, 1042, 1769, 1082, 202, 86, 273, 16612, 18, 588, 3996, 5621, 1082, 202, 90, 273, 16612, 31, 202, 202, 97, 469, 288, 1082, 202, 1702, 1180, 13206, 273, 19510, 18, 5120, 1702, 5621, 1082, 202, 522, 18, 945, 12, 73, 1042, 1769, 1082, 202, 86, 273, 13206, 18, 588, 3996, 5621, 1082, 202, 90, 273, 13206, 31, 202, 202, 97, 202, 202, 759, 3663, 19510, 1865, 525, 379, 1382, 202, 202, 90, 3772, 18, 6206, 12, 73, 1042, 1769, 202, 202, 90, 18, 9340, 12, 73, 1042, 1769, 202, 202, 538, 18, 2626, 16961, 12, 86, 16, 436, 1769, 202, 202, 538, 18, 2626, 46, 6743, 12, 4759, 18, 588, 382, 701, 2224, 12, 2867, 3631, 525, 952, 22808, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1152, 918, 3757, 67, 430, 5279, 12, 474, 618, 16, 509, 1758, 16, 509, 525, 952, 22808, 13, 288, 202, 202, 759, 3445, 3373, 3412, 30, 10551, 648, 342, 3566, 648, 202, 202, 1180, 331, 31, 202, 202, 3996, 436, 31, 202, 202, 430, 261, 723, 422, 12920, 559, 18, 14617, 13, 288, 1082, 202, 1957, 1180, 16612, 273, 19510, 18, 5120, 1957, 5621, 1082, 202, 18090, 18, 945, 12, 73, 1042, 1769, 1082, 202, 86, 273, 16612, 18, 588, 3996, 5621, 1082, 202, 90, 273, 16612, 31, 202, 202, 97, 469, 288, 1082, 202, 1702, 1180, 13206, 273, 19510, 18, 5120, 1702, 5621, 1082, 202, 522, 18, 945, 12, 73, 1042, 1769, 1082, 202, 86, 273, 2 ]
if (!isDispatchThread() || (evt.getID() == WindowEvent.WINDOW_CLOSED)
if (!isDispatchThread() || (evt.getID() == WindowEvent.WINDOW_CLOSED)
public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id == evt.id && (src = qevt.getSource()) == evt.getSource() && src instanceof Component) { /* * If there are, call coalesceEvents on the source component to * see if they can be combined. */ Component srccmp = (Component) src; AWTEvent coalesced_evt = srccmp.coalesceEvents(qevt, evt); if (coalesced_evt != null) { /* Yes. Replace the existing event with the combined event. */ queue[i] = coalesced_evt; return; } break; } if (++i == queue.length) i = 0; } queue[next_in] = evt; if (++next_in == queue.length) next_in = 0; if (next_in == next_out) { /* Queue is full. Extend it. */ AWTEvent[] oldQueue = queue; queue = new AWTEvent[queue.length * 2]; int len = oldQueue.length - next_out; System.arraycopy(oldQueue, next_out, queue, 0, len); if (next_out != 0) System.arraycopy(oldQueue, 0, queue, len, next_out); next_out = 0; next_in = oldQueue.length; } if (dispatchThread == null || !dispatchThread.isAlive()) { System.out .println("Start new dispatchThread old=" + dispatchThread); dispatchThread = new EventDispatchThread(this); dispatchThread.start(); } // Window events might represent the closing of a window, which // might cause the end of the dispatch thread's life, so we'll wake // it up here to give it a chance to check for shutdown. if (!isDispatchThread() || (evt.getID() == WindowEvent.WINDOW_CLOSED) || (evt.getID() == WindowEvent.WINDOW_CLOSING)) ((ClasspathToolkit) Toolkit.getDefaultToolkit()).wakeNativeQueue(); notify(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 1603, 1133, 12, 37, 8588, 1133, 6324, 13, 288, 3639, 309, 261, 73, 11734, 422, 446, 13, 5411, 604, 394, 10108, 5621, 3639, 309, 261, 4285, 480, 446, 13, 288, 5411, 1024, 18, 2767, 1133, 12, 73, 11734, 1769, 5411, 327, 31, 3639, 289, 3639, 1748, 540, 380, 2073, 364, 1281, 2641, 1818, 603, 326, 2389, 598, 326, 1967, 1084, 471, 540, 380, 1599, 18, 540, 1195, 3639, 509, 277, 273, 1024, 67, 659, 31, 3639, 1323, 261, 77, 480, 1024, 67, 267, 13, 288, 5411, 432, 8588, 1133, 1043, 73, 11734, 273, 2389, 63, 77, 15533, 5411, 1033, 1705, 31, 5411, 309, 261, 85, 73, 11734, 18, 350, 422, 6324, 18, 350, 10792, 597, 261, 4816, 273, 1043, 73, 11734, 18, 588, 1830, 10756, 422, 6324, 18, 588, 1830, 1435, 10792, 597, 1705, 1276, 5435, 13, 288, 7734, 1748, 1171, 380, 971, 1915, 854, 16, 745, 1825, 24827, 3783, 603, 326, 1084, 1794, 358, 1171, 380, 2621, 309, 2898, 848, 506, 8224, 18, 1171, 1195, 7734, 5435, 9133, 952, 1291, 273, 261, 1841, 13, 1705, 31, 7734, 432, 8588, 1133, 1825, 5408, 3263, 67, 73, 11734, 273, 9133, 952, 1291, 18, 2894, 24827, 3783, 12, 85, 73, 11734, 16, 6324, 1769, 7734, 309, 261, 2894, 5408, 3263, 67, 73, 11734, 480, 446, 13, 288, 10792, 1748, 19925, 18, 6910, 326, 2062, 871, 598, 326, 8224, 871, 18, 1195, 10792, 2389, 63, 77, 65, 273, 1825, 5408, 3263, 67, 73, 11734, 31, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 1603, 1133, 12, 37, 8588, 1133, 6324, 13, 288, 3639, 309, 261, 73, 11734, 422, 446, 13, 5411, 604, 394, 10108, 5621, 3639, 309, 261, 4285, 480, 446, 13, 288, 5411, 1024, 18, 2767, 1133, 12, 73, 11734, 1769, 5411, 327, 31, 3639, 289, 3639, 1748, 540, 380, 2073, 364, 1281, 2641, 1818, 603, 326, 2389, 598, 326, 1967, 1084, 471, 540, 380, 1599, 18, 540, 1195, 3639, 509, 277, 273, 1024, 67, 659, 31, 3639, 1323, 261, 77, 480, 1024, 67, 267, 13, 288, 5411, 432, 8588, 1133, 1043, 73, 11734, 273, 2389, 63, 77, 15533, 5411, 1033, 1705, 31, 5411, 309, 261, 85, 73, 11734, 18, 350, 422, 6324, 18, 350, 10792, 597, 2 ]
public void startAction (String name, int max)
public void startAction(String name, int max)
public void startAction (String name, int max) { progressBar.setMinimum(0); progressBar.setMaximum(max); blockGUI(); }
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/UninstallerFrame.java/clean/src/lib/com/izforge/izpack/uninstaller/UninstallerFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 1803, 12, 780, 508, 16, 509, 943, 13, 565, 288, 1377, 29101, 18, 542, 13042, 12, 20, 1769, 1377, 29101, 18, 542, 13528, 12, 1896, 1769, 1377, 1203, 43, 5370, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 1803, 12, 780, 508, 16, 509, 943, 13, 565, 288, 1377, 29101, 18, 542, 13042, 12, 20, 1769, 1377, 29101, 18, 542, 13528, 12, 1896, 1769, 1377, 1203, 43, 5370, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Result execStatement(String sql, Row params) throws KettleDatabaseException
public Result execStatement(String sql) throws KettleDatabaseException
public Result execStatement(String sql, Row params) throws KettleDatabaseException { Result result = new Result(); try { boolean resultSet; int count; if (params!=null) { PreparedStatement prep_stmt = connection.prepareStatement(databaseMeta.stripCR(sql)); setValues(params, prep_stmt); // set the parameters! resultSet = prep_stmt.execute(); count = prep_stmt.getUpdateCount(); prep_stmt.close(); } else { String sqlStripped = databaseMeta.stripCR(sql); // log.logDetailed(toString(), "Executing SQL Statement: ["+sqlStripped+"]"); Statement stmt = connection.createStatement(); resultSet = stmt.execute(sqlStripped); count = stmt.getUpdateCount(); stmt.close(); } if (resultSet) { // the result is a resultset, but we don't do anything with it! // You should have called something else! // log.logDetailed(toString(), "What to do with ResultSet??? (count="+count+")"); } else { if (count > 0) { if (sql.toUpperCase().startsWith("INSERT")) result.setNrLinesOutput((long) count); if (sql.toUpperCase().startsWith("UPDATE")) result.setNrLinesUpdated((long) count); if (sql.toUpperCase().startsWith("DELETE")) result.setNrLinesDeleted((long) count); } } // See if a cache needs to be cleared... if (sql.toUpperCase().startsWith("ALTER TABLE")) { DBCache.getInstance().clear(databaseMeta.getName()); } } catch(SQLException ex) { throw new KettleDatabaseException("Couldn't execute SQL: "+sql+Const.CR, ex); } catch(Exception e) { throw new KettleDatabaseException("Unexpected error executing SQL: "+Const.CR, e); } return result; }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/010ce55cc835e24ea0d281df3b9d8fb611398414/Database.java/buggy/kettle/src/be/ibridge/kettle/core/database/Database.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3438, 1196, 3406, 12, 780, 1847, 16, 6556, 859, 13, 1216, 1475, 278, 5929, 4254, 503, 202, 95, 3639, 3438, 563, 273, 394, 3438, 5621, 202, 202, 698, 202, 202, 95, 5411, 1250, 12168, 31, 5411, 509, 1056, 31, 1082, 202, 430, 261, 2010, 5, 33, 2011, 13, 1082, 202, 95, 9506, 202, 29325, 13237, 67, 10589, 273, 1459, 18, 9366, 3406, 12, 6231, 2781, 18, 6406, 5093, 12, 4669, 10019, 9506, 202, 542, 1972, 12, 2010, 16, 13237, 67, 10589, 1769, 368, 444, 326, 1472, 5, 9506, 202, 2088, 694, 273, 13237, 67, 10589, 18, 8837, 5621, 7734, 1056, 273, 13237, 67, 10589, 18, 588, 1891, 1380, 5621, 9506, 202, 19109, 67, 10589, 18, 4412, 5621, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 7734, 514, 1847, 16632, 1845, 273, 2063, 2781, 18, 6406, 5093, 12, 4669, 1769, 7734, 368, 613, 18, 1330, 40, 6372, 12, 10492, 9334, 315, 22134, 3063, 8056, 30, 8247, 15, 4669, 16632, 1845, 9078, 4279, 1769, 9506, 202, 3406, 3480, 273, 1459, 18, 2640, 3406, 5621, 7734, 12168, 273, 3480, 18, 8837, 12, 4669, 16632, 1845, 1769, 7734, 1056, 273, 3480, 18, 588, 1891, 1380, 5621, 9506, 202, 10589, 18, 4412, 5621, 1082, 202, 97, 5411, 309, 261, 2088, 694, 13, 5411, 288, 7734, 368, 326, 563, 353, 279, 26539, 16, 1496, 732, 2727, 1404, 741, 6967, 598, 518, 5, 7734, 368, 4554, 1410, 1240, 2566, 5943, 469, 5, 7734, 368, 613, 18, 1330, 40, 6372, 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, 3438, 1196, 3406, 12, 780, 1847, 16, 6556, 859, 13, 1216, 1475, 278, 5929, 4254, 503, 202, 95, 3639, 3438, 563, 273, 394, 3438, 5621, 202, 202, 698, 202, 202, 95, 5411, 1250, 12168, 31, 5411, 509, 1056, 31, 1082, 202, 430, 261, 2010, 5, 33, 2011, 13, 1082, 202, 95, 9506, 202, 29325, 13237, 67, 10589, 273, 1459, 18, 9366, 3406, 12, 6231, 2781, 18, 6406, 5093, 12, 4669, 10019, 9506, 202, 542, 1972, 12, 2010, 16, 13237, 67, 10589, 1769, 368, 444, 326, 1472, 5, 9506, 202, 2088, 694, 273, 13237, 67, 10589, 18, 8837, 5621, 7734, 1056, 273, 13237, 67, 10589, 18, 588, 1891, 1380, 5621, 9506, 202, 19109, 67, 10589, 18, 4412, 2 ]
public static void launch( RepositoryCleanerConfiguration config ) throws Exception
public static void launch( RepositoryCleanerConfiguration config ) throws Exception
public static void launch( RepositoryCleanerConfiguration config ) throws Exception { Embedder embedder = new Embedder(); embedder.start( new ClassWorld() ); RepositoryCleaner cleaner = null; try { cleaner = (RepositoryCleaner) embedder.lookup( RepositoryCleaner.ROLE ); cleaner.cleanRepository( config ); } finally { if ( cleaner != null ) { embedder.release( cleaner ); } } }
47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/6e51d420ed174d20446e7387dab144f9c1a9eed0/Main.java/buggy/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 8037, 12, 6281, 7605, 264, 1750, 642, 262, 1216, 1185, 565, 288, 3639, 14564, 765, 4724, 765, 273, 394, 14564, 765, 5621, 3639, 4724, 765, 18, 1937, 12, 394, 1659, 18071, 1435, 11272, 3639, 6281, 7605, 264, 25933, 273, 446, 31, 3639, 775, 3639, 288, 5411, 25933, 273, 261, 3305, 7605, 264, 13, 4724, 765, 18, 8664, 12, 6281, 7605, 264, 18, 16256, 11272, 5411, 25933, 18, 6200, 3305, 12, 642, 11272, 3639, 289, 3639, 3095, 3639, 288, 5411, 309, 261, 25933, 480, 446, 262, 5411, 288, 7734, 4724, 765, 18, 9340, 12, 25933, 11272, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 760, 918, 8037, 12, 6281, 7605, 264, 1750, 642, 262, 1216, 1185, 565, 288, 3639, 14564, 765, 4724, 765, 273, 394, 14564, 765, 5621, 3639, 4724, 765, 18, 1937, 12, 394, 1659, 18071, 1435, 11272, 3639, 6281, 7605, 264, 25933, 273, 446, 31, 3639, 775, 3639, 288, 5411, 25933, 273, 261, 3305, 7605, 264, 13, 4724, 765, 18, 8664, 12, 6281, 7605, 264, 18, 16256, 11272, 5411, 25933, 18, 6200, 3305, 12, 642, 11272, 3639, 289, 3639, 3095, 3639, 288, 5411, 309, 261, 25933, 480, 446, 262, 5411, 288, 7734, 4724, 765, 18, 9340, 12, 25933, 11272, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertEquals(new String(((Message)tempEvt.getArg()).getBuffer()),"hello2");
assertEquals("hello2", new String(((Message)tempEvt.getArg()).getBuffer()));
public void testViewChangeNewKeyServer() throws Exception{ // create peer and server ENCRYPT peer = new ENCRYPT(); try { peer.init(); } catch (Exception e){ fail(e.getMessage()); } ENCRYPT server = new ENCRYPT(); try { server.init(); } catch (Exception e){ fail(e.getMessage()); } // set up server server.keyServer = true; MockObserver serverObserver = new MockObserver(); server.setObserver(serverObserver); Address serverAddress =new MockAddress("server"); server.setLocal_addr(serverAddress); //set the server up as keyserver Vector serverVector = new Vector(); serverVector.add(serverAddress); View tempView = new View(new ViewId(serverAddress,1),serverVector); Event serverEvent = new Event(Event.VIEW_CHANGE,tempView); server.up(serverEvent); // set up peer Address peerAddress =new MockAddress("peer"); peer.setLocal_addr(peerAddress); MockObserver peerObserver = new MockObserver(); peer.setObserver(peerObserver); peer.keyServer = false; MessageDigest digest = MessageDigest.getInstance("MD5"); digest.reset(); digest.update(server.getDesKey().getEncoded()); String symVersion = new String(digest.digest(), "UTF-8"); // encrypt and send an initial message to peer Cipher cipher = server.getSymEncodingCipher(); Message msg = new Message(); msg.setBuffer(cipher.doFinal("hello".getBytes())); msg.putHeader(EncryptHeader.KEY, new EncryptHeader( EncryptHeader.ENCRYPT, symVersion)); Event evt = new Event(Event.MSG,msg); peer.up(evt); //assert that message is queued as we have no key from server assertTrue(peerObserver.getUpMessages().isEmpty()); // send a view change where we are not the controller // send to peer - which should have peer2 as its key server peer.up(serverEvent); // assert that peer\ keyserver address is now set assertTrue(serverAddress == peer.getKeyServerAddr()); // get the resulting message from the peer - should be a key request Event sent = (Event)peerObserver.getDownMessages().get("message0"); assertTrue(((EncryptHeader)((Message)sent.getArg()).getHeader(ENCRYPT.EncryptHeader.KEY)).getType() == ENCRYPT.EncryptHeader.KEY_REQUEST); assertEquals(new String(((Message)sent.getArg()).getBuffer()),new String(peer.getKpair().getPublic().getEncoded())); // send this event to server server.up(sent); Event reply = (Event)serverObserver.getDownMessages().get("message1"); //assert that reply is the session key encrypted with peer's public key assertTrue(((EncryptHeader)((Message)reply.getArg()).getHeader(ENCRYPT.EncryptHeader.KEY)).getType() == ENCRYPT.EncryptHeader.SECRETKEY); assertNotSame(peer.getDesKey(),server.getDesKey()); // now send back to peer peer.up(reply); // assert that both now have same key assertEquals(peer.getDesKey(),server.getDesKey()); // send another encrypted message to peer to test queue Message msg2 = new Message(); msg2.setBuffer(cipher.doFinal("hello2".getBytes())); msg2.putHeader(EncryptHeader.KEY, new EncryptHeader( EncryptHeader.ENCRYPT, symVersion)); Event evt2 = new Event(Event.MSG,msg2); peer.up(evt2); // make sure we have the events now in the up layers assertEquals(3,peerObserver.getUpMessages().size()); Event tempEvt = (Event)peerObserver.getUpMessages().get("message2"); assertEquals(new String(((Message)tempEvt.getArg()).getBuffer()),"hello"); tempEvt = (Event)peerObserver.getUpMessages().get("message3"); assertEquals(new String(((Message)tempEvt.getArg()).getBuffer()),"hello2"); }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/6cf135ab0aec1dba727f94146eb1d03ec797779c/ENCRYPTAsymmetricTest.java/buggy/tests/junit/org/jgroups/protocols/ENCRYPTAsymmetricTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1767, 3043, 1908, 653, 2081, 1435, 1216, 1185, 95, 202, 202, 759, 752, 4261, 471, 1438, 202, 202, 1157, 14306, 4261, 273, 394, 6693, 14306, 5621, 202, 202, 698, 288, 1082, 202, 12210, 18, 2738, 5621, 202, 202, 97, 1044, 261, 503, 425, 15329, 1082, 202, 6870, 12, 73, 18, 24906, 10663, 202, 202, 97, 9506, 202, 1157, 14306, 1438, 273, 394, 6693, 14306, 5621, 202, 202, 698, 288, 1082, 202, 3567, 18, 2738, 5621, 202, 202, 97, 1044, 261, 503, 425, 15329, 1082, 202, 6870, 12, 73, 18, 24906, 10663, 202, 202, 97, 9506, 202, 759, 444, 731, 1438, 3196, 202, 3567, 18, 856, 2081, 273, 638, 31, 202, 202, 9865, 11048, 1438, 11048, 273, 394, 7867, 11048, 5621, 202, 202, 3567, 18, 542, 11048, 12, 3567, 11048, 1769, 202, 202, 1887, 1438, 1887, 273, 2704, 7867, 1887, 2932, 3567, 8863, 9506, 202, 3567, 18, 542, 2042, 67, 4793, 12, 3567, 1887, 1769, 202, 202, 759, 542, 326, 1438, 731, 487, 498, 3567, 202, 202, 5018, 1438, 5018, 273, 394, 5589, 5621, 202, 202, 3567, 5018, 18, 1289, 12, 3567, 1887, 1769, 202, 202, 1767, 1906, 1767, 273, 394, 4441, 12, 2704, 4441, 548, 12, 3567, 1887, 16, 21, 3631, 3567, 5018, 1769, 202, 202, 1133, 1438, 1133, 273, 394, 2587, 12, 1133, 18, 12145, 67, 14473, 16, 5814, 1767, 1769, 202, 202, 3567, 18, 416, 12, 3567, 1133, 1769, 9506, 202, 759, 444, 731, 4261, 202, 202, 1887, 4261, 1887, 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, 1767, 3043, 1908, 653, 2081, 1435, 1216, 1185, 95, 202, 202, 759, 752, 4261, 471, 1438, 202, 202, 1157, 14306, 4261, 273, 394, 6693, 14306, 5621, 202, 202, 698, 288, 1082, 202, 12210, 18, 2738, 5621, 202, 202, 97, 1044, 261, 503, 425, 15329, 1082, 202, 6870, 12, 73, 18, 24906, 10663, 202, 202, 97, 9506, 202, 1157, 14306, 1438, 273, 394, 6693, 14306, 5621, 202, 202, 698, 288, 1082, 202, 3567, 18, 2738, 5621, 202, 202, 97, 1044, 261, 503, 425, 15329, 1082, 202, 6870, 12, 73, 18, 24906, 10663, 202, 202, 97, 9506, 202, 759, 444, 731, 1438, 3196, 202, 3567, 18, 856, 2081, 273, 638, 31, 202, 202, 9865, 11048, 1438, 2 ]
getDataSetTabSet().requestConcatOnlyRelation(ds, relation, ConcatRelationType.TAB); }
getDataSetTabSet().requestMaskColumn(ds, column); }
public void actionPerformed(ActionEvent evt) { getDataSetTabSet().requestConcatOnlyRelation(ds, relation, ConcatRelationType.TAB); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/d62084730dd4815e88fd51af28f27b0ea2a251b0/WindowContext.java/clean/src/java/org/biomart/builder/view/gui/WindowContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 13491, 4303, 694, 5661, 694, 7675, 2293, 15113, 3386, 3963, 12, 2377, 16, 2533, 16, 23873, 3963, 559, 18, 28899, 1769, 10792, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 13491, 4303, 694, 5661, 694, 7675, 2293, 15113, 3386, 3963, 12, 2377, 16, 2533, 16, 23873, 3963, 559, 18, 28899, 1769, 10792, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log.entering(this.getClass().getName(), "findTrustInStore");
if (Configuration.DEBUG) log.entering(this.getClass().getName(), "findTrustInStore");
private PKIXCertPathValidatorResult findTrustInStore(X509CertPath certPath, CertPathValidator validator) { log.entering(this.getClass().getName(), "findTrustInStore"); //$NON-NLS-1$ PKIXCertPathValidatorResult result; try { PKIXParameters params = new PKIXParameters(store); result = (PKIXCertPathValidatorResult) validator.validate(certPath, params); } catch (Exception x) { log.log(Level.FINE, "Exception in findTrustInStore(). Ignore + Return NULL", //$NON-NLS-1$ x); result = null; } log.exiting(this.getClass().getName(), "findTrustInStore", result); //$NON-NLS-1$ return result; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/2fc4e384dcea5a4ff5cefac633fe9a3c8607d6b3/ImportCmd.java/clean/tools/gnu/classpath/tools/keytool/ImportCmd.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 11327, 12507, 5461, 743, 5126, 1253, 1104, 14146, 382, 2257, 12, 60, 5995, 5461, 743, 3320, 743, 16, 4766, 15604, 11921, 743, 5126, 4213, 13, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 4720, 14146, 382, 2257, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 565, 11327, 12507, 5461, 743, 5126, 1253, 563, 31, 565, 775, 1377, 288, 3639, 11327, 12507, 2402, 859, 273, 394, 11327, 12507, 2402, 12, 2233, 1769, 3639, 563, 273, 261, 8784, 12507, 5461, 743, 5126, 1253, 13, 4213, 18, 5662, 12, 7593, 743, 16, 859, 1769, 1377, 289, 565, 1044, 261, 503, 619, 13, 1377, 288, 3639, 613, 18, 1330, 12, 2355, 18, 42, 3740, 16, 7734, 315, 503, 316, 1104, 14146, 382, 2257, 7675, 8049, 397, 2000, 3206, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 619, 1769, 3639, 563, 273, 446, 31, 1377, 289, 565, 613, 18, 8593, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 4720, 14146, 382, 2257, 3113, 563, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 327, 563, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 11327, 12507, 5461, 743, 5126, 1253, 1104, 14146, 382, 2257, 12, 60, 5995, 5461, 743, 3320, 743, 16, 4766, 15604, 11921, 743, 5126, 4213, 13, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 4720, 14146, 382, 2257, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 565, 11327, 12507, 5461, 743, 5126, 1253, 563, 31, 565, 775, 1377, 288, 3639, 11327, 12507, 2402, 859, 273, 394, 11327, 12507, 2402, 12, 2233, 1769, 3639, 563, 273, 261, 8784, 12507, 5461, 743, 5126, 1253, 13, 4213, 18, 5662, 12, 7593, 743, 16, 859, 1769, 1377, 289, 565, 1044, 261, 503, 619, 13, 1377, 288, 3639, 613, 18, 1330, 12, 2355, 18, 42, 2 ]
String[] arg = StringUtils.splitArguments(line);
String[] arg = StringUtil.splitArguments(line);
public static String showGfxLine(String line, GuiBoard guiBoard) { String[] arg = StringUtils.splitArguments(line); if (arg.length == 0) return null; String statusText = null; String cmd = arg[0].toUpperCase(Locale.ENGLISH); if (cmd.equals("BLACK")) showGfxTerritory(arg, GoColor.BLACK, guiBoard); else if (cmd.equals("CIRCLE")) showGfxCircle(arg, guiBoard); else if (cmd.equals("CLEAR")) guiBoard.clearAll(); else if (cmd.equals("COLOR")) showGfxColor(arg, guiBoard); else if (cmd.equals("INFLUENCE")) showGfxInfluence(arg, guiBoard); else if (cmd.equals("LABEL")) showGfxLabel(arg, guiBoard); else if (cmd.equals("MARK")) showGfxMark(arg, guiBoard); else if (cmd.equals("SQUARE")) showGfxSquare(arg, guiBoard); else if (cmd.equals("TEXT")) { line = line.trim(); int pos = line.indexOf(' '); if (pos > 0) statusText = line.substring(pos + 1); } else if (cmd.equals("TRIANGLE")) showGfxTriangle(arg, guiBoard); else if (cmd.equals("VAR")) showGfxVariation(arg, guiBoard); else if (cmd.equals("WHITE")) showGfxTerritory(arg, GoColor.WHITE, guiBoard); return statusText; }
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/1f50ffb219183ddaf94720a4aba453e11f412425/AnalyzeShow.java/clean/src/net/sf/gogui/gui/AnalyzeShow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 2405, 43, 19595, 1670, 12, 780, 980, 16, 611, 4881, 22233, 13238, 22233, 13, 565, 288, 3639, 514, 8526, 1501, 273, 14205, 18, 4939, 4628, 12, 1369, 1769, 3639, 309, 261, 3175, 18, 2469, 422, 374, 13, 5411, 327, 446, 31, 3639, 514, 26206, 273, 446, 31, 3639, 514, 1797, 273, 1501, 63, 20, 8009, 869, 8915, 12, 3916, 18, 16324, 13462, 1769, 3639, 309, 261, 4172, 18, 14963, 2932, 14618, 3649, 6, 3719, 5411, 2405, 43, 19595, 56, 25313, 12, 3175, 16, 4220, 2957, 18, 14618, 3649, 16, 13238, 22233, 1769, 3639, 469, 309, 261, 4172, 18, 14963, 2932, 7266, 11529, 900, 6, 3719, 5411, 2405, 43, 19595, 19490, 12, 3175, 16, 13238, 22233, 1769, 3639, 469, 309, 261, 4172, 18, 14963, 2932, 23181, 985, 6, 3719, 5411, 13238, 22233, 18, 8507, 1595, 5621, 3639, 469, 309, 261, 4172, 18, 14963, 2932, 10989, 6, 3719, 5411, 2405, 43, 19595, 2957, 12, 3175, 16, 13238, 22233, 1769, 3639, 469, 309, 261, 4172, 18, 14963, 2932, 19212, 11778, 7535, 6, 3719, 5411, 2405, 43, 19595, 27040, 23209, 12, 3175, 16, 13238, 22233, 1769, 3639, 469, 309, 261, 4172, 18, 14963, 2932, 13545, 6, 3719, 5411, 2405, 43, 19595, 2224, 12, 3175, 16, 13238, 22233, 1769, 3639, 469, 309, 261, 4172, 18, 14963, 2932, 12693, 6, 3719, 5411, 2405, 43, 19595, 3882, 12, 3175, 16, 13238, 22233, 1769, 3639, 469, 309, 261, 4172, 18, 14963, 2932, 19716, 6, 3719, 5411, 2405, 43, 19595, 22255, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 2405, 43, 19595, 1670, 12, 780, 980, 16, 611, 4881, 22233, 13238, 22233, 13, 565, 288, 3639, 514, 8526, 1501, 273, 14205, 18, 4939, 4628, 12, 1369, 1769, 3639, 309, 261, 3175, 18, 2469, 422, 374, 13, 5411, 327, 446, 31, 3639, 514, 26206, 273, 446, 31, 3639, 514, 1797, 273, 1501, 63, 20, 8009, 869, 8915, 12, 3916, 18, 16324, 13462, 1769, 3639, 309, 261, 4172, 18, 14963, 2932, 14618, 3649, 6, 3719, 5411, 2405, 43, 19595, 56, 25313, 12, 3175, 16, 4220, 2957, 18, 14618, 3649, 16, 13238, 22233, 1769, 3639, 469, 309, 261, 4172, 18, 14963, 2932, 7266, 11529, 900, 6, 3719, 5411, 2405, 43, 19595, 19490, 12, 3175, 16, 13238, 22233, 2 ]
Collection<OnmsLocationMonitor> monitors = new HashSet<OnmsLocationMonitor>();
List<OnmsLocationMonitor> monitors = new ArrayList<OnmsLocationMonitor>();
public void testDetails() { List<OnmsMonitoringLocationDefinition> locationDefinitions = new LinkedList<OnmsMonitoringLocationDefinition>(); locationDefinitions.add(m_locationDefinition1); locationDefinitions.add(m_locationDefinition2); locationDefinitions.add(m_locationDefinition3); expect(m_locationMonitorDao.findAllMonitoringLocationDefinitions()).andReturn(locationDefinitions); Set<OnmsApplication> applications = new HashSet<OnmsApplication>(); applications.add(m_application1); applications.add(m_application2); expect(m_applicationDao.findAll()).andReturn(applications); expect(m_locationMonitorDao.findMonitoringLocationDefinition("Durham")).andReturn(m_locationDefinition2); expect(m_applicationDao.findByName("Application 2")).andReturn(m_application2); Collection<OnmsLocationMonitor> monitors = new HashSet<OnmsLocationMonitor>(); monitors.add(m_locationMonitor2_1); monitors.add(m_locationMonitor2_2); expect(m_locationMonitorDao.findByLocationDefinition(m_locationDefinition2)).andReturn(monitors); for (OnmsMonitoredService service : m_applicationServices2) { m_locationMonitorDao.initialize(service.getIpInterface()); m_locationMonitorDao.initialize(service.getIpInterface().getNode()); } String locationName = m_locationDefinition2.getName(); String applicationName = m_application2.getName(); String monitorId = ""; String timeSpan = "Last Day"; String previousLocation = ""; expect(m_monitoredServiceDao.findByApplication(m_application2)).andReturn(m_applicationServices2).times(2); replayEverything(); DistributedStatusHistoryModel summary = m_service.createHistoryModel(locationName, monitorId, applicationName, timeSpan, previousLocation); verifyEverything(); assertNotNull("summary should not be null", summary); assertNotNull("summary locations list should not be null", summary.getLocations()); assertNotNull("summary applications list should not be null", summary.getApplications()); assertNotNull("summary chosen location should not be null", summary.getChosenLocation()); assertNotNull("summary chosen application should not be null", summary.getChosenApplication()); assertNotNull("summary error list should not be null", summary.getErrors()); assertEquals("summary locations list size", locationDefinitions.size(), summary.getLocations().size()); assertEquals("summary applications list size", applications.size(), summary.getApplications().size()); assertEquals("summary error list size: " + summary.getErrors(), 0, summary.getErrors().size()); // Verify sorting of applications assertEquals("summary applications 1", m_application1, summary.getApplications().get(0)); assertEquals("summary applications 2", m_application2, summary.getApplications().get(1)); // Verify chosen ones assertEquals("summary chosen location", m_locationDefinition2, summary.getChosenLocation()); assertEquals("summary chosen application", m_application2, summary.getChosenApplication()); // And verify that they are in the lists in the right place assertEquals("summary chosen location matches list", summary.getLocations().get(1), summary.getChosenLocation()); assertEquals("summary chosen application matches list", summary.getApplications().get(1), summary.getChosenApplication()); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/642c99fdd091a758405c01493a070e2716943e36/DefaultDistributedStatusServiceTest.java/buggy/opennms-webapp/src/test/java/org/opennms/web/svclayer/support/DefaultDistributedStatusServiceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3790, 1435, 288, 3639, 987, 32, 1398, 959, 18410, 2735, 1852, 34, 2117, 7130, 273, 5411, 394, 10688, 32, 1398, 959, 18410, 2735, 1852, 34, 5621, 3639, 2117, 7130, 18, 1289, 12, 81, 67, 3562, 1852, 21, 1769, 3639, 2117, 7130, 18, 1289, 12, 81, 67, 3562, 1852, 22, 1769, 3639, 2117, 7130, 18, 1289, 12, 81, 67, 3562, 1852, 23, 1769, 3639, 4489, 12, 81, 67, 3562, 7187, 11412, 18, 4720, 1595, 18410, 2735, 7130, 1435, 2934, 464, 990, 12, 3562, 7130, 1769, 7734, 1000, 32, 1398, 959, 3208, 34, 12165, 273, 394, 6847, 32, 1398, 959, 3208, 34, 5621, 3639, 12165, 18, 1289, 12, 81, 67, 3685, 21, 1769, 3639, 12165, 18, 1289, 12, 81, 67, 3685, 22, 1769, 3639, 4489, 12, 81, 67, 3685, 11412, 18, 4720, 1595, 1435, 2934, 464, 990, 12, 3685, 87, 1769, 7734, 4489, 12, 81, 67, 3562, 7187, 11412, 18, 4720, 18410, 2735, 1852, 2932, 40, 295, 31698, 7923, 2934, 464, 990, 12, 81, 67, 3562, 1852, 22, 1769, 3639, 4489, 12, 81, 67, 3685, 11412, 18, 4720, 5911, 2932, 3208, 576, 7923, 2934, 464, 990, 12, 81, 67, 3685, 22, 1769, 7734, 987, 32, 1398, 959, 2735, 7187, 34, 22389, 273, 394, 2407, 32, 1398, 959, 2735, 7187, 34, 5621, 3639, 22389, 18, 1289, 12, 81, 67, 3562, 7187, 22, 67, 21, 1769, 3639, 22389, 18, 1289, 12, 81, 67, 3562, 7187, 22, 67, 22, 1769, 3639, 4489, 12, 81, 67, 3562, 7187, 11412, 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, 3790, 1435, 288, 3639, 987, 32, 1398, 959, 18410, 2735, 1852, 34, 2117, 7130, 273, 5411, 394, 10688, 32, 1398, 959, 18410, 2735, 1852, 34, 5621, 3639, 2117, 7130, 18, 1289, 12, 81, 67, 3562, 1852, 21, 1769, 3639, 2117, 7130, 18, 1289, 12, 81, 67, 3562, 1852, 22, 1769, 3639, 2117, 7130, 18, 1289, 12, 81, 67, 3562, 1852, 23, 1769, 3639, 4489, 12, 81, 67, 3562, 7187, 11412, 18, 4720, 1595, 18410, 2735, 7130, 1435, 2934, 464, 990, 12, 3562, 7130, 1769, 7734, 1000, 32, 1398, 959, 3208, 34, 12165, 273, 394, 6847, 32, 1398, 959, 3208, 34, 5621, 3639, 12165, 18, 1289, 12, 81, 67, 3685, 21, 1769, 3639, 12165, 18, 1289, 2 ]
if (jj_3R_52()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_57()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; }
final private boolean jj_3R_53() { if (jj_scan_token(LOGICAL_OR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_52()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/983675edbbab0e381643fec9c2a3e765c2f88830/Parser.java/buggy/src/java/org/apache/velocity/runtime/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 8643, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 29249, 67, 916, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 9401, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 8643, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 29249, 67, 916, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 9401, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Component r = super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
Component r = super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { Component r = super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus); if (r instanceof JLabel) { JLabel lab = (JLabel) r; if (value instanceof ToDoItem) { ToDoItem item = (ToDoItem) value; if (item.getProgress() == 0) lab.setIcon(_PostIt0); else if (item.getProgress() <= 25) lab.setIcon(_PostIt25); else if (item.getProgress() <= 50) lab.setIcon(_PostIt50); else if (item.getProgress() <= 75) lab.setIcon(_PostIt75); else if (item.getProgress() <= 100) lab.setIcon(_PostIt99); else lab.setIcon(_PostIt100); } else if (value instanceof Decision) { lab.setIcon(MetalIconFactory.getTreeFolderIcon()); } else if (value instanceof Goal) { lab.setIcon(MetalIconFactory.getTreeFolderIcon()); } else if (value instanceof Poster) { lab.setIcon(MetalIconFactory.getTreeFolderIcon()); } else if (value instanceof PriorityNode) { lab.setIcon(MetalIconFactory.getTreeFolderIcon()); } else if (value instanceof KnowledgeTypeNode) { lab.setIcon(MetalIconFactory.getTreeFolderIcon()); } else if (value instanceof MModelElement) { return _navRenderer.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus); } String tip = lab.getText() + " "; lab.setToolTipText(tip); tree.setToolTipText(tip); if (!sel) lab.setBackground(getBackgroundNonSelectionColor()); else { Color high = org.tigris.gef.base.Globals.getPrefs().getHighlightColor(); high = high.brighter().brighter(); lab.setBackground(high); } lab.setOpaque(sel); } return r; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ToDoTreeRenderer.java/buggy/src_new/org/argouml/cognitive/ui/ToDoTreeRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5435, 15867, 4020, 6747, 1841, 12, 46, 2471, 2151, 16, 1033, 460, 16, 25083, 202, 6494, 357, 16, 25083, 202, 6494, 8406, 16, 25083, 202, 6494, 7839, 16, 509, 1027, 16, 25083, 202, 6494, 711, 9233, 13, 288, 565, 5435, 436, 273, 2240, 18, 588, 2471, 4020, 6747, 1841, 12, 3413, 16, 460, 16, 357, 16, 6862, 1082, 377, 8406, 16, 7839, 16, 6862, 1082, 377, 1027, 16, 711, 9233, 1769, 565, 309, 261, 86, 1276, 21403, 13, 288, 1377, 21403, 11814, 273, 261, 46, 2224, 13, 436, 31, 1377, 309, 261, 1132, 1276, 2974, 3244, 1180, 13, 288, 202, 774, 3244, 1180, 761, 273, 261, 774, 3244, 1180, 13, 460, 31, 202, 430, 261, 1726, 18, 588, 5491, 1435, 422, 374, 13, 11814, 18, 542, 5554, 24899, 3349, 7193, 20, 1769, 202, 12107, 309, 261, 1726, 18, 588, 5491, 1435, 1648, 6969, 13, 11814, 18, 542, 5554, 24899, 3349, 7193, 2947, 1769, 202, 12107, 309, 261, 1726, 18, 588, 5491, 1435, 1648, 6437, 13, 11814, 18, 542, 5554, 24899, 3349, 7193, 3361, 1769, 202, 12107, 309, 261, 1726, 18, 588, 5491, 1435, 1648, 18821, 13, 11814, 18, 542, 5554, 24899, 3349, 7193, 5877, 1769, 202, 12107, 309, 261, 1726, 18, 588, 5491, 1435, 1648, 2130, 13, 11814, 18, 542, 5554, 24899, 3349, 7193, 2733, 1769, 202, 12107, 11814, 18, 542, 5554, 24899, 3349, 7193, 6625, 1769, 1377, 289, 1377, 469, 309, 261, 1132, 1276, 23193, 13, 288, 202, 7411, 18, 542, 5554, 12, 26365, 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, 5435, 15867, 4020, 6747, 1841, 12, 46, 2471, 2151, 16, 1033, 460, 16, 25083, 202, 6494, 357, 16, 25083, 202, 6494, 8406, 16, 25083, 202, 6494, 7839, 16, 509, 1027, 16, 25083, 202, 6494, 711, 9233, 13, 288, 565, 5435, 436, 273, 2240, 18, 588, 2471, 4020, 6747, 1841, 12, 3413, 16, 460, 16, 357, 16, 6862, 1082, 377, 8406, 16, 7839, 16, 6862, 1082, 377, 1027, 16, 711, 9233, 1769, 565, 309, 261, 86, 1276, 21403, 13, 288, 1377, 21403, 11814, 273, 261, 46, 2224, 13, 436, 31, 1377, 309, 261, 1132, 1276, 2974, 3244, 1180, 13, 288, 202, 774, 3244, 1180, 761, 273, 261, 774, 3244, 1180, 13, 460, 31, 202, 430, 261, 1726, 18, 2 ]
protected Servlet createServlet() { // get the blackboard service blackboard = (BlackboardService) serviceBroker.getService( this, BlackboardService.class, null); if (blackboard == null) { throw new RuntimeException( "Unable to obtain blackboard service"); } // We could inline "MyServlet" here as an anonymous // inner-class (like HelloBaseServletComponent does). Instead, // we'll move it to a simple inner-class, which will make the // code a little easier to read. return new MyServlet(); }
11320 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11320/2631aa09325d4743e992355e68d50bdeb0c82d21/TakeVacationServlet.java/clean/tutorial/src/org/cougaar/tutorial/exercise11/TakeVacationServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 7971, 752, 4745, 1435, 288, 1377, 368, 336, 326, 7721, 3752, 1156, 1377, 7721, 3752, 273, 261, 13155, 3752, 1179, 13, 1156, 11194, 18, 588, 1179, 12, 5411, 333, 16, 2398, 22467, 3752, 1179, 18, 1106, 16, 5411, 446, 1769, 1377, 309, 261, 11223, 3752, 422, 446, 13, 288, 3639, 604, 394, 3235, 12, 5411, 315, 3370, 358, 7161, 7721, 3752, 1156, 8863, 1377, 289, 565, 368, 1660, 3377, 6370, 315, 12062, 4745, 6, 2674, 487, 392, 13236, 565, 368, 3443, 17, 1106, 261, 5625, 20889, 2171, 4745, 1841, 1552, 2934, 17561, 16, 377, 368, 732, 5614, 3635, 518, 358, 279, 4143, 3443, 17, 1106, 16, 1492, 903, 1221, 326, 377, 368, 981, 279, 12720, 15857, 358, 855, 18, 565, 327, 394, 8005, 4745, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 7971, 752, 4745, 1435, 288, 1377, 368, 336, 326, 7721, 3752, 1156, 1377, 7721, 3752, 273, 261, 13155, 3752, 1179, 13, 1156, 11194, 18, 588, 1179, 12, 5411, 333, 16, 2398, 22467, 3752, 1179, 18, 1106, 16, 5411, 446, 1769, 1377, 309, 261, 11223, 3752, 422, 446, 13, 288, 3639, 604, 394, 3235, 12, 5411, 315, 3370, 358, 7161, 7721, 3752, 1156, 8863, 1377, 289, 565, 368, 1660, 3377, 6370, 315, 12062, 4745, 6, 2674, 487, 392, 13236, 565, 368, 3443, 17, 1106, 261, 5625, 20889, 2171, 4745, 1841, 1552, 2934, 17561, 16, 377, 368, 732, 5614, 3635, 518, 358, 279, 4143, 3443, 17, 1106, 16, 1492, 903, 1221, 326, 377, 368, 981, 279, 12720, 15857, 358, 2 ]
public void testCodeDuplicatesWithOutputValue1() throws Exception { doDuplicatesTest(); }
public void testCodeDuplicatesWithOutputValue1() throws Exception { doDuplicatesTest(); }
public void testCodeDuplicatesWithOutputValue1() throws Exception { doDuplicatesTest(); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/6646dd9633fcb68a3c300eac3681179bd2eb2d9d/ExtractMethodTest.java/clean/refactoring/tests/com/intellij/refactoring/ExtractMethodTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1085, 23897, 1190, 1447, 620, 21, 1435, 1216, 1185, 288, 741, 23897, 4709, 5621, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1085, 23897, 1190, 1447, 620, 21, 1435, 1216, 1185, 288, 741, 23897, 4709, 5621, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Sequence chromosomeSequence = chr.getSequence();
private void writeChromosomeFasta(File destinationDirectory, Chromosome chr) throws IOException, IllegalArgumentException, IllegalSymbolException { FileOutputStream fileStream = new FileOutputStream(chromosomeFastaFile(destinationDirectory, chr)); PrintStream printStream = new PrintStream(fileStream); Sequence chromosomeSequence = chr.getSequence();// Too slow!// FlyMineSequence sequence = FlyMineSequenceFactory.make(chr);// if (sequence != null) {// try {// sequence.getAnnotation().setProperty(FastaFormat.PROPERTY_DESCRIPTIONLINE,// chromosomeFileNamePrefix(chr));// } catch (ChangeVetoException e) {// throw new RuntimeException("failed to set a property", e);// }// SeqIOTools.writeFasta(outputStream, sequence);// } printStream.println(">" + chromosomeFileNamePrefix(chr)); String residues = chromosomeSequence.getResidues(); // code from BioJava's FastaFormat class: int length = residues.length(); for (int pos = 0; pos < length; pos += 60) { int end = Math.min(pos + 60, length); printStream.println(residues.substring(pos, end)); } printStream.close(); fileStream.close(); }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/dac46001fb0558d8df05ed51ebf8388bdb1d99af/WriteGFFTask.java/clean/flymine/model/genomic/src/java/org/flymine/gbrowse/WriteGFFTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 30761, 16958, 12305, 69, 12, 812, 2929, 2853, 16, 1680, 520, 16958, 4513, 13, 3639, 1216, 1860, 16, 2754, 16, 2141, 5335, 503, 288, 3639, 12942, 585, 1228, 273, 5411, 394, 12942, 12, 16298, 16958, 12305, 69, 812, 12, 10590, 2853, 16, 4513, 10019, 3639, 21677, 1172, 1228, 273, 394, 21677, 12, 768, 1228, 1769, 3639, 8370, 22674, 4021, 273, 4513, 18, 588, 4021, 5621, 759, 15869, 11816, 5, 759, 540, 478, 715, 49, 558, 4021, 3102, 273, 478, 715, 49, 558, 4021, 1733, 18, 6540, 12, 15182, 1769, 759, 540, 309, 261, 6178, 480, 446, 13, 288, 759, 2398, 775, 288, 759, 1171, 3102, 18, 588, 3257, 7675, 542, 1396, 12, 12305, 69, 1630, 18, 9900, 67, 15911, 5997, 16, 759, 4766, 8227, 22674, 4771, 2244, 12, 15182, 10019, 759, 2398, 289, 1044, 261, 3043, 58, 11453, 503, 425, 13, 288, 759, 1171, 604, 394, 3235, 2932, 7307, 358, 444, 279, 1272, 3113, 425, 1769, 759, 2398, 289, 759, 5411, 14367, 4294, 10348, 18, 2626, 12305, 69, 12, 2844, 1228, 16, 3102, 1769, 759, 540, 289, 3639, 1172, 1228, 18, 8222, 2932, 2984, 397, 22674, 4771, 2244, 12, 15182, 10019, 3639, 514, 25435, 273, 22674, 4021, 18, 588, 607, 350, 3610, 5621, 3639, 368, 981, 628, 21209, 5852, 1807, 9545, 69, 1630, 667, 30, 3639, 509, 769, 273, 25435, 18, 2469, 5621, 3639, 364, 261, 474, 949, 273, 374, 31, 949, 411, 769, 31, 949, 1011, 4752, 13, 288, 5411, 509, 679, 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, 30761, 16958, 12305, 69, 12, 812, 2929, 2853, 16, 1680, 520, 16958, 4513, 13, 3639, 1216, 1860, 16, 2754, 16, 2141, 5335, 503, 288, 3639, 12942, 585, 1228, 273, 5411, 394, 12942, 12, 16298, 16958, 12305, 69, 812, 12, 10590, 2853, 16, 4513, 10019, 3639, 21677, 1172, 1228, 273, 394, 21677, 12, 768, 1228, 1769, 3639, 8370, 22674, 4021, 273, 4513, 18, 588, 4021, 5621, 759, 15869, 11816, 5, 759, 540, 478, 715, 49, 558, 4021, 3102, 273, 478, 715, 49, 558, 4021, 1733, 18, 6540, 12, 15182, 1769, 759, 540, 309, 261, 6178, 480, 446, 13, 288, 759, 2398, 775, 288, 759, 1171, 3102, 18, 588, 3257, 7675, 542, 1396, 12, 12305, 69, 1630, 2 ]
JDBC2Tests.dropTable(con, "poolingtest"); JDBC2Tests.createTable(con, "poolingtest", "id int4 not null primary key, name varchar(50)");
TestUtil.createTable(con, "poolingtest", "id int4 not null primary key, name varchar(50)");
public void testDdlOverConnection() { try { con = getDataSourceConnection(); JDBC2Tests.dropTable(con, "poolingtest"); JDBC2Tests.createTable(con, "poolingtest", "id int4 not null primary key, name varchar(50)"); con.close(); } catch (SQLException e) { fail(e.getMessage()); } }
47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/d634a5903f615a45cb463155c04d3df904e1b91a/BaseDataSourceTest.java/buggy/src/interfaces/jdbc/org/postgresql/test/jdbc2/optional/BaseDataSourceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 40, 5761, 4851, 1952, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 591, 273, 29130, 1952, 5621, 1082, 202, 30499, 22, 14650, 18, 7285, 1388, 12, 591, 16, 315, 6011, 310, 3813, 8863, 1082, 202, 30499, 22, 14650, 18, 2640, 1388, 12, 591, 16, 315, 6011, 310, 3813, 3113, 315, 350, 509, 24, 486, 446, 3354, 498, 16, 508, 30871, 12, 3361, 2225, 1769, 1082, 202, 591, 18, 4412, 5621, 202, 202, 97, 202, 202, 14683, 261, 23116, 425, 13, 202, 202, 95, 1082, 202, 6870, 12, 73, 18, 24906, 10663, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 40, 5761, 4851, 1952, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 591, 273, 29130, 1952, 5621, 1082, 202, 30499, 22, 14650, 18, 7285, 1388, 12, 591, 16, 315, 6011, 310, 3813, 8863, 1082, 202, 30499, 22, 14650, 18, 2640, 1388, 12, 591, 16, 315, 6011, 310, 3813, 3113, 315, 350, 509, 24, 486, 446, 3354, 498, 16, 508, 30871, 12, 3361, 2225, 1769, 1082, 202, 591, 18, 4412, 5621, 202, 202, 97, 202, 202, 14683, 261, 23116, 425, 13, 202, 202, 95, 1082, 202, 6870, 12, 73, 18, 24906, 10663, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
recorder = new InvokedRecorder(); }
recorder = new InvokedRecorder(); }
public void setUp() { MethodFactory methodFactory = new MethodFactory(); emptyInvocation = new Invocation("INVOKED-OBJECT", methodFactory.newMethod("example", MethodFactory.NO_ARGUMENTS, Void.class, MethodFactory.NO_EXCEPTIONS), new Object[0]); recorder = new InvokedRecorder(); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/InvokedRecorderTest.java/clean/jmock/core/src/test/jmock/core/matcher/InvokedRecorderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 24292, 1435, 288, 202, 202, 1305, 1733, 707, 1733, 273, 394, 2985, 1733, 5621, 202, 202, 5531, 9267, 273, 394, 11298, 2932, 706, 17691, 2056, 17, 9422, 3113, 1082, 4766, 707, 1733, 18, 2704, 1305, 2932, 8236, 3113, 2985, 1733, 18, 3417, 67, 18311, 55, 16, 6988, 18, 1106, 16, 2985, 1733, 18, 3417, 67, 12658, 55, 3631, 1082, 4766, 394, 1033, 63, 20, 19226, 202, 202, 3366, 264, 273, 394, 5454, 14276, 10777, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 24292, 1435, 288, 202, 202, 1305, 1733, 707, 1733, 273, 394, 2985, 1733, 5621, 202, 202, 5531, 9267, 273, 394, 11298, 2932, 706, 17691, 2056, 17, 9422, 3113, 1082, 4766, 707, 1733, 18, 2704, 1305, 2932, 8236, 3113, 2985, 1733, 18, 3417, 67, 18311, 55, 16, 6988, 18, 1106, 16, 2985, 1733, 18, 3417, 67, 12658, 55, 3631, 1082, 4766, 394, 1033, 63, 20, 19226, 202, 202, 3366, 264, 273, 394, 5454, 14276, 10777, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static Image getImage(String sPluginRelativePath) { org.eclipse.swt.graphics.Image img = null; try { try { img = new org.eclipse.swt.graphics.Image(Display.getCurrent(), getURL(sPluginRelativePath).openStream()); } catch (MalformedURLException e1 ) { img = new org.eclipse.swt.graphics.Image(Display.getCurrent(), new FileInputStream(getURL( sPluginRelativePath).toString())); } } catch (FileNotFoundException e ) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e ) { // TODO Auto-generated catch block e.printStackTrace(); } return img; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/eded0530f44b5c47d2b6167047dc4a84ec528d91/UIHelper.java/clean/chart/org.eclipse.birt.chart.ui/src/org/eclipse/birt/chart/ui/util/UIHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 2040, 588, 2040, 12, 7957, 3773, 16519, 15329, 3341, 18, 20416, 18, 5328, 88, 18, 31586, 18, 2040, 6081, 33, 2011, 31, 698, 95, 698, 95, 6081, 33, 2704, 3341, 18, 20416, 18, 5328, 88, 18, 31586, 18, 2040, 12, 4236, 18, 588, 3935, 9334, 588, 1785, 12, 87, 3773, 16519, 2934, 3190, 1228, 10663, 97, 14683, 12, 18695, 20160, 73, 21, 15329, 6081, 33, 2704, 3341, 18, 20416, 18, 5328, 88, 18, 31586, 18, 2040, 12, 4236, 18, 588, 3935, 9334, 2704, 812, 4348, 12, 588, 1785, 12, 87, 3773, 16519, 2934, 10492, 1435, 10019, 9090, 14683, 12, 812, 3990, 73, 15329, 759, 6241, 4965, 17, 11168, 14683, 2629, 73, 18, 1188, 6332, 5621, 97, 14683, 12, 14106, 73, 15329, 759, 6241, 4965, 17, 11168, 14683, 2629, 73, 18, 1188, 6332, 5621, 97, 2463, 6081, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3845, 2040, 588, 2040, 12, 7957, 3773, 16519, 15329, 3341, 18, 20416, 18, 5328, 88, 18, 31586, 18, 2040, 6081, 33, 2011, 31, 698, 95, 698, 95, 6081, 33, 2704, 3341, 18, 20416, 18, 5328, 88, 18, 31586, 18, 2040, 12, 4236, 18, 588, 3935, 9334, 588, 1785, 12, 87, 3773, 16519, 2934, 3190, 1228, 10663, 97, 14683, 12, 18695, 20160, 73, 21, 15329, 6081, 33, 2704, 3341, 18, 20416, 18, 5328, 88, 18, 31586, 18, 2040, 12, 4236, 18, 588, 3935, 9334, 2704, 812, 4348, 12, 588, 1785, 12, 87, 3773, 16519, 2934, 10492, 1435, 10019, 9090, 14683, 12, 812, 3990, 73, 15329, 759, 6241, 4965, 17, 11168, 14683, 2629, 73, 18, 1188, 6332, 5621, 97, 14683, 2 ]
super( value, name );
super( value, name, literal );
private DateFormatType( int value, String name ) { super( value, name ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/DateFormatType.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/DateFormatType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 18371, 559, 12, 509, 460, 16, 514, 508, 262, 202, 95, 202, 202, 9565, 12, 460, 16, 508, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 18371, 559, 12, 509, 460, 16, 514, 508, 262, 202, 95, 202, 202, 9565, 12, 460, 16, 508, 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, -100, -100, -100, -100 ]
editNode = _visitCount % 4 == 0 ;
editNode = rnd.nextDouble() > 0.91;
public void transform( MarkableBaseNode base, BranchNode variant, BranchNode total, MarkableBaseNode baseRoot ) { boolean editNode = false; // Decide if node should be edited if( ! base.isMarked() ) { _visitCount++; editNode = _visitCount % 4 == 0 ; } BranchNode n = null; // used by edit ops boolean after = false; MarkableBaseNode dest = null; if( editNode ) { int op = 1;// (int) (rnd.nextDouble() *5.0); switch(op) { case 0: // Delete node System.err.println("DEL"); base = getLargestDelTree(base); _checkNotMarked(base); base.lock(); base.lockSubtree(); n = base.getLeft().getFullMatch(); n.getParent().removeChild(n.getChildPos()); n = base.getRight().getFullMatch(); n.getParent().removeChild(n.getChildPos()); break; case 1: // Insert node System.err.println("INS"); XMLTextNode content = new XMLTextNode("!INSERT!"+System.currentTimeMillis()); after = rnd.nextDouble() > 0.5; base.lock(!after,after); base = after ? base : (base.hasLeftSibling() ? (MarkableBaseNode) base.getLeftSibling() : base); n = base.getLeft().getFullMatch(); n.getParent().addChild(n.getChildPos()+1,new BranchNode( content)); n = base.getRight().getFullMatch(); n.getParent().addChild(n.getChildPos()+1,new BranchNode( content)); break; case 2: // Update node System.err.println("UPD"); break; // N/A for now... case 3: // Move subtree System.err.println("MOV"); // Delete from base (src of move) (=delete code block) base.lock(); BranchNode l = base.getLeft().getFullMatch(); l.getParent().removeChild(l.getChildPos()); BranchNode r = base.getRight().getFullMatch(); r.getParent().removeChild(r.getChildPos()); // Insert at dest (=insert code block) dest = getRandomNode( baseRoot, true ); // NOTE! Dest must be fetched AFTER src is locked! after = rnd.nextDouble() > 0.5; dest.lock(!after,after); dest = after ? dest : (dest.hasLeftSibling() ? (MarkableBaseNode) dest.getLeftSibling() : dest); n = dest.getLeft().getFullMatch(); n.getParent().addChild(n.getChildPos()+1,l); n = dest.getRight().getFullMatch(); n.getParent().addChild(n.getChildPos()+1,r); break; case 4: // Copy subtree System.err.println("CPY"); // Lock src of copy base.lock(); // Insert at dest (=insert code block) dest = getRandomNode( baseRoot, true ); // NOTE! Dest must be fetched AFTER src is locked! after = rnd.nextDouble() > 0.5; dest.lock(!after,after); dest = after ? dest : (dest.hasLeftSibling() ? (MarkableBaseNode) dest.getLeftSibling() : dest); n = dest.getLeft().getFullMatch(); n.getParent().addChild(n.getChildPos()+1, clonedAndMatchedTree(base,true,false)); n = dest.getRight().getFullMatch(); n.getParent().addChild(n.getChildPos()+1, clonedAndMatchedTree(base,false,false)); break; } } // if edit node // recurse for( int i=0;i<base.getChildCount();i++) transform((MarkableBaseNode) base.getChild(i),variant,total,baseRoot); }
7752 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7752/c0b20ea26fe6217b8c339d5f07908d5991d3294e/Editgen.java/clean/3dm/src/tdm/editgen/Editgen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2510, 12, 6622, 429, 2171, 907, 1026, 16, 15449, 907, 5437, 16, 15449, 907, 2078, 16, 13491, 6622, 429, 2171, 907, 1026, 2375, 262, 288, 565, 1250, 3874, 907, 273, 629, 31, 565, 368, 3416, 831, 309, 756, 1410, 506, 18532, 565, 309, 12, 401, 1026, 18, 291, 21486, 1435, 262, 288, 1377, 389, 11658, 1380, 9904, 31, 1377, 3874, 907, 273, 20391, 18, 4285, 5265, 1435, 405, 374, 18, 12416, 31, 565, 289, 565, 15449, 907, 290, 273, 446, 31, 368, 1399, 635, 3874, 6727, 565, 1250, 1839, 273, 629, 31, 565, 6622, 429, 2171, 907, 1570, 273, 446, 31, 565, 309, 12, 3874, 907, 262, 288, 1377, 509, 1061, 273, 404, 31, 759, 261, 474, 13, 261, 86, 4880, 18, 4285, 5265, 1435, 380, 25, 18, 20, 1769, 1377, 1620, 12, 556, 13, 288, 3639, 648, 374, 30, 368, 2504, 756, 1850, 2332, 18, 370, 18, 8222, 2932, 24733, 8863, 1850, 1026, 273, 9014, 11475, 2837, 2471, 12, 1969, 1769, 1850, 389, 1893, 1248, 21486, 12, 1969, 1769, 1850, 1026, 18, 739, 5621, 1850, 1026, 18, 739, 18615, 5621, 1850, 290, 273, 1026, 18, 588, 3910, 7675, 588, 5080, 2060, 5621, 1850, 290, 18, 588, 3054, 7675, 4479, 1763, 12, 82, 18, 588, 1763, 1616, 10663, 1850, 290, 273, 1026, 18, 588, 4726, 7675, 588, 5080, 2060, 5621, 1850, 290, 18, 588, 3054, 7675, 4479, 1763, 12, 82, 18, 588, 1763, 1616, 10663, 1850, 898, 31, 3639, 648, 404, 30, 368, 8040, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2510, 12, 6622, 429, 2171, 907, 1026, 16, 15449, 907, 5437, 16, 15449, 907, 2078, 16, 13491, 6622, 429, 2171, 907, 1026, 2375, 262, 288, 565, 1250, 3874, 907, 273, 629, 31, 565, 368, 3416, 831, 309, 756, 1410, 506, 18532, 565, 309, 12, 401, 1026, 18, 291, 21486, 1435, 262, 288, 1377, 389, 11658, 1380, 9904, 31, 1377, 3874, 907, 273, 20391, 18, 4285, 5265, 1435, 405, 374, 18, 12416, 31, 565, 289, 565, 15449, 907, 290, 273, 446, 31, 368, 1399, 635, 3874, 6727, 565, 1250, 1839, 273, 629, 31, 565, 6622, 429, 2171, 907, 1570, 273, 446, 31, 565, 309, 12, 3874, 907, 262, 288, 1377, 509, 1061, 273, 404, 31, 759, 261, 2 ]
if (!m_cacheState.validate(directory, distributionFileFilterPattern, connectedAgents)) {
m_cacheState.setOutOfDate(); m_lastDirectory = directory; m_lastFileFilterPattern = distributionFileFilterPattern; } final long earliestFileTime = m_cacheState.getEarliestFileTime(); if (earliestFileTime < 0) {
public FileDistributionHandler getHandler( Directory directory, Pattern distributionFileFilterPattern) { final Set connectedAgents = m_distributionControl.getConnectedAgents(); if (!m_cacheState.validate(directory, distributionFileFilterPattern, connectedAgents)) { m_distributionControl.clearFileCaches(); } return new FileDistributionHandlerImplementation( directory.getAsFile(), directory.listContents( new FileDistributionFilter(distributionFileFilterPattern, m_cacheState.getEarliestFileTime())), m_distributionControl, m_cacheState); }
7770 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7770/8d4607b2e3cd6aaffca9cbc89dbfcd2ec0d71229/FileDistribution.java/buggy/src/net/grinder/console/distribution/FileDistribution.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1387, 9003, 1503, 18945, 12, 565, 8930, 1867, 16, 565, 6830, 7006, 29837, 3234, 13, 288, 565, 727, 1000, 5840, 23400, 273, 312, 67, 16279, 3367, 18, 588, 8932, 23400, 5621, 565, 309, 16051, 81, 67, 2493, 1119, 18, 5662, 12, 5149, 16, 1171, 9079, 7006, 29837, 3234, 16, 1171, 9079, 5840, 23400, 3719, 288, 1377, 312, 67, 16279, 3367, 18, 8507, 812, 18755, 5621, 565, 289, 565, 327, 394, 1387, 9003, 1503, 13621, 12, 1377, 1867, 18, 588, 1463, 812, 9334, 1377, 1867, 18, 1098, 6323, 12, 3639, 394, 1387, 9003, 1586, 12, 16279, 29837, 3234, 16, 4766, 282, 312, 67, 2493, 1119, 18, 588, 41, 297, 17452, 812, 950, 10756, 3631, 1377, 312, 67, 16279, 3367, 16, 1377, 312, 67, 2493, 1119, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1387, 9003, 1503, 18945, 12, 565, 8930, 1867, 16, 565, 6830, 7006, 29837, 3234, 13, 288, 565, 727, 1000, 5840, 23400, 273, 312, 67, 16279, 3367, 18, 588, 8932, 23400, 5621, 565, 309, 16051, 81, 67, 2493, 1119, 18, 5662, 12, 5149, 16, 1171, 9079, 7006, 29837, 3234, 16, 1171, 9079, 5840, 23400, 3719, 288, 1377, 312, 67, 16279, 3367, 18, 8507, 812, 18755, 5621, 565, 289, 565, 327, 394, 1387, 9003, 1503, 13621, 12, 1377, 1867, 18, 588, 1463, 812, 9334, 1377, 1867, 18, 1098, 6323, 12, 3639, 394, 1387, 9003, 1586, 12, 16279, 29837, 3234, 16, 4766, 282, 312, 67, 2493, 1119, 18, 588, 41, 297, 17452, 812, 950, 10756, 3631, 1377, 312, 67, 16279, 2 ]
s.ConnectGraph ();
s.SetupOperator ();
public void ConnectGraph () { // do I even have anything to do? if (dest.isEmpty ()) return; // yep, create an output array of appropriate size output = new Channel [dest.size ()]; // go through my members and connect them all with // ChannelConnectFilter int outputIndx = 0; ListIterator iter = dest.listIterator (); while (iter.hasNext ()) { // get the stream Stream s = (Stream) iter.next (); ASSERT (s != null); // connect it and retrieve its input and copy it into // the output array for this splitter s.ConnectGraph (); Channel channel = s.GetIOField ("input"); output [outputIndx] = channel; // if it is not a source, make sure that it consumes data // of the same kind as everything else in this Splitter if (channel != null) { // handle input channel if (input == null) { input = new Channel (channel); input.SetSink (this); } else { // check that the input types agree ASSERT (channel.GetType ().getName ().equals (input.GetType ().getName ())); } // now connect the channel to the Splitter channel.SetSource (this); } outputIndx ++; } }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/924ce63d752d04cfc418d7add5f04a16d1e8dcdf/Splitter.java/clean/streams/src/streamit/library/Splitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8289, 4137, 1832, 565, 288, 3639, 368, 741, 467, 5456, 1240, 6967, 358, 741, 35, 3639, 309, 261, 10488, 18, 291, 1921, 1832, 13, 327, 31, 7734, 368, 677, 881, 16, 752, 392, 876, 526, 434, 5505, 963, 3639, 876, 273, 394, 5307, 306, 10488, 18, 1467, 1832, 15533, 7734, 368, 1960, 3059, 3399, 4833, 471, 3077, 2182, 777, 598, 3639, 368, 5307, 5215, 1586, 3639, 509, 876, 3866, 92, 273, 374, 31, 3639, 987, 3198, 1400, 273, 1570, 18, 1098, 3198, 261, 1769, 3639, 1323, 261, 2165, 18, 5332, 2134, 1832, 13, 3639, 288, 5411, 368, 336, 326, 1407, 5411, 3961, 272, 273, 261, 1228, 13, 1400, 18, 4285, 261, 1769, 5411, 17289, 11539, 261, 87, 480, 446, 1769, 13491, 368, 3077, 518, 471, 4614, 2097, 810, 471, 1610, 518, 1368, 5411, 368, 326, 876, 526, 364, 333, 21553, 5411, 272, 18, 7365, 5592, 261, 1769, 5411, 5307, 1904, 273, 272, 18, 967, 4294, 974, 7566, 2630, 8863, 5411, 876, 306, 2844, 3866, 92, 65, 273, 1904, 31, 5411, 368, 309, 518, 353, 486, 279, 1084, 16, 1221, 3071, 716, 518, 25479, 501, 5411, 368, 434, 326, 1967, 3846, 487, 7756, 469, 316, 333, 5385, 387, 5411, 309, 261, 4327, 480, 446, 13, 5411, 288, 7734, 368, 1640, 810, 1904, 7734, 309, 261, 2630, 422, 446, 13, 7734, 288, 10792, 810, 273, 394, 5307, 261, 4327, 1769, 10792, 810, 18, 694, 11326, 261, 2211, 1769, 7734, 289, 469, 288, 10792, 368, 866, 716, 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, 8289, 4137, 1832, 565, 288, 3639, 368, 741, 467, 5456, 1240, 6967, 358, 741, 35, 3639, 309, 261, 10488, 18, 291, 1921, 1832, 13, 327, 31, 7734, 368, 677, 881, 16, 752, 392, 876, 526, 434, 5505, 963, 3639, 876, 273, 394, 5307, 306, 10488, 18, 1467, 1832, 15533, 7734, 368, 1960, 3059, 3399, 4833, 471, 3077, 2182, 777, 598, 3639, 368, 5307, 5215, 1586, 3639, 509, 876, 3866, 92, 273, 374, 31, 3639, 987, 3198, 1400, 273, 1570, 18, 1098, 3198, 261, 1769, 3639, 1323, 261, 2165, 18, 5332, 2134, 1832, 13, 3639, 288, 5411, 368, 336, 326, 1407, 5411, 3961, 272, 273, 261, 1228, 13, 1400, 18, 4285, 261, 1769, 5411, 17289, 11539, 261, 2 ]
} catch (MetadataParseException e) { throw new FetchException(e); } catch (ArchiveFailureException e) { if(e.getMessage().equals(ArchiveFailureException.TOO_MANY_LEVELS)) throw new FetchException(FetchException.TOO_DEEP_ARCHIVE_RECURSION); throw new FetchException(e);
public FetchResult run() throws FetchException { for(int i=0;i<ctx.maxArchiveRestarts;i++) { try { ClientMetadata dm = new ClientMetadata(); ClientKey key; try { key = ClientKey.getBaseKey(origURI); } catch (MalformedURLException e2) { throw new FetchException(FetchException.INVALID_URI, "Invalid URI: "+origURI); } LinkedList metaStrings = origURI.listMetaStrings(); FetchResult fr = realRun(dm, 0, key, metaStrings, ctx.dontEnterImplicitArchives, ctx.localRequestOnly); if(metaStrings.isEmpty()) return fr; // Still got some meta-strings throw new FetchException(FetchException.HAS_MORE_METASTRINGS); } catch (ArchiveRestartException e) { archiveContext = new ArchiveContext(); continue; } catch (MetadataParseException e) { throw new FetchException(e); } catch (ArchiveFailureException e) { if(e.getMessage().equals(ArchiveFailureException.TOO_MANY_LEVELS)) throw new FetchException(FetchException.TOO_DEEP_ARCHIVE_RECURSION); throw new FetchException(e); } } throw new FetchException(FetchException.TOO_MANY_ARCHIVE_RESTARTS); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/87760d0ac57e5e39f75661e91adeb3a9ffcc5dfb/Fetcher.java/clean/src/freenet/client/Fetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8065, 1253, 1086, 1435, 1216, 8065, 503, 288, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 5900, 18, 1896, 7465, 15057, 87, 31, 77, 27245, 288, 1082, 202, 698, 288, 9506, 202, 1227, 2277, 9113, 273, 394, 2445, 2277, 5621, 9506, 202, 1227, 653, 498, 31, 9506, 202, 698, 288, 6862, 202, 856, 273, 2445, 653, 18, 588, 2171, 653, 12, 4949, 3098, 1769, 9506, 202, 97, 1044, 261, 18695, 20160, 425, 22, 13, 288, 6862, 202, 12849, 394, 8065, 503, 12, 5005, 503, 18, 9347, 67, 3098, 16, 315, 1941, 3699, 30, 13773, 4949, 3098, 1769, 9506, 202, 97, 9506, 202, 13174, 682, 2191, 7957, 273, 1647, 3098, 18, 1098, 2781, 7957, 5621, 6862, 9506, 202, 5005, 1253, 3812, 273, 2863, 1997, 12, 10956, 16, 374, 16, 498, 16, 2191, 7957, 16, 1103, 18, 72, 1580, 10237, 15787, 12269, 3606, 16, 1103, 18, 3729, 691, 3386, 1769, 6862, 9506, 202, 430, 12, 3901, 7957, 18, 291, 1921, 10756, 327, 3812, 31, 9506, 202, 759, 934, 737, 2363, 2690, 2191, 17, 10219, 9506, 202, 12849, 394, 8065, 503, 12, 5005, 503, 18, 27765, 67, 31078, 67, 19294, 5804, 55, 1769, 6862, 1082, 202, 97, 1044, 261, 7465, 15057, 503, 425, 13, 288, 9506, 202, 10686, 1042, 273, 394, 13124, 1042, 5621, 9506, 202, 17143, 31, 1082, 202, 97, 1044, 261, 2277, 13047, 425, 13, 288, 9506, 202, 12849, 394, 8065, 503, 12, 73, 1769, 1082, 202, 97, 1044, 261, 7465, 14389, 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, 8065, 1253, 1086, 1435, 1216, 8065, 503, 288, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 5900, 18, 1896, 7465, 15057, 87, 31, 77, 27245, 288, 1082, 202, 698, 288, 9506, 202, 1227, 2277, 9113, 273, 394, 2445, 2277, 5621, 9506, 202, 1227, 653, 498, 31, 9506, 202, 698, 288, 6862, 202, 856, 273, 2445, 653, 18, 588, 2171, 653, 12, 4949, 3098, 1769, 9506, 202, 97, 1044, 261, 18695, 20160, 425, 22, 13, 288, 6862, 202, 12849, 394, 8065, 503, 12, 5005, 503, 18, 9347, 67, 3098, 16, 315, 1941, 3699, 30, 13773, 4949, 3098, 1769, 9506, 202, 97, 9506, 202, 13174, 682, 2191, 7957, 273, 1647, 3098, 18, 1098, 2781, 7957, 2 ]
extractAddressingInformation(header, msgContext, addressingHeaders, addressingNamespace);
extractAddressingInformation(header, msgContext, addressingHeaders, addressingNamespace);
public void invoke(MessageContext msgContext) throws AxisFault { SOAPHeader header = msgContext.getEnvelope().getHeader(); // if there are no headers or addressing version is already determined, pass through if (header == null || msgContext.getProperty(WS_ADDRESSING_VERSION) != null) { return; } logger.debug("Starting " + addressingVersion + " IN handler ..."); ArrayList addressingHeaders; addressingHeaders = header.getHeaderBlocksWithNSURI(addressingNamespace); if (addressingHeaders != null && addressingHeaders.size() > 0) { msgContext.setProperty(WS_ADDRESSING_VERSION, addressingNamespace); addressingNSObject = ((OMElement) addressingHeaders.get(0)).findNamespace(addressingNamespace, ""); logger.debug(addressingVersion + " Headers present in the SOAP message. Starting to process ..."); extractAddressingInformation(header, msgContext, addressingHeaders, addressingNamespace); } else { logger.debug("No Headers present corresponding to " + addressingVersion); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/260097d28ac2b3f82c9c2a07bde3f2663fdbb73f/AddressingInHandler.java/clean/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4356, 12, 1079, 1042, 1234, 1042, 13, 1216, 15509, 7083, 288, 3639, 16434, 1864, 1446, 273, 1234, 1042, 18, 588, 10862, 7675, 588, 1864, 5621, 3639, 368, 309, 1915, 854, 1158, 1607, 578, 1758, 310, 1177, 353, 1818, 11383, 16, 1342, 3059, 3639, 309, 261, 3374, 422, 446, 747, 1234, 1042, 18, 588, 1396, 12, 2651, 67, 15140, 1360, 67, 5757, 13, 480, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1194, 18, 4148, 2932, 11715, 315, 397, 1758, 310, 1444, 397, 315, 2120, 1838, 1372, 8863, 3639, 2407, 1758, 310, 3121, 31, 3639, 1758, 310, 3121, 273, 1446, 18, 588, 1864, 6450, 1190, 3156, 3098, 12, 2867, 310, 3402, 1769, 3639, 309, 261, 2867, 310, 3121, 480, 446, 597, 1758, 310, 3121, 18, 1467, 1435, 405, 374, 13, 288, 5411, 1234, 1042, 18, 542, 1396, 12, 2651, 67, 15140, 1360, 67, 5757, 16, 1758, 310, 3402, 1769, 5411, 1758, 310, 3156, 921, 273, 14015, 51, 12310, 13, 1758, 310, 3121, 18, 588, 12, 20, 13, 2934, 4720, 3402, 12, 2867, 310, 3402, 16, 1408, 1769, 5411, 1194, 18, 4148, 12, 2867, 310, 1444, 397, 315, 12158, 3430, 316, 326, 16434, 883, 18, 24591, 358, 1207, 1372, 8863, 5411, 2608, 1887, 310, 5369, 12, 3374, 16, 1234, 1042, 16, 10792, 1758, 310, 3121, 16, 1758, 310, 3402, 1769, 3639, 289, 469, 288, 5411, 1194, 18, 4148, 2932, 2279, 12158, 3430, 4656, 358, 315, 397, 1758, 310, 1444, 1769, 3639, 289, 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, 918, 4356, 12, 1079, 1042, 1234, 1042, 13, 1216, 15509, 7083, 288, 3639, 16434, 1864, 1446, 273, 1234, 1042, 18, 588, 10862, 7675, 588, 1864, 5621, 3639, 368, 309, 1915, 854, 1158, 1607, 578, 1758, 310, 1177, 353, 1818, 11383, 16, 1342, 3059, 3639, 309, 261, 3374, 422, 446, 747, 1234, 1042, 18, 588, 1396, 12, 2651, 67, 15140, 1360, 67, 5757, 13, 480, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1194, 18, 4148, 2932, 11715, 315, 397, 1758, 310, 1444, 397, 315, 2120, 1838, 1372, 8863, 3639, 2407, 1758, 310, 3121, 31, 3639, 1758, 310, 3121, 273, 1446, 18, 588, 1864, 6450, 1190, 3156, 3098, 12, 2867, 310, 3402, 1769, 3639, 309, 261, 2867, 2 ]
node.ps.queueTimedJob(new Runnable() { public void run() { node.config.store(); } }, 0);
synchronized (writeSync) { if(isWritingConfig) return; isWritingConfig = true; node.ps.queueTimedJob(new Runnable() { public void run() { try{ while(!node.isHasStarted()) Thread.sleep(1000); }catch (InterruptedException e) {} node.config.store(); synchronized (writeSync) { isWritingConfig = false; } } }, 0); }
public void storeConfig() { Logger.normal(this, "Writing config", new Exception("debug")); node.ps.queueTimedJob(new Runnable() { public void run() { node.config.store(); } }, 0); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/cc33677feac3f31dbdc409462de91ffe52bdd8ef/NodeClientCore.java/buggy/src/freenet/node/NodeClientCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1707, 809, 1435, 288, 202, 202, 3328, 18, 6130, 12, 2211, 16, 315, 18835, 642, 3113, 394, 1185, 2932, 4148, 7923, 1769, 202, 202, 2159, 18, 1121, 18, 4000, 19336, 2278, 12, 2704, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 2159, 18, 1425, 18, 2233, 5621, 1082, 202, 97, 202, 202, 5779, 374, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1707, 809, 1435, 288, 202, 202, 3328, 18, 6130, 12, 2211, 16, 315, 18835, 642, 3113, 394, 1185, 2932, 4148, 7923, 1769, 202, 202, 2159, 18, 1121, 18, 4000, 19336, 2278, 12, 2704, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 2159, 18, 1425, 18, 2233, 5621, 1082, 202, 97, 202, 202, 5779, 374, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void writeCodePoint4Bytes (int codePoint, int value) { ensureLength (4); bytes[offset] = (byte) ((codePoint >>> 8) & 0xff); bytes[offset + 1] = (byte) (codePoint & 0xff); bytes[offset + 2] = (byte) ((value >>> 8) & 0xff); bytes[offset + 3] = (byte) (value & 0xff); offset += 4; }
void writeCodePoint4Bytes (int codePoint, int value) { ensureLength (4); bytes[offset] = (byte) ((codePoint >>> 8) & 0xff); bytes[offset + 1] = (byte) (codePoint & 0xff); bytes[offset + 2] = (byte) ((value >>> 8) & 0xff); bytes[offset + 3] = (byte) (value & 0xff); offset += 4; }
void writeCodePoint4Bytes (int codePoint, int value) { ensureLength (4); bytes[offset] = (byte) ((codePoint >>> 8) & 0xff); bytes[offset + 1] = (byte) (codePoint & 0xff); bytes[offset + 2] = (byte) ((value >>> 8) & 0xff); bytes[offset + 3] = (byte) (value & 0xff); offset += 4; }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/977561c9de22d12b40a3a2f79a8df22ba7fc7752/DDMWriter.java/clean/java/drda/org/apache/derby/impl/drda/DDMWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1045, 31536, 24, 2160, 261, 474, 18614, 16, 509, 460, 13, 288, 3639, 3387, 1782, 261, 24, 1769, 3639, 1731, 63, 3348, 65, 273, 261, 7229, 13, 14015, 710, 2148, 4080, 1725, 13, 473, 374, 5297, 1769, 3639, 1731, 63, 3348, 397, 404, 65, 273, 261, 7229, 13, 261, 710, 2148, 473, 374, 5297, 1769, 3639, 1731, 63, 3348, 397, 576, 65, 273, 261, 7229, 13, 14015, 1132, 4080, 1725, 13, 473, 374, 5297, 1769, 3639, 1731, 63, 3348, 397, 890, 65, 273, 261, 7229, 13, 261, 1132, 473, 374, 5297, 1769, 3639, 1384, 1011, 1059, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1045, 31536, 24, 2160, 261, 474, 18614, 16, 509, 460, 13, 288, 3639, 3387, 1782, 261, 24, 1769, 3639, 1731, 63, 3348, 65, 273, 261, 7229, 13, 14015, 710, 2148, 4080, 1725, 13, 473, 374, 5297, 1769, 3639, 1731, 63, 3348, 397, 404, 65, 273, 261, 7229, 13, 261, 710, 2148, 473, 374, 5297, 1769, 3639, 1731, 63, 3348, 397, 576, 65, 273, 261, 7229, 13, 14015, 1132, 4080, 1725, 13, 473, 374, 5297, 1769, 3639, 1731, 63, 3348, 397, 890, 65, 273, 261, 7229, 13, 261, 1132, 473, 374, 5297, 1769, 3639, 1384, 1011, 1059, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case FIELD_HEADER_REPEAT :
case FIELD_HIDE_DETAIL :
protected void readGroupField( DataInputStream in, GroupDesign group, short fieldType ) throws IOException { switch ( fieldType ) { case FIELD_GROUP_LEVEL : int groupLevel = IOUtil.readInt( in ); group.setGroupLevel( groupLevel ); break; case FIELD_PAGE_BREAK_BEFORE : String pageBreakBefore = IOUtil.readString( in ); group.setPageBreakBefore( pageBreakBefore ); break; case FIELD_PAGE_BREAK_AFTER : String pageBreakAfter = IOUtil.readString( in ); group.setPageBreakAfter( pageBreakAfter ); break; case FIELD_HEADER_REPEAT : boolean hideDetail = IOUtil.readBool( in ); group.setHideDetail( hideDetail ); break; case FIELD_HIDE_DETAIL : boolean headerRepeat = IOUtil.readBool( in ); group.setHeaderRepeat( headerRepeat ); break; default : readReportItemField( in, group, fieldType ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/4679ef0c0e48259aa88cf61de97fb72719e1ff28/EngineIRReader.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/ir/EngineIRReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 855, 1114, 974, 12, 29382, 316, 16, 3756, 15478, 1041, 16, 1082, 202, 6620, 9596, 262, 1216, 1860, 202, 95, 202, 202, 9610, 261, 9596, 262, 202, 202, 95, 1082, 202, 3593, 9921, 67, 8468, 67, 10398, 294, 9506, 202, 474, 1041, 2355, 273, 1665, 1304, 18, 896, 1702, 12, 316, 11272, 9506, 202, 1655, 18, 542, 1114, 2355, 12, 1041, 2355, 11272, 9506, 202, 8820, 31, 1082, 202, 3593, 9921, 67, 11219, 67, 27960, 67, 19152, 294, 9506, 202, 780, 1363, 7634, 4649, 273, 1665, 1304, 18, 896, 780, 12, 316, 11272, 9506, 202, 1655, 18, 542, 1964, 7634, 4649, 12, 1363, 7634, 4649, 11272, 9506, 202, 8820, 31, 1082, 202, 3593, 9921, 67, 11219, 67, 27960, 67, 18249, 294, 9506, 202, 780, 1363, 7634, 4436, 273, 1665, 1304, 18, 896, 780, 12, 316, 11272, 9506, 202, 1655, 18, 542, 1964, 7634, 4436, 12, 1363, 7634, 4436, 11272, 9506, 202, 8820, 31, 1082, 202, 3593, 9921, 67, 7557, 67, 862, 31804, 294, 9506, 202, 6494, 6853, 6109, 273, 1665, 1304, 18, 896, 7464, 12, 316, 11272, 9506, 202, 1655, 18, 542, 15690, 6109, 12, 6853, 6109, 11272, 9506, 202, 8820, 31, 1082, 202, 3593, 9921, 67, 44, 10385, 67, 40, 19810, 294, 9506, 202, 6494, 1446, 16750, 273, 1665, 1304, 18, 896, 7464, 12, 316, 11272, 9506, 202, 1655, 18, 542, 1864, 16750, 12, 1446, 16750, 11272, 9506, 202, 8820, 31, 1082, 202, 1886, 294, 9506, 202, 896, 4820, 1180, 974, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 855, 1114, 974, 12, 29382, 316, 16, 3756, 15478, 1041, 16, 1082, 202, 6620, 9596, 262, 1216, 1860, 202, 95, 202, 202, 9610, 261, 9596, 262, 202, 202, 95, 1082, 202, 3593, 9921, 67, 8468, 67, 10398, 294, 9506, 202, 474, 1041, 2355, 273, 1665, 1304, 18, 896, 1702, 12, 316, 11272, 9506, 202, 1655, 18, 542, 1114, 2355, 12, 1041, 2355, 11272, 9506, 202, 8820, 31, 1082, 202, 3593, 9921, 67, 11219, 67, 27960, 67, 19152, 294, 9506, 202, 780, 1363, 7634, 4649, 273, 1665, 1304, 18, 896, 780, 12, 316, 11272, 9506, 202, 1655, 18, 542, 1964, 7634, 4649, 12, 1363, 7634, 4649, 11272, 9506, 202, 8820, 31, 1082, 202, 3593, 9921, 67, 2 ]
} synchronized(entry) { if(entry.received_msgs == null) { if(first) entry.received_msgs=new AckReceiverWindow(seqno); else { if(operational) { if(warn) log.warn(sender + "#" + seqno + " is not tagged as the first message sent by " + sender + " to me (" + local_addr + "); however, the table for received messages from " + sender + " is null. We probably haven't received the first message from " + sender + ". Discarding message: " + msg + ", headers (excluding UnicastHeader): " + msg.getHeaders()); } return false; } }
if(entry.received_msgs == null) entry.received_msgs=new AckReceiverWindow(DEFAULT_FIRST_SEQNO);
private boolean handleDataReceived(Object sender, long seqno, boolean first, Message msg) { Entry entry; if(trace) log.trace(new StringBuffer().append(local_addr).append(" <-- DATA(").append(sender). append(": #").append(seqno).append(", first=").append(first)); synchronized(connections) { entry=(Entry)connections.get(sender); if(entry == null) { entry=new Entry(); connections.put(sender, entry); } } synchronized(entry) { // only threads accessing the *same* entry will synchronize, everthing else is concurrent if(entry.received_msgs == null) { if(first) entry.received_msgs=new AckReceiverWindow(seqno); else { if(operational) { if(warn) log.warn(sender + "#" + seqno + " is not tagged as the first message sent by " + sender + " to me (" + local_addr + "); however, the table for received messages from " + sender + " is null. We probably haven't received the first message from " + sender + ". Discarding message: " + msg + ", headers (excluding UnicastHeader): " + msg.getHeaders()); } return false; } } } entry.received_msgs.add(seqno, msg); // entry.received_msgs is guaranteed to be non-null if we get here num_msgs_received++; num_bytes_received+=msg.getLength(); // Try to remove (from the AckReceiverWindow) as many messages as possible as pass them up Message m; while((m=entry.received_msgs.remove()) != null) passUp(new Event(Event.MSG, m)); return true; }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/31d2099f976d601edfa00b3014c000dc94a78887/UNICAST.java/buggy/src/org/jgroups/protocols/UNICAST.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1640, 751, 8872, 12, 921, 5793, 16, 1525, 30734, 16, 1250, 1122, 16, 2350, 1234, 13, 288, 3639, 3841, 565, 1241, 31, 3639, 309, 12, 5129, 13, 5411, 613, 18, 5129, 12, 2704, 6674, 7675, 6923, 12, 3729, 67, 4793, 2934, 6923, 2932, 411, 413, 8730, 2932, 2934, 6923, 12, 15330, 2934, 8227, 714, 2932, 30, 468, 20387, 6923, 12, 5436, 2135, 2934, 6923, 2932, 16, 1122, 1546, 2934, 6923, 12, 3645, 10019, 3639, 3852, 12, 13313, 13, 288, 5411, 1241, 28657, 1622, 13, 13313, 18, 588, 12, 15330, 1769, 5411, 309, 12, 4099, 422, 446, 13, 288, 7734, 1241, 33, 2704, 3841, 5621, 7734, 5921, 18, 458, 12, 15330, 16, 1241, 1769, 5411, 289, 3639, 289, 3639, 3852, 12, 4099, 13, 288, 368, 1338, 7403, 19531, 326, 380, 14307, 14, 1241, 903, 16978, 16, 14103, 4274, 469, 353, 10020, 5411, 309, 12, 4099, 18, 15213, 67, 27439, 422, 446, 13, 288, 7734, 309, 12, 3645, 13, 10792, 1241, 18, 15213, 67, 27439, 33, 2704, 22322, 12952, 3829, 12, 5436, 2135, 1769, 7734, 469, 288, 10792, 309, 12, 22716, 13, 288, 13491, 309, 12, 8935, 13, 18701, 613, 18, 8935, 12, 15330, 397, 13092, 397, 30734, 397, 315, 353, 486, 12503, 487, 326, 1122, 883, 3271, 635, 315, 397, 5793, 397, 4766, 565, 315, 358, 1791, 7566, 397, 1191, 67, 4793, 397, 315, 1769, 14025, 16, 326, 1014, 364, 5079, 2743, 628, 315, 397, 5793, 397, 4766, 565, 315, 353, 446, 18, 1660, 8656, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1640, 751, 8872, 12, 921, 5793, 16, 1525, 30734, 16, 1250, 1122, 16, 2350, 1234, 13, 288, 3639, 3841, 565, 1241, 31, 3639, 309, 12, 5129, 13, 5411, 613, 18, 5129, 12, 2704, 6674, 7675, 6923, 12, 3729, 67, 4793, 2934, 6923, 2932, 411, 413, 8730, 2932, 2934, 6923, 12, 15330, 2934, 8227, 714, 2932, 30, 468, 20387, 6923, 12, 5436, 2135, 2934, 6923, 2932, 16, 1122, 1546, 2934, 6923, 12, 3645, 10019, 3639, 3852, 12, 13313, 13, 288, 5411, 1241, 28657, 1622, 13, 13313, 18, 588, 12, 15330, 1769, 5411, 309, 12, 4099, 422, 446, 13, 288, 7734, 1241, 33, 2704, 3841, 5621, 7734, 5921, 18, 458, 12, 15330, 16, 1241, 1769, 5411, 289, 3639, 2 ]
log("Creating " + intervals + " intervals"); intervals = 3 * keys.length; intheight = height / intervals;
for (int i = 0; i < (nbTasks - 1); i++) { Interval newint = new Interval(i, IMAGE_WIDTH, IMAGE_HEIGHT, i * intheight, (i + 1) * intheight); intervalsToDraw[i] = newint; }
private void render() { // Checks there are some engines usde if (li_enginesUsed.getItems().length == 0) { showMessageAll("No engines ... contact the dispatcher"); return; } // Toggles the rendering flag.. b_render = true; // Benchmarking stuff... startTime = System.currentTimeMillis(); Interval interval; String keys[] = li_enginesUsed.getItems(); engines = keys.length; log("Creating " + intervals + " intervals"); intervals = 3 * keys.length; intheight = height / intervals; /* Sets the number of intervals not yet calculated to 'all' */ i_left = intervals; /* Creates the interval stack */ int_stack = new Stack(); for (int i = 0; i < intervals; i++) { // log("Creating inter : "+i); Interval newint = new Interval( i, width, height, i * intheight, (i + 1) * intheight, intervals); int_stack.push(newint); } engine = null; engine = new C3DRenderingEngine[keys.length]; C3DRenderingEngine tmp; if (keys != null) { for (int e = 0; e < keys.length; e++) { /* Assigns one initial interval to each engine */ if (!int_stack.empty()) { interval = (Interval) int_stack.pop(); tmp = (C3DRenderingEngine) h_engines.get(keys[e]); if (tmp != null) { tmp.setScene(scene); engine[e] = tmp; /* Triggers the calculation of this interval on engine e */ tmp.render(e, interval); log( "Interval " + interval.number + " assigned to engine " + keys[e] + "[" + e + "]"); } else { log( "Failed to assign an interval to engine " + keys[e]); h_engines.get(keys[e]); } } } } else b_render = false; }
50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/80a90996a87b23c561b5cc820ea57e1356c218b2/C3DDispatcher.java/clean/src/org/objectweb/proactive/examples/c3d/C3DDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1743, 1435, 202, 95, 202, 202, 759, 13074, 1915, 854, 2690, 20504, 584, 323, 202, 202, 430, 261, 549, 67, 275, 14660, 6668, 18, 588, 3126, 7675, 2469, 422, 374, 13, 202, 202, 95, 1082, 202, 4500, 1079, 1595, 2932, 2279, 20504, 1372, 5388, 326, 7393, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 399, 23972, 1040, 326, 9782, 2982, 838, 202, 202, 70, 67, 5902, 273, 638, 31, 202, 202, 759, 21854, 310, 10769, 2777, 202, 202, 1937, 950, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 4006, 3673, 31, 202, 202, 780, 1311, 8526, 273, 4501, 67, 275, 14660, 6668, 18, 588, 3126, 5621, 202, 202, 275, 14660, 273, 1311, 18, 2469, 31, 202, 202, 1330, 2932, 11092, 315, 397, 10389, 397, 315, 10389, 8863, 202, 202, 19812, 273, 890, 380, 1311, 18, 2469, 31, 202, 202, 267, 451, 1274, 273, 2072, 342, 10389, 31, 202, 202, 20308, 11511, 326, 1300, 434, 10389, 486, 4671, 8894, 358, 296, 454, 11, 1195, 202, 202, 77, 67, 4482, 273, 10389, 31, 202, 202, 20308, 10210, 326, 3673, 2110, 1195, 202, 202, 474, 67, 3772, 273, 394, 7283, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 10389, 31, 277, 27245, 202, 202, 95, 1082, 202, 759, 1377, 613, 2932, 11092, 1554, 294, 13773, 77, 1769, 1082, 202, 4006, 394, 474, 273, 9506, 202, 2704, 10803, 12, 6862, 202, 77, 16, 6862, 202, 2819, 16, 6862, 202, 4210, 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, 1743, 1435, 202, 95, 202, 202, 759, 13074, 1915, 854, 2690, 20504, 584, 323, 202, 202, 430, 261, 549, 67, 275, 14660, 6668, 18, 588, 3126, 7675, 2469, 422, 374, 13, 202, 202, 95, 1082, 202, 4500, 1079, 1595, 2932, 2279, 20504, 1372, 5388, 326, 7393, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 399, 23972, 1040, 326, 9782, 2982, 838, 202, 202, 70, 67, 5902, 273, 638, 31, 202, 202, 759, 21854, 310, 10769, 2777, 202, 202, 1937, 950, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 4006, 3673, 31, 202, 202, 780, 1311, 8526, 273, 4501, 67, 275, 14660, 6668, 18, 588, 3126, 5621, 202, 202, 275, 14660, 273, 1311, 2 ]
if(breakAll.isSelected())
if(breakAllButton.isSelected())
public Set getBreakEvent() { NumberSet set = new NumberSet(); if(breakAll.isSelected()) set.add(DBEvent.ALL); if(breakLocation.isSelected()) set.add(DBEvent.LOCATION); if(breakConsume.isSelected()) set.add(DBEvent.CONSUME_TOKEN); if(breakLT.isSelected()) set.add(DBEvent.LT); if(breakException.isSelected()) set.add(DBEvent.RECOGNITION_EXCEPTION); return set; }
4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/666df2dfad6641238c780159ccbe9448db143f71/DBControlPanel.java/clean/src/org/antlr/works/debugger/panels/DBControlPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1000, 2882, 870, 1133, 1435, 288, 3639, 3588, 694, 444, 273, 394, 3588, 694, 5621, 3639, 309, 12, 8820, 1595, 3616, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 4685, 1769, 3639, 309, 12, 8820, 2735, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 15277, 1769, 3639, 309, 12, 8820, 19253, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 2248, 30590, 67, 8412, 1769, 3639, 309, 12, 8820, 12050, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 12050, 1769, 3639, 309, 12, 8820, 503, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 30724, 8318, 7022, 67, 12658, 1769, 3639, 327, 444, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1000, 2882, 870, 1133, 1435, 288, 3639, 3588, 694, 444, 273, 394, 3588, 694, 5621, 3639, 309, 12, 8820, 1595, 3616, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 4685, 1769, 3639, 309, 12, 8820, 2735, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 15277, 1769, 3639, 309, 12, 8820, 19253, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 2248, 30590, 67, 8412, 1769, 3639, 309, 12, 8820, 12050, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 12050, 1769, 3639, 309, 12, 8820, 503, 18, 291, 7416, 10756, 5411, 444, 18, 1289, 12, 2290, 1133, 18, 30724, 8318, 7022, 67, 12658, 2 ]
if (!pref.selectProfile(profile,true, true))
addGuiFont(); if (!pref.selectProfile(profile,Preferences.PROFILE_SELECTOR_ONOROFF, true))
public void doIt(){ this.title = "CacheWolf " + Version.getRelease(); this.exitSystemOnClose = true; this.resizable = true; this.moveable = true; if(Vm.isMobile() == true) this.windowFlagsToSet = Window.FLAG_FULL_SCREEN; else this.setPreferredSize(800, 600); this.resizeOnSIP = true; // Load CacheList Vm.showWait(true); try{ pref.readPrefFile(); if (!pref.selectProfile(profile,true, true)) ewe.sys.Vm.exit(0); // User MUST select or create a profile addGuiFont(); long start = Vm.getTimeStampLong(); profile.readIndex(); pref.profileCentrePt=profile.centre; long end = Vm.getTimeStampLong(); Vm.debug("index.xml read: " + Convert.toString(end - start)+ " msec"); TablePanel.updateBearingDistance(profile.cacheDB,pref); } catch (Exception e){ if(pref.debug == true) Vm.debug("MainForm:: Exception:: " + e.toString()); } if(pref.fixSIP == true){ if (Gui.screenIs(Gui.PDA_SCREEN) && Vm.isMobile()) { Vm.setSIP(Vm.SIP_LEAVE_BUTTON|Vm.SIP_ON); } } else Vm.setSIP(0); Vm.setParameter(Vm.SET_ALWAYS_SHOW_SIP_BUTTON,1); statBar = new StatusBar(pref, profile.cacheDB); this.addLast(mMenu = new MainMenu(this, pref, profile),CellConstants.DONTSTRETCH, CellConstants.FILL); this.addLast(mTab = new MainTab(pref,profile,statBar),CellConstants.STRETCH, CellConstants.FILL); mMenu.setTablePanel(mTab.getTablePanel()); Vm.showWait(false); }
51026 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51026/69c58f8cd17f13ecf8714b47dadf20b8988a1008/MainForm.java/clean/src/CacheWolf/MainForm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 741, 7193, 1435, 95, 202, 202, 2211, 18, 2649, 273, 315, 1649, 59, 355, 74, 315, 397, 4049, 18, 588, 7391, 5621, 202, 202, 2211, 18, 8593, 3163, 1398, 4605, 273, 638, 31, 202, 202, 2211, 18, 455, 6934, 273, 638, 31, 202, 202, 2211, 18, 8501, 429, 273, 638, 31, 202, 202, 430, 12, 22143, 18, 291, 19584, 1435, 422, 638, 13, 1875, 202, 2211, 18, 5668, 5094, 25208, 273, 6076, 18, 9651, 67, 18111, 67, 27908, 31, 202, 202, 12107, 1875, 202, 2211, 18, 542, 16028, 1225, 12, 17374, 16, 14707, 1769, 202, 202, 2211, 18, 15169, 1398, 17739, 273, 638, 31, 202, 202, 759, 4444, 4379, 682, 202, 202, 22143, 18, 4500, 5480, 12, 3767, 1769, 202, 202, 698, 95, 1082, 202, 25724, 18, 896, 23218, 812, 5621, 1082, 202, 1289, 18070, 5711, 5621, 309, 16051, 25724, 18, 4025, 4029, 12, 5040, 16, 12377, 18, 22462, 67, 4803, 916, 67, 673, 916, 8797, 16, 638, 3719, 4697, 202, 359, 73, 18, 9499, 18, 22143, 18, 8593, 12, 20, 1769, 368, 2177, 10685, 2027, 578, 752, 279, 3042, 1082, 202, 1289, 18070, 5711, 5621, 1082, 202, 5748, 787, 273, 776, 81, 18, 588, 21536, 3708, 5621, 1082, 202, 5040, 18, 896, 1016, 5621, 1082, 202, 25724, 18, 5040, 15897, 266, 16484, 33, 5040, 18, 2998, 266, 31, 1082, 202, 5748, 679, 273, 776, 81, 18, 588, 21536, 3708, 5621, 1082, 202, 22143, 18, 4148, 2932, 1615, 18, 2902, 855, 30, 315, 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, 741, 7193, 1435, 95, 202, 202, 2211, 18, 2649, 273, 315, 1649, 59, 355, 74, 315, 397, 4049, 18, 588, 7391, 5621, 202, 202, 2211, 18, 8593, 3163, 1398, 4605, 273, 638, 31, 202, 202, 2211, 18, 455, 6934, 273, 638, 31, 202, 202, 2211, 18, 8501, 429, 273, 638, 31, 202, 202, 430, 12, 22143, 18, 291, 19584, 1435, 422, 638, 13, 1875, 202, 2211, 18, 5668, 5094, 25208, 273, 6076, 18, 9651, 67, 18111, 67, 27908, 31, 202, 202, 12107, 1875, 202, 2211, 18, 542, 16028, 1225, 12, 17374, 16, 14707, 1769, 202, 202, 2211, 18, 15169, 1398, 17739, 273, 638, 31, 202, 202, 759, 4444, 4379, 682, 202, 202, 22143, 18, 4500, 2 ]
assertTrue("Wrong representation 4", l.toString().equals("en__WIN"));
assertEquals("Wrong representation 4", "en__WIN", l.toString());
public void test_toString() { // Test for method java.lang.String java.util.Locale.toString() assertTrue("Returned incorrect string representation", testLocale .toString().equals("en_CA_WIN32")); Locale l = new Locale("en", ""); assertTrue("Wrong representation 1", l.toString().equals("en")); l = new Locale("", "CA"); assertTrue("Wrong representation 2", l.toString().equals("_CA")); l = new Locale("", "CA", "var"); assertTrue("Wrong representation 2.5", l.toString().equals("_CA_var")); l = new Locale("en", "", "WIN"); assertTrue("Wrong representation 4", l.toString().equals("en__WIN")); l = new Locale("en", "CA"); assertTrue("Wrong representation 6", l.toString().equals("en_CA")); l = new Locale("en", "CA", "VAR"); assertTrue("Wrong representation 7", l.toString().equals("en_CA_VAR")); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/181e940cd92dfff67639d98e991206d375a987ea/LocaleTest.java/clean/modules/luni/src/test/java/tests/api/java/util/LocaleTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 10492, 1435, 288, 202, 202, 759, 7766, 364, 707, 2252, 18, 4936, 18, 780, 2252, 18, 1367, 18, 3916, 18, 10492, 1435, 202, 202, 11231, 5510, 2932, 22360, 11332, 533, 4335, 3113, 1842, 3916, 9506, 202, 18, 10492, 7675, 14963, 2932, 275, 67, 3587, 67, 24572, 1578, 7923, 1769, 202, 202, 3916, 328, 273, 394, 6458, 2932, 275, 3113, 1408, 1769, 202, 202, 11231, 5510, 2932, 13634, 4335, 404, 3113, 328, 18, 10492, 7675, 14963, 2932, 275, 7923, 1769, 202, 202, 80, 273, 394, 6458, 2932, 3113, 315, 3587, 8863, 202, 202, 11231, 5510, 2932, 13634, 4335, 576, 3113, 328, 18, 10492, 7675, 14963, 2932, 67, 3587, 7923, 1769, 202, 202, 80, 273, 394, 6458, 2932, 3113, 315, 3587, 3113, 315, 1401, 8863, 202, 202, 11231, 5510, 2932, 13634, 4335, 576, 18, 25, 3113, 328, 18, 10492, 7675, 14963, 2932, 67, 3587, 67, 1401, 7923, 1769, 202, 202, 80, 273, 394, 6458, 2932, 275, 3113, 23453, 315, 24572, 8863, 202, 202, 11231, 5510, 2932, 13634, 4335, 1059, 3113, 328, 18, 10492, 7675, 14963, 2932, 275, 972, 24572, 7923, 1769, 202, 202, 80, 273, 394, 6458, 2932, 275, 3113, 315, 3587, 8863, 202, 202, 11231, 5510, 2932, 13634, 4335, 1666, 3113, 328, 18, 10492, 7675, 14963, 2932, 275, 67, 3587, 7923, 1769, 202, 202, 80, 273, 394, 6458, 2932, 275, 3113, 315, 3587, 3113, 315, 7716, 8863, 202, 202, 11231, 5510, 2932, 13634, 4335, 2371, 3113, 328, 18, 10492, 7675, 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, 225, 202, 482, 918, 1842, 67, 10492, 1435, 288, 202, 202, 759, 7766, 364, 707, 2252, 18, 4936, 18, 780, 2252, 18, 1367, 18, 3916, 18, 10492, 1435, 202, 202, 11231, 5510, 2932, 22360, 11332, 533, 4335, 3113, 1842, 3916, 9506, 202, 18, 10492, 7675, 14963, 2932, 275, 67, 3587, 67, 24572, 1578, 7923, 1769, 202, 202, 3916, 328, 273, 394, 6458, 2932, 275, 3113, 1408, 1769, 202, 202, 11231, 5510, 2932, 13634, 4335, 404, 3113, 328, 18, 10492, 7675, 14963, 2932, 275, 7923, 1769, 202, 202, 80, 273, 394, 6458, 2932, 3113, 315, 3587, 8863, 202, 202, 11231, 5510, 2932, 13634, 4335, 576, 3113, 328, 18, 10492, 7675, 14963, 2932, 67, 3587, 7923, 1769, 202, 202, 80, 273, 2 ]