rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
return RubyString.newString(ruby, stringOutput.toString());
return RubyString.newString(ruby, stringOutput.toString(sEncoding));
public static RubyObject dump(Ruby ruby, RubyObject recv, RubyObject[] args) { if (args.length < 1) { throw new ArgumentError(ruby, "wrong # of arguments(at least 1)"); } RubyObject objectToDump = args[0]; RubyIO io = null; int depthLimit = -1; if (args.length >= 2) { if (args[1] instanceof RubyIO) { io = (RubyIO) args[1]; } else if (args[1] instanceof RubyFixnum) { depthLimit = (int) ((RubyFixnum) args[1]).getLongValue(); } if (args.length == 3) { depthLimit = (int) ((RubyFixnum) args[2]).getLongValue(); } } try { if (io != null) { dumpToStream(objectToDump, io.getOutStream(), depthLimit); return io; } else { OutputStream stringOutput = new ByteArrayOutputStream(); dumpToStream(objectToDump, stringOutput, depthLimit); return RubyString.newString(ruby, stringOutput.toString()); } } catch (IOException ioe) { RubyBugException exception = new RubyBugException(ioe.getMessage()); exception.initCause(ioe); throw exception; } }
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/bb772f38cd98a3cfc11f39a8353947e7469dc172/RubyMarshal.java/buggy/org/jruby/RubyMarshal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 921, 4657, 12, 54, 10340, 22155, 16, 19817, 921, 10665, 16, 19817, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 604, 394, 9236, 12, 27768, 16, 315, 21530, 468, 434, 1775, 12, 270, 4520, 404, 2225, 1769, 3639, 289, 3639, 19817, 921, 733, 774, 10628, 273, 833, 63, 20, 15533, 3639, 19817, 4294, 2527, 273, 446, 31, 3639, 509, 3598, 3039, 273, 300, 21, 31, 3639, 309, 261, 1968, 18, 2469, 1545, 576, 13, 288, 5411, 309, 261, 1968, 63, 21, 65, 1276, 19817, 4294, 13, 288, 7734, 2527, 273, 261, 54, 10340, 4294, 13, 833, 63, 21, 15533, 5411, 289, 469, 309, 261, 1968, 63, 21, 65, 1276, 19817, 8585, 2107, 13, 288, 7734, 3598, 3039, 273, 261, 474, 13, 14015, 54, 10340, 8585, 2107, 13, 833, 63, 21, 65, 2934, 588, 3708, 620, 5621, 5411, 289, 5411, 309, 261, 1968, 18, 2469, 422, 890, 13, 288, 7734, 3598, 3039, 273, 261, 474, 13, 14015, 54, 10340, 8585, 2107, 13, 833, 63, 22, 65, 2934, 588, 3708, 620, 5621, 5411, 289, 3639, 289, 3639, 775, 288, 5411, 309, 261, 1594, 480, 446, 13, 288, 7734, 4657, 774, 1228, 12, 1612, 774, 10628, 16, 2527, 18, 588, 1182, 1228, 9334, 3598, 3039, 1769, 7734, 327, 2527, 31, 5411, 289, 469, 288, 7734, 8962, 533, 1447, 273, 394, 11559, 5621, 7734, 4657, 774, 1228, 12, 1612, 774, 10628, 16, 533, 1447, 16, 3598, 3039, 1769, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 921, 4657, 12, 54, 10340, 22155, 16, 19817, 921, 10665, 16, 19817, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 604, 394, 9236, 12, 27768, 16, 315, 21530, 468, 434, 1775, 12, 270, 4520, 404, 2225, 1769, 3639, 289, 3639, 19817, 921, 733, 774, 10628, 273, 833, 63, 20, 15533, 3639, 19817, 4294, 2527, 273, 446, 31, 3639, 509, 3598, 3039, 273, 300, 21, 31, 3639, 309, 261, 1968, 18, 2469, 1545, 576, 13, 288, 5411, 309, 261, 1968, 63, 21, 65, 1276, 19817, 4294, 13, 288, 7734, 2527, 273, 261, 54, 10340, 4294, 13, 833, 63, 21, 15533, 5411, 289, 469, 309, 261, 1968, 63, 21, 2 ]
(fDOMFilter.getWhatToShow() & NodeFilter.SHOW_PROCESSING_INSTRUCTION)!= 0) {
(fDOMFilter.getWhatToShow() & NodeFilter.SHOW_ELEMENT)!= 0) {
protected void serializeNode( Node node ) throws IOException { fCurrentNode = node; // Based on the node type call the suitable SAX handler. // Only comments entities and documents which are not // handled by SAX are serialized directly. switch ( node.getNodeType() ) { case Node.TEXT_NODE : { String text; text = node.getNodeValue(); if ( text != null ) { if (fDOMFilter !=null && (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_TEXT)!= 0) { short code = fDOMFilter.acceptNode(node); switch (code) { case NodeFilter.FILTER_REJECT: case NodeFilter.FILTER_SKIP: { // REVISIT: the constant FILTER_SKIP should be changed when new // DOM LS specs gets published // skip the text node break; } default: { characters(text); } } } else if ( !_indenting || getElementState().preserveSpace || (text.replace('\n',' ').trim().length() != 0)) characters( text ); } break; } case Node.CDATA_SECTION_NODE : { String text; text = node.getNodeValue(); if ( text != null ) { if (fDOMFilter !=null && (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_CDATA_SECTION)!= 0) { short code = fDOMFilter.acceptNode(node); switch (code) { case NodeFilter.FILTER_REJECT: case NodeFilter.FILTER_SKIP: { // REVISIT: the constant FILTER_SKIP should be changed when new // DOM LS specs gets published // skip the CDATA node return; } default: { //fall through.. } } } startCDATA(); characters( text ); endCDATA(); } break; } case Node.COMMENT_NODE : { String text; if ( ! _format.getOmitComments() ) { text = node.getNodeValue(); if ( text != null ) { if (fDOMFilter !=null && (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_COMMENT)!= 0) { short code = fDOMFilter.acceptNode(node); switch (code) { case NodeFilter.FILTER_REJECT: case NodeFilter.FILTER_SKIP: { // REVISIT: the constant FILTER_SKIP should be changed when new // DOM LS specs gets published // skip the comment node return; } default: { // fall through } } } comment( text ); } } break; } case Node.ENTITY_REFERENCE_NODE : { Node child; endCDATA(); content(); if (fDOMFilter !=null && (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_ENTITY_REFERENCE)!= 0) { short code = fDOMFilter.acceptNode(node); switch (code) { case NodeFilter.FILTER_REJECT:{ return; // remove the node } case NodeFilter.FILTER_SKIP: { // REVISIT: the constant FILTER_SKIP should be changed when new // DOM LS specs gets published child = node.getFirstChild(); while ( child != null ) { serializeNode( child ); child = child.getNextSibling(); } return; } default: { child = node.getFirstChild(); if (child !=null) { _printer.printText("&"); _printer.printText(node.getNodeName()); _printer.printText(";"); } return; } } } child = node.getFirstChild(); if ( child == null || (fFeatures !=null && getFeature(Constants.DOM_ENTITIES))){ _printer.printText("&"); _printer.printText(node.getNodeName()); _printer.printText(";"); } else { while ( child != null ) { serializeNode( child ); child = child.getNextSibling(); } } break; } case Node.PROCESSING_INSTRUCTION_NODE : { if (fDOMFilter !=null && (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_PROCESSING_INSTRUCTION)!= 0) { short code = fDOMFilter.acceptNode(node); switch (code) { case NodeFilter.FILTER_REJECT: case NodeFilter.FILTER_SKIP: { // REVISIT: the constant FILTER_SKIP should be changed when new // DOM LS specs gets published return; // skip this node } default: { // fall through } } } processingInstructionIO( node.getNodeName(), node.getNodeValue() ); break; } case Node.ELEMENT_NODE : { if (fDOMFilter !=null && (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_PROCESSING_INSTRUCTION)!= 0) { short code = fDOMFilter.acceptNode(node); switch (code) { case NodeFilter.FILTER_REJECT: { return; } case NodeFilter.FILTER_SKIP: { // REVISIT: the constant FILTER_SKIP should be changed when new // DOM LS specs gets published Node child = node.getFirstChild(); while ( child != null ) { serializeNode( child ); child = child.getNextSibling(); } return; // skip this node } default: { // fall through } } } serializeElement( (Element) node ); break; } case Node.DOCUMENT_NODE : { DocumentType docType; DOMImplementation domImpl; NamedNodeMap map; Entity entity; Notation notation; int i; // If there is a document type, use the SAX events to // serialize it. docType = ( (Document) node ).getDoctype(); if (docType != null) { // DOM Level 2 (or higher) domImpl = ( (Document) node ).getImplementation(); try { String internal; _printer.enterDTD(); _docTypePublicId = docType.getPublicId(); _docTypeSystemId = docType.getSystemId(); internal = docType.getInternalSubset(); if ( internal != null && internal.length() > 0 ) _printer.printText( internal ); endDTD(); } // DOM Level 1 -- does implementation have methods? catch (NoSuchMethodError nsme) { Class docTypeClass = docType.getClass(); String docTypePublicId = null; String docTypeSystemId = null; try { java.lang.reflect.Method getPublicId = docTypeClass.getMethod("getPublicId", null); if (getPublicId.getReturnType().equals(String.class)) { docTypePublicId = (String)getPublicId.invoke(docType, null); } } catch (Exception e) { // ignore } try { java.lang.reflect.Method getSystemId = docTypeClass.getMethod("getSystemId", null); if (getSystemId.getReturnType().equals(String.class)) { docTypeSystemId = (String)getSystemId.invoke(docType, null); } } catch (Exception e) { // ignore } _printer.enterDTD(); _docTypePublicId = docTypePublicId; _docTypeSystemId = docTypeSystemId; endDTD(); } } // !! Fall through } case Node.DOCUMENT_FRAGMENT_NODE : { Node child; // By definition this will happen if the node is a document, // document fragment, etc. Just serialize its contents. It will // work well for other nodes that we do not know how to serialize. child = node.getFirstChild(); while ( child != null ) { serializeNode( child ); child = child.getNextSibling(); } break; } default: break; } }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/cf20b832126bec64f1dff2718029a0944ef23d5c/BaseMarkupSerializer.java/buggy/src/org/apache/xml/serialize/BaseMarkupSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4472, 907, 12, 2029, 756, 262, 3639, 1216, 1860, 565, 288, 3639, 284, 3935, 907, 273, 756, 31, 3639, 368, 25935, 603, 326, 756, 618, 745, 326, 10631, 10168, 1838, 18, 3639, 368, 5098, 5678, 5140, 471, 7429, 1492, 854, 486, 3639, 368, 7681, 635, 10168, 854, 5343, 5122, 18, 3639, 1620, 261, 756, 18, 588, 15101, 1435, 262, 288, 3639, 648, 2029, 18, 5151, 67, 8744, 294, 288, 5411, 514, 977, 31, 5411, 977, 273, 756, 18, 588, 907, 620, 5621, 5411, 309, 261, 977, 480, 446, 262, 288, 7734, 309, 261, 74, 8168, 1586, 480, 2011, 597, 5397, 261, 74, 8168, 1586, 18, 588, 23801, 774, 5706, 1435, 473, 2029, 1586, 18, 16677, 67, 5151, 13, 5, 33, 374, 13, 288, 10792, 3025, 981, 273, 284, 8168, 1586, 18, 9436, 907, 12, 2159, 1769, 10792, 1620, 261, 710, 13, 288, 13491, 648, 2029, 1586, 18, 11126, 67, 862, 5304, 30, 13491, 648, 2029, 1586, 18, 11126, 67, 22589, 30, 288, 11794, 368, 2438, 26780, 1285, 30, 326, 5381, 8919, 67, 22589, 1410, 506, 3550, 1347, 394, 18701, 368, 4703, 29204, 10607, 5571, 9487, 18701, 368, 2488, 326, 977, 756, 18701, 898, 31, 13491, 289, 13491, 805, 30, 288, 18701, 3949, 12, 955, 1769, 13491, 289, 10792, 289, 7734, 289, 7734, 469, 309, 261, 401, 67, 9355, 310, 747, 7426, 1119, 7675, 27297, 3819, 5397, 747, 261, 955, 18, 2079, 2668, 64, 82, 17023, 296, 2934, 5290, 7675, 2469, 1435, 480, 374, 3719, 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, 4472, 907, 12, 2029, 756, 262, 3639, 1216, 1860, 565, 288, 3639, 284, 3935, 907, 273, 756, 31, 3639, 368, 25935, 603, 326, 756, 618, 745, 326, 10631, 10168, 1838, 18, 3639, 368, 5098, 5678, 5140, 471, 7429, 1492, 854, 486, 3639, 368, 7681, 635, 10168, 854, 5343, 5122, 18, 3639, 1620, 261, 756, 18, 588, 15101, 1435, 262, 288, 3639, 648, 2029, 18, 5151, 67, 8744, 294, 288, 5411, 514, 977, 31, 5411, 977, 273, 756, 18, 588, 907, 620, 5621, 5411, 309, 261, 977, 480, 446, 262, 288, 7734, 309, 261, 74, 8168, 1586, 480, 2011, 597, 5397, 261, 74, 8168, 1586, 18, 588, 23801, 774, 5706, 1435, 473, 2029, 1586, 18, 16677, 67, 2 ]
public boolean saveAs() throws IOException { // get new name for folder FileDialog fd = new FileDialog(editor, //new Frame(), "Save sketch folder as...", FileDialog.SAVE); if (isReadOnly()) { // default to the sketchbook folder fd.setDirectory(Preferences.get("sketchbook.path")); } else { fd.setDirectory(folder.getParent()); } fd.setFile(folder.getName()); //System.out.println("setting to " + folder.getParent()); // TODO or maybe this should default to the // parent dir of the old folder? fd.show(); String newParentDir = fd.getDirectory(); String newName = fd.getFile(); // user cancelled selection if (newName == null) return false; newName = Sketchbook.sanitizeName(newName); // new sketch folder File newFolder = new File(newParentDir, newName); // make sure the paths aren't the same if (newFolder.equals(folder)) { Base.showWarning("You can't fool me", "The new sketch name and location are the same as\n" + "the old. I ain't not doin nuthin' not now.", null); return false; } // check to see if the user is trying to save this sketch // inside the same sketch try { String newPath = newFolder.getCanonicalPath() + File.separator; String oldPath = folder.getCanonicalPath() + File.separator; //System.out.println(newPath); //System.out.println(oldPath); if (newPath.indexOf(oldPath) == 0) { Base.showWarning("How very Borges of you", "You cannot save the sketch into a folder\n" + "inside itself. This would go on forever.", null); return false; } } catch (IOException e) { } // copy the entire contents of the sketch folder Base.copyDir(folder, newFolder); // change the references to the dir location in SketchCode files for (int i = 0; i < codeCount; i++) { code[i].file = new File(newFolder, code[i].file.getName()); } for (int i = 0; i < hiddenCount; i++) { hidden[i].file = new File(newFolder, hidden[i].file.getName()); } // remove the old sketch file from the new dir code[0].file.delete(); // name for the new main .pde file code[0].file = new File(newFolder, newName + ".pde"); code[0].name = newName; // write the contents to the renamed file // (this may be resaved if the code is modified) code[0].save(); // change the other paths String oldName = name; name = newName; File oldFolder = folder; folder = newFolder; dataFolder = new File(folder, "data"); codeFolder = new File(folder, "code"); // remove the 'applet', 'application', 'library' folders // from the copied version. // otherwise their .class and .jar files can cause conflicts. Base.removeDir(new File(folder, "applet")); Base.removeDir(new File(folder, "application")); Base.removeDir(new File(folder, "library")); // do a "save" // this will take care of the unsaved changes in each of the tabs save(); // get the changes into the sketchbook menu //sketchbook.rebuildMenu(); // done inside Editor instead // update the tabs for the name change editor.header.repaint(); // let Editor know that the save was successful return true; }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/8266c91072b021fbdcba0b70ebfa01c560476e74/Sketch.java/clean/app/Sketch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1923, 1463, 1435, 1216, 1860, 288, 565, 368, 336, 394, 508, 364, 3009, 565, 1387, 6353, 5194, 273, 394, 1387, 6353, 12, 9177, 16, 368, 2704, 8058, 9334, 6, 4755, 18534, 3009, 487, 7070, 16, 812, 6353, 18, 25242, 1769, 565, 309, 261, 291, 12066, 10756, 288, 368, 805, 358, 326, 18534, 3618, 3009, 5194, 18, 542, 2853, 12, 12377, 18, 588, 2932, 7771, 1593, 3618, 18, 803, 7923, 1769, 565, 289, 469, 288, 5194, 18, 542, 2853, 12, 5609, 18, 588, 3054, 10663, 565, 289, 565, 5194, 18, 542, 812, 12, 5609, 18, 17994, 10663, 565, 368, 3163, 18, 659, 18, 8222, 2932, 8920, 358, 315, 397, 3009, 18, 588, 3054, 10663, 565, 368, 2660, 578, 6944, 333, 1410, 805, 358, 326, 565, 368, 982, 1577, 434, 326, 1592, 3009, 35, 565, 5194, 18, 4500, 5621, 565, 514, 24818, 1621, 273, 5194, 18, 588, 2853, 5621, 565, 514, 13253, 273, 5194, 18, 29925, 5621, 565, 368, 729, 13927, 4421, 565, 309, 261, 2704, 461, 422, 446, 13, 327, 629, 31, 565, 13253, 273, 10362, 1593, 3618, 18, 20266, 461, 12, 2704, 461, 1769, 565, 368, 394, 18534, 3009, 565, 1387, 394, 3899, 273, 394, 1387, 12, 2704, 3054, 1621, 16, 13253, 1769, 565, 368, 1221, 3071, 326, 2953, 11526, 1404, 326, 1967, 565, 309, 261, 2704, 3899, 18, 14963, 12, 5609, 3719, 288, 3360, 18, 4500, 6210, 2932, 6225, 848, 1404, 284, 1371, 1791, 3113, 315, 1986, 394, 18534, 508, 471, 2117, 854, 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, 1250, 1923, 1463, 1435, 1216, 1860, 288, 565, 368, 336, 394, 508, 364, 3009, 565, 1387, 6353, 5194, 273, 394, 1387, 6353, 12, 9177, 16, 368, 2704, 8058, 9334, 6, 4755, 18534, 3009, 487, 7070, 16, 812, 6353, 18, 25242, 1769, 565, 309, 261, 291, 12066, 10756, 288, 368, 805, 358, 326, 18534, 3618, 3009, 5194, 18, 542, 2853, 12, 12377, 18, 588, 2932, 7771, 1593, 3618, 18, 803, 7923, 1769, 565, 289, 469, 288, 5194, 18, 542, 2853, 12, 5609, 18, 588, 3054, 10663, 565, 289, 565, 5194, 18, 542, 812, 12, 5609, 18, 17994, 10663, 565, 368, 3163, 18, 659, 18, 8222, 2932, 8920, 358, 315, 397, 3009, 18, 588, 3054, 10663, 565, 368, 2660, 2 ]
public Object[] getObsoleteHandles(String handle) { int cacheOverrun = cache.size() - maximumCacheTarget; unlatch(handle); if (cacheOverrun <= 0) { return null; } ArrayList handles = new ArrayList(cacheOverrun); for (Iterator iterator = cache.entrySet().iterator(); iterator.hasNext();) { Map.Entry mapEntry = (Map.Entry) iterator.next(); if (!isLatched(mapEntry.getValue())) { handles.add(mapEntry.getValue()); iterator.remove(); if (--cacheOverrun == 0) { break; } } } if (handles.size() == 0) { return null; } return handles.toArray(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/8ad19a860fcb418418429f008296ff3e6aa41c5b/DefaultStatementCache.java/buggy/src/main/net/sourceforge/jtds/jdbc/cache/DefaultStatementCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 8526, 17971, 2038, 19513, 8788, 12, 780, 1640, 13, 288, 202, 202, 474, 1247, 22042, 318, 273, 1247, 18, 1467, 1435, 300, 4207, 1649, 2326, 31, 9506, 202, 318, 80, 505, 12, 4110, 1769, 202, 202, 430, 261, 2493, 22042, 318, 1648, 374, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 9506, 202, 19558, 7372, 273, 394, 2407, 12, 2493, 22042, 318, 1769, 9506, 202, 1884, 261, 3198, 2775, 273, 1247, 18, 4099, 694, 7675, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 863, 18, 1622, 852, 1622, 273, 261, 863, 18, 1622, 13, 2775, 18, 4285, 5621, 25083, 202, 430, 16051, 291, 23463, 329, 12, 1458, 1622, 18, 24805, 1435, 3719, 288, 9506, 202, 24111, 18, 1289, 12, 1458, 1622, 18, 24805, 10663, 6862, 9506, 202, 9838, 18, 4479, 5621, 6862, 9506, 202, 430, 261, 413, 2493, 22042, 318, 422, 374, 13, 288, 6862, 202, 8820, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 9506, 202, 430, 261, 24111, 18, 1467, 1435, 422, 374, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 9506, 202, 2463, 7372, 18, 31447, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 8526, 17971, 2038, 19513, 8788, 12, 780, 1640, 13, 288, 202, 202, 474, 1247, 22042, 318, 273, 1247, 18, 1467, 1435, 300, 4207, 1649, 2326, 31, 9506, 202, 318, 80, 505, 12, 4110, 1769, 202, 202, 430, 261, 2493, 22042, 318, 1648, 374, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 9506, 202, 19558, 7372, 273, 394, 2407, 12, 2493, 22042, 318, 1769, 9506, 202, 1884, 261, 3198, 2775, 273, 1247, 18, 4099, 694, 7675, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 863, 18, 1622, 852, 1622, 273, 261, 863, 18, 1622, 13, 2775, 18, 4285, 5621, 25083, 202, 430, 16051, 291, 23463, 329, 12, 1458, 1622, 18, 24805, 2 ]
while(line.length() > 0 && line.charAt(line.length()-1) == ' ')
while((line.length() > 0) && (line.charAt(line.length()-1) == ' '))
private boolean processLine(BufferedReader reader, OutputStream out) throws IOException { String line; StringBuffer outsb = new StringBuffer(); try { line = reader.readLine(); } catch (IOException e) { outsb.append("Bye... ("+e+")"); System.err.println("Bye... ("+e+")"); return true; } boolean getCHKOnly = false; if(line == null) return true; String uline = line.toUpperCase(); Logger.minor(this, "Command: "+line); if(uline.startsWith("GET:")) { // Should have a key next String key = line.substring("GET:".length()); while(key.length() > 0 && key.charAt(0) == ' ') key = key.substring(1); while(key.length() > 0 && key.charAt(key.length()-1) == ' ') key = key.substring(0, key.length()-2); Logger.normal(this, "Key: "+key); FreenetURI uri; try { uri = new FreenetURI(key); Logger.normal(this, "Key: "+uri); } catch (MalformedURLException e2) { outsb.append("Malformed URI: "+key+" : "+e2); return false; } try { FetchResult result = client.fetch(uri); ClientMetadata cm = result.getMetadata(); outsb.append("Content MIME type: "+cm.getMIMEType()); Bucket data = result.asBucket(); // FIXME limit it above if(data.size() > 32*1024) { System.err.println("Data is more than 32K: "+data.size()); outsb.append("Data is more than 32K: "+data.size()); return false; } byte[] dataBytes = BucketTools.toByteArray(data); boolean evil = false; for(int i=0;i<dataBytes.length;i++) { // Look for escape codes if(dataBytes[i] == '\n') continue; if(dataBytes[i] == '\r') continue; if(dataBytes[i] < 32) evil = true; } if(evil) { System.err.println("Data may contain escape codes which could cause the terminal to run arbitrary commands! Save it to a file if you must with GETFILE:"); outsb.append("Data may contain escape codes which could cause the terminal to run arbitrary commands! Save it to a file if you must with GETFILE:"); return false; } outsb.append("Data:\r\n"); outsb.append(new String(dataBytes)); } catch (FetchException e) { outsb.append("Error: "+e.getMessage()+"\r\n"); if(e.getMode() == FetchException.SPLITFILE_ERROR && e.errorCodes != null) { outsb.append(e.errorCodes.toVerboseString()); } if(e.newURI != null) outsb.append("Permanent redirect: "+e.newURI+"\r\n"); } } else if(uline.startsWith("GETFILE:")) { // Should have a key next String key = line.substring("GETFILE:".length()); while(key.length() > 0 && key.charAt(0) == ' ') key = key.substring(1); while(key.length() > 0 && key.charAt(key.length()-1) == ' ') key = key.substring(0, key.length()-2); Logger.normal(this, "Key: "+key); FreenetURI uri; try { uri = new FreenetURI(key); } catch (MalformedURLException e2) { outsb.append("Malformed URI: "+key+" : "+e2); return false; } try { long startTime = System.currentTimeMillis(); FetchResult result = client.fetch(uri); ClientMetadata cm = result.getMetadata(); outsb.append("Content MIME type: "+cm.getMIMEType()); Bucket data = result.asBucket(); // Now calculate filename String fnam = uri.getDocName(); fnam = sanitize(fnam); if(fnam.length() == 0) { fnam = "freenet-download-"+HexUtil.bytesToHex(BucketTools.hash(data), 0, 10); String ext = DefaultMIMETypes.getExtension(cm.getMIMEType()); if(ext != null && !ext.equals("")) fnam += "." + ext; } File f = new File(downloadsDir, fnam); if(f.exists()) { outsb.append("File exists already: "+fnam); fnam = "freenet-"+System.currentTimeMillis()+"-"+fnam; } FileOutputStream fos = null; try { fos = new FileOutputStream(f); BucketTools.copyTo(data, fos, Long.MAX_VALUE); fos.close(); outsb.append("Written to "+fnam); } catch (IOException e) { outsb.append("Could not write file: caught "+e); e.printStackTrace(); } finally { if(fos != null) try { fos.close(); } catch (IOException e1) { // Ignore } } long endTime = System.currentTimeMillis(); long sz = data.size(); double rate = 1000.0 * sz / (endTime-startTime); outsb.append("Download rate: "+rate+" bytes / second"); } catch (FetchException e) { outsb.append("Error: "+e.getMessage()); if(e.getMode() == FetchException.SPLITFILE_ERROR && e.errorCodes != null) { outsb.append(e.errorCodes.toVerboseString()); } if(e.newURI != null) outsb.append("Permanent redirect: "+e.newURI+"\r\n"); } } else if(uline.startsWith("UPDATE")) { outsb.append("starting the update process"); // FIXME run on separate thread n.getNodeUpdater().Update(); return false; }else if(uline.startsWith("BLOW")) { n.getNodeUpdater().blow("caught an IOException : (Incompetent Operator) :p"); return false; } else if(uline.startsWith("SHUTDOWN")) { StringBuffer sb = new StringBuffer(); sb.append("Shutting node down.\r\n"); out.write(sb.toString().getBytes()); out.flush(); n.exit(); } else if(uline.startsWith("RESTART")) { StringBuffer sb = new StringBuffer(); sb.append("Restarting the node.\r\n"); out.write(sb.toString().getBytes()); out.flush(); n.getNodeStarter().restart(); } else if(uline.startsWith("QUIT") && n.directTMCI == this) { StringBuffer sb = new StringBuffer(); sb.append("QUIT command not available in console mode.\r\n"); out.write(sb.toString().getBytes()); out.flush(); return false; } else if(uline.startsWith("QUIT")) { StringBuffer sb = new StringBuffer(); sb.append("Closing connection.\r\n"); out.write(sb.toString().getBytes()); out.flush(); return true; } else if(uline.startsWith("HELP")) { printHeader(out); return false; } else if(uline.startsWith("PUT:") || (getCHKOnly = uline.startsWith("GETCHK:"))) { // Just insert to local store if(getCHKOnly) line = line.substring(("GETCHK:").length()); else line = line.substring("PUT:".length()); while(line.length() > 0 && line.charAt(0) == ' ') line = line.substring(1); while(line.length() > 0 && line.charAt(line.length()-1) == ' ') line = line.substring(0, line.length()-2); String content; if(line.length() > 0) { // Single line insert content = line; } else { // Multiple line insert content = readLines(reader, false); } // Insert byte[] data = content.getBytes(); InsertBlock block = new InsertBlock(new ArrayBucket(data), null, FreenetURI.EMPTY_CHK_URI); FreenetURI uri; try { uri = client.insert(block, getCHKOnly); } catch (InserterException e) { outsb.append("Error: "+e.getMessage()); if(e.uri != null) outsb.append("URI would have been: "+e.uri); int mode = e.getMode(); if(mode == InserterException.FATAL_ERRORS_IN_BLOCKS || mode == InserterException.TOO_MANY_RETRIES_IN_BLOCKS) { outsb.append("Splitfile-specific error:\n"+e.errorCodes.toVerboseString()); } return false; } outsb.append("URI: "+uri); //////////////////////////////////////////////////////////////////////////////// } else if(uline.startsWith("PUTDIR:") || (uline.startsWith("PUTSSKDIR")) || (getCHKOnly = uline.startsWith("GETCHKDIR:"))) { // TODO: Check for errors? boolean ssk = false; if(uline.startsWith("PUTDIR:")) line = line.substring("PUTDIR:".length()); else if(uline.startsWith("PUTSSKDIR:")) { line = line.substring("PUTSSKDIR:".length()); ssk = true; } else if(uline.startsWith("GETCHKDIR:")) line = line.substring(("GETCHKDIR:").length()); else { System.err.println("Impossible"); outsb.append("Impossible"); } line = line.trim(); if(line.length() < 1) { printHeader(out); return false; } String defaultFile = null; FreenetURI insertURI = FreenetURI.EMPTY_CHK_URI; // set default file? if (line.matches("^.*#.*$")) { String[] split = line.split("#"); if(ssk) { insertURI = new FreenetURI(split[0]); line = split[1]; if(split.length > 2) defaultFile = split[2]; } else { defaultFile = split[1]; line = split[0]; } } HashMap bucketsByName = makeBucketsByName(line); if(defaultFile == null) { String[] defaultFiles = new String[] { "index.html", "index.htm", "default.html", "default.htm" }; for(int i=0;i<defaultFiles.length;i++) { if(bucketsByName.containsKey(defaultFiles[i])) { defaultFile = defaultFiles[i]; break; } } } FreenetURI uri; try { uri = client.insertManifest(insertURI, bucketsByName, defaultFile); uri = uri.addMetaStrings(new String[] { "" }); outsb.append("======================================================="); outsb.append("URI: "+uri); outsb.append("======================================================="); } catch (InserterException e) { outsb.append("Finished insert but: "+e.getMessage()); if(e.uri != null) { uri = e.uri; uri = uri.addMetaStrings(new String[] { "" }); outsb.append("URI would have been: "+uri); } if(e.errorCodes != null) { outsb.append("Splitfile errors breakdown:"); outsb.append(e.errorCodes.toVerboseString()); } Logger.error(this, "Caught "+e, e); } } else if(uline.startsWith("PUTFILE:") || (getCHKOnly = uline.startsWith("GETCHKFILE:"))) { // Just insert to local store if(getCHKOnly) { line = line.substring(("GETCHKFILE:").length()); } else { line = line.substring("PUTFILE:".length()); } while(line.length() > 0 && line.charAt(0) == ' ') line = line.substring(1); while(line.length() > 0 && line.charAt(line.length()-1) == ' ') line = line.substring(0, line.length()-2); String mimeType = DefaultMIMETypes.guessMIMEType(line); if (line.indexOf('#') > -1) { String[] splittedLine = line.split("#"); line = splittedLine[0]; mimeType = splittedLine[1]; } File f = new File(line); outsb.append("Attempting to read file "+line); long startTime = System.currentTimeMillis(); try { if(!(f.exists() && f.canRead())) { throw new FileNotFoundException(); } // Guess MIME type outsb.append("Using MIME type: "+mimeType + "\r\n"); if(mimeType.equals(DefaultMIMETypes.DEFAULT_MIME_TYPE)) mimeType = ""; // don't need to override it FileBucket fb = new FileBucket(f, true, false, false, false); InsertBlock block = new InsertBlock(fb, new ClientMetadata(mimeType), FreenetURI.EMPTY_CHK_URI); startTime = System.currentTimeMillis(); FreenetURI uri = client.insert(block, getCHKOnly); // FIXME depends on CHK's still being renamable //uri = uri.setDocName(f.getName()); outsb.append("URI: "+uri+"\r\n"); long endTime = System.currentTimeMillis(); long sz = f.length(); double rate = 1000.0 * sz / (endTime-startTime); outsb.append("Upload rate: "+rate+" bytes / second\r\n"); } catch (FileNotFoundException e1) { outsb.append("File not found"); } catch (InserterException e) { outsb.append("Finished insert but: "+e.getMessage()); if(e.uri != null) { outsb.append("URI would have been: "+e.uri); long endTime = System.currentTimeMillis(); long sz = f.length(); double rate = 1000.0 * sz / (endTime-startTime); outsb.append("Upload rate: "+rate+" bytes / second"); } if(e.errorCodes != null) { outsb.append("Splitfile errors breakdown:"); outsb.append(e.errorCodes.toVerboseString()); } } catch (Throwable t) { outsb.append("Insert threw: "+t); t.printStackTrace(); } } else if(uline.startsWith("MAKESSK")) { InsertableClientSSK key = InsertableClientSSK.createRandom(r, ""); outsb.append("Insert URI: "+key.getInsertURI().toString(false)+"\r\n"); outsb.append("Request URI: "+key.getURI().toString(false)+"\r\n"); FreenetURI insertURI = key.getInsertURI().setDocName("testsite"); String fixedInsertURI = insertURI.toString(false); outsb.append("Note that you MUST add a filename to the end of the above URLs e.g.:\r\n"+fixedInsertURI+"\r\n"); outsb.append("Normally you will then do PUTSSKDIR:<insert URI>#<directory to upload>, for example:\r\nPUTSSKDIR:"+fixedInsertURI+"#directoryToUpload/"+"\r\n"); outsb.append("This will then produce a manifest site containing all the files, the default document can be accessed at\r\n"+key.getURI().toString(false)+"testsite/"); } else if(uline.startsWith("PUTSSK:")) { String cmd = line.substring("PUTSSK:".length()); cmd = cmd.trim(); if(cmd.indexOf(';') <= 0) { outsb.append("No target URI provided."); outsb.append("PUTSSK:<insert uri>;<url to redirect to>"); return false; } String[] split = cmd.split(";"); String insertURI = split[0]; String targetURI = split[1]; outsb.append("Insert URI: "+insertURI); outsb.append("Target URI: "+targetURI); FreenetURI insert = new FreenetURI(insertURI); FreenetURI target = new FreenetURI(targetURI); try { FreenetURI result = client.insertRedirect(insert, target); outsb.append("Successfully inserted to fetch URI: "+result); } catch (InserterException e) { outsb.append("Finished insert but: "+e.getMessage()); Logger.normal(this, "Error: "+e, e); if(e.uri != null) { outsb.append("URI would have been: "+e.uri); } } } else if(uline.startsWith("STATUS")) { SimpleFieldSet fs = n.exportPublicFieldSet(); outsb.append(fs.toString()); outsb.append(n.getStatus()); if(Version.buildNumber()<Version.highestSeenBuild){ outsb.append("The latest version is : "+Version.highestSeenBuild); } } else if(uline.startsWith("ADDPEER:") || uline.startsWith("CONNECT:")) { String key = null; if(uline.startsWith("CONNECT:")) { key = line.substring("CONNECT:".length()); } else { key = line.substring("ADDPEER:".length()); } while(key.length() > 0 && key.charAt(0) == ' ') key = key.substring(1); while(key.length() > 0 && key.charAt(key.length()-1) == ' ') key = key.substring(0, key.length()-2); String content = null; if(key.length() > 0) { // Filename BufferedReader in; outsb.append("Trying to add peer to node by noderef in "+key+"\r\n"); File f = new File(key); if (f.isFile()) { outsb.append("Given string seems to be a file, loading...\r\n"); in = new BufferedReader(new FileReader(f)); } else { outsb.append("Given string seems to be an URL, loading...\r\n"); URL url = new URL(key); URLConnection uc = url.openConnection(); in = new BufferedReader( new InputStreamReader(uc.getInputStream())); } content = readLines(in, true); in.close(); } else { content = readLines(reader, true); } if(content == null) return false; if(content.equals("")) return false; addPeer(content); } else if(uline.startsWith("NAME:")) { outsb.append("Node name currently: "+n.myName); String key = line.substring("NAME:".length()); while(key.length() > 0 && key.charAt(0) == ' ') key = key.substring(1); while(key.length() > 0 && key.charAt(key.length()-1) == ' ') key = key.substring(0, key.length()-2); outsb.append("New name: "+key); try{ n.config.get("node").getOption("name").setValue(key); Logger.minor(this, "Setting node.name to "+key); }catch(Exception e){ Logger.error(this, "Error setting node's name"); } n.config.store(); } else if(uline.startsWith("DISABLEPEER:")) { String nodeIdentifier = (line.substring("DISABLEPEER:".length())).trim(); if(!havePeer(nodeIdentifier)) { out.write(("no peer for "+nodeIdentifier+"\r\n").getBytes()); out.flush(); return false; } if(disablePeer(nodeIdentifier)) { outsb.append("disable succeeded for "+nodeIdentifier); } else { outsb.append("disable failed for "+nodeIdentifier); } outsb.append("\r\n"); } else if(uline.startsWith("ENABLEPEER:")) { String nodeIdentifier = (line.substring("ENABLEPEER:".length())).trim(); if(!havePeer(nodeIdentifier)) { out.write(("no peer for "+nodeIdentifier+"\r\n").getBytes()); out.flush(); return false; } if(enablePeer(nodeIdentifier)) { outsb.append("enable succeeded for "+nodeIdentifier); } else { outsb.append("enable failed for "+nodeIdentifier); } outsb.append("\r\n"); } else if(uline.startsWith("SETPEERLISTENONLY:")) { String nodeIdentifier = (line.substring("SETPEERLISTENONLY:".length())).trim(); if(!havePeer(nodeIdentifier)) { out.write(("no peer for "+nodeIdentifier+"\r\n").getBytes()); out.flush(); return false; } PeerNode pn = n.getPeerNode(nodeIdentifier); if(pn == null) { out.write(("n.getPeerNode() failed to get peer details for "+nodeIdentifier+"\r\n\r\n").getBytes()); out.flush(); return false; } pn.setListenOnly(true); outsb.append("set ListenOnly suceeded for "+nodeIdentifier+"\r\n"); } else if(uline.startsWith("UNSETPEERLISTENONLY:")) { String nodeIdentifier = (line.substring("UNSETPEERLISTENONLY:".length())).trim(); if(!havePeer(nodeIdentifier)) { out.write(("no peer for "+nodeIdentifier+"\r\n").getBytes()); out.flush(); return false; } PeerNode pn = n.getPeerNode(nodeIdentifier); if(pn == null) { out.write(("n.getPeerNode() failed to get peer details for "+nodeIdentifier+"\r\n\r\n").getBytes()); out.flush(); return false; } pn.setListenOnly(false); outsb.append("unset ListenOnly suceeded for "+nodeIdentifier+"\r\n"); } else if(uline.startsWith("HAVEPEER:")) { String nodeIdentifier = (line.substring("HAVEPEER:".length())).trim(); if(havePeer(nodeIdentifier)) { outsb.append("true for "+nodeIdentifier); } else { outsb.append("false for "+nodeIdentifier); } outsb.append("\r\n"); } else if(uline.startsWith("REMOVEPEER:") || uline.startsWith("DISCONNECT:")) { String nodeIdentifier = null; if(uline.startsWith("DISCONNECT:")) { nodeIdentifier = line.substring("DISCONNECT:".length()); } else { nodeIdentifier = line.substring("REMOVEPEER:".length()); } if(removePeer(nodeIdentifier)) { outsb.append("peer removed for "+nodeIdentifier); } else { outsb.append("peer removal failed for "+nodeIdentifier); } outsb.append("\r\n"); } else if(uline.startsWith("PEER:")) { String nodeIdentifier = (line.substring("PEER:".length())).trim(); if(!havePeer(nodeIdentifier)) { out.write(("no peer for "+nodeIdentifier+"\r\n").getBytes()); out.flush(); return false; } PeerNode pn = n.getPeerNode(nodeIdentifier); if(pn == null) { out.write(("n.getPeerNode() failed to get peer details for "+nodeIdentifier+"\r\n\r\n").getBytes()); out.flush(); return false; } SimpleFieldSet fs = pn.exportFieldSet(); outsb.append(fs.toString()); } else if(uline.startsWith("PEERWMD:")) { String nodeIdentifier = (line.substring("PEERWMD:".length())).trim(); if(!havePeer(nodeIdentifier)) { out.write(("no peer for "+nodeIdentifier+"\r\n").getBytes()); out.flush(); return false; } PeerNode pn = n.getPeerNode(nodeIdentifier); if(pn == null) { out.write(("n.getPeerNode() failed to get peer details for "+nodeIdentifier+"\r\n\r\n").getBytes()); out.flush(); return false; } SimpleFieldSet fs = pn.exportFieldSet(); SimpleFieldSet meta = pn.exportMetadataFieldSet(); if(!meta.isEmpty()) fs.put("metadata", meta); outsb.append(fs.toString()); } else if(uline.startsWith("PEERS")) { outsb.append(n.getTMCIPeerList()); outsb.append("PEERS done.\r\n"); } else if(uline.startsWith("PLUGLOAD:")) { if (line.substring("PLUGLOAD:".length()).trim().equals("?")) { outsb.append(" PLUGLOAD: pkg.Class - Load plugin from current classpath"); outsb.append(" PLUGLOAD: pkg.Class@file:<filename> - Load plugin from file"); outsb.append(" PLUGLOAD: pkg.Class@http://... - Load plugin from online file"); outsb.append(" PLUGLOAD: *@... - Load plugin from manifest in given jarfile"); outsb.append(""); outsb.append("If the filename/url ends with \".url\", it" + " is treated as a link, meaning that the first line is" + " the accual URL. Else it is loaded as classpath and" + " the class it loaded from it (meaning the file could" + " be either a jar-file or a class-file)."); outsb.append(""); outsb.append(" PLUGLOAD: pkg.Class* - Load newest version of plugin from http://downloads.freenetproject.org/alpha/plugins/"); outsb.append(""); } else n.pluginManager.startPlugin(line.substring("PLUGLOAD:".length()).trim()); //outsb.append("PLUGLOAD: <pkg.classname>[(@<URI to jarfile.jar>|<<URI to file containing real URI>|* (will load from freenets pluginpool))] - Load plugin."); } else if(uline.startsWith("PLUGLIST")) { outsb.append(n.pluginManager.dumpPlugins()); } else if(uline.startsWith("PLUGKILL:")) { n.pluginManager.killPlugin(line.substring("PLUGKILL:".length()).trim()); } else { if(uline.length() > 0) printHeader(out); } outsb.append("\r\n"); out.write(outsb.toString().getBytes()); out.flush(); return false; }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/TextModeClientInterface.java/buggy/src/freenet/node/TextModeClientInterface.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 1207, 1670, 12, 17947, 2514, 2949, 16, 8962, 596, 13, 1216, 1860, 288, 3639, 514, 980, 31, 3639, 6674, 596, 18366, 273, 394, 6674, 5621, 3639, 775, 288, 5411, 980, 273, 2949, 18, 896, 1670, 5621, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 596, 18366, 18, 6923, 2932, 858, 73, 2777, 7566, 15, 73, 9078, 2225, 1769, 5411, 2332, 18, 370, 18, 8222, 2932, 858, 73, 2777, 7566, 15, 73, 9078, 2225, 1769, 5411, 327, 638, 31, 3639, 289, 3639, 1250, 336, 1792, 47, 3386, 273, 629, 31, 3639, 309, 12, 1369, 422, 446, 13, 327, 638, 31, 3639, 514, 7493, 558, 273, 980, 18, 869, 8915, 5621, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 2189, 30, 13773, 1369, 1769, 3639, 309, 12, 332, 558, 18, 17514, 1190, 2932, 3264, 2773, 3719, 288, 5411, 368, 9363, 1240, 279, 498, 1024, 5411, 514, 498, 273, 980, 18, 28023, 2932, 3264, 2773, 18, 2469, 10663, 5411, 1323, 12, 856, 18, 2469, 1435, 405, 374, 597, 498, 18, 3001, 861, 12, 20, 13, 422, 296, 8624, 7734, 498, 273, 498, 18, 28023, 12, 21, 1769, 5411, 1323, 12, 856, 18, 2469, 1435, 405, 374, 597, 498, 18, 3001, 861, 12, 856, 18, 2469, 1435, 17, 21, 13, 422, 296, 8624, 7734, 498, 273, 498, 18, 28023, 12, 20, 16, 498, 18, 2469, 1435, 17, 22, 1769, 5411, 4242, 18, 6130, 12, 2211, 16, 315, 653, 30, 13773, 856, 1769, 5411, 478, 2842, 278, 3098, 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, 1207, 1670, 12, 17947, 2514, 2949, 16, 8962, 596, 13, 1216, 1860, 288, 3639, 514, 980, 31, 3639, 6674, 596, 18366, 273, 394, 6674, 5621, 3639, 775, 288, 5411, 980, 273, 2949, 18, 896, 1670, 5621, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 596, 18366, 18, 6923, 2932, 858, 73, 2777, 7566, 15, 73, 9078, 2225, 1769, 5411, 2332, 18, 370, 18, 8222, 2932, 858, 73, 2777, 7566, 15, 73, 9078, 2225, 1769, 5411, 327, 638, 31, 3639, 289, 3639, 1250, 336, 1792, 47, 3386, 273, 629, 31, 3639, 309, 12, 1369, 422, 446, 13, 327, 638, 31, 3639, 514, 7493, 558, 273, 980, 18, 869, 8915, 5621, 3639, 4242, 18, 17364, 12, 2211, 2 ]
private SortedVectorByNumber removeFirstAccordingToPriorities(int priority){
private int removeFirstAccordingToPriorities(int priority){
private SortedVectorByNumber removeFirstAccordingToPriorities(int priority){ SortedVectorByNumber result = null; short fuzz = -1, iteration = 0; synchronized (this) { if(choosenPriorityScheduler.equals(PRIORITY_SOFT)) fuzz = -1; else if(choosenPriorityScheduler.equals(PRIORITY_HARD)) fuzz = 0; } // we loop to ensure we try every possibilities ( n + 1) // // PRIO will do 0,1,2,3,4,5,6,0 // TWEAKED will do rand%6,0,1,2,3,4,5,6 while(iteration++ < RequestStarter.NUMBER_OF_PRIORITY_CLASSES + 1){ priority = fuzz<0 ? tweakedPrioritySelector[random.nextInt(tweakedPrioritySelector.length)] : prioritySelector[Math.abs(fuzz % prioritySelector.length)]; result = priorities[priority]; if((result != null) && !result.isEmpty()) { if(logMINOR) Logger.minor(this, "using priority : "+priority); return result; } if(logMINOR) Logger.debug(this, "Priority "+priority+" is null (fuzz = "+fuzz+")"); fuzz++; } //FIXME: implement NONE return null; }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/e2596af33a77ad5174e61e768ac168ffc2cf3e84/ClientRequestScheduler.java/clean/src/freenet/client/async/ClientRequestScheduler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 13717, 5018, 858, 1854, 1206, 3759, 9988, 4643, 774, 25355, 1961, 12, 474, 4394, 15329, 202, 202, 11739, 5018, 858, 1854, 563, 273, 446, 31, 9506, 202, 6620, 31839, 273, 300, 21, 16, 6532, 273, 374, 31, 202, 202, 22043, 261, 2211, 13, 288, 1082, 202, 430, 12, 2599, 8918, 8183, 11870, 18, 14963, 12, 19804, 67, 3584, 4464, 3719, 9506, 202, 74, 9510, 273, 300, 21, 31, 1082, 202, 12107, 309, 12, 2599, 8918, 8183, 11870, 18, 14963, 12, 19804, 67, 44, 8085, 3719, 9506, 202, 74, 9510, 273, 374, 31, 1082, 202, 97, 202, 202, 759, 732, 2798, 358, 3387, 732, 775, 3614, 28550, 261, 290, 397, 404, 13, 202, 202, 759, 202, 202, 759, 10365, 51, 903, 741, 374, 16, 21, 16, 22, 16, 23, 16, 24, 16, 25, 16, 26, 16, 20, 202, 202, 759, 399, 6950, 14607, 2056, 903, 741, 5605, 9, 26, 16, 20, 16, 21, 16, 22, 16, 23, 16, 24, 16, 25, 16, 26, 202, 202, 17523, 12, 16108, 9904, 411, 1567, 510, 14153, 18, 9931, 67, 3932, 67, 19804, 67, 27337, 397, 404, 15329, 1082, 202, 8457, 273, 31839, 32, 20, 692, 10810, 9477, 8183, 4320, 63, 9188, 18, 4285, 1702, 12, 88, 1814, 9477, 8183, 4320, 18, 2469, 25887, 294, 4394, 4320, 63, 10477, 18, 5113, 12, 74, 9510, 738, 4394, 4320, 18, 2469, 13, 15533, 1082, 202, 2088, 273, 26783, 63, 8457, 15533, 1082, 202, 430, 12443, 2088, 480, 446, 13, 597, 401, 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, 13717, 5018, 858, 1854, 1206, 3759, 9988, 4643, 774, 25355, 1961, 12, 474, 4394, 15329, 202, 202, 11739, 5018, 858, 1854, 563, 273, 446, 31, 9506, 202, 6620, 31839, 273, 300, 21, 16, 6532, 273, 374, 31, 202, 202, 22043, 261, 2211, 13, 288, 1082, 202, 430, 12, 2599, 8918, 8183, 11870, 18, 14963, 12, 19804, 67, 3584, 4464, 3719, 9506, 202, 74, 9510, 273, 300, 21, 31, 1082, 202, 12107, 309, 12, 2599, 8918, 8183, 11870, 18, 14963, 12, 19804, 67, 44, 8085, 3719, 9506, 202, 74, 9510, 273, 374, 31, 1082, 202, 97, 202, 202, 759, 732, 2798, 358, 3387, 732, 775, 3614, 28550, 261, 290, 397, 404, 13, 202, 202, 759, 202, 202, 2 ]
public void addWarning(String msg) { DriverManager.println(msg); // Add the warning to the chain if(firstWarning!=null) firstWarning.setNextWarning(new SQLWarning(msg)); else firstWarning = new SQLWarning(msg); // Now check for some specific messages // This is obsolete in 6.5, but I've left it in here so if we need to use this // technique again, we'll know where to place it. // // This is generated by the SQL "show datestyle" //if(msg.startsWith("NOTICE:") && msg.indexOf("DateStyle")>0) { //// 13 is the length off "DateStyle is " //msg = msg.substring(msg.indexOf("DateStyle is ")+13); // //for(int i=0;i<dateStyles.length;i+=2) //if(msg.startsWith(dateStyles[i])) //currentDateStyle=i+1; // this is the index of the format //} }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/d832cd2773997d717fa8a1773bc600ff10ce33eb/Connection.java/clean/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 6210, 12, 780, 1234, 13, 565, 288, 202, 4668, 1318, 18, 8222, 12, 3576, 1769, 202, 202, 759, 1436, 326, 3436, 358, 326, 2687, 202, 430, 12, 3645, 6210, 5, 33, 2011, 13, 202, 565, 1122, 6210, 18, 542, 2134, 6210, 12, 2704, 3063, 6210, 12, 3576, 10019, 202, 12107, 202, 565, 1122, 6210, 273, 394, 3063, 6210, 12, 3576, 1769, 202, 202, 759, 4494, 866, 364, 2690, 2923, 2743, 202, 202, 759, 1220, 353, 27191, 316, 1666, 18, 25, 16, 1496, 467, 8081, 2002, 518, 316, 2674, 1427, 309, 732, 1608, 358, 999, 333, 202, 759, 17734, 2161, 3382, 16, 732, 5614, 5055, 1625, 358, 3166, 518, 18, 202, 759, 202, 759, 1220, 353, 4374, 635, 326, 3063, 315, 4500, 1150, 19706, 6, 202, 759, 430, 12, 3576, 18, 17514, 1190, 2932, 20559, 2773, 13, 597, 1234, 18, 31806, 2932, 1626, 2885, 7923, 34, 20, 13, 288, 202, 1307, 5958, 353, 326, 769, 3397, 315, 1626, 2885, 353, 315, 202, 759, 3576, 273, 1234, 18, 28023, 12, 3576, 18, 31806, 2932, 1626, 2885, 353, 9369, 15, 3437, 1769, 202, 759, 282, 202, 759, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 712, 9725, 18, 2469, 31, 77, 15, 33, 22, 13, 202, 759, 430, 12, 3576, 18, 17514, 1190, 12, 712, 9725, 63, 77, 22643, 202, 759, 2972, 1626, 2885, 33, 77, 15, 21, 31, 368, 333, 353, 326, 770, 434, 326, 740, 202, 759, 97, 565, 289, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 6210, 12, 780, 1234, 13, 565, 288, 202, 4668, 1318, 18, 8222, 12, 3576, 1769, 202, 202, 759, 1436, 326, 3436, 358, 326, 2687, 202, 430, 12, 3645, 6210, 5, 33, 2011, 13, 202, 565, 1122, 6210, 18, 542, 2134, 6210, 12, 2704, 3063, 6210, 12, 3576, 10019, 202, 12107, 202, 565, 1122, 6210, 273, 394, 3063, 6210, 12, 3576, 1769, 202, 202, 759, 4494, 866, 364, 2690, 2923, 2743, 202, 202, 759, 1220, 353, 27191, 316, 1666, 18, 25, 16, 1496, 467, 8081, 2002, 518, 316, 2674, 1427, 309, 732, 1608, 358, 999, 333, 202, 759, 17734, 2161, 3382, 16, 732, 5614, 5055, 1625, 358, 3166, 518, 18, 202, 759, 202, 759, 1220, 353, 2 ]
"CheckBox.shadow", new ColorUIResource(Color.gray),
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x66, 0x66, 0x99); uiDefaults = new Object[] { "AbstractUndoableEdit.undoText", "Undo", "AbstractUndoableEdit.redoText", "Redo", "Button.background", new ColorUIResource(Color.lightGray), "Button.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { return BasicBorders.getButtonBorder(); } }, "Button.darkShadow", new ColorUIResource(Color.darkGray), "Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "SPACE", "pressed", "released SPACE", "released" }), "Button.focus", midPurple, "Button.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Button.foreground", new ColorUIResource(Color.black), "Button.highlight", new ColorUIResource(Color.white), "Button.light", new ColorUIResource(Color.lightGray.brighter()), "Button.margin", new InsetsUIResource(2, 2, 2, 2), "Button.shadow", new ColorUIResource(Color.gray), "Button.textIconGap", new Integer(4), "Button.textShiftOffset", new Integer(0), "CheckBox.background", new ColorUIResource(Color.lightGray), "CheckBox.border", new BorderUIResource.CompoundBorderUIResource(null, null), "CheckBox.darkShadow", new ColorUIResource(Color.darkGray), "CheckBox.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "SPACE", "pressed", "released SPACE", "released" }), "CheckBox.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBox.foreground", new ColorUIResource(Color.black), "CheckBox.highlight", new ColorUIResource(Color.white), "CheckBox.icon", BasicIconFactory.getCheckBoxIcon(), "CheckBox.light", new ColorUIResource(Color.lightGray.brighter()), "CheckBox.margin",new InsetsUIResource(2, 2, 2, 2), "CheckBox.shadow", new ColorUIResource(Color.gray), "CheckBox.textIconGap", new Integer(4), "CheckBox.textShiftOffset", new Integer(0), "CheckBoxMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.acceleratorForeground", new ColorUIResource(Color.black), "CheckBoxMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "CheckBoxMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "CheckBoxMenuItem.background", new ColorUIResource(Color.lightGray), "CheckBoxMenuItem.border", new BasicBorders.MarginBorder(), "CheckBoxMenuItem.borderPainted", Boolean.FALSE, "CheckBoxMenuItem.checkIcon", BasicIconFactory.getCheckBoxMenuItemIcon(), "CheckBoxMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.foreground", new ColorUIResource(Color.black), "CheckBoxMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "CheckBoxMenuItem.selectionBackground", new ColorUIResource(lightPurple), "CheckBoxMenuItem.selectionForeground", new ColorUIResource(Color.black), "ColorChooser.background", new ColorUIResource(Color.lightGray), "ColorChooser.cancelText", "Cancel", "ColorChooser.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ColorChooser.foreground", new ColorUIResource(Color.black), "ColorChooser.hsbBlueText", "B", "ColorChooser.hsbBrightnessText", "B", "ColorChooser.hsbGreenText", "G", "ColorChooser.hsbHueText", "H", "ColorChooser.hsbNameText", "HSB", "ColorChooser.hsbRedText", "R", "ColorChooser.hsbSaturationText", "S", "ColorChooser.okText", "OK", "ColorChooser.previewText", "Preview", "ColorChooser.resetText", "Reset", "ColorChooser.rgbBlueMnemonic", new Integer(66), "ColorChooser.rgbBlueText", "Blue", "ColorChooser.rgbGreenMnemonic", new Integer(71), "ColorChooser.rgbGreenText", "Green", "ColorChooser.rgbNameText", "RGB", "ColorChooser.rgbRedMnemonic", new Integer(82), "ColorChooser.rgbRedText", "Red", "ColorChooser.sampleText", "Sample Text Sample Text", "ColorChooser.swatchesDefaultRecentColor", new ColorUIResource(Color.lightGray), "ColorChooser.swatchesNameText", "Swatches", "ColorChooser.swatchesRecentSwatchSize", new Dimension(10, 10), "ColorChooser.swatchesRecentText", "Recent:", "ColorChooser.swatchesSwatchSize", new Dimension(10, 10), "ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "hidePopup", "PAGE_UP", "pageUpPassThrough", "PAGE_DOWN", "pageDownPassThrough", "HOME", "homePassThrough", "END", "endPassThrough" }), "ComboBox.background", new ColorUIResource(Color.white), "ComboBox.disabledBackground", new ColorUIResource(Color.lightGray), "ComboBox.disabledForeground", new ColorUIResource(Color.gray), "ComboBox.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ComboBox.foreground", new ColorUIResource(Color.black), "ComboBox.selectionBackground", new ColorUIResource(lightPurple), "ComboBox.selectionForeground", new ColorUIResource(Color.black), "Desktop.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "KP_LEFT", "left", "KP_RIGHT", "right", "ctrl F5", "restore", "LEFT", "left", "ctrl alt F6", "selectNextFrame", "UP", "up", "ctrl F6", "selectNextFrame", "RIGHT", "right", "DOWN", "down", "ctrl F7", "move", "ctrl F8", "resize", "ESCAPE", "escape", "ctrl TAB", "selectNextFrame", "ctrl F9", "minimize", "KP_UP", "up", "ctrl F4", "close", "KP_DOWN", "down", "ctrl F10", "maximize", "ctrl alt shift F6","selectPreviousFrame" }), "Desktop.background", new ColorUIResource(175, 163, 236), "DesktopIcon.border", new BorderUIResource.CompoundBorderUIResource(null, null), "EditorPane.background", new ColorUIResource(Color.white), "EditorPane.border", new BasicBorders.MarginBorder(), "EditorPane.caretBlinkRate", new Integer(500), "EditorPane.caretForeground", new ColorUIResource(Color.red), "EditorPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "EditorPane.foreground", new ColorUIResource(Color.black), "EditorPane.inactiveForeground", new ColorUIResource(Color.gray), "EditorPane.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0), "caret-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0), "caret-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_UP, 0), "page-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_DOWN, 0), "page-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "insert-break"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, 0), "insert-tab") }, "EditorPane.margin", new InsetsUIResource(3, 3, 3, 3), "EditorPane.selectionBackground", new ColorUIResource(Color.lightGray), "EditorPane.selectionForeground", new ColorUIResource(Color.white), "FileChooser.acceptAllFileFilterText", "All Files (*.*)", "FileChooser.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancelSelection" }), "FileChooser.cancelButtonMnemonic", new Integer(67), "FileChooser.cancelButtonText", "Cancel", "FileChooser.cancelButtonToolTipText", "Abort file chooser dialog", // XXX Don't use gif "FileChooser.detailsViewIcon", new IconUIResource(new ImageIcon("icons/DetailsView.gif")), "FileChooser.directoryDescriptionText", "Directory", "FileChooser.fileDescriptionText", "Generic File", "FileChooser.helpButtonMnemonic", new Integer(72), "FileChooser.helpButtonText", "Help", "FileChooser.helpButtonToolTipText", "FileChooser help", // XXX Don't use gif "FileChooser.homeFolderIcon", new IconUIResource(new ImageIcon("icons/HomeFolder.gif")), // XXX Don't use gif "FileChooser.listViewIcon", new IconUIResource(new ImageIcon("icons/ListView.gif")), "FileChooser.newFolderErrorSeparator", ":", "FileChooser.newFolderErrorText", "Error creating new folder", // XXX Don't use gif "FileChooser.newFolderIcon", new IconUIResource(new ImageIcon("icons/NewFolder.gif")), "FileChooser.openButtonMnemonic", new Integer(79), "FileChooser.openButtonText", "Open", "FileChooser.openButtonToolTipText", "Open selected file", "FileChooser.saveButtonMnemonic", new Integer(83), "FileChooser.saveButtonText", "Save", "FileChooser.saveButtonToolTipText", "Save selected file", // XXX Don't use gif "FileChooser.upFolderIcon", new IconUIResource(new ImageIcon("icons/UpFolder.gif")), "FileChooser.updateButtonMnemonic", new Integer(85), "FileChooser.updateButtonText", "Update", "FileChooser.updateButtonToolTipText", "Update directory listing", // XXX Don't use gif "FileView.computerIcon", new IconUIResource(new ImageIcon("icons/Computer.gif")), // XXX Don't use gif "FileView.directoryIcon", new IconUIResource(new ImageIcon("icons/Directory.gif")), // XXX Don't use gif "FileView.fileIcon", new IconUIResource(new ImageIcon("icons/File.gif")), // XXX Don't use gif "FileView.floppyDriveIcon", new IconUIResource(new ImageIcon("icons/Floppy.gif")), // XXX Don't use gif "FileView.hardDriveIcon", new IconUIResource(new ImageIcon("icons/HardDrive.gif")), "FocusManagerClassName", "TODO", "FormView.resetButtonText", "Reset", "FormView.submitButtonText", "Submit Query", "InternalFrame.activeTitleBackground", new ColorUIResource(162, 167, 241), "InternalFrame.activeTitleForeground", new ColorUIResource(Color.black), "InternalFrame.border", new BorderUIResource.CompoundBorderUIResource(null, null), "InternalFrame.closeIcon", BasicIconFactory.createEmptyFrameIcon(), // XXX Don't use gif "InternalFrame.icon", new IconUIResource(new ImageIcon("icons/JavaCup.gif")), "InternalFrame.iconifyIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.inactiveTitleBackground", new ColorUIResource(Color.lightGray), "InternalFrame.inactiveTitleForeground", new ColorUIResource(Color.black), "InternalFrame.maximizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.minimizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.titleFont", new FontUIResource("Dialog", Font.PLAIN, 12), "InternalFrame.windowBindings", new Object[] { "shift ESCAPE", "showSystemMenu", "ctrl SPACE", "showSystemMenu", "ESCAPE", "showSystemMenu" }, "Label.background", new ColorUIResource(Color.lightGray), "Label.disabledForeground", new ColorUIResource(Color.white), "Label.disabledShadow", new ColorUIResource(Color.gray), "Label.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Label.foreground", new ColorUIResource(Color.black), "List.background", new ColorUIResource(Color.white), "List.border", new BasicBorders.MarginBorder(), "List.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "scrollUp", "ctrl \\", "clearSelection", "PAGE_DOWN", "scrollDown", "shift PAGE_DOWN","scrollDownExtendSelection", "END", "selectLastRow", "HOME", "selectFirstRow", "shift END", "selectLastRowExtendSelection", "shift HOME", "selectFirstRowExtendSelection", "UP", "selectPreviousRow", "ctrl /", "selectAll", "ctrl A", "selectAll", "DOWN", "selectNextRow", "shift UP", "selectPreviousRowExtendSelection", "ctrl SPACE", "selectNextRowExtendSelection", "shift DOWN", "selectNextRowExtendSelection", "KP_UP", "selectPreviousRow", "shift PAGE_UP","scrollUpExtendSelection", "KP_DOWN", "selectNextRow" }), "List.foreground", new ColorUIResource(Color.black), "List.selectionBackground", new ColorUIResource(0xCC, 0xCC, 0xFF), "List.selectionForeground", new ColorUIResource(Color.black), "Menu.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.acceleratorForeground", new ColorUIResource(Color.black), "Menu.acceleratorSelectionForeground", new ColorUIResource(Color.white), "Menu.arrowIcon", BasicIconFactory.getMenuArrowIcon(), "Menu.background", new ColorUIResource(Color.lightGray), "Menu.border", new BasicBorders.MarginBorder(), "Menu.borderPainted", Boolean.FALSE, "Menu.checkIcon", BasicIconFactory.getMenuItemCheckIcon(), "Menu.consumesTabs", Boolean.TRUE, "Menu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.foreground", new ColorUIResource(Color.black), "Menu.margin", new InsetsUIResource(2, 2, 2, 2), "Menu.selectedWindowInputMapBindings", new Object[] { "ESCAPE", "cancel", "DOWN", "selectNext", "KP_DOWN", "selectNext", "UP", "selectPrevious", "KP_UP", "selectPrevious", "LEFT", "selectParent", "KP_LEFT", "selectParent", "RIGHT", "selectChild", "KP_RIGHT", "selectChild", "ENTER", "return", "SPACE", "return" }, "Menu.selectionBackground", new ColorUIResource(lightPurple), "Menu.selectionForeground", new ColorUIResource(Color.black), "MenuBar.background", new ColorUIResource(Color.lightGray), "MenuBar.border", new BasicBorders.MenuBarBorder(null, null), "MenuBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuBar.foreground", new ColorUIResource(Color.black), "MenuBar.windowBindings", new Object[] { "F10", "takeFocus" }, "MenuItem.acceleratorDelimiter", "-", "MenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.acceleratorForeground", new ColorUIResource(Color.black), "MenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "MenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "MenuItem.background", new ColorUIResource(Color.lightGray), "MenuItem.border", new BasicBorders.MarginBorder(), "MenuItem.borderPainted", Boolean.FALSE, "MenuItem.checkIcon", BasicIconFactory.getMenuItemCheckIcon(), "MenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.foreground", new ColorUIResource(Color.black), "MenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "MenuItem.selectionBackground", new ColorUIResource(lightPurple), "MenuItem.selectionForeground", new ColorUIResource(Color.black), "OptionPane.background", new ColorUIResource(Color.lightGray), "OptionPane.border", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.cancelButtonText", "Cancel", // XXX Don't use gif "OptionPane.errorIcon", new IconUIResource(new ImageIcon("icons/Error.gif")), "OptionPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "OptionPane.foreground", new ColorUIResource(Color.black), // XXX Don't use gif "OptionPane.informationIcon", new IconUIResource(new ImageIcon("icons/Inform.gif")), "OptionPane.messageAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.messageForeground", new ColorUIResource(Color.black), "OptionPane.minimumSize", new DimensionUIResource(262, 90), "OptionPane.noButtonText", "No", "OptionPane.okButtonText", "OK", // XXX Don't use gif "OptionPane.questionIcon", new IconUIResource(new ImageIcon("icons/Question.gif")), // XXX Don't use gif "OptionPane.warningIcon", new IconUIResource(new ImageIcon("icons/Warn.gif")), "OptionPane.windowBindings", new Object[] { "ESCAPE", "close" }, "OptionPane.yesButtonText", "Yes", "Panel.background", new ColorUIResource(Color.lightGray), "Panel.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Panel.foreground", new ColorUIResource(Color.black), "PasswordField.background", new ColorUIResource(Color.white), "PasswordField.border", new BasicBorders.FieldBorder(null, null, null, null), "PasswordField.caretBlinkRate", new Integer(500), "PasswordField.caretForeground", new ColorUIResource(Color.black), "PasswordField.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "PasswordField.foreground", new ColorUIResource(Color.black), "PasswordField.inactiveForeground", new ColorUIResource(Color.gray), "PasswordField.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "notify-field-accept")}, "PasswordField.margin", new InsetsUIResource(0, 0, 0, 0), "PasswordField.selectionBackground", new ColorUIResource(lightPurple), "PasswordField.selectionForeground", new ColorUIResource(Color.black), "PopupMenu.background", new ColorUIResource(Color.lightGray), "PopupMenu.border", new BorderUIResource.BevelBorderUIResource(0), "PopupMenu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "PopupMenu.foreground", new ColorUIResource(Color.black), "ProgressBar.background", new ColorUIResource(Color.lightGray), "ProgressBar.border", new BorderUIResource.LineBorderUIResource(Color.darkGray), "ProgressBar.cellLength", new Integer(1), "ProgressBar.cellSpacing", new Integer(0), "ProgressBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ProgressBar.foreground", new ColorUIResource(midPurple), "ProgressBar.selectionBackground", new ColorUIResource(lightPurple), "ProgressBar.selectionForeground", new ColorUIResource(Color.lightGray), "ProgressBar.repaintInterval", new Integer(250), "ProgressBar.cycleTime", new Integer(6000), "RadioButton.background", new ColorUIResource(Color.lightGray), "RadioButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "RadioButton.darkShadow", new ColorUIResource(Color.darkGray), "RadioButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "SPACE", "pressed", "released SPACE", "released" }), "RadioButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButton.foreground", new ColorUIResource(Color.black), "RadioButton.highlight", new ColorUIResource(Color.white), "RadioButton.icon", BasicIconFactory.getRadioButtonIcon(), "RadioButton.light", new ColorUIResource(Color.lightGray.brighter()), "RadioButton.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButton.shadow", new ColorUIResource(Color.gray), "RadioButton.textIconGap", new Integer(4), "RadioButton.textShiftOffset", new Integer(0), "RadioButtonMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.acceleratorForeground", new ColorUIResource(Color.black), "RadioButtonMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "RadioButtonMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "RadioButtonMenuItem.background", new ColorUIResource(Color.lightGray), "RadioButtonMenuItem.border", new BasicBorders.MarginBorder(), "RadioButtonMenuItem.borderPainted", Boolean.FALSE, "RadioButtonMenuItem.checkIcon", BasicIconFactory.getRadioButtonMenuItemIcon(), "RadioButtonMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.foreground", new ColorUIResource(Color.black), "RadioButtonMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButtonMenuItem.selectionBackground", new ColorUIResource(lightPurple), "RadioButtonMenuItem.selectionForeground", new ColorUIResource(Color.black), "RootPane.defaultButtonWindowKeyBindings", new Object[] { "ENTER", "press", "released ENTER", "release", "ctrl ENTER", "press", "ctrl released ENTER", "release" }, "ScrollBar.background", new ColorUIResource(224, 224, 224), "ScrollBar.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "negativeBlockIncrement", "PAGE_DOWN", "positiveBlockIncrement", "END", "maxScroll", "HOME", "minScroll", "LEFT", "positiveUnitIncrement", "KP_UP", "negativeUnitIncrement", "KP_DOWN", "positiveUnitIncrement", "UP", "negativeUnitIncrement", "RIGHT", "negativeUnitIncrement", "KP_LEFT", "positiveUnitIncrement", "DOWN", "positiveUnitIncrement", "KP_RIGHT", "negativeUnitIncrement" }), "ScrollBar.foreground", new ColorUIResource(Color.lightGray), "ScrollBar.maximumThumbSize", new DimensionUIResource(4096, 4096), "ScrollBar.minimumThumbSize", new DimensionUIResource(8, 8), "ScrollBar.thumb", new ColorUIResource(Color.lightGray), "ScrollBar.thumbDarkShadow", new ColorUIResource(Color.black), "ScrollBar.thumbHighlight", new ColorUIResource(Color.white), "ScrollBar.thumbLightShadow", new ColorUIResource(Color.gray), "ScrollBar.track", new ColorUIResource(224, 224, 224), "ScrollBar.trackHighlight", new ColorUIResource(Color.black), "ScrollPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "scrollUp", "KP_LEFT", "unitScrollLeft", "ctrl PAGE_DOWN","scrollRight", "PAGE_DOWN", "scrollDown", "KP_RIGHT", "unitScrollRight", "LEFT", "unitScrollLeft", "ctrl END", "scrollEnd", "UP", "unitScrollUp", "RIGHT", "unitScrollRight", "DOWN", "unitScrollDown", "ctrl HOME", "scrollHome", "ctrl PAGE_UP", "scrollLeft", "KP_UP", "unitScrollUp", "KP_DOWN", "unitScrollDown" }), "ScrollPane.background", new ColorUIResource(Color.lightGray), "ScrollPane.border", new BorderUIResource.EtchedBorderUIResource(), "ScrollPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ScrollPane.foreground", new ColorUIResource(Color.black), "Separator.background", new ColorUIResource(Color.white), "Separator.foreground", new ColorUIResource(Color.gray), "Separator.highlight", new ColorUIResource(Color.white), "Separator.shadow", new ColorUIResource(Color.gray), "Slider.background", new ColorUIResource(Color.lightGray), "Slider.focus", new ColorUIResource(Color.black), "Slider.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "positiveBlockIncrement", "PAGE_DOWN", "negativeBlockIncrement", "END", "maxScroll", "HOME", "minScroll", "LEFT", "negativeUnitIncrement", "KP_UP", "positiveUnitIncrement", "KP_DOWN", "negativeUnitIncrement", "UP", "positiveUnitIncrement", "RIGHT", "positiveUnitIncrement", "KP_LEFT", "negativeUnitIncrement", "DOWN", "negativeUnitIncrement", "KP_RIGHT", "positiveUnitIncrement" }), "Slider.focusInsets", new InsetsUIResource(2, 2, 2, 2), "Slider.foreground", new ColorUIResource(Color.lightGray), "Slider.highlight", new ColorUIResource(Color.white), "Slider.shadow", new ColorUIResource(Color.gray), "Slider.thumbHeight", new Integer(20), "Slider.thumbWidth", new Integer(10), "Slider.tickHeight", new Integer(12), "SplitPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "F6", "toggleFocus", "F8", "startResize", "END", "selectMax", "HOME", "selectMin", "LEFT", "negativeIncremnent", "KP_UP", "negativeIncrement", "KP_DOWN", "positiveIncrement", "UP", "negativeIncrement", "RIGHT", "positiveIncrement", "KP_LEFT", "negativeIncrement", "DOWN", "positiveIncrement", "KP_RIGHT", "positiveIncrement" }), "SplitPane.background", new ColorUIResource(Color.lightGray), "SplitPane.border", new BasicBorders.SplitPaneBorder(null, null), "SplitPane.dividerSize", new Integer(10), "SplitPane.highlight", new ColorUIResource(Color.white), "SplitPane.shadow", new ColorUIResource(Color.gray), "TabbedPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN","navigatePageDown", "ctrl PAGE_UP", "navigatePageUp", "ctrl UP", "requestFocus", "ctrl KP_UP", "requestFocus" }), "TabbedPane.background", new ColorUIResource(Color.LIGHT_GRAY), "TabbedPane.contentBorderInsets", new InsetsUIResource(2, 2, 3, 3), "TabbedPane.darkShadow", new ColorUIResource(Color.darkGray), "TabbedPane.focus", new ColorUIResource(Color.black), "TabbedPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "LEFT", "navigateLeft", "KP_UP", "navigateUp", "ctrl DOWN", "requestFocusForVisibleComponent", "UP", "navigateUp", "KP_DOWN", "navigateDown", "RIGHT", "navigateRight", "KP_LEFT", "navigateLeft", "ctrl KP_DOWN", "requestFocusForVisibleComponent", "KP_RIGHT", "navigateRight", "DOWN", "navigateDown" }), "TabbedPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TabbedPane.foreground", new ColorUIResource(Color.black), "TabbedPane.highlight", new ColorUIResource(Color.lightGray), "TabbedPane.lightHighlight", new ColorUIResource(Color.white), "TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1), "TabbedPane.shadow", new ColorUIResource(Color.gray), "TabbedPane.tabbedPaneTabAreaInsets", new InsetsUIResource(3, 2, 1, 2), "TabbedPane.tabbedPaneTabInsets", new InsetsUIResource(1, 4, 1, 4), "TabbedPane.tabbedPaneContentBorderInsets", new InsetsUIResource(3, 2, 1, 2), "TabbedPane.tabbedPaneTabPadInsets", new InsetsUIResource(1, 1, 1, 1), "TabbedPane.tabRunOverlay", new Integer(2), "TabbedPane.textIconGap", new Integer(4), "Table.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "shift PAGE_DOWN","scrollDownExtendSelection", "PAGE_DOWN", "scrollDownChangeSelection", "END", "selectLastColumn", "shift END", "selectLastColumnExtendSelection", "HOME", "selectFirstColumn", "ctrl END", "selectLastRow", "ctrl shift END","selectLastRowExtendSelection", "LEFT", "selectPreviousColumn", "shift HOME", "selectFirstColumnExtendSelection", "UP", "selectPreviousRow", "RIGHT", "selectNextColumn", "ctrl HOME", "selectFirstRow", "shift LEFT", "selectPreviousColumnExtendSelection", "DOWN", "selectNextRow", "ctrl shift HOME","selectFirstRowExtendSelection", "shift UP", "selectPreviousRowExtendSelection", "F2", "startEditing", "shift RIGHT", "selectNextColumnExtendSelection", "TAB", "selectNextColumnCell", "shift DOWN", "selectNextRowExtendSelection", "ENTER", "selectNextRowCell", "KP_UP", "selectPreviousRow", "KP_DOWN", "selectNextRow", "KP_LEFT", "selectPreviousColumn", "KP_RIGHT", "selectNextColumn", "shift TAB", "selectPreviousColumnCell", "ctrl A", "selectAll", "shift ENTER", "selectPreviousRowCell", "shift KP_DOWN", "selectNextRowExtendSelection", "shift KP_LEFT", "selectPreviousColumnExtendSelection", "ESCAPE", "cancel", "ctrl shift PAGE_UP", "scrollRightExtendSelection", "shift KP_RIGHT", " selectNextColumnExtendSelection", "ctrl PAGE_UP", "scrollLeftChangeSelection", "shift PAGE_UP", "scrollUpExtendSelection", "ctrl shift PAGE_DOWN", "scrollLeftExtendSelection", "ctrl PAGE_DOWN", "scrollRightChangeSelection", "PAGE_UP", "scrollUpChangeSelection" }), "Table.background", new ColorUIResource(Color.white), "Table.focusCellBackground", new ColorUIResource(Color.white), "Table.focusCellForeground", new ColorUIResource(Color.black), "Table.focusCellHighlightBorder", new BorderUIResource.LineBorderUIResource(Color.white), "Table.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Table.foreground", new ColorUIResource(Color.black), "Table.gridColor", new ColorUIResource(Color.gray), "Table.scrollPaneBorder", new BorderUIResource.BevelBorderUIResource(0), "Table.selectionBackground", new ColorUIResource(lightPurple), "Table.selectionForeground", new ColorUIResource(Color.black), "TableHeader.background", new ColorUIResource(Color.lightGray), "TableHeader.cellBorder", new BorderUIResource.BevelBorderUIResource(0), "TableHeader.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TableHeader.foreground", new ColorUIResource(Color.black), "TextArea.background", new ColorUIResource(Color.white), "TextArea.border", new BasicBorders.MarginBorder(), "TextArea.caretBlinkRate", new Integer(500), "TextArea.caretForeground", new ColorUIResource(Color.black), "TextArea.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "TextArea.foreground", new ColorUIResource(Color.black), "TextArea.inactiveForeground", new ColorUIResource(Color.gray), "TextArea.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0), "caret-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0), "caret-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_UP, 0), "page-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_DOWN, 0), "page-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "insert-break"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, 0), "insert-tab") }, "TextArea.margin", new InsetsUIResource(0, 0, 0, 0), "TextArea.selectionBackground", new ColorUIResource(lightPurple), "TextArea.selectionForeground", new ColorUIResource(Color.black), "TextField.background", new ColorUIResource(Color.white), "TextField.border", new BasicBorders.FieldBorder(null, null, null, null), "TextField.caretBlinkRate", new Integer(500), "TextField.caretForeground", new ColorUIResource(Color.black), "TextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "TextField.foreground", new ColorUIResource(Color.black), "TextField.inactiveForeground", new ColorUIResource(Color.gray), "TextField.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "notify-field-accept"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_DOWN_MASK), "selection-backward"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, InputEvent.SHIFT_DOWN_MASK), "selection-forward"), }, "TextField.margin", new InsetsUIResource(0, 0, 0, 0), "TextField.selectionBackground", new ColorUIResource(lightPurple), "TextField.selectionForeground", new ColorUIResource(Color.black), "TextPane.background", new ColorUIResource(Color.white), "TextPane.border", new BasicBorders.MarginBorder(), "TextPane.caretBlinkRate", new Integer(500), "TextPane.caretForeground", new ColorUIResource(Color.black), "TextPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "TextPane.foreground", new ColorUIResource(Color.black), "TextPane.inactiveForeground", new ColorUIResource(Color.gray), "TextPane.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0), "caret-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0), "caret-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_UP, 0), "page-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_DOWN, 0), "page-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "insert-break"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, 0), "insert-tab") }, "TextPane.margin", new InsetsUIResource(3, 3, 3, 3), "TextPane.selectionBackground", new ColorUIResource(Color.lightGray), "TextPane.selectionForeground", new ColorUIResource(Color.white), "TitledBorder.border", new BorderUIResource.EtchedBorderUIResource(), "TitledBorder.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TitledBorder.titleColor", new ColorUIResource(Color.black), "ToggleButton.background", new ColorUIResource(Color.lightGray), "ToggleButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "ToggleButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "SPACE", "pressed", "released SPACE", "released" }), "ToggleButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToggleButton.foreground", new ColorUIResource(Color.black), "ToggleButton.margin", new InsetsUIResource(2, 14, 2, 14), "ToggleButton.textIconGap", new Integer(4), "ToggleButton.textShiftOffset", new Integer(0), "ToolBar.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "UP", "navigateUp", "KP_UP", "navigateUp", "DOWN", "navigateDown", "KP_DOWN", "navigateDown", "LEFT", "navigateLeft", "KP_LEFT", "navigateLeft", "RIGHT", "navigateRight", "KP_RIGHT", "navigateRight" }), "ToolBar.background", new ColorUIResource(Color.lightGray), "ToolBar.border", new BorderUIResource.EtchedBorderUIResource(), "ToolBar.dockingBackground", new ColorUIResource(Color.lightGray), "ToolBar.dockingForeground", new ColorUIResource(11, 30, 143), "ToolBar.floatingBackground", new ColorUIResource(Color.lightGray), "ToolBar.floatingForeground", new ColorUIResource(113, 171, 212), "ToolBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToolBar.foreground", new ColorUIResource(Color.black), "ToolBar.separatorSize", new DimensionUIResource(20, 20), "ToolTip.background", new ColorUIResource(122, 178, 241), "ToolTip.border", new BorderUIResource.LineBorderUIResource(Color.lightGray), "ToolTip.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ToolTip.foreground", new ColorUIResource(Color.black), "Tree.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancel" }), "Tree.background", new ColorUIResource(Color.white), "Tree.changeSelectionWithFocus", Boolean.TRUE, "Tree.closedIcon", new IconUIResource(new ImageIcon("icons/TreeClosed.png")), "Tree.collapsedIcon", new IconUIResource(new ImageIcon("icons/TreeCollapsed.png")), "Tree.drawsFocusBorderAroundIcon", Boolean.FALSE, "Tree.editorBorder", new BorderUIResource.LineBorderUIResource(Color.lightGray), "Tree.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "shift PAGE_DOWN", "scrollDownExtendSelection", "PAGE_DOWN", "scrollDownChangeSelection", "END", "selectLast", "ctrl KP_UP", "selectPreviousChangeLead", "shift END", "selectLastExtendSelection", "HOME", "selectFirst", "ctrl END", "selectLastChangeLead", "ctrl /", "selectAll", "LEFT", "selectParent", "shift HOME", "selectFirstExtendSelection", "UP", "selectPrevious", "ctrl KP_DOWN", "selectNextChangeLead", "RIGHT", "selectChild", "ctrl HOME", "selectFirstChangeLead", "DOWN", "selectNext", "ctrl KP_LEFT", "scrollLeft", "shift UP", "selectPreviousExtendSelection", "F2", "startEditing", "ctrl LEFT", "scrollLeft", "ctrl KP_RIGHT","scrollRight", "ctrl UP", "selectPreviousChangeLead", "shift DOWN", "selectNextExtendSelection", "ENTER", "toggle", "KP_UP", "selectPrevious", "KP_DOWN", "selectNext", "ctrl RIGHT", "scrollRight", "KP_LEFT", "selectParent", "KP_RIGHT", "selectChild", "ctrl DOWN", "selectNextChangeLead", "ctrl A", "selectAll", "shift KP_UP", "selectPreviousExtendSelection", "shift KP_DOWN","selectNextExtendSelection", "ctrl SPACE", "toggleSelectionPreserveAnchor", "ctrl shift PAGE_UP", "scrollUpExtendSelection", "ctrl \\", "clearSelection", "shift SPACE", "extendSelection", "ctrl PAGE_UP", "scrollUpChangeLead", "shift PAGE_UP","scrollUpExtendSelection", "SPACE", "toggleSelectionPreserveAnchor", "ctrl shift PAGE_DOWN", "scrollDownExtendSelection", "PAGE_UP", "scrollUpChangeSelection", "ctrl PAGE_DOWN", "scrollDownChangeLead" }), "Tree.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Tree.expandedIcon", new IconUIResource(new ImageIcon("icons/TreeExpanded.png")), "Tree.foreground", new ColorUIResource(Color.black), "Tree.hash", new ColorUIResource(Color.gray), "Tree.leafIcon", new IconUIResource(new ImageIcon("icons/TreeLeaf.png")), "Tree.leftChildIndent", new Integer(7), "Tree.openIcon", new IconUIResource(new ImageIcon("icons/TreeOpen.png")), "Tree.rightChildIndent", new Integer(13), "Tree.rowHeight", new Integer(16), "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.selectionBackground", new ColorUIResource(lightPurple), "Tree.selectionBorderColor", new ColorUIResource(Color.black), "Tree.selectionForeground", new ColorUIResource(Color.black), "Tree.textBackground", new ColorUIResource(Color.lightGray), "Tree.textForeground", new ColorUIResource(Color.black), "Viewport.background", new ColorUIResource(Color.lightGray), "Viewport.font", new FontUIResource("Dialog", Font.PLAIN, 12), }; defaults.putDefaults(uiDefaults); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/e33e5337028d8ae3f4321ecfa438dff78278d9af/BasicLookAndFeel.java/clean/libraries/javalib/javax/swing/plaf/basic/BasicLookAndFeel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 1841, 7019, 12, 3060, 73, 643, 87, 3467, 13, 225, 288, 565, 1033, 8526, 5915, 7019, 31, 3639, 368, 1021, 805, 10176, 471, 5782, 292, 10555, 358, 999, 4259, 8925, 5405, 1802, 699, 16601, 565, 368, 1110, 773, 4492, 18, 565, 5563, 9052, 10262, 1802, 273, 394, 5563, 12, 20, 92, 6743, 16, 374, 92, 6743, 16, 374, 6356, 1769, 565, 5563, 7501, 10262, 1802, 273, 394, 5563, 12, 20, 92, 2733, 16, 374, 92, 2733, 16, 374, 92, 6743, 1769, 565, 5563, 23433, 10262, 1802, 273, 394, 5563, 12, 20, 92, 6028, 16, 374, 92, 6028, 16, 374, 92, 2733, 1769, 565, 5915, 7019, 273, 394, 1033, 8526, 288, 1377, 315, 7469, 31224, 429, 4666, 18, 31226, 1528, 3113, 315, 31224, 3113, 1377, 315, 7469, 31224, 429, 4666, 18, 1118, 83, 1528, 3113, 315, 3715, 83, 3113, 1377, 315, 3616, 18, 9342, 3113, 394, 5563, 5370, 1420, 12, 2957, 18, 5099, 23521, 3631, 1377, 315, 3616, 18, 8815, 3113, 1377, 394, 10034, 73, 643, 87, 18, 14443, 620, 1435, 4202, 288, 3639, 1071, 1033, 752, 620, 12, 3060, 73, 643, 87, 1014, 13, 3639, 288, 1850, 327, 7651, 21621, 18, 588, 3616, 8107, 5621, 3639, 289, 1377, 19879, 1377, 315, 3616, 18, 25045, 12957, 3113, 394, 5563, 5370, 1420, 12, 2957, 18, 25045, 23521, 3631, 1377, 315, 3616, 18, 13923, 1210, 863, 3113, 394, 10034, 73, 643, 87, 18, 14443, 1210, 863, 12, 2704, 1033, 8526, 288, 3639, 315, 6616, 3113, 225, 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, 1841, 7019, 12, 3060, 73, 643, 87, 3467, 13, 225, 288, 565, 1033, 8526, 5915, 7019, 31, 3639, 368, 1021, 805, 10176, 471, 5782, 292, 10555, 358, 999, 4259, 8925, 5405, 1802, 699, 16601, 565, 368, 1110, 773, 4492, 18, 565, 5563, 9052, 10262, 1802, 273, 394, 5563, 12, 20, 92, 6743, 16, 374, 92, 6743, 16, 374, 6356, 1769, 565, 5563, 7501, 10262, 1802, 273, 394, 5563, 12, 20, 92, 2733, 16, 374, 92, 2733, 16, 374, 92, 6743, 1769, 565, 5563, 23433, 10262, 1802, 273, 394, 5563, 12, 20, 92, 6028, 16, 374, 92, 6028, 16, 374, 92, 2733, 1769, 565, 5915, 7019, 273, 394, 1033, 8526, 288, 1377, 315, 7469, 31224, 429, 2 ]
GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
GLCanvas canvas = new GLCanvas();
public static void main(String[] args) { Frame frame = new Frame("Translate2 Test"); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); frame.setLayout(new BorderLayout()); GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities()); canvas.setSize(400, 400); canvas.addGLEventListener(new Listener()); frame.add(canvas, BorderLayout.CENTER); frame.pack(); frame.show(); }
6495 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6495/c01ade1249ca5175510a4d6a699ac0772c6b11d9/TestTranslate2.java/clean/src/gleem/TestTranslate2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 565, 8058, 2623, 273, 394, 8058, 2932, 12818, 22, 7766, 8863, 565, 2623, 18, 1289, 3829, 2223, 12, 2704, 6076, 4216, 1435, 288, 3639, 1071, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 1850, 2332, 18, 8593, 12, 20, 1769, 3639, 289, 1377, 15549, 565, 2623, 18, 542, 3744, 12, 2704, 30814, 10663, 565, 10252, 12971, 5953, 273, 1377, 10252, 16149, 1733, 18, 588, 1733, 7675, 2640, 11261, 12971, 12, 2704, 10252, 14012, 10663, 565, 5953, 18, 542, 1225, 12, 16010, 16, 7409, 1769, 565, 5953, 18, 1289, 43, 900, 616, 2223, 12, 2704, 10652, 10663, 565, 2623, 18, 1289, 12, 15424, 16, 30814, 18, 19835, 1769, 565, 2623, 18, 2920, 5621, 565, 2623, 18, 4500, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 565, 8058, 2623, 273, 394, 8058, 2932, 12818, 22, 7766, 8863, 565, 2623, 18, 1289, 3829, 2223, 12, 2704, 6076, 4216, 1435, 288, 3639, 1071, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 1850, 2332, 18, 8593, 12, 20, 1769, 3639, 289, 1377, 15549, 565, 2623, 18, 542, 3744, 12, 2704, 30814, 10663, 565, 10252, 12971, 5953, 273, 1377, 10252, 16149, 1733, 18, 588, 1733, 7675, 2640, 11261, 12971, 12, 2704, 10252, 14012, 10663, 565, 5953, 18, 542, 1225, 12, 16010, 16, 7409, 1769, 565, 5953, 18, 1289, 43, 900, 616, 2223, 12, 2704, 10652, 10663, 565, 2623, 18, 1289, 12, 15424, 16, 30814, 18, 19835, 1769, 2 ]
" agents=" + agentStatusToString(nsr.getAgentStatus()) +
" agents=" + nsr.getAgentStatus().length +
private void updateAndSendNodeStatus() { if (model != null) { String communityName = model.getCommunityName(); // Get status of local agents AgentStatus agentStatus[] = getLocalAgentStatus(communityName); // Dissemminate status to peer managers if (nodeStatusRelay != null) { NodeStatusRelayImpl nsr = (NodeStatusRelayImpl)nodeStatusRelay. getContent(); nsr.setAgentStatus(agentStatus); nsr.setLeaderVote(model.getLeaderVote(NODE_NAME)); Set targets = getHealthMonitorPeers(nsr.getCommunityName()); for (Iterator it1 = targets.iterator(); it1.hasNext(); ) { MessageAddress target = (MessageAddress)it1.next(); if (!target.equals(agentId)) nodeStatusRelay.addTarget(target); } logger.debug("publishChange NodeStatusRelay:" + " source=" + nsr.getSource() + " targets=" + targetsToString(nodeStatusRelay.getTargets()) + " community=" + nsr.getCommunityName() + //" agents=" + nsr.getAgentStatus().length + " agents=" + agentStatusToString(nsr.getAgentStatus()) + " leaderVote=" + nsr.getLeaderVote()); blackboard.openTransaction(); blackboard.publishChange(nodeStatusRelay); blackboard.closeTransaction(); } else { logger.info("RelayAdapter not found for community " + communityName); } } else { //logger.info("Community Status Model is null"); } }
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/be9b7e7f53c013c470225f2379023deb13198c55/NodeHealthMonitorPlugin.java/buggy/mgmt_agent/src/org/cougaar/tools/robustness/ma/plugins/NodeHealthMonitorPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1089, 1876, 3826, 907, 1482, 1435, 288, 565, 309, 261, 2284, 480, 446, 13, 288, 1377, 514, 19833, 461, 273, 938, 18, 588, 12136, 13352, 461, 5621, 1377, 368, 968, 1267, 434, 1191, 16423, 1377, 8669, 1482, 4040, 1482, 8526, 273, 6993, 3630, 1482, 12, 20859, 461, 1769, 1377, 368, 3035, 12000, 1154, 340, 1267, 358, 4261, 21103, 1377, 309, 261, 2159, 1482, 27186, 480, 446, 13, 288, 3639, 2029, 1482, 27186, 2828, 3153, 86, 273, 261, 907, 1482, 27186, 2828, 13, 2159, 1482, 27186, 18, 5411, 5154, 5621, 3639, 3153, 86, 18, 542, 3630, 1482, 12, 5629, 1482, 1769, 3639, 3153, 86, 18, 542, 15254, 19338, 12, 2284, 18, 588, 15254, 19338, 12, 8744, 67, 1985, 10019, 3639, 1000, 5774, 273, 336, 7802, 7187, 14858, 12, 2387, 86, 18, 588, 12136, 13352, 461, 10663, 3639, 364, 261, 3198, 518, 21, 273, 5774, 18, 9838, 5621, 518, 21, 18, 5332, 2134, 5621, 262, 288, 1850, 2350, 1887, 1018, 273, 261, 1079, 1887, 13, 305, 21, 18, 4285, 5621, 1850, 309, 16051, 3299, 18, 14963, 12, 5629, 548, 3719, 5411, 756, 1482, 27186, 18, 1289, 2326, 12, 3299, 1769, 3639, 289, 3639, 1194, 18, 4148, 2932, 6543, 3043, 2029, 1482, 27186, 2773, 397, 5397, 315, 1084, 1546, 397, 3153, 86, 18, 588, 1830, 1435, 397, 5397, 315, 5774, 1546, 397, 5774, 5808, 12, 2159, 1482, 27186, 18, 588, 9432, 10756, 397, 5397, 315, 19833, 1546, 397, 3153, 86, 18, 588, 12136, 13352, 461, 1435, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1089, 1876, 3826, 907, 1482, 1435, 288, 565, 309, 261, 2284, 480, 446, 13, 288, 1377, 514, 19833, 461, 273, 938, 18, 588, 12136, 13352, 461, 5621, 1377, 368, 968, 1267, 434, 1191, 16423, 1377, 8669, 1482, 4040, 1482, 8526, 273, 6993, 3630, 1482, 12, 20859, 461, 1769, 1377, 368, 3035, 12000, 1154, 340, 1267, 358, 4261, 21103, 1377, 309, 261, 2159, 1482, 27186, 480, 446, 13, 288, 3639, 2029, 1482, 27186, 2828, 3153, 86, 273, 261, 907, 1482, 27186, 2828, 13, 2159, 1482, 27186, 18, 5411, 5154, 5621, 3639, 3153, 86, 18, 542, 3630, 1482, 12, 5629, 1482, 1769, 3639, 3153, 86, 18, 542, 15254, 19338, 12, 2284, 18, 588, 15254, 19338, 12, 8744, 67, 2 ]
if ( !imcref.checkDocAdminRights( meta_id, user, imcode.server.ImcmsConstants.PERM_EDIT_TEXT_DOCUMENT_INCLUDES ) ) {
TextDocumentPermissionSetDomainObject permissionSet = (TextDocumentPermissionSetDomainObject)user.getPermissionSetFor( document ); if ( !permissionSet.getEditIncludes() ) {
public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, java.io.IOException { ImcmsServices imcref = Imcms.getServices(); Utility.setDefaultHtmlContentType( res ); Writer out = res.getWriter(); String meta_id_str = req.getParameter( "meta_id" ); int meta_id = Integer.parseInt( meta_id_str ); UserDomainObject user = Utility.getLoggedOnUser( req ); // Check if user has permission to edit includes for this document if ( !imcref.checkDocAdminRights( meta_id, user, imcode.server.ImcmsConstants.PERM_EDIT_TEXT_DOCUMENT_INCLUDES ) ) { // Checking to see if user may edit this sendPermissionDenied( imcref, out, meta_id, user ); return; } String included_meta_id = req.getParameter( "include_meta_id" ); String include_id = req.getParameter( "include_id" ); if ( included_meta_id != null && include_id != null ) { included_meta_id = included_meta_id.trim(); include_id = include_id.trim(); if ( "".equals( included_meta_id ) ) { DocumentMapper documentMapper = imcref.getDocumentMapper(); TextDocumentDomainObject document = (TextDocumentDomainObject)documentMapper.getDocument( meta_id ); document.removeInclude( Integer.parseInt(include_id) ); documentMapper.saveDocument( document, user ); imcref.updateMainLog( dateFormat.format( new java.util.Date() ) + "Include nr [" + include_id + "] on [" + meta_id_str + "] removed by user: [" + user.getFullName() + "]" ); } else { try { int included_meta_id_int = Integer.parseInt( included_meta_id ); String[] docTypeStrArr = imcref.sqlProcedure( "GetDocType", new String[]{included_meta_id} ); int docType = Integer.parseInt( docTypeStrArr[0] ); if ( null == docTypeStrArr || 0 == docTypeStrArr.length || DocumentTypeDomainObject.TEXT_ID != docType ) { sendBadId( imcref, out, meta_id, user ); return; } DocumentMapper documentMapper = imcref.getDocumentMapper(); // Make sure the user has permission to share the included document DocumentDomainObject includedDocument = documentMapper.getDocument( included_meta_id_int ); if ( user.canAddDocumentToAnyMenu( includedDocument ) ) { TextDocumentDomainObject document = (TextDocumentDomainObject)documentMapper.getDocument( meta_id ) ; document.setInclude( Integer.parseInt(include_id), includedDocument.getId() ); documentMapper.saveDocument( document, user ); documentMapper.setInclude( meta_id, Integer.parseInt( include_id ), included_meta_id_int ); imcref.updateMainLog( dateFormat.format( new java.util.Date() ) + "Include nr [" + include_id + "] on [" + meta_id_str + "] changed to [" + included_meta_id + "] by user: [" + user.getFullName() + "]" ); } else { sendPermissionDenied( imcref, out, meta_id, user ); return; } } catch ( NumberFormatException ignored ) { sendBadId( imcref, out, meta_id, user ); return; } } } String tempstring = AdminDoc.adminDoc( meta_id, user, req, res ); if ( tempstring != null ) { out.write( tempstring ); } }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/962b9fbccc20a9dc1f7559965c2b0b91e0712a46/SaveInclude.java/buggy/server/src/com/imcode/imcms/servlet/admin/SaveInclude.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 2252, 18, 1594, 18, 14106, 288, 3639, 2221, 6851, 5676, 709, 71, 1734, 273, 2221, 6851, 18, 588, 5676, 5621, 3639, 13134, 18, 542, 1868, 4353, 8046, 12, 400, 11272, 3639, 5497, 596, 273, 400, 18, 588, 2289, 5621, 3639, 514, 2191, 67, 350, 67, 701, 273, 1111, 18, 588, 1662, 12, 315, 3901, 67, 350, 6, 11272, 3639, 509, 2191, 67, 350, 273, 2144, 18, 2670, 1702, 12, 2191, 67, 350, 67, 701, 11272, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 1111, 11272, 3639, 368, 2073, 309, 729, 711, 4132, 358, 3874, 6104, 364, 333, 1668, 3639, 309, 261, 401, 381, 71, 1734, 18, 1893, 1759, 4446, 18464, 12, 2191, 67, 350, 16, 729, 16, 709, 710, 18, 3567, 18, 1170, 6851, 2918, 18, 3194, 49, 67, 10776, 67, 5151, 67, 18450, 67, 26003, 55, 262, 262, 288, 202, 759, 24471, 358, 2621, 309, 729, 2026, 3874, 333, 5411, 1366, 5041, 10410, 12, 709, 71, 1734, 16, 596, 16, 2191, 67, 350, 16, 729, 11272, 5411, 327, 31, 3639, 289, 3639, 514, 5849, 67, 3901, 67, 350, 273, 1111, 18, 588, 1662, 12, 315, 6702, 67, 3901, 67, 350, 6, 11272, 3639, 514, 2341, 67, 350, 273, 1111, 18, 588, 1662, 12, 315, 6702, 67, 350, 6, 11272, 3639, 309, 261, 5849, 67, 3901, 67, 350, 480, 446, 597, 2341, 67, 350, 480, 446, 262, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 2252, 18, 1594, 18, 14106, 288, 3639, 2221, 6851, 5676, 709, 71, 1734, 273, 2221, 6851, 18, 588, 5676, 5621, 3639, 13134, 18, 542, 1868, 4353, 8046, 12, 400, 11272, 3639, 5497, 596, 273, 400, 18, 588, 2289, 5621, 3639, 514, 2191, 67, 350, 67, 701, 273, 1111, 18, 588, 1662, 12, 315, 3901, 67, 350, 6, 11272, 3639, 509, 2191, 67, 350, 273, 2144, 18, 2670, 1702, 12, 2191, 67, 350, 67, 701, 11272, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 1111, 11272, 3639, 368, 2073, 309, 729, 711, 4132, 358, 3874, 6104, 364, 333, 1668, 3639, 2 ]
try { throw new UnsupportedOperationException("getSPFRecord("+hostname+","+spfVersion+")"); } catch (UnsupportedOperationException e) { e.printStackTrace(); throw new TempErrorException(e.getMessage()); }
throw new NoneException("No SPF Record for : " + hostname);
public String getSpfRecord(String hostname, String spfVersion) throws PermErrorException, NoneException, TempErrorException { if (hostname.endsWith(".")) hostname = hostname.substring(0, hostname.length()-1); if (zonedata.get(hostname) != null) { List l = (List) zonedata.get(hostname); Iterator i = l.iterator(); String res = null; boolean SPFexists = false; while (i.hasNext()) { Object o = i.next(); if (o instanceof HashMap) { HashMap hm = (HashMap) o; if (hm.get("SPF") != null) { SPFexists = true; String spfrecord = (String) hm.get("SPF"); if (spfrecord.startsWith(spfVersion+" ") || spfrecord.equals(spfVersion)) { if (res != null) { throw new PermErrorException("Multiple SPF records!"); } else { res = spfrecord; } } else { System.err.println("#####1 unmatched: "+spfrecord); } } } else { System.err.println("[[[[[[[[[[[[[[[[[[[[1 "+o.getClass().toString()+" ! "+o); } } if (!SPFexists) { i = l.iterator(); while (i.hasNext()) { Object o = i.next(); if (o instanceof HashMap) { HashMap hm = (HashMap) o; if (hm.get("TXT") != null) { String spfrecord = (String) hm.get("TXT"); if (spfrecord.startsWith(spfVersion+" ") || spfrecord.equals(spfVersion)) { if (res != null) { throw new TempErrorException("Multiple TXT records!"); } else { res = spfrecord; } } else { System.err.println("#####2 unmatched: "+spfrecord); } } } else { System.err.println("[[[[[[[[[[[[[[[[[[[[2 "+o.getClass().toString()+" ! "+o); } } } if (res != null) return res; } int p = hostname.indexOf("."); if (p > 0) { hostname = hostname.substring(p+1); if (zonedata.get(hostname) != null) { if (((List) zonedata.get(hostname)).iterator().next().equals("TIMEOUT")) { throw new NoneException("TIMEOUT"); } } } try { throw new UnsupportedOperationException("getSPFRecord("+hostname+","+spfVersion+")"); } catch (UnsupportedOperationException e) { e.printStackTrace(); //throw e; throw new TempErrorException(e.getMessage()); } }
49306 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49306/f931f1aa163d1a4d3805bf53be66f29130811bb2/SPFYamlTest.java/buggy/src/test/java/org/apache/james/jspf/SPFYamlTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 1322, 14241, 2115, 12, 780, 5199, 16, 514, 1694, 74, 1444, 13, 1216, 13813, 10009, 16, 599, 503, 16, 16380, 10009, 288, 5411, 309, 261, 10358, 18, 5839, 1190, 2932, 1199, 3719, 5199, 273, 5199, 18, 28023, 12, 20, 16, 5199, 18, 2469, 1435, 17, 21, 1769, 5411, 309, 261, 94, 8184, 396, 18, 588, 12, 10358, 13, 480, 446, 13, 288, 7734, 987, 328, 273, 261, 682, 13, 998, 8184, 396, 18, 588, 12, 10358, 1769, 7734, 4498, 277, 273, 328, 18, 9838, 5621, 7734, 514, 400, 273, 446, 31, 7734, 1250, 11405, 42, 1808, 273, 629, 31, 7734, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 10792, 1033, 320, 273, 277, 18, 4285, 5621, 10792, 309, 261, 83, 1276, 4317, 13, 288, 13491, 4317, 16349, 273, 261, 8658, 13, 320, 31, 13491, 309, 261, 76, 81, 18, 588, 2932, 3118, 42, 7923, 480, 446, 13, 288, 18701, 11405, 42, 1808, 273, 638, 31, 18701, 514, 1694, 74, 3366, 273, 261, 780, 13, 16349, 18, 588, 2932, 3118, 42, 8863, 18701, 309, 261, 1752, 74, 3366, 18, 17514, 1190, 12, 1752, 74, 1444, 9078, 9369, 747, 1694, 74, 3366, 18, 14963, 12, 1752, 74, 1444, 3719, 288, 27573, 309, 261, 455, 480, 446, 13, 288, 4766, 565, 604, 394, 13813, 10009, 2932, 8438, 11405, 42, 3853, 4442, 1769, 27573, 289, 469, 288, 4766, 565, 400, 273, 1694, 74, 3366, 31, 27573, 289, 18701, 289, 469, 288, 27573, 2332, 18, 370, 18, 8222, 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, 540, 1071, 514, 1322, 14241, 2115, 12, 780, 5199, 16, 514, 1694, 74, 1444, 13, 1216, 13813, 10009, 16, 599, 503, 16, 16380, 10009, 288, 5411, 309, 261, 10358, 18, 5839, 1190, 2932, 1199, 3719, 5199, 273, 5199, 18, 28023, 12, 20, 16, 5199, 18, 2469, 1435, 17, 21, 1769, 5411, 309, 261, 94, 8184, 396, 18, 588, 12, 10358, 13, 480, 446, 13, 288, 7734, 987, 328, 273, 261, 682, 13, 998, 8184, 396, 18, 588, 12, 10358, 1769, 7734, 4498, 277, 273, 328, 18, 9838, 5621, 7734, 514, 400, 273, 446, 31, 7734, 1250, 11405, 42, 1808, 273, 629, 31, 7734, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 10792, 1033, 320, 273, 277, 18, 4285, 5621, 2 ]
if (selectedForum != null) { DiscussionForum forum = selectedForum.getForum(); forumManager.saveForum(forum); }
forumManager.saveDefaultMessagePermissions(templateSettings);
public String processActionSaveTemplateSettings() { LOG.debug("processActionSaveForumSettings()"); if (selectedForum != null) { DiscussionForum forum = selectedForum.getForum(); forumManager.saveForum(forum); } return MAIN; }
52248 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52248/93f1302c9550f1a4e14b76d5e0548369bef4d82f/DiscussionForumTool.java/clean/messageforums-app/src/java/org/sakaiproject/tool/messageforums/DiscussionForumTool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1207, 1803, 4755, 2283, 2628, 1435, 225, 288, 565, 2018, 18, 4148, 2932, 2567, 1803, 4755, 1290, 379, 2628, 1435, 8863, 565, 309, 261, 8109, 1290, 379, 480, 446, 13, 288, 3639, 20900, 1290, 379, 11283, 273, 3170, 1290, 379, 18, 588, 1290, 379, 5621, 3639, 11283, 1318, 18, 5688, 1290, 379, 12, 11725, 1769, 565, 289, 565, 327, 22299, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1207, 1803, 4755, 2283, 2628, 1435, 225, 288, 565, 2018, 18, 4148, 2932, 2567, 1803, 4755, 1290, 379, 2628, 1435, 8863, 565, 309, 261, 8109, 1290, 379, 480, 446, 13, 288, 3639, 20900, 1290, 379, 11283, 273, 3170, 1290, 379, 18, 588, 1290, 379, 5621, 3639, 11283, 1318, 18, 5688, 1290, 379, 12, 11725, 1769, 565, 289, 565, 327, 22299, 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 ]
return Service.create(serviceName, displayName, description, ServiceConfig.TYPE_WIN32_OWN_PROCESS, ServiceConfig.START_AUTO, ServiceConfig.ERROR_NORMAL, path, null, null, "");
return create(serviceName, displayName, description, ServiceConfig.TYPE_WIN32_OWN_PROCESS, ServiceConfig.START_AUTO, ServiceConfig.ERROR_NORMAL, path, null, null, "");
public static Service create(String serviceName, String displayName, String description, String path) throws Win32Exception { return Service.create(serviceName, displayName, description, ServiceConfig.TYPE_WIN32_OWN_PROCESS, ServiceConfig.START_AUTO, ServiceConfig.ERROR_NORMAL, path, null, null, ""); }
45234 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45234/084300bce2472c57310fe2c37a742ed3759aafd5/Service.java/clean/bindings/java/src/net/hyperic/sigar/win32/Service.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1956, 752, 12, 780, 6773, 16, 21394, 514, 16218, 16, 21394, 514, 2477, 16, 21394, 514, 589, 13, 540, 1216, 21628, 1578, 503, 565, 288, 3639, 327, 1956, 18, 2640, 12, 15423, 16, 16218, 16, 2477, 16, 17311, 1956, 809, 18, 2399, 67, 24572, 1578, 67, 51, 5665, 67, 16560, 16, 17311, 1956, 809, 18, 7570, 67, 18909, 16, 17311, 1956, 809, 18, 3589, 67, 15480, 16, 17311, 589, 16, 446, 16, 446, 16, 1408, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1956, 752, 12, 780, 6773, 16, 21394, 514, 16218, 16, 21394, 514, 2477, 16, 21394, 514, 589, 13, 540, 1216, 21628, 1578, 503, 565, 288, 3639, 327, 1956, 18, 2640, 12, 15423, 16, 16218, 16, 2477, 16, 17311, 1956, 809, 18, 2399, 67, 24572, 1578, 67, 51, 5665, 67, 16560, 16, 17311, 1956, 809, 18, 7570, 67, 18909, 16, 17311, 1956, 809, 18, 3589, 67, 15480, 16, 17311, 589, 16, 446, 16, 446, 16, 1408, 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 ]
protected QueryOperation getQueryOperation(boolean truth) { DBQueryOperation dbOp = DBQueryOperation.Create(); dbOp.addTypeClause(mType, calcTruth(truth)); return dbOp; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/c2968386a64d285ddcd668a68b39b84d790490b4/ZimbraQuery.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/ZimbraQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 2770, 2988, 6041, 2988, 12, 6494, 16512, 13, 288, 5411, 2383, 1138, 2988, 1319, 3817, 273, 2383, 1138, 2988, 18, 1684, 5621, 13491, 1319, 3817, 18, 1289, 559, 7044, 12, 81, 559, 16, 7029, 1070, 795, 12, 313, 795, 10019, 13491, 327, 1319, 3817, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 2770, 2988, 6041, 2988, 12, 6494, 16512, 13, 288, 5411, 2383, 1138, 2988, 1319, 3817, 273, 2383, 1138, 2988, 18, 1684, 5621, 13491, 1319, 3817, 18, 1289, 559, 7044, 12, 81, 559, 16, 7029, 1070, 795, 12, 313, 795, 10019, 13491, 327, 1319, 3817, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String text = getFirstChildNode().getText(); IElementType i = getFirstChildNode().getElementType();
TreeElement firstChildNode = getFirstChildNode(); String text = firstChildNode.getText(); IElementType i = firstChildNode.getElementType();
public String getParsingError() { final Object value = getValue(); String text = getFirstChildNode().getText(); IElementType i = getFirstChildNode().getElementType(); if (i == JavaTokenType.INTEGER_LITERAL) { text = text.toLowerCase(); //literal 2147483648 may appear only as the operand of the unary negation operator -. if (!(text.equals(_2_IN_31) && getParent() instanceof PsiPrefixExpression && ((PsiPrefixExpression)getParent()).getOperationSign().getTokenType() == JavaTokenType.MINUS)) { if (text.equals(HEXPREFIX)) return JavaErrorMessages.message("hexadecimal.numbers.must.contain.at.least.one.hexadecimal.digit"); if (value == null || text.equals(_2_IN_31)) { return JavaErrorMessages.message("integer.number.too.large"); } } } else if (i == JavaTokenType.LONG_LITERAL) { text = text.toLowerCase(); //literal 9223372036854775808L may appear only as the operand of the unary negation operator -. if (!(text.equals(_2_IN_63_L) && getParent() instanceof PsiPrefixExpression && ((PsiPrefixExpression)getParent()).getOperationSign().getTokenType() == JavaTokenType.MINUS)) { if (text.equals(HEXPREFIX) || text.equals(LHEX_PREFIX)) return JavaErrorMessages.message("hexadecimal.numbers.must.contain.at.least.one.hexadecimal.digit"); if (value == null || text.equals(_2_IN_63_L)) { return JavaErrorMessages.message("long.number.too.large"); } } } else if (i == JavaTokenType.FLOAT_LITERAL || i == JavaTokenType.DOUBLE_LITERAL) { if (value == null) { return JavaErrorMessages.message("malformed.floating.point.literal"); } } else if (i == JavaTokenType.TRUE_KEYWORD || i == JavaTokenType.FALSE_KEYWORD || i == JavaTokenType.NULL_KEYWORD) { // TODO } else if (i == JavaTokenType.CHARACTER_LITERAL) { if (value == null) { if (StringUtil.endsWithChar(text, '\'')) { if (text.length() == 1) return JavaErrorMessages.message("illegal.line.end.in.character.literal"); text = text.substring(1, text.length() - 1); } else { return JavaErrorMessages.message("illegal.line.end.in.character.literal"); } String s = internedParseStringCharacters(text); if (s == null) return JavaErrorMessages.message("illegal.escape.character.in.character.literal"); if (s.length() > 1) { return JavaErrorMessages.message("too.many.characters.in.character.literal"); } else if (s.length() == 0) return JavaErrorMessages.message("empty.character.literal"); } } else if (i == JavaTokenType.STRING_LITERAL) { if (value == null) { if (StringUtil.endsWithChar(text, '\"')) { if (text.length() == 1) return JavaErrorMessages.message("illegal.line.end.in.string.literal"); text = text.substring(1, text.length() - 1); } else { return JavaErrorMessages.message("illegal.line.end.in.string.literal"); } if (internedParseStringCharacters(text) == null) return JavaErrorMessages.message("illegal.escape.character.in.string.literal"); } } if (value instanceof Float) { final Float number = (Float)value; if (number.isInfinite()) return JavaErrorMessages.message("floating.point.number.too.large"); if (number.floatValue() == 0 && !isFPZero()) return JavaErrorMessages.message("floating.point.number.too.small"); } if (value instanceof Double) { final Double number = (Double)value; if (number.isInfinite()) return JavaErrorMessages.message("floating.point.number.too.large"); if (number.doubleValue() == 0 && !isFPZero()) return JavaErrorMessages.message("floating.point.number.too.small"); } return null; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/cb0dc0b7fee022c677434bf183ca879ac13e5d4d/PsiLiteralExpressionImpl.java/clean/source/com/intellij/psi/impl/source/tree/java/PsiLiteralExpressionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 336, 13963, 668, 1435, 288, 565, 727, 1033, 460, 273, 2366, 5621, 565, 514, 977, 273, 17315, 907, 7675, 588, 1528, 5621, 565, 467, 17481, 277, 273, 17315, 907, 7675, 588, 17481, 5621, 565, 309, 261, 77, 422, 5110, 28675, 18, 14217, 67, 23225, 13, 288, 1377, 977, 273, 977, 18, 869, 5630, 5621, 1377, 368, 13107, 30149, 30623, 27382, 2026, 9788, 1338, 487, 326, 9886, 434, 326, 19017, 4251, 367, 3726, 300, 18, 1377, 309, 16051, 12, 955, 18, 14963, 24899, 22, 67, 706, 67, 6938, 13, 5411, 597, 5089, 1435, 1276, 453, 7722, 2244, 2300, 5411, 597, 14015, 52, 7722, 2244, 2300, 13, 588, 3054, 1435, 2934, 588, 2988, 2766, 7675, 588, 28675, 1435, 422, 5110, 28675, 18, 6236, 3378, 3719, 288, 3639, 309, 261, 955, 18, 14963, 12, 20661, 6307, 3719, 327, 5110, 668, 5058, 18, 2150, 2932, 7118, 18300, 18, 13851, 18, 11926, 18, 28744, 18, 270, 18, 16446, 18, 476, 18, 7118, 18300, 18, 11052, 8863, 3639, 309, 261, 1132, 422, 446, 747, 977, 18, 14963, 24899, 22, 67, 706, 67, 6938, 3719, 288, 1850, 327, 5110, 668, 5058, 18, 2150, 2932, 7745, 18, 2696, 18, 16431, 18, 14095, 8863, 3639, 289, 1377, 289, 565, 289, 565, 469, 309, 261, 77, 422, 5110, 28675, 18, 14639, 67, 23225, 13, 288, 1377, 977, 273, 977, 18, 869, 5630, 5621, 1377, 368, 13107, 2468, 3787, 3707, 27, 3462, 5718, 28, 6564, 27714, 3672, 28, 48, 2026, 9788, 1338, 487, 326, 9886, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 336, 13963, 668, 1435, 288, 565, 727, 1033, 460, 273, 2366, 5621, 565, 514, 977, 273, 17315, 907, 7675, 588, 1528, 5621, 565, 467, 17481, 277, 273, 17315, 907, 7675, 588, 17481, 5621, 565, 309, 261, 77, 422, 5110, 28675, 18, 14217, 67, 23225, 13, 288, 1377, 977, 273, 977, 18, 869, 5630, 5621, 1377, 368, 13107, 30149, 30623, 27382, 2026, 9788, 1338, 487, 326, 9886, 434, 326, 19017, 4251, 367, 3726, 300, 18, 1377, 309, 16051, 12, 955, 18, 14963, 24899, 22, 67, 706, 67, 6938, 13, 5411, 597, 5089, 1435, 1276, 453, 7722, 2244, 2300, 5411, 597, 14015, 52, 7722, 2244, 2300, 13, 588, 3054, 1435, 2934, 588, 2988, 2766, 7675, 588, 28675, 1435, 2 ]
public Battle AICopy(Game game)
Battle AICopy(Game game)
public Battle AICopy(Game game) { Battle newBattle = new Battle(); newBattle.game = game; newBattle.masterHexLabel = masterHexLabel; newBattle.terrain = terrain; newBattle.defenderId = defenderId; newBattle.attackerId = attackerId; newBattle.legions[0] = defenderId; newBattle.legions[1] = attackerId; newBattle.activeLegionNum = activeLegionNum; newBattle.turnNumber = turnNumber; newBattle.phase = phase; newBattle.summonState = summonState; newBattle.carryDamage = carryDamage; newBattle.attackerElim = attackerElim; newBattle.defenderElim = defenderElim; newBattle.attackerEntered = attackerEntered; newBattle.conceded = conceded; newBattle.driftDamageApplied = driftDamageApplied; return newBattle; }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/3d0c995d677b11834bfd5b0d9ff7d5fef51d296e/Battle.java/clean/Colossus/net/sf/colossus/server/Battle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 605, 4558, 298, 432, 2871, 1101, 12, 12496, 7920, 13, 565, 288, 3639, 605, 4558, 298, 394, 38, 4558, 298, 273, 394, 605, 4558, 298, 5621, 3639, 394, 38, 4558, 298, 18, 13957, 273, 7920, 31, 3639, 394, 38, 4558, 298, 18, 7525, 7037, 2224, 273, 4171, 7037, 2224, 31, 3639, 394, 38, 4558, 298, 18, 387, 7596, 273, 19272, 7596, 31, 3639, 394, 38, 4558, 298, 18, 536, 2345, 548, 273, 1652, 2345, 548, 31, 3639, 394, 38, 4558, 298, 18, 4558, 484, 264, 548, 273, 13843, 264, 548, 31, 3639, 394, 38, 4558, 298, 18, 1935, 1115, 63, 20, 65, 273, 1652, 2345, 548, 31, 3639, 394, 38, 4558, 298, 18, 1935, 1115, 63, 21, 65, 273, 13843, 264, 548, 31, 3639, 394, 38, 4558, 298, 18, 3535, 8329, 285, 2578, 273, 2695, 8329, 285, 2578, 31, 3639, 394, 38, 4558, 298, 18, 20922, 1854, 273, 7005, 1854, 31, 3639, 394, 38, 4558, 298, 18, 13961, 273, 6855, 31, 3639, 394, 38, 4558, 298, 18, 1364, 2586, 1119, 273, 2142, 2586, 1119, 31, 3639, 394, 38, 4558, 298, 18, 9815, 1176, 40, 301, 410, 273, 9331, 40, 301, 410, 31, 3639, 394, 38, 4558, 298, 18, 4558, 484, 264, 4958, 381, 273, 13843, 264, 4958, 381, 31, 3639, 394, 38, 4558, 298, 18, 536, 2345, 4958, 381, 273, 1652, 2345, 4958, 381, 31, 3639, 394, 38, 4558, 298, 18, 4558, 484, 264, 10237, 329, 273, 13843, 264, 10237, 329, 31, 3639, 394, 38, 4558, 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, 605, 4558, 298, 432, 2871, 1101, 12, 12496, 7920, 13, 565, 288, 3639, 605, 4558, 298, 394, 38, 4558, 298, 273, 394, 605, 4558, 298, 5621, 3639, 394, 38, 4558, 298, 18, 13957, 273, 7920, 31, 3639, 394, 38, 4558, 298, 18, 7525, 7037, 2224, 273, 4171, 7037, 2224, 31, 3639, 394, 38, 4558, 298, 18, 387, 7596, 273, 19272, 7596, 31, 3639, 394, 38, 4558, 298, 18, 536, 2345, 548, 273, 1652, 2345, 548, 31, 3639, 394, 38, 4558, 298, 18, 4558, 484, 264, 548, 273, 13843, 264, 548, 31, 3639, 394, 38, 4558, 298, 18, 1935, 1115, 63, 20, 65, 273, 1652, 2345, 548, 31, 3639, 394, 38, 4558, 298, 18, 1935, 1115, 63, 21, 65, 2 ]
this.getRdSave( ) .saveResultIterator( new DummyCachedResult( ),
this.getRdSave( ).saveResultIterator( new DummyCachedResult( ),
void doSaveExpr( String name, Object value ) throws DataException { if ( needsSaveToDoc( ) == false ) return; if ( isBasicSaved == false ) { isBasicSaved = true; this.getRdSave( ) .saveResultIterator( new DummyCachedResult( ), -1, null ); } this.getRdSave( ).saveExprValue( 0, name, value ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/410cf22b4e08978996923c6951b982453ea13bd7/PreparedDummyQuery.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedDummyQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 6459, 741, 4755, 4742, 12, 514, 508, 16, 1033, 460, 262, 1216, 1910, 503, 202, 202, 95, 1082, 202, 430, 261, 4260, 4755, 774, 1759, 12, 262, 422, 629, 262, 9506, 202, 2463, 31, 1082, 202, 430, 261, 353, 8252, 16776, 422, 629, 262, 1082, 202, 95, 9506, 202, 291, 8252, 16776, 273, 638, 31, 9506, 202, 2211, 18, 588, 54, 72, 4755, 12, 262, 25083, 202, 18, 5688, 1253, 3198, 12, 394, 28622, 9839, 1253, 12, 262, 16, 25083, 202, 17, 21, 16, 25083, 202, 2011, 11272, 1082, 202, 97, 1082, 202, 2211, 18, 588, 54, 72, 4755, 12, 262, 18, 5688, 4742, 620, 12, 374, 16, 508, 16, 460, 11272, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3196, 202, 6459, 741, 4755, 4742, 12, 514, 508, 16, 1033, 460, 262, 1216, 1910, 503, 202, 202, 95, 1082, 202, 430, 261, 4260, 4755, 774, 1759, 12, 262, 422, 629, 262, 9506, 202, 2463, 31, 1082, 202, 430, 261, 353, 8252, 16776, 422, 629, 262, 1082, 202, 95, 9506, 202, 291, 8252, 16776, 273, 638, 31, 9506, 202, 2211, 18, 588, 54, 72, 4755, 12, 262, 25083, 202, 18, 5688, 1253, 3198, 12, 394, 28622, 9839, 1253, 12, 262, 16, 25083, 202, 17, 21, 16, 25083, 202, 2011, 11272, 1082, 202, 97, 1082, 202, 2211, 18, 588, 54, 72, 4755, 12, 262, 18, 5688, 4742, 620, 12, 374, 16, 508, 16, 460, 11272, 202, 202, 97, 2, -100, -100 ]
final LongItem v = vstack.popLong(); if (v.isConstant()) { vstack.push(IntItem.createConst((int) v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); v.load(eContext); final Register lsb = v.getLsbRegister(); v.release(eContext); pool.request(lsb); final IntItem result = IntItem.createReg(lsb); pool.transferOwnerTo(lsb, result); vstack.push(result); } }
final LongItem v = vstack.popLong(); if (v.isConstant()) { vstack.push(IntItem.createConst((int) v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); v.load(eContext); final Register lsb = v.getLsbRegister(); v.release(eContext); pool.request(lsb); final IntItem result = IntItem.createReg(lsb); pool.transferOwnerTo(lsb, result); vstack.push(result); } }
public final void visit_l2i() { final LongItem v = vstack.popLong(); if (v.isConstant()) { vstack.push(IntItem.createConst((int) v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); v.load(eContext); final Register lsb = v.getLsbRegister(); v.release(eContext); pool.request(lsb); final IntItem result = IntItem.createReg(lsb); pool.transferOwnerTo(lsb, result); vstack.push(result); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c9e1b93fdcd3878abf615621ec6a36bf839ab10/X86BytecodeVisitor.java/buggy/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, 80, 22, 77, 1435, 288, 202, 202, 6385, 3407, 1180, 331, 273, 19510, 18, 5120, 3708, 5621, 202, 202, 430, 261, 90, 18, 291, 6902, 10756, 288, 1082, 202, 90, 3772, 18, 6206, 12, 1702, 1180, 18, 2640, 9661, 12443, 474, 13, 331, 18, 24805, 1435, 10019, 202, 202, 97, 469, 288, 1082, 202, 6385, 1139, 5292, 3996, 2864, 2845, 273, 425, 1042, 18, 588, 2864, 5621, 1082, 202, 90, 18, 945, 12, 73, 1042, 1769, 1082, 202, 6385, 5433, 7180, 70, 273, 331, 18, 588, 48, 18366, 3996, 5621, 1082, 202, 90, 18, 9340, 12, 73, 1042, 1769, 1082, 202, 6011, 18, 2293, 12, 3251, 70, 1769, 1082, 202, 6385, 3094, 1180, 563, 273, 3094, 1180, 18, 2640, 1617, 12, 3251, 70, 1769, 1082, 202, 6011, 18, 13866, 5541, 774, 12, 3251, 70, 16, 563, 1769, 1082, 202, 90, 3772, 18, 6206, 12, 2088, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3757, 67, 80, 22, 77, 1435, 288, 202, 202, 6385, 3407, 1180, 331, 273, 19510, 18, 5120, 3708, 5621, 202, 202, 430, 261, 90, 18, 291, 6902, 10756, 288, 1082, 202, 90, 3772, 18, 6206, 12, 1702, 1180, 18, 2640, 9661, 12443, 474, 13, 331, 18, 24805, 1435, 10019, 202, 202, 97, 469, 288, 1082, 202, 6385, 1139, 5292, 3996, 2864, 2845, 273, 425, 1042, 18, 588, 2864, 5621, 1082, 202, 90, 18, 945, 12, 73, 1042, 1769, 1082, 202, 6385, 5433, 7180, 70, 273, 331, 18, 588, 48, 18366, 3996, 5621, 1082, 202, 90, 18, 9340, 12, 73, 1042, 1769, 1082, 202, 6011, 18, 2293, 12, 3251, 70, 1769, 1082, 202, 6385, 3094, 2 ]
if (jj_3R_282()) { jj_scanpos = xsp; break; }
if (jj_3R_284()) { jj_scanpos = xsp; break; }
final private boolean jj_3R_259() { if (jj_3R_263()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_282()) { jj_scanpos = xsp; break; } } return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/67e36956371c94d98bb371923fcf416ddb50fd0f/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 2947, 29, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 22, 4449, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 22, 5193, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2947, 29, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 22, 4449, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 22, 5193, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
topLeft.addView( DataView.ID );
private void defineLayout( IPageLayout layout ) { // Editors are placed for free. String editorArea = layout.getEditorArea( ); // Top left. IFolderLayout topLeft = layout.createFolder( "topLeft", IPageLayout.LEFT, (float) 0.26, editorArea );//$NON-NLS-1$ topLeft.addView( PaletteView.ID ); //topLeft.addView( DataView.ID ); topLeft.addView( LibraryExplorerView.ID ); // Bottom left. IFolderLayout bottomLeft = layout.createFolder( "bottomLeft", IPageLayout.BOTTOM, (float) 0.50,//$NON-NLS-1$ "topLeft" );//$NON-NLS-1$ bottomLeft.addView( IPageLayout.ID_OUTLINE ); // Bottom right. IFolderLayout bootomRight = layout.createFolder( "bootomRight", IPageLayout.BOTTOM, (float) 0.66, editorArea );//$NON-NLS-1$ bootomRight.addView( AttributeView.ID ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/9f5fdfb7691be9aa8fcaf09d096038eed7675475/ReportRCPPerspective.java/buggy/UI/org.eclipse.birt.report.designer.ui.rcp/src/org/eclipse/birt/report/designer/ui/ReportRCPPerspective.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 11365, 270, 278, 556, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 918, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 4426, 3744, 12, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 467, 1964, 3744, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 3511, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 262, 202, 95, 202, 202, 759, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 18451, 5681, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 854, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 15235, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 364, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 4843, 18, 202, 202, 780, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 4858, 4704, 270, 556, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 273, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 3511, 18, 588, 6946, 5484, 12, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 11272, 202, 202, 759, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 2974, 337, 556, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 2002, 18, 202, 202, 45, 3899, 3744, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 1760, 1682, 74, 748, 556, 3910, 18, 1289, 1767, 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, 11365, 270, 278, 556, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 918, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 4426, 3744, 12, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 467, 1964, 3744, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 3511, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 262, 202, 95, 202, 202, 759, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 18451, 5681, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 854, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 734, 11272, 15235, 3669, 3910, 18, 1289, 1767, 12, 1910, 1767, 18, 2 ]
return contents;
return new Object[][] { /** Error message ID that has a null message, but takes in a single object. */ {"ER0000" , "{0}" }, { ER_FUNCTION_NOT_SUPPORTED, "Nieobs\u0142ugiwana funkcja!"}, { ER_CANNOT_OVERWRITE_CAUSE, "Nie mo\u017cna nadpisa\u0107 przyczyny"}, { ER_NO_DEFAULT_IMPL, "Nie znaleziono domy\u015blnej implementacji"}, { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, "ChunkedIntArray({0}) nie jest obecnie obs\u0142ugiwane"}, { ER_OFFSET_BIGGER_THAN_SLOT, "Przesuni\u0119cie wi\u0119ksze ni\u017c szczelina"}, { ER_COROUTINE_NOT_AVAIL, "Koprocedura niedost\u0119pna, id={0}"}, { ER_COROUTINE_CO_EXIT, "CoroutineManager otrzyma\u0142 \u017c\u0105danie co_exit()"}, { ER_COJOINROUTINESET_FAILED, "co_joinCoroutineSet() nie powiod\u0142o si\u0119"}, { ER_COROUTINE_PARAM, "B\u0142\u0105d parametru koprocedury ({0})"}, { ER_PARSER_DOTERMINATE_ANSWERS, "\nNIEOCZEKIWANE: Analizator doTerminate odpowiada {0}"}, { ER_NO_PARSE_CALL_WHILE_PARSING, "Nie mo\u017cna wywo\u0142a\u0107 parse podczas analizowania"}, { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, "B\u0142\u0105d: iterator okre\u015blonego typu dla osi {0} nie jest zaimplementowany"}, { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, "B\u0142\u0105d: iterator dla osi {0} nie jest zaimplementowany"}, { ER_ITERATOR_CLONE_NOT_SUPPORTED, "Kopia iteratora nie jest obs\u0142ugiwana"}, { ER_UNKNOWN_AXIS_TYPE, "Nieznany typ przej\u015bcia osi {0}"}, { ER_AXIS_NOT_SUPPORTED, "Nieobs\u0142ugiwane przej\u015bcie osi: {0}"}, { ER_NO_DTMIDS_AVAIL, "Nie ma wi\u0119cej dost\u0119pnych identyfikator\u00f3w DTM"}, { ER_NOT_SUPPORTED, "Nieobs\u0142ugiwane: {0}"}, { ER_NODE_NON_NULL, "W\u0119ze\u0142 musi by\u0107 niepusty dla getDTMHandleFromNode"}, { ER_COULD_NOT_RESOLVE_NODE, "Nie mo\u017cna przet\u0142umaczy\u0107 w\u0119z\u0142a na uchwyt"}, { ER_STARTPARSE_WHILE_PARSING, "Nie mo\u017cna wywo\u0142a\u0107 startParse podczas analizowania"}, { ER_STARTPARSE_NEEDS_SAXPARSER, "startParse potrzebuje niepustego SAXParser"}, { ER_COULD_NOT_INIT_PARSER, "nie mo\u017cna zainicjowa\u0107 analizatora"}, { ER_EXCEPTION_CREATING_POOL, "wyj\u0105tek podczas tworzenia nowej instancji dla puli"}, { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, "\u015acie\u017cka zawiera niepoprawn\u0105 sekwencj\u0119 o zmienionym znaczeniu"}, { ER_SCHEME_REQUIRED, "Schemat jest wymagany!"}, { ER_NO_SCHEME_IN_URI, "Nie znaleziono schematu w URI {0}"}, { ER_NO_SCHEME_INURI, "Nie znaleziono schematu w URI"}, { ER_PATH_INVALID_CHAR, "\u015acie\u017cka zawiera niepoprawny znak {0}"}, { ER_SCHEME_FROM_NULL_STRING, "Nie mo\u017cna ustawi\u0107 schematu z pustego ci\u0105gu znak\u00f3w"}, { ER_SCHEME_NOT_CONFORMANT, "Schemat nie jest zgodny."}, { ER_HOST_ADDRESS_NOT_WELLFORMED, "Host nie jest poprawnie skonstruowanym adresem"}, { ER_PORT_WHEN_HOST_NULL, "Nie mo\u017cna ustawi\u0107 portu, kiedy host jest pusty"}, { ER_INVALID_PORT, "Niepoprawny numer portu"}, { ER_FRAG_FOR_GENERIC_URI, "Fragment mo\u017cna ustawi\u0107 tylko dla og\u00f3lnego URI"}, { ER_FRAG_WHEN_PATH_NULL, "Nie mo\u017cna ustawi\u0107 fragmentu, kiedy \u015bcie\u017cka jest pusta"}, { ER_FRAG_INVALID_CHAR, "Fragment zawiera niepoprawny znak"}, { ER_PARSER_IN_USE, "Analizator jest ju\u017c u\u017cywany"}, { ER_CANNOT_CHANGE_WHILE_PARSING, "Nie mo\u017cna zmieni\u0107 {0} {1} podczas analizowania"}, { ER_SELF_CAUSATION_NOT_PERMITTED, "Powodowanie siebie jest niedozwolone"}, { ER_NO_USERINFO_IF_NO_HOST, "Nie mo\u017cna poda\u0107 informacji o u\u017cytkowniku, je\u015bli nie podano hosta"}, { ER_NO_PORT_IF_NO_HOST, "Nie mo\u017cna poda\u0107 portu, je\u015bli nie podano hosta"}, { ER_NO_QUERY_STRING_IN_PATH, "Tekstu zapytania nie mo\u017cna poda\u0107 w tek\u015bcie \u015bcie\u017cki i zapytania"}, { ER_NO_FRAGMENT_STRING_IN_PATH, "Nie mo\u017cna poda\u0107 fragmentu jednocze\u015bnie w \u015bcie\u017cce i fragmencie"}, { ER_CANNOT_INIT_URI_EMPTY_PARMS, "Nie mo\u017cna zainicjowa\u0107 URI z pustymi parametrami"}, { ER_METHOD_NOT_SUPPORTED, "Metoda nie jest jeszcze obs\u0142ugiwana"}, { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, "IncrementalSAXSource_Filter nie jest obecnie mo\u017cliwy do ponownego uruchomienia"}, { ER_XMLRDR_NOT_BEFORE_STARTPARSE, "XMLReader nie przed \u017c\u0105daniem startParse"}, { ER_AXIS_TRAVERSER_NOT_SUPPORTED, "Nieobs\u0142ugiwane przej\u015bcie osi: {0}"}, { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, "Utworzono ListingErrorHandler z pustym PrintWriter!"}, { ER_SYSTEMID_UNKNOWN, "Nieznany identyfikator systemu"}, { ER_LOCATION_UNKNOWN, "Po\u0142o\u017cenie b\u0142\u0119du jest nieznane"}, { ER_PREFIX_MUST_RESOLVE, "Przedrostek musi da\u0107 si\u0119 przet\u0142umaczy\u0107 na przestrze\u0144 nazw: {0}"}, { ER_CREATEDOCUMENT_NOT_SUPPORTED, "Funkcja createDocument() nie jest obs\u0142ugiwana w XPathContext!"}, { ER_CHILD_HAS_NO_OWNER_DOCUMENT, "Potomek atrybutu nie ma dokumentu w\u0142a\u015bciciela!"}, { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, "Potomek atrybutu nie ma elementu dokumentu w\u0142a\u015bciciela!"}, { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, "Ostrze\u017cenie: nie mo\u017cna wyprowadzi\u0107 tekstu przed elementem dokumentu! Ignoruj\u0119..."}, { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, "Nie mo\u017cna mie\u0107 wi\u0119cej ni\u017c jeden element g\u0142\u00f3wny w DOM!"}, { ER_ARG_LOCALNAME_NULL, "Argument 'localName' jest pusty"}, { ER_ARG_LOCALNAME_INVALID, "Nazwa lokalna w QNAME powinna by\u0107 poprawn\u0105 nazw\u0105 NCName"}, { ER_ARG_PREFIX_INVALID, "Przedrostek w QNAME powinien by\u0107 poprawn\u0105 nazw\u0105 NCName"}, { "BAD_CODE", "Parametr createMessage by\u0142 spoza zakresu"}, { "FORMAT_FAILED", "Podczas wywo\u0142ania messageFormat zg\u0142oszony zosta\u0142 wyj\u0105tek"}, { "line", "Wiersz: "}, { "column","Kolumna "}, {ER_SERIALIZER_NOT_CONTENTHANDLER, "Klasa szereguj\u0105ca ''{0}'' nie implementuje procedury obs\u0142ugi org.xml.sax.ContentHandler."}, {ER_RESOURCE_COULD_NOT_FIND, "Nie mo\u017cna znale\u017a\u0107 zasobu [ {0} ].\n {1}" }, {ER_RESOURCE_COULD_NOT_LOAD, "Zas\u00f3b [ {0} ] nie m\u00f3g\u0142 za\u0142adowa\u0107: {1} \n {2} \t {3}" }, {ER_BUFFER_SIZE_LESSTHAN_ZERO, "Wielko\u015b\u0107 bufora <=0" }, {ER_INVALID_UTF16_SURROGATE, "Wykryto niepoprawny surogat UTF-16: {0} ?" }, {ER_OIERROR, "B\u0142\u0105d we/wy" }, {ER_ILLEGAL_ATTRIBUTE_POSITION, "Nie mo\u017cna doda\u0107 atrybutu {0} po w\u0119z\u0142ach potomnych ani przed wyprodukowaniem elementu. Atrybut zostanie zignorowany."}, /* * Note to translators: The stylesheet contained a reference to a * namespace prefix that was undefined. The value of the substitution * text is the name of the prefix. */ {ER_NAMESPACE_PREFIX, "Nie zadeklarowano przestrzeni nazw dla przedrostka ''{0}''." }, /* * Note to translators: This message is reported if the stylesheet * being processed attempted to construct an XML document with an * attribute in a place other than on an element. The substitution text * specifies the name of the attribute. */ {ER_STRAY_ATTRIBUTE, "Atrybut ''{0}'' poza elementem." }, /* * Note to translators: As with the preceding message, a namespace * declaration has the form of an attribute and is only permitted to * appear on an element. The substitution text {0} is the namespace * prefix and {1} is the URI that was being used in the erroneous * namespace declaration. */ {ER_STRAY_NAMESPACE, "Deklaracja przestrzeni nazw ''{0}''=''{1}'' poza elementem." }, {ER_COULD_NOT_LOAD_RESOURCE, "Nie mo\u017cna za\u0142adowa\u0107 ''{0}'' (sprawd\u017a CLASSPATH), u\u017cywane s\u0105 teraz warto\u015bci domy\u015blne"}, {ER_COULD_NOT_LOAD_METHOD_PROPERTY, "Nie mo\u017cna za\u0142adowa\u0107 pliku w\u0142a\u015bciwo\u015bci ''{0}'' dla metody wyj\u015bciowej ''{1}'' (sprawd\u017a CLASSPATH)" } };
public Object[][] getContents() { return contents; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/2d07c253b814672a82d969836d58577bfa628b88/XMLErrorResources_pl.java/clean/src/org/apache/xml/res/XMLErrorResources_pl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 63, 6362, 65, 15015, 1435, 225, 288, 565, 327, 394, 1033, 63, 6362, 65, 288, 225, 1783, 1068, 883, 1599, 716, 711, 279, 446, 883, 16, 1496, 5530, 316, 279, 2202, 733, 18, 565, 1195, 12528, 654, 2787, 6, 269, 4144, 20, 1532, 19879, 225, 288, 4232, 67, 7788, 67, 4400, 67, 21134, 16, 315, 50, 1385, 10992, 64, 89, 1611, 9452, 637, 22315, 13848, 284, 1683, 71, 12333, 4442, 5779, 225, 288, 4232, 67, 39, 16791, 67, 12959, 11677, 67, 3587, 8001, 16, 315, 50, 1385, 7344, 64, 89, 1611, 27, 71, 6582, 290, 361, 84, 291, 69, 64, 89, 1611, 8642, 846, 21832, 71, 94, 878, 93, 6, 5779, 225, 288, 4232, 67, 3417, 67, 5280, 67, 3445, 6253, 16, 315, 50, 1385, 998, 82, 5349, 94, 285, 83, 4092, 93, 64, 89, 1611, 25, 70, 2370, 73, 78, 2348, 1077, 21102, 6, 5779, 225, 288, 4232, 67, 26464, 2056, 3217, 8552, 67, 4400, 67, 21134, 16, 315, 5579, 329, 1702, 1076, 12590, 20, 6792, 290, 1385, 525, 395, 3768, 557, 82, 1385, 7160, 64, 89, 1611, 9452, 637, 22315, 8806, 6, 5779, 225, 288, 4232, 67, 11271, 67, 19044, 3101, 67, 22408, 67, 55, 1502, 56, 16, 315, 2050, 94, 281, 318, 77, 64, 89, 1611, 3657, 71, 1385, 16138, 64, 89, 1611, 3657, 7904, 8489, 16398, 64, 89, 1611, 27, 71, 11262, 71, 94, 292, 15314, 6, 5779, 225, 288, 4232, 67, 9428, 5069, 3740, 67, 4400, 67, 5856, 6575, 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, 1033, 63, 6362, 65, 15015, 1435, 225, 288, 565, 327, 394, 1033, 63, 6362, 65, 288, 225, 1783, 1068, 883, 1599, 716, 711, 279, 446, 883, 16, 1496, 5530, 316, 279, 2202, 733, 18, 565, 1195, 12528, 654, 2787, 6, 269, 4144, 20, 1532, 19879, 225, 288, 4232, 67, 7788, 67, 4400, 67, 21134, 16, 315, 50, 1385, 10992, 64, 89, 1611, 9452, 637, 22315, 13848, 284, 1683, 71, 12333, 4442, 5779, 225, 288, 4232, 67, 39, 16791, 67, 12959, 11677, 67, 3587, 8001, 16, 315, 50, 1385, 7344, 64, 89, 1611, 27, 71, 6582, 290, 361, 84, 291, 69, 64, 89, 1611, 8642, 846, 21832, 71, 94, 878, 93, 6, 5779, 225, 288, 4232, 67, 3417, 2 ]
List queueExpected = new ArrayList(); FileInfo baseInfo = buildExpectedStructure(); queueExpected.add( baseInfo ); List queueActual = new ArrayList(); queueActual.add( m_baseFolder ); while( queueActual.size() > 0 ) { FileObject file = (FileObject)queueActual.remove( 0 ); FileInfo info = (FileInfo)queueExpected.remove( 0 ); assertSame( file.getType(), info._type ); if( info._type == FileType.FILE ) { continue; } FileObject[] children = file.getChildren(); assertNotNull( children ); assertEquals( "count children of \"" + file.getName() + "\"", info._children.size(), children.length ); for( int i = 0; i < children.length; i++ ) { FileObject child = children[ i ]; FileInfo childInfo = (FileInfo)info._children.get( child.getName().getBaseName() ); assertNotNull( childInfo ); queueExpected.add( childInfo ); queueActual.add( child ); } }
final FileInfo baseInfo = buildExpectedStructure(); assertSameStructure( m_baseFolder, baseInfo );
public void testStructure() throws Exception { // Setup the structure List queueExpected = new ArrayList(); FileInfo baseInfo = buildExpectedStructure(); queueExpected.add( baseInfo ); List queueActual = new ArrayList(); queueActual.add( m_baseFolder ); while( queueActual.size() > 0 ) { FileObject file = (FileObject)queueActual.remove( 0 ); FileInfo info = (FileInfo)queueExpected.remove( 0 ); // Check the type is correct assertSame( file.getType(), info._type ); if( info._type == FileType.FILE ) { continue; } // Check children FileObject[] children = file.getChildren(); // Make sure all children were found assertNotNull( children ); assertEquals( "count children of \"" + file.getName() + "\"", info._children.size(), children.length ); // Recursively check each child for( int i = 0; i < children.length; i++ ) { FileObject child = children[ i ]; FileInfo childInfo = (FileInfo)info._children.get( child.getName().getBaseName() ); // Make sure the child is expected assertNotNull( childInfo ); // Add to the queue of files to check queueExpected.add( childInfo ); queueActual.add( child ); } } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/5b48abc10df6339a4114a4135fdab2b38b9252bd/AbstractFileSystemTest.java/clean/proposal/myrmidon/src/test/org/apache/aut/vfs/AbstractFileSystemTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6999, 1435, 1216, 1185, 565, 288, 3639, 368, 10939, 326, 3695, 3639, 987, 2389, 6861, 273, 394, 2407, 5621, 3639, 14236, 1026, 966, 273, 1361, 6861, 6999, 5621, 3639, 2389, 6861, 18, 1289, 12, 1026, 966, 11272, 3639, 987, 2389, 11266, 273, 394, 2407, 5621, 3639, 2389, 11266, 18, 1289, 12, 312, 67, 1969, 3899, 11272, 3639, 1323, 12, 2389, 11266, 18, 1467, 1435, 405, 374, 262, 3639, 288, 5411, 1387, 921, 585, 273, 261, 21471, 13, 4000, 11266, 18, 4479, 12, 374, 11272, 5411, 14236, 1123, 273, 261, 11995, 13, 4000, 6861, 18, 4479, 12, 374, 11272, 5411, 368, 2073, 326, 618, 353, 3434, 5411, 1815, 8650, 12, 585, 18, 588, 559, 9334, 1123, 6315, 723, 11272, 5411, 309, 12, 1123, 6315, 723, 422, 29449, 18, 3776, 262, 5411, 288, 7734, 1324, 31, 5411, 289, 5411, 368, 2073, 2325, 5411, 1387, 921, 8526, 2325, 273, 585, 18, 588, 4212, 5621, 5411, 368, 4344, 3071, 777, 2325, 4591, 1392, 5411, 25395, 12, 2325, 11272, 5411, 1815, 8867, 12, 315, 1883, 2325, 434, 11843, 397, 585, 18, 17994, 1435, 397, 7023, 3113, 1123, 6315, 5906, 18, 1467, 9334, 2325, 18, 2469, 11272, 5411, 368, 31362, 866, 1517, 1151, 5411, 364, 12, 509, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 9904, 262, 5411, 288, 7734, 1387, 921, 1151, 273, 2325, 63, 277, 308, 31, 7734, 14236, 1151, 966, 273, 261, 11995, 13, 1376, 6315, 5906, 18, 588, 12, 1151, 18, 17994, 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, 6999, 1435, 1216, 1185, 565, 288, 3639, 368, 10939, 326, 3695, 3639, 987, 2389, 6861, 273, 394, 2407, 5621, 3639, 14236, 1026, 966, 273, 1361, 6861, 6999, 5621, 3639, 2389, 6861, 18, 1289, 12, 1026, 966, 11272, 3639, 987, 2389, 11266, 273, 394, 2407, 5621, 3639, 2389, 11266, 18, 1289, 12, 312, 67, 1969, 3899, 11272, 3639, 1323, 12, 2389, 11266, 18, 1467, 1435, 405, 374, 262, 3639, 288, 5411, 1387, 921, 585, 273, 261, 21471, 13, 4000, 11266, 18, 4479, 12, 374, 11272, 5411, 14236, 1123, 273, 261, 11995, 13, 4000, 6861, 18, 4479, 12, 374, 11272, 5411, 368, 2073, 326, 618, 353, 3434, 5411, 1815, 8650, 12, 585, 18, 588, 559, 9334, 1123, 2 ]
public void testOrderedCallsMustNotOccurOutOfOrder() { String priorCall = "HELLO-CALL-ID"; mock.stubs().method("hello").id(priorCall); mock.stubs().method("goodbye").after(priorCall); try { proxy.goodbye(); fail("should have thrown DynamicMockError"); } catch( DynamicMockError ex ) { assertTrue( "error message should contain id of prior call", ex.getMessage().indexOf(priorCall) >= 0 ); } }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/OrderedInvocationsAcceptanceTest.java/clean/jmock/core/acceptance-tests/atest/jmock/OrderedInvocationsAcceptanceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 16756, 10125, 10136, 1248, 12397, 11224, 2448, 1435, 288, 202, 202, 780, 6432, 1477, 273, 315, 20264, 1502, 17, 13730, 17, 734, 14432, 9506, 202, 22851, 18, 31960, 7675, 2039, 2932, 23711, 20387, 350, 12, 17927, 1477, 1769, 202, 202, 22851, 18, 31960, 7675, 2039, 2932, 19747, 1637, 73, 20387, 5205, 12, 17927, 1477, 1769, 9506, 202, 698, 288, 5411, 2889, 18, 19747, 1637, 73, 5621, 5411, 2321, 2932, 13139, 1240, 6718, 12208, 9865, 668, 8863, 3639, 289, 3639, 1044, 12, 12208, 9865, 668, 431, 262, 288, 5411, 1815, 5510, 12, 315, 1636, 883, 1410, 912, 612, 434, 6432, 745, 3113, 540, 9506, 202, 338, 18, 24906, 7675, 31806, 12, 17927, 1477, 13, 1545, 374, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 16756, 10125, 10136, 1248, 12397, 11224, 2448, 1435, 288, 202, 202, 780, 6432, 1477, 273, 315, 20264, 1502, 17, 13730, 17, 734, 14432, 9506, 202, 22851, 18, 31960, 7675, 2039, 2932, 23711, 20387, 350, 12, 17927, 1477, 1769, 202, 202, 22851, 18, 31960, 7675, 2039, 2932, 19747, 1637, 73, 20387, 5205, 12, 17927, 1477, 1769, 9506, 202, 698, 288, 5411, 2889, 18, 19747, 1637, 73, 5621, 5411, 2321, 2932, 13139, 1240, 6718, 12208, 9865, 668, 8863, 3639, 289, 3639, 1044, 12, 12208, 9865, 668, 431, 262, 288, 5411, 1815, 5510, 12, 315, 1636, 883, 1410, 912, 612, 434, 6432, 745, 3113, 540, 9506, 202, 338, 18, 24906, 7675, 31806, 12, 17927, 1477, 13, 1545, 2 ]
public void init(FilterConfig filterConfig) { mLogger.info("Initializing if-modified cache"); Map cacheProps = new HashMap(); Enumeration allProps = RollerConfig.keys(); String prop = null; while(allProps.hasMoreElements()) { prop = (String) allProps.nextElement(); // we are only interested in props for this cache if(prop.startsWith(CACHE_ID+".")) { cacheProps.put(prop.substring(CACHE_ID.length()+1), RollerConfig.getProperty(prop)); } } mLogger.info(cacheProps); mCache = CacheManager.constructCache(this, cacheProps); }
46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/dc8131615f06cc2b450807d2feaa6d73729725f2/IfModifiedWeblogPageCacheFilter.java/clean/src/org/apache/roller/ui/rendering/filters/IfModifiedWeblogPageCacheFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 1586, 809, 1034, 809, 13, 288, 7734, 312, 3328, 18, 1376, 2932, 29782, 309, 17, 7342, 1247, 8863, 7734, 1635, 1247, 5047, 273, 394, 4317, 5621, 3639, 13864, 777, 5047, 273, 11714, 749, 809, 18, 2452, 5621, 3639, 514, 2270, 273, 446, 31, 3639, 1323, 12, 454, 5047, 18, 5332, 7417, 3471, 10756, 288, 5411, 2270, 273, 261, 780, 13, 777, 5047, 18, 4285, 1046, 5621, 13491, 368, 732, 854, 1338, 20506, 316, 3458, 364, 333, 1247, 5411, 309, 12, 5986, 18, 17514, 1190, 12, 8495, 67, 734, 9078, 1199, 3719, 288, 7734, 1247, 5047, 18, 458, 12, 5986, 18, 28023, 12, 8495, 67, 734, 18, 2469, 1435, 15, 21, 3631, 7682, 11714, 749, 809, 18, 588, 1396, 12, 5986, 10019, 5411, 289, 3639, 289, 7734, 312, 3328, 18, 1376, 12, 2493, 5047, 1769, 7734, 312, 1649, 273, 4379, 1318, 18, 10062, 1649, 12, 2211, 16, 1247, 5047, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 1586, 809, 1034, 809, 13, 288, 7734, 312, 3328, 18, 1376, 2932, 29782, 309, 17, 7342, 1247, 8863, 7734, 1635, 1247, 5047, 273, 394, 4317, 5621, 3639, 13864, 777, 5047, 273, 11714, 749, 809, 18, 2452, 5621, 3639, 514, 2270, 273, 446, 31, 3639, 1323, 12, 454, 5047, 18, 5332, 7417, 3471, 10756, 288, 5411, 2270, 273, 261, 780, 13, 777, 5047, 18, 4285, 1046, 5621, 13491, 368, 732, 854, 1338, 20506, 316, 3458, 364, 333, 1247, 5411, 309, 12, 5986, 18, 17514, 1190, 12, 8495, 67, 734, 9078, 1199, 3719, 288, 7734, 1247, 5047, 18, 458, 12, 5986, 18, 28023, 12, 8495, 67, 734, 18, 2469, 1435, 15, 21, 3631, 7682, 11714, 749, 2 ]
return this.showAromaticity; }
return this.showAromaticity; }
public boolean getShowAromaticity() { return this.showAromaticity; }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/b7597d09b03980486670c72a7289affda9ea694b/Renderer2DModel.java/clean/src/org/openscience/cdk/renderer/Renderer2DModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 7932, 543, 37, 27468, 560, 1435, 288, 565, 327, 333, 18, 4500, 37, 27468, 560, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 7932, 543, 37, 27468, 560, 1435, 288, 565, 327, 333, 18, 4500, 37, 27468, 560, 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 ]
if (jj_3R_198()) return true;
if (jj_scan_token(HOOK)) return true;
final private boolean jj_3R_176() { if (jj_3R_198()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_230()) { jj_scanpos = xsp; break; } } return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/a180e9b19197c7613f1e73c6ec8a574a17011e5e/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 28493, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 7995, 3141, 3719, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 29157, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 28493, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 7995, 3141, 3719, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 29157, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
getTool().getQuickFixes(new RefElement[] {(RefElement)myCurrentEntity})[actionNumber].doApplyFix(new RefElement[]{(RefElement)myCurrentEntity});
getTool().getQuickFixes(new RefElement[]{(RefElement)myCurrentEntity})[actionNumber] .doApplyFix(new RefElement[]{(RefElement)myCurrentEntity});
public void hyperlinkUpdate(HyperlinkEvent e) { if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { JEditorPane pane = (JEditorPane)e.getSource(); if (e instanceof HTMLFrameHyperlinkEvent) { HTMLFrameHyperlinkEvent evt = (HTMLFrameHyperlinkEvent)e; HTMLDocument doc = (HTMLDocument)pane.getDocument(); doc.processHTMLFrameHyperlinkEvent(evt); } else { try { URL url = e.getURL(); String ref = url.getRef(); if (ref.startsWith("pos:")) { int delimeterPos = ref.indexOf(':', "pos:".length() + 1); String startPosition = ref.substring("pos:".length(), delimeterPos); String endPosition = ref.substring(delimeterPos + 1); Integer textStartOffset = new Integer(startPosition); Integer textEndOffset = new Integer(endPosition); String fileURL = url.toExternalForm(); fileURL = fileURL.substring(0, fileURL.indexOf('#')); VirtualFile vFile = VirtualFileManager.getInstance().findFileByUrl(fileURL); if (vFile != null) { fireClickEvent(vFile, textStartOffset.intValue(), textEndOffset.intValue()); } } else if (ref.startsWith("descr:")) { int descriptionIndex = Integer.parseInt(ref.substring("descr:".length())); ProblemDescriptor descriptor = ((DescriptorProviderInspection)getTool()).getDescriptions( (RefElement)myCurrentEntity)[descriptionIndex]; PsiElement psiElement = descriptor.getPsiElement(); if (psiElement == null) return; VirtualFile vFile = psiElement.getContainingFile().getVirtualFile(); if (vFile != null) { TextRange range = psiElement.getTextRange(); fireClickEvent(vFile, range.getStartOffset(), range.getEndOffset()); } } else if (ref.startsWith("invoke:")) { int actionNumber = Integer.parseInt(ref.substring("invoke:".length())); getTool().getQuickFixes(new RefElement[] {(RefElement)myCurrentEntity})[actionNumber].doApplyFix(new RefElement[]{(RefElement)myCurrentEntity}); } else if (ref.startsWith("invokelocal:")) { int actionNumber = Integer.parseInt(ref.substring("invokelocal:".length())); if (actionNumber > -1){ myView.invokeLocalFix(actionNumber); } } else { int offset = Integer.parseInt(ref); String fileURL = url.toExternalForm(); fileURL = fileURL.substring(0, fileURL.indexOf('#')); VirtualFile vFile = VirtualFileManager.getInstance().findFileByUrl(fileURL); if (vFile != null) { fireClickEvent(vFile, offset, offset); } } } catch (Throwable t) { t.printStackTrace(); } } } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/a8c458ccadb63729cc057f72199e325c8e861025/Browser.java/clean/source/com/intellij/codeInspection/ui/Browser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 9512, 1232, 1891, 12, 15996, 1232, 1133, 425, 13, 288, 3639, 309, 261, 73, 18, 588, 16346, 1435, 422, 18274, 1232, 1133, 18, 16346, 18, 22271, 6344, 13, 288, 1850, 804, 6946, 8485, 13618, 273, 261, 46, 6946, 8485, 13, 73, 18, 588, 1830, 5621, 1850, 309, 261, 73, 1276, 3982, 3219, 15996, 1232, 1133, 13, 288, 5411, 3982, 3219, 15996, 1232, 1133, 6324, 273, 261, 4870, 3219, 15996, 1232, 1133, 13, 73, 31, 5411, 3982, 2519, 997, 273, 261, 4870, 2519, 13, 29009, 18, 588, 2519, 5621, 5411, 997, 18, 2567, 4870, 3219, 15996, 1232, 1133, 12, 73, 11734, 1769, 1850, 289, 1850, 469, 288, 5411, 775, 288, 2868, 1976, 880, 273, 425, 18, 588, 1785, 5621, 2868, 514, 1278, 273, 880, 18, 588, 1957, 5621, 2868, 309, 261, 1734, 18, 17514, 1190, 2932, 917, 2773, 3719, 288, 7734, 509, 10508, 847, 1616, 273, 1278, 18, 31806, 2668, 30, 2187, 315, 917, 2773, 18, 2469, 1435, 397, 404, 1769, 7734, 514, 23549, 273, 1278, 18, 28023, 2932, 917, 2773, 18, 2469, 9334, 10508, 847, 1616, 1769, 7734, 514, 679, 2555, 273, 1278, 18, 28023, 12, 23822, 847, 1616, 397, 404, 1769, 7734, 2144, 977, 1685, 2335, 273, 394, 2144, 12, 1937, 2555, 1769, 7734, 2144, 977, 1638, 2335, 273, 394, 2144, 12, 409, 2555, 1769, 7734, 514, 585, 1785, 273, 880, 18, 869, 6841, 1204, 5621, 7734, 585, 1785, 273, 585, 1785, 18, 28023, 12, 20, 16, 585, 1785, 18, 31806, 2668, 7, 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, 4202, 1071, 918, 9512, 1232, 1891, 12, 15996, 1232, 1133, 425, 13, 288, 3639, 309, 261, 73, 18, 588, 16346, 1435, 422, 18274, 1232, 1133, 18, 16346, 18, 22271, 6344, 13, 288, 1850, 804, 6946, 8485, 13618, 273, 261, 46, 6946, 8485, 13, 73, 18, 588, 1830, 5621, 1850, 309, 261, 73, 1276, 3982, 3219, 15996, 1232, 1133, 13, 288, 5411, 3982, 3219, 15996, 1232, 1133, 6324, 273, 261, 4870, 3219, 15996, 1232, 1133, 13, 73, 31, 5411, 3982, 2519, 997, 273, 261, 4870, 2519, 13, 29009, 18, 588, 2519, 5621, 5411, 997, 18, 2567, 4870, 3219, 15996, 1232, 1133, 12, 73, 11734, 1769, 1850, 289, 1850, 469, 288, 5411, 775, 288, 2868, 1976, 880, 273, 425, 18, 588, 2 ]
generateReturnResult(cfw, retType);
generateReturnResult(cfw, returnType);
private static void generateMethod(ClassFileWriter cfw, String genName, String methodName, Class[] parms, Class returnType) { StringBuffer sb = new StringBuffer(); sb.append('('); short arrayLocal = 1; // includes this. for (int i = 0; i < parms.length; i++) { Class type = parms[i]; appendTypeString(sb, type); if (type.equals(Long.TYPE) || type.equals(Double.TYPE)) arrayLocal += 2; else arrayLocal += 1; } sb.append(')'); appendTypeString(sb, returnType); String methodSignature = sb.toString(); // System.out.println("generating " + m.getName() + methodSignature); // System.out.flush(); cfw.startMethod(methodName, methodSignature, ClassFileWriter.ACC_PUBLIC); cfw.add(ByteCode.BIPUSH, (byte) parms.length); // > 255 parms? cfw.add(ByteCode.ANEWARRAY, "java/lang/Object"); cfw.add(ByteCode.ASTORE, arrayLocal); // allocate a local variable to store the scope used to wrap native objects. short scopeLocal = (short) (arrayLocal + 1); boolean loadedScope = false; int paramOffset = 1; for (int i = 0; i < parms.length; i++) { cfw.add(ByteCode.ALOAD, arrayLocal); cfw.add(ByteCode.BIPUSH, i); if (parms[i].isPrimitive()) { paramOffset = generateWrapParam(cfw, paramOffset, parms[i]); } else { // An arbitary Java object; call Context.toObject to wrap in // a Scriptable object cfw.add(ByteCode.ALOAD, paramOffset++); if (! loadedScope) { // load this.self into a local the first time it's needed. // it will provide the scope needed by Context.toObject(). cfw.add(ByteCode.ALOAD_0); cfw.add(ByteCode.GETFIELD, genName, "self", "Lorg/mozilla/javascript/Scriptable;"); cfw.add(ByteCode.ASTORE, scopeLocal); loadedScope = true; } cfw.add(ByteCode.ALOAD, scopeLocal); // Get argument Class cfw.addLoadConstant(parms[i].getName()); cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/ScriptRuntime", "loadClassName", "(Ljava/lang/String;)", "Ljava/lang/Class;"); cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/JavaAdapter", "toObject", "(Ljava/lang/Object;" + "Lorg/mozilla/javascript/Scriptable;" + "Ljava/lang/Class;)", "Lorg/mozilla/javascript/Scriptable;"); } cfw.add(ByteCode.AASTORE); } cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.GETFIELD, genName, "self", "Lorg/mozilla/javascript/Scriptable;"); cfw.addLoadConstant(methodName); cfw.add(ByteCode.ALOAD, arrayLocal); // go through utility method, which creates a Context to run the // method in. cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/JavaAdapter", "callMethod", "(Lorg/mozilla/javascript/Scriptable;" + "Ljava/lang/String;[Ljava/lang/Object;)", "Ljava/lang/Object;"); Class retType = returnType; if (retType.equals(Void.TYPE)) { cfw.add(ByteCode.POP); cfw.add(ByteCode.RETURN); } else { generateReturnResult(cfw, retType); } cfw.stopMethod((short)(scopeLocal + 1), null); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/3e5fd3dbb073097c065905635aa2bffcdd968c12/JavaAdapter.java/buggy/src/org/mozilla/javascript/JavaAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2103, 1305, 12, 797, 812, 2289, 6080, 91, 16, 514, 3157, 461, 16, 4766, 3639, 514, 4918, 16, 1659, 8526, 17902, 16, 4766, 4202, 1659, 9424, 13, 377, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 2393, 18, 6923, 2668, 2668, 1769, 3639, 3025, 526, 2042, 273, 404, 31, 202, 759, 6104, 333, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 17902, 18, 2469, 31, 277, 27245, 288, 5411, 1659, 618, 273, 17902, 63, 77, 15533, 5411, 714, 559, 780, 12, 18366, 16, 618, 1769, 5411, 309, 261, 723, 18, 14963, 12, 3708, 18, 2399, 13, 747, 618, 18, 14963, 12, 5265, 18, 2399, 3719, 7734, 526, 2042, 1011, 576, 31, 5411, 469, 7734, 526, 2042, 1011, 404, 31, 3639, 289, 3639, 2393, 18, 6923, 2668, 2506, 1769, 3639, 714, 559, 780, 12, 18366, 16, 9424, 1769, 3639, 514, 707, 5374, 273, 2393, 18, 10492, 5621, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 3441, 1776, 315, 397, 312, 18, 17994, 1435, 397, 707, 5374, 1769, 3639, 368, 2332, 18, 659, 18, 11330, 5621, 3639, 6080, 91, 18, 1937, 1305, 12, 2039, 461, 16, 707, 5374, 16, 7682, 30614, 2289, 18, 31414, 67, 14939, 1769, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 38, 2579, 57, 2664, 16, 261, 7229, 13, 17902, 18, 2469, 1769, 225, 368, 405, 4561, 17902, 35, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1258, 7245, 8552, 16, 315, 6290, 19, 4936, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2103, 1305, 12, 797, 812, 2289, 6080, 91, 16, 514, 3157, 461, 16, 4766, 3639, 514, 4918, 16, 1659, 8526, 17902, 16, 4766, 4202, 1659, 9424, 13, 377, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 2393, 18, 6923, 2668, 2668, 1769, 3639, 3025, 526, 2042, 273, 404, 31, 202, 759, 6104, 333, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 17902, 18, 2469, 31, 277, 27245, 288, 5411, 1659, 618, 273, 17902, 63, 77, 15533, 5411, 714, 559, 780, 12, 18366, 16, 618, 1769, 5411, 309, 261, 723, 18, 14963, 12, 3708, 18, 2399, 13, 747, 618, 18, 14963, 12, 5265, 18, 2399, 3719, 7734, 526, 2042, 1011, 576, 31, 2 ]
for (Iterator iter= fTestMethods.iterator(); iter.hasNext();) { Method method= (Method) iter.next();
for (Iterator<Method> iter= fTestMethods.iterator(); iter.hasNext();) { Method method= iter.next();
public void filter(Filter filter) throws NoTestsRemainException { for (Iterator iter= fTestMethods.iterator(); iter.hasNext();) { Method method= (Method) iter.next(); if (!filter.shouldRun(methodDescription(method))) iter.remove(); } if (fTestMethods.isEmpty()) throw new NoTestsRemainException(); }
46243 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46243/0cdf29715af64edd05229c400f214417fecdef89/TestClassMethodsRunner.java/buggy/org/junit/internal/runners/TestClassMethodsRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1034, 12, 1586, 1034, 13, 1216, 2631, 14650, 1933, 530, 503, 288, 202, 202, 1884, 261, 3198, 1400, 33, 284, 4709, 4712, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 1305, 707, 33, 261, 1305, 13, 1400, 18, 4285, 5621, 1082, 202, 430, 16051, 2188, 18, 13139, 1997, 12, 2039, 3291, 12, 2039, 20349, 9506, 202, 2165, 18, 4479, 5621, 202, 202, 97, 202, 202, 430, 261, 74, 4709, 4712, 18, 291, 1921, 10756, 1082, 202, 12849, 394, 2631, 14650, 1933, 530, 503, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1034, 12, 1586, 1034, 13, 1216, 2631, 14650, 1933, 530, 503, 288, 202, 202, 1884, 261, 3198, 1400, 33, 284, 4709, 4712, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 1305, 707, 33, 261, 1305, 13, 1400, 18, 4285, 5621, 1082, 202, 430, 16051, 2188, 18, 13139, 1997, 12, 2039, 3291, 12, 2039, 20349, 9506, 202, 2165, 18, 4479, 5621, 202, 202, 97, 202, 202, 430, 261, 74, 4709, 4712, 18, 291, 1921, 10756, 1082, 202, 12849, 394, 2631, 14650, 1933, 530, 503, 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 ]
if( object_reference.indexOf('#') == -1 ) corbaloc = "corbaloc:" + object_reference.substring(object_reference.indexOf(':')+1 );
if (object_reference.indexOf('#') == -1) { corbaloc += object_reference.substring (object_reference.indexOf (':') + 1); }
protected void parse( String object_reference ) throws IllegalArgumentException { if( object_reference == null ) throw new IllegalArgumentException(); if ( object_reference.startsWith("IOR:") ) { ByteArrayOutputStream bos = new ByteArrayOutputStream(); int cnt = (object_reference.length()-4) / 2; for(int j=0; j<cnt; j++) { char c1 = object_reference.charAt(j*2+4); char c2 = object_reference.charAt(j*2+5); int i1 = (c1 >= 'a') ? (10 + c1 - 'a') : ((c1 >= 'A') ? (10 + c1 - 'A') : (c1 - '0')); int i2 = (c2 >= 'a') ? (10 + c2 - 'a') : ((c2 >= 'A') ? (10 + c2 - 'A') : (c2 - '0')); bos.write((i1*16+i2)); } CDRInputStream in_ = null; if( orb == null ) { in_ = new CDRInputStream( org.omg.CORBA.ORB.init(), bos.toByteArray() ); } else { in_ = new CDRInputStream( orb, bos.toByteArray() ); } endianness = in_.read_boolean(); if(endianness) in_.setLittleEndian(true); IOR _ior = IORHelper.read(in_); decode( _ior ); } else if (object_reference.startsWith("corbaloc:")) { decode( new CorbaLoc( object_reference )); } else if (object_reference.startsWith("http://") || object_reference.startsWith("file:/") ) { parse( ObjectUtil.readURL( object_reference ) ); } else if( object_reference.startsWith("corbaname:") ) { String corbaloc; String name = ""; if( object_reference.indexOf('#') == -1 ) corbaloc = "corbaloc:" + object_reference.substring(object_reference.indexOf(':')+1 ); else { corbaloc = "corbaloc:" + object_reference.substring(object_reference.indexOf(':')+1, object_reference.indexOf('#')); name = object_reference.substring(object_reference.indexOf('#')+1); } /* empty key string in corbaname becomes NameService */ if( corbaloc.indexOf('/') == -1 ) corbaloc += "/NameService"; Debug.output(4,corbaloc); try { NamingContextExt n = NamingContextExtHelper.narrow( orb.string_to_object(corbaloc)); org.omg.CORBA.Object target = n.resolve_str( name ); IOR ior = ((Delegate)((org.omg.CORBA.portable.ObjectImpl)target)._get_delegate()).getIOR(); decode(ior); } catch( Exception e ) { Debug.output(4, e ); throw new IllegalArgumentException("Invalid object reference: " + object_reference); } } else { throw new IllegalArgumentException("Invalid IOR format: " + object_reference ); } ior_str = getIORString (); }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/fef26d189f856097d54c6b9001114b72317508c9/ParsedIOR.java/clean/src/org/jacorb/orb/ParsedIOR.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1109, 12, 514, 733, 67, 6180, 262, 3639, 1216, 2754, 565, 288, 3639, 309, 12, 733, 67, 6180, 422, 446, 262, 5411, 604, 394, 2754, 5621, 202, 430, 261, 733, 67, 6180, 18, 17514, 1190, 2932, 45, 916, 2773, 13, 262, 202, 95, 202, 565, 11559, 23904, 273, 394, 11559, 5621, 202, 565, 509, 7599, 273, 261, 1612, 67, 6180, 18, 2469, 1435, 17, 24, 13, 342, 576, 31, 202, 565, 364, 12, 474, 525, 33, 20, 31, 525, 32, 13085, 31, 525, 27245, 202, 565, 288, 202, 202, 3001, 276, 21, 273, 733, 67, 6180, 18, 3001, 861, 12, 78, 14, 22, 15, 24, 1769, 202, 202, 3001, 276, 22, 273, 733, 67, 6180, 18, 3001, 861, 12, 78, 14, 22, 15, 25, 1769, 202, 202, 474, 277, 21, 273, 261, 71, 21, 1545, 296, 69, 6134, 692, 261, 2163, 397, 276, 21, 300, 296, 69, 6134, 294, 1082, 565, 14015, 71, 21, 1545, 296, 37, 6134, 692, 261, 2163, 397, 276, 21, 300, 296, 37, 6134, 294, 1082, 377, 261, 71, 21, 300, 296, 20, 6134, 1769, 202, 202, 474, 277, 22, 273, 261, 71, 22, 1545, 296, 69, 6134, 692, 261, 2163, 397, 276, 22, 300, 296, 69, 6134, 294, 1082, 565, 14015, 71, 22, 1545, 296, 37, 6134, 692, 261, 2163, 397, 276, 22, 300, 296, 37, 6134, 294, 1082, 377, 261, 71, 22, 300, 296, 20, 6134, 1769, 202, 202, 70, 538, 18, 2626, 12443, 77, 21, 14, 2313, 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, 1109, 12, 514, 733, 67, 6180, 262, 3639, 1216, 2754, 565, 288, 3639, 309, 12, 733, 67, 6180, 422, 446, 262, 5411, 604, 394, 2754, 5621, 202, 430, 261, 733, 67, 6180, 18, 17514, 1190, 2932, 45, 916, 2773, 13, 262, 202, 95, 202, 565, 11559, 23904, 273, 394, 11559, 5621, 202, 565, 509, 7599, 273, 261, 1612, 67, 6180, 18, 2469, 1435, 17, 24, 13, 342, 576, 31, 202, 565, 364, 12, 474, 525, 33, 20, 31, 525, 32, 13085, 31, 525, 27245, 202, 565, 288, 202, 202, 3001, 276, 21, 273, 733, 67, 6180, 18, 3001, 861, 12, 78, 14, 22, 15, 24, 1769, 202, 202, 3001, 276, 22, 273, 733, 67, 6180, 18, 2 ]
private boolean ensureElementDeclCapacity(int chunk) { try { return fElementDeclName[chunk][0] == null; } catch (ArrayIndexOutOfBoundsException ex) {
private void ensureElementDeclCapacity(int chunk) { if (chunk >= fElementDeclName.length) {
private boolean ensureElementDeclCapacity(int chunk) { try { return fElementDeclName[chunk][0] == null; } catch (ArrayIndexOutOfBoundsException ex) { fElementDeclName = resize(fElementDeclName, fElementDeclName.length * 2); fElementDeclType = resize(fElementDeclType, fElementDeclType.length * 2); fElementDeclDatatypeValidator = resize(fElementDeclDatatypeValidator, fElementDeclDatatypeValidator.length * 2); fElementDeclContentModelValidator = resize(fElementDeclContentModelValidator, fElementDeclContentModelValidator.length * 2); fElementDeclContentSpecIndex = resize(fElementDeclContentSpecIndex,fElementDeclContentSpecIndex.length * 2); fElementDeclFirstAttributeDeclIndex = resize(fElementDeclFirstAttributeDeclIndex, fElementDeclFirstAttributeDeclIndex.length * 2); fElementDeclLastAttributeDeclIndex = resize(fElementDeclLastAttributeDeclIndex, fElementDeclLastAttributeDeclIndex.length * 2); fElementDeclDefaultValue = resize( fElementDeclDefaultValue, fElementDeclDefaultValue.length * 2 ); fElementDeclDefaultType = resize( fElementDeclDefaultType, fElementDeclDefaultType.length *2 ); } catch (NullPointerException ex) { // ignore } fElementDeclName[chunk] = new QName[CHUNK_SIZE]; fElementDeclType[chunk] = new short[CHUNK_SIZE]; fElementDeclDatatypeValidator[chunk] = new DatatypeValidator[CHUNK_SIZE]; fElementDeclContentModelValidator[chunk] = new ContentModelValidator[CHUNK_SIZE]; fElementDeclContentSpecIndex[chunk] = new int[CHUNK_SIZE]; fElementDeclFirstAttributeDeclIndex[chunk] = new int[CHUNK_SIZE]; fElementDeclLastAttributeDeclIndex[chunk] = new int[CHUNK_SIZE]; fElementDeclDefaultValue[chunk] = new String[CHUNK_SIZE]; fElementDeclDefaultType[chunk] = new short[CHUNK_SIZE]; return true; }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/36f83a9a264468b4c48704319105a07fc36f7d2f/AbstractDTDGrammar.java/buggy/src/org/apache/xerces/impl/dtd/AbstractDTDGrammar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3387, 1046, 3456, 7437, 12, 474, 2441, 13, 288, 3639, 775, 288, 5411, 327, 284, 1046, 3456, 461, 63, 6551, 6362, 20, 65, 422, 446, 31, 3639, 289, 1044, 261, 1076, 30548, 431, 13, 288, 5411, 284, 1046, 3456, 461, 273, 7041, 12, 74, 1046, 3456, 461, 16, 284, 1046, 3456, 461, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 559, 273, 7041, 12, 74, 1046, 3456, 559, 16, 284, 1046, 3456, 559, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 20228, 5126, 273, 7041, 12, 74, 1046, 3456, 20228, 5126, 16, 284, 1046, 3456, 20228, 5126, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 1350, 1488, 5126, 273, 7041, 12, 74, 1046, 3456, 1350, 1488, 5126, 16, 284, 1046, 3456, 1350, 1488, 5126, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 1350, 1990, 1016, 273, 7041, 12, 74, 1046, 3456, 1350, 1990, 1016, 16, 74, 1046, 3456, 1350, 1990, 1016, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 3759, 1499, 3456, 1016, 273, 7041, 12, 74, 1046, 3456, 3759, 1499, 3456, 1016, 16, 284, 1046, 3456, 3759, 1499, 3456, 1016, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 3024, 1499, 3456, 1016, 273, 7041, 12, 74, 1046, 3456, 3024, 1499, 3456, 1016, 16, 284, 1046, 3456, 3024, 1499, 3456, 1016, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 15646, 273, 7041, 12, 284, 1046, 3456, 15646, 16, 284, 1046, 3456, 15646, 18, 2469, 380, 576, 11272, 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, 3387, 1046, 3456, 7437, 12, 474, 2441, 13, 288, 3639, 775, 288, 5411, 327, 284, 1046, 3456, 461, 63, 6551, 6362, 20, 65, 422, 446, 31, 3639, 289, 1044, 261, 1076, 30548, 431, 13, 288, 5411, 284, 1046, 3456, 461, 273, 7041, 12, 74, 1046, 3456, 461, 16, 284, 1046, 3456, 461, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 559, 273, 7041, 12, 74, 1046, 3456, 559, 16, 284, 1046, 3456, 559, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 20228, 5126, 273, 7041, 12, 74, 1046, 3456, 20228, 5126, 16, 284, 1046, 3456, 20228, 5126, 18, 2469, 380, 576, 1769, 5411, 284, 1046, 3456, 1350, 1488, 5126, 273, 7041, 12, 74, 1046, 2 ]
String dbUrl = SampleDBConstants.getDBUrl( );
String dbUrl = SampledbPlugin.getDBUrl( );
public Connection getConnection( String driverClass, String url, Properties connectionProperties ) throws SQLException { if ( ! driverClass.equals( SampleDBConstants.DRIVER_CLASS) ) { // This is unexpected; we shouldn't be getting this call logger.log( Level.SEVERE, "Unexpected driverClass: " + driverClass ); throw new SQLException("Unexpected driverClass " + driverClass); } if ( ! url.equals(SampleDBConstants.DRIVER_URL) ) { // Wrong url logger.log( Level.WARNING, "Unexpected url: " + url ); throw new SQLException("Classic Models Inc. Sample Database Driver does not recognize url: " + driverClass); } String dbUrl = SampleDBConstants.getDBUrl( ); // Copy connection properties and replace user and password with fixed value Properties props; if ( connectionProperties != null ) props = (Properties)connectionProperties.clone(); else props = new Properties(); props.put( "user", SampleDBConstants.SAMPLE_DB_SCHEMA); props.put( "password", "" ); try { return JDBCDriverManager.getInstance().getConnection( SampleDBConstants.DERBY_DRIVER_CLASS, dbUrl, props ); } catch (OdaException e) { throw new SQLException(e.getLocalizedMessage()); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ad335345c665ba5e3ab3885d77f2b46d42130cc1/SampleDBJDBCConnectionFactory.java/clean/data/org.eclipse.birt.report.data.oda.sampledb/src/org/eclipse/birt/report/data/oda/sampledb/SampleDBJDBCConnectionFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4050, 6742, 12, 514, 3419, 797, 16, 514, 880, 16, 1082, 202, 2297, 1459, 2297, 262, 1216, 6483, 202, 95, 202, 202, 430, 261, 401, 3419, 797, 18, 14963, 12, 11474, 2290, 2918, 18, 27720, 67, 5237, 13, 262, 202, 202, 95, 1082, 202, 759, 1220, 353, 9733, 31, 732, 12044, 1404, 506, 8742, 333, 745, 1082, 202, 4901, 18, 1330, 12, 4557, 18, 1090, 2204, 41, 16, 315, 7762, 3419, 797, 30, 315, 397, 3419, 797, 11272, 1082, 202, 12849, 394, 6483, 2932, 7762, 3419, 797, 315, 397, 3419, 797, 1769, 202, 202, 97, 202, 202, 430, 261, 401, 880, 18, 14963, 12, 8504, 2290, 2918, 18, 27720, 67, 1785, 13, 262, 202, 202, 95, 1082, 202, 759, 24668, 880, 1082, 202, 4901, 18, 1330, 12, 4557, 18, 9511, 16, 315, 7762, 880, 30, 315, 397, 880, 11272, 1082, 202, 12849, 394, 6483, 2932, 797, 335, 17531, 15090, 18, 11474, 5130, 9396, 1552, 486, 21431, 880, 30, 315, 397, 3419, 797, 1769, 202, 202, 97, 202, 202, 780, 1319, 1489, 273, 11474, 2290, 2918, 18, 588, 2290, 1489, 12, 11272, 9506, 202, 759, 5631, 1459, 1790, 471, 1453, 729, 471, 2201, 598, 5499, 460, 202, 202, 2297, 3458, 31, 202, 202, 430, 261, 1459, 2297, 480, 446, 262, 1082, 202, 9693, 273, 261, 2297, 13, 4071, 2297, 18, 14056, 5621, 202, 202, 12107, 1875, 202, 9693, 273, 394, 6183, 5621, 3196, 202, 9693, 18, 458, 12, 315, 1355, 3113, 11474, 2290, 2918, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4050, 6742, 12, 514, 3419, 797, 16, 514, 880, 16, 1082, 202, 2297, 1459, 2297, 262, 1216, 6483, 202, 95, 202, 202, 430, 261, 401, 3419, 797, 18, 14963, 12, 11474, 2290, 2918, 18, 27720, 67, 5237, 13, 262, 202, 202, 95, 1082, 202, 759, 1220, 353, 9733, 31, 732, 12044, 1404, 506, 8742, 333, 745, 1082, 202, 4901, 18, 1330, 12, 4557, 18, 1090, 2204, 41, 16, 315, 7762, 3419, 797, 30, 315, 397, 3419, 797, 11272, 1082, 202, 12849, 394, 6483, 2932, 7762, 3419, 797, 315, 397, 3419, 797, 1769, 202, 202, 97, 202, 202, 430, 261, 401, 880, 18, 14963, 12, 8504, 2290, 2918, 18, 27720, 67, 1785, 13, 262, 202, 202, 95, 2 ]
return new OPT_ObjectConstantOperand(field.getObjectValueUnchecked(obj), Offset.zero());
Object value = field.getObjectValueUnchecked(obj); if (value != null) { return new OPT_ObjectConstantOperand(value, Offset.zero()); } else { return new OPT_NullConstantOperand(); }
public static OPT_ConstantOperand getFieldValueAsConstant(VM_Field field, Object obj) throws NoSuchFieldException { VM_TypeReference type = field.getType(); if (VM.runningVM) { if(type.isReferenceType() && !type.isMagicType()) { return new OPT_ObjectConstantOperand(field.getObjectValueUnchecked(obj), Offset.zero()); } else if(type.isIntType()) { return new OPT_IntConstantOperand(field.getIntValueUnchecked(obj)); } else if(type.isBooleanType()) { return new OPT_IntConstantOperand(field.getBooleanValueUnchecked(obj) ? 1 : 0); } else if(type.isByteType()) { return new OPT_IntConstantOperand(field.getByteValueUnchecked(obj)); } else if(type.isCharType()) { return new OPT_IntConstantOperand(field.getCharValueUnchecked(obj)); } else if(type.isDoubleType()) { return new OPT_DoubleConstantOperand(field.getDoubleValueUnchecked(obj)); } else if(type.isFloatType()) { return new OPT_FloatConstantOperand(field.getFloatValueUnchecked(obj)); } else if(type.isLongType()) { return new OPT_LongConstantOperand(field.getLongValueUnchecked(obj)); } else if(type.isShortType()) { return new OPT_IntConstantOperand(field.getShortValueUnchecked(obj)); } else { OPT_OptimizingCompilerException.UNREACHABLE("Unknown type " + type); return null; } } else { try { String cn = field.getDeclaringClass().toString(); Field f = Class.forName(cn).getDeclaredField(field.getName().toString()); f.setAccessible(true); if(type.isReferenceType() && !type.isMagicType()) { return new OPT_ObjectConstantOperand(f.get(obj), Offset.zero()); } else if(type.isIntType()) { return new OPT_IntConstantOperand(f.getInt(obj)); } else if(type.isBooleanType()) { return new OPT_IntConstantOperand(f.getBoolean(obj) ? 1 : 0); } else if(type.isByteType()) { return new OPT_IntConstantOperand(f.getByte(obj)); } else if(type.isCharType()) { return new OPT_IntConstantOperand(f.getChar(obj)); } else if(type.isDoubleType()) { return new OPT_DoubleConstantOperand(f.getDouble(obj)); } else if(type.isFloatType()) { return new OPT_FloatConstantOperand(f.getFloat(obj)); } else if(type.isLongType()) { return new OPT_LongConstantOperand(f.getLong(obj)); } else if(type.isShortType()) { return new OPT_IntConstantOperand(f.getShort(obj)); } else { OPT_OptimizingCompilerException.UNREACHABLE("Unknown type " + type); return null; } } catch (IllegalArgumentException e) { throw new NoSuchFieldException(field.toString()); } catch (IllegalAccessException e) { throw new NoSuchFieldException(field.toString()); } catch (NoSuchFieldError e) { throw new NoSuchFieldException(field.toString()); } catch (ClassNotFoundException e) { throw new NoSuchFieldException(field.toString()); } catch (NoClassDefFoundError e) { throw new NoSuchFieldException(field.toString()); } catch (ExceptionInInitializerError e) { throw new NoSuchFieldException(field.toString()); } } }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/25729727bd3d514cced41deb8172fdc3665e60b0/OPT_StaticFieldReader.java/clean/rvm/src/com/ibm/jikesrvm/opt/OPT_StaticFieldReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 16456, 67, 6902, 10265, 26126, 1463, 6902, 12, 7397, 67, 974, 652, 16, 1033, 1081, 13, 1216, 5823, 28846, 288, 565, 8251, 67, 7534, 618, 273, 652, 18, 588, 559, 5621, 565, 309, 261, 7397, 18, 8704, 7397, 13, 288, 1377, 309, 12, 723, 18, 291, 2404, 559, 1435, 597, 401, 723, 18, 291, 19289, 559, 10756, 288, 3639, 1033, 460, 273, 652, 18, 588, 921, 620, 984, 4532, 12, 2603, 1769, 309, 261, 1132, 480, 446, 13, 288, 327, 394, 16456, 67, 921, 6902, 10265, 12, 1132, 16, 9874, 18, 7124, 10663, 289, 469, 288, 327, 394, 16456, 67, 2041, 6902, 10265, 5621, 289, 1377, 289, 1377, 469, 309, 12, 723, 18, 291, 1702, 559, 10756, 288, 3639, 327, 394, 16456, 67, 1702, 6902, 10265, 12, 1518, 18, 588, 1702, 620, 984, 4532, 12, 2603, 10019, 1377, 289, 1377, 469, 309, 12, 723, 18, 291, 5507, 559, 10756, 288, 3639, 327, 394, 16456, 67, 1702, 6902, 10265, 12, 1518, 18, 588, 5507, 620, 984, 4532, 12, 2603, 13, 692, 404, 294, 374, 1769, 1377, 289, 1377, 469, 309, 12, 723, 18, 291, 3216, 559, 10756, 288, 3639, 327, 394, 16456, 67, 1702, 6902, 10265, 12, 1518, 18, 588, 3216, 620, 984, 4532, 12, 2603, 10019, 1377, 289, 1377, 469, 309, 12, 723, 18, 291, 2156, 559, 10756, 288, 3639, 327, 394, 16456, 67, 1702, 6902, 10265, 12, 1518, 18, 588, 2156, 620, 984, 4532, 12, 2603, 10019, 1377, 289, 1377, 469, 309, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 16456, 67, 6902, 10265, 26126, 1463, 6902, 12, 7397, 67, 974, 652, 16, 1033, 1081, 13, 1216, 5823, 28846, 288, 565, 8251, 67, 7534, 618, 273, 652, 18, 588, 559, 5621, 565, 309, 261, 7397, 18, 8704, 7397, 13, 288, 1377, 309, 12, 723, 18, 291, 2404, 559, 1435, 597, 401, 723, 18, 291, 19289, 559, 10756, 288, 3639, 1033, 460, 273, 652, 18, 588, 921, 620, 984, 4532, 12, 2603, 1769, 309, 261, 1132, 480, 446, 13, 288, 327, 394, 16456, 67, 921, 6902, 10265, 12, 1132, 16, 9874, 18, 7124, 10663, 289, 469, 288, 327, 394, 16456, 67, 2041, 6902, 10265, 5621, 289, 1377, 289, 1377, 469, 309, 12, 723, 18, 291, 1702, 559, 2 ]
List contributors = getContributors(object.getClass());
List contributors = null; Class objectClass = object.getClass(); if(lookup != null) contributors = (List) lookup.get(objectClass); if(contributors == null){ IResource adapted = getAdaptedResource(object); if(adapted == null) contributors = getContributors(objectClass); else contributors = getContributors(objectClass, adapted.getClass()); }
public boolean hasContributorsFor(Object object) { List contributors = getContributors(object.getClass()); return (contributors!=null && contributors.size()>0);}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/74da7de1347f762dcc9f9274f645ab2be37000b3/ObjectContributorManager.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/ObjectContributorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 711, 442, 665, 13595, 1290, 12, 921, 733, 13, 288, 202, 682, 13608, 13595, 273, 336, 442, 665, 13595, 12, 1612, 18, 588, 797, 10663, 202, 2463, 261, 26930, 13595, 5, 33, 2011, 597, 13608, 13595, 18, 1467, 1435, 34, 20, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 711, 442, 665, 13595, 1290, 12, 921, 733, 13, 288, 202, 682, 13608, 13595, 273, 336, 442, 665, 13595, 12, 1612, 18, 588, 797, 10663, 202, 2463, 261, 26930, 13595, 5, 33, 2011, 597, 13608, 13595, 18, 1467, 1435, 34, 20, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
addByteCode(ByteCode.SWAP); classFile.add(ByteCode.PUTFIELD, mainCodegen.generatedClassName,
cfw.add(ByteCode.SWAP); cfw.add(ByteCode.PUTFIELD, mainCodegen.generatedClassName,
private void visitFunction(OptFunctionNode fn, int functionType) { String fnClassName = fn.getClassName(); addByteCode(ByteCode.NEW, fnClassName); // Call function constructor addByteCode(ByteCode.DUP); aload(variableObjectLocal); aload(contextLocal); // load 'cx' addSpecialInvoke(fnClassName, "<init>", "(Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;" +")V"); // Init mainScript field; addByteCode(ByteCode.DUP); addByteCode(ByteCode.ALOAD_0); classFile.add(ByteCode.GETFIELD, generatedClassName, MAIN_SCRIPT_FIELD, mainCodegen.generatedClassSignature); classFile.add(ByteCode.PUTFIELD, fnClassName, MAIN_SCRIPT_FIELD, mainCodegen.generatedClassSignature); int directTargetIndex = fn.getDirectTargetIndex(); if (directTargetIndex >= 0) { addByteCode(ByteCode.DUP); addByteCode(ByteCode.ALOAD_0); classFile.add(ByteCode.GETFIELD, generatedClassName, MAIN_SCRIPT_FIELD, mainCodegen.generatedClassSignature); addByteCode(ByteCode.SWAP); classFile.add(ByteCode.PUTFIELD, mainCodegen.generatedClassName, getDirectTargetFieldName(directTargetIndex), classNameToSignature(fn.getClassName())); } // Dup function reference for function expressions to have it // on top of the stack when initFunction returns if (functionType != FunctionNode.FUNCTION_STATEMENT) { addByteCode(ByteCode.DUP); } push(functionType); aload(variableObjectLocal); aload(contextLocal); // load 'cx' addOptRuntimeInvoke("initFunction", "(Lorg/mozilla/javascript/NativeFunction;" +"I" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;" +")V"); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 2083, 12, 6179, 2083, 907, 2295, 16, 509, 445, 559, 13, 565, 288, 3639, 514, 2295, 3834, 273, 2295, 18, 588, 3834, 5621, 3639, 527, 3216, 1085, 12, 3216, 1085, 18, 12917, 16, 2295, 3834, 1769, 3639, 368, 3049, 445, 3885, 3639, 527, 3216, 1085, 12, 3216, 1085, 18, 30387, 1769, 3639, 279, 945, 12, 6105, 921, 2042, 1769, 3639, 279, 945, 12, 2472, 2042, 1769, 6647, 368, 1262, 296, 71, 92, 11, 3639, 527, 12193, 10969, 12, 4293, 3834, 16, 3532, 2738, 2984, 16, 7682, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 7682, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 7682, 397, 7923, 58, 8863, 3639, 368, 4378, 2774, 3651, 652, 31, 3639, 527, 3216, 1085, 12, 3216, 1085, 18, 30387, 1769, 3639, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 3639, 29728, 18, 1289, 12, 3216, 1085, 18, 3264, 6776, 16, 4374, 3834, 16, 8227, 22299, 67, 10885, 67, 6776, 16, 8227, 2774, 1085, 4507, 18, 11168, 797, 5374, 1769, 3639, 29728, 18, 1289, 12, 3216, 1085, 18, 4762, 6776, 16, 2295, 3834, 16, 8227, 22299, 67, 10885, 67, 6776, 16, 8227, 2774, 1085, 4507, 18, 11168, 797, 5374, 1769, 3639, 509, 2657, 2326, 1016, 273, 2295, 18, 588, 5368, 2326, 1016, 5621, 3639, 309, 261, 7205, 2326, 1016, 1545, 374, 13, 288, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 30387, 1769, 5411, 527, 3216, 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, 3757, 2083, 12, 6179, 2083, 907, 2295, 16, 509, 445, 559, 13, 565, 288, 3639, 514, 2295, 3834, 273, 2295, 18, 588, 3834, 5621, 3639, 527, 3216, 1085, 12, 3216, 1085, 18, 12917, 16, 2295, 3834, 1769, 3639, 368, 3049, 445, 3885, 3639, 527, 3216, 1085, 12, 3216, 1085, 18, 30387, 1769, 3639, 279, 945, 12, 6105, 921, 2042, 1769, 3639, 279, 945, 12, 2472, 2042, 1769, 6647, 368, 1262, 296, 71, 92, 11, 3639, 527, 12193, 10969, 12, 4293, 3834, 16, 3532, 2738, 2984, 16, 7682, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 7682, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 7682, 397, 7923, 58, 2 ]
private static boolean isOutOfOrderKey(Event event) { KeyStroke[] keyStrokes = generatePossibleKeyStrokes(event);
private static boolean isOutOfOrderKey(Set keyStrokes) {
private static boolean isOutOfOrderKey(Event event) { // Get the key strokes from the event. KeyStroke[] keyStrokes = generatePossibleKeyStrokes(event); // Compare to see if one of the possible key strokes is out of order. for (int i = 0; i < keyStrokes.length; i++) { if (outOfOrderKeys.getKeyStrokes().contains(keyStrokes[i])) { return true; } } return false; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/bfe1a6b67e1c7c2a1b1b95dac493bf149e372475/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, 760, 1250, 353, 11224, 2448, 653, 12, 1133, 871, 13, 288, 202, 202, 759, 968, 326, 498, 384, 3250, 281, 628, 326, 871, 18, 202, 202, 653, 14602, 8526, 498, 510, 3250, 281, 273, 2103, 13576, 653, 510, 3250, 281, 12, 2575, 1769, 9506, 202, 759, 11051, 358, 2621, 309, 1245, 434, 326, 3323, 498, 384, 3250, 281, 353, 596, 434, 1353, 18, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 498, 510, 3250, 281, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 659, 951, 2448, 2396, 18, 588, 653, 510, 3250, 281, 7675, 12298, 12, 856, 510, 3250, 281, 63, 77, 22643, 288, 9506, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 97, 9506, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 353, 11224, 2448, 653, 12, 1133, 871, 13, 288, 202, 202, 759, 968, 326, 498, 384, 3250, 281, 628, 326, 871, 18, 202, 202, 653, 14602, 8526, 498, 510, 3250, 281, 273, 2103, 13576, 653, 510, 3250, 281, 12, 2575, 1769, 9506, 202, 759, 11051, 358, 2621, 309, 1245, 434, 326, 3323, 498, 384, 3250, 281, 353, 596, 434, 1353, 18, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 498, 510, 3250, 281, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 659, 951, 2448, 2396, 18, 588, 653, 510, 3250, 281, 7675, 12298, 12, 856, 510, 3250, 281, 63, 77, 22643, 288, 9506, 202, 2463, 638, 31, 1082, 202, 2 ]
private AnAction processActionElement(Element element, final ClassLoader loader, PluginId pluginId) { final Application app = ApplicationManager.getApplication(); final IdeaPluginDescriptor plugin = app.getPlugin(pluginId); @NonNls final String resBundleName = plugin != null ? plugin.getResourceBundleBaseName() : ACTIONS_BUNDLE; ResourceBundle bundle = null; if (resBundleName != null) { bundle = ResourceBundle.getBundle(resBundleName, Locale.getDefault(), loader); } if (LOG.isDebugEnabled()) { LOG.debug("enter: processActionElement(" + element.getName() + ")"); } if (!ACTION_ELEMENT_NAME.equals(element.getName())) { LOG.error("unexpected name of element \"" + element.getName() + "\""); return null; } String className = element.getAttributeValue(CLASS_ATTR_NAME); if (className == null || className.length() == 0) { LOG.error("action element should have specified \"class\" attribute"); return null; } // read ID and register loaded action String id = element.getAttributeValue(ID_ATTR_NAME); if (id == null || id.length() == 0) { LOG.error("ID of the action cannot be an empty string"); return null; } if (Boolean.valueOf(element.getAttributeValue(INTERNAL_ATTR_NAME)).booleanValue() && !ApplicationManagerEx.getApplicationEx().isInternal()) { myNotRegisteredInternalActionIds.add(id); return null; } String text = loadTextForElement(element, bundle, id, ACTION_ELEMENT_NAME); if (text == null) { @NonNls String message = "'text' attribute is mandatory (action ID=" + id + ";" + (plugin == null ? "" : " plugin path: "+plugin.getPath()) + ")"; LOG.error(message); return null; } ActionStub stub = new ActionStub(className, id, text, loader); Presentation presentation = stub.getTemplatePresentation(); presentation.setText(text); // description presentation.setDescription(loadDescriptionForElement(element, bundle, id, ACTION_ELEMENT_NAME)); // icon setIcon(element.getAttributeValue(ICON_ATTR_NAME), className, loader, presentation); // process all links and key bindings if any for (final Object o : element.getChildren()) { Element e = (Element)o; if (ADD_TO_GROUP_ELEMENT_NAME.equals(e.getName())) { processAddToGroupNode(stub, e); } else if (SHORTCUT_ELEMENT_NAME.equals(e.getName())) { processKeyboardShortcutNode(e, id); } else if (MOUSE_SHORTCUT_ELEMENT_NAME.equals(e.getName())) { processMouseShortcutNode(e, id); } else { LOG.error("unexpected name of element \"" + e.getName() + "\""); return null; } } if (element.getAttributeValue(USE_SHORTCUT_OF_ATTR_NAME) != null) { ((KeymapManagerEx)myKeymapManager).bindShortcuts(element.getAttributeValue(USE_SHORTCUT_OF_ATTR_NAME), id); } // register action registerAction(id, stub, pluginId); return stub; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 979, 1803, 2567, 1803, 1046, 12, 1046, 2956, 16, 6385, 7805, 6714, 16, 3773, 548, 4094, 548, 15329, 6385, 3208, 2910, 33, 3208, 1318, 18, 588, 3208, 5621, 6385, 45, 323, 69, 3773, 3187, 4094, 33, 2910, 18, 588, 3773, 12, 4094, 548, 1769, 36, 3989, 50, 3251, 6385, 780, 455, 3405, 461, 33, 4094, 5, 33, 2011, 35, 4094, 18, 588, 18731, 29907, 13332, 12249, 55, 67, 30245, 31, 18731, 9991, 33, 2011, 31, 430, 12, 455, 3405, 461, 5, 33, 2011, 15329, 9991, 33, 18731, 18, 588, 3405, 12, 455, 3405, 461, 16, 3916, 18, 588, 1868, 9334, 6714, 1769, 97, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 2567, 1803, 1046, 2932, 15, 2956, 18, 17994, 1435, 9078, 2225, 1769, 97, 430, 12, 5, 12249, 67, 10976, 67, 1985, 18, 14963, 12, 2956, 18, 17994, 1435, 3719, 95, 4842, 18, 1636, 2932, 21248, 529, 792, 2956, 8530, 15, 2956, 18, 17994, 1435, 9078, 8530, 1769, 2463, 2011, 31, 97, 780, 12434, 33, 2956, 18, 588, 14942, 12, 5237, 67, 12043, 67, 1985, 1769, 430, 12, 12434, 631, 2011, 20081, 12434, 18, 2469, 1435, 631, 20, 15329, 4842, 18, 1636, 2932, 1128, 2956, 13139, 76, 6606, 705, 939, 2412, 1106, 2412, 4589, 8863, 2463, 2011, 31, 97, 759, 896, 734, 464, 4861, 4230, 1128, 780, 350, 33, 2956, 18, 588, 14942, 12, 734, 67, 12043, 67, 1985, 1769, 430, 12, 350, 631, 2011, 20081, 350, 18, 2469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 979, 1803, 2567, 1803, 1046, 12, 1046, 2956, 16, 6385, 7805, 6714, 16, 3773, 548, 4094, 548, 15329, 6385, 3208, 2910, 33, 3208, 1318, 18, 588, 3208, 5621, 6385, 45, 323, 69, 3773, 3187, 4094, 33, 2910, 18, 588, 3773, 12, 4094, 548, 1769, 36, 3989, 50, 3251, 6385, 780, 455, 3405, 461, 33, 4094, 5, 33, 2011, 35, 4094, 18, 588, 18731, 29907, 13332, 12249, 55, 67, 30245, 31, 18731, 9991, 33, 2011, 31, 430, 12, 455, 3405, 461, 5, 33, 2011, 15329, 9991, 33, 18731, 18, 588, 3405, 12, 455, 3405, 461, 16, 3916, 18, 588, 1868, 9334, 6714, 1769, 97, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 2 ]
if (indexJars == null)
if ( indexJars == null )
public void addConfiguredIndexJars( File indexJar ) { if (indexJars == null) { indexJars = new ArrayList(); } indexJars.add( indexJar.getAbsolutePath() ); }
10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/JarArchiver.java/buggy/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 15334, 1016, 46, 5913, 12, 1387, 770, 10813, 262, 565, 288, 3639, 309, 261, 770, 46, 5913, 422, 446, 262, 3639, 288, 5411, 770, 46, 5913, 273, 394, 2407, 5621, 3639, 289, 3639, 770, 46, 5913, 18, 1289, 12, 770, 10813, 18, 588, 10368, 743, 1435, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 15334, 1016, 46, 5913, 12, 1387, 770, 10813, 262, 565, 288, 3639, 309, 261, 770, 46, 5913, 422, 446, 262, 3639, 288, 5411, 770, 46, 5913, 273, 394, 2407, 5621, 3639, 289, 3639, 770, 46, 5913, 18, 1289, 12, 770, 10813, 18, 588, 10368, 743, 1435, 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 ]
return new Dimension(500, 500);
return new Dimension(width, height);
public Dimension preferredLayoutSize(Container target) { if (target instanceof JSplitPane) { JSplitPane split = (JSplitPane) target; Insets insets = target.getInsets(); int height = 0; int width = 0; for (int i = 0; i < components.length; i++) { if (components[i] == null) continue; Dimension dims = components[i].getPreferredSize(); if (dims != null) { width += dims.width; if (! (components[i] instanceof BasicSplitPaneDivider)) height = Math.max(height, dims.height); } } return new Dimension(500, 500); //width, height); } return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/BasicSplitPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13037, 9119, 3744, 1225, 12, 2170, 1018, 13, 565, 288, 1377, 309, 261, 3299, 1276, 804, 5521, 8485, 13, 3639, 288, 202, 225, 804, 5521, 8485, 1416, 273, 261, 46, 5521, 8485, 13, 1018, 31, 202, 225, 22300, 23576, 273, 1018, 18, 588, 382, 4424, 5621, 202, 225, 509, 2072, 273, 374, 31, 202, 225, 509, 1835, 273, 374, 31, 202, 225, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4085, 18, 2469, 31, 277, 27245, 202, 565, 288, 202, 1377, 309, 261, 8119, 63, 77, 65, 422, 446, 13, 202, 202, 17143, 31, 202, 1377, 13037, 9914, 273, 4085, 63, 77, 8009, 588, 16028, 1225, 5621, 202, 1377, 309, 261, 8550, 480, 446, 13, 202, 3639, 288, 1082, 225, 1835, 1011, 9914, 18, 2819, 31, 1082, 225, 309, 16051, 261, 8119, 63, 77, 65, 1276, 7651, 5521, 8485, 25558, 3719, 1082, 565, 2072, 273, 2361, 18, 1896, 12, 4210, 16, 9914, 18, 4210, 1769, 202, 3639, 289, 202, 565, 289, 202, 225, 327, 394, 13037, 12, 2819, 16, 2072, 1769, 368, 2819, 16, 2072, 1769, 202, 3639, 289, 1377, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13037, 9119, 3744, 1225, 12, 2170, 1018, 13, 565, 288, 1377, 309, 261, 3299, 1276, 804, 5521, 8485, 13, 3639, 288, 202, 225, 804, 5521, 8485, 1416, 273, 261, 46, 5521, 8485, 13, 1018, 31, 202, 225, 22300, 23576, 273, 1018, 18, 588, 382, 4424, 5621, 202, 225, 509, 2072, 273, 374, 31, 202, 225, 509, 1835, 273, 374, 31, 202, 225, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4085, 18, 2469, 31, 277, 27245, 202, 565, 288, 202, 1377, 309, 261, 8119, 63, 77, 65, 422, 446, 13, 202, 202, 17143, 31, 202, 1377, 13037, 9914, 273, 4085, 63, 77, 8009, 588, 16028, 1225, 5621, 202, 1377, 309, 261, 8550, 480, 446, 13, 202, 2 ]
catch(CodeGenerationException ex) {
catch(RecursiveFormNestingException ex) {
public static RadComponent createComponent(@NotNull final Module module, @NotNull final LwComponent lwComponent, @NotNull final ClassLoader loader) throws Exception{ // Id final String id = lwComponent.getId(); final RadComponent component; Class componentClass = null; if (lwComponent instanceof LwNestedForm) { LwNestedForm nestedForm = (LwNestedForm) lwComponent; boolean recursiveNesting = false; try { Utils.validateNestedFormLoop(nestedForm.getFormFileName(), new PsiNestedFormLoader(module)); } catch(CodeGenerationException ex) { recursiveNesting = true; } if (recursiveNesting) { component = RadErrorComponent.create( module, id, lwComponent.getComponentClassName(), lwComponent.getErrorComponentProperties(), "Form cannot be loaded because of recursive form nesting"); } else { component = new RadNestedForm(module, nestedForm.getFormFileName(), id); } } else { if (lwComponent.getErrorComponentProperties() == null) { componentClass = Class.forName(lwComponent.getComponentClassName(), true, loader); } if (lwComponent instanceof LwHSpacer) { component = new RadHSpacer(module, id); } else if (lwComponent instanceof LwVSpacer) { component = new RadVSpacer(module, id); } else if (lwComponent instanceof LwAtomicComponent) { if (componentClass == null) { component = createErrorComponent(module, id, lwComponent, loader); } else { RadComponent component1; try { component1 = new RadAtomicComponent(module, componentClass, id); } catch (final Exception exc) { String errorDescription = MessageFormat.format(UIDesignerBundle.message("error.class.cannot.be.instantiated"), lwComponent.getComponentClassName()); final String message = FormEditingUtil.getExceptionMessage(exc); if (message != null) { errorDescription += ": " + message; } component1 = RadErrorComponent.create( module, id, lwComponent.getComponentClassName(), lwComponent.getErrorComponentProperties(), errorDescription ); } component = component1; } } else if (lwComponent instanceof LwScrollPane) { component = new RadScrollPane(module, id); } else if (lwComponent instanceof LwTabbedPane) { component = new RadTabbedPane(module, id); } else if (lwComponent instanceof LwSplitPane) { component = new RadSplitPane(module, id); } else if (lwComponent instanceof LwToolBar) { component = new RadToolBar(module, id); } else if (lwComponent instanceof LwContainer) { final LwContainer lwContainer = (LwContainer)lwComponent; LayoutManager layout = lwContainer.getLayout(); if (layout instanceof XYLayoutManager) { // replace stub layout with the real one final XYLayoutManagerImpl xyLayoutManager = new XYLayoutManagerImpl(); layout = xyLayoutManager; xyLayoutManager.setPreferredSize(lwComponent.getBounds().getSize()); } if (componentClass == null) { component = createErrorComponent(module, id, lwComponent, loader); } else { if (lwContainer instanceof LwRootContainer) { component = new RadRootContainer(module, id); } else { component = new RadContainer(module, componentClass, id); String layoutManagerName = lwContainer.getLayoutManager(); if (layoutManagerName == null || layoutManagerName.length() == 0) { if (layout instanceof XYLayoutManager) { layoutManagerName = UIFormXmlConstants.LAYOUT_XY; } else { layoutManagerName = UIFormXmlConstants.LAYOUT_INTELLIJ; } } ((RadContainer) component).setLayoutManager(LayoutManagerRegistry.createLayoutManager(layoutManagerName)); } ((RadContainer)component).setLayout(layout); } } else { throw new IllegalArgumentException("unexpected component: " + lwComponent); } } // binding component.setBinding(lwComponent.getBinding()); component.setCustomCreate(lwComponent.isCustomCreate()); // bounds component.setBounds(lwComponent.getBounds()); // properties final LwIntrospectedProperty[] properties = lwComponent.getAssignedIntrospectedProperties(); if (componentClass != null) { final Palette palette = Palette.getInstance(module.getProject()); for (final LwIntrospectedProperty lwProperty : properties) { final IntrospectedProperty property = palette.getIntrospectedProperty(component, lwProperty.getName()); if (property == null) { continue; } component.loadLwProperty(lwComponent, lwProperty, property); } } // GridConstraints component.getConstraints().restore(lwComponent.getConstraints()); component.setCustomLayoutConstraints(lwComponent.getCustomLayoutConstraints()); HashMap clientProps = lwComponent.getDelegeeClientProperties(); for(Object o: clientProps.entrySet()) { Map.Entry entry = (Map.Entry) o; Object value = entry.getValue(); if (value instanceof StringDescriptor) { value = ((StringDescriptor) value).getValue(); } component.getDelegee().putClientProperty(entry.getKey(), value); } if (component instanceof RadContainer) { final RadContainer container = (RadContainer)component; //noinspection ConstantConditions final LwContainer lwContainer = (LwContainer)lwComponent; copyBorder(container, lwContainer); // add children for (int i=0; i < lwContainer.getComponentCount(); i++){ container.addComponent(createComponent(module, (LwComponent)lwContainer.getComponent(i), loader)); } } if (component instanceof RadRootContainer) { final RadRootContainer radRootContainer = (RadRootContainer)component; //noinspection ConstantConditions final LwRootContainer lwRootContainer = (LwRootContainer)lwComponent; radRootContainer.setClassToBind(lwRootContainer.getClassToBind()); radRootContainer.setMainComponentBinding(lwRootContainer.getMainComponentBinding()); radRootContainer.setButtonGroups(lwRootContainer.getButtonGroups()); radRootContainer.setInspectionSuppressions(lwRootContainer.getInspectionSuppressions()); radRootContainer.getDelegee().setBackground(Color.WHITE); } component.doneLoadingFromLw(); return component; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/b621c159f279a60829669d91e56428fa46fdf5ea/XmlReader.java/clean/ui-designer/impl/com/intellij/uiDesigner/XmlReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 16378, 1841, 752, 1841, 26964, 5962, 727, 5924, 1605, 16, 4766, 2398, 632, 5962, 727, 511, 91, 1841, 14589, 1841, 16, 4766, 2398, 632, 5962, 727, 9403, 4088, 13, 1216, 1185, 95, 565, 368, 3124, 565, 727, 514, 612, 273, 14589, 1841, 18, 26321, 5621, 565, 727, 16378, 1841, 1794, 31, 565, 1659, 1794, 797, 273, 446, 31, 565, 309, 261, 80, 91, 1841, 1276, 511, 91, 8649, 1204, 13, 288, 1377, 511, 91, 8649, 1204, 4764, 1204, 273, 261, 48, 91, 8649, 1204, 13, 14589, 1841, 31, 1377, 1250, 5904, 50, 10100, 273, 629, 31, 1377, 775, 288, 3639, 6091, 18, 5662, 8649, 1204, 6452, 12, 12985, 1204, 18, 588, 1204, 4771, 9334, 394, 453, 7722, 8649, 1204, 2886, 12, 2978, 10019, 1377, 289, 1377, 1044, 12, 10483, 1204, 50, 10100, 503, 431, 13, 288, 3639, 5904, 50, 10100, 273, 638, 31, 1377, 289, 1377, 309, 261, 10543, 50, 10100, 13, 288, 3639, 1794, 273, 16378, 668, 1841, 18, 2640, 12, 1850, 1605, 16, 1850, 612, 16, 1850, 14589, 1841, 18, 588, 1841, 3834, 9334, 1850, 14589, 1841, 18, 588, 668, 1841, 2297, 9334, 1850, 315, 1204, 2780, 506, 4203, 2724, 434, 5904, 646, 17174, 8863, 1377, 289, 1377, 469, 288, 3639, 1794, 273, 394, 16378, 8649, 1204, 12, 2978, 16, 4764, 1204, 18, 588, 1204, 4771, 9334, 612, 1769, 1377, 289, 565, 289, 565, 469, 288, 1377, 309, 261, 80, 91, 1841, 18, 588, 668, 1841, 2297, 1435, 422, 446, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 16378, 1841, 752, 1841, 26964, 5962, 727, 5924, 1605, 16, 4766, 2398, 632, 5962, 727, 511, 91, 1841, 14589, 1841, 16, 4766, 2398, 632, 5962, 727, 9403, 4088, 13, 1216, 1185, 95, 565, 368, 3124, 565, 727, 514, 612, 273, 14589, 1841, 18, 26321, 5621, 565, 727, 16378, 1841, 1794, 31, 565, 1659, 1794, 797, 273, 446, 31, 565, 309, 261, 80, 91, 1841, 1276, 511, 91, 8649, 1204, 13, 288, 1377, 511, 91, 8649, 1204, 4764, 1204, 273, 261, 48, 91, 8649, 1204, 13, 14589, 1841, 31, 1377, 1250, 5904, 50, 10100, 273, 629, 31, 1377, 775, 288, 3639, 6091, 18, 5662, 8649, 1204, 6452, 12, 12985, 1204, 18, 588, 1204, 4771, 9334, 394, 453, 2 ]
jLabelBuild = new JLabel("(revision 27)");
jLabelBuild = new JLabel("(revision 28)");
public JWindowAbout(Frame owner, boolean firstTime) { super(owner); this.firstTime = firstTime; getRootPane().setLayout(null); JPanel panel = new JPanel() { public void paintComponent(Graphics g) { g.drawImage(Util.imageAbout, 0, 0, this); super.paintComponent(g); } }; panel.setOpaque(false); panel.setLayout(null); panel.setBounds(0, 0, 376, 314); getRootPane().add(panel); SymMouse aSymMouse = new SymMouse(); this.addMouseListener(aSymMouse); jPanelLicef = new JPanel(); jPanelLicef.setOpaque(false); jPanelLicef.setBounds(263, 226, 39, 41); jPanelLicef.addMouseListener(aSymMouse); panel.add(jPanelLicef); jPanelTeluq = new JPanel(); jPanelTeluq.setOpaque(false); jPanelTeluq.setBounds(317, 231, 45, 41); jPanelTeluq.addMouseListener(aSymMouse); panel.add(jPanelTeluq); jPanelCogigraph = new JPanel(); jPanelCogigraph.setOpaque(false); jPanelCogigraph.setBounds(59, 298, 188, 14); jPanelCogigraph.addMouseListener(aSymMouse); panel.add(jPanelCogigraph); jLabelBuild = new JLabel("(revision 27)"); jLabelBuild.setFont(new Font("Dialog", Font.PLAIN, 10)); jLabelBuild.setForeground(Color.LIGHT_GRAY); jLabelBuild.setBounds(260, 97, 150, 24); panel.add(jLabelBuild); jLabelContact = new JLabel("Contact:"); jLabelContact.setFont(jLabelBuild.getFont()); jLabelContact.setForeground(Color.CYAN); jLabelContact.setBounds(106, 270, 40, 24); panel.add(jLabelContact); jLabelMail = new JLabel("[email protected]"); jLabelMail.setFont(jLabelBuild.getFont()); jLabelMail.setForeground(Color.CYAN); jLabelMail.setBounds(150, 270, 200, 24); jLabelMail.addMouseListener(aSymMouse); panel.add(jLabelMail); }
1276 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1276/4664ef9270be9239a02e5abc768872f170699f63/JWindowAbout.java/clean/src/ca/licef/lompad/JWindowAbout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 804, 3829, 24813, 12, 3219, 3410, 16, 1250, 1122, 950, 13, 288, 3639, 2240, 12, 8443, 1769, 3639, 333, 18, 3645, 950, 273, 1122, 950, 31, 3639, 7656, 8485, 7675, 542, 3744, 12, 2011, 1769, 3639, 24048, 6594, 273, 394, 24048, 1435, 288, 5411, 1071, 918, 12574, 1841, 12, 17558, 314, 13, 288, 7734, 314, 18, 9446, 2040, 12, 1304, 18, 2730, 24813, 16, 374, 16, 374, 16, 333, 1769, 7734, 2240, 18, 84, 1598, 1841, 12, 75, 1769, 5411, 289, 3639, 289, 31, 3639, 6594, 18, 542, 3817, 14886, 12, 5743, 1769, 3639, 6594, 18, 542, 3744, 12, 2011, 1769, 3639, 6594, 18, 542, 5694, 12, 20, 16, 374, 16, 890, 6669, 16, 890, 3461, 1769, 3639, 7656, 8485, 7675, 1289, 12, 13916, 1769, 3639, 10042, 9186, 279, 11901, 9186, 273, 394, 10042, 9186, 5621, 3639, 333, 18, 1289, 9186, 2223, 12, 69, 11901, 9186, 1769, 3639, 17871, 48, 1812, 74, 273, 394, 24048, 5621, 3639, 17871, 48, 1812, 74, 18, 542, 3817, 14886, 12, 5743, 1769, 3639, 17871, 48, 1812, 74, 18, 542, 5694, 12, 22, 4449, 16, 576, 5558, 16, 16977, 16, 20170, 1769, 3639, 17871, 48, 1812, 74, 18, 1289, 9186, 2223, 12, 69, 11901, 9186, 1769, 3639, 6594, 18, 1289, 12, 78, 5537, 48, 1812, 74, 1769, 3639, 17871, 56, 292, 89, 85, 273, 394, 24048, 5621, 3639, 17871, 56, 292, 89, 85, 18, 542, 3817, 14886, 12, 5743, 1769, 3639, 17871, 56, 292, 89, 85, 18, 542, 5694, 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, 804, 3829, 24813, 12, 3219, 3410, 16, 1250, 1122, 950, 13, 288, 3639, 2240, 12, 8443, 1769, 3639, 333, 18, 3645, 950, 273, 1122, 950, 31, 3639, 7656, 8485, 7675, 542, 3744, 12, 2011, 1769, 3639, 24048, 6594, 273, 394, 24048, 1435, 288, 5411, 1071, 918, 12574, 1841, 12, 17558, 314, 13, 288, 7734, 314, 18, 9446, 2040, 12, 1304, 18, 2730, 24813, 16, 374, 16, 374, 16, 333, 1769, 7734, 2240, 18, 84, 1598, 1841, 12, 75, 1769, 5411, 289, 3639, 289, 31, 3639, 6594, 18, 542, 3817, 14886, 12, 5743, 1769, 3639, 6594, 18, 542, 3744, 12, 2011, 1769, 3639, 6594, 18, 542, 5694, 12, 20, 16, 374, 16, 890, 6669, 16, 890, 3461, 1769, 2 ]
String[] args = new String[sources.length + j];
List args = new ArrayList( sources.length + 5 + compilerOptions.size() * 2 );
public List compile( String[] classpathElements, String[] sourceDirectories, String destinationDirectory ) throws Exception { /* for ( int i = 0; i < classpathElements.length; i++ ) { System.out.println( "classpathElement = " + classpathElements[i] ); } */ File destinationDir = new File( destinationDirectory ); if ( !destinationDir.exists() ) { destinationDir.mkdirs(); } String[] sources = getSourceFiles( sourceDirectories ); int j = 5; String[] args = new String[sources.length + j]; args[0] = "-d"; args[1] = destinationDir.getAbsolutePath(); args[2] = "-nowarn"; args[3] = "-classpath"; args[4] = getClasspathString( classpathElements ); for ( int i = 0; i < sources.length; i++ ) { args[i + j] = sources[i]; } IsolatedClassLoader cl = new IsolatedClassLoader(); File toolsJar = new File( System.getProperty( "java.home" ), "../lib/tools.jar" ); cl.addURL( toolsJar.toURL() ); Class c = cl.loadClass( "sun.tools.javac.Main" ); Constructor cons = c.getConstructor( new Class[]{OutputStream.class, String.class} ); ByteArrayOutputStream err = new ByteArrayOutputStream(); Object compiler = cons.newInstance( new Object[]{err, "javac"} ); Method compile = c.getMethod( "compile", new Class[]{String[].class} ); Boolean ok = (Boolean) compile.invoke( compiler, new Object[]{args} ); List messages = parseModernStream( new BufferedReader( new InputStreamReader( new ByteArrayInputStream( err.toByteArray() ) ) ) ); return messages; }
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/763811d0fa4fda452edf7e18caa3acd3ab71f0cb/JavacCompiler.java/clean/maven-mboot2/src/main/java/compile/JavacCompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 4074, 12, 514, 8526, 10006, 3471, 16, 514, 8526, 1084, 13071, 16, 514, 2929, 2853, 262, 3639, 1216, 1185, 565, 288, 3639, 1748, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 10006, 3471, 18, 2469, 31, 277, 9904, 262, 3639, 288, 5411, 2332, 18, 659, 18, 8222, 12, 315, 26302, 1046, 273, 315, 397, 10006, 3471, 63, 77, 65, 11272, 3639, 289, 3639, 1195, 3639, 1387, 2929, 1621, 273, 394, 1387, 12, 2929, 2853, 11272, 3639, 309, 261, 401, 10590, 1621, 18, 1808, 1435, 262, 3639, 288, 5411, 2929, 1621, 18, 24816, 8291, 5621, 3639, 289, 3639, 514, 8526, 5550, 273, 7889, 2697, 12, 1084, 13071, 11272, 3639, 509, 525, 273, 1381, 31, 3639, 987, 833, 273, 394, 2407, 12, 5550, 18, 2469, 397, 1381, 397, 5274, 1320, 18, 1467, 1435, 380, 576, 11272, 3639, 833, 63, 20, 65, 273, 3701, 72, 14432, 3639, 833, 63, 21, 65, 273, 2929, 1621, 18, 588, 10368, 743, 5621, 3639, 833, 63, 22, 65, 273, 3701, 3338, 1303, 14432, 3639, 833, 63, 23, 65, 273, 3701, 26302, 14432, 3639, 833, 63, 24, 65, 273, 2900, 803, 780, 12, 10006, 3471, 11272, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 5550, 18, 2469, 31, 277, 9904, 262, 3639, 288, 5411, 833, 63, 77, 397, 525, 65, 273, 5550, 63, 77, 15533, 3639, 289, 3639, 2585, 30469, 7805, 927, 273, 394, 2585, 30469, 7805, 5621, 3639, 1387, 8513, 10813, 273, 394, 1387, 12, 2332, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 4074, 12, 514, 8526, 10006, 3471, 16, 514, 8526, 1084, 13071, 16, 514, 2929, 2853, 262, 3639, 1216, 1185, 565, 288, 3639, 1748, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 10006, 3471, 18, 2469, 31, 277, 9904, 262, 3639, 288, 5411, 2332, 18, 659, 18, 8222, 12, 315, 26302, 1046, 273, 315, 397, 10006, 3471, 63, 77, 65, 11272, 3639, 289, 3639, 1195, 3639, 1387, 2929, 1621, 273, 394, 1387, 12, 2929, 2853, 11272, 3639, 309, 261, 401, 10590, 1621, 18, 1808, 1435, 262, 3639, 288, 5411, 2929, 1621, 18, 24816, 8291, 5621, 3639, 289, 3639, 514, 8526, 5550, 273, 7889, 2697, 12, 1084, 13071, 11272, 3639, 509, 525, 273, 1381, 31, 3639, 2 ]
ColorDefinition [] copyOfDefinitions = null;
FontDefinition [] copyOfDefinitions = null; FontDefinition [] defaults = null;
public static void populateRegistry(ITheme theme, ColorDefinition [] definitions, IPreferenceStore store) { // sort the definitions by dependant ordering so that we process // ancestors before children. ColorDefinition [] copyOfDefinitions = null; if (!theme.getId().equals(IThemeManager.DEFAULT_THEME)) { definitions = addDefaulted(definitions); } copyOfDefinitions = new ColorDefinition[definitions.length]; System.arraycopy(definitions, 0, copyOfDefinitions, 0, definitions.length); Arrays.sort(copyOfDefinitions, new IThemeRegistry.HierarchyComparator(definitions)); for (int i = 0; i < copyOfDefinitions.length; i++) { ColorDefinition definition = copyOfDefinitions[i]; installColor(definition, theme, store); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d94edf054bdce936ee21432861f9b30b09bccff1/ThemeElementHelper.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/themes/ThemeElementHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 6490, 4243, 12, 1285, 76, 4698, 5006, 16, 5563, 1852, 5378, 6377, 16, 467, 9624, 2257, 1707, 13, 288, 202, 202, 759, 1524, 326, 6377, 635, 2447, 970, 9543, 1427, 716, 732, 1207, 3196, 202, 759, 14322, 1865, 2325, 18, 1082, 540, 202, 202, 2957, 1852, 5378, 13571, 7130, 273, 446, 31, 202, 202, 430, 16051, 7997, 18, 26321, 7675, 14963, 12, 1285, 76, 4698, 1318, 18, 5280, 67, 24644, 958, 3719, 288, 1082, 565, 6377, 273, 28297, 329, 12, 13314, 1769, 202, 202, 97, 377, 9506, 565, 13571, 7130, 273, 394, 5563, 1852, 63, 13314, 18, 2469, 15533, 202, 202, 3163, 18, 1126, 3530, 12, 13314, 16, 374, 16, 13571, 7130, 16, 374, 16, 6377, 18, 2469, 1769, 202, 202, 12726, 18, 3804, 12, 3530, 951, 7130, 16, 394, 467, 8335, 4243, 18, 12074, 5559, 12, 13314, 10019, 1082, 377, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 13571, 7130, 18, 2469, 31, 277, 27245, 288, 1082, 202, 2957, 1852, 2379, 273, 13571, 7130, 63, 77, 15533, 1082, 202, 5425, 2957, 12, 6907, 16, 5006, 16, 1707, 1769, 202, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 6490, 4243, 12, 1285, 76, 4698, 5006, 16, 5563, 1852, 5378, 6377, 16, 467, 9624, 2257, 1707, 13, 288, 202, 202, 759, 1524, 326, 6377, 635, 2447, 970, 9543, 1427, 716, 732, 1207, 3196, 202, 759, 14322, 1865, 2325, 18, 1082, 540, 202, 202, 2957, 1852, 5378, 13571, 7130, 273, 446, 31, 202, 202, 430, 16051, 7997, 18, 26321, 7675, 14963, 12, 1285, 76, 4698, 1318, 18, 5280, 67, 24644, 958, 3719, 288, 1082, 565, 6377, 273, 28297, 329, 12, 13314, 1769, 202, 202, 97, 377, 9506, 565, 13571, 7130, 273, 394, 5563, 1852, 63, 13314, 18, 2469, 15533, 202, 202, 3163, 18, 1126, 3530, 12, 13314, 16, 374, 16, 13571, 7130, 16, 374, 16, 2 ]
add(1, new MaxAspectCheck());
add(1, new MinAspectCheck());
public StemCheckSuite () throws ProcessingException { super("Stem", constants.minCheckResult.getValue()); add(1, new MinLengthCheck()); add(1, new MaxAspectCheck()); add(1, new FirstAdjacencyCheck()); add(1, new LastAdjacencyCheck()); add(0, new LeftCheck()); add(0, new RightCheck()); add(2, new MinDensityCheck()); // This step is much too expensive (and not really useful ...) ////add(2, new MinChunkCheck()); if (logger.isFineEnabled()) { dump(); } }
7322 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7322/660f54e234360be90bb362c10015236aed86b114/VerticalsBuilder.java/buggy/src/main/omr/sheet/VerticalsBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 348, 874, 1564, 13587, 1832, 5411, 1216, 19652, 503, 3639, 288, 5411, 2240, 2932, 28771, 3113, 6810, 18, 1154, 1564, 1253, 18, 24805, 10663, 5411, 527, 12, 21, 16, 394, 5444, 1782, 1564, 10663, 5411, 527, 12, 21, 16, 394, 5444, 17468, 1564, 10663, 5411, 527, 12, 21, 16, 394, 5783, 17886, 1077, 2075, 1564, 10663, 5411, 527, 12, 21, 16, 394, 6825, 17886, 1077, 2075, 1564, 10663, 5411, 527, 12, 20, 16, 394, 13338, 1564, 10663, 5411, 527, 12, 20, 16, 394, 13009, 1564, 10663, 5411, 527, 12, 22, 16, 394, 5444, 23309, 1564, 10663, 5411, 368, 1220, 2235, 353, 9816, 4885, 19326, 261, 464, 486, 8654, 5301, 1372, 13, 5411, 368, 759, 1289, 12, 22, 16, 394, 5444, 5579, 1564, 10663, 5411, 309, 261, 4901, 18, 291, 42, 558, 1526, 10756, 288, 7734, 4657, 5621, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 348, 874, 1564, 13587, 1832, 5411, 1216, 19652, 503, 3639, 288, 5411, 2240, 2932, 28771, 3113, 6810, 18, 1154, 1564, 1253, 18, 24805, 10663, 5411, 527, 12, 21, 16, 394, 5444, 1782, 1564, 10663, 5411, 527, 12, 21, 16, 394, 5444, 17468, 1564, 10663, 5411, 527, 12, 21, 16, 394, 5783, 17886, 1077, 2075, 1564, 10663, 5411, 527, 12, 21, 16, 394, 6825, 17886, 1077, 2075, 1564, 10663, 5411, 527, 12, 20, 16, 394, 13338, 1564, 10663, 5411, 527, 12, 20, 16, 394, 13009, 1564, 10663, 5411, 527, 12, 22, 16, 394, 5444, 23309, 1564, 10663, 5411, 368, 1220, 2235, 353, 9816, 4885, 19326, 261, 464, 486, 8654, 5301, 1372, 13, 5411, 368, 759, 1289, 12, 22, 2 ]
List students = exam.getStudentsEnrolled();
List students = examStudentRoomDAO.readBy(exam);
public Object run(Integer executionCourseCode, Integer examCode) throws FenixServiceException { try { ISuportePersistente sp = SuportePersistenteOJB.getInstance(); IPersistentExam persistentExam = sp.getIPersistentExam(); IDisciplinaExecucaoPersistente persistentExecutionCourse = sp.getIDisciplinaExecucaoPersistente(); IPersistentSite persistentSite = sp.getIPersistentSite(); IPersistentExamStudentRoom examStudentRoomDAO = sp.getIPersistentExamStudentRoom(); IDisciplinaExecucao executionCourse = (IDisciplinaExecucao) persistentExecutionCourse.readByOId(new DisciplinaExecucao(executionCourseCode), false); ISite site = persistentSite.readByExecutionCourse(executionCourse); IExam exam = new Exam(); exam.setIdInternal(examCode); exam = (IExam) persistentExam.readByOId(exam, false); List examStudentRoomList = examStudentRoomDAO.readBy(exam); List infoExamStudentRoomList = (List) CollectionUtils.collect(examStudentRoomList, new Transformer(){ public Object transform(Object input) { ExamStudentRoom examStudentRoom = (ExamStudentRoom) input; return Cloner.copyIExamStudentRoom2InfoExamStudentRoom(examStudentRoom); }}) ; List students = exam.getStudentsEnrolled(); List infoStudents = new ArrayList(); Iterator iter = students.iterator(); while (iter.hasNext()) { IStudent student = (IStudent) iter.next(); InfoStudent infoStudent = Cloner.copyIStudent2InfoStudent(student); infoStudents.add(infoStudent); } InfoExam infoExam = Cloner.copyIExam2InfoExam(exam); ISiteComponent component = new InfoSiteTeacherStudentsEnrolledList(infoStudents, infoExam, infoExamStudentRoomList); TeacherAdministrationSiteComponentBuilder componentBuilder = TeacherAdministrationSiteComponentBuilder.getInstance(); ISiteComponent commonComponent = componentBuilder.getComponent( new InfoSiteCommon(), site, null, null, null); TeacherAdministrationSiteView siteView = new TeacherAdministrationSiteView(commonComponent, component); return siteView; } catch (ExcepcaoPersistencia e) { throw new FenixServiceException(e); } }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/56c141573d328c97927b2944d1dc69861921eeff/ReadStudentsEnrolledInExam.java/buggy/src/ServidorAplicacao/Servico/teacher/ReadStudentsEnrolledInExam.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 1086, 12, 4522, 4588, 39, 3117, 1085, 16, 2144, 19707, 1085, 13, 202, 202, 15069, 478, 275, 697, 15133, 288, 202, 202, 698, 288, 1082, 202, 45, 3088, 499, 73, 11906, 73, 1694, 273, 3425, 499, 73, 11906, 73, 51, 8877, 18, 588, 1442, 5621, 1082, 202, 2579, 6572, 424, 301, 9195, 424, 301, 273, 1694, 18, 588, 2579, 6572, 424, 301, 5621, 1082, 202, 734, 291, 8450, 412, 15314, 1905, 5286, 6033, 11906, 73, 9195, 3210, 39, 3117, 273, 9506, 202, 1752, 18, 588, 734, 291, 8450, 412, 15314, 1905, 5286, 6033, 11906, 73, 5621, 1082, 202, 2579, 6572, 4956, 9195, 4956, 273, 1694, 18, 588, 2579, 6572, 4956, 5621, 25083, 202, 2579, 6572, 424, 301, 19943, 319, 13646, 19707, 19943, 319, 13646, 18485, 273, 1694, 18, 588, 2579, 6572, 424, 301, 19943, 319, 13646, 5621, 6862, 6862, 202, 734, 291, 8450, 412, 15314, 1905, 5286, 6033, 4588, 39, 3117, 273, 9506, 202, 12, 734, 291, 8450, 412, 15314, 1905, 5286, 6033, 13, 9195, 3210, 39, 3117, 18, 896, 858, 51, 548, 12, 2704, 3035, 8450, 412, 15314, 1905, 5286, 6033, 12, 16414, 39, 3117, 1085, 3631, 629, 1769, 1082, 202, 45, 4956, 2834, 273, 9195, 4956, 18, 896, 858, 3210, 39, 3117, 12, 16414, 39, 3117, 1769, 1082, 202, 45, 424, 301, 19707, 273, 394, 1312, 301, 5621, 1082, 202, 338, 301, 18, 542, 548, 3061, 12, 338, 301, 1085, 1769, 1082, 202, 338, 301, 273, 261, 45, 424, 301, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 1086, 12, 4522, 4588, 39, 3117, 1085, 16, 2144, 19707, 1085, 13, 202, 202, 15069, 478, 275, 697, 15133, 288, 202, 202, 698, 288, 1082, 202, 45, 3088, 499, 73, 11906, 73, 1694, 273, 3425, 499, 73, 11906, 73, 51, 8877, 18, 588, 1442, 5621, 1082, 202, 2579, 6572, 424, 301, 9195, 424, 301, 273, 1694, 18, 588, 2579, 6572, 424, 301, 5621, 1082, 202, 734, 291, 8450, 412, 15314, 1905, 5286, 6033, 11906, 73, 9195, 3210, 39, 3117, 273, 9506, 202, 1752, 18, 588, 734, 291, 8450, 412, 15314, 1905, 5286, 6033, 11906, 73, 5621, 1082, 202, 2579, 6572, 4956, 9195, 4956, 273, 1694, 18, 588, 2579, 6572, 4956, 5621, 25083, 202, 2579, 6572, 2 ]
+ " \"http:
+ " \"/static/xhtml11.dtd\">\n"
public void makeTopHead(StringBuffer buf) { buf.append("<!DOCTYPE\n" + " html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n" + " \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n" + "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n" + "<head>\n" + "<meta http-equiv=\"Content-Type\" content=\"text/html;\" />\n" + "<link rel=\"stylesheet\" href=\"/static/themes/"+theme+"/theme.css\" type=\"text/css\" />\n"); }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/f707c58085b7dd4d2327dd6fe1ada800c27fbf0c/PageMaker.java/clean/src/freenet/clients/http/PageMaker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1221, 3401, 1414, 12, 780, 1892, 1681, 13, 288, 202, 202, 4385, 18, 6923, 2932, 5586, 29824, 64, 82, 6, 9506, 202, 15, 315, 202, 2620, 17187, 1239, 17, 759, 59, 23, 39, 759, 25728, 30551, 404, 18, 21, 759, 1157, 31670, 82, 6, 9506, 202, 15, 315, 202, 2412, 2505, 2207, 5591, 18, 91, 23, 18, 3341, 19, 4349, 19, 26341, 2499, 19, 25728, 19, 26341, 2499, 18, 31834, 28219, 82, 6, 9506, 202, 15, 3532, 2620, 12302, 5189, 2505, 2207, 5591, 18, 91, 23, 18, 3341, 19, 21, 11984, 19, 26341, 2412, 2025, 30, 4936, 5189, 275, 28219, 82, 6, 9506, 202, 15, 3532, 1978, 5333, 82, 6, 9506, 202, 15, 3532, 3901, 1062, 17, 14298, 427, 5189, 1350, 17, 559, 2412, 913, 5189, 955, 19, 2620, 31, 2412, 342, 5333, 82, 6, 9506, 202, 15, 3532, 1232, 1279, 5189, 19403, 2412, 3897, 5189, 19, 3845, 19, 17328, 4898, 15, 7997, 9078, 19, 7997, 18, 5212, 2412, 618, 5189, 955, 19, 5212, 2412, 342, 5333, 82, 8863, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1221, 3401, 1414, 12, 780, 1892, 1681, 13, 288, 202, 202, 4385, 18, 6923, 2932, 5586, 29824, 64, 82, 6, 9506, 202, 15, 315, 202, 2620, 17187, 1239, 17, 759, 59, 23, 39, 759, 25728, 30551, 404, 18, 21, 759, 1157, 31670, 82, 6, 9506, 202, 15, 315, 202, 2412, 2505, 2207, 5591, 18, 91, 23, 18, 3341, 19, 4349, 19, 26341, 2499, 19, 25728, 19, 26341, 2499, 18, 31834, 28219, 82, 6, 9506, 202, 15, 3532, 2620, 12302, 5189, 2505, 2207, 5591, 18, 91, 23, 18, 3341, 19, 21, 11984, 19, 26341, 2412, 2025, 30, 4936, 5189, 275, 28219, 82, 6, 9506, 202, 15, 3532, 1978, 5333, 82, 6, 9506, 202, 15, 3532, 3901, 2 ]
for (int i = 0; (i < c1.genes.length) && !done; i++) { int iGene = (i + r1)%(c1.genes.length - 1);
for (int i = 1; i < c1.genes.length; i++) { int iGene = (i + r1 - 1)%(c1.genes.length - 1);
protected void doRandomMutation(int iChromIndex) { ChromVector c1 = (ChromVector)this.chromosomes[iChromIndex]; // I don't think we need to mutate an empty chromosome if (c1.genes.length < 1) { return; } int r1 = Compute.randomInt(c1.genes.length - 1); boolean done = false; if (r1%2 == 1) { c1.genes[r1] = Compute.randomInt(((EntityState[])this.moves.elementAt(r1)).length); return; } for (int i = 0; (i < c1.genes.length) && !done; i++) { int iGene = (i + r1)%(c1.genes.length - 1); if (((EntityState[])this.moves.elementAt(iGene)).length > 1) { c1.genes[iGene] = Compute.randomInt(((EntityState[])this.moves.elementAt(iGene)).length); return; } } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/bc9da7d46e4b55dcede8f1bf0689bdc3fe6eaa51/GALance.java/clean/megamek/src/megamek/client/bot/GALance.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 741, 8529, 20028, 12, 474, 277, 30761, 1016, 13, 288, 565, 1680, 520, 5018, 276, 21, 273, 261, 30761, 5018, 13, 2211, 18, 16298, 538, 21912, 63, 77, 30761, 1016, 15533, 565, 368, 467, 2727, 1404, 15507, 732, 1608, 358, 15887, 392, 1008, 22674, 565, 309, 261, 71, 21, 18, 18036, 18, 2469, 411, 404, 13, 288, 3639, 327, 31, 565, 289, 565, 509, 436, 21, 273, 8155, 18, 9188, 1702, 12, 71, 21, 18, 18036, 18, 2469, 300, 404, 1769, 565, 1250, 2731, 273, 629, 31, 565, 309, 261, 86, 21, 9, 22, 422, 404, 13, 288, 1377, 276, 21, 18, 18036, 63, 86, 21, 65, 273, 8155, 18, 9188, 1702, 12443, 12, 1943, 1119, 63, 5717, 2211, 18, 81, 10829, 18, 2956, 861, 12, 86, 21, 13, 2934, 2469, 1769, 1377, 327, 31, 565, 289, 565, 364, 261, 474, 277, 273, 374, 31, 261, 77, 411, 276, 21, 18, 18036, 18, 2469, 13, 597, 401, 8734, 31, 277, 27245, 288, 1377, 509, 277, 24442, 273, 261, 77, 397, 436, 21, 13, 17105, 71, 21, 18, 18036, 18, 2469, 300, 404, 1769, 1377, 309, 261, 12443, 1943, 1119, 63, 5717, 2211, 18, 81, 10829, 18, 2956, 861, 12, 77, 24442, 13, 2934, 2469, 405, 404, 13, 288, 3639, 276, 21, 18, 18036, 63, 77, 24442, 65, 273, 8155, 18, 9188, 1702, 12443, 12, 1943, 1119, 63, 5717, 2211, 18, 81, 10829, 18, 2956, 861, 12, 77, 24442, 13, 2934, 2469, 1769, 3639, 327, 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, 741, 8529, 20028, 12, 474, 277, 30761, 1016, 13, 288, 565, 1680, 520, 5018, 276, 21, 273, 261, 30761, 5018, 13, 2211, 18, 16298, 538, 21912, 63, 77, 30761, 1016, 15533, 565, 368, 467, 2727, 1404, 15507, 732, 1608, 358, 15887, 392, 1008, 22674, 565, 309, 261, 71, 21, 18, 18036, 18, 2469, 411, 404, 13, 288, 3639, 327, 31, 565, 289, 565, 509, 436, 21, 273, 8155, 18, 9188, 1702, 12, 71, 21, 18, 18036, 18, 2469, 300, 404, 1769, 565, 1250, 2731, 273, 629, 31, 565, 309, 261, 86, 21, 9, 22, 422, 404, 13, 288, 1377, 276, 21, 18, 18036, 63, 86, 21, 65, 273, 8155, 18, 9188, 1702, 12443, 12, 1943, 1119, 2 ]
private Vector getCollections(Collection collection, Vector collectionsList)
private Vector getCollections( Collection collection, Vector collectionsList)
private Vector getCollections(Collection collection, Vector collectionsList) throws XMLDBException { collectionsList.add(collection.getName()); String[] childCollections = collection.listChildCollections(); Collection child; for (int i = 0; i < childCollections.length; i++) { child = collection.getChildCollection(childCollections[i]); getCollections(child, collectionsList); } return collectionsList; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ad9d55f515de2cb1fa50cf09c9e42150efc8374f/QueryDialog.java/buggy/src/org/exist/client/QueryDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 5589, 12075, 87, 12, 2532, 1849, 16, 5589, 6980, 682, 13, 202, 202, 15069, 26014, 503, 288, 202, 202, 19246, 682, 18, 1289, 12, 5548, 18, 17994, 10663, 202, 202, 780, 8526, 1151, 15150, 273, 1849, 18, 1098, 1763, 15150, 5621, 202, 202, 2532, 1151, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1151, 15150, 18, 2469, 31, 277, 27245, 288, 1082, 202, 3624, 273, 1849, 18, 588, 1763, 2532, 12, 3624, 15150, 63, 77, 19226, 1082, 202, 588, 15150, 12, 3624, 16, 6980, 682, 1769, 202, 202, 97, 202, 202, 2463, 6980, 682, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1152, 5589, 12075, 87, 12, 2532, 1849, 16, 5589, 6980, 682, 13, 202, 202, 15069, 26014, 503, 288, 202, 202, 19246, 682, 18, 1289, 12, 5548, 18, 17994, 10663, 202, 202, 780, 8526, 1151, 15150, 273, 1849, 18, 1098, 1763, 15150, 5621, 202, 202, 2532, 1151, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1151, 15150, 18, 2469, 31, 277, 27245, 288, 1082, 202, 3624, 273, 1849, 18, 588, 1763, 2532, 12, 3624, 15150, 63, 77, 19226, 1082, 202, 588, 15150, 12, 3624, 16, 6980, 682, 1769, 202, 202, 97, 202, 202, 2463, 6980, 682, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (elementsAndAdapters.get(i).equals(someObject))
if (elementsAndAdapters.get(i).equals(someObject)) {
private boolean elementsContains(Object someObject) { if (elements == null) return false; if (elementsAndAdapters == null) { // Compute a list of not just the elements, but any adapters they // may provide on the preferred class if they are not instances of // the preferred class. This is done only once. elementsAndAdapters = new ArrayList(elements.length); for (int i = 0; i < elements.length; i++) { Object element = elements[i]; elementsAndAdapters.add(element); if (affectedObjectsClass != null && !affectedObjectsClass.isInstance(element) && element instanceof IAdaptable) { Object adapter = ((IAdaptable) element) .getAdapter(affectedObjectsClass); if (adapter != null) elementsAndAdapters.add(adapter); } } } for (int i = 0; i < elementsAndAdapters.size(); i++) { if (elementsAndAdapters.get(i).equals(someObject)) return true; } return false; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/NonLocalUndoUserApprover.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/operations/NonLocalUndoUserApprover.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2186, 10846, 12, 921, 2690, 921, 13, 288, 202, 202, 430, 261, 6274, 422, 446, 13, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 6274, 1876, 26620, 422, 446, 13, 288, 1082, 202, 759, 8155, 279, 666, 434, 486, 2537, 326, 2186, 16, 1496, 1281, 17272, 2898, 1082, 202, 759, 2026, 5615, 603, 326, 9119, 667, 309, 2898, 854, 486, 3884, 434, 1082, 202, 759, 326, 9119, 667, 18, 1220, 353, 2731, 1338, 3647, 18, 1082, 202, 6274, 1876, 26620, 273, 394, 2407, 12, 6274, 18, 2469, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 9506, 202, 921, 930, 273, 2186, 63, 77, 15533, 9506, 202, 6274, 1876, 26620, 18, 1289, 12, 2956, 1769, 9506, 202, 430, 261, 20119, 4710, 797, 480, 446, 25083, 202, 10, 10, 401, 20119, 4710, 797, 18, 291, 1442, 12, 2956, 13, 25083, 202, 10, 10, 930, 1276, 467, 13716, 429, 13, 288, 6862, 202, 921, 4516, 273, 14015, 45, 13716, 429, 13, 930, 13, 6862, 1082, 202, 18, 588, 4216, 12, 20119, 4710, 797, 1769, 6862, 202, 430, 261, 10204, 480, 446, 13, 25083, 202, 6274, 1876, 26620, 18, 1289, 12, 10204, 1769, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 1876, 26620, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 430, 261, 6274, 1876, 26620, 18, 588, 12, 77, 2934, 14963, 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, 1250, 2186, 10846, 12, 921, 2690, 921, 13, 288, 202, 202, 430, 261, 6274, 422, 446, 13, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 6274, 1876, 26620, 422, 446, 13, 288, 1082, 202, 759, 8155, 279, 666, 434, 486, 2537, 326, 2186, 16, 1496, 1281, 17272, 2898, 1082, 202, 759, 2026, 5615, 603, 326, 9119, 667, 309, 2898, 854, 486, 3884, 434, 1082, 202, 759, 326, 9119, 667, 18, 1220, 353, 2731, 1338, 3647, 18, 1082, 202, 6274, 1876, 26620, 273, 394, 2407, 12, 6274, 18, 2469, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 9506, 202, 921, 930, 273, 2186, 63, 77, 2 ]
public Patch createNewPatch() {
public IPatch createNewPatch() {
public Patch createNewPatch() { byte tmp[] = new byte[singleSize]; byte sysex[] = new byte[patchSize]; System.arraycopy(NLPerfSingleDriver.NEW_PATCH, 0, tmp, 0, singleSize); for (int i = 0; i < NUM_IN_BANK; i++) { tmp[PATCH_NUM_OFFSET] = (byte)i; // program # System.arraycopy(tmp, 0, sysex, i * singleSize, singleSize); } Patch p = new Patch(sysex, this); return p; }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/NL2PerfBankDriver.java/buggy/JSynthLib/synthdrivers/NordLead/NL2PerfBankDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2971, 505, 15291, 7332, 1435, 288, 565, 1160, 1853, 8526, 273, 394, 1160, 63, 7526, 1225, 15533, 565, 1160, 1393, 20909, 8526, 273, 394, 1160, 63, 2272, 1225, 15533, 565, 2332, 18, 1126, 3530, 12, 24924, 22016, 5281, 4668, 18, 12917, 67, 20366, 16, 374, 16, 1853, 16, 374, 16, 2202, 1225, 1769, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 9443, 67, 706, 67, 38, 20201, 31, 277, 27245, 288, 1377, 1853, 63, 20366, 67, 6069, 67, 11271, 65, 273, 261, 7229, 13, 77, 31, 368, 5402, 468, 1377, 2332, 18, 1126, 3530, 12, 5645, 16, 374, 16, 1393, 20909, 16, 277, 380, 2202, 1225, 16, 2202, 1225, 1769, 565, 289, 565, 12042, 293, 273, 394, 12042, 12, 9009, 20909, 16, 333, 1769, 565, 327, 293, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2971, 505, 15291, 7332, 1435, 288, 565, 1160, 1853, 8526, 273, 394, 1160, 63, 7526, 1225, 15533, 565, 1160, 1393, 20909, 8526, 273, 394, 1160, 63, 2272, 1225, 15533, 565, 2332, 18, 1126, 3530, 12, 24924, 22016, 5281, 4668, 18, 12917, 67, 20366, 16, 374, 16, 1853, 16, 374, 16, 2202, 1225, 1769, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 9443, 67, 706, 67, 38, 20201, 31, 277, 27245, 288, 1377, 1853, 63, 20366, 67, 6069, 67, 11271, 65, 273, 261, 7229, 13, 77, 31, 368, 5402, 468, 1377, 2332, 18, 1126, 3530, 12, 5645, 16, 374, 16, 1393, 20909, 16, 277, 380, 2202, 1225, 16, 2202, 1225, 1769, 565, 289, 565, 12042, 293, 2 ]
public org.quickfix.field.NoLegs getNoLegs() throws FieldNotFound { org.quickfix.field.NoLegs value = new org.quickfix.field.NoLegs();
public quickfix.field.NoLegs getNoLegs() throws FieldNotFound { quickfix.field.NoLegs value = new quickfix.field.NoLegs();
public org.quickfix.field.NoLegs getNoLegs() throws FieldNotFound { org.quickfix.field.NoLegs value = new org.quickfix.field.NoLegs(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReport.java/buggy/src/java/src/quickfix/fix44/TradeCaptureReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 1682, 564, 336, 2279, 1682, 564, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 1682, 564, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 1682, 564, 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, 2279, 1682, 564, 336, 2279, 1682, 564, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 1682, 564, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 1682, 564, 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 ]
newAlias.setCharAt(pos, '0');
newAlias.setCharAt(pos, pos == 0 ? 'A': '0');
public void buildTable(int renameRule) { if (isPreserved()) { if (Obfuscator.isDebugging) Obfuscator.err.println(toString() + " is preserved"); } else if (isRepresentative() && renameRule != Obfuscator.RENAME_NONE) { if (renameRule == Obfuscator.RENAME_UNIQUE) setAlias("xxx" + serialnr++); else { StringBuffer newAlias = new StringBuffer(); next_alias: for (;;) { okay: do { for (int pos = 0; pos < newAlias.length(); pos++) { char c = newAlias.charAt(pos); if (renameRule == Obfuscator.RENAME_WEAK) { if (c == '9') { newAlias.setCharAt(pos, 'A'); break okay; } else if (c == 'Z') { newAlias.setCharAt(pos, 'a'); break okay; } else if (c != 'z') { newAlias.setCharAt(pos, (char)(c+1)); break okay; } newAlias.setCharAt(pos, '0'); } else { while (c++ < 255) { if (Character.isJavaIdentifierPart(c)) { newAlias.setCharAt(pos, c); break okay; } } newAlias.setCharAt(pos, '0'); } } newAlias.insert(0, renameRule == Obfuscator.RENAME_WEAK ? 'A': '0'); } while (false); Identifier ptr = this; while (ptr != null) { if (ptr.conflicting(newAlias.toString(), renameRule == Obfuscator.RENAME_STRONG)) continue next_alias; ptr = ptr.right; } alias = newAlias.toString(); return; } } } }
5628 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5628/5d213fa00955ab21df35050c8d6a05a1815ac1c0/Identifier.java/clean/jode/jode/obfuscator/Identifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1361, 1388, 12, 474, 6472, 2175, 13, 288, 202, 430, 261, 291, 12236, 4920, 10756, 288, 202, 565, 309, 261, 10516, 21935, 639, 18, 291, 2829, 1998, 13, 202, 202, 10516, 21935, 639, 18, 370, 18, 8222, 12, 10492, 1435, 397, 315, 353, 21096, 8863, 202, 97, 469, 309, 261, 291, 23869, 1535, 1435, 1082, 282, 597, 6472, 2175, 480, 531, 17156, 19446, 639, 18, 862, 1985, 67, 9826, 13, 288, 202, 565, 309, 261, 18539, 2175, 422, 531, 17156, 19446, 639, 18, 862, 1985, 67, 16879, 13, 202, 202, 542, 2936, 2932, 18310, 6, 397, 2734, 11611, 9904, 1769, 202, 565, 469, 288, 202, 202, 780, 1892, 394, 2936, 273, 394, 6674, 5621, 202, 565, 1024, 67, 4930, 30, 202, 202, 1884, 261, 25708, 13, 288, 202, 202, 601, 528, 30, 1082, 565, 741, 288, 1082, 202, 1884, 261, 474, 949, 273, 374, 31, 949, 411, 394, 2936, 18, 2469, 5621, 949, 27245, 288, 9506, 565, 1149, 276, 273, 394, 2936, 18, 3001, 861, 12, 917, 1769, 9506, 565, 309, 261, 18539, 2175, 422, 531, 17156, 19446, 639, 18, 862, 1985, 67, 6950, 14607, 13, 288, 9506, 202, 430, 261, 71, 422, 296, 29, 6134, 288, 6862, 565, 394, 2936, 18, 542, 2156, 861, 12, 917, 16, 296, 37, 8284, 6862, 565, 898, 21194, 31, 9506, 202, 97, 469, 309, 261, 71, 422, 296, 62, 6134, 288, 6862, 565, 394, 2936, 18, 542, 2156, 861, 12, 917, 16, 296, 69, 8284, 6862, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1361, 1388, 12, 474, 6472, 2175, 13, 288, 202, 430, 261, 291, 12236, 4920, 10756, 288, 202, 565, 309, 261, 10516, 21935, 639, 18, 291, 2829, 1998, 13, 202, 202, 10516, 21935, 639, 18, 370, 18, 8222, 12, 10492, 1435, 397, 315, 353, 21096, 8863, 202, 97, 469, 309, 261, 291, 23869, 1535, 1435, 1082, 282, 597, 6472, 2175, 480, 531, 17156, 19446, 639, 18, 862, 1985, 67, 9826, 13, 288, 202, 565, 309, 261, 18539, 2175, 422, 531, 17156, 19446, 639, 18, 862, 1985, 67, 16879, 13, 202, 202, 542, 2936, 2932, 18310, 6, 397, 2734, 11611, 9904, 1769, 202, 565, 469, 288, 202, 202, 780, 1892, 394, 2936, 273, 394, 6674, 5621, 202, 565, 2 ]
public String getStatus(int position) {
public String getStatus(int position) {
public String getStatus(int position) { // return this.status[position]; String status = ""; // logger.debug("Getting status"); if (position == 0) { // depict editing mode status = controllerModel.getDrawModeString(); } else if (position == 1) { // depict bruto formula AtomContainer wholeModel = ChemModelManipulator.getAllInOneContainer(model); String formula = new MFAnalyser(wholeModel).getHTMLMolecularFormulaWithCharge(); status = "<html>" + formula + "</html>"; } else if (position == 2) { // depict brutto formula of the selected molecule or part of molecule if (rendererModel.getSelectedPart() != null) { AtomContainer selectedPart = rendererModel.getSelectedPart(); String formula = new MFAnalyser(selectedPart).getHTMLMolecularFormulaWithCharge(); status = "<html>" + formula + "</html>"; } } return status; }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/d627f99335efee2e4dca344faa3b13bb3aa73ca3/JChemPaintModel.java/buggy/src/org/openscience/cdk/applications/jchempaint/JChemPaintModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 5870, 12, 474, 1754, 13, 202, 95, 202, 202, 759, 327, 333, 18, 2327, 63, 3276, 15533, 202, 202, 780, 1267, 273, 1408, 31, 202, 202, 759, 1194, 18, 4148, 2932, 19213, 1267, 8863, 202, 202, 430, 261, 3276, 422, 374, 13, 202, 202, 95, 1082, 202, 759, 5993, 933, 15755, 1965, 1082, 202, 2327, 273, 2596, 1488, 18, 588, 6493, 2309, 780, 5621, 202, 202, 97, 469, 309, 261, 3276, 422, 404, 13, 288, 1082, 202, 759, 5993, 933, 5186, 3003, 8013, 1082, 202, 3641, 2170, 7339, 1488, 273, 26542, 1488, 27587, 18, 588, 1595, 382, 3335, 2170, 12, 2284, 1769, 1082, 202, 780, 8013, 273, 394, 490, 42, 979, 3450, 550, 12, 3350, 790, 1488, 2934, 588, 4870, 49, 23693, 14972, 1190, 17649, 5621, 1082, 202, 2327, 273, 3532, 2620, 2984, 397, 8013, 397, 6823, 2620, 2984, 31, 202, 202, 97, 469, 309, 261, 3276, 422, 576, 13, 288, 1082, 202, 759, 5993, 933, 5186, 322, 869, 8013, 434, 326, 3170, 13661, 578, 1087, 434, 13661, 1082, 202, 430, 261, 14374, 1488, 18, 588, 7416, 1988, 1435, 480, 446, 13, 288, 9506, 202, 3641, 2170, 3170, 1988, 273, 5690, 1488, 18, 588, 7416, 1988, 5621, 9506, 202, 780, 8013, 273, 225, 394, 490, 42, 979, 3450, 550, 12, 8109, 1988, 2934, 588, 4870, 49, 23693, 14972, 1190, 17649, 5621, 9506, 202, 2327, 273, 3532, 2620, 2984, 397, 8013, 397, 6823, 2620, 2984, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 5870, 12, 474, 1754, 13, 202, 95, 202, 202, 759, 327, 333, 18, 2327, 63, 3276, 15533, 202, 202, 780, 1267, 273, 1408, 31, 202, 202, 759, 1194, 18, 4148, 2932, 19213, 1267, 8863, 202, 202, 430, 261, 3276, 422, 374, 13, 202, 202, 95, 1082, 202, 759, 5993, 933, 15755, 1965, 1082, 202, 2327, 273, 2596, 1488, 18, 588, 6493, 2309, 780, 5621, 202, 202, 97, 469, 309, 261, 3276, 422, 404, 13, 288, 1082, 202, 759, 5993, 933, 5186, 3003, 8013, 1082, 202, 3641, 2170, 7339, 1488, 273, 26542, 1488, 27587, 18, 588, 1595, 382, 3335, 2170, 12, 2284, 1769, 1082, 202, 780, 8013, 273, 394, 490, 42, 979, 3450, 550, 12, 3350, 2 ]
return new RubyJavaObject(ruby, RubyJavaObject.getRubyClass(ruby, javaClass), object);
return new RubyJavaObject(ruby, RubyJavaObject.loadClass(ruby, javaClass, null), object);
public static RubyObject convertJavaToRuby(Ruby ruby, Object object, Class javaClass) { if (object == null) { return ruby.getNil(); } if (javaClass == Boolean.TYPE || javaClass == Boolean.class) { return RubyBoolean.m_newBoolean(ruby, ((Boolean)object).booleanValue()); } if (javaClass == Integer.TYPE || javaClass == Integer.class || javaClass == Long.TYPE || javaClass == Long.class) { return RubyFixnum.m_newFixnum(ruby, ((Number)object).intValue()); } if (javaClass == Float.TYPE || javaClass == Float.class || javaClass == Double.TYPE || javaClass == Double.class) { return RubyFloat.m_newFloat(ruby, ((Number)object).doubleValue()); } if (javaClass == String.class) { return RubyString.m_newString(ruby, object.toString()); } if (javaClass.isArray()) { Class arrayClass = javaClass.getComponentType(); int len = Array.getLength(object); RubyObject[] items = new RubyObject[len]; for (int i = 0; i < len; i++) { items[i] = convertJavaToRuby(ruby, Array.get(object, i), arrayClass); } return RubyArray.m_create(ruby, items); } return new RubyJavaObject(ruby, RubyJavaObject.getRubyClass(ruby, javaClass), object); }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/4dd998b9c4d1045cac5a54d7601156dae6301fae/JavaUtil.java/clean/org/jruby/javasupport/JavaUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 921, 1765, 5852, 774, 54, 10340, 12, 54, 10340, 22155, 16, 1033, 733, 16, 1659, 2252, 797, 13, 288, 3639, 309, 261, 1612, 422, 446, 13, 288, 5411, 327, 22155, 18, 588, 12616, 5621, 3639, 289, 3639, 309, 261, 6290, 797, 422, 3411, 18, 2399, 747, 2252, 797, 422, 3411, 18, 1106, 13, 288, 5411, 327, 19817, 5507, 18, 81, 67, 2704, 5507, 12, 27768, 16, 14015, 5507, 13, 1612, 2934, 6494, 620, 10663, 3639, 289, 3639, 309, 261, 6290, 797, 422, 2144, 18, 2399, 747, 2252, 797, 422, 2144, 18, 1106, 747, 5411, 2252, 797, 422, 3407, 18, 2399, 747, 2252, 797, 422, 3407, 18, 1106, 13, 288, 5411, 327, 19817, 8585, 2107, 18, 81, 67, 2704, 8585, 2107, 12, 27768, 16, 14015, 1854, 13, 1612, 2934, 474, 620, 10663, 3639, 289, 3639, 309, 261, 6290, 797, 422, 5450, 18, 2399, 747, 2252, 797, 422, 5450, 18, 1106, 747, 5411, 2252, 797, 422, 3698, 18, 2399, 747, 2252, 797, 422, 3698, 18, 1106, 13, 288, 5411, 327, 19817, 4723, 18, 81, 67, 2704, 4723, 12, 27768, 16, 14015, 1854, 13, 1612, 2934, 9056, 620, 10663, 3639, 289, 3639, 309, 261, 6290, 797, 422, 514, 18, 1106, 13, 288, 5411, 327, 19817, 780, 18, 81, 67, 2704, 780, 12, 27768, 16, 733, 18, 10492, 10663, 3639, 289, 3639, 309, 261, 6290, 797, 18, 291, 1076, 10756, 288, 5411, 1659, 526, 797, 273, 2252, 797, 18, 588, 28116, 5621, 5411, 509, 562, 273, 1510, 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, 19817, 921, 1765, 5852, 774, 54, 10340, 12, 54, 10340, 22155, 16, 1033, 733, 16, 1659, 2252, 797, 13, 288, 3639, 309, 261, 1612, 422, 446, 13, 288, 5411, 327, 22155, 18, 588, 12616, 5621, 3639, 289, 3639, 309, 261, 6290, 797, 422, 3411, 18, 2399, 747, 2252, 797, 422, 3411, 18, 1106, 13, 288, 5411, 327, 19817, 5507, 18, 81, 67, 2704, 5507, 12, 27768, 16, 14015, 5507, 13, 1612, 2934, 6494, 620, 10663, 3639, 289, 3639, 309, 261, 6290, 797, 422, 2144, 18, 2399, 747, 2252, 797, 422, 2144, 18, 1106, 747, 5411, 2252, 797, 422, 3407, 18, 2399, 747, 2252, 797, 422, 3407, 18, 1106, 13, 288, 5411, 327, 19817, 8585, 2107, 18, 2 ]
static Compressed compress(Bucket sourceData, boolean dontCompress, short alreadyCompressedCodec, long sourceLength, long MAX_LENGTH_BEFORE_COMPRESSION, long MAX_COMPRESSED_DATA_LENGTH, boolean shortLength) throws KeyEncodeException, IOException { byte[] finalData = null; short compressionAlgorithm = -1; // Try to compress it - even if it fits into the block, // because compressing it improves its entropy. if(sourceData.size() > MAX_LENGTH_BEFORE_COMPRESSION) throw new KeyEncodeException("Too big"); if((!dontCompress) || (alreadyCompressedCodec >= 0)) { byte[] cbuf = null; if(alreadyCompressedCodec >= 0) { if(sourceData.size() > MAX_COMPRESSED_DATA_LENGTH) throw new KeyEncodeException("Too big (precompressed)"); compressionAlgorithm = alreadyCompressedCodec; cbuf = BucketTools.toByteArray(sourceData); if(sourceLength > MAX_LENGTH_BEFORE_COMPRESSION) throw new CHKEncodeException("Too big"); } else { if (sourceData.size() > NodeCHK.BLOCK_SIZE) { // Determine the best algorithm for (int i = 0; i < Compressor.countCompressAlgorithms(); i++) { Compressor comp = Compressor .getCompressionAlgorithmByDifficulty(i); ArrayBucket compressedData; try { compressedData = (ArrayBucket) comp.compress( sourceData, new ArrayBucketFactory(), NodeCHK.BLOCK_SIZE); } catch (IOException e) { throw new Error(e); } catch (CompressionOutputSizeException e) { continue; } if (compressedData.size() <= MAX_COMPRESSED_DATA_LENGTH) { compressionAlgorithm = comp .codecNumberForMetadata(); sourceLength = sourceData.size(); try { cbuf = BucketTools.toByteArray(compressedData); // FIXME provide a method in ArrayBucket } catch (IOException e) { throw new Error(e); } break; } } } } if(cbuf != null) { // Use it int compressedLength = cbuf.length; finalData = new byte[compressedLength+(shortLength?2:4)]; System.arraycopy(cbuf, 0, finalData, shortLength?2:4, compressedLength); if(!shortLength) { finalData[0] = (byte) ((sourceLength >> 24) & 0xff); finalData[1] = (byte) ((sourceLength >> 16) & 0xff); finalData[2] = (byte) ((sourceLength >> 8) & 0xff); finalData[3] = (byte) ((sourceLength) & 0xff); } else { finalData[0] = (byte) ((sourceLength >> 8) & 0xff); finalData[1] = (byte) ((sourceLength) & 0xff); } } } if(finalData == null) { if(sourceData.size() > NodeCHK.BLOCK_SIZE) { throw new CHKEncodeException("Too big"); } finalData = BucketTools.toByteArray(sourceData); } return new Compressed(finalData, compressionAlgorithm); }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/c8888f87070f081d9701dcb90559c9d3e4de8847/Key.java/buggy/src/freenet/keys/Key.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 760, 5427, 4638, 8099, 12, 4103, 1084, 751, 16, 1250, 14046, 16552, 16, 3025, 1818, 16841, 11008, 16, 1525, 27406, 16, 1525, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 16, 1525, 4552, 67, 4208, 27388, 67, 4883, 67, 7096, 16, 1250, 3025, 1782, 13, 1216, 1929, 5509, 503, 16, 1860, 288, 202, 7229, 8526, 727, 751, 273, 446, 31, 6620, 9154, 6801, 273, 300, 21, 31, 759, 6161, 358, 8099, 518, 300, 5456, 309, 518, 13351, 1368, 326, 1203, 16, 759, 2724, 8099, 310, 518, 13069, 3324, 2097, 15943, 18, 430, 12, 3168, 751, 18, 1467, 1435, 405, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 13, 12849, 394, 1929, 5509, 503, 2932, 10703, 5446, 8863, 430, 12443, 5, 72, 1580, 16552, 13, 747, 261, 17583, 16841, 11008, 1545, 374, 3719, 288, 202, 7229, 8526, 2875, 696, 273, 446, 31, 202, 430, 12, 17583, 16841, 11008, 1545, 374, 13, 288, 3196, 202, 430, 12, 3168, 751, 18, 1467, 1435, 405, 4552, 67, 4208, 27388, 67, 4883, 67, 7096, 13, 1082, 202, 12849, 394, 1929, 5509, 503, 2932, 10703, 5446, 261, 1484, 15385, 2225, 1769, 202, 202, 23766, 6801, 273, 1818, 16841, 11008, 31, 202, 202, 71, 4385, 273, 7408, 10348, 18, 869, 8826, 12, 3168, 751, 1769, 202, 202, 430, 12, 3168, 1782, 405, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 13, 1082, 202, 12849, 394, 6469, 47, 5509, 503, 2932, 10703, 5446, 8863, 202, 97, 469, 288, 202, 202, 430, 261, 3168, 751, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 760, 5427, 4638, 8099, 12, 4103, 1084, 751, 16, 1250, 14046, 16552, 16, 3025, 1818, 16841, 11008, 16, 1525, 27406, 16, 1525, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 16, 1525, 4552, 67, 4208, 27388, 67, 4883, 67, 7096, 16, 1250, 3025, 1782, 13, 1216, 1929, 5509, 503, 16, 1860, 288, 202, 7229, 8526, 727, 751, 273, 446, 31, 6620, 9154, 6801, 273, 300, 21, 31, 759, 6161, 358, 8099, 518, 300, 5456, 309, 518, 13351, 1368, 326, 1203, 16, 759, 2724, 8099, 310, 518, 13069, 3324, 2097, 15943, 18, 430, 12, 3168, 751, 18, 1467, 1435, 405, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 13, 12849, 394, 1929, 5509, 503, 2932, 10703, 5446, 8863, 430, 12443, 2 ]
"<td><tr>\n" +
"</td></tr>\n" +
private void writeSummary() throws FileNotFoundException { File file = new File(m_prefix + "index.html"); PrintStream out = new PrintStream(new FileOutputStream(file)); String host = "?"; try { host = InetAddress.getLocalHost().getHostName(); } catch (UnknownHostException e) { } DateFormat format = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL); Date date = Calendar.getInstance().getTime(); out.print("<html>\n" + "<head>\n" + "<title>Regression Test Summary</title>\n" + "</head>\n" + "<body bgcolor=\"white\" text=\"black\" link=\"blue\"" + " vlink=\"purple\" alink=\"red\">\n" + "<table border=\"0\" width=\"100%\" bgcolor=\"" + m_colorHeader + "\">\n" + "<tr><td>\n" + "<h1>Regression Test Summary</h1>\n" + "<td><tr>\n" + "</table>\n" + "<table width=\"100%\" bgcolor=\"" + m_colorGrayBackground + "\">\n"); writeInfo(out); out.print("</table>" + "<p>" + "<table bgcolor=\"" + m_colorGrayBackground + "\">\n" + "<colgroup>\n" + "<col width=\"20%\">\n" + "<col width=\"10%\">\n" + "<col width=\"10%\">\n" + "<col width=\"10%\">\n" + "<col width=\"10%\">\n" + "<col width=\"10%\">\n" + "<col width=\"10%\">\n" + "<col width=\"10%\">\n" + "<col width=\"10%\">\n" + "</colgroup>\n" + "<thead align=\"center\" bgcolor = \"" + m_colorHeader + "\">\n" + "<th>File</th>" + "<th>Tests</th>" + "<th>FAIL</th>" + "<th>fail</th>" + "<th>PASS</th>" + "<th>pass</th>" + "<th>Error</th>" + "<th>Time</th>" + "<th>CpuTime</th>" + "</thead>\n"); for (int i = 0; i < m_testSummaries.size(); ++i) { TestSummary summary = (TestSummary)m_testSummaries.get(i); writeSummaryRow(out, summary, true, false); } writeSummaryRow(out, getTotalSummary(), true, true); out.print("</table>\n" + "</p>\n" + "</body>\n" + "</html>\n"); out.close(); }
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/87b6d1b853b2f0b04ae499533ef8e69c721a46cc/GtpRegress.java/buggy/src/gtpregress/GtpRegress.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 4733, 1435, 3639, 1216, 13707, 565, 288, 3639, 1387, 585, 273, 394, 1387, 12, 81, 67, 3239, 397, 315, 1615, 18, 2620, 8863, 3639, 21677, 596, 273, 394, 21677, 12, 2704, 12942, 12, 768, 10019, 3639, 514, 1479, 273, 13574, 31, 3639, 775, 3639, 288, 5411, 1479, 273, 14218, 18, 588, 2042, 2594, 7675, 588, 20946, 5621, 3639, 289, 3639, 1044, 261, 4874, 29776, 425, 13, 3639, 288, 3639, 289, 3639, 18371, 740, 273, 18371, 18, 588, 5096, 1442, 12, 11878, 18, 18111, 16, 4766, 21821, 18371, 18, 18111, 1769, 3639, 2167, 1509, 273, 5542, 18, 588, 1442, 7675, 588, 950, 5621, 3639, 596, 18, 1188, 2932, 32, 2620, 5333, 82, 6, 397, 5375, 3532, 1978, 5333, 82, 6, 397, 5375, 3532, 2649, 34, 1617, 16345, 7766, 17967, 1757, 2649, 5333, 82, 6, 397, 5375, 6823, 1978, 5333, 82, 6, 397, 5375, 3532, 3432, 31509, 5189, 14739, 2412, 977, 5189, 11223, 2412, 1692, 5189, 14081, 8530, 5375, 397, 315, 331, 1232, 5189, 12688, 1802, 2412, 524, 754, 5189, 1118, 28219, 82, 6, 397, 5375, 3532, 2121, 5795, 5189, 20, 2412, 1835, 5189, 6625, 9, 2412, 31509, 13186, 5375, 397, 312, 67, 3266, 1864, 397, 7023, 5333, 82, 6, 397, 5375, 3532, 313, 4438, 4465, 5333, 82, 6, 397, 5375, 3532, 76, 21, 34, 1617, 16345, 7766, 17967, 1757, 76, 21, 5333, 82, 6, 397, 5375, 6823, 4465, 4695, 313, 5333, 82, 6, 397, 5375, 6823, 2121, 5333, 82, 6, 397, 5375, 3532, 2121, 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, 4733, 1435, 3639, 1216, 13707, 565, 288, 3639, 1387, 585, 273, 394, 1387, 12, 81, 67, 3239, 397, 315, 1615, 18, 2620, 8863, 3639, 21677, 596, 273, 394, 21677, 12, 2704, 12942, 12, 768, 10019, 3639, 514, 1479, 273, 13574, 31, 3639, 775, 3639, 288, 5411, 1479, 273, 14218, 18, 588, 2042, 2594, 7675, 588, 20946, 5621, 3639, 289, 3639, 1044, 261, 4874, 29776, 425, 13, 3639, 288, 3639, 289, 3639, 18371, 740, 273, 18371, 18, 588, 5096, 1442, 12, 11878, 18, 18111, 16, 4766, 21821, 18371, 18, 18111, 1769, 3639, 2167, 1509, 273, 5542, 18, 588, 1442, 7675, 588, 950, 5621, 3639, 596, 18, 1188, 2932, 32, 2620, 5333, 82, 6, 397, 5375, 3532, 2 ]
jMenuItemInsertSymbol1ActionPerformed(evt);
jMenuItemInsertFileActionPerformed(evt);
public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItemInsertSymbol1ActionPerformed(evt); }
7731 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7731/c6e58964e4f2701b2dc55d1398e8b95857e090b4/jFrame.java/buggy/Project/jFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 525, 12958, 4600, 812, 19449, 12, 73, 11734, 1769, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 525, 12958, 4600, 812, 19449, 12, 73, 11734, 1769, 5411, 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 ]
serializedModel = interpolateInternal( serializedModel, model, context );
RegexBasedInterpolator interpolator = new RegexBasedInterpolator(); interpolator.addValueSource( new MapBasedValueSource( context ) ); interpolator.addValueSource( new MapBasedValueSource( model.getProperties() ) ); interpolator.addValueSource( new ObjectBasedValueSource( model ) ); try { interpolator.addValueSource( new EnvarBasedValueSource() ); } catch ( IOException e ) { getLogger().warn( "Cannot initialize environment variables resolver. Skipping environmental resolution." ); getLogger().debug( "Failed to initialize envar resolver. Skipping environmental resolution.", e ); } serializedModel = interpolator.interpolate(serializedModel, "pom|project" );
public Model interpolate( Model model, Map context ) throws ModelInterpolationException { StringWriter sWriter = new StringWriter(); MavenXpp3Writer writer = new MavenXpp3Writer(); try { writer.write( sWriter, model ); } catch ( IOException e ) { throw new ModelInterpolationException( "Cannot serialize project model for interpolation.", e ); } String serializedModel = sWriter.toString(); serializedModel = interpolateInternal( serializedModel, model, context ); StringReader sReader = new StringReader( serializedModel ); MavenXpp3Reader modelReader = new MavenXpp3Reader(); try { model = modelReader.read( sReader ); } catch ( IOException e ) { throw new ModelInterpolationException( "Cannot read project model from interpolating filter of serialized version.", e ); } catch ( XmlPullParserException e ) { throw new ModelInterpolationException( "Cannot read project model from interpolating filter of serialized version.", e ); } return model; }
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/a321da38d649d5cce704785bb34d6a684286265c/RegexBasedModelInterpolator.java/buggy/maven-project/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3164, 13156, 12, 3164, 938, 16, 1635, 819, 262, 3639, 1216, 3164, 15665, 29304, 565, 288, 3639, 17436, 272, 2289, 273, 394, 17436, 5621, 3639, 17176, 60, 11858, 23, 2289, 2633, 273, 394, 17176, 60, 11858, 23, 2289, 5621, 3639, 775, 3639, 288, 5411, 2633, 18, 2626, 12, 272, 2289, 16, 938, 11272, 3639, 289, 3639, 1044, 261, 1860, 425, 262, 3639, 288, 5411, 604, 394, 3164, 15665, 29304, 12, 315, 4515, 4472, 1984, 938, 364, 12851, 1199, 16, 425, 11272, 3639, 289, 3639, 514, 5343, 1488, 273, 272, 2289, 18, 10492, 5621, 540, 15078, 9802, 15665, 639, 7326, 639, 273, 394, 15078, 9802, 15665, 639, 5621, 225, 7326, 639, 18, 1289, 620, 1830, 12, 394, 1635, 9802, 620, 1830, 12, 819, 262, 11272, 7326, 639, 18, 1289, 620, 1830, 12, 394, 1635, 9802, 620, 1830, 12, 938, 18, 588, 2297, 1435, 262, 11272, 7326, 639, 18, 1289, 620, 1830, 12, 394, 1033, 9802, 620, 1830, 12, 938, 262, 11272, 225, 775, 288, 7326, 639, 18, 1289, 620, 1830, 12, 394, 1374, 1401, 9802, 620, 1830, 1435, 11272, 289, 1044, 261, 1860, 425, 262, 288, 7156, 7675, 8935, 12, 315, 4515, 4046, 3330, 3152, 5039, 18, 27455, 3330, 287, 7861, 1199, 11272, 7156, 7675, 4148, 12, 315, 2925, 358, 4046, 570, 1401, 5039, 18, 27455, 3330, 287, 7861, 1199, 16, 425, 11272, 289, 225, 5343, 1488, 273, 7326, 639, 18, 18676, 340, 12, 17569, 1488, 16, 315, 84, 362, 96, 4406, 6, 11272, 3639, 26227, 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, 3164, 13156, 12, 3164, 938, 16, 1635, 819, 262, 3639, 1216, 3164, 15665, 29304, 565, 288, 3639, 17436, 272, 2289, 273, 394, 17436, 5621, 3639, 17176, 60, 11858, 23, 2289, 2633, 273, 394, 17176, 60, 11858, 23, 2289, 5621, 3639, 775, 3639, 288, 5411, 2633, 18, 2626, 12, 272, 2289, 16, 938, 11272, 3639, 289, 3639, 1044, 261, 1860, 425, 262, 3639, 288, 5411, 604, 394, 3164, 15665, 29304, 12, 315, 4515, 4472, 1984, 938, 364, 12851, 1199, 16, 425, 11272, 3639, 289, 3639, 514, 5343, 1488, 273, 272, 2289, 18, 10492, 5621, 540, 15078, 9802, 15665, 639, 7326, 639, 273, 394, 15078, 9802, 15665, 639, 5621, 225, 7326, 639, 18, 1289, 620, 1830, 12, 394, 1635, 2 ]
{ if (!loaded || keyring == null)
public void engineStore(OutputStream out, char[] password) throws IOException { if (!loaded || keyring == null) { throw new IllegalStateException ("not loaded"); } HashMap attr = new HashMap(); attr.put(IKeyring.KEYRING_DATA_OUT, out); attr.put(IKeyring.KEYRING_PASSWORD, password); keyring.store(attr); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/abad947539d38da7392ff914207d1bb7d5538320/GnuKeyring.java/clean/core/src/classpath/gnu/gnu/javax/crypto/jce/keyring/GnuKeyring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4073, 2257, 12, 4632, 596, 16, 1149, 8526, 2201, 13, 1216, 1860, 225, 288, 565, 309, 16051, 4230, 747, 20923, 422, 446, 13, 1377, 288, 3639, 604, 394, 5477, 7566, 902, 4203, 8863, 1377, 289, 565, 4317, 1604, 273, 394, 4317, 5621, 565, 1604, 18, 458, 12, 45, 653, 8022, 18, 3297, 54, 1360, 67, 4883, 67, 5069, 16, 596, 1769, 565, 1604, 18, 458, 12, 45, 653, 8022, 18, 3297, 54, 1360, 67, 13784, 16, 2201, 1769, 565, 20923, 18, 2233, 12, 1747, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 4073, 2257, 12, 4632, 596, 16, 1149, 8526, 2201, 13, 1216, 1860, 225, 288, 565, 309, 16051, 4230, 747, 20923, 422, 446, 13, 1377, 288, 3639, 604, 394, 5477, 7566, 902, 4203, 8863, 1377, 289, 565, 4317, 1604, 273, 394, 4317, 5621, 565, 1604, 18, 458, 12, 45, 653, 8022, 18, 3297, 54, 1360, 67, 4883, 67, 5069, 16, 596, 1769, 565, 1604, 18, 458, 12, 45, 653, 8022, 18, 3297, 54, 1360, 67, 13784, 16, 2201, 1769, 565, 20923, 18, 2233, 12, 1747, 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 ]
put(w, "ethernet0.vnet", "/dev/vmnet1");
put(w, "ethernet0.present", "TRUE");
public void execute() throws BuildException { try { FileWriter out = new FileWriter(new File(isoFile + ".vmx")); try { PrintWriter w = new PrintWriter(out); put(w, "config.version", "8"); put(w, "virtualHW.version", "4"); put(w, "memsize", String.valueOf(memorySize)); put(w, "MemAllowAutoScaleDown", "FALSE"); put(w, "ide0:0.present", "TRUE"); put(w, "ide0:0.fileName", new File(isoFile).getName()); put(w, "ide0:0.deviceType", "cdrom-image"); put(w, "ide1:0.present", "FALSE"); put(w, "floppy0.present", "FALSE"); put(w, "usb.present", "TRUE"); put(w, "sound.present", "FALSE"); put(w, "sound.virtualDev", "es1371"); put(w, "displayName", "JNode"); put(w, "guestOS", "dos"); put(w, "nvram", "JNode.nvram"); put(w, "MemTrimRate", "-1"); put(w, "ide0:0.redo", ""); put(w, "ethernet0.present", "TRUE"); put(w, "ethernet0.connectionType", "bridged"); put(w, "ethernet0.addressType", "generated"); put(w, "ethernet0.generatedAddress", "00:0c:29:2a:96:30"); put(w, "ethernet0.generatedAddressOffset", "0"); put(w, "ethernet0.vnet", "/dev/vmnet1"); put(w, "ethernet0.startConnected", "TRUE"); put(w, "uuid.location", "56 4d 94 59 c9 96 80 88-6c 3a 37 80 04 68 c9 b2"); put(w, "uuid.bios", "56 4d 94 59 c9 96 80 88-6c 3a 37 80 04 68 c9 b2"); if((logFile != null) && (logFile.trim().length() != 0)) { put(w, "serial0.present", "TRUE"); put(w, "serial0.fileType", "file"); put(w, "serial0.fileName", logFile); } put(w, "tools.syncTime", "TRUE"); put(w, "ide1:0.startConnected", "TRUE"); put(w, "uuid.action", "create"); put(w, "checkpoint.vmState", ""); } finally { out.close(); } } catch (IOException ex) { throw new BuildException(ex); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cc4b67bd7ebcab49506361de26f7ea957a194121/VMwareBuilderTask.java/buggy/builder/src/builder/org/jnode/build/VMwareBuilderTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 775, 288, 5411, 24639, 596, 273, 394, 24639, 12, 2704, 1387, 12, 9699, 812, 397, 3552, 3489, 92, 7923, 1769, 5411, 775, 288, 7734, 14071, 341, 273, 394, 14071, 12, 659, 1769, 27573, 1378, 12, 91, 16, 315, 1425, 18, 1589, 3113, 315, 28, 8863, 7734, 1378, 12, 91, 16, 315, 12384, 44, 59, 18, 1589, 3113, 315, 24, 8863, 7734, 1378, 12, 91, 16, 315, 3917, 1467, 3113, 514, 18, 1132, 951, 12, 7858, 1225, 10019, 7734, 1378, 12, 91, 16, 315, 3545, 7009, 4965, 5587, 4164, 3113, 315, 21053, 8863, 7734, 1378, 12, 91, 16, 315, 831, 20, 30, 20, 18, 6706, 3113, 315, 18724, 8863, 7734, 1378, 12, 91, 16, 315, 831, 20, 30, 20, 18, 17812, 3113, 394, 1387, 12, 9699, 812, 2934, 17994, 10663, 7734, 1378, 12, 91, 16, 315, 831, 20, 30, 20, 18, 5964, 559, 3113, 315, 4315, 520, 17, 2730, 8863, 7734, 1378, 12, 91, 16, 315, 831, 21, 30, 20, 18, 6706, 3113, 315, 21053, 8863, 7734, 1378, 12, 91, 16, 315, 74, 16884, 2074, 20, 18, 6706, 3113, 315, 21053, 8863, 7734, 1378, 12, 91, 16, 315, 25525, 18, 6706, 3113, 315, 18724, 8863, 7734, 1378, 12, 91, 16, 315, 29671, 18, 6706, 3113, 315, 21053, 8863, 7734, 1378, 12, 91, 16, 315, 29671, 18, 12384, 8870, 3113, 315, 281, 3437, 11212, 8863, 7734, 1378, 12, 91, 16, 315, 5417, 461, 3113, 315, 46, 907, 8863, 7734, 1378, 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, 1836, 1435, 1216, 18463, 288, 3639, 775, 288, 5411, 24639, 596, 273, 394, 24639, 12, 2704, 1387, 12, 9699, 812, 397, 3552, 3489, 92, 7923, 1769, 5411, 775, 288, 7734, 14071, 341, 273, 394, 14071, 12, 659, 1769, 27573, 1378, 12, 91, 16, 315, 1425, 18, 1589, 3113, 315, 28, 8863, 7734, 1378, 12, 91, 16, 315, 12384, 44, 59, 18, 1589, 3113, 315, 24, 8863, 7734, 1378, 12, 91, 16, 315, 3917, 1467, 3113, 514, 18, 1132, 951, 12, 7858, 1225, 10019, 7734, 1378, 12, 91, 16, 315, 3545, 7009, 4965, 5587, 4164, 3113, 315, 21053, 8863, 7734, 1378, 12, 91, 16, 315, 831, 20, 30, 20, 18, 6706, 3113, 315, 18724, 8863, 7734, 1378, 2 ]
if (isATimeEvent(target)) { return ((TimeEvent) target).getWhen();
try { if (isATimeEvent(target)) { return ((TimeEvent) target).getWhen(); } } catch (InvalidObjectException e) { throw new InvalidElementException(e);
public Object getWhen(Object target) { if (isATimeEvent(target)) { return ((TimeEvent) target).getWhen(); } return illegalArgumentObject(target); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/7bc74175450c014e7dde397ce290d1c53120b35f/FacadeMDRImpl.java/buggy/src/model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 9434, 12, 921, 1018, 13, 288, 3639, 309, 261, 291, 789, 494, 1133, 12, 3299, 3719, 288, 5411, 327, 14015, 950, 1133, 13, 1018, 2934, 588, 9434, 5621, 3639, 289, 3639, 327, 16720, 1379, 921, 12, 3299, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 9434, 12, 921, 1018, 13, 288, 3639, 309, 261, 291, 789, 494, 1133, 12, 3299, 3719, 288, 5411, 327, 14015, 950, 1133, 13, 1018, 2934, 588, 9434, 5621, 3639, 289, 3639, 327, 16720, 1379, 921, 12, 3299, 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 ]
EMIT(MIR_Binary.create(PPC_SUBFIC, I(zero), one.copyRO(), IC(value - 1)));
t1 = regpool.getAddress(); EMIT(MIR_Unary.create(PPC64_EXTSW, A(t1), one.copyRO())); EMIT(MIR_Binary.create(PPC_SUBFIC, A(zero), A(t1), IC(value - 1))); EMIT(MIR_Binary.create(PPC_SUBFIC, A(zero), one.copyRO(), IC(value - 1)));
protected final void BOOLEAN_CMP_INT_IMM(OPT_RegisterOperand def, OPT_ConditionOperand cmp, OPT_RegisterOperand one, OPT_IntConstantOperand two) { OPT_Register t1, t = regpool.getInteger(); OPT_Register zero = regpool.getPhysicalRegisterSet().getTemp(); int value = two.value; switch (cmp.value) { case OPT_ConditionOperand.EQUAL: if (value == 0) { EMIT(MIR_Unary.create(PPC_CNTLZW, I(t), one)); } else { EMIT(MIR_Binary.create(PPC_SUBFIC, I(t), one, IC(value))); EMIT(MIR_Unary.create(PPC_CNTLZW, I(t), I(t))); } EMIT(MIR_Binary.create(PPC_SRWI, def, I(t), IC(LOG_BITS_IN_INT))); break; case OPT_ConditionOperand.NOT_EQUAL: if (value == 0) { EMIT(MIR_Binary.create(PPC_ADDIC, I(t), one, IC(-1))); EMIT(MIR_Binary.create(PPC_SUBFE, def, I(t), one.copyRO())); } else { t1 = regpool.getInteger(); EMIT(MIR_Binary.create(PPC_SUBFIC, I(t1), one, IC(value))); EMIT(MIR_Binary.create(PPC_ADDIC, I(t), I(t1), IC(-1))); EMIT(MIR_Binary.create(PPC_SUBFE, def, I(t), I(t1))); } break; case OPT_ConditionOperand.LESS: if (value == 0) { EMIT(MIR_Binary.create(PPC_SRWI, def, one, IC(BITS_IN_INT - 1))); } else if (value > 0) { EMIT(MIR_Binary.create(PPC_SRWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Binary.create(PPC_SUBFIC, I(zero), one, IC(value - 1))); EMIT(MIR_Unary.create(PPC_ADDZE, def, I(t))); } else if (value != 0xFFFF8000) { EMIT(MIR_Binary.create(PPC_SRWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Binary.create(PPC_SUBFIC, I(zero), one.copyRO(), IC(value - 1))); EMIT(MIR_Unary.create(PPC_ADDME, def, I(t))); } else { // value = 0xFFFF8000 EMIT(MIR_Binary.create(PPC_SRWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Unary.create(PPC_LDIS, I(zero), IC(1))); EMIT(MIR_Binary.create(PPC_SUBFC, I(zero), one.copyRO(), I(zero))); EMIT(MIR_Unary.create(PPC_ADDME, def, I(t))); } break; case OPT_ConditionOperand.GREATER: if (value == 0) { EMIT(MIR_Unary.create(PPC_NEG, I(t), one)); EMIT(MIR_Binary.create(PPC_ANDC, I(t), I(t), one.copyRO())); EMIT(MIR_Binary.create(PPC_SRWI, def, I(t), IC(BITS_IN_INT - 1))); } else if (value >= 0) { EMIT(MIR_Binary.create(PPC_SRAWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Binary.create(PPC_ADDIC, I(zero), one.copyRO(), IC(-value - 1))); EMIT(MIR_Unary.create(PPC_ADDZE, def, I(t))); } else { t1 = regpool.getInteger(); EMIT(MIR_Unary.create(PPC_LDI, I(t1), IC(1))); EMIT(MIR_Binary.create(PPC_SRAWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Binary.create(PPC_ADDIC, I(zero), one.copyRO(), IC(-value - 1))); EMIT(MIR_Binary.create(PPC_ADDE, def, I(t), I(t1))); } break; case OPT_ConditionOperand.LESS_EQUAL: if (value == 0) { EMIT(MIR_Binary.create(PPC_ADDI, I(t), one, IC(-1))); EMIT(MIR_Binary.create(PPC_OR, I(t), I(t), one.copyRO())); EMIT(MIR_Binary.create(PPC_SRWI, def, I(t), IC(BITS_IN_INT - 1))); } else if (value >= 0) { EMIT(MIR_Binary.create(PPC_SRWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Binary.create(PPC_SUBFIC, I(zero), one.copyRO(), IC(value))); EMIT(MIR_Unary.create(PPC_ADDZE, def, I(t))); } else { EMIT(MIR_Binary.create(PPC_SRWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Binary.create(PPC_SUBFIC, I(zero), one.copyRO(), IC(value))); EMIT(MIR_Unary.create(PPC_ADDME, def, I(t))); } break; case OPT_ConditionOperand.GREATER_EQUAL: if (value == 0) { EMIT(MIR_Binary.create(PPC_SRWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Binary.create(PPC_XORI, def, I(t), IC(1))); } else if (value >= 0) { EMIT(MIR_Binary.create(PPC_SRAWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Binary.create(PPC_ADDIC, I(zero), one.copyRO(), IC(-value))); EMIT(MIR_Unary.create(PPC_ADDZE, def, I(t))); } else if (value != 0xFFFF8000) { t1 = regpool.getInteger(); EMIT(MIR_Unary.create(PPC_LDI, I(t1), IC(1))); EMIT(MIR_Binary.create(PPC_SRAWI, I(t), one, IC(BITS_IN_INT - 1))); EMIT(MIR_Binary.create(PPC_ADDIC, I(zero), one.copyRO(), IC(-value))); EMIT(MIR_Binary.create(PPC_ADDE, def, I(t), I(t1))); } else { EMIT(BooleanCmp.create(BOOLEAN_CMP_INT, def, one, two, cmp, null)); // value == 0xFFFF8000; code sequence below does not work --dave 7/25/02 break; /* t1 = regpool.getInteger(); EMIT(MIR_Unary.create(PPC_LDI, I(t1), IC(1))); EMIT(MIR_Binary.create(PPC_SRAWI, I(t), one, IC(31))); EMIT(MIR_Unary.create(PPC_LDIS, I(zero), IC(1))); EMIT(MIR_Binary.create(PPC_ADDC, I(zero), one.copyRO(), I(zero))); EMIT(MIR_Binary.create(PPC_ADDE, def, I(t), I(t1))); */ } break; case OPT_ConditionOperand.HIGHER: EMIT(BooleanCmp.create(BOOLEAN_CMP_INT, def, one, two, cmp, null)); // todo break; case OPT_ConditionOperand.LOWER: EMIT(BooleanCmp.create(BOOLEAN_CMP_INT, def, one, two, cmp, null)); // todo break; case OPT_ConditionOperand.HIGHER_EQUAL: EMIT(BooleanCmp.create(BOOLEAN_CMP_INT, def, one, two, cmp, null)); // todo break; case OPT_ConditionOperand.LOWER_EQUAL: EMIT(MIR_Unary.create(PPC_LDI, I(t), IC(-1))); EMIT(MIR_Binary.create(PPC_SUBFIC, I(zero), one, IC(value))); EMIT(MIR_Unary.create(PPC_SUBFZE, def, I(t))); break; default: EMIT(BooleanCmp.create(BOOLEAN_CMP_INT, def, one, two, cmp, null)); // todo } }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/e91a0c0d12128840b0bc19690813b65cca3ae137/OPT_BURS_Helpers.java/clean/rvm/src/vm/arch/powerPC/compilers/optimizing/ir/conversions/lir2mir/OPT_BURS_Helpers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 18993, 67, 39, 4566, 67, 3217, 67, 3445, 49, 12, 15620, 67, 3996, 10265, 1652, 16, 4766, 3639, 16456, 67, 3418, 10265, 9411, 16, 4766, 4202, 16456, 67, 3996, 10265, 1245, 16, 4766, 3639, 16456, 67, 1702, 6902, 10265, 2795, 13, 288, 565, 16456, 67, 3996, 268, 21, 16, 268, 273, 960, 6011, 18, 588, 4522, 5621, 565, 16456, 67, 3996, 3634, 273, 960, 6011, 18, 588, 18136, 3996, 694, 7675, 588, 7185, 5621, 565, 509, 460, 273, 2795, 18, 1132, 31, 565, 1620, 261, 9625, 18, 1132, 13, 288, 565, 648, 16456, 67, 3418, 10265, 18, 12853, 30, 1377, 309, 261, 1132, 422, 374, 13, 288, 3639, 512, 6068, 12, 7492, 54, 67, 15972, 18, 2640, 12, 52, 3513, 67, 39, 1784, 48, 62, 59, 16, 467, 12, 88, 3631, 1245, 10019, 4202, 289, 469, 288, 3639, 512, 6068, 12, 7492, 54, 67, 5905, 18, 2640, 12, 52, 3513, 67, 8362, 1653, 39, 16, 467, 12, 88, 3631, 1245, 16, 26899, 12, 1132, 3719, 1769, 3639, 512, 6068, 12, 7492, 54, 67, 15972, 18, 2640, 12, 52, 3513, 67, 39, 1784, 48, 62, 59, 16, 467, 12, 88, 3631, 467, 12, 88, 3719, 1769, 1377, 289, 1377, 512, 6068, 12, 7492, 54, 67, 5905, 18, 2640, 12, 52, 3513, 67, 10090, 23109, 16, 1652, 16, 467, 12, 88, 3631, 26899, 12, 4842, 67, 25171, 67, 706, 67, 3217, 3719, 1769, 1377, 898, 31, 565, 648, 16456, 67, 3418, 10265, 18, 4400, 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, 4750, 727, 918, 18993, 67, 39, 4566, 67, 3217, 67, 3445, 49, 12, 15620, 67, 3996, 10265, 1652, 16, 4766, 3639, 16456, 67, 3418, 10265, 9411, 16, 4766, 4202, 16456, 67, 3996, 10265, 1245, 16, 4766, 3639, 16456, 67, 1702, 6902, 10265, 2795, 13, 288, 565, 16456, 67, 3996, 268, 21, 16, 268, 273, 960, 6011, 18, 588, 4522, 5621, 565, 16456, 67, 3996, 3634, 273, 960, 6011, 18, 588, 18136, 3996, 694, 7675, 588, 7185, 5621, 565, 509, 460, 273, 2795, 18, 1132, 31, 565, 1620, 261, 9625, 18, 1132, 13, 288, 565, 648, 16456, 67, 3418, 10265, 18, 12853, 30, 1377, 309, 261, 1132, 422, 374, 13, 288, 3639, 512, 6068, 12, 7492, 54, 67, 15972, 2 ]
System.out.println("L: " + locations());
public Entity() { System.out.println("L: " + locations()); this.armor = new int[locations()]; this.internal = new int[locations()]; this.orig_armor = new int[locations()]; this.orig_internal = new int[locations()]; this.crits = new CriticalSlot[locations()][]; for (int i = 0; i < locations(); i++) { this.crits[i] = new CriticalSlot[getNumberOfCriticals(i)]; } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/47731bce34a59d645b193afd13d3a75977e989f0/Entity.java/clean/megamek/src/megamek/common/Entity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3887, 1435, 288, 9079, 333, 18, 4610, 280, 273, 394, 509, 63, 12352, 1435, 15533, 3639, 333, 18, 7236, 273, 394, 509, 63, 12352, 1435, 15533, 3639, 333, 18, 4949, 67, 4610, 280, 273, 394, 509, 63, 12352, 1435, 15533, 3639, 333, 18, 4949, 67, 7236, 273, 394, 509, 63, 12352, 1435, 15533, 3639, 333, 18, 27826, 87, 273, 394, 385, 15197, 8764, 63, 12352, 1435, 6362, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7838, 5621, 277, 27245, 288, 5411, 333, 18, 27826, 87, 63, 77, 65, 273, 394, 385, 15197, 8764, 63, 588, 9226, 39, 583, 335, 1031, 12, 77, 13, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3887, 1435, 288, 9079, 333, 18, 4610, 280, 273, 394, 509, 63, 12352, 1435, 15533, 3639, 333, 18, 7236, 273, 394, 509, 63, 12352, 1435, 15533, 3639, 333, 18, 4949, 67, 4610, 280, 273, 394, 509, 63, 12352, 1435, 15533, 3639, 333, 18, 4949, 67, 7236, 273, 394, 509, 63, 12352, 1435, 15533, 3639, 333, 18, 27826, 87, 273, 394, 385, 15197, 8764, 63, 12352, 1435, 6362, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7838, 5621, 277, 27245, 288, 5411, 333, 18, 27826, 87, 63, 77, 65, 273, 394, 385, 15197, 8764, 63, 588, 9226, 39, 583, 335, 1031, 12, 77, 13, 15533, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100 ]
if ( expr instanceof IScriptExpression )
if ( expr != null )
private static void testDependencyCycle( ExprManager exprManager ) throws DataException { List result = new ArrayList( ); Iterator it = exprManager.getColumnNames( ).iterator( ); while ( it.hasNext( ) ) { String name = it.next( ).toString( ); Node n = new Node( name ); IBaseExpression expr = exprManager.getExpr( name ); if ( expr instanceof IScriptExpression ) { String exprText = ( (IScriptExpression) expr ).getText( ); try { List l = ExpressionUtil.extractColumnExpressions( exprText ); for ( int j = 0; j < l.size( ); j++ ) { n.addChild( new Node( ( (IColumnBinding) l.get( j ) ).getResultSetColumnName( ) ) ); } } catch ( BirtException e ) { throw new DataException( e.getLocalizedMessage( ) ); } } result.add( n ); } Node[] source = new Node[result.size( )]; for ( int i = 0; i < source.length; i++ ) { source[i] = (Node) result.get( i ); } validateNodes( source ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/79ecfab1c5398513251acd61cd01338287bb902d/ExprManagerUtil.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ExprManagerUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 1842, 7787, 13279, 12, 8074, 1318, 3065, 1318, 262, 1216, 1910, 503, 202, 95, 202, 202, 682, 563, 273, 394, 2407, 12, 11272, 202, 202, 3198, 518, 273, 3065, 1318, 18, 588, 20718, 12, 262, 18, 9838, 12, 11272, 202, 202, 17523, 261, 518, 18, 5332, 2134, 12, 262, 262, 202, 202, 95, 1082, 202, 780, 508, 273, 518, 18, 4285, 12, 262, 18, 10492, 12, 11272, 1082, 202, 907, 290, 273, 394, 2029, 12, 508, 11272, 1082, 202, 45, 2171, 2300, 3065, 273, 3065, 1318, 18, 588, 4742, 12, 508, 11272, 1082, 202, 430, 261, 3065, 1276, 467, 3651, 2300, 262, 1082, 202, 95, 9506, 202, 780, 3065, 1528, 273, 261, 261, 45, 3651, 2300, 13, 3065, 262, 18, 588, 1528, 12, 11272, 9506, 202, 698, 9506, 202, 95, 6862, 202, 682, 328, 273, 5371, 1304, 18, 8004, 1494, 8927, 12, 3065, 1528, 11272, 6862, 202, 1884, 261, 509, 525, 273, 374, 31, 525, 411, 328, 18, 1467, 12, 11272, 525, 9904, 262, 6862, 202, 95, 25083, 202, 82, 18, 1289, 1763, 12, 394, 2029, 12, 261, 261, 45, 1494, 5250, 13, 328, 18, 588, 12, 525, 262, 262, 18, 588, 13198, 8516, 12, 262, 262, 11272, 6862, 202, 97, 9506, 202, 97, 9506, 202, 14683, 261, 605, 2714, 503, 425, 262, 9506, 202, 95, 6862, 202, 12849, 394, 1910, 503, 12, 425, 18, 588, 2042, 1235, 1079, 12, 262, 11272, 9506, 202, 97, 1082, 202, 97, 1082, 202, 2088, 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, 1152, 760, 918, 1842, 7787, 13279, 12, 8074, 1318, 3065, 1318, 262, 1216, 1910, 503, 202, 95, 202, 202, 682, 563, 273, 394, 2407, 12, 11272, 202, 202, 3198, 518, 273, 3065, 1318, 18, 588, 20718, 12, 262, 18, 9838, 12, 11272, 202, 202, 17523, 261, 518, 18, 5332, 2134, 12, 262, 262, 202, 202, 95, 1082, 202, 780, 508, 273, 518, 18, 4285, 12, 262, 18, 10492, 12, 11272, 1082, 202, 907, 290, 273, 394, 2029, 12, 508, 11272, 1082, 202, 45, 2171, 2300, 3065, 273, 3065, 1318, 18, 588, 4742, 12, 508, 11272, 1082, 202, 430, 261, 3065, 1276, 467, 3651, 2300, 262, 1082, 202, 95, 9506, 202, 780, 3065, 1528, 273, 261, 261, 45, 2 ]
public Rectangle getTabBounds(JTabbedPane pane, int index) { return null; }
public Rectangle getTabBounds(JTabbedPane pane, int i) { return rects[i]; }
public Rectangle getTabBounds(JTabbedPane pane, int index) { return null; }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/14511e3ad21013e92c6399b2bd2ec09a8263e33a/BasicTabbedPaneUI.java/buggy/libjava/javax/swing/plaf/basic/BasicTabbedPaneUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13264, 3181, 378, 5694, 12, 46, 5661, 2992, 8485, 13618, 16, 509, 770, 13, 565, 288, 202, 2463, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 13264, 3181, 378, 5694, 12, 46, 5661, 2992, 8485, 13618, 16, 509, 770, 13, 565, 288, 202, 2463, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for(int i=0;i<messages.length;i++) { int thisLength = (messageData[i].length + 2);
for(int i=0;i<=messages.length;i++) { int thisLength; if(i == messages.length) thisLength = 0; else thisLength = (messageData[i].length + 2);
public void processOutgoing(MessageItem[] messages, PeerNode pn, boolean neverWaitForPacketNumber) throws NotConnectedException, WouldBlockException { byte[][] messageData = new byte[messages.length][]; int length = 1; int callbacksCount = 0; for(int i=0;i<messageData.length;i++) { Message m = messages[i].msg; if(messages[i].cb != null) callbacksCount++; messageData[i] = m.encodeToPacket(this, pn); Logger.minor(this, "Sending: "+m+" length "+messageData[i].length+" cb "+messages[i].cb); length += (messageData[i].length + 2); } AsyncMessageCallback callbacks[] = new AsyncMessageCallback[callbacksCount]; int x=0; for(int i=0;i<messages.length;i++) { if(messages[i].cb != null) callbacks[x++] = messages[i].cb; } if(length < node.usm.getMaxPacketSize() && messages.length < 256) { innerProcessOutgoing(messageData, 0, messageData.length, length, pn, neverWaitForPacketNumber, callbacks); } else { length = 1; int count = 0; int lastIndex = 0; for(int i=0;i<messages.length;i++) { int thisLength = (messageData[i].length + 2); int newLength = length + thisLength; if(thisLength > node.usm.getMaxPacketSize()) { Logger.error(this, "Message exceeds packet size: "+messages[i]); // Send the last lot, then send this } count++; if(newLength > node.usm.getMaxPacketSize() || count > 255) { innerProcessOutgoing(messageData, lastIndex, i-lastIndex, length, pn, neverWaitForPacketNumber, callbacks); lastIndex = i; length = (messageData[i].length + 2); count = 1; } else length = newLength; } } }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/827a37e7d2a17381e172667d5aa3a7f9c7ca617e/FNPPacketMangler.java/buggy/src/freenet/node/FNPPacketMangler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 24866, 12, 1079, 1180, 8526, 2743, 16, 10669, 907, 11059, 16, 1250, 5903, 29321, 6667, 1854, 13, 1216, 31541, 503, 16, 678, 1006, 1768, 503, 288, 3639, 1160, 63, 6362, 65, 883, 751, 273, 394, 1160, 63, 6833, 18, 2469, 6362, 15533, 3639, 509, 769, 273, 404, 31, 3639, 509, 6689, 1380, 273, 374, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 2150, 751, 18, 2469, 31, 77, 27245, 288, 5411, 2350, 312, 273, 2743, 63, 77, 8009, 3576, 31, 5411, 309, 12, 6833, 63, 77, 8009, 7358, 480, 446, 13, 6689, 1380, 9904, 31, 5411, 883, 751, 63, 77, 65, 273, 312, 18, 3015, 774, 6667, 12, 2211, 16, 11059, 1769, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 30, 13773, 81, 9078, 769, 13773, 2150, 751, 63, 77, 8009, 2469, 9078, 2875, 13773, 6833, 63, 77, 8009, 7358, 1769, 5411, 769, 1011, 261, 2150, 751, 63, 77, 8009, 2469, 397, 576, 1769, 3639, 289, 3639, 9672, 1079, 2428, 6689, 8526, 273, 394, 9672, 1079, 2428, 63, 13316, 1380, 15533, 3639, 509, 619, 33, 20, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 6833, 18, 2469, 31, 77, 27245, 288, 5411, 309, 12, 6833, 63, 77, 8009, 7358, 480, 446, 13, 7734, 6689, 63, 92, 9904, 65, 273, 2743, 63, 77, 8009, 7358, 31, 3639, 289, 7734, 309, 12, 2469, 411, 756, 18, 407, 81, 18, 588, 2747, 6667, 1225, 1435, 597, 7734, 2743, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 24866, 12, 1079, 1180, 8526, 2743, 16, 10669, 907, 11059, 16, 1250, 5903, 29321, 6667, 1854, 13, 1216, 31541, 503, 16, 678, 1006, 1768, 503, 288, 3639, 1160, 63, 6362, 65, 883, 751, 273, 394, 1160, 63, 6833, 18, 2469, 6362, 15533, 3639, 509, 769, 273, 404, 31, 3639, 509, 6689, 1380, 273, 374, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 2150, 751, 18, 2469, 31, 77, 27245, 288, 5411, 2350, 312, 273, 2743, 63, 77, 8009, 3576, 31, 5411, 309, 12, 6833, 63, 77, 8009, 7358, 480, 446, 13, 6689, 1380, 9904, 31, 5411, 883, 751, 63, 77, 65, 273, 312, 18, 3015, 774, 6667, 12, 2211, 16, 11059, 1769, 2 ]
StringBuffer s = new StringBuffer(); for (int i = 0; i < length; i++) { String sHex = Integer.toHexString((int) (data[i] & 0xFF)); s.append(((sHex.length() == 1) ? "0" : "") + sHex+" "); s.append((i % 20 == 19) ? "\n" : "");
StringBuffer s = new StringBuffer(); for (int i = 0; i < length; i++) { String sHex = Integer.toHexString((int) (data[i] & 0xFF)); s.append(((sHex.length() == 1) ? "0" : "") + sHex+" "); s.append((i % 20 == 19) ? "\n" : ""); } return s.toString();
String hexDump(byte []data,int length){ StringBuffer s = new StringBuffer(); for (int i = 0; i < length; i++) { String sHex = Integer.toHexString((int) (data[i] & 0xFF)); s.append(((sHex.length() == 1) ? "0" : "") + sHex+" "); s.append((i % 20 == 19) ? "\n" : ""); } return s.toString(); }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/847e223e98486fe9efe56a967f862a5b317c4f98/MidiMonitor.java/clean/JSynthLib/core/MidiMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 514, 3827, 10628, 12, 7229, 5378, 892, 16, 474, 769, 15329, 565, 6674, 272, 273, 394, 6674, 5621, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 1377, 514, 272, 7037, 273, 2144, 18, 869, 14866, 12443, 474, 13, 261, 892, 63, 77, 65, 473, 374, 6356, 10019, 1377, 272, 18, 6923, 12443, 12, 87, 7037, 18, 2469, 1435, 422, 404, 13, 692, 315, 20, 6, 294, 1408, 13, 397, 272, 7037, 9078, 315, 1769, 3639, 272, 18, 6923, 12443, 77, 738, 4200, 422, 5342, 13, 692, 1548, 82, 6, 294, 1408, 1769, 565, 289, 225, 327, 272, 18, 10492, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 514, 3827, 10628, 12, 7229, 5378, 892, 16, 474, 769, 15329, 565, 6674, 272, 273, 394, 6674, 5621, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 1377, 514, 272, 7037, 273, 2144, 18, 869, 14866, 12443, 474, 13, 261, 892, 63, 77, 65, 473, 374, 6356, 10019, 1377, 272, 18, 6923, 12443, 12, 87, 7037, 18, 2469, 1435, 422, 404, 13, 692, 315, 20, 6, 294, 1408, 13, 397, 272, 7037, 9078, 315, 1769, 3639, 272, 18, 6923, 12443, 77, 738, 4200, 422, 5342, 13, 692, 1548, 82, 6, 294, 1408, 1769, 565, 289, 225, 327, 272, 18, 10492, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Symphonie() throws DataManagerException, IOException { // Data source manager = SQLDataManager.getInstance(); // Language tools defaultLanguage = Language.FRENCH.getMap(); builder = new ComponentBuilder(defaultLanguage); // Main frame frame = new JFrame(builder.getValue(FRAME_TITLE)); // Exception dialog errDisplay = new ExceptionDisplayDialog(frame, builder); // Wizards importW = getImportWizard(); exportW = getExportWizard(); // Content pane JMenu mode = getModeMenu(); JPanel content = getContentPane(); JPanel welcome = getWelcomePagePanel(content, mode); frame.setContentPane((welcome != null) ? welcome : content); // Menu bar frame.setJMenuBar(getMenubar(getFileMenu(), getWindowMenu(mode, getLangMenu()), getFormatMenu(), getInsertMenu(), getAdminMenu())); // Listen changes in builder for frame title builder.addChangeListener(content, new ChangeListener() { public void stateChanged(ChangeEvent e) { frame.setTitle(builder.getValue(FRAME_TITLE)); } }); }
12633 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12633/1bc787156ed79daad2f1612c3ecc7eb5d3b06938/Symphonie.java/buggy/dupratcated/src/fr/umlv/symphonie/view/Symphonie.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10042, 844, 265, 1385, 1435, 1216, 1910, 28020, 16, 1860, 288, 565, 368, 1910, 1084, 565, 3301, 273, 3063, 751, 1318, 18, 588, 1442, 5621, 565, 368, 9889, 8513, 565, 805, 3779, 273, 9889, 18, 42, 24296, 1792, 18, 588, 863, 5621, 565, 2089, 273, 394, 5435, 1263, 12, 1886, 3779, 1769, 565, 368, 12740, 2623, 565, 2623, 273, 394, 804, 3219, 12, 9574, 18, 24805, 12, 15072, 67, 14123, 10019, 3639, 368, 1185, 6176, 565, 393, 4236, 273, 394, 1185, 4236, 6353, 12, 3789, 16, 2089, 1769, 3639, 368, 678, 13412, 87, 565, 1930, 59, 273, 336, 5010, 27130, 5621, 565, 3359, 59, 273, 29566, 27130, 5621, 3639, 368, 3697, 13618, 565, 804, 4599, 1965, 273, 24588, 4599, 5621, 565, 24048, 913, 273, 5154, 8485, 5621, 565, 24048, 28329, 273, 13876, 16312, 1964, 5537, 12, 1745, 16, 1965, 1769, 565, 2623, 18, 542, 1350, 8485, 12443, 91, 16312, 480, 446, 13, 692, 28329, 294, 913, 1769, 565, 368, 9809, 4653, 565, 2623, 18, 542, 46, 4599, 5190, 12, 588, 49, 275, 373, 297, 12, 29925, 4599, 9334, 26156, 4599, 12, 3188, 16, 3639, 24930, 4599, 1435, 3631, 10959, 4599, 9334, 336, 4600, 4599, 9334, 22501, 4599, 1435, 10019, 565, 368, 13426, 3478, 316, 2089, 364, 2623, 2077, 565, 2089, 18, 1289, 15744, 12, 1745, 16, 394, 7576, 2223, 1435, 288, 1377, 1071, 918, 919, 5033, 12, 20930, 425, 13, 288, 3639, 2623, 18, 542, 4247, 12, 9574, 18, 24805, 12, 15072, 67, 14123, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10042, 844, 265, 1385, 1435, 1216, 1910, 28020, 16, 1860, 288, 565, 368, 1910, 1084, 565, 3301, 273, 3063, 751, 1318, 18, 588, 1442, 5621, 565, 368, 9889, 8513, 565, 805, 3779, 273, 9889, 18, 42, 24296, 1792, 18, 588, 863, 5621, 565, 2089, 273, 394, 5435, 1263, 12, 1886, 3779, 1769, 565, 368, 12740, 2623, 565, 2623, 273, 394, 804, 3219, 12, 9574, 18, 24805, 12, 15072, 67, 14123, 10019, 3639, 368, 1185, 6176, 565, 393, 4236, 273, 394, 1185, 4236, 6353, 12, 3789, 16, 2089, 1769, 3639, 368, 678, 13412, 87, 565, 1930, 59, 273, 336, 5010, 27130, 5621, 565, 3359, 59, 273, 29566, 27130, 5621, 3639, 368, 3697, 13618, 565, 804, 4599, 1965, 273, 2 ]
if(m_isCData)
if (m_isCData)
public void characters (char ch[], int start, int length) throws SAXException { synchronized (getSynchObject()) { if(XMLCharacterRecognizer.isWhiteSpace(ch, start, length) && getShouldStripWhitespace()) return; if(m_isCData) m_sourceTreeHandler.cdata(ch, start, length); else m_sourceTreeHandler.characters(ch, start, length); } notifyWaiters(); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/0e2298c0c460e281c6e54e92ac95421ec5eca2e4/SourceTreeHandler.java/buggy/src/org/apache/xalan/stree/SourceTreeHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3949, 261, 3001, 462, 63, 6487, 509, 787, 16, 509, 769, 13, 565, 1216, 14366, 225, 288, 565, 3852, 261, 588, 55, 2515, 921, 10756, 565, 288, 1377, 309, 12, 4201, 7069, 28131, 18, 291, 23108, 12, 343, 16, 787, 16, 769, 13, 597, 7932, 1006, 16632, 9431, 10756, 3639, 327, 31, 5411, 309, 261, 81, 67, 291, 39, 751, 13, 3639, 312, 67, 3168, 2471, 1503, 18, 71, 892, 12, 343, 16, 787, 16, 769, 1769, 1377, 469, 3639, 312, 67, 3168, 2471, 1503, 18, 20558, 12, 343, 16, 787, 16, 769, 1769, 565, 289, 565, 5066, 5480, 414, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3949, 261, 3001, 462, 63, 6487, 509, 787, 16, 509, 769, 13, 565, 1216, 14366, 225, 288, 565, 3852, 261, 588, 55, 2515, 921, 10756, 565, 288, 1377, 309, 12, 4201, 7069, 28131, 18, 291, 23108, 12, 343, 16, 787, 16, 769, 13, 597, 7932, 1006, 16632, 9431, 10756, 3639, 327, 31, 5411, 309, 261, 81, 67, 291, 39, 751, 13, 3639, 312, 67, 3168, 2471, 1503, 18, 71, 892, 12, 343, 16, 787, 16, 769, 1769, 1377, 469, 3639, 312, 67, 3168, 2471, 1503, 18, 20558, 12, 343, 16, 787, 16, 769, 1769, 565, 289, 565, 5066, 5480, 414, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
javaException = new JavaScriptException(value);
int sourceLine = getShort(iCode, pc + 1); javaException = new JavaScriptException(value, idata.itsSourceFile, sourceLine);
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { return execWithNewDomain(cx, scope, thisObj, args, argsDbl, argShift, argCount, fnOrScript, idata); } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Context.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!f.itsUseDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { scope = ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Context.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } String savedSourceFile = cx.interpreterSourceFile; cx.interpreterSourceFile = idata.itsSourceFile; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; String[] strings = idata.itsStringTable; int pc = 0; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; Loop: for (;;) { try { switch (iCode[pc] & 0xff) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal withnexceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Context.codeBug(); int pcNew = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof WrappedException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcNew >= 0) { // Has catch block doCatch = true; } } if (pcNew < 0) { pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcNew < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Context.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } // make stack to contain single exception object stackTop = STACK_SHFT; if (doCatch) { stack[stackTop] = ScriptRuntime.getCatchObject(cx, scope, javaException); } else { // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // Notify instruction observer if necessary // and point pc and pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = pcNew; continue Loop; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; javaException = new JavaScriptException(value); exceptionPC = pc; if (instructionThreshold != 0) { instructionCount += pc + 1 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getJavaCatchPC(iCode); continue Loop; } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue Loop; } pc += 2; break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue Loop; } pc += 2; break; } case Token.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue Loop; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue Loop; case Icode_RETSUB : { int slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } int newPC; Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc; newPC = getJavaCatchPC(iCode); } else { // Normal return from GOSUB newPC = (int)sDbl[LOCAL_SHFT + slot]; } pcPrevBranch = pc = newPC; continue Loop; } case Token.POP : stack[stackTop] = null; stackTop--; break; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; break; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Icode_END: break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; break; } case Token.BINDNAME : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; } case Token.GETBASE : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; } case Token.SETNAME : { String name = strings[getIndex(iCode, pc + 1)]; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; // what about class cast exception here for lhs? Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, name); pc += 2; break; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); break; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case Icode_PROPINC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; } case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; } case Icode_ELEMINC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; } case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; } case Token.GETTHIS : { Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.getThis(lhs); break; } case Token.NEWTEMP : { int slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; } case Token.USETEMP : { int slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int callType = iCode[pc + 1] & 0xFF; boolean isNew = (iCode[pc + 2] != 0); int sourceLine = getShort(iCode, pc + 3); int count = getIndex(iCode, pc + 5); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); pc += 6; instructionCount = cx.instructionCount; break; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; int count = getIndex(iCode, pc + 3); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc + 1)]; if (lhs == null) lhs = undefined; } throw NativeGlobal.typeError1 ("msg.isnt.function", ScriptRuntime.toString(lhs), calleeScope); } pc += 4; instructionCount = cx.instructionCount; break; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 3); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc + 1)]; if (lhs == null) lhs = undefined; } throw NativeGlobal.typeError1 ("msg.isnt.function", ScriptRuntime.toString(lhs), scope); } pc += 4; instructionCount = cx.instructionCount; break; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; } case Icode_TYPEOFNAME : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; } case Token.STRING : stack[++stackTop] = strings[getIndex(iCode, pc + 1)]; pc += 2; break; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc + 1)]; pc += 2; break; case Token.NAME : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.name(scope, name); pc += 2; break; } case Icode_NAMEINC : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.postIncrement(scope, name); pc += 2; break; } case Icode_NAMEDEC : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.postDecrement(scope, name); pc += 2; break; } case Token.SETVAR : { int slot = (iCode[++pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } break; } case Token.GETVAR : { int slot = (iCode[++pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } break; } case Icode_VARINC : { int slot = (iCode[++pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; val = doubleWrap(ScriptRuntime.toNumber(val) + 1.0); activationPut(fnOrScript, scope, slot, val); } break; } case Icode_VARDEC : { int slot = (iCode[++pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; val = doubleWrap(ScriptRuntime.toNumber(val) - 1.0); activationPut(fnOrScript, scope, slot, val); } break; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case Token.NULL : stack[++stackTop] = null; break; case Token.THIS : stack[++stackTop] = thisObj; break; case Token.THISFN : stack[++stackTop] = fnOrScript; break; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; break; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; break; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; break; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; break; case Token.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case Token.ENUMINIT : { int slot = (iCode[++pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; } case Token.ENUMNEXT : { int slot = (iCode[++pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime.nextEnum(val); break; } case Icode_GETPROTO : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; } case Icode_GETPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; } case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; } case Icode_SETPROTO : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; } case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; } case Icode_SCOPE : stack[++stackTop] = scope; break; case Icode_CLOSURE : { int i = getIndex(iCode, pc + 1); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; break; } case Token.REGEXP : { int i = getIndex(iCode, pc + 1); stack[++stackTop] = idata.itsRegExpLiterals[i]; pc += 2; break; } case Icode_LINE : { int line = getShort(iCode, pc + 1); cx.interpreterLine = line; if (debuggerFrame != null) { debuggerFrame.onLineChange(cx, line); } pc += 2; break; } default : { dumpICode(idata); throw new RuntimeException ("Unknown icode : "+(iCode[pc] & 0xff)+" @ pc : "+pc); } // end of interpreter switch } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } javaException = ex; exceptionPC = pc; pc = getJavaCatchPC(iCode); continue Loop; } } cx.interpreterSourceFile = savedSourceFile; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/965090841fd2987f6eeb940daa588522a6e3b6ff/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 327, 1196, 1190, 1908, 3748, 12, 71, 92, 16, 2146, 16, 15261, 16, 19694, 833, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 16, 19694, 2295, 1162, 3651, 16, 612, 396, 1769, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 67, 2664, 4464, 397, 943, 5555, 31, 3639, 727, 509, 11464, 67, 2664, 4464, 273, 15234, 67, 2664, 4464, 397, 612, 396, 18, 1282, 2747, 1333, 1031, 31, 759, 2110, 63, 7716, 67, 2664, 4464, 1648, 277, 411, 15234, 67, 2664, 4464, 14542, 3152, 759, 2110, 63, 14922, 67, 2664, 4464, 1648, 277, 411, 4235, 61, 67, 21971, 67, 2664, 4464, 14542, 1399, 364, 394, 5814, 19, 407, 278, 30752, 759, 2110, 63, 21971, 67, 2664, 4464, 1648, 277, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 327, 1196, 1190, 1908, 3748, 12, 71, 92, 16, 2146, 16, 15261, 16, 19694, 833, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 16, 19694, 2295, 1162, 3651, 16, 612, 396, 1769, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 2 ]
if (! (o instanceof X10ReferenceType_c)) return false;
if (! (o instanceof X10ArrayType_c)) return false;
public boolean equalsImpl(TypeObject o) { // Report.report(3,"X10ParsedClassType_c: equals |" + this + "| and |" + o+"|"); if (o == this) return true; if (! (o instanceof X10ReferenceType_c)) return false; X10ArrayType_c other = (X10ArrayType_c) o; if ( baseType !=other.baseType) return false; if (depClause == null && other.depClause != null) return false; if (depClause != null && ! depClause.equals(other.depClause)) return false; if (typeParameters == null) return other.typeParameters == null; if (typeParameters.isEmpty()) return other.typeParameters == null || other.typeParameters.isEmpty(); if (typeParameters.size() != other.typeParameters.size()) return false; Iterator it1 = typeParameters.iterator(); Iterator it2 = other.typeParameters.iterator(); while (it1.hasNext()) { Type t1 = (Type) it1.next(); Type t2 = (Type) it2.next(); if (!t1.equals(t2)) return false; } return true; }
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/e4dadeab8af87a301f07e1f4870c65c252fb72eb/X10ArrayType_c.java/clean/x10.compiler/src/polyglot/ext/x10/types/X10ArrayType_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 2828, 12, 559, 921, 320, 13, 288, 3639, 368, 565, 8706, 18, 6006, 12, 23, 10837, 60, 2163, 11257, 18328, 67, 71, 30, 1606, 571, 6, 397, 333, 397, 11747, 471, 571, 6, 397, 320, 9078, 96, 8863, 3639, 309, 261, 83, 422, 333, 13, 327, 638, 31, 3639, 309, 16051, 261, 83, 1276, 1139, 2163, 27182, 67, 71, 3719, 327, 629, 31, 3639, 1139, 2163, 27182, 67, 71, 1308, 273, 261, 60, 2163, 27182, 67, 71, 13, 320, 31, 3639, 309, 261, 23937, 480, 3011, 18, 1969, 559, 13, 327, 629, 31, 7734, 309, 261, 15037, 7044, 422, 446, 597, 1308, 18, 15037, 7044, 480, 446, 13, 327, 629, 31, 3639, 309, 261, 15037, 7044, 480, 446, 597, 401, 5993, 7044, 18, 14963, 12, 3011, 18, 15037, 7044, 3719, 327, 629, 31, 7734, 309, 261, 20490, 422, 446, 13, 327, 1308, 18, 20490, 422, 446, 31, 3639, 309, 261, 20490, 18, 291, 1921, 10756, 327, 1308, 18, 20490, 422, 446, 747, 1308, 18, 20490, 18, 291, 1921, 5621, 3639, 309, 261, 20490, 18, 1467, 1435, 480, 1308, 18, 20490, 18, 1467, 10756, 327, 629, 31, 3639, 4498, 518, 21, 273, 618, 2402, 18, 9838, 5621, 3639, 4498, 518, 22, 273, 1308, 18, 20490, 18, 9838, 5621, 3639, 1323, 261, 305, 21, 18, 5332, 2134, 10756, 288, 5411, 1412, 268, 21, 273, 261, 559, 13, 518, 21, 18, 4285, 5621, 5411, 1412, 268, 22, 273, 261, 559, 13, 518, 22, 18, 4285, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 2828, 12, 559, 921, 320, 13, 288, 3639, 368, 565, 8706, 18, 6006, 12, 23, 10837, 60, 2163, 11257, 18328, 67, 71, 30, 1606, 571, 6, 397, 333, 397, 11747, 471, 571, 6, 397, 320, 9078, 96, 8863, 3639, 309, 261, 83, 422, 333, 13, 327, 638, 31, 3639, 309, 16051, 261, 83, 1276, 1139, 2163, 27182, 67, 71, 3719, 327, 629, 31, 3639, 1139, 2163, 27182, 67, 71, 1308, 273, 261, 60, 2163, 27182, 67, 71, 13, 320, 31, 3639, 309, 261, 23937, 480, 3011, 18, 1969, 559, 13, 327, 629, 31, 7734, 309, 261, 15037, 7044, 422, 446, 597, 1308, 18, 15037, 7044, 480, 446, 13, 327, 629, 31, 3639, 309, 261, 15037, 2 ]
String sig = c.getName() + '.' + functionName + '(' +
String sig = c.getName() + '.' + getFunctionName() + '(' +
public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { // Find a method that matches the types given. if (methods.length == 0) { throw new RuntimeException("No methods defined for call"); } int index = findFunction(cx, methods, args); if (index < 0) { Class c = methods[0].method().getDeclaringClass(); String sig = c.getName() + '.' + functionName + '(' + scriptSignature(args) + ')'; throw Context.reportRuntimeError1("msg.java.no_such_method", sig); } MemberBox meth = methods[index]; Class[] argTypes = meth.argTypes; // First, we marshall the args. Object[] origArgs = args; for (int i = 0; i < args.length; i++) { Object arg = args[i]; Object coerced = Context.jsToJava(arg, argTypes[i]); if (coerced != arg) { if (origArgs == args) { args = (Object[])args.clone(); } args[i] = coerced; } } Object javaObject; if (meth.isStatic()) { javaObject = null; // don't need an object } else { Scriptable o = thisObj; Class c = meth.getDeclaringClass(); for (;;) { if (o == null) { throw Context.reportRuntimeError3( "msg.nonjava.method", functionName, ScriptRuntime.toString(thisObj), c.getName()); } if (o instanceof Wrapper) { javaObject = ((Wrapper)o).unwrap(); if (c.isInstance(javaObject)) { break; } } o = o.getPrototype(); } } if (debug) { printDebug("Calling ", meth, args); } Object retval = meth.invoke(javaObject, args); Class staticType = meth.method().getReturnType(); if (debug) { Class actualType = (retval == null) ? null : retval.getClass(); System.err.println(" ----- Returned " + retval + " actual = " + actualType + " expect = " + staticType); } Object wrapped = cx.getWrapFactory().wrap(cx, scope, retval, staticType); if (debug) { Class actualType = (wrapped == null) ? null : wrapped.getClass(); System.err.println(" ----- Wrapped as " + wrapped + " class = " + actualType); } if (wrapped == Undefined.instance) return wrapped; if (wrapped == null && staticType == Void.TYPE) return Undefined.instance; return wrapped; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/271fb8a31366d1ed2d5e5b21b321497a48f75694/NativeJavaMethod.java/clean/src/org/mozilla/javascript/NativeJavaMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 565, 288, 3639, 368, 4163, 279, 707, 716, 1885, 326, 1953, 864, 18, 3639, 309, 261, 5163, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 3235, 2932, 2279, 2590, 2553, 364, 745, 8863, 3639, 289, 3639, 509, 770, 273, 1104, 2083, 12, 71, 92, 16, 2590, 16, 833, 1769, 3639, 309, 261, 1615, 411, 374, 13, 288, 5411, 1659, 276, 273, 2590, 63, 20, 8009, 2039, 7675, 588, 3456, 14682, 5621, 5411, 514, 3553, 273, 276, 18, 17994, 1435, 397, 2611, 397, 18697, 461, 1435, 397, 7321, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 5777, 31, 5411, 604, 1772, 18, 6006, 5576, 668, 21, 2932, 3576, 18, 6290, 18, 2135, 67, 87, 2648, 67, 2039, 3113, 3553, 1769, 3639, 289, 3639, 8596, 3514, 7917, 273, 2590, 63, 1615, 15533, 3639, 1659, 8526, 30973, 273, 7917, 18, 3175, 2016, 31, 3639, 368, 5783, 16, 732, 1833, 326, 833, 18, 3639, 1033, 8526, 1647, 2615, 273, 833, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 1033, 1501, 273, 833, 63, 77, 15533, 5411, 1033, 12270, 72, 273, 1772, 18, 2924, 774, 5852, 12, 3175, 16, 30973, 63, 77, 19226, 5411, 309, 261, 2894, 2765, 72, 480, 1501, 13, 288, 7734, 309, 261, 4949, 2615, 422, 833, 13, 288, 10792, 833, 273, 261, 921, 63, 5717, 1968, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 565, 288, 3639, 368, 4163, 279, 707, 716, 1885, 326, 1953, 864, 18, 3639, 309, 261, 5163, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 3235, 2932, 2279, 2590, 2553, 364, 745, 8863, 3639, 289, 3639, 509, 770, 273, 1104, 2083, 12, 71, 92, 16, 2590, 16, 833, 1769, 3639, 309, 261, 1615, 411, 374, 13, 288, 5411, 1659, 276, 273, 2590, 63, 20, 8009, 2039, 7675, 588, 3456, 14682, 5621, 5411, 514, 3553, 273, 276, 18, 17994, 1435, 397, 2611, 397, 18697, 461, 1435, 397, 7321, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 5777, 31, 5411, 604, 2 ]
return name == null ? "lambda" : Compilation.mangleName(name);
return name == null ? "lambda" : Compilation.mangleName(name, 0);
public String getJavaName () { String name = getName(); return name == null ? "lambda" : Compilation.mangleName(name); }
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/ae2ea5515a6e96d857e7b3a4d43f854aa0611ada/ModuleExp.java/buggy/gnu/expr/ModuleExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 18911, 461, 1832, 225, 288, 565, 514, 508, 273, 1723, 5621, 565, 327, 508, 422, 446, 692, 315, 14661, 6, 294, 22416, 18, 81, 4341, 461, 12, 529, 16, 374, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 18911, 461, 1832, 225, 288, 565, 514, 508, 273, 1723, 5621, 565, 327, 508, 422, 446, 692, 315, 14661, 6, 294, 22416, 18, 81, 4341, 461, 12, 529, 16, 374, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
retval = executor.executeCommand (args_arr, output);
retval = executor.executeCommand(args_arr, output);
public CompileResult checkCompiler (String compiler, ArrayList arguments) { int retval = 0; FileExecutor executor = new FileExecutor (); String[] output = new String[2]; Debug.trace ("checking whether \"" + compiler + " -help\" works"); { String[] args = { compiler, "-help" }; retval = executor.executeCommand (args, output); if (retval != 0) { CompileResult result = new CompileResult (this.langpack.getString ("CompilePanel.error.compilernotfound"), args, output[0], output[1]); this.listener.handleCompileError (result); if (! result.isContinue ()) return result; } } Debug.trace ("checking whether \"" + compiler + " -help +arguments\" works"); // used to collect the arguments for executing the compiler LinkedList args = new LinkedList(arguments); // add -help argument to prevent the compiler from doing anything args.add (0, "-help"); // add compiler in front of arguments args.add (0, compiler); // construct classpath argument for compiler // - collect all classpaths StringBuffer classpath_sb = new StringBuffer(); Iterator cp_it = this.classpath.iterator(); while (cp_it.hasNext ()) { String cp = (String)cp_it.next(); if (classpath_sb.length() > 0) classpath_sb.append (File.pathSeparatorChar); classpath_sb.append (new File (cp).getAbsolutePath()); } String classpath_str = classpath_sb.toString (); // - add classpath argument to command line if (classpath_str.length() > 0) { args.add ("-classpath"); args.add (classpath_str); } String[] args_arr = (String[])args.toArray(output); retval = executor.executeCommand (args_arr, output); if (retval != 0) { CompileResult result = new CompileResult (this.langpack.getString ("CompilePanel.error.invalidarguments"), args_arr, output[0], output[1]); this.listener.handleCompileError (result); if (! result.isContinue ()) return result; } return new CompileResult(); }
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/CompileWorker.java/buggy/src/lib/com/izforge/izpack/installer/CompileWorker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16143, 1253, 866, 9213, 261, 780, 5274, 16, 2407, 1775, 13, 565, 288, 1377, 509, 5221, 273, 374, 31, 1377, 1387, 6325, 6601, 273, 394, 1387, 6325, 261, 1769, 1377, 514, 8526, 876, 273, 394, 514, 63, 22, 15533, 1377, 4015, 18, 5129, 7566, 24609, 2856, 11843, 397, 5274, 397, 315, 300, 5201, 2412, 6330, 8863, 1377, 288, 3639, 514, 8526, 833, 273, 288, 5274, 16, 3701, 5201, 6, 289, 31, 3639, 5221, 273, 6601, 18, 8837, 2189, 261, 1968, 16, 876, 1769, 3639, 309, 261, 18341, 480, 374, 13, 3639, 288, 1850, 16143, 1253, 563, 273, 394, 16143, 1253, 261, 2211, 18, 4936, 2920, 18, 588, 780, 7566, 9937, 5537, 18, 1636, 18, 9576, 902, 7015, 6, 3631, 833, 16, 876, 63, 20, 6487, 876, 63, 21, 19226, 1850, 333, 18, 12757, 18, 4110, 9937, 668, 261, 2088, 1769, 1850, 309, 16051, 563, 18, 291, 12378, 1832, 13, 5411, 327, 563, 31, 3639, 289, 1377, 289, 1377, 4015, 18, 5129, 7566, 24609, 2856, 11843, 397, 5274, 397, 315, 300, 5201, 397, 7099, 2412, 6330, 8863, 1377, 368, 1399, 358, 3274, 326, 1775, 364, 11274, 326, 5274, 1377, 10688, 833, 273, 394, 10688, 12, 7099, 1769, 1377, 368, 527, 300, 5201, 1237, 358, 5309, 326, 5274, 628, 9957, 6967, 1377, 833, 18, 1289, 261, 20, 16, 3701, 5201, 8863, 1377, 368, 527, 5274, 316, 6641, 434, 1775, 1377, 833, 18, 1289, 261, 20, 16, 5274, 1769, 1377, 368, 4872, 10006, 1237, 364, 5274, 1377, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16143, 1253, 866, 9213, 261, 780, 5274, 16, 2407, 1775, 13, 565, 288, 1377, 509, 5221, 273, 374, 31, 1377, 1387, 6325, 6601, 273, 394, 1387, 6325, 261, 1769, 1377, 514, 8526, 876, 273, 394, 514, 63, 22, 15533, 1377, 4015, 18, 5129, 7566, 24609, 2856, 11843, 397, 5274, 397, 315, 300, 5201, 2412, 6330, 8863, 1377, 288, 3639, 514, 8526, 833, 273, 288, 5274, 16, 3701, 5201, 6, 289, 31, 3639, 5221, 273, 6601, 18, 8837, 2189, 261, 1968, 16, 876, 1769, 3639, 309, 261, 18341, 480, 374, 13, 3639, 288, 1850, 16143, 1253, 563, 273, 394, 16143, 1253, 261, 2211, 18, 4936, 2920, 18, 588, 780, 7566, 9937, 5537, 18, 1636, 18, 9576, 902, 7015, 2 ]
alt75=9;
alt76=9;
public String operator() throws RecognitionException { String str; str = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1231:17: ( '==' | '=' | '>' | '>=' | '<' | '<=' | '!=' | 'contains' | 'matches' | 'excludes' ) int alt75=10; switch ( input.LA(1) ) { case 57: alt75=1; break; case 58: alt75=2; break; case 59: alt75=3; break; case 60: alt75=4; break; case 61: alt75=5; break; case 62: alt75=6; break; case 63: alt75=7; break; case 64: alt75=8; break; case 65: alt75=9; break; case 66: alt75=10; break; default: NoViableAltException nvae = new NoViableAltException("1225:1: operator returns [String str] : ( \'==\' | \'=\' | \'>\' | \'>=\' | \'<\' | \'<=\' | \'!=\' | \'contains\' | \'matches\' | \'excludes\' );", 75, 0, input); throw nvae; } switch (alt75) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1231:17: '==' { match(input,57,FOLLOW_57_in_operator3575); str= "=="; } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1232:18: '=' { match(input,58,FOLLOW_58_in_operator3582); str="=="; } break; case 3 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1233:18: '>' { match(input,59,FOLLOW_59_in_operator3589); str=">"; } break; case 4 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1234:18: '>=' { match(input,60,FOLLOW_60_in_operator3596); str=">="; } break; case 5 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1235:18: '<' { match(input,61,FOLLOW_61_in_operator3605); str="<"; } break; case 6 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1236:18: '<=' { match(input,62,FOLLOW_62_in_operator3612); str="<="; } break; case 7 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1237:18: '!=' { match(input,63,FOLLOW_63_in_operator3619); str="!="; } break; case 8 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1238:18: 'contains' { match(input,64,FOLLOW_64_in_operator3626); str="contains"; } break; case 9 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1239:18: 'matches' { match(input,65,FOLLOW_65_in_operator3633); str="matches"; } break; case 10 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1240:18: 'excludes' { match(input,66,FOLLOW_66_in_operator3640); str="excludes"; } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return str; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/12c8feffd968f958100f654d836fa3c2ee21ded8/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3726, 1435, 1216, 9539, 288, 6647, 514, 609, 31, 540, 202, 202, 701, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 2138, 6938, 30, 4033, 30, 261, 22853, 571, 5214, 571, 7481, 571, 18799, 571, 9138, 571, 26609, 571, 30311, 571, 296, 12298, 11, 571, 296, 8436, 11, 571, 296, 338, 8993, 11, 262, 5411, 509, 3770, 5877, 33, 2163, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 15981, 30, 7734, 3770, 5877, 33, 21, 31, 7734, 898, 31, 5411, 648, 17066, 30, 7734, 3770, 5877, 33, 22, 31, 7734, 898, 31, 5411, 648, 14995, 30, 7734, 3770, 5877, 33, 23, 31, 7734, 898, 31, 5411, 648, 4752, 30, 7734, 3770, 5877, 33, 24, 31, 7734, 898, 31, 5411, 648, 17845, 30, 7734, 3770, 5877, 33, 25, 31, 7734, 898, 31, 5411, 648, 22684, 30, 7734, 3770, 5877, 33, 26, 31, 7734, 898, 31, 5411, 648, 13746, 30, 7734, 3770, 5877, 33, 27, 31, 7734, 898, 31, 5411, 648, 5178, 30, 7734, 3770, 5877, 33, 28, 31, 7734, 898, 31, 5411, 648, 15892, 30, 7734, 3770, 6669, 33, 29, 31, 7734, 898, 31, 5411, 648, 22342, 30, 7734, 3770, 5877, 33, 2163, 31, 7734, 898, 31, 5411, 805, 30, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3726, 1435, 1216, 9539, 288, 6647, 514, 609, 31, 540, 202, 202, 701, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 2138, 6938, 30, 4033, 30, 261, 22853, 571, 5214, 571, 7481, 571, 18799, 571, 9138, 571, 26609, 571, 30311, 571, 296, 12298, 11, 571, 296, 8436, 11, 571, 296, 338, 8993, 11, 262, 5411, 509, 3770, 5877, 33, 2163, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 15981, 30, 7734, 3770, 2 ]
buffer.append( ' ' );
fStrBuffer.append( ' ' );
public void processingInstructionIO( String target, String code ) throws IOException { int index; StringBuffer buffer; ElementState state; state = content(); buffer = new StringBuffer( 40 ); // Create the processing instruction textual representation. // Make sure we don't have '?>' inside either target or code. index = target.indexOf( "?>" ); if ( index >= 0 ) buffer.append( "<?" ).append( target.substring( 0, index ) ); else buffer.append( "<?" ).append( target ); if ( code != null ) { buffer.append( ' ' ); index = code.indexOf( "?>" ); if ( index >= 0 ) buffer.append( code.substring( 0, index ) ); else buffer.append( code ); } buffer.append( "?>" ); // If before the root element (or after it), do not print // the PI directly but place it in the pre-root vector. if ( isDocumentState() ) { if ( _preRoot == null ) _preRoot = new Vector(); _preRoot.addElement( buffer.toString() ); } else { _printer.indent(); printText( buffer.toString(), true, true ); _printer.unindent(); if ( _indenting ) state.afterElement = true; } }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/4e12e0389e07bbfd210ee072d5c73e535f71b6d6/BaseMarkupSerializer.java/buggy/src/org/apache/xml/serialize/BaseMarkupSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4929, 11983, 4294, 12, 514, 1018, 16, 514, 981, 262, 3639, 1216, 1860, 565, 288, 3639, 509, 1850, 770, 31, 3639, 6674, 1613, 31, 3639, 3010, 1119, 919, 31, 3639, 919, 273, 913, 5621, 3639, 1613, 273, 394, 6674, 12, 8063, 11272, 3639, 368, 1788, 326, 4929, 7592, 25774, 4335, 18, 3639, 368, 4344, 3071, 732, 2727, 1404, 1240, 13023, 1870, 4832, 3344, 1018, 578, 981, 18, 3639, 770, 273, 1018, 18, 31806, 12, 18101, 2984, 11272, 3639, 309, 261, 770, 1545, 374, 262, 5411, 1613, 18, 6923, 12, 3532, 7225, 262, 18, 6923, 12, 1018, 18, 28023, 12, 374, 16, 770, 262, 11272, 3639, 469, 5411, 1613, 18, 6923, 12, 3532, 7225, 262, 18, 6923, 12, 1018, 11272, 3639, 309, 261, 981, 480, 446, 262, 288, 5411, 284, 1585, 1892, 18, 6923, 12, 296, 296, 11272, 5411, 770, 273, 981, 18, 31806, 12, 18101, 2984, 11272, 5411, 309, 261, 770, 1545, 374, 262, 7734, 1613, 18, 6923, 12, 981, 18, 28023, 12, 374, 16, 770, 262, 11272, 5411, 469, 7734, 1613, 18, 6923, 12, 981, 11272, 3639, 289, 3639, 1613, 18, 6923, 12, 18101, 2984, 11272, 3639, 368, 971, 1865, 326, 1365, 930, 261, 280, 1839, 518, 3631, 741, 486, 1172, 3639, 368, 326, 7024, 5122, 1496, 3166, 518, 316, 326, 675, 17, 3085, 3806, 18, 3639, 309, 261, 353, 2519, 1119, 1435, 262, 288, 5411, 309, 261, 389, 1484, 2375, 422, 446, 262, 7734, 389, 1484, 2375, 273, 394, 5589, 5621, 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, 4929, 11983, 4294, 12, 514, 1018, 16, 514, 981, 262, 3639, 1216, 1860, 565, 288, 3639, 509, 1850, 770, 31, 3639, 6674, 1613, 31, 3639, 3010, 1119, 919, 31, 3639, 919, 273, 913, 5621, 3639, 1613, 273, 394, 6674, 12, 8063, 11272, 3639, 368, 1788, 326, 4929, 7592, 25774, 4335, 18, 3639, 368, 4344, 3071, 732, 2727, 1404, 1240, 13023, 1870, 4832, 3344, 1018, 578, 981, 18, 3639, 770, 273, 1018, 18, 31806, 12, 18101, 2984, 11272, 3639, 309, 261, 770, 1545, 374, 262, 5411, 1613, 18, 6923, 12, 3532, 7225, 262, 18, 6923, 12, 1018, 18, 28023, 12, 374, 16, 770, 262, 11272, 3639, 469, 5411, 1613, 18, 6923, 12, 3532, 7225, 262, 18, 6923, 2 ]
m_panel = new JPanel(new GridLayout(1, 0, GuiUtils.PAD, 0));
m_panel = new JPanel(new GridLayout(1, 0, GuiUtil.PAD, 0));
public BoolParameter(String key, String value) { super(key, value); try { m_bool = (Integer.parseInt(value) != 0); } catch (NumberFormatException e) { m_bool = false; } m_panel = new JPanel(new GridLayout(1, 0, GuiUtils.PAD, 0)); m_checkBox = new JCheckBox(getLabel(), m_bool); m_panel.add(m_checkBox); }
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/1f50ffb219183ddaf94720a4aba453e11f412425/ParameterDialog.java/clean/src/net/sf/gogui/gui/ParameterDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 9166, 1662, 12, 780, 498, 16, 514, 460, 13, 3639, 288, 5411, 2240, 12, 856, 16, 460, 1769, 5411, 775, 5411, 288, 7734, 312, 67, 6430, 273, 261, 4522, 18, 2670, 1702, 12, 1132, 13, 480, 374, 1769, 5411, 289, 5411, 1044, 261, 1854, 9291, 425, 13, 5411, 288, 7734, 312, 67, 6430, 273, 629, 31, 5411, 289, 5411, 312, 67, 13916, 273, 394, 24048, 12, 2704, 7145, 3744, 12, 21, 16, 374, 16, 611, 4881, 1304, 18, 17962, 16, 374, 10019, 5411, 312, 67, 1893, 3514, 273, 394, 804, 19174, 12, 588, 2224, 9334, 312, 67, 6430, 1769, 5411, 312, 67, 13916, 18, 1289, 12, 81, 67, 1893, 3514, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 9166, 1662, 12, 780, 498, 16, 514, 460, 13, 3639, 288, 5411, 2240, 12, 856, 16, 460, 1769, 5411, 775, 5411, 288, 7734, 312, 67, 6430, 273, 261, 4522, 18, 2670, 1702, 12, 1132, 13, 480, 374, 1769, 5411, 289, 5411, 1044, 261, 1854, 9291, 425, 13, 5411, 288, 7734, 312, 67, 6430, 273, 629, 31, 5411, 289, 5411, 312, 67, 13916, 273, 394, 24048, 12, 2704, 7145, 3744, 12, 21, 16, 374, 16, 611, 4881, 1304, 18, 17962, 16, 374, 10019, 5411, 312, 67, 1893, 3514, 273, 394, 804, 19174, 12, 588, 2224, 9334, 312, 67, 6430, 1769, 5411, 312, 67, 13916, 18, 1289, 12, 81, 67, 1893, 3514, 1769, 3639, 289, 2, -100, -100, -100, -100 ]
if (lastSourceControlId != null) { executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE, lastSourceControlId, null, lastValueChangeEventValue); }
} if (lastSourceControlId != null) { executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE, lastSourceControlId, null, lastValueChangeEventValue);
private void doIt(final PipelineContext pipelineContext, ContentHandler contentHandler) { final ExternalContext externalContext = (ExternalContext) pipelineContext.getAttribute(PipelineContext.EXTERNAL_CONTEXT); final Element filesElement; final Element actionElement; final XFormsContainingDocument containingDocument; final XFormsState xformsState; final String staticStateUUID; // Use request input provided by client final Document requestDocument = readInputAsDOM4J(pipelineContext, INPUT_REQUEST); // Get action actionElement = requestDocument.getRootElement().element(XFormsConstants.XXFORMS_ACTION_QNAME); // Get files if any (those come from xforms-server-submit.xpl upon submission) filesElement = requestDocument.getRootElement().element(XFormsConstants.XXFORMS_FILES_QNAME); // Retrieve state { // Get static state final String staticStateString; { final Element staticStateElement = requestDocument.getRootElement().element(XFormsConstants.XXFORMS_STATIC_STATE_QNAME); staticStateString = staticStateElement.getTextTrim(); } // Get dynamic state final String dynamicStateString; { final Element dynamicStateElement = requestDocument.getRootElement().element(XFormsConstants.XXFORMS_DYNAMIC_STATE_QNAME); dynamicStateString = dynamicStateElement.getTextTrim(); } if (dynamicStateString.startsWith(APPLICATION_STATE_PREFIX)) { // State is currently stored in the application scope final String dynamicStateUUID = dynamicStateString.substring(APPLICATION_STATE_PREFIX.length()); // Extract page generation id staticStateUUID = staticStateString.substring(APPLICATION_STATE_PREFIX.length()); // We don't create the session cache at this point as it may not be necessary final XFormsServerApplicationStateCache applicationStateCache = XFormsServerApplicationStateCache.instance(externalContext, false); final XFormsState applicationFormsState = applicationStateCache.find(staticStateUUID, dynamicStateUUID); // This is not going to be good when it happens, and we must create a caching heuristic that minimizes this if (applicationFormsState == null) throw new OXFException("Unable to retrieve XForms engine state from application cache."); xformsState = applicationFormsState; } else if (dynamicStateString.startsWith(SESSION_STATE_PREFIX)) { // State doesn't come with the request, we should look it up in the repository final String dynamicStateUUID = dynamicStateString.substring(SESSION_STATE_PREFIX.length()); // Extract page generation id staticStateUUID = staticStateString.startsWith(SESSION_STATE_PREFIX) ? staticStateString.substring(SESSION_STATE_PREFIX.length()) : staticStateString.substring(APPLICATION_STATE_PREFIX.length()); // We don't create the session cache at this point as it may not be necessary final XFormsServerSessionStateCache sessionStateCache = XFormsServerSessionStateCache.instance(externalContext.getSession(false), false); final XFormsState sessionFormsState = (sessionStateCache == null) ? null : sessionStateCache.find(staticStateUUID, dynamicStateUUID); // This is not going to be good when it happens, and we must create a caching heuristic that minimizes this if (sessionFormsState == null) throw new OXFException("Unable to retrieve XForms engine state from session cache."); xformsState = sessionFormsState; } else { // State comes with request staticStateUUID = null; xformsState = new XFormsState(staticStateString, dynamicStateString); } } if (XFormsUtils.isCacheDocument()) { // Try to obtain containing document from cache if (filesElement == null) { // No fileElements, this may have been cached containingDocument = XFormsServerDocumentCache.instance().find(pipelineContext, xformsState); } else { // If there are filesElement, then we know this was not cached logger.debug("XForms - containing document cache (getContainingDocument): fileElements present."); containingDocument = createXFormsContainingDocument(pipelineContext, xformsState, filesElement); } } else { // Otherwise we recreate the containing document from scratch containingDocument = createXFormsContainingDocument(pipelineContext, xformsState, filesElement); } try { // Run event if any boolean allEvents = false; final Map valueChangeControlIds = new HashMap(); if (actionElement != null) { final List eventElements = actionElement.elements(XFormsConstants.XXFORMS_EVENT_QNAME); if (eventElements != null && eventElements.size() > 0) { // NOTE: We store here the last xxforms-value-change-with-focus-change event so // we can coalesce values in case several such events are sent for the same // control. The client should not send us such series of events, but currently // it may happen. String lastSourceControlId = null; String lastValueChangeEventValue = null; containingDocument.prepareForExternalEventsSequence(pipelineContext); for (Iterator i = eventElements.iterator(); i.hasNext();) { final Element eventElement = (Element) i.next(); final String sourceControlId = eventElement.attributeValue("source-control-id"); final String otherControlId = eventElement.attributeValue("other-control-id"); final String eventName = eventElement.attributeValue("name"); final String value = eventElement.getText(); if (XFormsEvents.XXFORMS_ALL_EVENTS_REQUIRED.equals(eventName)) { // Special event telling us to resend the client all the events since initialization allEvents = true; } else if (sourceControlId != null && eventName != null) { // An event is passed if (eventName.equals(XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE) && otherControlId == null) { // xxforms-value-change-with-focus-change event if (lastSourceControlId == null) { // Rember event lastSourceControlId = sourceControlId; lastValueChangeEventValue = value; } else if (lastSourceControlId.equals(sourceControlId)) { // Update event lastValueChangeEventValue = value; } else { // Send old event executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE, lastSourceControlId, null, lastValueChangeEventValue); // Remember new event lastSourceControlId = sourceControlId; lastValueChangeEventValue = value; } } else { if (lastSourceControlId != null) { // Send old event executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE, lastSourceControlId, null, lastValueChangeEventValue); lastSourceControlId = null; lastValueChangeEventValue = null; } // Send new event executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, eventName, sourceControlId, otherControlId, value); } if (eventName.equals(XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE)) { // Remember id of control of which value changed valueChangeControlIds.put(sourceControlId, ""); } } else if (!(sourceControlId == null && eventName == null)) { throw new OXFException("<event> element must either have source-control-id and name attributes, or no attribute."); } } // Flush stored event if needed if (lastSourceControlId != null) { // Send old event executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE, lastSourceControlId, null, lastValueChangeEventValue); } } } // Create resulting document if there is a ContentHandler if (contentHandler != null) { outputResponse(containingDocument, allEvents, valueChangeControlIds, pipelineContext, contentHandler, staticStateUUID, externalContext, xformsState); } } catch (Throwable e) { // If an exception is caught, we need to discard the object as its state may be inconsistent final ObjectPool sourceObjectPool = containingDocument.getSourceObjectPool(); if (sourceObjectPool != null) { logger.debug("XForms - containing document cache: throwable caught, discarding document from pool."); try { sourceObjectPool.invalidateObject(containingDocument); containingDocument.setSourceObjectPool(null); } catch (Exception e1) { throw new OXFException(e1); } } throw new OXFException(e); } }
52783 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52783/22107fab2d362bd61bccd100d4b9f1cbb5620f3b/XFormsServer.java/buggy/src/java/org/orbeon/oxf/xforms/processor/XFormsServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 7193, 12, 6385, 13671, 1042, 5873, 1042, 16, 3697, 1503, 913, 1503, 13, 288, 3639, 727, 11352, 1042, 3903, 1042, 273, 261, 6841, 1042, 13, 5873, 1042, 18, 588, 1499, 12, 8798, 1042, 18, 2294, 11702, 67, 13181, 1769, 3639, 727, 3010, 1390, 1046, 31, 3639, 727, 3010, 1301, 1046, 31, 3639, 727, 1139, 18529, 24344, 2519, 4191, 2519, 31, 3639, 727, 1139, 18529, 1119, 619, 9741, 1119, 31, 3639, 727, 514, 760, 1119, 5562, 31, 3639, 368, 2672, 590, 810, 2112, 635, 1004, 3639, 727, 4319, 590, 2519, 273, 855, 1210, 1463, 8168, 24, 46, 12, 14511, 1042, 16, 12943, 67, 5519, 1769, 3639, 368, 968, 1301, 3639, 1301, 1046, 273, 590, 2519, 18, 588, 2375, 1046, 7675, 2956, 12, 60, 18529, 2918, 18, 5619, 4983, 55, 67, 12249, 67, 16032, 1769, 3639, 368, 968, 1390, 309, 1281, 261, 451, 2584, 12404, 628, 619, 9741, 17, 3567, 17, 9297, 18, 92, 412, 12318, 8515, 13, 3639, 1390, 1046, 273, 590, 2519, 18, 588, 2375, 1046, 7675, 2956, 12, 60, 18529, 2918, 18, 5619, 4983, 55, 67, 12669, 67, 16032, 1769, 3639, 368, 10708, 919, 3639, 288, 5411, 368, 968, 760, 919, 5411, 727, 514, 760, 1119, 780, 31, 5411, 288, 7734, 727, 3010, 760, 1119, 1046, 273, 590, 2519, 18, 588, 2375, 1046, 7675, 2956, 12, 60, 18529, 2918, 18, 5619, 4983, 55, 67, 22741, 67, 7998, 67, 16032, 1769, 7734, 760, 1119, 780, 273, 760, 1119, 1046, 18, 588, 1528, 14795, 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, 741, 7193, 12, 6385, 13671, 1042, 5873, 1042, 16, 3697, 1503, 913, 1503, 13, 288, 3639, 727, 11352, 1042, 3903, 1042, 273, 261, 6841, 1042, 13, 5873, 1042, 18, 588, 1499, 12, 8798, 1042, 18, 2294, 11702, 67, 13181, 1769, 3639, 727, 3010, 1390, 1046, 31, 3639, 727, 3010, 1301, 1046, 31, 3639, 727, 1139, 18529, 24344, 2519, 4191, 2519, 31, 3639, 727, 1139, 18529, 1119, 619, 9741, 1119, 31, 3639, 727, 514, 760, 1119, 5562, 31, 3639, 368, 2672, 590, 810, 2112, 635, 1004, 3639, 727, 4319, 590, 2519, 273, 855, 1210, 1463, 8168, 24, 46, 12, 14511, 1042, 16, 12943, 67, 5519, 1769, 3639, 368, 968, 1301, 3639, 1301, 1046, 273, 590, 2519, 18, 2 ]
private Slot getSlotToSet(String id, int index, boolean getterSlot) {
private Slot getSlotToSet(String id, int index) {
private Slot getSlotToSet(String id, int index, boolean getterSlot) { // Get stable reference Slot[] array = slots; if (array == null) { return addSlot(id, index, getterSlot); } int start = (index & 0x7fffffff) % array.length; boolean sawRemoved = false; int i = start; do { Slot slot = array[i]; if (slot == null) { return addSlot(id, index, getterSlot); } if (slot == REMOVED) { sawRemoved = true; } else if (slot.intKey == index && (slot.stringKey == id || (id != null && id.equals(slot.stringKey)))) { return slot; } if (++i == array.length) i = 0; } while (i != start); if (Context.check && !sawRemoved) Context.codeBug(); // Table could be full, but with some REMOVED elements. // Call to addSlot will use a slot currently taken by // a REMOVED. return addSlot(id, index, getterSlot); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/5f7cc4c1512b07319aeb673dbbf61f8834127f2e/ScriptableObject.java/buggy/js/rhino/src/org/mozilla/javascript/ScriptableObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 23195, 17718, 352, 25208, 12, 780, 612, 16, 509, 770, 13, 288, 3639, 368, 968, 14114, 2114, 3639, 23195, 8526, 526, 273, 12169, 31, 3639, 309, 261, 1126, 422, 446, 13, 288, 5411, 327, 527, 8764, 12, 350, 16, 770, 16, 7060, 8764, 1769, 3639, 289, 3639, 509, 787, 273, 261, 1615, 473, 374, 92, 27, 18217, 74, 13, 738, 526, 18, 2469, 31, 3639, 1250, 19821, 10026, 273, 629, 31, 3639, 509, 277, 273, 787, 31, 3639, 741, 288, 5411, 23195, 4694, 273, 526, 63, 77, 15533, 5411, 309, 261, 14194, 422, 446, 13, 288, 7734, 327, 527, 8764, 12, 350, 16, 770, 16, 7060, 8764, 1769, 5411, 289, 5411, 309, 261, 14194, 422, 23769, 12135, 13, 288, 7734, 19821, 10026, 273, 638, 31, 5411, 289, 469, 309, 261, 14194, 18, 474, 653, 422, 770, 597, 13491, 261, 14194, 18, 1080, 653, 422, 612, 747, 7682, 261, 350, 480, 446, 597, 612, 18, 14963, 12, 14194, 18, 1080, 653, 3719, 3719, 5411, 288, 7734, 327, 4694, 31, 5411, 289, 5411, 309, 261, 9904, 77, 422, 526, 18, 2469, 13, 7734, 277, 273, 374, 31, 3639, 289, 1323, 261, 77, 480, 787, 1769, 3639, 309, 261, 1042, 18, 1893, 597, 401, 87, 2219, 10026, 13, 1772, 18, 710, 19865, 5621, 3639, 368, 3555, 3377, 506, 1983, 16, 1496, 598, 2690, 23769, 12135, 2186, 18, 540, 368, 3049, 358, 527, 8764, 903, 999, 279, 4694, 4551, 9830, 635, 540, 368, 279, 23769, 12135, 18, 3639, 327, 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, 23195, 17718, 352, 25208, 12, 780, 612, 16, 509, 770, 13, 288, 3639, 368, 968, 14114, 2114, 3639, 23195, 8526, 526, 273, 12169, 31, 3639, 309, 261, 1126, 422, 446, 13, 288, 5411, 327, 527, 8764, 12, 350, 16, 770, 16, 7060, 8764, 1769, 3639, 289, 3639, 509, 787, 273, 261, 1615, 473, 374, 92, 27, 18217, 74, 13, 738, 526, 18, 2469, 31, 3639, 1250, 19821, 10026, 273, 629, 31, 3639, 509, 277, 273, 787, 31, 3639, 741, 288, 5411, 23195, 4694, 273, 526, 63, 77, 15533, 5411, 309, 261, 14194, 422, 446, 13, 288, 7734, 327, 527, 8764, 12, 350, 16, 770, 16, 7060, 8764, 1769, 5411, 289, 5411, 309, 261, 14194, 422, 23769, 12135, 2 ]
myChangeListener = null;
private void dispose() { disposeTabs(); myChangeListener = null; getWindows ().remove(this); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/01e706e8806ba7faf0f7e3c375559eb316bec8c9/EditorWindow.java/clean/source/com/intellij/openapi/fileEditor/impl/EditorWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 15825, 1435, 288, 565, 15825, 17348, 5621, 4202, 336, 10399, 1832, 18, 4479, 12, 2211, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 15825, 1435, 288, 565, 15825, 17348, 5621, 4202, 336, 10399, 1832, 18, 4479, 12, 2211, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( handle != null )
if ( handle != null && handle.getStyle( ) == null )
private void syncFamily( ) { if ( handle != null ) { String fm = DEUtil.RemoveQuote( handle.getFontFamilyHandle( ) .getDisplayValue( ) ); if ( innerSyncFamily( fm ) ) { return; } } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/61206e16d4577e047c9690eaab1f596d6239ab72/HighlightRuleBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3792, 9203, 12, 262, 202, 95, 202, 202, 430, 261, 1640, 480, 446, 262, 202, 202, 95, 1082, 202, 780, 10940, 273, 2030, 1304, 18, 3288, 10257, 12, 1640, 18, 588, 5711, 9203, 3259, 12, 262, 6862, 202, 18, 588, 4236, 620, 12, 262, 11272, 1082, 202, 430, 261, 3443, 4047, 9203, 12, 10940, 262, 262, 1082, 202, 95, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3792, 9203, 12, 262, 202, 95, 202, 202, 430, 261, 1640, 480, 446, 262, 202, 202, 95, 1082, 202, 780, 10940, 273, 2030, 1304, 18, 3288, 10257, 12, 1640, 18, 588, 5711, 9203, 3259, 12, 262, 6862, 202, 18, 588, 4236, 620, 12, 262, 11272, 1082, 202, 430, 261, 3443, 4047, 9203, 12, 10940, 262, 262, 1082, 202, 95, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
(String)model.getElementAt(i)));
model.getElementAt(i).toString()));
public static void save() { String settingsDirectory = jEdit.getSettingsDirectory(); if(settingsDirectory == null) return; File file1 = new File(MiscUtilities.constructPath( settingsDirectory, "#killring.xml#save#")); File file2 = new File(MiscUtilities.constructPath( settingsDirectory, "killring.xml")); if(file2.exists() && file2.lastModified() != killRingModTime) { Log.log(Log.WARNING,KillRing.class,file2 + " changed on disk; will not save recent" + " files"); return; } jEdit.backupSettingsFile(file2); Log.log(Log.MESSAGE,KillRing.class,"Saving killring.xml"); String lineSep = System.getProperty("line.separator"); try { BufferedWriter out = new BufferedWriter( new FileWriter(file1)); out.write("<?xml version=\"1.0\"?>"); out.write(lineSep); out.write("<!DOCTYPE KILLRING SYSTEM \"killring.dtd\">"); out.write(lineSep); out.write("<KILLRING>"); out.write(lineSep); ListModel model = getListModel(); int size = model.getSize(); for(int i = size - 1; i >=0; i--) { out.write("<ENTRY>"); out.write(MiscUtilities.charsToEntities( (String)model.getElementAt(i))); out.write("</ENTRY>"); out.write(lineSep); } out.write("</KILLRING>"); out.write(lineSep); out.close(); /* to avoid data loss, only do this if the above * completed successfully */ file2.delete(); file1.renameTo(file2); } catch(Exception e) { Log.log(Log.ERROR,KillRing.class,e); } killRingModTime = file2.lastModified(); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/5ed35af102c402f7b5690c656c43b6649e475771/KillRing.java/clean/org/gjt/sp/jedit/buffer/KillRing.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1923, 1435, 202, 95, 202, 202, 780, 1947, 2853, 273, 525, 4666, 18, 588, 2628, 2853, 5621, 202, 202, 430, 12, 4272, 2853, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 812, 585, 21, 273, 394, 1387, 12, 11729, 71, 11864, 18, 10062, 743, 12, 1082, 202, 4272, 2853, 16, 6619, 16418, 8022, 18, 2902, 7, 5688, 7, 7923, 1769, 202, 202, 812, 585, 22, 273, 394, 1387, 12, 11729, 71, 11864, 18, 10062, 743, 12, 1082, 202, 4272, 2853, 16, 315, 16418, 8022, 18, 2902, 7923, 1769, 202, 202, 430, 12, 768, 22, 18, 1808, 1435, 597, 585, 22, 18, 2722, 4575, 1435, 480, 8673, 10369, 1739, 950, 13, 202, 202, 95, 1082, 202, 1343, 18, 1330, 12, 1343, 18, 9511, 16, 19045, 10369, 18, 1106, 16, 768, 22, 9506, 202, 15, 315, 3550, 603, 4234, 31, 903, 486, 1923, 8399, 6, 9506, 202, 15, 315, 1390, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 78, 4666, 18, 9572, 2628, 812, 12, 768, 22, 1769, 202, 202, 1343, 18, 1330, 12, 1343, 18, 8723, 16, 19045, 10369, 18, 1106, 10837, 24660, 8673, 8022, 18, 2902, 8863, 202, 202, 780, 980, 5097, 273, 2332, 18, 588, 1396, 2932, 1369, 18, 11287, 8863, 202, 202, 698, 202, 202, 95, 1082, 202, 17947, 2289, 596, 273, 394, 22490, 12, 9506, 202, 2704, 24639, 12, 768, 21, 10019, 1082, 202, 659, 18, 2626, 2932, 12880, 2902, 1177, 5189, 21, 18, 20, 2412, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1923, 1435, 202, 95, 202, 202, 780, 1947, 2853, 273, 525, 4666, 18, 588, 2628, 2853, 5621, 202, 202, 430, 12, 4272, 2853, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 812, 585, 21, 273, 394, 1387, 12, 11729, 71, 11864, 18, 10062, 743, 12, 1082, 202, 4272, 2853, 16, 6619, 16418, 8022, 18, 2902, 7, 5688, 7, 7923, 1769, 202, 202, 812, 585, 22, 273, 394, 1387, 12, 11729, 71, 11864, 18, 10062, 743, 12, 1082, 202, 4272, 2853, 16, 315, 16418, 8022, 18, 2902, 7923, 1769, 202, 202, 430, 12, 768, 22, 18, 1808, 1435, 597, 585, 22, 18, 2722, 4575, 1435, 480, 8673, 10369, 1739, 950, 13, 202, 202, 95, 2 ]
/*[5] Assemble TransactionManager transactionManager = assembleTransactionManager(configInfo.facilities.transactionService); containerSystem.getJNDIContext().bind("java:openejb/TransactionManager",transactionManager); /*[5]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ /*[6] Assemble Connector(s) HashMap connectionManagerMap = new HashMap(); if (configInfo.facilities.connectionManagers != null) { for(int i = 0; i < configInfo.facilities.connectionManagers.length;i++){ ConnectionManagerInfo cmInfo = configInfo.facilities.connectionManagers[i]; ConnectionManager connectionManager = assembleConnectionManager(cmInfo); connectionManagerMap.put(cmInfo.connectionManagerId,connectionManager); } } if (configInfo.facilities.connectors != null) { for(int i = 0; i < configInfo.facilities.connectors.length; i++){ ConnectorInfo conInfo = configInfo.facilities.connectors[i]; ConnectionManager connectionManager = (ConnectionManager)connectionManagerMap.get(conInfo.connectionManagerId); if(connectionManager == null) throw new RuntimeException(INVALID_CONNECTION_MANAGER_ERROR + conInfo.connectorId); ManagedConnectionFactory managedConnectionFactory = assembleManagedConnectionFactory(conInfo.managedConnectionFactory); ConnectorReference reference = new ConnectorReference(connectionManager, managedConnectionFactory); containerSystem.getJNDIContext().bind("java:openejb/connector/"+conInfo.connectorId, reference); } } /*[6]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
public org.openejb.core.ContainerSystem buildContainerSystem(OpenEjbConfiguration configInfo)throws Exception{ /*[1] Assemble ProxyFactory ////////////////////////////////////////// This operation must take place first because of interdependencies. As DeploymentInfo objects are registered with the ContainerSystem using the ContainerSystem.addDeploymentInfo() method, they are also added to the JNDI Naming Service for OpenEJB. This requires that a proxy for the deployed bean's EJBHome be created. The proxy requires that the default proxy factory is set. */ this.applyProxyFactory(configInfo.facilities.intraVmServer); /*[1]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ ContainerSystemInfo containerSystemInfo = configInfo.containerSystem; org.openejb.core.ContainerSystem containerSystem = new org.openejb.core.ContainerSystem(); /*[2] Assemble Containers and Deployments ///////////////////////////////////*/ assembleContainers(containerSystem,containerSystemInfo); /*[2]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ /*[3] Assemble SecurityServices ////////////////////////////////////*/ securityService = assembleSecurityService(configInfo.facilities.securityService); containerSystem.getJNDIContext().bind("java:openejb/SecurityService",securityService); /*[3]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ /*[4] Apply method permissions, role refs, and tx attributes ////////////////////////////////////*/ // roleMapping used later in buildMethodPermissions AssemblerTool.RoleMapping roleMapping = new AssemblerTool.RoleMapping(configInfo.facilities.securityService.roleMappings); org.openejb.DeploymentInfo [] deployments = containerSystem.deployments(); for(int i = 0; i < deployments.length; i++){ applyMethodPermissions((org.openejb.core.DeploymentInfo)deployments[i], containerSystemInfo.methodPermissions, roleMapping); applyTransactionAttributes((org.openejb.core.DeploymentInfo)deployments[i],containerSystemInfo.methodTransactions); } ArrayList list = new ArrayList(); if(containerSystemInfo.entityContainers!=null)list.addAll(Arrays.asList(containerSystemInfo.entityContainers)); if(containerSystemInfo.statefulContainers!=null)list.addAll(Arrays.asList(containerSystemInfo.statefulContainers)); if(containerSystemInfo.statelessContainers!=null)list.addAll(Arrays.asList(containerSystemInfo.statelessContainers)); Iterator iterator = list.iterator(); while(iterator.hasNext()){ ContainerInfo container = (ContainerInfo)iterator.next(); for(int z = 0; z < container.ejbeans.length; z++){ DeploymentInfo deployment= (org.openejb.core.DeploymentInfo)containerSystem.getDeploymentInfo(container.ejbeans[z].ejbDeploymentId); applySecurityRoleReference(deployment, container.ejbeans[z], roleMapping); } } /*[4]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ if(configInfo.facilities.remoteJndiContexts!=null){ for(int i = 0; i < configInfo.facilities.remoteJndiContexts.length; i++){ javax.naming.InitialContext cntx = assembleRemoteJndiContext(configInfo.facilities.remoteJndiContexts[i]); containerSystem.getJNDIContext().bind("java:openejb/remote_jndi_contexts/"+configInfo.facilities.remoteJndiContexts[i].jndiContextId, cntx); } } /*[5] Assemble TransactionManager /////////////////////////////////*/ transactionManager = assembleTransactionManager(configInfo.facilities.transactionService); containerSystem.getJNDIContext().bind("java:openejb/TransactionManager",transactionManager); /*[5]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ /*[6] Assemble Connector(s) //////////////////////////////////////////*/ HashMap connectionManagerMap = new HashMap(); // connectors are optional in the openejb_config.dtd if (configInfo.facilities.connectionManagers != null) { for(int i = 0; i < configInfo.facilities.connectionManagers.length;i++){ ConnectionManagerInfo cmInfo = configInfo.facilities.connectionManagers[i]; ConnectionManager connectionManager = assembleConnectionManager(cmInfo); connectionManagerMap.put(cmInfo.connectionManagerId,connectionManager); } } // connectors are optional in the openejb_config.dtd if (configInfo.facilities.connectors != null) { for(int i = 0; i < configInfo.facilities.connectors.length; i++){ ConnectorInfo conInfo = configInfo.facilities.connectors[i]; ConnectionManager connectionManager = (ConnectionManager)connectionManagerMap.get(conInfo.connectionManagerId); if(connectionManager == null) throw new RuntimeException(INVALID_CONNECTION_MANAGER_ERROR + conInfo.connectorId); ManagedConnectionFactory managedConnectionFactory = assembleManagedConnectionFactory(conInfo.managedConnectionFactory); ConnectorReference reference = new ConnectorReference(connectionManager, managedConnectionFactory); containerSystem.getJNDIContext().bind("java:openejb/connector/"+conInfo.connectorId, reference); } } /*[6]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ return containerSystem; }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/1f3ca6cf1f97a733142490cd4eed0618a995ed6c/Assembler.java/clean/openejb1/modules/core/src/java/org/openejb/alt/assembler/classic/Assembler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2358, 18, 3190, 73, 10649, 18, 3644, 18, 2170, 3163, 1361, 2170, 3163, 12, 3678, 41, 10649, 1750, 642, 966, 13, 15069, 1185, 95, 3639, 1748, 63, 21, 65, 2970, 10045, 7659, 1733, 23415, 2105, 13491, 1220, 1674, 1297, 4862, 3166, 1122, 2724, 434, 1554, 11037, 18, 5411, 2970, 8587, 966, 2184, 854, 4104, 598, 326, 4039, 3163, 1450, 326, 5411, 4039, 3163, 18, 1289, 6733, 966, 1435, 707, 16, 2898, 854, 2546, 3096, 358, 326, 804, 24513, 5411, 18884, 1956, 364, 3502, 22719, 18, 225, 1220, 4991, 716, 279, 2889, 364, 326, 19357, 3931, 1807, 2398, 12157, 8684, 506, 2522, 18, 1021, 2889, 4991, 716, 326, 805, 2889, 3272, 353, 444, 18, 3639, 1195, 7734, 333, 18, 9010, 3886, 1733, 12, 1425, 966, 18, 11639, 5076, 18, 267, 2033, 22143, 2081, 1769, 3639, 1748, 63, 21, 65, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 64, 5549, 13491, 4039, 3163, 966, 1478, 3163, 966, 273, 642, 966, 18, 3782, 3163, 31, 13491, 2358, 18, 3190, 73, 10649, 18, 3644, 18, 2170, 3163, 1478, 3163, 273, 394, 2358, 18, 3190, 73, 10649, 18, 3644, 18, 2170, 3163, 5621, 3639, 1748, 63, 22, 65, 2970, 10045, 22878, 471, 7406, 1346, 23415, 19, 5549, 7734, 19540, 11177, 12, 3782, 3163, 16, 3782, 3163, 966, 1769, 3639, 1748, 63, 22, 65, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 13011, 64, 5549, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2358, 18, 3190, 73, 10649, 18, 3644, 18, 2170, 3163, 1361, 2170, 3163, 12, 3678, 41, 10649, 1750, 642, 966, 13, 15069, 1185, 95, 3639, 1748, 63, 21, 65, 2970, 10045, 7659, 1733, 23415, 2105, 13491, 1220, 1674, 1297, 4862, 3166, 1122, 2724, 434, 1554, 11037, 18, 5411, 2970, 8587, 966, 2184, 854, 4104, 598, 326, 4039, 3163, 1450, 326, 5411, 4039, 3163, 18, 1289, 6733, 966, 1435, 707, 16, 2898, 854, 2546, 3096, 358, 326, 804, 24513, 5411, 18884, 1956, 364, 3502, 22719, 18, 225, 1220, 4991, 716, 279, 2889, 364, 326, 19357, 3931, 1807, 2398, 12157, 8684, 506, 2522, 18, 1021, 2889, 4991, 716, 326, 805, 2889, 3272, 353, 444, 18, 3639, 1195, 7734, 333, 2 ]
throw new DOMException(DOMException.NOT_FOUND_ERR, msg);
throw new DOMException(DOMException.TYPE_MISMATCH_ERR, msg);
public void setParameter(String name, Object value) throws DOMException { if (value instanceof Boolean) { boolean state = ((Boolean) value).booleanValue(); if (name.equalsIgnoreCase(Constants.DOM_INFOSET)){ if (state){ features &= ~ENTITIES; features &= ~CDATA; features |= NAMESPACES; features |= NSDECL; features |= WELLFORMED; features |= COMMENTS; } // false does not have any effect } else if (name.equalsIgnoreCase(Constants.DOM_XMLDECL)) { features = (short) (state ? features | XMLDECL : features & ~XMLDECL); } else if (name.equalsIgnoreCase(Constants.DOM_NAMESPACES)) { features = (short) (state ? features | NAMESPACES : features & ~NAMESPACES); serializer.fNamespaces = state; } else if (name.equalsIgnoreCase(Constants.DOM_SPLIT_CDATA)) { features = (short) (state ? features | SPLITCDATA : features & ~SPLITCDATA); } else if (name.equalsIgnoreCase(Constants.DOM_DISCARD_DEFAULT_CONTENT)) { features = (short) (state ? features | DISCARDDEFAULT : features & ~DISCARDDEFAULT); } else if (name.equalsIgnoreCase(Constants.DOM_WELLFORMED)) { features = (short) (state ? features | WELLFORMED : features & ~WELLFORMED); } else if (name.equalsIgnoreCase(Constants.DOM_ENTITIES)){ features = (short) (state ? features | ENTITIES : features & ~ENTITIES); } else if (name.equalsIgnoreCase(Constants.DOM_CDATA_SECTIONS)){ features = (short) (state ? features | CDATA : features & ~CDATA); } else if (name.equalsIgnoreCase(Constants.DOM_COMMENTS)){ features = (short) (state ? features | COMMENTS : features & ~COMMENTS); } else if (name.equalsIgnoreCase(Constants.DOM_CANONICAL_FORM) || name.equalsIgnoreCase(Constants.DOM_VALIDATE_IF_SCHEMA) || name.equalsIgnoreCase(Constants.DOM_VALIDATE) || name.equalsIgnoreCase(Constants.DOM_CHECK_CHAR_NORMALIZATION) || name.equalsIgnoreCase(Constants.DOM_DATATYPE_NORMALIZATION) || name.equalsIgnoreCase(Constants.DOM_FORMAT_PRETTY_PRINT) || name.equalsIgnoreCase(Constants.DOM_NORMALIZE_CHARACTERS)) { // true is not supported if (state) { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } }else if ( name.equalsIgnoreCase(Constants.DOM_NAMESPACE_DECLARATIONS)) { //namespace-declaration has effect only if namespaces is true features = (short) (state ? features | NSDECL : features & ~NSDECL); serializer.fNamespacePrefixes = state; } else if (name.equalsIgnoreCase(Constants.DOM_ELEMENT_CONTENT_WHITESPACE) || name.equalsIgnoreCase(Constants.DOM_IGNORE_UNKNOWN_CHARACTER_DENORMALIZATIONS)) { // false is not supported if (!state) { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_FOUND", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equalsIgnoreCase(Constants.DOM_ERROR_HANDLER)) { if (value == null || value instanceof DOMErrorHandler) { fErrorHandler = (DOMErrorHandler)value; } else { // REVISIT: modify error exception to TYPE_MISMATCH String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException(DOMException.NOT_FOUND_ERR, msg); } } else if ( name.equalsIgnoreCase(Constants.DOM_RESOURCE_RESOLVER) || name.equalsIgnoreCase(Constants.DOM_SCHEMA_LOCATION) || name.equalsIgnoreCase(Constants.DOM_SCHEMA_TYPE) && value != null) { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg); } else { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_FOUND", new Object[] { name }); throw new DOMException(DOMException.NOT_FOUND_ERR, msg); } }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/315a1d388e7248c487145a5c1193e31a2573319b/DOMSerializerImpl.java/clean/src/org/apache/xml/serialize/DOMSerializerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6690, 12, 780, 508, 16, 1033, 460, 13, 1216, 4703, 503, 288, 3639, 309, 261, 1132, 1276, 3411, 13, 288, 5411, 1250, 919, 273, 14015, 5507, 13, 460, 2934, 6494, 620, 5621, 5411, 309, 261, 529, 18, 14963, 5556, 12, 2918, 18, 8168, 67, 5923, 4043, 3719, 95, 7734, 309, 261, 2019, 15329, 10792, 4467, 12058, 4871, 2222, 25673, 31, 10792, 4467, 12058, 4871, 18375, 31, 10792, 4467, 5626, 18494, 55, 31, 10792, 4467, 5626, 11472, 23956, 31, 10792, 4467, 5626, 678, 21943, 7473, 25773, 31, 10792, 4467, 5626, 19400, 55, 31, 4766, 289, 7734, 368, 629, 1552, 486, 1240, 1281, 5426, 5411, 289, 469, 309, 261, 529, 18, 14963, 5556, 12, 2918, 18, 8168, 67, 4201, 23956, 3719, 288, 7734, 4467, 273, 10792, 261, 6620, 13, 261, 2019, 692, 4467, 571, 3167, 23956, 294, 4467, 473, 4871, 4201, 23956, 1769, 18701, 289, 469, 309, 261, 529, 18, 14963, 5556, 12, 2918, 18, 8168, 67, 11368, 55, 3719, 288, 7734, 4467, 273, 10792, 261, 6620, 13, 261, 2019, 13491, 692, 4467, 571, 18494, 55, 13491, 294, 4467, 473, 4871, 11368, 55, 1769, 7734, 6340, 18, 74, 13180, 273, 919, 31, 5411, 289, 469, 309, 261, 529, 18, 14963, 5556, 12, 2918, 18, 8168, 67, 17482, 67, 18375, 3719, 288, 7734, 4467, 273, 10792, 261, 6620, 13, 261, 2019, 13491, 692, 4467, 571, 28668, 1285, 18375, 13491, 294, 4467, 473, 4871, 17482, 18375, 1769, 5411, 289, 469, 309, 261, 529, 18, 14963, 5556, 12, 2918, 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, 6690, 12, 780, 508, 16, 1033, 460, 13, 1216, 4703, 503, 288, 3639, 309, 261, 1132, 1276, 3411, 13, 288, 5411, 1250, 919, 273, 14015, 5507, 13, 460, 2934, 6494, 620, 5621, 5411, 309, 261, 529, 18, 14963, 5556, 12, 2918, 18, 8168, 67, 5923, 4043, 3719, 95, 7734, 309, 261, 2019, 15329, 10792, 4467, 12058, 4871, 2222, 25673, 31, 10792, 4467, 12058, 4871, 18375, 31, 10792, 4467, 5626, 18494, 55, 31, 10792, 4467, 5626, 11472, 23956, 31, 10792, 4467, 5626, 678, 21943, 7473, 25773, 31, 10792, 4467, 5626, 19400, 55, 31, 4766, 289, 7734, 368, 629, 1552, 486, 1240, 1281, 5426, 5411, 289, 469, 309, 261, 529, 18, 14963, 5556, 12, 2918, 18, 8168, 67, 2 ]
vcs.createFile(p("file"), "content"); vcs.changeFileContent(p("file"), "new content");
vcs.createFile(p("/file"), "content"); vcs.changeFileContent(p("/file"), "new content");
public void testAddingAndChangingSameFileBeforeApply() { vcs.createFile(p("file"), "content"); vcs.changeFileContent(p("file"), "new content"); vcs.apply(); assertEquals("new content", vcs.getEntry(p("file")).getContent()); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsBasicsTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsBasicsTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 13962, 1876, 782, 18183, 8650, 812, 4649, 7001, 1435, 288, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 6, 3631, 315, 1745, 8863, 565, 20255, 18, 3427, 25391, 12, 84, 2932, 768, 6, 3631, 315, 2704, 913, 8863, 565, 20255, 18, 9010, 5621, 565, 1815, 8867, 2932, 2704, 913, 3113, 20255, 18, 588, 1622, 12, 84, 2932, 768, 7923, 2934, 588, 1350, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 1842, 13962, 1876, 782, 18183, 8650, 812, 4649, 7001, 1435, 288, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 6, 3631, 315, 1745, 8863, 565, 20255, 18, 3427, 25391, 12, 84, 2932, 768, 6, 3631, 315, 2704, 913, 8863, 565, 20255, 18, 9010, 5621, 565, 1815, 8867, 2932, 2704, 913, 3113, 20255, 18, 588, 1622, 12, 84, 2932, 768, 7923, 2934, 588, 1350, 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 ]
log.error(e);
System.err.println(e);
static void senderLoop(DatagramSocket sock) { DataInputStream in; String line; DatagramPacket packet; InetAddress dst; int dst_port; StringTokenizer tok; StringBuffer sb; String tmp, buf; byte[] bbuf; AckReceiver ack_receiver=new AckReceiver(sock); ack_receiver.start(); in=new DataInputStream(System.in); while(true) { try { System.out.print("> "); line=in.readLine(); if(line.startsWith("quit") || line.startsWith("exit")) break; tok=new StringTokenizer(line); try { dst=InetAddress.getByName(tok.nextToken()); dst_port=Integer.parseInt(tok.nextToken()); } catch(Exception e) { log.error(e); continue; } sb=new StringBuffer(); while(tok.hasMoreTokens()) { tmp=tok.nextToken(); sb.append(tmp + ' '); } buf=sb.toString(); System.out.println("sending " + buf); bbuf=buf.getBytes(); packet=new DatagramPacket(bbuf, bbuf.length, dst, dst_port); sock.send(packet); } catch(Exception e) { log.error(e); break; } } ack_receiver.stop(); }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/5ad015d9a78e1da3350d9b398b46b2f5d4508564/UcastTest.java/clean/tests/other/org/jgroups/tests/UcastTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 5793, 6452, 12, 5139, 17049, 4534, 7313, 13, 288, 202, 751, 4348, 316, 31, 202, 780, 1850, 980, 31, 202, 5139, 17049, 6667, 225, 4414, 31, 202, 382, 278, 1887, 377, 3046, 31, 202, 474, 2398, 3046, 67, 655, 31, 202, 780, 10524, 946, 31, 202, 780, 1892, 565, 2393, 31, 202, 780, 1850, 1853, 16, 1681, 31, 202, 7229, 8526, 1850, 324, 4385, 31, 202, 11931, 12952, 377, 8479, 67, 24454, 33, 2704, 22322, 12952, 12, 15031, 1769, 202, 484, 67, 24454, 18, 1937, 5621, 202, 267, 33, 2704, 29382, 12, 3163, 18, 267, 1769, 202, 17523, 12, 3767, 13, 288, 202, 565, 775, 288, 202, 202, 3163, 18, 659, 18, 1188, 2932, 34, 315, 1769, 202, 202, 1369, 33, 267, 18, 896, 1670, 5621, 202, 202, 430, 12, 1369, 18, 17514, 1190, 2932, 27176, 7923, 747, 980, 18, 17514, 1190, 2932, 8593, 6, 3719, 1082, 565, 898, 31, 202, 202, 17692, 33, 2704, 16370, 12, 1369, 1769, 202, 202, 698, 288, 1082, 565, 3046, 33, 382, 278, 1887, 18, 588, 5911, 12, 17692, 18, 4285, 1345, 10663, 1082, 565, 3046, 67, 655, 33, 4522, 18, 2670, 1702, 12, 17692, 18, 4285, 1345, 10663, 202, 202, 97, 202, 202, 14683, 12, 503, 425, 13, 288, 1082, 565, 613, 18, 1636, 12, 73, 1769, 1082, 565, 1324, 31, 202, 202, 97, 202, 202, 18366, 33, 2704, 6674, 5621, 202, 202, 17523, 12, 17692, 18, 5332, 7417, 5157, 10756, 288, 1082, 565, 1853, 33, 17692, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 5793, 6452, 12, 5139, 17049, 4534, 7313, 13, 288, 202, 751, 4348, 316, 31, 202, 780, 1850, 980, 31, 202, 5139, 17049, 6667, 225, 4414, 31, 202, 382, 278, 1887, 377, 3046, 31, 202, 474, 2398, 3046, 67, 655, 31, 202, 780, 10524, 946, 31, 202, 780, 1892, 565, 2393, 31, 202, 780, 1850, 1853, 16, 1681, 31, 202, 7229, 8526, 1850, 324, 4385, 31, 202, 11931, 12952, 377, 8479, 67, 24454, 33, 2704, 22322, 12952, 12, 15031, 1769, 202, 484, 67, 24454, 18, 1937, 5621, 202, 267, 33, 2704, 29382, 12, 3163, 18, 267, 1769, 202, 17523, 12, 3767, 13, 288, 202, 565, 775, 288, 202, 202, 3163, 18, 659, 18, 1188, 2932, 34, 315, 2 ]
private void printHTML() throws Exception { List completed = new LinkedList(); List midway = new LinkedList(); List started = new LinkedList(); Map charsets = new HashMap(); for(Iterator i = langs.entrySet().iterator(); i.hasNext(); ) { Map.Entry entry = (Map.Entry)i.next(); LanguageInfo key = (LanguageInfo)entry.getKey(); Properties value = (Properties)entry.getValue(); int size = value.size(); double percentage = (double)size / (double)total * 100.0; key.setPercentage(percentage); if(percentage > 70) completed.add(key); else if(percentage > 40) midway.add(key); else started.add(key); String script = key.getScript(); List inScript = (List)charsets.get(script); if(inScript == null) { inScript = new LinkedList(); charsets.put(script, inScript); } inScript.add(key); } StringBuffer page = new StringBuffer(); buildStartOfPage(page); buildStatus(page, completed, midway, started); buildAfterStatus(page); buildProgress(page, charsets); buildEndOfPage(page); byte[] out = page.toString().getBytes("UTF-8"); System.out.write(out, 0, out.length); }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/54d35ed1ed69a103ce57c9b5a648276af228d81a/CountPercent.java/clean/lib/messagebundles/CountPercent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1172, 4870, 1435, 1216, 1185, 288, 3639, 987, 5951, 273, 394, 10688, 5621, 3639, 987, 7501, 1888, 273, 394, 10688, 5621, 3639, 987, 5746, 273, 394, 10688, 5621, 3639, 1635, 1149, 4424, 273, 394, 4317, 5621, 7734, 364, 12, 3198, 277, 273, 26467, 18, 4099, 694, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 77, 18, 4285, 5621, 5411, 9889, 966, 498, 273, 261, 3779, 966, 13, 4099, 18, 588, 653, 5621, 5411, 6183, 460, 273, 261, 2297, 13, 4099, 18, 24805, 5621, 5411, 509, 963, 273, 460, 18, 1467, 5621, 5411, 1645, 11622, 273, 261, 9056, 13, 1467, 342, 261, 9056, 13, 4963, 380, 2130, 18, 20, 31, 5411, 498, 18, 542, 16397, 12, 18687, 1769, 5411, 309, 12, 18687, 405, 16647, 13, 7734, 5951, 18, 1289, 12, 856, 1769, 5411, 469, 309, 12, 18687, 405, 8063, 13, 7734, 7501, 1888, 18, 1289, 12, 856, 1769, 5411, 469, 7734, 5746, 18, 1289, 12, 856, 1769, 18701, 514, 2728, 273, 498, 18, 588, 3651, 5621, 5411, 987, 316, 3651, 273, 261, 682, 13, 3001, 4424, 18, 588, 12, 4263, 1769, 5411, 309, 12, 267, 3651, 422, 446, 13, 288, 7734, 316, 3651, 273, 394, 10688, 5621, 7734, 1149, 4424, 18, 458, 12, 4263, 16, 316, 3651, 1769, 5411, 289, 5411, 316, 3651, 18, 1289, 12, 856, 1769, 3639, 289, 7734, 6674, 1363, 273, 394, 6674, 5621, 3639, 1361, 1685, 951, 1964, 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, 1172, 4870, 1435, 1216, 1185, 288, 3639, 987, 5951, 273, 394, 10688, 5621, 3639, 987, 7501, 1888, 273, 394, 10688, 5621, 3639, 987, 5746, 273, 394, 10688, 5621, 3639, 1635, 1149, 4424, 273, 394, 4317, 5621, 7734, 364, 12, 3198, 277, 273, 26467, 18, 4099, 694, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 77, 18, 4285, 5621, 5411, 9889, 966, 498, 273, 261, 3779, 966, 13, 4099, 18, 588, 653, 5621, 5411, 6183, 460, 273, 261, 2297, 13, 4099, 18, 24805, 5621, 5411, 509, 963, 273, 460, 18, 1467, 5621, 5411, 1645, 11622, 273, 261, 9056, 13, 1467, 342, 261, 9056, 13, 2 ]
public void writeMessageHeaders(OutputStream os) {
public void writeMessageHeaders(OutputStream os) throws IOException { String str; str = "HTTP/1.1 200 OK \r\n"; os.write(str.getBytes()); str = "Server: " + CommonUtils.getHttpServer() + "\r\n"; os.write(str.getBytes()); str = "Content-Type: text/html\r\n"; os.write(str.getBytes()); str = "Content-Length: " + RESPONSE_PAGE.length() + "\r\n"; os.write(str.getBytes()); str = "\r\n"; os.write(str.getBytes());
public void writeMessageHeaders(OutputStream os) { }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/4afd18f9aae9fde012f5bd7d0c20a24ac036cc2b/FreeloaderUploadState.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/uploader/FreeloaderUploadState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1045, 1079, 3121, 12, 4632, 1140, 13, 288, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 918, 1045, 1079, 3121, 12, 4632, 1140, 13, 288, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public JPanel makePanel(int newStep) { switch (newStep) { case 1: // First step. Create the panel if not already done and options are // available. Otherwise it retains its default value of null. if (_step1Choice == null) { Vector opts = _buildOptions() ; if (opts != null) { _step1Choice = new WizStepChoice(this, _instructions, opts); _step1Choice.setTarget(_item); } } return _step1Choice; } // Default (any other step) is to return nothing return null; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/WizAssocComposite.java/clean/src_new/org/argouml/uml/cognitive/critics/WizAssocComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 46, 5537, 6540, 5537, 12, 474, 2704, 4160, 15329, 9610, 12, 2704, 4160, 15329, 3593, 21, 2207, 3759, 4119, 18, 1996, 270, 546, 881, 30427, 430, 902, 17583, 8734, 464, 2116, 834, 759, 5699, 18, 8290, 2460, 305, 1349, 4167, 1282, 1886, 1132, 792, 2011, 18, 430, 24899, 4119, 21, 10538, 631, 2011, 15329, 5018, 4952, 33, 67, 3510, 1320, 5621, 430, 12, 4952, 5, 33, 2011, 15329, 67, 4119, 21, 10538, 33, 2704, 59, 452, 4160, 10538, 12, 2211, 16, 67, 25758, 16, 4952, 1769, 67, 4119, 21, 10538, 18, 542, 2326, 24899, 1726, 1769, 9090, 2463, 67, 4119, 21, 10538, 31, 97, 759, 1868, 12, 2273, 3011, 4119, 13, 376, 479, 20922, 30874, 2463, 2011, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 46, 5537, 6540, 5537, 12, 474, 2704, 4160, 15329, 9610, 12, 2704, 4160, 15329, 3593, 21, 2207, 3759, 4119, 18, 1996, 270, 546, 881, 30427, 430, 902, 17583, 8734, 464, 2116, 834, 759, 5699, 18, 8290, 2460, 305, 1349, 4167, 1282, 1886, 1132, 792, 2011, 18, 430, 24899, 4119, 21, 10538, 631, 2011, 15329, 5018, 4952, 33, 67, 3510, 1320, 5621, 430, 12, 4952, 5, 33, 2011, 15329, 67, 4119, 21, 10538, 33, 2704, 59, 452, 4160, 10538, 12, 2211, 16, 67, 25758, 16, 4952, 1769, 67, 4119, 21, 10538, 18, 542, 2326, 24899, 1726, 1769, 9090, 2463, 67, 4119, 21, 10538, 31, 97, 759, 1868, 12, 2273, 3011, 4119, 13, 376, 479, 20922, 30874, 2463, 2011, 31, 2 ]
AST tmp302_AST = null; tmp302_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp302_AST);
AST tmp305_AST = null; tmp305_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp305_AST);
public final void elementWithoutAttributes() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST elementWithoutAttributes_AST = null; AST content_AST = null; String name= null; AST tmp302_AST = null; tmp302_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp302_AST); match(LT); name=qName(); astFactory.addASTChild(currentAST, returnAST); { switch ( LA(1)) { case SLASH: { { match(SLASH); match(GT); if ( inputState.guessing==0 ) { elementWithoutAttributes_AST = (AST)currentAST.root; lexer.wsExplicit= false; if (!elementStack.isEmpty()) lexer.inElementContent= true; elementWithoutAttributes_AST= astFactory.create(ELEMENT,name); currentAST.root = elementWithoutAttributes_AST; currentAST.child = elementWithoutAttributes_AST!=null &&elementWithoutAttributes_AST.getFirstChild()!=null ? elementWithoutAttributes_AST.getFirstChild() : elementWithoutAttributes_AST; currentAST.advanceChildToEnd(); } } break; } case GT: { { match(GT); if ( inputState.guessing==0 ) { elementStack.push(name); lexer.inElementContent= true; lexer.wsExplicit= false; } mixedElementContent(); content_AST = (AST)returnAST; astFactory.addASTChild(currentAST, returnAST); match(END_TAG_START); name=qName(); match(GT); if ( inputState.guessing==0 ) { elementWithoutAttributes_AST = (AST)currentAST.root; if (elementStack.isEmpty()) throw new RecognitionException("found wrong closing tag: " + name); String prev= (String) elementStack.pop(); if (!prev.equals(name)) throw new RecognitionException("found closing tag: " + name + "; expected: " + prev); elementWithoutAttributes_AST= (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(ELEMENT,name)).add(content_AST)); if (!elementStack.isEmpty()) { lexer.inElementContent= true; lexer.wsExplicit= false; } currentAST.root = elementWithoutAttributes_AST; currentAST.child = elementWithoutAttributes_AST!=null &&elementWithoutAttributes_AST.getFirstChild()!=null ? elementWithoutAttributes_AST.getFirstChild() : elementWithoutAttributes_AST; currentAST.advanceChildToEnd(); } } break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } elementWithoutAttributes_AST = (AST)currentAST.root; returnAST = elementWithoutAttributes_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/d31ac0d651739cc32d55579c14a0786f6bfb4200/XPathParser2.java/clean/src/org/exist/parser/XPathParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 930, 8073, 2498, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 930, 8073, 2498, 67, 9053, 273, 446, 31, 202, 202, 9053, 913, 67, 9053, 273, 446, 31, 202, 202, 780, 508, 33, 446, 31, 9506, 202, 9053, 1853, 23, 3103, 67, 9053, 273, 446, 31, 202, 202, 5645, 23, 3103, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 202, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 23, 3103, 67, 9053, 1769, 202, 202, 1916, 12, 12050, 1769, 202, 202, 529, 33, 85, 461, 5621, 202, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 202, 202, 95, 202, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 348, 16504, 30, 202, 202, 95, 1082, 202, 95, 1082, 202, 1916, 12, 24079, 1769, 1082, 202, 1916, 12, 16506, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 2956, 8073, 2498, 67, 9053, 273, 261, 9053, 13, 2972, 9053, 18, 3085, 31, 6862, 6862, 9506, 202, 31731, 18, 4749, 17186, 33, 629, 31, 6862, 9506, 202, 430, 16051, 2956, 2624, 18, 291, 1921, 10756, 6862, 6862, 202, 31731, 18, 267, 1046, 1350, 33, 638, 31, 6862, 9506, 202, 2956, 8073, 2498, 67, 9053, 33, 3364, 1733, 18, 2640, 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, 727, 918, 930, 8073, 2498, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 930, 8073, 2498, 67, 9053, 273, 446, 31, 202, 202, 9053, 913, 67, 9053, 273, 446, 31, 202, 202, 780, 508, 33, 446, 31, 9506, 202, 9053, 1853, 23, 3103, 67, 9053, 273, 446, 31, 202, 202, 5645, 23, 3103, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 202, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 23, 3103, 67, 9053, 1769, 202, 202, 1916, 12, 12050, 1769, 202, 202, 529, 33, 85, 461, 2 ]
System.err.println("database.connection.driver = "+ config.getProperty("database.connection.driver"));
System.err.println("database.connection.driver = "+ driver);
private ConnectionPool(String dbConfigFile) throws IOException, SQLException { Properties driverProps = new Properties(); driverProps.load(new FileInputStream(dbConfigFile)); try { String driverName = driverProps.getProperty("driver.name"); Properties config = new Properties(); config.load(new FileInputStream(SystemGlobals.getApplicationResourceDir() + "/config/database/"+ driverName +"/"+ driverName +".properties")); SystemGlobals.setTransientValue(ConfigKeys.SQL_FILE, config.getProperty(ConfigKeys.SQL_FILE)); SystemGlobals.setTransientValue(ConfigKeys.DAO_DRIVER, config.getProperty(ConfigKeys.DAO_DRIVER)); Class.forName(config.getProperty("database.connection.driver")); this.minConnections = Integer.parseInt(config.getProperty("database.connection.pool.min")); this.maxConnections = Integer.parseInt(config.getProperty("database.connection.pool.max")); this.timeout = Integer.parseInt(config.getProperty("database.connection.pool.timeout")); this.connectionString = config.getProperty("database.connection.string"); if (debug) { System.err.println("*********************************************"); System.err.println("******** STARTING CONNECTION POOL ***********"); System.err.println("*********************************************"); System.err.println("database.connection.driver = "+ config.getProperty("database.connection.driver")); System.err.println("minConnections = "+ this.minConnections); System.err.println("maxConnections = "+ this.maxConnections); System.err.println("timeout = "+ this.timeout); System.err.println("*********************************************"); } for (int i = 0; i < this.minConnections; i++) { Connection conn = DriverManager.getConnection(this.connectionString); this.connections.addLast(conn); this.allConnections.add(conn); if (debug) { Date now = new Date(); System.err.println(now.toString() + " openning connection "+ (i + 1)); } } isDatabaseUp = true; } catch (ClassNotFoundException e) { System.err.println("Ouch... Cannot find database driver: "+ driverProps.getProperty("driver.name")); } }
52144 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52144/79113cffcf14f5543330a28f40f741a35f4451d4/ConnectionPool.java/clean/src/net/jforum/ConnectionPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 4050, 2864, 12, 780, 1319, 13705, 13, 1216, 1860, 16, 6483, 202, 95, 202, 202, 2297, 3419, 5047, 273, 394, 6183, 5621, 540, 202, 202, 7407, 5047, 18, 945, 12, 2704, 11907, 12, 1966, 13705, 10019, 202, 202, 698, 288, 1082, 202, 780, 27119, 273, 3419, 5047, 18, 588, 1396, 2932, 7407, 18, 529, 8863, 1082, 202, 2297, 642, 273, 394, 6183, 5621, 1082, 202, 1425, 18, 945, 12, 2704, 11907, 12, 3163, 19834, 18, 588, 3208, 1420, 1621, 1435, 397, 2206, 1425, 19, 6231, 4898, 15, 27119, 397, 6, 4898, 15, 27119, 397, 9654, 4738, 7923, 1769, 25083, 202, 3163, 19834, 18, 542, 19638, 620, 12, 809, 2396, 18, 3997, 67, 3776, 16, 642, 18, 588, 1396, 12, 809, 2396, 18, 3997, 67, 3776, 10019, 1082, 202, 3163, 19834, 18, 542, 19638, 620, 12, 809, 2396, 18, 18485, 67, 27720, 16, 642, 18, 588, 1396, 12, 809, 2396, 18, 18485, 67, 27720, 10019, 25083, 202, 797, 18, 1884, 461, 12, 1425, 18, 588, 1396, 2932, 6231, 18, 4071, 18, 7407, 7923, 1769, 25083, 202, 2211, 18, 1154, 9314, 273, 2144, 18, 2670, 1702, 12, 1425, 18, 588, 1396, 2932, 6231, 18, 4071, 18, 6011, 18, 1154, 7923, 1769, 1082, 202, 2211, 18, 1896, 9314, 273, 2144, 18, 2670, 1702, 12, 1425, 18, 588, 1396, 2932, 6231, 18, 4071, 18, 6011, 18, 1896, 7923, 1769, 1082, 202, 2211, 18, 4538, 273, 2144, 18, 2670, 1702, 12, 1425, 18, 588, 1396, 2932, 6231, 18, 4071, 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, 4050, 2864, 12, 780, 1319, 13705, 13, 1216, 1860, 16, 6483, 202, 95, 202, 202, 2297, 3419, 5047, 273, 394, 6183, 5621, 540, 202, 202, 7407, 5047, 18, 945, 12, 2704, 11907, 12, 1966, 13705, 10019, 202, 202, 698, 288, 1082, 202, 780, 27119, 273, 3419, 5047, 18, 588, 1396, 2932, 7407, 18, 529, 8863, 1082, 202, 2297, 642, 273, 394, 6183, 5621, 1082, 202, 1425, 18, 945, 12, 2704, 11907, 12, 3163, 19834, 18, 588, 3208, 1420, 1621, 1435, 397, 2206, 1425, 19, 6231, 4898, 15, 27119, 397, 6, 4898, 15, 27119, 397, 9654, 4738, 7923, 1769, 25083, 202, 3163, 19834, 18, 542, 19638, 620, 12, 809, 2396, 18, 3997, 67, 3776, 16, 642, 18, 2 ]
} catch (VM_TimeoutException e) {
} catch (VM_TimeoutException e) {
int read(byte[] buffer, int offset, int count) throws IOException { double totalWaitTime = (receiveTimeout > 0) ? ((double) receiveTimeout) / 1000.0 : VM_ThreadEventConstants.WAIT_INFINITE; int rc; try { rc = VM_FileSystem.readBytes(native_fd, buffer, offset, count, totalWaitTime); } catch (VM_TimeoutException e) { throw new SocketTimeoutException("socket receive timed out"); } return rc; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/66bf0388b8c9d935e76afce0f4f488ab54ce6b40/JikesRVMSocketImpl.java/buggy/rvm/src/vm/runtime/JikesRVMSocketImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 855, 12, 7229, 8526, 1613, 16, 509, 1384, 16, 509, 1056, 13, 1216, 1860, 288, 202, 9056, 2078, 23637, 273, 261, 18149, 2694, 405, 374, 13, 202, 565, 692, 14015, 9056, 13, 6798, 2694, 13, 342, 4336, 18, 20, 202, 565, 294, 8251, 67, 3830, 1133, 2918, 18, 19046, 67, 706, 7263, 5398, 31, 202, 474, 4519, 31, 202, 698, 288, 202, 565, 4519, 273, 8251, 67, 11785, 18, 896, 2160, 12, 13635, 67, 8313, 16, 1613, 16, 1384, 16, 1056, 16, 2078, 23637, 1769, 225, 289, 202, 14683, 261, 7397, 67, 22195, 425, 13, 288, 202, 565, 604, 394, 8758, 22195, 2932, 7814, 6798, 7491, 596, 8863, 202, 97, 202, 202, 2463, 4519, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 509, 855, 12, 7229, 8526, 1613, 16, 509, 1384, 16, 509, 1056, 13, 1216, 1860, 288, 202, 9056, 2078, 23637, 273, 261, 18149, 2694, 405, 374, 13, 202, 565, 692, 14015, 9056, 13, 6798, 2694, 13, 342, 4336, 18, 20, 202, 565, 294, 8251, 67, 3830, 1133, 2918, 18, 19046, 67, 706, 7263, 5398, 31, 202, 474, 4519, 31, 202, 698, 288, 202, 565, 4519, 273, 8251, 67, 11785, 18, 896, 2160, 12, 13635, 67, 8313, 16, 1613, 16, 1384, 16, 1056, 16, 2078, 23637, 1769, 225, 289, 202, 14683, 261, 7397, 67, 22195, 425, 13, 288, 202, 565, 604, 394, 8758, 22195, 2932, 7814, 6798, 7491, 596, 8863, 202, 97, 202, 202, 2463, 4519, 31, 565, 289, 2 ]
if ( elementDefn.isPropertyReadOnly( propDefn.getName( ) ) )
if ( elementDefn.isPropertyReadOnly( propDefn.getName( ) ) && !propDefn.isUserProperty( ) )
public boolean isReadOnly( ) { IElementDefn elementDefn = getElementHandle( ).getDefn( ); if ( elementDefn.isPropertyReadOnly( propDefn.getName( ) ) ) return true; Module root = getElement( ).getRoot( ) == null ? getModule( ) : getElement( ).getRoot( ); assert root != null; if ( root.isReadOnly( ) ) return true; return false; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/917949322cdbac717d402f675db1f27d7a546774/PropertyHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/PropertyHandle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 26249, 12, 262, 202, 95, 202, 202, 45, 1046, 3262, 82, 930, 3262, 82, 273, 7426, 3259, 12, 262, 18, 588, 3262, 82, 12, 11272, 202, 202, 430, 261, 930, 3262, 82, 18, 291, 1396, 12066, 12, 2270, 3262, 82, 18, 17994, 12, 262, 262, 262, 1082, 202, 2463, 638, 31, 202, 202, 3120, 1365, 273, 7426, 12, 262, 18, 588, 2375, 12, 262, 422, 446, 9506, 202, 35, 11251, 12, 262, 9506, 202, 30, 7426, 12, 262, 18, 588, 2375, 12, 11272, 202, 202, 11231, 1365, 480, 446, 31, 202, 202, 430, 261, 1365, 18, 291, 12066, 12, 262, 262, 1082, 202, 2463, 638, 31, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 1250, 26249, 12, 262, 202, 95, 202, 202, 45, 1046, 3262, 82, 930, 3262, 82, 273, 7426, 3259, 12, 262, 18, 588, 3262, 82, 12, 11272, 202, 202, 430, 261, 930, 3262, 82, 18, 291, 1396, 12066, 12, 2270, 3262, 82, 18, 17994, 12, 262, 262, 262, 1082, 202, 2463, 638, 31, 202, 202, 3120, 1365, 273, 7426, 12, 262, 18, 588, 2375, 12, 262, 422, 446, 9506, 202, 35, 11251, 12, 262, 9506, 202, 30, 7426, 12, 262, 18, 588, 2375, 12, 11272, 202, 202, 11231, 1365, 480, 446, 31, 202, 202, 430, 261, 1365, 18, 291, 12066, 12, 262, 262, 1082, 202, 2463, 638, 31, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100 ]
checkIfReadOnly();
public ByteBuffer put(byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); VMDirectByteBuffer.put(address, pos, value); position(pos + 1); return this; }
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/21b083dc05539f8f6730b5e5d961c31c78c9f00f/DirectByteBufferImpl.java/buggy/libjava/java/nio/DirectByteBufferImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7400, 1378, 12, 7229, 460, 13, 225, 288, 4202, 13855, 15526, 5621, 565, 509, 949, 273, 1754, 5621, 565, 8251, 5368, 12242, 18, 458, 12, 2867, 16, 949, 16, 460, 1769, 565, 1754, 12, 917, 397, 404, 1769, 565, 327, 333, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7400, 1378, 12, 7229, 460, 13, 225, 288, 4202, 13855, 15526, 5621, 565, 509, 949, 273, 1754, 5621, 565, 8251, 5368, 12242, 18, 458, 12, 2867, 16, 949, 16, 460, 1769, 565, 1754, 12, 917, 397, 404, 1769, 565, 327, 333, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try { return message.getPayloadAsString(encoding); } catch (Exception e) { throw new MuleException(new Message(Messages.CANT_READ_PAYLOAD_AS_STRING_TYPE_IS_X, message .getClass().getName()), e); }
return getMessageAsString(getEncoding());
public String getMessageAsString(String encoding) throws UMOException { try { return message.getPayloadAsString(encoding); } catch (Exception e) { throw new MuleException(new Message(Messages.CANT_READ_PAYLOAD_AS_STRING_TYPE_IS_X, message .getClass().getName()), e); } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/17ce371ab8777ac7c204a7e6101775dd0c58e357/MuleEvent.java/buggy/src/java/org/mule/impl/MuleEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2381, 8092, 12, 780, 2688, 13, 1216, 587, 5980, 503, 565, 288, 3639, 775, 288, 5411, 327, 883, 18, 588, 6110, 8092, 12, 5999, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 490, 725, 503, 12, 2704, 2350, 12, 5058, 18, 39, 6856, 67, 6949, 67, 11389, 7783, 67, 3033, 67, 5804, 67, 2399, 67, 5127, 67, 60, 16, 883, 10792, 263, 588, 797, 7675, 17994, 1435, 3631, 425, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2381, 8092, 12, 780, 2688, 13, 1216, 587, 5980, 503, 565, 288, 3639, 775, 288, 5411, 327, 883, 18, 588, 6110, 8092, 12, 5999, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 490, 725, 503, 12, 2704, 2350, 12, 5058, 18, 39, 6856, 67, 6949, 67, 11389, 7783, 67, 3033, 67, 5804, 67, 2399, 67, 5127, 67, 60, 16, 883, 10792, 263, 588, 797, 7675, 17994, 1435, 3631, 425, 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 ]
if (curHex.getTerrainType() != Terrain.WATER || curHex.getElevation() >= 0) {
if (curHex.levelOf(Terrain.WATER) > 0) {
public int getHeatCapacityWithWater(Game game) { int capacity = getHeatCapacity(); int sinksUnderwater = 0; final Hex curHex = game.board.getHex(getPosition()); // are we even in water? is it depth 1+ if (curHex.getTerrainType() != Terrain.WATER || curHex.getElevation() >= 0) { return capacity; } else if (curHex.getElevation() == -1) { if ( isProne() ) { sinksUnderwater = getHeatCapacity(); } else { for (Enumeration i = miscList.elements(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement(); if (mounted.getType().hasFlag(MiscType.F_HEAT_SINK) && !mounted.isDestroyed() && locationIsLeg(mounted.getLocation()) ) { sinksUnderwater++; } } } } else if (curHex.getElevation() <= -2) { sinksUnderwater = getHeatCapacity(); } return capacity + Math.min(sinksUnderwater, 6); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/3045e322f5d70e8d851c863279a5680bed754e84/Mech.java/clean/megamek/src/megamek/common/Mech.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 5256, 270, 7437, 1190, 24064, 12, 12496, 7920, 13, 288, 3639, 509, 7519, 273, 336, 5256, 270, 7437, 5621, 3639, 509, 28618, 14655, 91, 2045, 273, 374, 31, 3639, 727, 15734, 662, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 588, 2555, 10663, 3639, 368, 854, 732, 5456, 316, 16313, 35, 225, 353, 518, 3598, 404, 15, 3639, 309, 261, 1397, 7037, 18, 588, 56, 264, 7596, 559, 1435, 480, 28991, 7596, 18, 59, 13641, 5411, 747, 662, 7037, 18, 588, 17274, 7112, 1435, 1545, 374, 13, 288, 5411, 327, 7519, 31, 3639, 289, 469, 309, 261, 1397, 7037, 18, 588, 17274, 7112, 1435, 422, 300, 21, 13, 288, 1850, 309, 261, 353, 2050, 476, 1435, 262, 288, 5411, 28618, 14655, 91, 2045, 273, 336, 5256, 270, 7437, 5621, 1850, 289, 469, 288, 5411, 364, 261, 21847, 277, 273, 20448, 682, 18, 6274, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 7734, 13076, 329, 20919, 273, 261, 8725, 329, 13, 77, 18, 4285, 1046, 5621, 7734, 309, 261, 4778, 329, 18, 588, 559, 7675, 5332, 4678, 12, 11729, 71, 559, 18, 42, 67, 3900, 789, 67, 55, 8476, 13, 597, 401, 4778, 329, 18, 291, 28414, 1435, 597, 2117, 2520, 8329, 12, 4778, 329, 18, 588, 2735, 10756, 262, 288, 10792, 28618, 14655, 91, 2045, 9904, 31, 7734, 289, 5411, 289, 1850, 289, 3639, 289, 469, 309, 261, 1397, 7037, 18, 588, 17274, 7112, 1435, 1648, 300, 22, 13, 288, 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, 509, 336, 5256, 270, 7437, 1190, 24064, 12, 12496, 7920, 13, 288, 3639, 509, 7519, 273, 336, 5256, 270, 7437, 5621, 3639, 509, 28618, 14655, 91, 2045, 273, 374, 31, 3639, 727, 15734, 662, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 588, 2555, 10663, 3639, 368, 854, 732, 5456, 316, 16313, 35, 225, 353, 518, 3598, 404, 15, 3639, 309, 261, 1397, 7037, 18, 588, 56, 264, 7596, 559, 1435, 480, 28991, 7596, 18, 59, 13641, 5411, 747, 662, 7037, 18, 588, 17274, 7112, 1435, 1545, 374, 13, 288, 5411, 327, 7519, 31, 3639, 289, 469, 309, 261, 1397, 7037, 18, 588, 17274, 7112, 1435, 422, 300, 21, 13, 288, 1850, 309, 261, 353, 2050, 2 ]
return new org.quickfix.fix44.OrderMassCancelRequest();
return new quickfix.fix44.OrderMassCancelRequest();
public Message create( String beginString, String msgType ) { if("0".equals(msgType)) { return new org.quickfix.fix44.Heartbeat(); } if("A".equals(msgType)) { return new org.quickfix.fix44.Logon(); } if("1".equals(msgType)) { return new org.quickfix.fix44.TestRequest(); } if("2".equals(msgType)) { return new org.quickfix.fix44.ResendRequest(); } if("3".equals(msgType)) { return new org.quickfix.fix44.Reject(); } if("4".equals(msgType)) { return new org.quickfix.fix44.SequenceReset(); } if("5".equals(msgType)) { return new org.quickfix.fix44.Logout(); } if("j".equals(msgType)) { return new org.quickfix.fix44.BusinessMessageReject(); } if("7".equals(msgType)) { return new org.quickfix.fix44.Advertisement(); } if("6".equals(msgType)) { return new org.quickfix.fix44.IndicationOfInterest(); } if("B".equals(msgType)) { return new org.quickfix.fix44.News(); } if("C".equals(msgType)) { return new org.quickfix.fix44.Email(); } if("R".equals(msgType)) { return new org.quickfix.fix44.QuoteRequest(); } if("AJ".equals(msgType)) { return new org.quickfix.fix44.QuoteResponse(); } if("AG".equals(msgType)) { return new org.quickfix.fix44.QuoteRequestReject(); } if("AH".equals(msgType)) { return new org.quickfix.fix44.RFQRequest(); } if("S".equals(msgType)) { return new org.quickfix.fix44.Quote(); } if("Z".equals(msgType)) { return new org.quickfix.fix44.QuoteCancel(); } if("a".equals(msgType)) { return new org.quickfix.fix44.QuoteStatusRequest(); } if("AI".equals(msgType)) { return new org.quickfix.fix44.QuoteStatusReport(); } if("i".equals(msgType)) { return new org.quickfix.fix44.MassQuote(); } if("b".equals(msgType)) { return new org.quickfix.fix44.MassQuoteAcknowledgement(); } if("V".equals(msgType)) { return new org.quickfix.fix44.MarketDataRequest(); } if("W".equals(msgType)) { return new org.quickfix.fix44.MarketDataSnapshotFullRefresh(); } if("X".equals(msgType)) { return new org.quickfix.fix44.MarketDataIncrementalRefresh(); } if("Y".equals(msgType)) { return new org.quickfix.fix44.MarketDataRequestReject(); } if("c".equals(msgType)) { return new org.quickfix.fix44.SecurityDefinitionRequest(); } if("d".equals(msgType)) { return new org.quickfix.fix44.SecurityDefinition(); } if("v".equals(msgType)) { return new org.quickfix.fix44.SecurityTypeRequest(); } if("w".equals(msgType)) { return new org.quickfix.fix44.SecurityTypes(); } if("x".equals(msgType)) { return new org.quickfix.fix44.SecurityListRequest(); } if("y".equals(msgType)) { return new org.quickfix.fix44.SecurityList(); } if("z".equals(msgType)) { return new org.quickfix.fix44.DerivativeSecurityListRequest(); } if("AA".equals(msgType)) { return new org.quickfix.fix44.DerivativeSecurityList(); } if("e".equals(msgType)) { return new org.quickfix.fix44.SecurityStatusRequest(); } if("f".equals(msgType)) { return new org.quickfix.fix44.SecurityStatus(); } if("g".equals(msgType)) { return new org.quickfix.fix44.TradingSessionStatusRequest(); } if("h".equals(msgType)) { return new org.quickfix.fix44.TradingSessionStatus(); } if("D".equals(msgType)) { return new org.quickfix.fix44.NewOrderSingle(); } if("8".equals(msgType)) { return new org.quickfix.fix44.ExecutionReport(); } if("Q".equals(msgType)) { return new org.quickfix.fix44.DontKnowTrade(); } if("G".equals(msgType)) { return new org.quickfix.fix44.OrderCancelReplaceRequest(); } if("F".equals(msgType)) { return new org.quickfix.fix44.OrderCancelRequest(); } if("9".equals(msgType)) { return new org.quickfix.fix44.OrderCancelReject(); } if("H".equals(msgType)) { return new org.quickfix.fix44.OrderStatusRequest(); } if("q".equals(msgType)) { return new org.quickfix.fix44.OrderMassCancelRequest(); } if("r".equals(msgType)) { return new org.quickfix.fix44.OrderMassCancelReport(); } if("AF".equals(msgType)) { return new org.quickfix.fix44.OrderMassStatusRequest(); } if("s".equals(msgType)) { return new org.quickfix.fix44.NewOrderCross(); } if("t".equals(msgType)) { return new org.quickfix.fix44.CrossOrderCancelReplaceRequest(); } if("u".equals(msgType)) { return new org.quickfix.fix44.CrossOrderCancelRequest(); } if("AB".equals(msgType)) { return new org.quickfix.fix44.NewOrderMultileg(); } if("AC".equals(msgType)) { return new org.quickfix.fix44.MultilegOrderCancelReplaceRequest(); } if("k".equals(msgType)) { return new org.quickfix.fix44.BidRequest(); } if("l".equals(msgType)) { return new org.quickfix.fix44.BidResponse(); } if("E".equals(msgType)) { return new org.quickfix.fix44.NewOrderList(); } if("m".equals(msgType)) { return new org.quickfix.fix44.ListStrikePrice(); } if("N".equals(msgType)) { return new org.quickfix.fix44.ListStatus(); } if("L".equals(msgType)) { return new org.quickfix.fix44.ListExecute(); } if("K".equals(msgType)) { return new org.quickfix.fix44.ListCancelRequest(); } if("M".equals(msgType)) { return new org.quickfix.fix44.ListStatusRequest(); } if("J".equals(msgType)) { return new org.quickfix.fix44.AllocationInstruction(); } if("P".equals(msgType)) { return new org.quickfix.fix44.AllocationInstructionAck(); } if("AS".equals(msgType)) { return new org.quickfix.fix44.AllocationReport(); } if("AS".equals(msgType)) { return new org.quickfix.fix44.AllocationReportAck(); } if("AK".equals(msgType)) { return new org.quickfix.fix44.Confirmation(); } if("AU".equals(msgType)) { return new org.quickfix.fix44.ConfirmationAck(); } if("BS".equals(msgType)) { return new org.quickfix.fix44.ConfirmationRequest(); } if("T".equals(msgType)) { return new org.quickfix.fix44.SettlementInstructions(); } if("AV".equals(msgType)) { return new org.quickfix.fix44.SettlementInstructionRequest(); } if("AD".equals(msgType)) { return new org.quickfix.fix44.TradeCaptureReportRequest(); } if("AQ".equals(msgType)) { return new org.quickfix.fix44.TradeCaptureReportRequestAck(); } if("AE".equals(msgType)) { return new org.quickfix.fix44.TradeCaptureReport(); } if("AR".equals(msgType)) { return new org.quickfix.fix44.TradeCaptureReportAck(); } if("o".equals(msgType)) { return new org.quickfix.fix44.RegistrationInstructions(); } if("p".equals(msgType)) { return new org.quickfix.fix44.RegistrationInstructionsResponse(); } if("AL".equals(msgType)) { return new org.quickfix.fix44.PositionMaintenanceRequest(); } if("AM".equals(msgType)) { return new org.quickfix.fix44.PositionMaintenanceReport(); } if("AN".equals(msgType)) { return new org.quickfix.fix44.RequestForPositions(); } if("AO".equals(msgType)) { return new org.quickfix.fix44.RequestForPositionsAck(); } if("AO".equals(msgType)) { return new org.quickfix.fix44.PositionReport(); } if("AW".equals(msgType)) { return new org.quickfix.fix44.AssignmentReport(); } if("AX".equals(msgType)) { return new org.quickfix.fix44.CollateralRequest(); } if("AY".equals(msgType)) { return new org.quickfix.fix44.CollateralAssignment(); } if("AZ".equals(msgType)) { return new org.quickfix.fix44.CollateralResponse(); } if("BA".equals(msgType)) { return new org.quickfix.fix44.CollateralReport(); } if("BB".equals(msgType)) { return new org.quickfix.fix44.CollateralInquiry(); } if("BB".equals(msgType)) { return new org.quickfix.fix44.CollateralInquiryAck(); } return new org.quickfix.fix44.Message(); }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MessageFactory.java/clean/src/java/src/quickfix/fix44/MessageFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2350, 752, 12, 514, 2376, 780, 16, 514, 1234, 559, 262, 288, 377, 309, 2932, 20, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 15894, 5621, 282, 289, 565, 309, 2932, 37, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 1343, 265, 5621, 282, 289, 565, 309, 2932, 21, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 4709, 691, 5621, 282, 289, 565, 309, 2932, 22, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 607, 409, 691, 5621, 282, 289, 565, 309, 2932, 23, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 21705, 5621, 282, 289, 565, 309, 2932, 24, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 4021, 7013, 5621, 282, 289, 565, 309, 2932, 25, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 19456, 5621, 282, 289, 565, 309, 2932, 78, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 13423, 1079, 21705, 5621, 282, 289, 565, 309, 2932, 27, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 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, 2350, 752, 12, 514, 2376, 780, 16, 514, 1234, 559, 262, 288, 377, 309, 2932, 20, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 15894, 5621, 282, 289, 565, 309, 2932, 37, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 1343, 265, 5621, 282, 289, 565, 309, 2932, 21, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 4709, 691, 5621, 282, 289, 565, 309, 2932, 22, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 2358, 18, 19525, 904, 18, 904, 6334, 18, 607, 409, 691, 2 ]
private void setDbname(String dbname) { this.dbname = dbname; }
void setDbname(String dbname) { this.dbname = dbname; }
private void setDbname(String dbname) { this.dbname = dbname; }
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/dc62a0a7cf481c21c3be647214959067a3b98f61/SimpleCrossRef.java/clean/src/org/biojavax/SimpleCrossRef.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 4331, 529, 12, 780, 18448, 13, 288, 333, 18, 20979, 273, 18448, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 4331, 529, 12, 780, 18448, 13, 288, 333, 18, 20979, 273, 18448, 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 ]
public void setText (String s) { t.setText (s);
public void setText (String s, boolean bringToFront, boolean immediately) { if (t.dlog!=null) t.dlog.setText(s, bringToFront, immediately); else t.setText (s);
public void setText (String s) { t.setText (s); }
57538 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57538/88e3c75ba71c7c3e23478b1c3ff126ef3c6fe3ab/ProgressIndicator.java/buggy/branches/Mesquite1.x/Mesquite Project/Source/mesquite/lib/ProgressIndicator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7883, 261, 780, 272, 13, 288, 202, 202, 88, 18, 542, 1528, 261, 87, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7883, 261, 780, 272, 13, 288, 202, 202, 88, 18, 542, 1528, 261, 87, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]