rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
canvas.setCaret (caret);
canvas.setCaret (newCaret);
void setCaret () { if (caretButton.getSelection ()) { Caret caret = new Caret(canvas, SWT.NONE); Font font = canvas.getFont(); caret.setFont(font); GC gc = new GC(canvas); gc.setFont(font); caret.setBounds(1, 1, 1, gc.getFontMetrics().getHeight()); gc.dispose(); canvas.setCaret (caret); canvas.setFocus(); } else { canvas.setCaret (null); } }
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/9a3cda5d64c981e35323e935639bdaa83395778b/CanvasTab.java/clean/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CanvasTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 11440, 20731, 1832, 288, 202, 202, 430, 261, 71, 20731, 3616, 18, 588, 6233, 1832, 13, 288, 1082, 202, 39, 20731, 21683, 273, 394, 385, 20731, 12, 15424, 16, 348, 8588, 18, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6459, 11440, 20731, 1832, 288, 202, 202, 430, 261, 71, 20731, 3616, 18, 588, 6233, 1832, 13, 288, 1082, 202, 39, 20731, 21683, 273, 394, 385, 20731, 12, 15424, 16, 348, 8588, 18, 9...
myDiffGenerator.displayFileDiff(path, tmpFile, null,
String displayPath = SVNPathUtil.append(myBasePath, path); myDiffGenerator.displayFileDiff(displayPath, tmpFile, null,
public void deleteEntry(String path, long revision) throws SVNException { SVNNodeKind nodeKind = myRepos.checkPath(path, myRevision); // fire file deleted or dir deleted. if (nodeKind == SVNNodeKind.FILE) { String name = SVNPathUtil.tail(path); File tmpFile = SVNFileUtil.createUniqueFile(myRoot, name, ".tmp"); SVNFileInfo info = new SVNFileInfo(path); try { info.loadFromRepository(tmpFile, myRepos, myRevision); String mimeType = (String) info.myBaseProperties .get(SVNProperty.MIME_TYPE); myDiffGenerator.displayFileDiff(path, tmpFile, null, myRevision1, myRevision2, mimeType, mimeType, myResult); } finally { if (tmpFile != null) { tmpFile.delete(); } } } }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/02b43b6607ca1c13f0a544ef175ffd767f405bca/SVNRemoteDiffEditor.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/wc/SVNRemoteDiffEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 1622, 12, 780, 589, 16, 1525, 6350, 13, 1216, 29537, 50, 503, 288, 3639, 29537, 50, 907, 5677, 756, 5677, 273, 3399, 28453, 18, 1893, 743, 12, 803, 16, 3399, 7939, 1769...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1430, 1622, 12, 780, 589, 16, 1525, 6350, 13, 1216, 29537, 50, 503, 288, 3639, 29537, 50, 907, 5677, 756, 5677, 273, 3399, 28453, 18, 1893, 743, 12, 803, 16, 3399, 7939, 1769...
.addNewSection("ImportExportAction");
.addNewSection("ImportExportTests");
private WizardProjectsImportPage getNewWizard(){ WizardProjectsImportPage wpip = new WizardProjectsImportPage(); Shell shell = getShell(); Composite parent = new Composite(shell, SWT.NONE); parent.setLayout(new GridLayout()); wpip.createControl(parent); ImportExportWizard wizard = new ImportExportWizard(); wizard.init(getWorkbench(), null); IDialogSettings workbenchSettings = WorkbenchPlugin.getDefault() .getDialogSettings(); IDialogSettings wizardSettings = workbenchSettings .getSection("ImportExportAction"); if (wizardSettings == null) wizardSettings = workbenchSettings .addNewSection("ImportExportAction"); wizard.setDialogSettings(wizardSettings); wizard.setForcePreviousAndNextButtons(true); WizardDialog dialog = new WizardDialog(getShell(), wizard); dialog.create(); dialog.getShell().setSize( Math.max(100, dialog.getShell().getSize().x), 100); wpip.setWizard(dialog.getCurrentPage().getWizard()); return wpip; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/4a7690623c4db93cdc6cd8355df99a2ad80df033/ImportExistingTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/datatransfer/ImportExistingTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 678, 13412, 15298, 5010, 1964, 12654, 27130, 1435, 95, 202, 202, 27130, 15298, 5010, 1964, 6357, 625, 273, 394, 678, 13412, 15298, 5010, 1964, 5621, 9506, 202, 13220, 5972, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 678, 13412, 15298, 5010, 1964, 12654, 27130, 1435, 95, 202, 202, 27130, 15298, 5010, 1964, 6357, 625, 273, 394, 678, 13412, 15298, 5010, 1964, 5621, 9506, 202, 13220, 5972, 273, ...
public void setRotation(int jointNumber, float time, Quaternion quaternion) { findUpToTime(time).setRotation(jointNumber, quaternion);
public void setRotation(int jointNumber, float time, float x, float y, float z) { findUpToTime(time).setRotation(jointNumber, x, y, z);
public void setRotation(int jointNumber, float time, Quaternion quaternion) { findUpToTime(time).setRotation(jointNumber, quaternion); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/6466d97e77a31ae6e9c3d4362cedf020585bf8df/JointController.java/buggy/src/com/jmex/model/animation/JointController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 14032, 12, 474, 15916, 1854, 16, 1431, 813, 16, 4783, 17848, 26774, 13, 288, 3639, 1104, 1211, 774, 950, 12, 957, 2934, 542, 14032, 12, 16452, 1854, 16, 26774, 1769, 565, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 14032, 12, 474, 15916, 1854, 16, 1431, 813, 16, 4783, 17848, 26774, 13, 288, 3639, 1104, 1211, 774, 950, 12, 957, 2934, 542, 14032, 12, 16452, 1854, 16, 26774, 1769, 565, ...
iVisited.accept(_Payload);
_Payload.visitForNode(iVisited);
public void visitForNode(ForNode iVisited) { iVisited.accept(_Payload); }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 31058, 12, 31058, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 31058, 12, 31058, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
private boolean redirectLink(final String url) { if (url.indexOf("/topic/") != -1) { //$NON-NLS-1$ if (url.indexOf("noframes") == -1) { //$NON-NLS-1$ //char sep = url.lastIndexOf('?') != -1 ? '&' : '?'; //String newURL = url + sep + "noframes=true"; //$NON-NLS-1$ return true; } } else if (url.startsWith("javascript:liveAction(")) { //$NON-NLS-1$ return processLiveAction(url); } return false; }
13822 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13822/f6406dbcf97b7b4fa6c6db4deb7898a401e21d81/BrowserPart.java/buggy/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/BrowserPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 3136, 2098, 12, 6385, 514, 880, 13, 288, 202, 202, 430, 261, 718, 18, 31806, 2932, 19, 10476, 4898, 13, 480, 300, 21, 13, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3136, 2098, 12, 6385, 514, 880, 13, 288, 202, 202, 430, 261, 718, 18, 31806, 2932, 19, 10476, 4898, 13, 480, 300, 21, 13, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, ...
if (this.sourceParser != null) this.sourceParser.problemReporter().javadocInvalidTag(this.inlineTagStart, charPosition);
if (this.sourceParser != null) this.sourceParser.problemReporter().javadocInvalidTag(this.inlineTagStart, endTextPosition);
protected boolean parseComment(int javadocStart, int javadocEnd) { boolean validComment = true; try { // Init scanner position this.scanner.resetTo(javadocStart, javadocEnd); this.endComment = javadocEnd; this.index = javadocStart; readChar(); // starting '/' int charPosition = this.index; readChar(); // first '*' char nextCharacter= readChar(); // second '*' // Init local variables this.astLengthPtr = -1; this.astPtr = -1; this.currentTokenType = -1; this.inlineTagStarted = false; this.inlineTagStart = -1; this.lineStarted = false; this.returnStatement = null; this.inherited = false; this.deprecated = false; this.linePtr = getLineNumber(javadocStart); this.lastLinePtr = getLineNumber(javadocEnd); this.lineEnd = (this.linePtr == this.lastLinePtr) ? this.endComment : javadocStart; this.textStart = -1; char previousChar = 0; // Loop on each comment character while (this.index < this.endComment) { int previousPosition = this.index; previousChar = nextCharacter; // Calculate line end (cannot use this.scanner.linePtr as scanner does not parse line ends again) if (this.index > (this.lineEnd+1)) { updateLineEnd(); this.lineStarted = false; } // Read next char only if token was consumed if (this.currentTokenType < 0) { nextCharacter = readChar(); // consider unicodes } else { previousPosition = this.scanner.getCurrentTokenStartPosition(); switch (this.currentTokenType) { case TerminalTokens.TokenNameRBRACE: nextCharacter = '}'; break; case TerminalTokens.TokenNameMULTIPLY: nextCharacter = '*'; break; default: nextCharacter = this.scanner.currentCharacter; } consumeToken(); } if (this.index >= this.endComment) { break; } switch (nextCharacter) { case '@' : boolean valid = false; // Start tag parsing only if we are on line beginning or at inline tag beginning if (!this.lineStarted || previousChar == '{') { this.lineStarted = true; if (this.inlineTagStarted) { this.inlineTagStarted = false; if (this.sourceParser != null) this.sourceParser.problemReporter().javadocInvalidTag(this.inlineTagStart, charPosition); validComment = false; } else { if (previousChar == '{') { if (this.textStart != -1 && this.textStart <= charPosition) { pushText(this.textStart, charPosition); } this.inlineTagStarted = true; } this.scanner.resetTo(this.index, this.endComment); this.currentTokenType = -1; // flush token cache at line begin try { int tk = readTokenAndConsume(); this.tagSourceStart = this.kind == COMPIL_PARSER ? this.scanner.getCurrentTokenStartPosition() : previousPosition; this.tagSourceEnd = this.scanner.getCurrentTokenEndPosition(); switch (tk) { case TerminalTokens.TokenNameIdentifier : char[] tag = this.scanner.getCurrentIdentifierSource(); if (CharOperation.equals(tag, TAG_DEPRECATED)) { this.deprecated = true; if (this.kind == DOM_PARSER) { valid = parseTag(); } else { valid = true; } } else if (CharOperation.equals(tag, TAG_INHERITDOC)) { this.inherited = true; if (this.kind == DOM_PARSER) { valid = parseTag(); } else { valid = true; } } else if (CharOperation.equals(tag, TAG_PARAM)) { valid = parseParam(); } else if (CharOperation.equals(tag, TAG_EXCEPTION)) { valid = parseThrows(false); } else if (CharOperation.equals(tag, TAG_SEE) || CharOperation.equals(tag, TAG_LINK)) { valid = parseSee(false); } else if (CharOperation.equals(tag, TAG_LINKPLAIN)) { valid = parseSee(true); } else { valid = parseTag(); } break; case TerminalTokens.TokenNamereturn : valid = parseReturn(); break; case TerminalTokens.TokenNamethrows : valid = parseThrows(true); break; default: if (this.kind == DOM_PARSER) { switch (tk) { case TerminalTokens.TokenNameabstract: case TerminalTokens.TokenNameassert: case TerminalTokens.TokenNameboolean: case TerminalTokens.TokenNamebreak: case TerminalTokens.TokenNamebyte: case TerminalTokens.TokenNamecase: case TerminalTokens.TokenNamecatch: case TerminalTokens.TokenNamechar: case TerminalTokens.TokenNameclass: case TerminalTokens.TokenNamecontinue: case TerminalTokens.TokenNamedefault: case TerminalTokens.TokenNamedo: case TerminalTokens.TokenNamedouble: case TerminalTokens.TokenNameelse: case TerminalTokens.TokenNameextends: case TerminalTokens.TokenNamefalse: case TerminalTokens.TokenNamefinal: case TerminalTokens.TokenNamefinally: case TerminalTokens.TokenNamefloat: case TerminalTokens.TokenNamefor: case TerminalTokens.TokenNameif: case TerminalTokens.TokenNameimplements: case TerminalTokens.TokenNameimport: case TerminalTokens.TokenNameinstanceof: case TerminalTokens.TokenNameint: case TerminalTokens.TokenNameinterface: case TerminalTokens.TokenNamelong: case TerminalTokens.TokenNamenative: case TerminalTokens.TokenNamenew: case TerminalTokens.TokenNamenull: case TerminalTokens.TokenNamepackage: case TerminalTokens.TokenNameprivate: case TerminalTokens.TokenNameprotected: case TerminalTokens.TokenNamepublic: case TerminalTokens.TokenNameshort: case TerminalTokens.TokenNamestatic: case TerminalTokens.TokenNamestrictfp: case TerminalTokens.TokenNamesuper: case TerminalTokens.TokenNameswitch: case TerminalTokens.TokenNamesynchronized: case TerminalTokens.TokenNamethis: case TerminalTokens.TokenNamethrow: case TerminalTokens.TokenNametransient: case TerminalTokens.TokenNametrue: case TerminalTokens.TokenNametry: case TerminalTokens.TokenNamevoid: case TerminalTokens.TokenNamevolatile: case TerminalTokens.TokenNamewhile: valid = parseTag(); break; } } } if (!valid) { this.inlineTagStarted = false; validComment = false; } this.textStart = this.index; } catch (InvalidInputException e) { consumeToken(); } } } break; case '\r': case '\n': int position = previousChar == '{' ? this.inlineTagStart : charPosition; if (this.lineStarted && this.textStart <= position) { pushText(this.textStart, position); } this.lineStarted = false; this.inlineTagStarted = false; // Fix bug 51650 this.textStart = -1; break; case '}' : if (this.inlineTagStarted) { if (this.lineStarted && this.textStart != -1 && this.textStart <= charPosition) { pushText(this.textStart, charPosition); } if (this.kind == DOM_PARSER) refreshInlineTagPosition(previousPosition); this.textStart = this.index; this.inlineTagStarted = false; } else /*if (this.index <= this.lineEnd)*/ { if (!this.lineStarted) { this.textStart = previousPosition; } this.lineStarted = true; charPosition = previousPosition; } break; case '{' : if (this.inlineTagStarted) { this.inlineTagStarted = false; if (this.sourceParser != null) this.sourceParser.problemReporter().javadocInvalidTag(this.inlineTagStart, this.index); } else { if (!this.lineStarted) { this.textStart = previousPosition; } this.lineStarted = true; this.inlineTagStart = previousPosition; } break; case '*' : charPosition = previousPosition; break; default : charPosition = previousPosition; if (!CharOperation.isWhitespace(nextCharacter)) { if (!this.lineStarted) { this.textStart = previousPosition; } this.lineStarted = true; } } } if (this.lineStarted && this.textStart <= charPosition) { pushText(this.textStart, charPosition); } updateDocComment(); } catch (Exception ex) { validComment = false; } return validComment; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f174c5e3ec66ea2a46810b190cc3e9d57c0432d4/AbstractCommentParser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1109, 4469, 12, 474, 30829, 1685, 16, 509, 30829, 1638, 13, 288, 202, 202, 6494, 923, 4469, 273, 638, 31, 202, 202, 698, 288, 1082, 202, 759, 4378, 7683, 1754, 1082, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1109, 4469, 12, 474, 30829, 1685, 16, 509, 30829, 1638, 13, 288, 202, 202, 6494, 923, 4469, 273, 638, 31, 202, 202, 698, 288, 1082, 202, 759, 4378, 7683, 1754, 1082, 20...
stmt.close();
cstmt.close();
public void testCallableStatementCall3() throws Exception { CallableStatement stmt = con.prepareCall("{cAlL sp_who}"); makeTestTables(stmt); makeObjects(stmt, 8); ResultSet rs = stmt.executeQuery(); dump(rs); stmt.close(); rs.close(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/82e071830c67bf62386b872011056875698616fc/CallableStatementTest.java/clean/src/test/net/sourceforge/jtds/test/CallableStatementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 11452, 3406, 1477, 23, 1435, 1216, 1185, 288, 3639, 10464, 3406, 3480, 273, 356, 18, 9366, 1477, 2932, 95, 71, 1067, 48, 1694, 67, 3350, 83, 1532, 1769, 3639, 1221, 4709,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11452, 3406, 1477, 23, 1435, 1216, 1185, 288, 3639, 10464, 3406, 3480, 273, 356, 18, 9366, 1477, 2932, 95, 71, 1067, 48, 1694, 67, 3350, 83, 1532, 1769, 3639, 1221, 4709,...
rectElement.setAttributeNS(SVG_NAMESPACE_URI, attrName, attrValue);
rectElement.setAttributeNS(null, attrName, attrValue);
public static void main(String args[]) throws Exception { Document domFactory = TestUtil.getDocumentPrototype(); BasicStroke strokes[] = { new BasicStroke(), new BasicStroke(2), new BasicStroke(4.5f), new BasicStroke(10, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER), new BasicStroke(10, BasicStroke.CAP_SQUARE, BasicStroke.JOIN_MITER), new BasicStroke(10, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER), new BasicStroke(10, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL), new BasicStroke(10, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND), new BasicStroke(50, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER, 100), new BasicStroke(75, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 50, new float[]{1, 2, 3, 4}, 0.5f), new BasicStroke(75, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 60, new float[]{10.1f, 2.4f, 3.5f, 4.2f}, 10) }; Element rectGroup = domFactory.createElement(SVG_G_TAG); for(int i=0; i<strokes.length; i++){ BasicStroke stroke = strokes[i]; Map attrMap = SVGBasicStroke.toSVG(stroke).getAttributeMap(null); Element rectElement = domFactory.createElement(TAG_RECT); Iterator iter = attrMap.keySet().iterator(); while(iter.hasNext()){ String attrName = (String)iter.next(); String attrValue = (String)attrMap.get(attrName); rectElement.setAttributeNS(SVG_NAMESPACE_URI, attrName, attrValue); } rectGroup.appendChild(rectElement); } TestUtil.trace(rectGroup, System.out); }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/1eba15bba785966c5a634ceb48d3d17caf1d9a47/SVGBasicStroke.java/buggy/sources/org/apache/batik/svggen/SVGBasicStroke.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 1216, 1185, 288, 3639, 4319, 4092, 1733, 273, 7766, 1304, 18, 588, 2519, 15846, 5621, 3639, 7651, 14602, 384, 3250, 281, 8526, 273, 288, 394,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 2774, 12, 780, 833, 63, 5717, 1216, 1185, 288, 3639, 4319, 4092, 1733, 273, 7766, 1304, 18, 588, 2519, 15846, 5621, 3639, 7651, 14602, 384, 3250, 281, 8526, 273, 288, 394,...
case Types.BOOLEAN: case Types.BIT: return new PGBoolean( val.doubleValue() == 0?Boolean.FALSE:Boolean.TRUE ); case Types.BIGINT: return new PGLong(new Long( val.longValue() )); case Types.INTEGER: return new PGInteger(new Integer( val.intValue() ) ); case Types.TINYINT: case Types.SMALLINT: return new PGShort(new Short( val.shortValue() )); case Types.VARCHAR: case Types.LONGVARCHAR: return new PGString( val.toString() ); case Types.DOUBLE: case Types.FLOAT: return( new PGDouble( new Double( val.doubleValue()))); case Types.REAL: return (new PGFloat( new Float( val.floatValue()))); case Types.DECIMAL: case Types.NUMERIC: return new PGNumber( val ); default: return new PGUnknown(val); }
case Types.BIT: return new PGBoolean( val.doubleValue() == 0?Boolean.FALSE:Boolean.TRUE ); case Types.BIGINT: return new PGLong(new Long( val.longValue() )); case Types.INTEGER: return new PGInteger(new Integer( val.intValue() ) ); case Types.TINYINT: case Types.SMALLINT: return new PGShort(new Short( val.shortValue() )); case Types.VARCHAR: case Types.LONGVARCHAR: return new PGString( val.toString() ); case Types.DOUBLE: case Types.FLOAT: return( new PGDouble( new Double( val.doubleValue()))); case Types.REAL: return (new PGFloat( new Float( val.floatValue()))); case Types.DECIMAL: case Types.NUMERIC: return new PGNumber( val ); default: return new PGUnknown(val); }
public static PGType castToServerType( Number val, int targetType ) throws PSQLException { try { switch ( targetType ) { case Types.BOOLEAN: case Types.BIT: return new PGBoolean( val.doubleValue() == 0?Boolean.FALSE:Boolean.TRUE ); case Types.BIGINT: return new PGLong(new Long( val.longValue() )); case Types.INTEGER: return new PGInteger(new Integer( val.intValue() ) ); case Types.TINYINT: case Types.SMALLINT: return new PGShort(new Short( val.shortValue() )); case Types.VARCHAR: case Types.LONGVARCHAR: return new PGString( val.toString() ); case Types.DOUBLE: case Types.FLOAT: return( new PGDouble( new Double( val.doubleValue()))); case Types.REAL: return (new PGFloat( new Float( val.floatValue()))); case Types.DECIMAL: case Types.NUMERIC: return new PGNumber( val ); default: return new PGUnknown(val); } } catch( Exception ex ) { throw new PSQLException(GT.tr("Cannot convert an instance of {0} to type {1}", new Object[]{val.getClass().getName(),"Types.OTHER"}), PSQLState.INVALID_PARAMETER_TYPE, ex); } }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/e07082a29b8cf12202511076b7024014c859f323/PGNumber.java/clean/org/postgresql/core/types/PGNumber.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 22116, 559, 4812, 774, 2081, 559, 12, 3588, 1244, 16, 509, 16065, 262, 1216, 453, 23116, 565, 288, 3639, 775, 3639, 288, 5411, 1620, 261, 16065, 262, 5411, 288, 5411, 648, 7658...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22116, 559, 4812, 774, 2081, 559, 12, 3588, 1244, 16, 509, 16065, 262, 1216, 453, 23116, 565, 288, 3639, 775, 3639, 288, 5411, 1620, 261, 16065, 262, 5411, 288, 5411, 648, 7658...
return !(getter instanceof UndefMethods);
return getter != undefMethods && setter != undefMethods;
public boolean isDefined() { return !(getter instanceof UndefMethods); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/4e4bb40b2eb2d38881d15ca8ef7cda4c34323793/RubyGlobalEntry.java/buggy/org/jruby/runtime/RubyGlobalEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 25048, 1435, 288, 3639, 327, 7060, 480, 640, 536, 4712, 597, 7794, 480, 640, 536, 4712, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 25048, 1435, 288, 3639, 327, 7060, 480, 640, 536, 4712, 597, 7794, 480, 640, 536, 4712, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
/* Uninitialized constant */ if (this != getRuby().getClasses().getObjectClass()) { throw new RubyNameException( getRuby(), "uninitialized constant " + id.toName() + " at " + getClassPath().getValue()); } else { throw new RubyNameException(getRuby(), "uninitialized constant " + id.toName()); }
/* Uninitialized constant */ if (this != getRuby().getClasses().getObjectClass()) { throw new RubyNameException( getRuby(), "uninitialized constant " + id.toName() + " at " + getClassPath().getValue()); } else { throw new RubyNameException(getRuby(), "uninitialized constant " + id.toName()); }
public RubyObject getConstant(RubyId id) { boolean mod_retry = false; RubyModule tmp = this; while (true) { while (tmp != null) { if (tmp.getInstanceVariables().get(id) != null) { return (RubyObject) tmp.getInstanceVariables().get(id); } if (tmp == getRuby().getClasses().getObjectClass() && getRuby().getTopConstant(id) != null) { return getRuby().getTopConstant(id); } tmp = tmp.getSuperClass(); } if (!mod_retry && isModule()) { mod_retry = true; tmp = getRuby().getClasses().getObjectClass(); continue; } break; } /* Uninitialized constant */ if (this != getRuby().getClasses().getObjectClass()) { throw new RubyNameException( getRuby(), "uninitialized constant " + id.toName() + " at " + getClassPath().getValue()); } else { throw new RubyNameException(getRuby(), "uninitialized constant " + id.toName()); } // return getRuby().getNil(); }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 24337, 12, 54, 10340, 548, 612, 13, 288, 202, 202, 6494, 681, 67, 9620, 273, 629, 31, 202, 202, 54, 10340, 3120, 1853, 273, 333, 31, 202, 202, 17523, 261, 3767, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19817, 921, 24337, 12, 54, 10340, 548, 612, 13, 288, 202, 202, 6494, 681, 67, 9620, 273, 629, 31, 202, 202, 54, 10340, 3120, 1853, 273, 333, 31, 202, 202, 17523, 261, 3767, ...
setConfirmationMailEnabled(Boolean.valueOf(stringValue).booleanValue());
setConfirmationMailEnabled(Boolean.valueOf(stringValue).booleanValue());
private void initFormGlobalConfiguration(CmsXmlContent content, CmsObject cms, Locale locale, CmsMessages messages) throws Exception { // get the form text String stringValue = content.getStringValue(cms, C_NODE_FORMTEXT, locale); setFormText(getConfigurationValue(stringValue, "")); // get the form confirmation text stringValue = content.getStringValue(cms, C_NODE_FORMCONFIRMATION, locale); setFormConfirmationText(getConfigurationValue(stringValue, "")); // get the mail from address stringValue = content.getStringValue(cms, C_NODE_MAILFROM, locale); setMailFrom(getConfigurationValue(stringValue, "")); // get the mail to address(es) stringValue = content.getStringValue(cms, C_NODE_MAILTO, locale); setMailTo(getConfigurationValue(stringValue, "")); // get the mail subject stringValue = content.getStringValue(cms, C_NODE_MAILSUBJECT, locale); setMailSubject(getConfigurationValue(stringValue, "")); // get the optional mail subject prefix from localized messages stringValue = messages.key("form.mailsubject.prefix"); if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(stringValue)) { // prefix present, set it setMailSubjectPrefix(stringValue + " "); } else { // no prefix present setMailSubjectPrefix(""); } // get the mail text as plain text CmsXmlHtmlValue mailTextValue = (CmsXmlHtmlValue)content.getValue(C_NODE_MAILTEXT, locale); stringValue = mailTextValue.getPlainText(cms); setMailTextPlain(getConfigurationValue(stringValue, "")); // get the mail text stringValue = mailTextValue.getStringValue(cms); setMailText(getConfigurationValue(stringValue, "")); // optional configuration options String pathPrefix = C_NODE_OPTIONALCONFIGURATION + "/"; // get the mail type stringValue = content.getStringValue(cms, pathPrefix + C_NODE_MAILTYPE, locale); setMailType(getConfigurationValue(stringValue, C_MAILTYPE_HTML)); // get the mail CC recipient(s) stringValue = content.getStringValue(cms, pathPrefix + C_NODE_MAILCC, locale); setMailCC(getConfigurationValue(stringValue, "")); // get the mail BCC recipient(s) stringValue = content.getStringValue(cms, pathPrefix + C_NODE_MAILBCC, locale); setMailBCC(getConfigurationValue(stringValue, "")); // get the form check page flag stringValue = content.getStringValue(cms, pathPrefix + C_NODE_SHOWCHECK, locale); setShowCheck(Boolean.valueOf(stringValue).booleanValue()); // get the check page text stringValue = content.getStringValue(cms, pathPrefix + C_NODE_FORMCHECKTEXT, locale); setFormCheckText(getConfigurationValue(stringValue, "")); // get the form attributes stringValue = content.getStringValue(cms, pathPrefix + C_NODE_FORMATTRIBUTES, locale); if (CmsStringUtil.isNotEmpty(stringValue)) { setFormAttributes(" " + stringValue); } // get the field attributes stringValue = content.getStringValue(cms, pathPrefix + C_NODE_FORMFIELDATTRIBUTES, locale); if (CmsStringUtil.isNotEmpty(stringValue)) { setFormFieldAttributes(" " + stringValue); } else { // no field attributes specified, check default field attributes String defaultAttributes = messages.key("form.field.default.attributes"); if (CmsStringUtil.isNotEmpty(defaultAttributes)) { setFormFieldAttributes(" " + defaultAttributes); } } // optional confirmation mail nodes pathPrefix = C_NODE_OPTIONALCONFIRMATION + "/"; // get the confirmation mail enabled flag stringValue = content.getStringValue(cms, pathPrefix + C_NODE_CONFIRMATIONMAILENABLED, locale); setConfirmationMailEnabled(Boolean.valueOf(stringValue).booleanValue()); // get other confirmation mail nodes only if confirmation mail is enabled if (isConfirmationMailEnabled()) { // get the confirmation mail subject stringValue = content.getStringValue(cms, pathPrefix + C_NODE_CONFIRMATIONMAILSUBJECT, locale); setConfirmationMailSubject(getConfigurationValue(stringValue, "")); // get the confirmation mail text mailTextValue = (CmsXmlHtmlValue)content.getValue(pathPrefix + C_NODE_CONFIRMATIONMAILTEXT, locale); stringValue = mailTextValue.getPlainText(cms); setConfirmationMailTextPlain(getConfigurationValue(stringValue, "")); stringValue = mailTextValue.getStringValue(cms); setConfirmationMailText(getConfigurationValue(stringValue, "")); // get the confirmation mail field index number stringValue = content.getStringValue(cms, pathPrefix + C_NODE_CONFIRMATIONMAILFIELD, locale); int fieldIndex = 1; try { fieldIndex = Integer.parseInt(getConfigurationValue(stringValue, "1")) - 1; } catch (Exception e) { // ignore this exception, use first field } setConfirmationMailField(fieldIndex); // get the confirmation mail optional flag stringValue = content.getStringValue(cms, pathPrefix + C_NODE_CONFIRMATIONMAILOPTIONAL, locale); setConfirmationMailOptional(Boolean.valueOf(stringValue).booleanValue()); // get the confirmation mail checkbox label text stringValue = content.getStringValue(cms, pathPrefix + C_NODE_CONFIRMATIONMAILCHECKBOXLABEL, locale); setConfirmationMailCheckboxLabel(getConfigurationValue(stringValue, messages.key("form.confirmation.checkbox"))); } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/41dcaa9d1a1b8f8fa6c1dd9a04fc8532eb83ebb7/CmsForm.java/buggy/src-modules/org/opencms/frontend/templateone/form/CmsForm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1204, 5160, 1750, 12, 4747, 27415, 913, 16, 14371, 6166, 16, 6458, 2573, 16, 2149, 5058, 2743, 13, 1216, 1185, 288, 7734, 368, 336, 326, 646, 977, 3639, 514, 19721, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1204, 5160, 1750, 12, 4747, 27415, 913, 16, 14371, 6166, 16, 6458, 2573, 16, 2149, 5058, 2743, 13, 1216, 1185, 288, 7734, 368, 336, 326, 646, 977, 3639, 514, 19721, 273, ...
public void setColor( String colorValue )
public void setColor( String colorValue ) throws SemanticException
public void setColor( String colorValue ) { setPropertySilently( CustomColor.COLOR_MEMBER, colorValue ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ed446d9623424260d8ee1e1afb63abb84e497547/CustomColorHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/CustomColorHandle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 16207, 12, 514, 2036, 620, 262, 202, 95, 202, 202, 542, 1396, 55, 8125, 715, 12, 6082, 2957, 18, 10989, 67, 19630, 16, 2036, 620, 11272, 202, 97, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 16207, 12, 514, 2036, 620, 262, 202, 95, 202, 202, 542, 1396, 55, 8125, 715, 12, 6082, 2957, 18, 10989, 67, 19630, 16, 2036, 620, 11272, 202, 97, 2, -100, -100, -100, -...
BuildProblem(String name, String token, String message) {
BuildProblem(String name, String token, String message, int fixId) {
BuildProblem(String name, String token, String message) { fEntryName = name; fEntryToken = token; fMessage = message; }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/a6f454c5d638c8d1e73081336f008bf44d0d46a2/BuildErrorReporter.java/buggy/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/BuildErrorReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 3116, 13719, 12, 780, 508, 16, 514, 1147, 16, 514, 883, 13, 288, 1082, 202, 74, 1622, 461, 273, 508, 31, 1082, 202, 74, 1622, 1345, 273, 1147, 31, 1082, 202, 74, 1079, 273, 883,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 3116, 13719, 12, 780, 508, 16, 514, 1147, 16, 514, 883, 13, 288, 1082, 202, 74, 1622, 461, 273, 508, 31, 1082, 202, 74, 1622, 1345, 273, 1147, 31, 1082, 202, 74, 1079, 273, 883,...
MylarTaskListPlugin.getTaskListManager().setToday(reminderCalendar);
MylarTaskListPlugin.getTaskListManager().setScheduledToday(reminderCalendar);
public void run() { Task newTask = new Task(MylarTaskListPlugin.getTaskListManager().genUniqueTaskHandle(), DESCRIPTION_DEFAULT, true); newTask.setUrl(getDefaultIssueURL()); Calendar reminderCalendar = GregorianCalendar.getInstance(); MylarTaskListPlugin.getTaskListManager().setToday(reminderCalendar); MylarTaskListPlugin.getTaskListManager().setReminder(newTask, reminderCalendar.getTime()); Object selectedObject = ((IStructuredSelection) view.getViewer().getSelection()).getFirstElement(); if (selectedObject instanceof TaskCategory) { MylarTaskListPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) selectedObject); } else if (selectedObject instanceof ITask) { ITask task = (ITask) selectedObject; if (task.getContainer() instanceof TaskCategory) { MylarTaskListPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) task.getContainer()); } else if (view.getDrilledIntoCategory() instanceof TaskCategory) { MylarTaskListPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) view.getDrilledIntoCategory()); } else { MylarTaskListPlugin.getTaskListManager().getTaskList().addTask(newTask, MylarTaskListPlugin.getTaskListManager().getTaskList().getRootCategory()); // MylarTaskListPlugin.getTaskListManager().getTaskList().moveToRoot(newTask); } } else if (view.getDrilledIntoCategory() instanceof TaskCategory) { MylarTaskListPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) view.getDrilledIntoCategory()); } else { if (view.getDrilledIntoCategory() != null) { MessageDialog.openInformation(Display.getCurrent().getActiveShell(), MylarTaskListPlugin.TITLE_DIALOG, "The new task has been added to the root of the list, since tasks can not be added to a query."); } MylarTaskListPlugin.getTaskListManager().getTaskList().addTask(newTask, MylarTaskListPlugin.getTaskListManager().getTaskList().getRootCategory()); } TaskUiUtil.openEditor(newTask, true); // newTask.openTaskInEditor(false); view.getViewer().refresh(); view.setInRenameAction(true); view.getViewer().editElement(newTask, 4); view.setInRenameAction(false);// view.getViewer().setSelection(new StructuredSelection(newTask)); // } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/c29edb74f603aed39387091c4a60d36044b650be/NewLocalTaskAction.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/actions/NewLocalTaskAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 2174, 394, 2174, 273, 394, 3837, 12, 12062, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 2174, 3259, 9334, 21736, 67, 5280,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 2174, 394, 2174, 273, 394, 3837, 12, 12062, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 2174, 3259, 9334, 21736, 67, 5280,...
HashSet ancestors = new HashSet(); ancestors.add(clazz); ArrayList extra = new ArrayList(); while (true) { for (Iterator iterator = ancestors.iterator(); iterator.hasNext();) { Class ancestor = (Class) iterator.next(); final Class superclass = ancestor.getSuperclass(); if (superclass != null && !ancestors.contains(superclass)) { extra.add(superclass); } final Class[] interfaces = ancestor.getInterfaces(); for (int i = 0; i < interfaces.length; i++) { Class anInterface = interfaces[i]; if (!ancestors.contains(anInterface)) { extra.add(anInterface); } } } if (extra.isEmpty()) { return (Class[]) ancestors.toArray(emptyClassArray); } ancestors.addAll(extra); extra.clear(); } }
HashSet ancestors = new HashSet(); ancestors.add(clazz); ArrayList extra = new ArrayList(); while (true) { for (Iterator iterator = ancestors.iterator(); iterator.hasNext();) { Class ancestor = (Class) iterator.next(); final Class superclass = ancestor.getSuperclass(); if (superclass != null && !ancestors.contains(superclass)) { extra.add(superclass); } final Class[] interfaces = ancestor.getInterfaces(); for (int i = 0; i < interfaces.length; i++) { Class anInterface = interfaces[i]; if (!ancestors.contains(anInterface)) { extra.add(anInterface); } } } if (extra.isEmpty()) { return (Class[]) ancestors.toArray(emptyClassArray); } ancestors.addAll(extra); extra.clear(); } }
private Class[] getAncestors(Class clazz) { HashSet ancestors = new HashSet(); ancestors.add(clazz); ArrayList extra = new ArrayList(); while (true) { for (Iterator iterator = ancestors.iterator(); iterator.hasNext();) { Class ancestor = (Class) iterator.next(); final Class superclass = ancestor.getSuperclass(); if (superclass != null && !ancestors.contains(superclass)) { extra.add(superclass); } final Class[] interfaces = ancestor.getInterfaces(); for (int i = 0; i < interfaces.length; i++) { Class anInterface = interfaces[i]; if (!ancestors.contains(anInterface)) { extra.add(anInterface); } } } if (extra.isEmpty()) { return (Class[]) ancestors.toArray(emptyClassArray); } ancestors.addAll(extra); extra.clear(); } }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/Model.java/clean/src/main/mondrian/jolap/util/Model.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 1659, 8526, 336, 28304, 12, 797, 4003, 13, 288, 1082, 202, 13482, 14322, 273, 394, 6847, 5621, 1082, 202, 304, 11116, 18, 1289, 12, 830, 3638, 1769, 1082, 202, 19558, 2870, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 1659, 8526, 336, 28304, 12, 797, 4003, 13, 288, 1082, 202, 13482, 14322, 273, 394, 6847, 5621, 1082, 202, 304, 11116, 18, 1289, 12, 830, 3638, 1769, 1082, 202, 19558, 2870, 27...
"1. ERROR in test2\\FooBar.java (at line 7)\r\n" + " this.s = \"foo\";\r\n" +
"1. ERROR in test2\\FooBar.java (at line 7)\n" + " this.s = \"foo\";\n" +
public void test471() { this.runNegativeTest( new String[] { "test/Foo.java", "package test; \n" + "public class Foo<R> { \n" + " protected R s; \n" + " protected R dosomething(){ return s; } \n" + " protected class Bar {} \n" + "} \n", "test2/FooBar.java", "package test2; \n" + "import test.Foo; \n" + "public class FooBar<R> extends Foo<R> { \n" + " void fail() { \n" + " FooBar<String> f = new FooBar<String>(); \n" + " f.s = \"foo\"; \n" + " this.s = \"foo\";\n" + " f.dosomething(); \n" + " this.dosomething(); \n" + " Bar b1; \n" + " FooBar<String>.Bar b2; \n" + " Foo<String>.Bar b3; \n" + " } \n" + "}\n" }, "----------\n" + "1. ERROR in test2\\FooBar.java (at line 7)\r\n" + " this.s = \"foo\";\r\n" + " ^^^^^\n" + "Type mismatch: cannot convert from String to R\n" + "----------\n" ); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/c30613b3c1eac52834666cb07a38e3f9077e1829/GenericTypeTest.java/clean/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9462, 21, 1435, 288, 202, 202, 2211, 18, 2681, 14959, 4709, 12, 1082, 202, 2704, 514, 8526, 288, 9506, 202, 6, 3813, 19, 42, 5161, 18, 6290, 3113, 9506, 202, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9462, 21, 1435, 288, 202, 202, 2211, 18, 2681, 14959, 4709, 12, 1082, 202, 2704, 514, 8526, 288, 9506, 202, 6, 3813, 19, 42, 5161, 18, 6290, 3113, 9506, 202, 6, 5...
getSessionData().logResponseTarget(target);
getCurrentRequest().addResponseTarget(getRequestTargetString(target));
public void logResponseTarget(IRequestTarget target) { getSessionData().logResponseTarget(target); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/8ca2fb1d0304341a71620b6508917c9031cab4ea/RequestLogger.java/buggy/wicket/src/java/wicket/protocol/http/RequestLogger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 613, 1064, 2326, 12, 45, 691, 2326, 1018, 13, 202, 95, 202, 202, 588, 2157, 751, 7675, 1330, 1064, 2326, 12, 3299, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 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, 613, 1064, 2326, 12, 45, 691, 2326, 1018, 13, 202, 95, 202, 202, 588, 2157, 751, 7675, 1330, 1064, 2326, 12, 3299, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, ...
file = "";
file = null; dir = null; prefix = null;
public Object readSaver(Element node) throws Exception { Object result; Vector children; Element child; int i; String name; String file; // for debugging only if (DEBUG) trace(new Throwable(), node.getAttribute(ATT_NAME)); m_CurrentNode = node; result = Class.forName(node.getAttribute(ATT_CLASS)).newInstance(); children = XMLDocument.getChildTags(node); file = ""; for (i = 0; i < children.size(); i++) { child = (Element) children.get(i); name = child.getAttribute(ATT_NAME); if (name.equals(VAL_FILE)) file = (String) invokeReadFromXML(child); else readFromXML(result, name, child); } if (file.equals("")) file = null; if (file != null) { ((weka.core.converters.AbstractSaver) result).setFile(new File(file)); ((weka.core.converters.AbstractSaver) result).setDestination(new File(file)); } return result; }
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/d90be641a59aaee24e07fb625fc9890a477f7370/XMLBeans.java/buggy/weka/gui/beans/xml/XMLBeans.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 855, 55, 21851, 12, 1046, 756, 13, 1216, 1185, 288, 565, 1033, 1377, 563, 31, 565, 5589, 1377, 2325, 31, 565, 3010, 377, 1151, 31, 565, 509, 540, 277, 31, 565, 514, 1377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 855, 55, 21851, 12, 1046, 756, 13, 1216, 1185, 288, 565, 1033, 1377, 563, 31, 565, 5589, 1377, 2325, 31, 565, 3010, 377, 1151, 31, 565, 509, 540, 277, 31, 565, 514, 1377, ...
for (Enumeration i = weaponList.elements(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement();
for(Mounted mounted : getWeaponList()) {
public boolean hasRAC() { for (Enumeration i = weaponList.elements(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement(); WeaponType wtype = (WeaponType)mounted.getType(); if (wtype.getAmmoType() == AmmoType.T_AC_ROTARY) { return true; } } return false; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/cbe74d020e74a85c0e3b8ebf32d1ebc85c1ba62f/Entity.java/clean/megamek/src/megamek/common/Entity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 54, 2226, 1435, 288, 3639, 364, 261, 21847, 277, 273, 732, 28629, 682, 18, 6274, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 13076, 329, 20919, 273, 261, 8725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 711, 54, 2226, 1435, 288, 3639, 364, 261, 21847, 277, 273, 732, 28629, 682, 18, 6274, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 13076, 329, 20919, 273, 261, 8725, ...
Object value = propDesc.getReadMethod().invoke(beanObject,null);
Object value = propDesc.getReadMethod().invoke(beanObject, null);
public static XMLStreamReader getPullParser(Object beanObject, QName beanName ) { try { BeanInfo beanInfo = Introspector.getBeanInfo(beanObject.getClass()); PropertyDescriptor [] propDescs = beanInfo.getPropertyDescriptors(); ArrayList objetc = new ArrayList(); for (int i = 0; i < propDescs.length; i++) { PropertyDescriptor propDesc = propDescs[i]; Class ptype = propDesc.getPropertyType(); if(propDesc.getName().equals("class")){ continue; } if(SimpleTypeMapper.isSimpleType(ptype)){ Object value = propDesc.getReadMethod().invoke(beanObject,null); objetc.add(propDesc.getName()); objetc.add(value.toString()); } else if(SimpleTypeMapper.isArrayList(ptype)){ objetc.add(new QName(propDesc.getName())); Object value = propDesc.getReadMethod().invoke(beanObject,null); objetc.add(((ArrayList) value).toArray()); } else { objetc.add(new QName(propDesc.getName())); Object value = propDesc.getReadMethod().invoke(beanObject,null); objetc.add(value); } } return ADBPullParser.createPullParser(beanName, objetc.toArray(), null); // TODO : Deepal fix this. I added another parameter to the above method in the ADBPullPrser // to get the attributes array. For the time being I passed null. Pass attributes array here. } catch (Exception e) { //todo has to throw this exeception return null; } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/a1d99f5c96d45e457ad63e3389e988ffaf8b63de/BeanSerializerUtil.java/buggy/modules/codegen/src/org/apache/axis2/util/BeanSerializerUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15595, 2514, 1689, 420, 2678, 12, 921, 3931, 921, 16, 16723, 17932, 262, 288, 3639, 775, 288, 5411, 7704, 966, 3931, 966, 273, 3094, 26170, 280, 18, 588, 3381, 966, 12, 14496, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15595, 2514, 1689, 420, 2678, 12, 921, 3931, 921, 16, 16723, 17932, 262, 288, 3639, 775, 288, 5411, 7704, 966, 3931, 966, 273, 3094, 26170, 280, 18, 588, 3381, 966, 12, 14496, ...
if(log.isInfoEnabled()) log.info("discarded request from " + msg.getSrc() + " as we are not part of destination list (local_addr=" + local_addr + ", hdr=" + hdr + ")");
if(log.isDebugEnabled()) log.debug("discarded request from " + msg.getSrc() + " as we are not part of destination list (local_addr=" + local_addr + ", hdr=" + hdr + ")");
public boolean receiveMessage(Message msg) { Object tmpHdr; Header hdr; Request req; RspCollector coll; java.util.Stack stack; java.util.List dests; // i. If header is not an instance of request correlator header, ignore // // ii. Check whether the message was sent by a request correlator with // the same name (there may be multiple request correlators in the same // protocol stack...) tmpHdr = msg.getHeader(name); if(tmpHdr == null || !(tmpHdr instanceof Header)) return(true); hdr=(Header)msg.getHeader(name); if(hdr.name == null || !hdr.name.equals(name)) { if(log.isDebugEnabled()) log.debug("name of request correlator header (" + hdr.name + ") is different from ours (" + name + "). Msg not accepted, passed up"); return(true); } // If the header contains a destination list, and we are not part of it, then we discard the // request (was addressed to other members) dests=hdr.dest_mbrs; if(dests != null && local_addr != null && !dests.contains(local_addr)) { if(log.isInfoEnabled()) log.info("discarded request from " + msg.getSrc() + " as we are not part of destination list (local_addr=" + local_addr + ", hdr=" + hdr + ")"); return false; } if(log.isDebugEnabled()) log.debug("header is " + hdr); // [Header.REQ]: // i. If there is no request handler, discard // ii. Check whether priority: if synchronous and call stack contains // address that equals local address -> add priority request. Else // add normal request. // // [Header.RSP]: // Remove the msg request correlator header and notify the associated // <tt>RspCollector</tt> that a reply has been received switch(hdr.type) { case Header.REQ: if(request_handler == null) { if(log.isWarnEnabled()) log.warn("there is no " + "request handler installed to deliver request !"); return(false); } req=new Request(msg); if(deadlock_detection) { stack=hdr.call_stack; if(hdr.rsp_expected && stack != null && local_addr != null) { if(stack.contains(local_addr)) { scheduler.addPrio(req); break; } } } scheduler.add(req); break; case Header.RSP: msg.removeHeader(name); coll=findEntry(hdr.id); if(coll != null) { coll.receiveResponse(msg); } break; default: msg.removeHeader(name); if(log.isErrorEnabled()) log.error("header's type is neither REQ nor RSP !"); break; } return(false); }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/RequestCorrelator.java/clean/src/org/jgroups/blocks/RequestCorrelator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 6798, 1079, 12, 1079, 1234, 13, 288, 3639, 1033, 1850, 1853, 14659, 31, 3639, 4304, 1850, 7723, 31, 3639, 1567, 540, 1111, 31, 3639, 534, 1752, 7134, 565, 4508, 31, 3639, 2252...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6798, 1079, 12, 1079, 1234, 13, 288, 3639, 1033, 1850, 1853, 14659, 31, 3639, 4304, 1850, 7723, 31, 3639, 1567, 540, 1111, 31, 3639, 534, 1752, 7134, 565, 4508, 31, 3639, 2252...
RubyRegexp pat = RubyRegexp.regexpValue(arg);
RubyRegexp pattern = RubyRegexp.regexpValue(arg);
public IRubyObject scan(IRubyObject arg) { RubyRegexp pat = RubyRegexp.regexpValue(arg); int start = 0; if (!getRuntime().getCurrentContext().isBlockGiven()) { RubyArray ary = getRuntime().newArray(); while (pat.search(this, start) != -1) { RubyMatchData md = (RubyMatchData) getRuntime().getCurrentContext().getBackref(); if (md.getSize() == 1) { ary.append(md.group(0)); } else { ary.append(md.subseq(1, md.getSize())); } if (md.matchEndPosition() == md.matchStartPosition()) { start++; } else { start = md.matchEndPosition(); } } return ary; } while (pat.search(this, start) != -1) { RubyMatchData md = (RubyMatchData) getRuntime().getCurrentContext().getBackref(); if (md.getSize() == 1) { getRuntime().getCurrentContext().yield(md.group(0)); } else { getRuntime().getCurrentContext().yield(md.subseq(1, md.getSize())); } if (md.matchEndPosition() == md.matchStartPosition()) { start++; } else { start = md.matchEndPosition(); } } return this; }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/clean/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 4135, 12, 7937, 10340, 921, 1501, 13, 288, 202, 202, 54, 10340, 14621, 9670, 273, 19817, 14621, 18, 17745, 620, 12, 3175, 1769, 202, 202, 474, 787, 273, 374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15908, 10340, 921, 4135, 12, 7937, 10340, 921, 1501, 13, 288, 202, 202, 54, 10340, 14621, 9670, 273, 19817, 14621, 18, 17745, 620, 12, 3175, 1769, 202, 202, 474, 787, 273, 374, ...
input = new ExistingBugEditorInput(id);
input = new ExistingBugEditorInput(repositoryUrl, id);
private static boolean showWithReuse(int id) { // get the active page so that we can reuse it IWorkbenchPage page = SearchPlugin.getActivePage(); try { // if we couldn't get a page, get out if (page == null) return true; IEditorInput input = null; // try to get an editor input on the bug input = new ExistingBugEditorInput(id); // check if we found a valid bug if(((ExistingBugEditorInput)input).getBug() == null) { MessageDialog.openError(null, "No such bug", "No bug exists with this id"); return false; } // get the editor for the page IEditorPart editor = page.findEditor(input); if (editor == null) { // close the current editor if it is clean and open if (fEditor != null && !fEditor.isDirty()) page.closeEditor(fEditor, false); try { // try to open a new editor with the input bug, but don't activate it editor= page.openEditor(input, IBugzillaConstants.EXISTING_BUG_EDITOR_ID, false); } catch (PartInitException ex) { // if there was a problem, handle it and log it, then get out of here ExceptionHandler.handle(ex, SearchMessages.Search_Error_search_title, SearchMessages.Search_Error_search_message); //$NON-NLS-2$ //$NON-NLS-1$ BugzillaPlugin.log(ex.getStatus()); return false; } } else { // if a editor is openon that bug, just bring it to the top // of the editors page.bringToTop(editor); } if (editor != null) { // if we have an editor, save it for later use fEditor= editor; } } catch(LoginException e) { MessageDialog.openError(null, "Login Error", "Bugzilla could not log you in to get the information you requested since login name or password is incorrect.\nPlease check your settings in the bugzilla preferences. "); BugzillaPlugin.log(e); } catch(IOException e){ IStatus status = new MultiStatus( IBugzillaConstants.PLUGIN_ID, IStatus.ERROR, e.getClass().toString() + " occurred while opening the bug report. \n\nClick Details or see log for more information.", e); IStatus s = new Status(IStatus.ERROR, IBugzillaConstants.PLUGIN_ID, IStatus.ERROR, e.getClass().toString() + ": ", e); ((MultiStatus)status).add(s); s = new Status (IStatus.ERROR, IBugzillaConstants.PLUGIN_ID, IStatus.ERROR, e.getMessage(), e); ((MultiStatus)status).add(s); //write error to log BugzillaPlugin.log(status); ErrorDialog.openError(null, "Bugzilla Error", null, status); return false; } return true; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/832f772c9bfbe1db8eeb7662bd96232584598cee/BugzillaUITools.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/BugzillaUITools.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 2405, 1190, 31704, 12, 474, 612, 13, 225, 202, 95, 202, 202, 759, 336, 326, 2695, 1363, 1427, 716, 732, 848, 11827, 518, 202, 202, 45, 2421, 22144, 1964, 1363, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1250, 2405, 1190, 31704, 12, 474, 612, 13, 225, 202, 95, 202, 202, 759, 336, 326, 2695, 1363, 1427, 716, 732, 848, 11827, 518, 202, 202, 45, 2421, 22144, 1964, 1363, 273...
Utilities.clearEventQueue();
public void testCancelDoesNotChangeConfig() { Font testFont = Font.decode("Monospaced-BOLD-10"); _option.setValue(testFont); _option.resetToCurrent(); // should reset to the original. _option.updateConfig(); // should update with original values therefore no change. assertEquals("Cancel (resetToCurrent) should not change the config", OptionConstants.FONT_MAIN.getDefault(), DrJava.getConfig().getSetting(OptionConstants.FONT_MAIN)); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/ad6842e7f3f5b3d0f8c5827298c4ec26a70a9f28/FontOptionComponentTest.java/buggy/drjava/src/edu/rice/cs/drjava/ui/config/FontOptionComponentTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 26703, 18, 8507, 1133, 3183, 5621, 26703, 18, 8507, 1133, 3183, 5621, 1071, 11864, 18, 8507, 1133, 3183, 5621, 918, 11864, 18, 8507, 1133, 3183, 5621, 1842, 6691, 10154, 1248, 3043, 809, 1435, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26703, 18, 8507, 1133, 3183, 5621, 26703, 18, 8507, 1133, 3183, 5621, 1071, 11864, 18, 8507, 1133, 3183, 5621, 918, 11864, 18, 8507, 1133, 3183, 5621, 1842, 6691, 10154, 1248, 3043, 809, 1435, 1...
final LegacyLocationInfo locationInfo = new LegacyLocationInfo();
private final void readObjectContributions( final IConfigurationElement[] configurationElements, final int configurationElementCount) { final List warningsToLog = new ArrayList(1); for (int i = 0; i < configurationElementCount; i++) { final IConfigurationElement element = configurationElements[i]; // Read the object contribution identifier. final String id = readRequired(element, ATT_ID, warningsToLog, "Object contributions need an id"); //$NON-NLS-1$ if (id == null) { continue; } // Read the object class. This influences the visibility. final String objectClass = readRequired(element, ATT_OBJECTCLASS, warningsToLog, "Object contributions need an object class", id); //$NON-NLS-1$ if (objectClass == null) { continue; } // TODO Read the name filter. This influences the visibility. // final String nameFilter = readOptional(element, // ATT_NAME_FILTER); // TODO Read the object class. This influences the visibility. // final boolean adaptable = readBoolean(element, // ATT_ADAPTABLE, // false); final LegacyLocationInfo locationInfo = new LegacyLocationInfo(); // TODO Read the filter elements. // TODO Read the enablement elements. // TODO Figure out an appropriate visibility expression. // Read the visibility element, if any. final Expression visibleWhenExpression = readVisibility(element, id, warningsToLog); // Read all of the child elements from the registry. readActionsAndMenus(element, id, warningsToLog, locationInfo, visibleWhenExpression, null); } logWarnings( warningsToLog, "Warnings while parsing the object contributions from the 'org.eclipse.ui.popupMenus' extension point"); //$NON-NLS-1$ }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/53fd921b075353dcdae81adede44ada3923165c4/LegacyActionPersistence.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/LegacyActionPersistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 918, 17362, 442, 15326, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 13, 288, 202, 202, 6385, 987, 5599, 774, 1343, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 918, 17362, 442, 15326, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 13, 288, 202, 202, 6385, 987, 5599, 774, 1343, ...
public void testConstructorExecutionTargetThis() { // interface s_logctorexe = ""; ITarget iTarget = new TargetI(); // this is both an interface, and an instance of TargetI assertEquals("before_ITarget before_TargetI pre_ITarget pre_TargetI TargetI post_TargetI post_ITarget after_TargetI after_ITarget ", s_logctorexe); // implementation of interface s_logctorexe = ""; TargetI targetI = new TargetI(); // this is both an interface, and an instance of TargetI assertEquals("before_ITarget before_TargetI pre_ITarget pre_TargetI TargetI post_TargetI post_ITarget after_TargetI after_ITarget ", s_logctorexe); // super class s_logctorexe = ""; SuperTarget superTarget = new TargetSuper(); assertEquals("before_SuperTarget pre_SuperTarget SuperTarget post_SuperTarget after_SuperTarget before_SuperTarget pre_SuperTarget TargetSuper post_SuperTarget after_SuperTarget ", s_logctorexe); // none s_logctorexe = ""; Target target = new Target(); assertEquals("Target ", s_logctorexe); }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/7ef727f7e6bb171647ed04c061cc6039f428bd4f/TargetTest.java/buggy/aspectwerkz3/src/test/test/thistarget/TargetTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 6293, 3210, 2326, 2503, 1435, 95, 759, 15898, 67, 1330, 299, 479, 6554, 1546, 14432, 1285, 826, 77, 2326, 33, 2704, 2326, 45, 5621, 759, 2211, 291, 18237, 304, 5831, 16, 464,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 6293, 3210, 2326, 2503, 1435, 95, 759, 15898, 67, 1330, 299, 479, 6554, 1546, 14432, 1285, 826, 77, 2326, 33, 2704, 2326, 45, 5621, 759, 2211, 291, 18237, 304, 5831, 16, 464,...
public void finalize( ) { if ( this.parameterTask != null ) { this.parameterTask.close( ); this.parameterTask = null; } if ( this.reportDocumentInstance != null ) { this.reportDocumentInstance.close( ); this.reportDocumentInstance = null; } if ( this.reportRunnable != null ) { this.reportRunnable = null; } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/733a5b5180244caf9bfb5710170e041223a92c28/ViewerAttributeBean.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12409, 12, 262, 202, 95, 202, 202, 430, 261, 333, 18, 6775, 2174, 480, 446, 262, 202, 202, 95, 1082, 202, 2211, 18, 6775, 2174, 18, 4412, 12, 11272, 1082, 202, 2211, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12409, 12, 262, 202, 95, 202, 202, 430, 261, 333, 18, 6775, 2174, 480, 446, 262, 202, 202, 95, 1082, 202, 2211, 18, 6775, 2174, 18, 4412, 12, 11272, 1082, 202, 2211, 18...
System.out.println("MyDocument.loadFileWrapperRepresentation:" + nsFileWrapper + ":" + s); try { System.out.println("wrapper isDir:" + nsFileWrapper.isDirectory()); System.out.println("attributes:" + nsFileWrapper.fileAttributes()); System.out.println("filename: " + fileName() + " type:" + fileType()); System.out.println("setFileAttr result=" + NSPathUtilities.setFileAttributes(fileName() + "/"+DEFAULT_GEDCOM_FILENAME, new NSDictionary(new Integer(NSHFSFileTypes.hfsTypeCodeFromFileType("TEXT")), NSPathUtilities.FileHFSTypeCode))); String[] errors = new String[1]; if (MACPAF.equals(s)) { if (nsFileWrapper.isDirectory()) { System.out.println("wrappers:" + nsFileWrapper.fileWrappers()); }
log.debug("MyDocument.loadFileWrapperRepresentation:" + nsFileWrapper + ":" + s); try { log.debug("wrapper isDir:" + nsFileWrapper.isDirectory()); log.debug("attributes:" + nsFileWrapper.fileAttributes()); log.debug("filename: " + fileName() + " type:" + fileType()); log.debug("setFileAttr result=" + NSPathUtilities.setFileAttributes(fileName() + "/" + DEFAULT_GEDCOM_FILENAME, new NSDictionary(new Integer(NSHFSFileTypes.hfsTypeCodeFromFileType( "TEXT")), NSPathUtilities.FileHFSTypeCode))); String[] errors = new String[1]; if (MACPAF.equals(s)) { if (nsFileWrapper.isDirectory()) { log.debug("wrappers:" + nsFileWrapper.fileWrappers()); }
public boolean loadFileWrapperRepresentation(NSFileWrapper nsFileWrapper, String s) { System.out.println("MyDocument.loadFileWrapperRepresentation:" + nsFileWrapper + ":" + s); try { System.out.println("wrapper isDir:" + nsFileWrapper.isDirectory()); System.out.println("attributes:" + nsFileWrapper.fileAttributes()); System.out.println("filename: " + fileName() + " type:" + fileType()); System.out.println("setFileAttr result=" + NSPathUtilities.setFileAttributes(fileName() + "/"+DEFAULT_GEDCOM_FILENAME, new NSDictionary(new Integer(NSHFSFileTypes.hfsTypeCodeFromFileType("TEXT")), NSPathUtilities.FileHFSTypeCode))); String[] errors = new String[1]; if (MACPAF.equals(s)) { if (nsFileWrapper.isDirectory()) { System.out.println("wrappers:" + nsFileWrapper.fileWrappers()); }// NSFileWrapper familiesPlist = (NSFileWrapper) nsFileWrapper.fileWrappers().valueForKey("families.plist");// System.err.println("start extract");// families = (NSMutableDictionary) NSPropertyListSerialization.propertyListFromData(familiesPlist.regularFileContents(), NSPropertyListSerialization.PropertyListMutableContainersAndLeaves, new int[]{NSPropertyListSerialization.PropertyListXMLFormat}, errors);// System.err.println("end extract"); Enumeration en = nsFileWrapper.fileWrappers().objectEnumerator(); while (en.hasMoreElements()) { NSFileWrapper wrapper = ((NSFileWrapper) en.nextElement()); System.err.println(wrapper.filename() + " subattr:" + wrapper.fileAttributes()); if (NSPathUtilities.pathExtension(wrapper.filename()).equalsIgnoreCase("ged")) { String fullPath = fileName()+"/"+wrapper.filename(); System.out.println("..................Loading gedcom: "+fullPath); playWithXML(new File(fullPath)); } } } return true; } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } return false; }
6190 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6190/7b30da2f47cbda6e16406770c133332adb1b4079/MyDocument.java/clean/MacPAF/src/MyDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 26953, 3611, 13742, 12, 3156, 812, 3611, 3153, 812, 3611, 16, 514, 272, 13, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 12062, 2519, 18, 945, 812, 3611, 13742, 2773, 397, 3153, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26953, 3611, 13742, 12, 3156, 812, 3611, 3153, 812, 3611, 16, 514, 272, 13, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 12062, 2519, 18, 945, 812, 3611, 13742, 2773, 397, 3153, ...
case 57: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(57, 58);
case 58: if (curChar == 95) jjCheckNAdd(59);
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 73; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(18, 23); break; case 1: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(18, 23); break; case 2: case 39: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(2, 3); break; case 3: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(4); break; case 4: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(4); break; case 5: case 48: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(5, 6); break; case 6: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(7); break; case 7: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(7, 8); break; case 8: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 9: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 10: case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: case 61: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(12, 13); break; case 13: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(14); break; case 14: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(14, 15); break; case 15: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 16: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 17: case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(20); break; case 20: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(24, 26); break; case 24: if ((0x600000000000L & l) != 0L) jjCheckNAdd(25); break; case 25: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(27, 29); break; case 27: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(27, 28); break; case 28: if ((0x600000000000L & l) != 0L) jjCheckNAdd(29); break; case 29: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(28, 29); break; case 30: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 46) jjCheckNAdd(32); break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(31, 32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 35: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 36: case 37: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(37); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 42: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: case 44: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(44, 45); break; case 45: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(46); break; case 46: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(41, 46); break; case 47: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(47, 48); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 51: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 52: case 53: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(53, 54); break; case 54: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(55); break; case 55: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(55, 56); break; case 56: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 57: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 58: case 59: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 60: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 64: if (curChar == 39) jjstateSet[jjnewStateCnt++] = 65; break; case 67: if (curChar == 46) jjCheckNAdd(68); break; case 69: if (curChar != 46) break; if (kind > 3) kind = 3; jjCheckNAdd(68); break; case 71: if (curChar == 38) jjstateSet[jjnewStateCnt++] = 72; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(30, 35); if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } break; case 2: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(36, 37); break; case 3: if (curChar == 95) jjCheckNAdd(4); break; case 4: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(4); break; case 5: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(5, 6); break; case 6: if (curChar == 95) jjCheckNAdd(7); break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(7, 8); break; case 8: if (curChar == 95) jjCheckNAddTwoStates(9, 10); break; case 9: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(38, 39); break; case 13: if (curChar == 95) jjCheckNAdd(14); break; case 14: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(14, 15); break; case 15: if (curChar == 95) jjCheckNAddTwoStates(16, 17); break; case 16: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(40, 41); break; case 19: if (curChar == 95) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(24, 26); break; case 24: if (curChar == 95) jjCheckNAdd(25); break; case 25: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(27, 29); break; case 26: if (curChar == 64) jjCheckNAdd(27); break; case 27: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(27, 28); break; case 29: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(28, 29); break; case 30: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(31, 32); break; case 33: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 95) jjCheckNAddTwoStates(35, 36); break; case 35: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 37: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 37; break; case 38: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if (curChar == 95) jjCheckNAddTwoStates(42, 43); break; case 42: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 44: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(42, 43); break; case 45: if (curChar == 95) jjCheckNAdd(46); break; case 46: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(41, 46); break; case 47: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(47, 48); break; case 49: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if (curChar == 95) jjCheckNAddTwoStates(51, 52); break; case 51: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 53: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(53, 54); break; case 54: if (curChar == 95) jjCheckNAdd(55); break; case 55: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(55, 56); break; case 56: if (curChar == 95) jjCheckNAddTwoStates(57, 58); break; case 57: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 59: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 60: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 62: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(30, 35); break; case 63: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 65: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(64, 65); break; case 66: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(66, 67); break; case 68: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(44, 45); break; case 70: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(70, 71); break; case 71: if (curChar == 64) jjCheckNAdd(72); break; case 72: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAdd(72); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { if (kind > 12) kind = 12; } if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 23); if (jjCanMove_2(hiByte, i1, i2, l1, l2)) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(30, 35); break; case 1: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 23); break; case 2: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(2, 3); break; case 4: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 4; break; case 5: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(5, 6); break; case 7: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(46, 47); break; case 9: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(48, 49); break; case 10: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 11: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(12, 13); break; case 14: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(14, 15); break; case 16: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(50, 51); break; case 17: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(18, 19); break; case 18: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(18, 19); break; case 20: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(24, 26); break; case 25: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(27, 29); break; case 27: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(27, 28); break; case 29: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(28, 29); break; case 30: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(30, 31); break; case 32: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(31, 32); break; case 33: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(33, 34); break; case 35: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(52, 53); break; case 36: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(37); break; case 37: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(37); break; case 38: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(38, 39); break; case 39: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(2, 3); break; case 40: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(40, 41); break; case 42: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(54, 55); break; case 43: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(44, 45); break; case 44: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(44, 45); break; case 46: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(41, 46); break; case 47: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(47, 48); break; case 48: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(5, 6); break; case 49: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(49, 50); break; case 51: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(56, 57); break; case 52: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(53, 54); break; case 53: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(53, 54); break; case 55: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(58, 59); break; case 57: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(60, 61); break; case 58: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 59: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 60: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(60, 61); break; case 61: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(12, 13); break; case 62: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(30, 35); break; case 63: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(63, 64); break; case 65: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(64, 65); break; case 66: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(66, 67); break; case 68: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(44, 45); break; case 70: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(70, 71); break; case 72: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 4) kind = 4; jjstateSet[jjnewStateCnt++] = 72; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 73 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/f00afeee7aba8e1024c6f792c6bb469b7a16def9/StandardTokenizerTokenManager.java/clean/src/java/org/apache/lucene/analysis/standard/StandardTokenizerTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750,...
public void testChainEffect() { model0.insertChar('\"'); model0.insertChar('\\'); model0.insertChar('\"'); model0.insertChar('\"'); model0.insertChar('\"'); model0.insertChar('\\'); model0.insertChar('\"'); model0.insertChar('\"'); model0.insertChar('\"'); model0.insertChar('\\'); model0.insertChar('\"'); model0.insertChar('\"'); // "\"""\"""\""# model0.move(-1); assertEquals("#0.0", "\"", model0.currentToken().getType()); assertTrue("#0.1", model0.currentToken().isClosed()); model0.move(-2); // "\"""\"""#\"" assertEquals("#1.0", "\\\"", model0.currentToken().getType()); assertEquals("#1.1", INSIDE_QUOTE, stateOfCurrentToken(model0)); model0.move(-1); assertEquals("#1.2", "\"", model0.currentToken().getType()); assertEquals("#1.3", FREE, stateOfCurrentToken(model0)); assertTrue("#1.4", model0.currentToken().isOpen()); model0.move(1); model0.insertChar('\\'); // "\"""\"""\#\"" assertEquals("#2.0", "\\\\", model0.currentToken().getType()); assertEquals("#2.1", INSIDE_QUOTE, stateOfCurrentToken(model0)); assertEquals("#2.2", 10, model0.absOffset()); model0.move(-2); assertEquals("#2.3", "\"", model0.currentToken().getType()); assertEquals("#2.4", FREE, stateOfCurrentToken(model0)); assertTrue("#2.5", model0.currentToken().isOpen()); model0.move(3); assertEquals("#2.6", "\"", model0.currentToken().getType()); assertEquals("#2.7", FREE, stateOfCurrentToken(model0)); assertTrue("#2.8", model0.currentToken().isClosed()); model0.move(-1); model0.insertChar('\"'); // "\"""\"""\"#\"" assertEquals("#3.0", "\\\"", model0.currentToken().getType()); assertEquals("#3.1", INSIDE_QUOTE, stateOfCurrentToken(model0)); assertEquals("#3.2", 11, model0.absOffset()); model0.move(-2); assertEquals("#3.3", "\\\"", model0.currentToken().getType()); assertEquals("#3.4", INSIDE_QUOTE, stateOfCurrentToken(model0)); model0.move(4); assertEquals("#3.5", "\"", model0.currentToken().getType()); assertEquals("#3.6", FREE, stateOfCurrentToken(model0)); assertTrue("#3.7", model0.currentToken().isClosed()); model0.move(-12); // "#\"""\"""\"\"" model0.delete(1); // "#"""\"""\"\"" model0.move(-1); // #""""\"""\"\"" assertEquals("#4.0", "\"", model0.currentToken().getType()); assertTrue("#4.1", model0.currentToken().isOpen()); assertEquals("#4.2", FREE, stateOfCurrentToken(model0)); model0.move(1); // "#"""\"""\"\"" assertEquals("#4.3", "\"", model0.currentToken().getType()); assertTrue("#4.4", model0.currentToken().isClosed()); assertEquals("#4.5", FREE, stateOfCurrentToken(model0)); model0.move(1); // ""#""\"""\"\"" assertEquals("#5.0", "\"", model0.currentToken().getType()); assertTrue("#5.1", model0.currentToken().isOpen()); assertEquals("#5.2", FREE, stateOfCurrentToken(model0)); model0.move(1); // """#"\"""\"\"" assertEquals("#5.3", "\"", model0.currentToken().getType()); assertTrue("#5.4", model0.currentToken().isClosed()); assertEquals("#5.5", FREE, stateOfCurrentToken(model0)); model0.move(1); // """"#\"""\"\"" assertEquals("#5.6", "\\\"", model0.currentToken().getType()); assertEquals("#5.7", FREE, stateOfCurrentToken(model0)); model0.move(2); // """"\"#""\"\"" assertEquals("#6.0", "\"", model0.currentToken().getType()); assertTrue("#6.1", model0.currentToken().isOpen()); assertEquals("#6.2", FREE, stateOfCurrentToken(model0)); model0.move(1); // """"\""#"\"\"" assertEquals("#6.3", "\"", model0.currentToken().getType()); assertTrue("#6.4", model0.currentToken().isClosed()); assertEquals("#6.5", FREE, stateOfCurrentToken(model0)); model0.move(1); // """"\"""#\"\"" assertEquals("#6.6", "\\\"", model0.currentToken().getType()); assertEquals("#6.7", FREE, stateOfCurrentToken(model0)); model0.move(2); // """"\"""\"#\"" assertEquals("#6.0", "\\\"", model0.currentToken().getType()); assertEquals("#6.1", FREE, stateOfCurrentToken(model0)); model0.move(2); // """"\"""\"\"#" assertEquals("#6.2", "\"", model0.currentToken().getType()); assertTrue("#6.3", model0.currentToken().isOpen()); assertEquals("#6.4", FREE, stateOfCurrentToken(model0)); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/e325016b29b8dde8e3ba0908ae34d55edb22c64f/BackSlashTest.java/clean/drjava/src/edu/rice/cs/drjava/BackSlashTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 3893, 12477, 1435, 95, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 1695, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 3893, 12477, 1435, 95, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 1695, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387,...
Iterator attrIter = this.getAttributeWithQName(new QName(OMConstants.soapEnvelopeNamespaceURI, attributeName));
Iterator attrIter = this.getAttributeWithQName(new QName(OMConstants.SOAP_ENVELOPE_NAMESPACE_URI, attributeName));
private void setAttribute(String attributeName, String attrValue) { Iterator attrIter = this.getAttributeWithQName(new QName(OMConstants.soapEnvelopeNamespaceURI, attributeName)); if (attrIter.hasNext()) { ((OMAttribute) attrIter.next()).setValue(attrValue); } else { OMAttribute attribute = new OMAttributeImpl(attributeName, new OMNamespaceImpl(OMConstants.soapEnvelopeNamespaceURI, OMConstants.soapEnvelopeNamespacePrefix), attrValue, this); this.insertAttribute(attribute); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/74e11c00cbbecf68f59fe721d19a49cb345e696e/OMHeaderBlockImpl.java/clean/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/OMHeaderBlockImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4730, 12, 780, 9734, 16, 514, 21676, 13, 288, 3639, 4498, 1604, 2360, 273, 333, 18, 588, 1499, 1190, 13688, 12, 2704, 16723, 12, 1872, 2918, 18, 27952, 67, 1157, 24397, 1423, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4730, 12, 780, 9734, 16, 514, 21676, 13, 288, 3639, 4498, 1604, 2360, 273, 333, 18, 588, 1499, 1190, 13688, 12, 2704, 16723, 12, 1872, 2918, 18, 27952, 67, 1157, 24397, 1423, ...
String classAlias = (String) state.getFieldToAlias(nodeClass).get(nodeF.getFieldName());
Map aliasMap = state.getFieldToAlias(nodeClass); String classAlias = (String) aliasMap.get(nodeF.getFieldName());
protected static void queryEvaluableToString(StringBuffer buffer, QueryEvaluable node, Query q, State state) throws ObjectStoreException { if (node instanceof QueryField) { QueryField nodeF = (QueryField) node; FromElement nodeClass = nodeF.getFromElement(); String classAlias = (String) state.getFieldToAlias(nodeClass).get(nodeF.getFieldName()); buffer.append(classAlias) .append(".") .append(DatabaseUtil.generateSqlCompatibleName(nodeF.getFieldName())) .append(nodeF.getSecondFieldName() == null ? "" : DatabaseUtil.generateSqlCompatibleName(nodeF.getSecondFieldName())); } else if (node instanceof QueryExpression) { QueryExpression nodeE = (QueryExpression) node; if (nodeE.getOperation() == QueryExpression.SUBSTRING) { QueryEvaluable arg1 = nodeE.getArg1(); QueryEvaluable arg2 = nodeE.getArg2(); QueryEvaluable arg3 = nodeE.getArg3(); buffer.append("SUBSTR("); queryEvaluableToString(buffer, arg1, q, state); buffer.append(", "); queryEvaluableToString(buffer, arg2, q, state); if (arg3 != null) { buffer.append(", "); queryEvaluableToString(buffer, arg3, q, state); } buffer.append(")"); } else if (nodeE.getOperation() == QueryExpression.INDEX_OF) { QueryEvaluable arg1 = nodeE.getArg1(); QueryEvaluable arg2 = nodeE.getArg2(); buffer.append("STRPOS("); queryEvaluableToString(buffer, arg1, q, state); buffer.append(", "); queryEvaluableToString(buffer, arg2, q, state); buffer.append(")"); } else { QueryEvaluable arg1 = nodeE.getArg1(); QueryEvaluable arg2 = nodeE.getArg2(); String op = null; switch (nodeE.getOperation()) { case QueryExpression.ADD: op = " + "; break; case QueryExpression.SUBTRACT: op = " - "; break; case QueryExpression.MULTIPLY: op = " * "; break; case QueryExpression.DIVIDE: op = " / "; break; default: throw (new IllegalArgumentException("Invalid QueryExpression operation: " + nodeE.getOperation())); } buffer.append("("); queryEvaluableToString(buffer, arg1, q, state); buffer.append(op); queryEvaluableToString(buffer, arg2, q, state); buffer.append(")"); } } else if (node instanceof QueryFunction) { QueryFunction nodeF = (QueryFunction) node; switch (nodeF.getOperation()) { case QueryFunction.COUNT: buffer.append("COUNT(*)"); break; case QueryFunction.SUM: buffer.append("SUM("); queryEvaluableToString(buffer, nodeF.getParam(), q, state); buffer.append(")"); break; case QueryFunction.AVERAGE: buffer.append("AVG("); queryEvaluableToString(buffer, nodeF.getParam(), q, state); buffer.append(")"); break; case QueryFunction.MIN: buffer.append("MIN("); queryEvaluableToString(buffer, nodeF.getParam(), q, state); buffer.append(")"); break; case QueryFunction.MAX: buffer.append("MAX("); queryEvaluableToString(buffer, nodeF.getParam(), q, state); buffer.append(")"); break; case QueryFunction.LOWER: buffer.append("LOWER("); queryEvaluableToString(buffer, nodeF.getParam(), q, state); buffer.append(")"); break; case QueryFunction.UPPER: buffer.append("UPPER("); queryEvaluableToString(buffer, nodeF.getParam(), q, state); buffer.append(")"); break; default: throw (new IllegalArgumentException("Invalid QueryFunction operation: " + nodeF.getOperation())); } } else if (node instanceof QueryValue) { QueryValue nodeV = (QueryValue) node; Object value = nodeV.getValue(); objectToString(buffer, value); } else if (node instanceof QueryCast) { buffer.append("("); queryEvaluableToString(buffer, ((QueryCast) node).getValue(), q, state); buffer.append(")::"); String torqueTypeName = TorqueModelOutput.generateJdbcType(node.getType() .getName()); SchemaType torqueType = SchemaType.getEnum(torqueTypeName); Platform torquePlatform = PlatformFactory.getPlatformFor(state.getDb().getPlatform() .toLowerCase()); Domain torqueDomain = torquePlatform.getDomainForSchemaType(torqueType); buffer.append(torqueDomain.getSqlType()); } else { throw (new IllegalArgumentException("Invalid QueryEvaluable: " + node)); } }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/6366a4ed8fa6e0d66a9daeb4c3881221ffbeec77/SqlGenerator.java/buggy/intermine/objectstore/main/src/org/intermine/objectstore/intermine/SqlGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 843, 6644, 429, 5808, 12, 780, 1892, 1613, 16, 2770, 6644, 429, 756, 16, 5411, 2770, 1043, 16, 3287, 919, 13, 1216, 1033, 21151, 288, 3639, 309, 261, 2159, 1276, 2770, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 918, 843, 6644, 429, 5808, 12, 780, 1892, 1613, 16, 2770, 6644, 429, 756, 16, 5411, 2770, 1043, 16, 3287, 919, 13, 1216, 1033, 21151, 288, 3639, 309, 261, 2159, 1276, 2770, 9...
Object[] errorArgs = { id }; throw NativeGlobal.constructError( cx, "ReferenceError", ScriptRuntime.getMessage("msg.is.not.defined", errorArgs), scope);
String msg = ScriptRuntime.getMessage1("msg.is.not.defined", id); throw ScriptRuntime.constructError("ReferenceError", msg);
public static Object callSimple(Context cx, String id, Scriptable scope, Object[] args) throws JavaScriptException { Scriptable obj = scope; Object prop = null; Scriptable thisArg = null; search: while (obj != null) { Scriptable m = obj; do { prop = m.get(id, obj); if (prop != Scriptable.NOT_FOUND) { thisArg = obj; break search; } m = m.getPrototype(); } while (m != null); obj = obj.getParentScope(); } if ((prop == null) || (prop == Scriptable.NOT_FOUND)) { Object[] errorArgs = { id }; throw NativeGlobal.constructError( cx, "ReferenceError", ScriptRuntime.getMessage("msg.is.not.defined", errorArgs), scope); } while (thisArg instanceof NativeWith) thisArg = thisArg.getPrototype(); if (thisArg instanceof NativeCall) thisArg = ScriptableObject.getTopLevelScope(thisArg); if (!(prop instanceof Function)) { Object[] errorArgs = { toString(prop) }; throw cx.reportRuntimeError( getMessage("msg.isnt.function", errorArgs)); } Function function = (Function)prop; return function.call(cx, scope, thisArg, args); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/8df24a01d813540ecdfcd8a3a380c84cc9993734/OptRuntime.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/OptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 745, 5784, 12, 1042, 9494, 16, 514, 612, 16, 22780, 2146, 16, 4766, 565, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 22780, 1081, 273, 2146, 31, 3639, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1033, 745, 5784, 12, 1042, 9494, 16, 514, 612, 16, 22780, 2146, 16, 4766, 565, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 22780, 1081, 273, 2146, 31, 3639, ...
aload(funObjLocal); classFile.add(ByteCode.GETFIELD, classFile.fullyQualifiedForm(generatedClassName),
cfw.addALoad(funObjLocal); cfw.add(ByteCode.GETFIELD, cfw.fullyQualifiedForm(generatedClassName),
private void visitObject(Node node) { int i = node.getExistingIntProp(Node.REGEXP_PROP); String fieldName = getRegexpFieldName(i); aload(funObjLocal); classFile.add(ByteCode.GETFIELD, classFile.fullyQualifiedForm(generatedClassName), fieldName, "Lorg/mozilla/javascript/regexp/NativeRegExp;"); }
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, 921, 12, 907, 756, 13, 565, 288, 3639, 509, 277, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 28225, 67, 15811, 1769, 3639, 514, 4289, 273, 336, 14621, 7287, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 921, 12, 907, 756, 13, 565, 288, 3639, 509, 277, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 28225, 67, 15811, 1769, 3639, 514, 4289, 273, 336, 14621, 7287, 12, ...
Logger.debug(this, "Map: "+getKeyMap().size()); Logger.debug(this, "Contains "+key+"?: "+getKeyMap().containsKey(key));
private DataBlock getBlockByKey(Key key) { Logger.debug(this, "Map: "+getKeyMap().size()); Logger.debug(this, "Contains "+key+"?: "+getKeyMap().containsKey(key)); return (DataBlock) getKeyMap().get(key); }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/468622124d6c873f5829a9d551c994b13f38cb37/DataStore.java/buggy/src/freenet/store/DataStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1910, 1768, 11902, 14560, 12, 653, 498, 13, 288, 202, 565, 4242, 18, 4148, 12, 2211, 16, 315, 863, 30, 13773, 588, 653, 863, 7675, 1467, 10663, 202, 565, 4242, 18, 4148, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1910, 1768, 11902, 14560, 12, 653, 498, 13, 288, 202, 565, 4242, 18, 4148, 12, 2211, 16, 315, 863, 30, 13773, 588, 653, 863, 7675, 1467, 10663, 202, 565, 4242, 18, 4148, 12, ...
void fetchIntoCache() throws SQLException
synchronized void fetchIntoCache() throws SQLException
void fetchIntoCache() throws SQLException { if (rowCount == 0) { internalFetchRows(); } if (hitEndOfData) return; if (rowIndex > 0 && rowIndex < rowCount) { System.arraycopy(rowCache,rowIndex,rowCache,0,rowCount-rowIndex); rowCount -= rowIndex; rowIndex = 0; } else reallocCache(); while (!hitEndOfData) { do { PacketRowResult row = fetchNextRow(); if (hitEndOfData) { break; } rowCache[rowCount] = row; rowCount++; } while (rowCount < fetchSize); if (!hitEndOfData) reallocCache(); } return ; }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/32392a05000c2cc18ee482dbd1f8975eaa93af63/TdsResultSet.java/buggy/src.old/main/com/internetcds/jdbc/tds/TdsResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 2158, 5952, 1649, 1435, 1216, 6483, 565, 288, 1377, 309, 261, 492, 1380, 422, 374, 13, 288, 3639, 2713, 5005, 4300, 5621, 1377, 289, 1377, 309, 261, 15989, 23358, 751, 13, 327,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3852, 918, 2158, 5952, 1649, 1435, 1216, 6483, 565, 288, 1377, 309, 261, 492, 1380, 422, 374, 13, 288, 3639, 2713, 5005, 4300, 5621, 1377, 289, 1377, 309, 261, 15989, 23358, 751, 13, 327,...
if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else tuple[6] = r.getBytes(7);
tuple[0] = null; tuple[1] = null; tuple[2] = r.getBytes(2); tuple[3] = r.getBytes(3); tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); tuple[5] = typname.getBytes();
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { // the field descriptors for the new ResultSet Field f[] = new Field[18]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); f[8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, 32); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, 32); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, 32); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid,4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, 32); // Added by Stefan Andreasen <stefan@linux.kapow.dk> // If the pattern are null then set them to % if (tableNamePattern == null) tableNamePattern="%"; if (columnNamePattern == null) columnNamePattern="%"; // Now form the query String query = "select " + (connection.haveMinimumServerVersion("7.2") ? "a.attrelid" : "a.oid") + ",c.relname,a.attname,a.atttypid," + "a.attnum,a.attnotnull,a.attlen,a.atttypmod,d.adsrc " + "from (pg_class c inner join pg_attribute a " + "on (c.oid=a.attrelid) ) " + "left outer join pg_attrdef d " + "on (c.oid=d.adrelid and d.adnum=a.attnum) " + "where " + "c.relname like '"+tableNamePattern.toLowerCase()+"' and " + "a.attname like '"+columnNamePattern.toLowerCase()+"' and " + "a.attnum>0 " + "order by c.relname,a.attnum"; r = connection.ExecSQL(query); while(r.next()) { byte[][] tuple = new byte[18][0]; // Fetch the description for the table (if any) String getDescriptionStatement = connection.haveMinimumServerVersion("7.2") ? "select col_description(" + r.getInt(1) + "," + r.getInt(5) + ")" : "select description from pg_description where objoid=" + r.getInt(1); java.sql.ResultSet dr = connection.ExecSQL(getDescriptionStatement); if(((org.postgresql.ResultSet)dr).getTupleCount()==1) { dr.next(); tuple[11] = dr.getBytes(1); } else tuple[11] = null; dr.close(); tuple[0] = "".getBytes(); // Catalog name tuple[1] = "".getBytes(); // Schema name tuple[2] = r.getBytes(2); // Table name tuple[3] = r.getBytes(3); // Column name dr = connection.ExecSQL("select typname from pg_type where oid = "+r.getString(4)); dr.next(); String typname=dr.getString(1); dr.close(); tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); // Data type tuple[5] = typname.getBytes(); // Type name // Column size // Looking at the psql source, // I think the length of a varchar as specified when the table was created // should be extracted from atttypmod which contains this length + sizeof(int32) if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else tuple[6] = r.getBytes(7); tuple[7] = null; // Buffer length tuple[8] = "0".getBytes(); // Decimal Digits - how to get this? tuple[9] = "10".getBytes(); // Num Prec Radix - assume decimal // tuple[10] is below // tuple[11] is above tuple[12] = r.getBytes(9); // column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = r.getBytes(5); // ordinal position String nullFlag = r.getString(6); tuple[10] = Integer.toString(nullFlag.equals("f")?java.sql.DatabaseMetaData.columnNullable:java.sql.DatabaseMetaData.columnNoNulls).getBytes(); // Nullable tuple[17] = (nullFlag.equals("f")?"YES":"NO").getBytes(); // is nullable v.addElement(tuple); } r.close(); return new ResultSet(connection, f, v, "OK", 1); }
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/07ce9fe61dd6cb7399d76f4a9cbcbe191b988ff2/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 368, 326, 652, 14215, 364, 326, 394,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 368, 326, 652, 14215, 364, 326, 394,...
return Lookup( data, (Declaration) _contextStack.peek() );
Lookup( data, (Declaration) _contextStack.peek() ); return ResolveAmbiguities( data );
public Declaration Lookup( String name ) throws ParserSymbolTableException { LookupData data = new LookupData( name, -1 ); return Lookup( data, (Declaration) _contextStack.peek() ); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/09948618e89210b4fe0d381f7cf31dc3500e2b32/ParserSymbolTable.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ParserSymbolTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16110, 4302, 8834, 12, 514, 508, 262, 1216, 6783, 5335, 1388, 503, 288, 202, 202, 6609, 751, 501, 273, 394, 8834, 751, 12, 508, 16, 300, 21, 11272, 202, 202, 2463, 8834, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16110, 4302, 8834, 12, 514, 508, 262, 1216, 6783, 5335, 1388, 503, 288, 202, 202, 6609, 751, 501, 273, 394, 8834, 751, 12, 508, 16, 300, 21, 11272, 202, 202, 2463, 8834, 12, ...
return Deadline.at(voterUserData.getDeadline());
return Deadline.restoreDeadlineAt(voterUserData.getDeadline());
public Deadline getDeadline() { return Deadline.at(voterUserData.getDeadline()); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/e399a07e4496e3a7d2104358c7b0a7241b1aedb1/V3Voter.java/buggy/src/org/lockss/poller/v3/V3Voter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 23967, 1369, 2343, 684, 1369, 1435, 288, 565, 327, 23967, 1369, 18, 13991, 15839, 861, 12, 90, 20005, 19265, 18, 588, 15839, 10663, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 23967, 1369, 2343, 684, 1369, 1435, 288, 565, 327, 23967, 1369, 18, 13991, 15839, 861, 12, 90, 20005, 19265, 18, 588, 15839, 10663, 225, 289, 2, -100, -100, -100, -100, -100, -100, ...
monitor.initialize(); startupModules = null;
public void doStart() throws Exception { if(factory == null) { factory = new DeploymentFactoryImpl(); } File dir = serverInfo.resolve(path); if(!dir.exists()) { if(!dir.mkdirs()) { throw new IllegalStateException("Hot deploy directory "+dir.getAbsolutePath()+" does not exist and cannot be created!"); } } else if(!dir.canRead() || !dir.isDirectory()) { throw new IllegalStateException("Hot deploy directory "+dir.getAbsolutePath()+" is not a readable directory!"); } DeploymentManager mgr = null; try { mgr = factory.getDeploymentManager(deploymentURI, deploymentUser, deploymentPassword); Target[] targets = mgr.getTargets(); startupModules = mgr.getAvailableModules(null, targets); mgr.release(); mgr = null; monitor = new DirectoryMonitor(dir, this, pollIntervalMillis); monitor.initialize(); startupModules = null; log.debug("Hot deploy scanner intialized; starting main loop."); Thread t = new Thread(monitor, "Geronimo hot deploy scanner"); t.setDaemon(true); t.start(); } finally { if(mgr != null) mgr.release(); } }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/ab98dbe05184feb4fb959135f20142cfcaa51e25/DirectoryHotDeployer.java/buggy/modules/hot-deploy/src/java/org/apache/geronimo/deployment/hot/DirectoryHotDeployer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 1685, 1435, 1216, 1185, 288, 3639, 309, 12, 6848, 422, 446, 13, 288, 5411, 3272, 273, 394, 8587, 1733, 2828, 5621, 3639, 289, 3639, 1387, 1577, 273, 1438, 966, 18, 10828, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1685, 1435, 1216, 1185, 288, 3639, 309, 12, 6848, 422, 446, 13, 288, 5411, 3272, 273, 394, 8587, 1733, 2828, 5621, 3639, 289, 3639, 1387, 1577, 273, 1438, 966, 18, 10828, ...
cg.start();
public void startClientGet(ClientGetMessage message) { String id = message.identifier; ClientGet cg = null; boolean success; synchronized(this) { if(isClosed) return; success = !requestsByIdentifier.containsKey(id); if(success) { cg = new ClientGet(this, message); requestsByIdentifier.put(id, cg); } } if(!success) { Logger.normal(this, "Identifier collision on "+this); FCPMessage msg = new IdentifierCollisionMessage(id); outputHandler.queue(msg); return; } else { cg.start(); if(cg.isPersistent()) { client.register(cg); if(cg.isPersistentForever()) server.forceStorePersistentRequests(); } } }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/f0cfccbdcdced91c445d457760240954be95f5ad/FCPConnectionHandler.java/buggy/src/freenet/node/fcp/FCPConnectionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 1227, 967, 12, 1227, 967, 1079, 883, 13, 288, 202, 202, 780, 612, 273, 883, 18, 5644, 31, 202, 202, 1227, 967, 14947, 273, 446, 31, 202, 202, 6494, 2216, 31, 202, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 1227, 967, 12, 1227, 967, 1079, 883, 13, 288, 202, 202, 780, 612, 273, 883, 18, 5644, 31, 202, 202, 1227, 967, 14947, 273, 446, 31, 202, 202, 6494, 2216, 31, 202, ...
int offset = 0;
int offset = (bmpHeight - 1) * dwWidth;
public byte[] openBytes(String id, int no) throws FormatException, IOException { if (!id.equals(currentId)) initFile(id); if (no < 0 || no >= getImageCount(id)) { throw new FormatException("Invalid image number: " + no); } byteData = new byte[dwWidth * bmpHeight]; long fileOff = ((Long) offsets.get(no / (bmpBitsPerPixel / 8))).longValue(); in.seek(fileOff); int len = bmpScanLineSize; int pad = bmpScanLineSize - dwWidth*(bmpBitsPerPixel / 8); rawData = new byte[bmpActualSize]; int rawOffset = 0; int offset = 0; for (int i=bmpHeight - 1; i>=0; i--) { int n = in.read(rawData, rawOffset, len); if (n < len) { whine("Scan line " + i + " ended prematurely."); } unpack(rawData, rawOffset, byteData, offset, dwWidth); rawOffset += (len - pad); offset += dwWidth; } // reverse scanline ordering byte[] temp = rawData; rawData = new byte[temp.length]; int off = (bmpHeight - 1) * dwWidth * (bmpBitsPerPixel / 8); int newOff = 0; int length = dwWidth * (bmpBitsPerPixel / 8); for (int q=0; q<bmpHeight; q++) { if (bmpBitsPerPixel == 8) { System.arraycopy(temp, off, rawData, newOff, length); } else { // reverse bytes in groups of 3 for (int p=0; p<dwWidth; p++) { rawData[newOff + p*3] = temp[off + p*3 + 2]; rawData[newOff + p*3 + 1] = temp[off + p*3 + 1]; rawData[newOff + p*3 + 2] = temp[off + p*3]; } } off -= length; newOff += length; } if (separated) { byte[] rtn = new byte[rawData.length / 3]; int j = 0; for (int i=(no%3); i<rawData.length; i+=3) { rtn[j] = rawData[i]; j++; } return rtn; } else { return rawData; } }
49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/93c3266b0aa86aa13b4ebb1e915d8ee8113c142e/AVIReader.java/buggy/loci/formats/AVIReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 8526, 1696, 2160, 12, 780, 612, 16, 509, 1158, 13, 565, 1216, 4077, 503, 16, 1860, 225, 288, 565, 309, 16051, 350, 18, 14963, 12, 2972, 548, 3719, 1208, 812, 12, 350, 1769, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1160, 8526, 1696, 2160, 12, 780, 612, 16, 509, 1158, 13, 565, 1216, 4077, 503, 16, 1860, 225, 288, 565, 309, 16051, 350, 18, 14963, 12, 2972, 548, 3719, 1208, 812, 12, 350, 1769, ...
lineText = buffer.getText(lineStart,wordStart); int leadingIndent = MiscUtilities.getLeadingWhiteSpaceWidth( lineText,buffer.getTabSize()); buffer.remove(lineStart + wordStart,pos - wordStart); buffer.insert(lineStart + wordStart,expand.text); if(expand.caretPosition != -1) { textArea.setCaretPosition(lineStart + wordStart + expand.caretPosition); } String whiteSpace = MiscUtilities.createWhiteSpace( leadingIndent,buffer.getBooleanProperty("noTabs") ? 0 : buffer.getTabSize()); for(int i = line + 1; i <= line + expand.lineCount; i++) { buffer.insert(buffer.getLineStartOffset(i), whiteSpace); }
textArea.setCaretPosition(lineStart + wordStart + expand.caretPosition + whitespace);
public static boolean expandAbbrev(View view, boolean add) { //{{{ Figure out some minor things Buffer buffer = view.getBuffer(); JEditTextArea textArea = view.getTextArea(); if(!buffer.isEditable()) { view.getToolkit().beep(); return false; } int line = textArea.getCaretLine(); int lineStart = buffer.getLineStartOffset(line); int caret = textArea.getCaretPosition(); String lineText = buffer.getLineText(line); if(lineText.length() == 0) { if(add) view.getToolkit().beep(); return false; } int pos = caret - lineStart; if(pos == 0) { if(add) view.getToolkit().beep(); return false; } //}}} // we reuse the 'pp' vector to save time pp.removeAllElements(); int wordStart; String abbrev; //{{{ Handle abbrevs of the form abbrev#pos1#pos2#pos3#... if(lineText.charAt(pos-1) == '#') { wordStart = lineText.indexOf('#'); wordStart = TextUtilities.findWordStart(lineText,wordStart, buffer.getStringProperty("noWordSep") + '#'); abbrev = lineText.substring(wordStart,pos - 1); // positional parameters will be inserted where $1, $2, $3, ... // occurs in the expansion int lastIndex = 0; for(int i = 0; i < abbrev.length(); i++) { if(abbrev.charAt(i) == '#') { pp.addElement(abbrev.substring(lastIndex,i)); lastIndex = i + 1; } } pp.addElement(abbrev.substring(lastIndex)); // the first element of pp is the abbrev itself abbrev = (String)pp.elementAt(0); pp.removeElementAt(0); } //}}} //{{{ Handle ordinary abbrevs else { wordStart = TextUtilities.findWordStart(lineText,pos - 1, buffer.getStringProperty("noWordSep")); abbrev = lineText.substring(wordStart,pos); } //}}} Expansion expand = expandAbbrev(buffer.getMode().getName(), abbrev,(buffer.getBooleanProperty("noTabs") ? buffer.getTabSize() : 0),pp); //{{{ Maybe show add abbrev dialog if(expand == null) { if(add) new AddAbbrevDialog(view,abbrev); return false; } //}}} //{{{ Insert the expansion else { buffer.beginCompoundEdit(); try { // obtain the leading indent for later use lineText = buffer.getText(lineStart,wordStart); int leadingIndent = MiscUtilities.getLeadingWhiteSpaceWidth( lineText,buffer.getTabSize()); buffer.remove(lineStart + wordStart,pos - wordStart); buffer.insert(lineStart + wordStart,expand.text); if(expand.caretPosition != -1) { textArea.setCaretPosition(lineStart + wordStart + expand.caretPosition); } String whiteSpace = MiscUtilities.createWhiteSpace( leadingIndent,buffer.getBooleanProperty("noTabs") ? 0 : buffer.getTabSize()); // note that if expand.lineCount is 0, we // don't do any indentation at all for(int i = line + 1; i <= line + expand.lineCount; i++) { buffer.insert(buffer.getLineStartOffset(i), whiteSpace); } } finally { buffer.endCompoundEdit(); } if(expand.posParamCount != pp.size()) { view.getStatus().setMessageAndClear( jEdit.getProperty( "view.status.incomplete-abbrev", new Integer[] { new Integer(pp.size()), new Integer(expand.posParamCount) })); } return true; } //}}} } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/5a550023f7f2d2c30de5145b8f8be0f94102409b/Abbrevs.java/buggy/org/gjt/sp/jedit/Abbrevs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 4542, 5895, 27216, 12, 1767, 1476, 16, 1250, 527, 13, 202, 95, 202, 202, 759, 12187, 95, 18818, 596, 2690, 8439, 9198, 202, 202, 1892, 1613, 273, 1476, 18, 588, 189...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 4542, 5895, 27216, 12, 1767, 1476, 16, 1250, 527, 13, 202, 95, 202, 202, 759, 12187, 95, 18818, 596, 2690, 8439, 9198, 202, 202, 1892, 1613, 273, 1476, 18, 588, 189...
-1, -1, -1, -1, -1, -1, -1, -1, -1, 321,
-1, -1, -1, -1, -1, -1, -1, -1, 320, 321,
private static final short[] yyCheck2() { return new short[] { -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, 41, -1, -1, 44, -1, -1, -1, 41, -1, -1, -1, -1, 0, -1, 61, -1, -1, -1, -1, -1, 61, -1, 10, -1, -1, 59, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, 91, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, 0, -1, 302, 303, 304, 305, 306, 307, 308, 309, 10, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, 262, 263, 264, -1, 279, 280, 268, 269, 331, 271, 279, -1, -1, -1, -1, 338, 339, -1, 41, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, 58, 59, 360, -1, -1, 363, 364, 365, 366, 367, 368, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 331, -1, -1, -1, -1, -1, 331, 338, 280, 281, 282, -1, 343, 338, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 359, 0, -1, 362, -1, -1, 359, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 125, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 0, -1, 336, 337, 338, -1, -1, 341, 41, -1, 10, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 59, 361, 362, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 41, -1, -1, 44, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, 125, 93, -1, -1, -1, -1, -1, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, 61, -1, 63, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 125, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, 61, -1, 63, -1, -1, 280, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 262, 263, 264, 91, -1, 93, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 362, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 58, 59, 336, 337, 338, -1, 340, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, 0, 353, 354, 355, 356, 357, 358, 359, -1, 361, 10, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 41, 281, 282, 44, -1, -1, -1, -1, 125, -1, 290, 291, 41, 293, 294, 295, 296, 297, 59, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 59, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, 125, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 41, -1, -1, 44, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, 262, 263, 264, -1, -1, 0, 268, 269, -1, 271, -1, -1, -1, -1, -1, 10, 125, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 0, 361, 58, 59, -1, -1, -1, 63, -1, -1, 10, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 93, -1, -1, -1, 41, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, 59, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 93, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 58, 59, 336, 337, 338, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, 125, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, -1, -1, -1, 41, 349, 0, 351, -1, 353, 354, 355, 356, 357, 358, 359, 10, 361, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, 125, 271, -1, -1, -1, -1, -1, -1, -1, 91, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, 125, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, -1, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 125, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 58, 59, -1, -1, -1, 63, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, 125, -1, -1, -1, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, 41, 290, 291, 44, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 125, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, 125, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, 336, 337, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, 41, 271, -1, 44, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, 58, 59, -1, -1, -1, 63, 293, 294, 295, 296, 297, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 341, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 125, -1, 341, 0, -1, -1, -1, -1, 347, -1, 349, -1, 351, 10, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, 93, 336, 337, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, 336, 337, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, 41, 290, 291, 44, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 91, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 59, -1, 61, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 125, 0, 341, -1, -1, -1, -1, -1, 347, -1, 349, 10, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 58, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, 340, -1, 41, -1, -1, 44, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 59, 361, 61, -1, 63, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, }; }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 26936, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 26936, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, ...
jjCheckNAddStates(13, 15);
jjCheckNAddStates(15, 17);
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 71; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 4) kind = 4; jjCheckNAddStates(0, 8); } else if ((0x100003600L & l) != 0L) { if (kind > 1) kind = 1; } else if ((0x8000281000000000L & l) != 0L) { if (kind > 10) kind = 10; jjCheckNAdd(21); } else if (curChar == 37) jjCheckNAddStates(9, 12); else if (curChar == 47) jjstateSet[jjnewStateCnt++] = 26; else if (curChar == 40) jjCheckNAddStates(13, 15); else if (curChar == 46) jjCheckNAdd(6); if (curChar == 45) jjCheckNAddStates(16, 21); else if (curChar == 47) jjCheckNAddTwoStates(23, 24); else if (curChar == 48) jjstateSet[jjnewStateCnt++] = 2; break; case 1: if (curChar == 48) jjstateSet[jjnewStateCnt++] = 2; break; case 3: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(3, 4); break; case 5: if (curChar == 46) jjCheckNAdd(6); break; case 6: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(22, 24); break; case 8: if ((0x280000000000L & l) != 0L) jjCheckNAdd(9); break; case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(9, 10); break; case 11: if (curChar == 40) jjCheckNAddStates(13, 15); break; case 12: if ((0xfffffdffffffffffL & l) != 0L) jjCheckNAddStates(13, 15); break; case 14: if ((0x28000000400L & l) != 0L) jjCheckNAddStates(13, 15); break; case 15: if (curChar == 41 && kind > 9) kind = 9; break; case 16: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(25, 28); break; case 17: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(13, 15); break; case 18: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 19; break; case 19: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(17); break; case 20: if ((0x8000281000000000L & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 21: if ((0x83ff681000000000L & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 22: if (curChar == 47) jjCheckNAddTwoStates(23, 24); break; case 23: if (curChar == 46) jjCheckNAdd(24); break; case 24: if ((0x8000281000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 25: if ((0x83ff681000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 26: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 27; break; case 27: if ((0x8000281000000000L & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 28: if ((0x83ff681000000000L & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 29: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 26; break; case 30: if (curChar == 37) jjCheckNAddStates(9, 12); break; case 31: if ((0xfffffffffffffbffL & l) != 0L) jjCheckNAddTwoStates(31, 32); break; case 32: if (curChar == 10 && kind > 2) kind = 2; break; case 33: if ((0xffffffffffffdfffL & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 13 && kind > 3) kind = 3; break; case 35: if (curChar == 45) jjCheckNAddStates(16, 21); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(36, 4); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if (curChar != 46) break; if (kind > 7) kind = 7; jjCheckNAddStates(29, 31); break; case 39: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(29, 31); break; case 41: if ((0x280000000000L & l) != 0L) jjCheckNAdd(42); break; case 42: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(42, 10); break; case 43: if (curChar == 46) jjCheckNAdd(44); break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(32, 34); break; case 46: if ((0x280000000000L & l) != 0L) jjCheckNAdd(47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(47, 10); break; case 48: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(48, 49); break; case 50: if ((0x280000000000L & l) != 0L) jjCheckNAdd(51); break; case 51: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(51, 10); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(35, 37); break; case 54: if ((0x280000000000L & l) != 0L) jjCheckNAdd(55); break; case 55: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(55, 10); break; case 56: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddStates(0, 8); break; case 57: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 58: if (curChar != 46) break; if (kind > 7) kind = 7; jjCheckNAddStates(38, 40); break; case 59: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(38, 40); break; case 61: if ((0x280000000000L & l) != 0L) jjCheckNAdd(62); break; case 62: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(62, 10); break; case 63: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 65: if ((0x280000000000L & l) != 0L) jjCheckNAdd(66); break; case 66: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(66, 10); break; case 67: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(41, 43); break; case 69: if ((0x280000000000L & l) != 0L) jjCheckNAdd(70); break; case 70: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(70, 10); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 21: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 2: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(3); break; case 3: if ((0x7e0000007eL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(3, 4); break; case 4: if ((0x100000001000L & l) != 0L && kind > 4) kind = 4; break; case 7: if ((0x2000000020L & l) != 0L) jjAddStates(44, 45); break; case 10: if ((0x5000000050L & l) != 0L && kind > 7) kind = 7; break; case 12: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(13, 15); break; case 13: if (curChar == 92) jjAddStates(46, 48); break; case 14: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(13, 15); break; case 24: case 25: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 27: case 28: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 31: jjAddStates(49, 50); break; case 33: jjAddStates(51, 52); break; case 40: if ((0x2000000020L & l) != 0L) jjAddStates(53, 54); break; case 45: if ((0x2000000020L & l) != 0L) jjAddStates(55, 56); break; case 49: if ((0x2000000020L & l) != 0L) jjAddStates(57, 58); break; case 53: if ((0x2000000020L & l) != 0L) jjAddStates(59, 60); break; case 60: if ((0x2000000020L & l) != 0L) jjAddStates(61, 62); break; case 64: if ((0x2000000020L & l) != 0L) jjAddStates(63, 64); break; case 68: if ((0x2000000020L & l) != 0L) jjAddStates(65, 66); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 21: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 12: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(13, 15); break; case 24: case 25: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 27: case 28: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 31: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(49, 50); break; case 33: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(51, 52); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 71 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/3cd4a973dbdca1f7072d8e189d388c5a878cc9a6/PAParserTokenManager.java/buggy/itext/src/com/lowagie/text/pdf/codec/postscript/PAParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750,...
public void mIGNORE() throws RecognitionException { try { ruleNestingLevel++; int _type = IGNORE; int _start = getCharIndex(); int _line = getLine(); int _charPosition = getCharPositionInLine(); int _channel = Token.DEFAULT_CHANNEL; // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1383:11: ( . ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1383:11: . { matchAny(); if (failed) return ; } if ( backtracking==0 ) { if ( token==null && ruleNestingLevel==1 ) { emit(_type,_line,_charPosition,_channel,_start,getCharIndex()-1); } } } finally { ruleNestingLevel--; } }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/c3437c2488c314384990c4282a547e0f92ca02c2/DRLLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 20118, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 1720, 50, 10100, 2355, 9904, 31, 5411, 509, 389, 723, 273, 14919, 31, 5411, 509, 389, 1937, 273, 23577, 1016, 5621, 541...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 20118, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 1720, 50, 10100, 2355, 9904, 31, 5411, 509, 389, 723, 273, 14919, 31, 5411, 509, 389, 1937, 273, 23577, 1016, 5621, 541...
genCondBranch(asm.NE, bTarget);
genCondBranch(VM_Assembler.NE, bTarget);
protected final void emit_if_acmpne(int bTarget) { asm.emitPOP_Reg(S0); asm.emitPOP_Reg(T0); asm.emitCMP_Reg_Reg(T0, S0); genCondBranch(asm.NE, bTarget); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/b456534d9b99de463325c8cc3907b41fc605cb4c/VM_Compiler.java/clean/rvm/src/vm/arch/intel/compilers/baseline/VM_Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 3626, 67, 430, 67, 1077, 1291, 4644, 12, 474, 324, 2326, 13, 288, 565, 20415, 18, 18356, 30374, 67, 1617, 12, 55, 20, 1769, 565, 20415, 18, 18356, 30374, 67, 1617, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3626, 67, 430, 67, 1077, 1291, 4644, 12, 474, 324, 2326, 13, 288, 565, 20415, 18, 18356, 30374, 67, 1617, 12, 55, 20, 1769, 565, 20415, 18, 18356, 30374, 67, 1617, 12, ...
RubyClass result = javaModule.defineClassUnder("JavaClass", runtime.getClasses().getObjectClass());
RubyClass result = javaModule.defineClassUnder("JavaClass", runtime.getClasses().getJavaObjectClass());
public static RubyClass createJavaClassClass(Ruby runtime, RubyModule javaModule) { RubyClass result = javaModule.defineClassUnder("JavaClass", runtime.getClasses().getObjectClass()); CallbackFactory callbackFactory = runtime.callbackFactory(JavaClass.class); result.includeModule(runtime.getClasses().getComparableModule()); JavaObject.registerRubyMethods(runtime, result); result.defineSingletonMethod("for_name", callbackFactory.getSingletonMethod("for_name", IRubyObject.class)); result.defineMethod("public?", callbackFactory.getMethod("public_p")); result.defineMethod("final?", callbackFactory.getMethod("final_p")); result.defineMethod("interface?", callbackFactory.getMethod("interface_p")); result.defineMethod("array?", callbackFactory.getMethod("array_p")); result.defineMethod("name", callbackFactory.getMethod("name")); result.defineMethod("to_s", callbackFactory.getMethod("name")); result.defineMethod("superclass", callbackFactory.getMethod("superclass")); result.defineMethod("<=>", callbackFactory.getMethod("op_cmp", IRubyObject.class)); result.defineMethod("java_instance_methods", callbackFactory.getMethod("java_instance_methods")); result.defineMethod("java_class_methods", callbackFactory.getMethod("java_class_methods")); result.defineMethod("java_method", callbackFactory.getOptMethod("java_method")); result.defineMethod("constructors", callbackFactory.getMethod("constructors")); result.defineMethod("constructor", callbackFactory.getOptMethod("constructor")); result.defineMethod("array_class", callbackFactory.getMethod("array_class")); result.defineMethod("new_array", callbackFactory.getMethod("new_array", IRubyObject.class)); result.defineMethod("fields", callbackFactory.getMethod("fields")); result.defineMethod("field", callbackFactory.getMethod("field", IRubyObject.class)); result.defineMethod("interfaces", callbackFactory.getMethod("interfaces")); result.defineMethod("primitive?", callbackFactory.getMethod("primitive_p")); result.defineMethod("assignable_from?", callbackFactory.getMethod("assignable_from_p", IRubyObject.class)); result.defineMethod("component_type", callbackFactory.getMethod("component_type")); result.defineMethod("declared_instance_methods", callbackFactory.getMethod("declared_instance_methods")); result.defineMethod("declared_class_methods", callbackFactory.getMethod("declared_class_methods")); result.defineMethod("declared_fields", callbackFactory.getMethod("declared_fields")); result.defineMethod("declared_field", callbackFactory.getMethod("declared_field", IRubyObject.class)); result.defineMethod("declared_constructors", callbackFactory.getMethod("declared_constructors")); result.defineMethod("declared_constructor", callbackFactory.getOptMethod("declared_constructor")); result.defineMethod("declared_method", callbackFactory.getOptMethod("declared_method")); result.getMetaClass().undefineMethod("new"); return result; }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/538206b07965dc935f98f51fb54a7e9dbebb0fdb/JavaClass.java/buggy/src/org/jruby/javasupport/JavaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 5852, 797, 797, 12, 54, 10340, 3099, 16, 19817, 3120, 2252, 3120, 13, 288, 3639, 19817, 797, 563, 273, 2252, 3120, 18, 11255, 797, 14655, 2932, 5852, 797, 3113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 797, 752, 5852, 797, 797, 12, 54, 10340, 3099, 16, 19817, 3120, 2252, 3120, 13, 288, 3639, 19817, 797, 563, 273, 2252, 3120, 18, 11255, 797, 14655, 2932, 5852, 797, 3113...
public boolean validTarget (Piece target, boolean allowSelf)
public boolean validTarget ( BangObject bangobj, Piece target, boolean allowSelf)
public boolean validTarget (Piece target, boolean allowSelf) { return (target instanceof Unit) && super.validTarget(target, allowSelf); }
8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/f4a7c8138ce0968e9374895607b50632a42a44fd/DreamCatcher.java/buggy/src/java/com/threerings/bang/game/data/piece/DreamCatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 923, 2326, 261, 605, 539, 921, 324, 539, 2603, 16, 453, 8414, 1018, 16, 1250, 1699, 10084, 13, 565, 288, 3639, 327, 261, 3299, 1276, 8380, 13, 597, 2240, 18, 877, 2326, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 923, 2326, 261, 605, 539, 921, 324, 539, 2603, 16, 453, 8414, 1018, 16, 1250, 1699, 10084, 13, 565, 288, 3639, 327, 261, 3299, 1276, 8380, 13, 597, 2240, 18, 877, 2326, 12, ...
htmlCode = imageStart + ImagePath + imageEnd; return htmlCode ; }
htmlCode = imageStart + ImagePath + imageEnd; return htmlCode ; }
protected String setNewDiscFlag (Vector dataV, String ImagePath) throws ServletException, IOException { // Lets get the information regarding the replylevel int index = 0 ; String htmlCode = "" ; String imageStart = "<img src=\"" ; String imageEnd = "\">" ; htmlCode = imageStart + ImagePath + imageEnd; return htmlCode ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/ConfAdmin.java/clean/servlets/conf/ConfAdmin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 19469, 28912, 4678, 261, 5018, 501, 58, 16, 514, 3421, 743, 13, 202, 15069, 16517, 16, 1860, 288, 202, 202, 759, 511, 2413, 336, 326, 1779, 29012, 326, 4332, 2815, 202, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 19469, 28912, 4678, 261, 5018, 501, 58, 16, 514, 3421, 743, 13, 202, 15069, 16517, 16, 1860, 288, 202, 202, 759, 511, 2413, 336, 326, 1779, 29012, 326, 4332, 2815, 202, ...
}
} else if (selection.size() == 1 && (element instanceof IResource) && ((IResource) element).getType() == IResource.PROJECT) { OpenResourceAction ora = new OpenResourceAction(getSite() .getShell()); ora.selectionChanged((IStructuredSelection) viewer.getSelection()); if (ora.isEnabled()) { ora.run(); } }
protected void handleDoubleClick(DoubleClickEvent event) { IStructuredSelection selection = (IStructuredSelection) event .getSelection(); Object element = selection.getFirstElement(); // 1GBZIA0: ITPUI:WIN2000 - Double-clicking in navigator should expand/collapse containers TreeViewer viewer = getTreeViewer(); if (viewer.isExpandable(element)) { viewer.setExpandedState(element, !viewer.getExpandedState(element)); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/7607b119675d7f6c606dc5a4af1a852d6587d020/ResourceNavigator.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/ResourceNavigator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1640, 5265, 6563, 12, 5265, 6563, 1133, 871, 13, 288, 3639, 467, 30733, 6233, 4421, 273, 261, 45, 30733, 6233, 13, 871, 7734, 263, 588, 6233, 5621, 3639, 1033, 930, 273, 4421, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1640, 5265, 6563, 12, 5265, 6563, 1133, 871, 13, 288, 3639, 467, 30733, 6233, 4421, 273, 261, 45, 30733, 6233, 13, 871, 7734, 263, 588, 6233, 5621, 3639, 1033, 930, 273, 4421, ...
paramName = urlEncode( paramName, "ISO-8859-1" ); paramValue = urlEncode( paramValue, "UTF-8" ); queryString += ( isFirst ? "" : "&" ) + paramName + "=" + paramValue;
paramName = urlEncode( paramName, ISO_8859_1_ENCODE ); paramValue = urlEncode( paramValue, UTF_8_ENCODE ); queryString += ( isFirst ? "" : PARAMETER_SEPARATOR ) + paramName + EQUALS_OPERATOR + paramValue;
public static String getEncodedQueryString( HttpServletRequest request, String name, String value ) { String queryString = ""; //$NON-NLS-1$ Enumeration e = request.getParameterNames( ); Set nullParams = getParameterValues( request, PARAM_ISNULL ); boolean isFirst = true; while ( e.hasMoreElements( ) ) { String paramName = (String) e.nextElement( ); if ( paramName != null && !paramName.equalsIgnoreCase( PARAM_ISNULL ) ) { String paramValue = getParameter( request, paramName, false ); if ( nullParams != null && nullParams.remove( toUTFString( paramName ) ) && !paramName.equalsIgnoreCase( name ) ) // Parameter // value is // null. { paramName = urlEncode( paramName, "ISO-8859-1" ); //$NON-NLS-1$ queryString += ( isFirst ? "" : "&" ) + PARAM_ISNULL + "=" + paramName; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ isFirst = false; continue; } if ( paramName.equalsIgnoreCase( name ) ) { paramValue = value; } paramName = urlEncode( paramName, "ISO-8859-1" ); //$NON-NLS-1$ paramValue = urlEncode( paramValue, "UTF-8" ); //$NON-NLS-1$ queryString += ( isFirst ? "" : "&" ) + paramName + "=" + paramValue; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ isFirst = false; } } if ( nullParams != null && nullParams.size( ) > 0 ) { Iterator i = nullParams.iterator( ); while ( i.hasNext( ) ) { String paramName = (String) i.next( ); if ( paramName != null && !paramName.equalsIgnoreCase( name ) ) { paramName = urlEncode( paramName, "UTF-8" ); //$NON-NLS-1$ queryString += ( isFirst ? "" : "&" ) + PARAM_ISNULL + "=" + paramName; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ isFirst = false; } } } if ( name != null && name.length( ) > 0 ) // Only handle valid name. { if ( getParameter( request, name ) == null ) { String paramValue = value; paramValue = urlEncode( paramValue, "UTF-8" ); //$NON-NLS-1$ queryString += ( isFirst ? "" : "&" ) + name + "=" + paramValue; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ isFirst = false; } } return queryString; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/36f5c1f9fdad21fddfe9855eec53df32f125e252/ParameterAccessor.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 28799, 15276, 12, 9984, 590, 16, 1082, 202, 780, 508, 16, 514, 460, 262, 202, 95, 202, 202, 780, 11337, 273, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 28799, 15276, 12, 9984, 590, 16, 1082, 202, 780, 508, 16, 514, 460, 262, 202, 95, 202, 202, 780, 11337, 273, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, ...
void innerUpdate(){ Logger.minor(this, "Update() called"); synchronized(this) { if((result == null) || hasBeenBlown) { Logger.minor(this, "Returning: result="+result+", isAutoUpdateAllowed="+isAutoUpdateAllowed+", hasBeenBlown="+hasBeenBlown); return; } this.revocationDNFCounter = 0; this.finalCheck = true; } System.err.println("Searching for revocation key"); this.queueFetchRevocation(100); synchronized(this) { while(revocationDNFCounter < 3) { System.err.println("Revocation counter: "+revocationDNFCounter); if(this.hasBeenBlown) { Logger.error(this, "The revocation key has been found on the network : blocking auto-update"); return; } try { wait(100*1000); } catch (InterruptedException e) { // Ignore } } } System.err.println("Update in progress"); Logger.normal(this, "Update in progress"); try{ ArrayBucket bucket = (ArrayBucket) result.asBucket(); byte[] data = bucket.toByteArray(); File fRunning = new File("freenet-cvs-snapshot.jar"); File fNew = new File("freenet-cvs-snapshot.jar.new"); boolean nastyRestart = false; if(File.separatorChar != '\\') { // Do nothing. } else { nastyRestart = true; Properties p = WrapperManager.getProperties(); String cp1 = p.getProperty("wrapper.java.classpath.1"); if(cp1.equals("freenet-cvs-snapshot.jar")) { // Cool! } else if(cp1.equals("freenet-cvs-snapshot.jar.new")) { // Swapped; we are running .new File tmp = fRunning; fRunning = fNew; fNew = tmp; } else { cp1 = p.getProperty("wrapper.java.classpath.2"); if(cp1.equals("freenet-cvs-snapshot.jar")) { // Cool! } else if(cp1.equals("freenet-cvs-snapshot.jar.new")) { // Swapped; we are running .new File tmp = fRunning; fRunning = fNew; fNew = tmp; } else { Logger.error(this, "Cannot restart on Windows due to non-standard config file!"); System.err.println("Cannot restart on Windows due to non-standard config file!"); return; } } } fNew.delete(); FileOutputStream fos = new FileOutputStream(fNew); fos.write(data); fos.flush(); fos.close(); System.out.println("################## File written! "+cg.getURI().getSuggestedEdition()+ " " +fNew.getAbsolutePath()); if(!nastyRestart) { // Easy way. if(!fNew.renameTo(fRunning)) { fRunning.delete(); if(!fNew.renameTo(fRunning)) { System.err.println("ERROR renaming the file!"); return; } } } else { // Hard way. if(!WrapperManager.isControlledByNativeWrapper()) { Logger.error(this, "Cannot update because not running under wrapper"); System.err.println("Cannot update because not running under wrapper"); return; } try { File oldConfig = new File("wrapper.conf"); File newConfig = new File("wrapper.conf.new"); FileInputStream fis = new FileInputStream(oldConfig); BufferedInputStream bis = new BufferedInputStream(fis); InputStreamReader isr = new InputStreamReader(bis); BufferedReader br = new BufferedReader(isr); fos = new FileOutputStream(newConfig); OutputStreamWriter osw = new OutputStreamWriter(fos); BufferedWriter bw = new BufferedWriter(osw); String line; boolean succeeded = false; boolean stillSucceeded = false; while((line = br.readLine()) != null) { if(line.equals("wrapper.java.classpath.1="+fRunning.getName())) { bw.write("wrapper.java.classpath.1="+fNew.getName()+"\r\n"); succeeded = true; } else if(line.equals("wrapper.java.classpath.2="+fRunning.getName())) { bw.write("wrapper.java.classpath.2="+fNew.getName()+"\r\n"); succeeded = true; } else { if(line.equals("wrapper.restart.reload_configuration=TRUE")) stillSucceeded = true; bw.write(line+"\r\n"); } } bw.close(); br.close(); if(!succeeded) { System.err.println("Not able to update because of non-standard config"); Logger.error(this, "Not able to update because of non-standard config"); return; } if(!stillSucceeded) { System.err.println("Not able to update because of non-standard or old config, add a line saying \"wrapper.restart.reload_configuration=TRUE\""); Logger.error(this, "Not able to update because of non-standard or old config, add a line saying \"wrapper.restart.reload_configuration=TRUE\""); return; } if(!newConfig.renameTo(oldConfig)) { oldConfig.delete(); if(!newConfig.renameTo(oldConfig)) { System.err.println("Failed to rename over old config: update failed."); Logger.error(this, "Failed to rename over old config: update failed."); return; } } // New config installed. } catch (IOException e) { Logger.error(this, "Not able to update because of I/O error: "+e, e); System.err.println("Not able to update because of I/O error: "+e); } } if(node.getNodeStarter()!=null) { System.err.println("Restarting because of update"); node.getNodeStarter().restart(); } else{ System.out.println("New version has been downloaded: please restart your node!"); node.exit(); } System.err.println("WTF? Restart returned!?"); }catch(Exception e){ Logger.error(this, "Error while updating the node : "+e); System.out.println("Exception : "+e); e.printStackTrace(); } }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/0ce52e9ff1e0048c34e8d11f2ad596bc8936f6e9/NodeUpdater.java/clean/src/freenet/node/updater/NodeUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 3443, 1891, 1435, 95, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 1891, 1435, 2566, 8863, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12443, 2088, 422, 446, 13, 747...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6459, 3443, 1891, 1435, 95, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 1891, 1435, 2566, 8863, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12443, 2088, 422, 446, 13, 747...
String text = getText(); double fraction = getFraction(); String text2 = getText2(); myTextLabel.setText(text != null && text.length() > 0 ? text : " "); if (!isIndeterminate() && fraction > 0) { myPercentLabel.setText(getPercentage(fraction) + "%"); } else { myPercentLabel.setText(" "); } final int perc = (int)(fraction * 100); if (perc != myProgressBar.getValue()) { if (perc != 0) { if (myProgressBar.isIndeterminate()) { myProgressBar.setIndeterminate(false); } myProgressBar.setValue(perc); } else { if (myProgressBar.isIndeterminate()) { myProgressBar.setIndeterminate(true); }
if (isRunning() && !isCanceled() && getFraction() < 0.15 && myDialog!=null) { setFunComponent(cmp);
public void run() { String text = getText(); double fraction = getFraction(); String text2 = getText2(); myTextLabel.setText(text != null && text.length() > 0 ? text : " "); if (!isIndeterminate() && fraction > 0) { myPercentLabel.setText(getPercentage(fraction) + "%"); } else { myPercentLabel.setText(" "); } final int perc = (int)(fraction * 100); if (perc != myProgressBar.getValue()) { if (perc != 0) { if (myProgressBar.isIndeterminate()) { myProgressBar.setIndeterminate(false); } myProgressBar.setValue(perc); } else { if (myProgressBar.isIndeterminate()) { myProgressBar.setIndeterminate(true); } } } myText2Label.setText(getTitle2Text(text2, myText2Label.getWidth())); myTitlePanel.setText(myTitle != null && myTitle.length() > 0 ? myTitle : " "); myLastTimeDrawn = System.currentTimeMillis(); myRepaintedFlag = true; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/bd2adb20a0dcacacfa56fe59390862b3f3cbac79/ProgressWindow.java/clean/source/com/intellij/openapi/progress/util/ProgressWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1086, 1435, 288, 3639, 514, 977, 273, 6701, 5621, 3639, 1645, 8330, 273, 2812, 5738, 5621, 3639, 514, 977, 22, 273, 6701, 22, 5621, 3639, 3399, 1528, 2224, 18, 542, 1528, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1086, 1435, 288, 3639, 514, 977, 273, 6701, 5621, 3639, 1645, 8330, 273, 2812, 5738, 5621, 3639, 514, 977, 22, 273, 6701, 22, 5621, 3639, 3399, 1528, 2224, 18, 542, 1528, 12, ...
current_row = 0;
if (rows.size() > 0) current_row = -1;
public void beforeFirst() throws SQLException { current_row = 0; }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/bfecb64d47041edf87ac6b4608a5f79f89a8be4c/ResultSet.java/clean/org/postgresql/jdbc2/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1865, 3759, 1435, 1216, 6483, 565, 288, 202, 430, 261, 3870, 18, 1467, 1435, 405, 374, 13, 783, 67, 492, 273, 300, 21, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 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, 1865, 3759, 1435, 1216, 6483, 565, 288, 202, 430, 261, 3870, 18, 1467, 1435, 405, 374, 13, 783, 67, 492, 273, 300, 21, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, ...
String name = attribute.getName();
final String name = attribute.getName(); checkUnboundNamespacePrefix(attribute, tag, XmlUtil.findPrefixByQualifiedName(name));
public void visitXmlAttribute(XmlAttribute attribute) { XmlTag tag = attribute.getParent(); if (attribute.isNamespaceDeclaration()) { checkNamespaceAttribute(attribute); return; } else { final String namespace = attribute.getNamespace(); if (XmlUtil.XML_SCHEMA_INSTANCE_URI.equals(namespace)) { if (attribute.getName().endsWith(LOCATION_ATT_SUFFIX)) { checkSchemaLocationAttribute(attribute); } else { if(attribute.getValueElement() != null) { checkReferences(attribute.getValueElement(), QuickFixProvider.NULL); } } return; } } XmlElementDescriptor elementDescriptor = tag.getDescriptor(); if (elementDescriptor == null || ourDoJaxpTesting) return; XmlAttributeDescriptor attributeDescriptor = elementDescriptor.getAttributeDescriptor(attribute); String name = attribute.getName(); if (attributeDescriptor == null) { final String localizedMessage = XmlErrorMessages.message("attribute.is.not.allowed.here", name); final HighlightInfo highlightInfo = reportAttributeProblem(tag, name, attribute, localizedMessage); TagFileQuickFixProvider.registerTagFileAttributeReferenceQuickFix(highlightInfo, attribute.getReference()); } else { checkDuplicateAttribute(tag, attribute); if (tag instanceof HtmlTag && attribute.getValueElement() == null && !HtmlUtil.isSingleHtmlAttribute(attribute.getName()) ) { final String localizedMessage = XmlErrorMessages.message("empty.attribute.is.not.allowed", name); reportAttributeProblem(tag, name, attribute, localizedMessage); } } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/2b52a52906b7bcb1abeabf11a26336d9261e8678/XmlHighlightVisitor.java/clean/codeInsight/impl/com/intellij/codeInsight/daemon/impl/analysis/XmlHighlightVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3757, 4432, 1499, 12, 4432, 1499, 1566, 13, 288, 565, 5714, 1805, 1047, 273, 1566, 18, 588, 3054, 5621, 565, 309, 261, 4589, 18, 291, 3402, 6094, 10756, 288, 1377, 866, 3402, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3757, 4432, 1499, 12, 4432, 1499, 1566, 13, 288, 565, 5714, 1805, 1047, 273, 1566, 18, 588, 3054, 5621, 565, 309, 261, 4589, 18, 291, 3402, 6094, 10756, 288, 1377, 866, 3402, ...
throw runtime.newLoadError("No such file to load -- " + file);
library = findLibraryWithClassloaders(file); if (library == null) { throw runtime.newLoadError("No such file to load -- " + file); }
public void load(String file) { Library library = null; library = findLibrary(file); if (library == null) { throw runtime.newLoadError("No such file to load -- " + file); } try { library.load(runtime); } catch (IOException e) { throw runtime.newLoadError("IO error -- " + file); } }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/fe11f82bc6236dc6746a228a50d4bac6d467618e/LoadService.java/buggy/src/org/jruby/runtime/load/LoadService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 12, 780, 585, 13, 288, 3639, 18694, 5313, 273, 446, 31, 7734, 5313, 273, 1104, 9313, 12, 768, 1769, 3639, 309, 261, 12083, 422, 446, 13, 288, 5411, 5313, 273, 1104, 931...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1262, 12, 780, 585, 13, 288, 3639, 18694, 5313, 273, 446, 31, 7734, 5313, 273, 1104, 9313, 12, 768, 1769, 3639, 309, 261, 12083, 422, 446, 13, 288, 5411, 5313, 273, 1104, 931...
this.fContainer = container; if (container != null) this.fProject = container.getProject(); else this.fProject = null;
fContainer = container;
public BaseExtensionPointMainPage(IContainer container) { super("newExtensionPoint"); //$NON-NLS-1$ this.fContainer = container; if (container != null) this.fProject = container.getProject(); else this.fProject = null; }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/d5622063c9a61dcafe5e4a802f3a9b477efbc3f7/BaseExtensionPointMainPage.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/extension/BaseExtensionPointMainPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3360, 3625, 2148, 6376, 1964, 12, 45, 2170, 1478, 13, 288, 202, 202, 9565, 2932, 2704, 3625, 2148, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2211, 18, 74, 2170, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3360, 3625, 2148, 6376, 1964, 12, 45, 2170, 1478, 13, 288, 202, 202, 9565, 2932, 2704, 3625, 2148, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2211, 18, 74, 2170, 273, ...
public static Projection getDefaultProjectionFromEnvironment(int width, int height) { Projection proj = null; int w = (width <= 0) ? Environment.getInteger(Environment.Width, MapBean.DEFAULT_WIDTH) : width; int h = (height <= 0) ? Environment.getInteger(Environment.Height, MapBean.DEFAULT_HEIGHT) : height; try { proj = ProjectionFactory.makeProjection(Environment.get(Environment.Projection), Environment.getFloat(Environment.Latitude, 0f), Environment.getFloat(Environment.Longitude, 0f), Environment.getFloat(Environment.Scale, Float.POSITIVE_INFINITY), w, h); } catch (com.bbn.openmap.proj.ProjectionException pe) { Debug.output("ProjectionFactory.getDefaultProjectionFromEnvironment(): Can't use (" + Environment.Projection + " = " + Environment.get(Environment.Projection) + ") property as a projection class, need a class name instead. Using default of com.bbn.openmap.proj.Mercator."); proj = ProjectionFactory.makeProjection(Mercator.class, Environment.getFloat(Environment.Latitude, 0f), Environment.getFloat(Environment.Longitude, 0f), Environment.getFloat(Environment.Scale, Float.POSITIVE_INFINITY), w, h); } return proj;
public static Projection getDefaultProjectionFromEnvironment() { return getDefaultProjectionFromEnvironment(0, 0);
public static Projection getDefaultProjectionFromEnvironment(int width, int height) { // Initialize the map projection, scale, center // with user prefs or defaults Projection proj = null; int w = (width <= 0) ? Environment.getInteger(Environment.Width, MapBean.DEFAULT_WIDTH) : width; int h = (height <= 0) ? Environment.getInteger(Environment.Height, MapBean.DEFAULT_HEIGHT) : height; try { proj = ProjectionFactory.makeProjection(Environment.get(Environment.Projection), Environment.getFloat(Environment.Latitude, 0f), Environment.getFloat(Environment.Longitude, 0f), Environment.getFloat(Environment.Scale, Float.POSITIVE_INFINITY), w, h); } catch (com.bbn.openmap.proj.ProjectionException pe) { Debug.output("ProjectionFactory.getDefaultProjectionFromEnvironment(): Can't use (" + Environment.Projection + " = " + Environment.get(Environment.Projection) + ") property as a projection class, need a class name instead. Using default of com.bbn.openmap.proj.Mercator."); proj = ProjectionFactory.makeProjection(Mercator.class, Environment.getFloat(Environment.Latitude, 0f), Environment.getFloat(Environment.Longitude, 0f), Environment.getFloat(Environment.Scale, Float.POSITIVE_INFINITY), w, h); } return proj; }
3071 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3071/70d69220e6b5d5565c04775c546f5e8ef59053c9/ProjectionFactory.java/buggy/src/openmap/com/bbn/openmap/proj/ProjectionFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 21288, 4829, 14789, 1265, 5494, 12, 474, 1835, 16, 28524, 509, 2072, 13, 288, 3639, 368, 9190, 326, 852, 8106, 16, 3159, 16, 4617, 3639, 368, 598, 729, 15503, 578, 3467, 3639, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21288, 4829, 14789, 1265, 5494, 12, 474, 1835, 16, 28524, 509, 2072, 13, 288, 3639, 368, 9190, 326, 852, 8106, 16, 3159, 16, 4617, 3639, 368, 598, 729, 15503, 578, 3467, 3639, ...
+ homedirFile.getAbsolutePath();
+ homedirFile.getAbsolutePath();
private File accessibleFile(String homedir, String fileName) throws IOException { File file = null; try { logger.logEntry(); homedir = homedir.trim(); if(!homedir.endsWith(File.separator)) { homedir += File.separator; } file = new File(homedir + fileName); if (file.canRead() || file.canWrite()) { return file; } File homedirFile = new File(homedir); if(!homedirFile.exists()) { logger.debug("Creating home directory : " + homedirFile.getAbsolutePath()); if(!homedirFile.mkdirs()) { String message = "Could not create the home directory : " + homedirFile.getAbsolutePath(); logger.debug(message); throw new IOException(message); } logger.debug("Home directory created : " + homedirFile.getAbsolutePath()); } else if (!homedirFile.canWrite()) { file = null; } } finally { logger.logExit(); } return file; }
43455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43455/dd511f0f97892bf31dc2a7a1989480bf6b6b5308/FileAccessServiceImpl.java/buggy/src/net/java/sip/communicator/impl/fileaccess/FileAccessServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1387, 12718, 812, 12, 780, 13995, 23210, 16, 514, 3968, 13, 1216, 1860, 288, 3639, 1387, 585, 273, 446, 31, 3639, 775, 288, 5411, 1194, 18, 1330, 1622, 5621, 5411, 13995, 23210, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1387, 12718, 812, 12, 780, 13995, 23210, 16, 514, 3968, 13, 1216, 1860, 288, 3639, 1387, 585, 273, 446, 31, 3639, 775, 288, 5411, 1194, 18, 1330, 1622, 5621, 5411, 13995, 23210, 273...
List validHosts = new ArrayList(Math.min(FETCH_AMOUNT, udpHosts.size())); for(Iterator i = udpHosts.iterator(); i.hasNext() && validHosts.size() < FETCH_AMOUNT; ) {
List validHosts = new ArrayList(Math.min(FETCH_AMOUNT, udpHosts.size())); List invalidHosts = new LinkedList(); for(Iterator i = udpHosts.iterator(); i.hasNext() && validHosts.size() < FETCH_AMOUNT; ) {
public synchronized boolean fetchHosts() { // If the order has possibly changed, resort. if(dirty) { // shuffle then sort, ensuring that we're still going to use // hosts in order of failure, but within each of those buckets // the order will be random. Collections.shuffle(udpHosts); Collections.sort(udpHosts, FAILURE_COMPARATOR); dirty = false; } // Keep only the first FETCH_AMOUNT of the valid hosts. List validHosts = new ArrayList(Math.min(FETCH_AMOUNT, udpHosts.size())); for(Iterator i = udpHosts.iterator(); i.hasNext() && validHosts.size() < FETCH_AMOUNT; ) { Object next = i.next(); if(!attemptedHosts.contains(next)) validHosts.add(next); } attemptedHosts.addAll(validHosts); return fetch(validHosts); }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/9dd766b214d2c9de6acc3cbf0357a88550563875/UDPHostCache.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/bootstrap/UDPHostCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1250, 2158, 12172, 1435, 288, 3639, 368, 971, 326, 1353, 711, 10016, 3550, 16, 400, 499, 18, 3639, 309, 12, 18013, 13, 288, 5411, 368, 12552, 1508, 1524, 16, 24831, 716, 732, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1250, 2158, 12172, 1435, 288, 3639, 368, 971, 326, 1353, 711, 10016, 3550, 16, 400, 499, 18, 3639, 309, 12, 18013, 13, 288, 5411, 368, 12552, 1508, 1524, 16, 24831, 716, 732, ...
super(conn,fields,tuples,status,updateCount);
super(conn,fields,tuples,status,updateCount,insertOID);
public ResultSet(Connection conn, Field[] fields, Vector tuples, String status, int updateCount) { super(conn,fields,tuples,status,updateCount); }
47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/e3cc370d155c3cbf97f179a98d64c2ce1550e25f/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10842, 12, 1952, 1487, 16, 2286, 8526, 1466, 16, 5589, 10384, 16, 514, 1267, 16, 509, 1089, 1380, 13, 225, 288, 1377, 2240, 12, 4646, 16, 2821, 16, 17705, 16, 2327, 16, 2725, 1380...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10842, 12, 1952, 1487, 16, 2286, 8526, 1466, 16, 5589, 10384, 16, 514, 1267, 16, 509, 1089, 1380, 13, 225, 288, 1377, 2240, 12, 4646, 16, 2821, 16, 17705, 16, 2327, 16, 2725, 1380...
result = parentContainer.getComponent(componentKey);
result = parentRegistry.getComponentInstance(componentKey);
public Object getComponentInstance(Object componentKey) { // First look in child Object result = componentRegistry.getComponentInstance(componentKey); // Then look in parent if we had nothing if (result == null) { result = parentContainer.getComponent(componentKey); } return result; }
14040 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14040/47b2a79a3e2bb19b97ea7736273df40b79ab5472/HierarchicalComponentRegistry.java/clean/java/picocontainer/src/java/org/picocontainer/hierarchical/HierarchicalComponentRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 10322, 1442, 12, 921, 1794, 653, 13, 288, 3639, 368, 5783, 2324, 316, 1151, 3639, 1033, 563, 273, 1794, 4243, 18, 588, 1841, 1442, 12, 4652, 653, 1769, 3639, 368, 9697, 2324, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10322, 1442, 12, 921, 1794, 653, 13, 288, 3639, 368, 5783, 2324, 316, 1151, 3639, 1033, 563, 273, 1794, 4243, 18, 588, 1841, 1442, 12, 4652, 653, 1769, 3639, 368, 9697, 2324, ...
}
private static EncodingInfo[] loadEncodingInfo() { URL url = null; try { String urlString = null; InputStream is = null; try { urlString = System.getProperty(ENCODINGS_PROP, ""); } catch (SecurityException e) { } if (urlString != null && urlString.length() > 0) { url = new URL(urlString); is = url.openStream(); } if (is == null) { SecuritySupport ss = SecuritySupport.getInstance(); is = ss.getResourceAsStream(ObjectFactory.findClassLoader(), ENCODINGS_FILE); } Properties props = new Properties(); if (is != null) { props.load(is); is.close(); } else { // Seems to be no real need to force failure here, let the // system do its best... The issue is not really very critical, // and the output will be in any case _correct_ though maybe not // always human-friendly... :) // But maybe report/log the resource problem? // Any standard ways to report/log errors (in static context)? } int totalEntries = props.size(); int totalMimeNames = 0; Enumeration keys = props.keys(); for (int i = 0; i < totalEntries; ++i) { String javaName = (String) keys.nextElement(); String val = props.getProperty(javaName); totalMimeNames++; int pos = val.indexOf(' '); for (int j = 0; j < pos; ++j) if (val.charAt(j) == ',') totalMimeNames++; } EncodingInfo[] ret = new EncodingInfo[totalMimeNames]; int j = 0; keys = props.keys(); for (int i = 0; i < totalEntries; ++i) { String javaName = (String) keys.nextElement(); String val = props.getProperty(javaName); int pos = val.indexOf(' '); String mimeName; //int lastPrintable; if (pos < 0) { // Maybe report/log this problem? // "Last printable character not defined for encoding " + // mimeName + " (" + val + ")" ... mimeName = val; // lastPrintable = 0x00FF; } else {// lastPrintable =// Integer.decode(val.substring(pos).trim()).intValue(); StringTokenizer st = new StringTokenizer(val.substring(0, pos), ","); for (boolean first = true; st.hasMoreTokens(); first = false) { mimeName = st.nextToken(); ret[j] = new EncodingInfo(mimeName, javaName); _encodingTableKeyMime.put( mimeName.toUpperCase(), ret[j]); if (first) _encodingTableKeyJava.put( javaName.toUpperCase(), ret[j]); j++; } } } return ret; } catch (java.net.MalformedURLException mue) { throw new org.apache.xml.serializer.utils.WrappedRuntimeException(mue); } catch (java.io.IOException ioe) { throw new org.apache.xml.serializer.utils.WrappedRuntimeException(ioe); } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/79c09149c0601e636898f65ec640b8cdd51877a5/Encodings.java/clean/src/org/apache/xml/serializer/Encodings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 13400, 966, 8526, 1262, 4705, 966, 1435, 565, 288, 3639, 1976, 880, 273, 446, 31, 3639, 775, 3639, 288, 5411, 514, 29374, 273, 446, 31, 5411, 5037, 353, 273, 446, 31, 5411, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13400, 966, 8526, 1262, 4705, 966, 1435, 565, 288, 3639, 1976, 880, 273, 446, 31, 3639, 775, 3639, 288, 5411, 514, 29374, 273, 446, 31, 5411, 5037, 353, 273, 446, 31, 5411, 7...
assertEquals(1, test.getYears()); assertEquals(1, test.getMonths()); assertEquals(1, test.getWeeks()); assertEquals(1, test.getDays());
assertEquals(0, test.getYears()); assertEquals(0, test.getMonths()); assertEquals(0, test.getWeeks()); assertEquals(0, test.getDays());
public void testConstructor_RI_RI_DurationType3() throws Throwable { DateTime dt1 = new DateTime(2004, 6, 9, 0, 0, 0, 0); DateTime dt2 = new DateTime(2005, 7, 17, 1, 1, 1, 1); TimePeriod test = new TimePeriod(dt1, dt2, DurationType.getAllType().withMillisRemoved()); assertEquals(DurationType.getAllType().withMillisRemoved(), test.getDurationType()); assertEquals(1, test.getYears()); assertEquals(1, test.getMonths()); assertEquals(1, test.getWeeks()); assertEquals(1, test.getDays()); assertEquals(1, test.getHours()); assertEquals(1, test.getMinutes()); assertEquals(1, test.getSeconds()); assertEquals(0, test.getMillis()); assertEquals(true, test.isPrecise()); assertEquals(dt2.getMillis() - dt1.getMillis() - 1, test.toDurationMillis()); }
52859 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52859/1c524312cdc4a8c8a38a4226aeea6da77b519fe8/TestPeriod_Constructors.java/clean/JodaTime/src/test/org/joda/time/TestPeriod_Constructors.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6293, 67, 2259, 67, 2259, 67, 5326, 559, 23, 1435, 1216, 4206, 288, 3639, 3716, 3681, 21, 273, 394, 3716, 12, 6976, 24, 16, 1666, 16, 2468, 16, 374, 16, 374, 16, 374,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6293, 67, 2259, 67, 2259, 67, 5326, 559, 23, 1435, 1216, 4206, 288, 3639, 3716, 3681, 21, 273, 394, 3716, 12, 6976, 24, 16, 1666, 16, 2468, 16, 374, 16, 374, 16, 374,...
action.setText( point.getExtensionName( ) );
action.setText( displayName );
private void createInsertElementMenu( IMenuManager menuManager, String group_name ) { MenuManager subMenu = new MenuManager( ELEMENT_MENU_ITEM_TEXT ); IAction action = getAction( GeneralInsertMenuAction.INSERT_TEXT_ID ); action.setText( GeneralInsertMenuAction.INSERT_TEXT_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_LABEL_ID ); action.setText( GeneralInsertMenuAction.INSERT_LABEL_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_DATA_ID ); action.setText( GeneralInsertMenuAction.INSERT_DATA_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_IMAGE_ID ); action.setText( GeneralInsertMenuAction.INSERT_IMAGE_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_GRID_ID ); action.setText( GeneralInsertMenuAction.INSERT_GRID_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_LIST_ID ); action.setText( GeneralInsertMenuAction.INSERT_LIST_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_TABLE_ID ); action.setText( GeneralInsertMenuAction.INSERT_TABLE_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_DYNAMIC_TEXT_ID ); action .setText( GeneralInsertMenuAction.INSERT_DYNAMIC_TEXT_DISPLAY_TEXT ); subMenu.add( action ); /* * Extended Items insert actions */ List points = ExtensionPointManager.getInstance( ) .getExtendedElementPoints( ); for ( Iterator iter = points.iterator( ); iter.hasNext( ); ) { ExtendedElementUIPoint point = (ExtendedElementUIPoint) iter.next( ); IElementDefn extension = DesignEngine.getMetaDataDictionary( ) .getExtension( point.getExtensionName( ) ); String displayName = new String( ); displayName = extension.getDisplayName( ); action = getAction( point.getExtensionName( ) ); if ( action != null ) { if ( displayName.equalsIgnoreCase( "Chart" ) ) //$NON-NLS-1$ { action.setText( "&" + displayName ); //$NON-NLS-1$ } else { action.setText( point.getExtensionName( ) ); } subMenu.add( action ); } } menuManager.appendToGroup( group_name, subMenu ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/14b69e5f285a7468a3de7f55ff9a85dfc33f2e4c/SchematicContextMenuProvider.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/providers/SchematicContextMenuProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 4600, 1046, 4599, 12, 467, 4599, 1318, 3824, 1318, 16, 1082, 202, 780, 1041, 67, 529, 262, 202, 95, 202, 202, 4599, 1318, 720, 4599, 273, 394, 9809, 1318, 12, 13424...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 4600, 1046, 4599, 12, 467, 4599, 1318, 3824, 1318, 16, 1082, 202, 780, 1041, 67, 529, 262, 202, 95, 202, 202, 4599, 1318, 720, 4599, 273, 394, 9809, 1318, 12, 13424...
}
}
public CmsFile createFile(CmsUser user, CmsProject project, CmsProject onlineProject, String filename, int flags, int parentId, byte[] contents, CmsResourceType resourceType) throws CmsException { //System.out.println("PL/SQL: createFile"); if (filename.length() > C_MAX_LENGTH_RESOURCE_NAME){ throw new CmsException("["+this.getClass().getName()+"] "+"Resourcename too long(>"+C_MAX_LENGTH_RESOURCE_NAME+") ",CmsException.C_BAD_NAME); } com.opencms.file.oracleplsql.CmsQueries cq = (com.opencms.file.oracleplsql.CmsQueries) m_cq; // it is not allowed, that there is no content in the file // TODO: check if this can be done in another way: if (contents.length == 0) { contents = " ".getBytes(); } int state = C_STATE_NEW; // Test if the file is already there and marked as deleted. // If so, delete it try { CmsResource resource = readFileHeader(project.getId(), filename); } catch (CmsException e) { // if the file is maked as deleted remove it! if (e.getType()==CmsException.C_RESOURCE_DELETED) { removeFile(project.getId(),filename); state=C_STATE_CHANGED; } } int resourceId = nextId(C_TABLE_RESOURCES); int fileId = nextId(C_TABLE_FILES); PreparedStatement statement = null; PreparedStatement statementFileIns = null; PreparedStatement statementFileUpd = null; PreparedStatement nextStatement = null; Connection con = null; ResultSet res = null; try { con = DriverManager.getConnection(m_poolName); statement = con.prepareStatement(m_cq.C_RESOURCES_WRITE); // write new resource to the database statement.setInt(1, resourceId); statement.setInt(2, parentId); statement.setString(3, filename); statement.setInt(4, resourceType.getResourceType()); statement.setInt(5, flags); statement.setInt(6, user.getId()); statement.setInt(7, user.getDefaultGroupId()); statement.setInt(8, project.getId()); statement.setInt(9, fileId); statement.setInt(10, C_ACCESS_DEFAULT_FLAGS); statement.setInt(11, state); statement.setInt(12, C_UNKNOWN_ID); statement.setInt(13, resourceType.getLauncherType()); statement.setString(14, resourceType.getLauncherClass()); statement.setTimestamp(15, new Timestamp(System.currentTimeMillis())); statement.setTimestamp(16, new Timestamp(System.currentTimeMillis())); statement.setInt(17, contents.length); statement.setInt(18, user.getId()); statement.executeUpdate(); statement.close(); // first insert new file without file_content, then update the file_content // these two steps are necessary because of using BLOBs in the Oracle DB statementFileIns = con.prepareStatement(cq.C_PLSQL_FILESFORINSERT); statementFileIns.setInt(1, fileId); statementFileIns.executeUpdate(); statementFileIns.close(); // update the file content in the FILES database. statementFileUpd = con.prepareStatement(cq.C_PLSQL_FILESFORUPDATE); statementFileUpd.setInt(1, fileId); con.setAutoCommit(false); res = statementFileUpd.executeQuery(); try { while (res.next()) { oracle.sql.BLOB blobnew = ((OracleResultSet) res).getBLOB("FILE_CONTENT"); ByteArrayInputStream instream = new ByteArrayInputStream(contents); OutputStream outstream = blobnew.getBinaryOutputStream(); byte[] chunk = new byte[blobnew.getChunkSize()]; int i = -1; while ((i = instream.read(chunk)) != -1) { outstream.write(chunk, 0, i); } instream.close(); outstream.close(); } // for the oracle-driver commit or rollback must be executed manually // because setAutoCommit = false nextStatement = con.prepareStatement(cq.C_COMMIT); nextStatement.execute(); nextStatement.close(); con.setAutoCommit(true); } catch (IOException e) { throw new CmsException("[" + this.getClass().getName() + "] " + e.getMessage(), e); } statementFileUpd.close(); res.close(); } catch (SQLException e) { throw new CmsException("[" + this.getClass().getName() + "] " + e.getMessage(), CmsException.C_SQL_ERROR, e); } finally { if (res != null) { try { res.close(); } catch (SQLException se) { } } if (statement != null) { try { statement.close(); } catch (SQLException exc){ } } if (statementFileIns != null) { try { statementFileIns.close(); } catch (SQLException exc) { } } if (statementFileUpd != null) { try { statementFileUpd.close(); } catch (SQLException exc) { } try { nextStatement = con.prepareStatement(cq.C_ROLLBACK); nextStatement.execute(); } catch (SQLException se) { } } if (nextStatement != null) { try { nextStatement.close(); } catch (SQLException exc) { } } if (con != null) { try { con.setAutoCommit(true); } catch (SQLException se) { } try { con.close(); } catch (SQLException e){ } } } return readFile(user.getId(), project.getId(), onlineProject.getId(), filename);}
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/2650e41d0ec3cf443ac9d32172a68296418865b7/CmsDbAccess.java/clean/src/com/opencms/file/oracleplsql/CmsDbAccess.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 28118, 21266, 12, 4747, 1299, 729, 16, 2149, 4109, 1984, 16, 2149, 4109, 12365, 4109, 16, 514, 1544, 16, 509, 2943, 16, 509, 11582, 16, 1160, 8526, 2939, 16, 30696, 14110, 13, 1216, 1122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 28118, 21266, 12, 4747, 1299, 729, 16, 2149, 4109, 1984, 16, 2149, 4109, 12365, 4109, 16, 514, 1544, 16, 509, 2943, 16, 509, 11582, 16, 1160, 8526, 2939, 16, 30696, 14110, 13, 1216, 1122...
throw new RubyArgumentException(getRuby(), "Wrong # of arguments for method. " + args.length + " is not in Range " + min + ".." + max);
throw new RubyArgumentException(getRuby(), "Wrong # of arguments for method. " + args.length + " is not in Range " + min + ".." + max);
protected int argCount(RubyObject[] args, int min, int max) { int len = args.length; if (len < min || (max > -1 && len > max)) { throw new RubyArgumentException(getRuby(), "Wrong # of arguments for method. " + args.length + " is not in Range " + min + ".." + max); } return len; }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/4e4bb40b2eb2d38881d15ca8ef7cda4c34323793/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 1501, 1380, 12, 54, 10340, 921, 8526, 833, 16, 509, 1131, 16, 509, 943, 13, 288, 3639, 509, 562, 273, 833, 18, 2469, 31, 3639, 309, 261, 1897, 411, 1131, 747, 261, 1896, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 509, 1501, 1380, 12, 54, 10340, 921, 8526, 833, 16, 509, 1131, 16, 509, 943, 13, 288, 3639, 509, 562, 273, 833, 18, 2469, 31, 3639, 309, 261, 1897, 411, 1131, 747, 261, 1896, 40...
optionPanel.addSpanningComponent(wholeTreeRadio); optionPanel.addSeparator(); }
optionPanel.addSpanningComponent(wholeTreeRadio); optionPanel.addSeparator(); }
public TreeSummaryStatistic createStatistic(TreeSummaryStatistic.Factory factory) { if (factory.allowsCharacter() || factory.allowsCharacterState() || factory.allowsTaxonList()) { OptionsPanel optionPanel = new OptionsPanel(); optionPanel.addSpanningComponent(new JLabel(factory.getSummaryStatisticDescription())); final JRadioButton wholeTreeRadio = new JRadioButton("For the whole tree", false); final JRadioButton characterRadio = new JRadioButton("Using a given character", false); final JComboBox characterCombo = new JComboBox(); for (int i = 0; i < treeStatData.characters.size(); i++) { characterCombo.addItem(treeStatData.characters.get(i)); } final JComboBox characterStateCombo = new JComboBox(); characterCombo.addItemListener( new ItemListener() { public void itemStateChanged(ItemEvent e) { TreeStatData.Character c = (TreeStatData.Character)characterCombo.getSelectedItem(); if (c != null) { for (int i = 0; i < c.states.size(); i++) { characterCombo.addItem(c.states.get(i)); } } } }); if (characterCombo.getItemCount() > 0) { characterCombo.setSelectedIndex(0); } final JRadioButton taxonSetRadio = new JRadioButton("Using a given taxon set", false); final JComboBox taxonSetCombo = new JComboBox(); for (int i = 0; i < treeStatData.taxonSets.size(); i++) { taxonSetCombo.addItem(treeStatData.taxonSets.get(i)); } ButtonGroup group = new ButtonGroup(); ItemListener listener = new ItemListener() { public void itemStateChanged(ItemEvent e) { characterCombo.setEnabled(characterRadio.isSelected()); characterStateCombo.setEnabled(characterRadio.isSelected()); taxonSetCombo.setEnabled(taxonSetRadio.isSelected()); } }; if (factory.allowsWholeTree()) { group.add(wholeTreeRadio); wholeTreeRadio.addItemListener(listener); optionPanel.addSpanningComponent(wholeTreeRadio); optionPanel.addSeparator(); } if (factory.allowsTaxonList()) { group.add(taxonSetRadio); taxonSetRadio.addItemListener(listener); optionPanel.addSpanningComponent(taxonSetRadio); optionPanel.addComponentWithLabel("Taxon Set: ", taxonSetCombo); optionPanel.addSeparator(); } if (factory.allowsCharacter()) { group.add(characterRadio); characterRadio.addItemListener(listener); optionPanel.addSpanningComponent(characterRadio); optionPanel.addComponentWithLabel("Character: ", characterStateCombo); if (factory.allowsCharacterState()) { optionPanel.addComponentWithLabel("State: ", characterStateCombo); } optionPanel.addSeparator(); } if (factory.allowsCharacter()) { characterRadio.setSelected(true); } if (factory.allowsTaxonList()) { taxonSetRadio.setSelected(true); } if (factory.allowsWholeTree()) { wholeTreeRadio.setSelected(true); } JOptionPane optionPane = new JOptionPane(optionPanel, JOptionPane.QUESTION_MESSAGE, JOptionPane.OK_CANCEL_OPTION, null, null, null); optionPane.setBorder(new EmptyBorder(12, 12, 12, 12)); JDialog dialog = optionPane.createDialog(frame, factory.getSummaryStatisticName()); // dialog.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE); dialog.pack(); dialog.show(); if (optionPane.getValue() == null) { return null; } int value = ((Integer)optionPane.getValue()).intValue(); if (value == -1 || value == JOptionPane.CANCEL_OPTION) { return null; } if (wholeTreeRadio.isSelected()) { return factory.createStatistic(); } else if (characterRadio.isSelected()) { TreeStatData.Character c = (TreeStatData.Character)characterCombo.getSelectedItem(); if (factory.allowsCharacterState()) { return factory.createStatistic(); } else { return factory.createStatistic(); } } else if (taxonSetRadio.isSelected()) { TreeStatData.TaxonSet t = (TreeStatData.TaxonSet)taxonSetCombo.getSelectedItem(); Taxa taxa = new Taxa(); taxa.setId(t.name); Iterator iter = t.taxa.iterator(); while (iter.hasNext()) { String id = (String)iter.next(); Taxon taxon = new Taxon(id); taxa.addTaxon(taxon); } return factory.createStatistic(taxa); } else { return null; } } else { return factory.createStatistic(); } }
51824 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51824/4c91f2e43da7110d692a57f1f31fad4ac9ddb9c1/StatisticsPanel.java/buggy/src/dr/app/treestat/StatisticsPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 4902, 4733, 20673, 752, 20673, 12, 2471, 4733, 20673, 18, 1733, 3272, 13, 288, 1850, 309, 261, 6848, 18, 5965, 87, 7069, 1435, 747, 3272, 18, 5965, 87, 7069, 1119, 1435, 747, 3272,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4902, 4733, 20673, 752, 20673, 12, 2471, 4733, 20673, 18, 1733, 3272, 13, 288, 1850, 309, 261, 6848, 18, 5965, 87, 7069, 1435, 747, 3272, 18, 5965, 87, 7069, 1119, 1435, 747, 3272,...
public CollapsiblePanel(boolean isDoubleBuffered) { super(isDoubleBuffered); constraints = new GridBagConstraints(); constraints.ipadx = 0; constraints.ipady = 0; layout = new ToolBarLayout(); layout.setInsets(new Insets(0,0,0,0)); layout.setIPadX(0); layout.setIPadY(0); setLayout(layout); constraints.insets = new Insets(0,0,0,0); constraints.anchor = GridBagConstraints.NORTHWEST; constraints.fill = GridBagConstraints.NONE; CollapseButton collapseButton = new CollapseButton(VERTICAL); add(collapseButton, constraints); Dimension dim = collapseButton.getSize(); collapseButton.reshape(0,0,dim.width,dim.height); // constraints.insets = new Insets(5,5,5,5); constraints.anchor = GridBagConstraints.WEST; collapsed = false; revalidate(); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/dba8c3b6ca55297114840a7e8d6a99e1d87d27cb/CollapsiblePanel.java/buggy/grendel/sources/grendel/widgets/CollapsiblePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1558, 3762, 2736, 5537, 12, 6494, 353, 5265, 17947, 13, 288, 202, 9565, 12, 291, 5265, 17947, 1769, 7734, 6237, 273, 394, 13075, 5621, 3639, 6237, 18, 625, 361, 92, 273, 374, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1558, 3762, 2736, 5537, 12, 6494, 353, 5265, 17947, 13, 288, 202, 9565, 12, 291, 5265, 17947, 1769, 7734, 6237, 273, 394, 13075, 5621, 3639, 6237, 18, 625, 361, 92, 273, 374, 31, ...
String italicValue = italic.getSelection( ) ? DesignChoiceConstants.FONT_STYLE_ITALIC
String italicValue = italic.getSelection( ) ? DesignChoiceConstants.FONT_STYLE_ITALIC
protected void okPressed( ) { try { String familyValue = getRawFontFamily( ); String sizeValue = getRawFontSize( ); int colorValue = DEUtil.getRGBInt( color.getRGB( ) ); int backColorValue = DEUtil.getRGBInt( backColor.getRGB( ) ); String italicValue = italic.getSelection( ) ? DesignChoiceConstants.FONT_STYLE_ITALIC : DesignChoiceConstants.FONT_STYLE_NORMAL; String weightValue = bold.getSelection( ) ? DesignChoiceConstants.FONT_WEIGHT_BOLD : DesignChoiceConstants.FONT_WEIGHT_NORMAL; String underlineValue = underline.getSelection( ) ? DesignChoiceConstants.TEXT_UNDERLINE_UNDERLINE : DesignChoiceConstants.TEXT_UNDERLINE_NONE; String lingthroughValue = linethrough.getSelection( ) ? DesignChoiceConstants.TEXT_LINE_THROUGH_LINE_THROUGH : DesignChoiceConstants.TEXT_LINE_THROUGH_NONE; // provider.setTestExpression( DEUtil.resolveNull( // expression.getText( ) ) ); if ( handle == null ) { HighlightRule rule = StructureFactory.createHighlightRule( ); rule.setProperty( HighlightRule.OPERATOR_MEMBER, DEUtil.resolveNull( getValueForOperator( operator .getText( ) ) ) ); rule.setProperty( HighlightRule.VALUE1_MEMBER, DEUtil .resolveNull( value1.getText( ) ) ); rule.setProperty( HighlightRule.VALUE2_MEMBER, DEUtil .resolveNull( value2.getText( ) ) ); /** * Sets our necessary style properties. */ if ( color.getRGB( ) != null ) { rule.setProperty( HighlightRule.COLOR_MEMBER, new Integer( colorValue ) ); } if ( backColor.getRGB( ) != null ) { rule.setProperty( HighlightRule.BACKGROUND_COLOR_MEMBER, new Integer( backColorValue ) ); } if ( familyValue != null ) { rule.setProperty( HighlightRule.FONT_FAMILY_MEMBER, familyValue ); } if ( sizeValue != null ) { rule .setProperty( HighlightRule.FONT_SIZE_MEMBER, sizeValue ); } if ( isItalicChanged ) { rule.setProperty( HighlightRule.FONT_STYLE_MEMBER, italicValue ); } if ( isBoldChanged ) { rule.setProperty( HighlightRule.FONT_WEIGHT_MEMBER, weightValue ); } if ( isLinethroughChanged ) { rule.setProperty( HighlightRule.TEXT_LINE_THROUGH_MEMBER, lingthroughValue ); } if ( isUnderlineChanged ) { rule.setProperty( HighlightRule.TEXT_UNDERLINE_MEMBER, underlineValue ); } // set test expression into highlight rule. rule.setTestExpression( DEUtil.resolveNull( expression .getText( ) ) ); handle = provider.doAddItem( rule, handleCount ); } else { handle .setOperator( DEUtil .resolveNull( getValueForOperator( operator .getText( ) ) ) ); handle.setValue1( DEUtil.resolveNull( value1.getText( ) ) ); if ( handle.getOperator( ).equals( DesignChoiceConstants.MAP_OPERATOR_BETWEEN ) || handle.getOperator( ).equals( DesignChoiceConstants.MAP_OPERATOR_NOT_BETWEEN ) ) { handle.setValue2( DEUtil.resolveNull( value2.getText( ) ) ); } handle.getFontFamilyHandle( ).setStringValue( DEUtil.resolveNull( familyValue ) ); handle.getFontSize( ).setStringValue( DEUtil.resolveNull( sizeValue ) ); if ( color.getRGB( ) != null ) { handle.getColor( ).setRGB( colorValue ); } else { handle.getColor( ).setValue( null ); } if ( backColor.getRGB( ) != null ) { handle.getBackgroundColor( ).setRGB( backColorValue ); } else { handle.getBackgroundColor( ).setValue( null ); } if ( isItalicChanged ) { handle.setFontStyle( italicValue ); } if ( isBoldChanged ) { handle.setFontWeight( weightValue ); } if ( isUnderlineChanged ) { handle.setTextUnderline( underlineValue ); } if ( isLinethroughChanged ) { handle.setTextLineThrough( lingthroughValue ); } // set test expression into highlight rule. handle.setTestExpression( DEUtil.resolveNull( expression .getText( ) ) ); } } catch ( Exception e ) { WidgetUtil.processError( getShell( ), e ); } super.okPressed( ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/1cbdabafb0e6f5e8a50eeb05f5cc3d2a2fff1551/HighlightRuleBuilder.java/clean/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, 1117, 918, 1529, 24624, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 780, 6755, 620, 273, 10547, 5711, 9203, 12, 11272, 1082, 202, 780, 963, 620, 273, 10547, 22688, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1529, 24624, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 780, 6755, 620, 273, 10547, 5711, 9203, 12, 11272, 1082, 202, 780, 963, 620, 273, 10547, 22688, 12...
if(state != null) {
if (state != null) {
void interrupted(Context cx) { synchronized(swingMonitor) { if(java.awt.EventQueue.isDispatchThread()) { dispatcherIsWaiting++; if(nonDispatcherWaiting) { // Another thread is stopped in the debugger // process events until it resumes and we // can enter java.awt.EventQueue eventQ = java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue(); while(nonDispatcherWaiting) { try { AWTEvent event = eventQ.getNextEvent(); if(event instanceof ActiveEvent) { ((ActiveEvent)event).dispatch(); } else { Object source = event.getSource(); if(source instanceof Component) { Component comp = (Component)source; // Suppress Window/InputEvent's that aren't // directed to the Debugger // if(!(event instanceof InputEvent || //event instanceof WindowEvent)|| //shouldDispatchTo(comp)) { comp.dispatchEvent(event); //} } else if(source instanceof MenuComponent) { ((MenuComponent)source).dispatchEvent(event); } } if(this.returnValue == EXIT) { return; } swingMonitor.wait(1); } catch(InterruptedException exc) { return; } } } } else { while(isInterrupted || dispatcherIsWaiting > 0) { try { swingMonitor.wait(); } catch(InterruptedException exc) { return; } } nonDispatcherWaiting = true; } isInterrupted = true; } do { currentContext = cx; DebuggableEngine engine = cx.getDebuggableEngine(); Thread thread = Thread.currentThread(); statusBar.setText("Thread: " + thread.toString()); ThreadState state = (ThreadState)threadState.get(thread); int stopAtFrameDepth = -1; if(state != null) { stopAtFrameDepth = state.stopAtFrameDepth; } if(runToCursorFile != null && thread == runToCursorThread) { int frameCount = engine.getFrameCount(); if(frameCount > 0) { DebugFrame frame = engine.getFrame(0); String sourceName = frame.getSourceName(); if(sourceName != null) { if(sourceName.equals(runToCursorFile)) { int lineNumber = frame.getLineNumber(); if(lineNumber == runToCursorLine) { stopAtFrameDepth = -1; runToCursorFile = null; } else { FileWindow w = getFileWindow(sourceName); if(w == null || !w.isBreakPoint(lineNumber)) { return; } else { runToCursorFile = null; } } } } } else { } } if(stopAtFrameDepth > 0) { if (engine.getFrameCount() > stopAtFrameDepth) { break; } } if(state != null) { state.stopAtFrameDepth = -1; } threadState.remove(thread); int frameCount = engine.getFrameCount(); this.frameIndex = frameCount -1; int line = 0; if(frameCount == 0) { break; } DebugFrame frame = engine.getFrame(0); String fileName = frame.getSourceName(); engine.setBreakNextLine(false); line = frame.getLineNumber(); int enterCount = 0; boolean isDispatchThread = java.awt.EventQueue.isDispatchThread(); if(!isDispatchThread) { // detach cx from its thread so the debugger (in the awt // dispatcher thread) can enter it if necessary cx.exit(); while(Context.getCurrentContext() != null) { Context.exit(); enterCount++; } } if(fileName != null && !fileName.equals("<stdin>")) { FileWindow w = (FileWindow)getFileWindow(fileName); if(w != null) { SetFilePosition action = new SetFilePosition(this, w, line); swingInvoke(action); } else { Vector v = (Vector)sourceNames.get(fileName); String source = ((SourceEntry)v.elementAt(0)).source.toString(); CreateFileWindow action = new CreateFileWindow(this, fileName, source, line); swingInvoke(action); } } else { if(console.isVisible()) { final JSInternalConsole finalConsole = console; swingInvoke(new Runnable() { public void run() { finalConsole.show(); } }); } } swingInvoke(new EnterInterrupt(this, cx)); swingInvoke(new UpdateContext(this, cx)); int returnValue; if(!isDispatchThread) { synchronized(monitor) { this.returnValue = -1; try { while(this.returnValue == -1) { monitor.wait(); } returnValue = this.returnValue; } catch(InterruptedException exc) { break; } } } else { java.awt.EventQueue eventQ = java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue(); this.returnValue = -1; while(this.returnValue == -1) { try { AWTEvent event = eventQ.getNextEvent(); if(event instanceof ActiveEvent) { ((ActiveEvent)event).dispatch(); } else { Object source = event.getSource(); if(source instanceof Component) { Component comp = (Component)source; // Suppress Window/InputEvent's that aren't // directed to the Debugger // if(!(event instanceof InputEvent || //event instanceof WindowEvent)|| // shouldDispatchTo(comp)) { //comp.dispatchEvent(event); //} comp.dispatchEvent(event); } else if(source instanceof MenuComponent) { ((MenuComponent)source).dispatchEvent(event); } } } catch(InterruptedException exc) { } } returnValue = this.returnValue; } swingInvoke(new ExitInterrupt(this)); if(!isDispatchThread) { // reattach cx to its thread Context current; if((current = Context.enter(cx)) != cx) { System.out.println("debugger error: cx = " + cx + " current = " + current); } while(enterCount > 0) { Context.enter(); enterCount--; } } switch(returnValue) { case STEP_OVER: engine.setBreakNextLine(true); stopAtFrameDepth = engine.getFrameCount(); if(state == null) { state = new ThreadState(); } state.stopAtFrameDepth = stopAtFrameDepth; threadState.put(thread, state); break; case STEP_INTO: engine.setBreakNextLine(true); if(state != null) { state.stopAtFrameDepth = -1; } break; case STEP_OUT: stopAtFrameDepth = engine.getFrameCount() -1; if(stopAtFrameDepth > 0) { engine.setBreakNextLine(true); if(state == null) { state = new ThreadState(); } state.stopAtFrameDepth = stopAtFrameDepth; threadState.put(thread, state); } break; case RUN_TO_CURSOR: engine.setBreakNextLine(true); if(state != null) { state.stopAtFrameDepth = -1; } break; } } while(false); synchronized(swingMonitor) { isInterrupted = false; if(java.awt.EventQueue.isDispatchThread()) { dispatcherIsWaiting--; } else { nonDispatcherWaiting = false; } swingMonitor.notifyAll(); } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b9766e81693411fa600b26b9a0763dcf621b2770/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 15711, 12, 1042, 9494, 13, 288, 3639, 3852, 12, 5328, 310, 7187, 13, 288, 5411, 309, 12, 6290, 18, 2219, 88, 18, 1133, 3183, 18, 291, 5325, 3830, 10756, 288, 7734, 7393, 2520, 1594...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 15711, 12, 1042, 9494, 13, 288, 3639, 3852, 12, 5328, 310, 7187, 13, 288, 5411, 309, 12, 6290, 18, 2219, 88, 18, 1133, 3183, 18, 291, 5325, 3830, 10756, 288, 7734, 7393, 2520, 1594...
if (fd.pmodifiers==null) {
if (fd.pmodifiers == null) {
public void checkThreadShared(Env env, TypeDecl d) { TypeDeclElem elem; boolean unsharedFieldSeen = false; if (d instanceof ClassDecl&&((ClassDecl)d).superClass!=null) { TypeDecl parent = env.resolveTypeName(((ClassDecl)d).superClass).getTypeDecl(); if (parent!=null&&getLocalThreadStatus(parent,env)) { ErrorMsg.print(sig, "ThreadLocal", d.getStartLoc(), "super class '"+ TypeSig.getSig(parent).getExternalName() + "' of thread shared class '" + TypeSig.getSig(d).getExternalName() + "' must be thread shared", parent.getStartLoc()); } } for (int i = 0; i<d.superInterfaces.size(); i++) { TypeDecl p = env.resolveTypeName(d.superInterfaces.elementAt(i)).getTypeDecl(); if (getLocalThreadStatus(p,env)) { ErrorMsg.print(sig, "ThreadLocal", d.getStartLoc(), "thread shared class " + TypeSig.getSig(d).getExternalName() +" can not implement thread local interface " + p.id, threadLocalAnnotationLoc(p)); } } for (int i = 0; i<d.elems.size(); i++) { elem = d.elems.elementAt(i); switch (elem.getTag()) { case TagConstants.FIELDDECL: { FieldDecl fd = (FieldDecl)elem; if (!Modifiers.isFinal(fd.modifiers)) { if (!guardPragmaExists(fd.pmodifiers) && readOnlyPragma(fd.pmodifiers) == null) { if (rcc.Main.agt) { if (!unsharedFieldSeen) { Info.out("[assuming the unguarded fields of "+ sig+" are guarded by this/" + sig + ".class]"); unsharedFieldSeen = true; } ExprVec expressions = ExprVec.make(); if (Modifiers.isStatic(fd.modifiers)) { expressions.addElement(ClassLiteral.make(sig, fd.getStartLoc())); } else { expressions. addElement(ThisExpr. make(sig, fd.getStartLoc())); } if (fd.pmodifiers==null) { fd.pmodifiers = ModifierPragmaVec.make(); } fd.pmodifiers.addElement(GuardedByModifierPragma. make(expressions, fd.getStartLoc())); } else { if (!Modifiers.isStatic(fd.modifiers)) { ErrorMsg.print(sig, "SharedField", fd.getStartLoc(), "field '" + TypeSig.getSig(d).getExternalName()+"."+ fd.id + "' must be guarded in a thread shared class", Location.NULL); } else { // error reported by commonThreadLocal method } } } } unsharedFieldSeen = false; // reuse for arrays if (!arrayGuarded(fd.type)) { if (rcc.Main.agt) { if (!unsharedFieldSeen) { Info.out("[assuming the unguarded array elements of "+ sig+" are guarded by this/" + sig + ".class]"); unsharedFieldSeen = true; } ExprVec expressions = ExprVec.make(); if (Modifiers.isStatic(fd.modifiers)) { expressions.addElement(ClassLiteral.make(sig, fd.getStartLoc())); } else { expressions. addElement(ThisExpr. make(sig, fd.getStartLoc())); } if (fd.type.tmodifiers == null) { fd.type.tmodifiers = TypeModifierPragmaVec.make(); } fd.type.tmodifiers.addElement(ArrayGuardModifierPragma. make(expressions, fd.getStartLoc())); } else { ErrorMsg.print(sig, "SharedArray", fd.getStartLoc(), "elements of array '" + TypeSig.getSig(d).getExternalName()+"."+ fd.id + "' must be guarded in a thread shared class", Location.NULL); } } javafe.tc.TypeSig type = null; if (fd.type instanceof TypeName) { type = TypeSig.getSig((TypeName)fd.type); if (type == null) { ErrorMsg.print(sig, "ThreadLocal", fd.getStartLoc(), "cannot find class " + fd.type, Location.NULL); break; } } if (fd.type instanceof javafe.tc.TypeSig) { type = (javafe.tc.TypeSig)fd.type; } if (type != null) { // we have a typesig as the type TypeDecl decl = type.getTypeDecl(); if (getLocalThreadStatus(decl, env)) { ErrorMsg.print(sig, type, "ThreadLocal", fd.getStartLoc(), "the class '" + type + "' must be thread shared because field '" + TypeSig.getSig(d).getExternalName()+"."+ fd.id + "' belongs to a shared class", threadLocalAnnotationLoc(decl)); } } break; } } } }
46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/da3049db1eb4330268b3c4bcabb61e7ecd42804f/FlowInsensitiveChecks.java/buggy/src/escjava/trunk/ESCTools/Rcc/java/rcc/tc/FlowInsensitiveChecks.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 866, 3830, 7887, 12, 3491, 1550, 16, 1412, 3456, 302, 13, 288, 3639, 1412, 3456, 7498, 3659, 31, 3639, 1250, 640, 11574, 974, 15160, 273, 629, 31, 13491, 309, 261, 72, 1276, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 866, 3830, 7887, 12, 3491, 1550, 16, 1412, 3456, 302, 13, 288, 3639, 1412, 3456, 7498, 3659, 31, 3639, 1250, 640, 11574, 974, 15160, 273, 629, 31, 13491, 309, 261, 72, 1276, ...
assertEquals(_name() + "save reason", COMPILE_REASON, reason);
assertSaveCount(0); assertCompileStartCount(0); assertCompileEndCount(0); assertInteractionsResetCount(0); assertConsoleResetCount(0); try { doc.saveFile(new FileSelector(file)); doc2.saveFile(new FileSelector(file2)); } catch (IOException ioe) { fail("Save produced exception: " + ioe); }
public void saveAllBeforeProceeding(GlobalModelListener.SaveReason reason) { assertModified(true, doc); assertModified(true, doc2); assertEquals(_name() + "save reason", COMPILE_REASON, reason); saveAllBeforeProceedingCount++; // since we don't actually save the compile should abort }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/8470bac42027a288eff50252d965c363d15d41dc/GlobalModelCompileTest.java/clean/drjava/src/edu/rice/cs/drjava/model/GlobalModelCompileTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1923, 1595, 4649, 626, 5288, 310, 12, 5160, 1488, 2223, 18, 4755, 8385, 3971, 13, 288, 3639, 1815, 4575, 12, 3767, 16, 997, 1769, 3639, 1815, 4575, 12, 3767, 16, 997, 22, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1923, 1595, 4649, 626, 5288, 310, 12, 5160, 1488, 2223, 18, 4755, 8385, 3971, 13, 288, 3639, 1815, 4575, 12, 3767, 16, 997, 1769, 3639, 1815, 4575, 12, 3767, 16, 997, 22, 17...
AbstractVersion version = (AbstractVersion) historyImpl.getNode(name); InternalVersion preds[] = version.getInternalVersion().getPredecessors();
synchronized (eventSourceLock) { eventSource = (SessionImpl) history.getSession();
public synchronized void removeVersion(VersionHistory history, QName name) throws VersionException, RepositoryException { AbstractVersionHistory historyImpl = (AbstractVersionHistory) history; if (!historyImpl.hasNode(name)) { throw new VersionException("Version with name " + name.toString() + " does not exist in this VersionHistory"); } eventSource = (SessionImpl) history.getSession(); // save away predecessors before removing version AbstractVersion version = (AbstractVersion) historyImpl.getNode(name); InternalVersion preds[] = version.getInternalVersion().getPredecessors(); InternalVersionHistoryImpl vh = (InternalVersionHistoryImpl) historyImpl.getInternalVersionHistory(); removeVersion(vh, name); // invalidate predecessors successor properties for (int i = 0; i < preds.length; i++) { PropertyId propId = new PropertyId(preds[i].getId(), QName.JCR_SUCCESSORS); versProvider.onPropertyChanged(propId); } }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/20a7aa8fef6331a191d4c06b3b2b2aa1d3511c1c/VersionManagerImpl.java/buggy/jackrabbit/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1206, 1444, 12, 1444, 5623, 4927, 16, 16723, 508, 13, 5411, 1216, 4049, 503, 16, 13367, 288, 3639, 4115, 1444, 5623, 4927, 2828, 273, 261, 7469, 1444, 5623, 13, 4927, 31,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1206, 1444, 12, 1444, 5623, 4927, 16, 16723, 508, 13, 5411, 1216, 4049, 503, 16, 13367, 288, 3639, 4115, 1444, 5623, 4927, 2828, 273, 261, 7469, 1444, 5623, 13, 4927, 31,...
content= disassembler.disassemble(classFileReader, "\n");
content= disassembler.disassemble(classFileReader, "\n", ClassFileBytesDisassembler.SYSTEM);
private void updateCodeView(StyledText styledText, IClassFile classFile) { String content= null; int flags= IClassFileReader.FIELD_INFOS | IClassFileReader.METHOD_INFOS | IClassFileReader.SUPER_INTERFACES | IClassFileReader.METHOD_BODIES; IClassFileReader classFileReader= ToolFactory.createDefaultClassFileReader(classFile, flags); if (classFileReader != null) { IClassFileDisassembler disassembler= ToolFactory.createDefaultClassFileDisassembler(); content= disassembler.disassemble(classFileReader, "\n"); //$NON-NLS-1$ } styledText.setText(content == null ? "" : content); //$NON-NLS-1$ }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/6b3bbee005e118b564098d4b0b08d0ab10bcd8cc/ClassFileEditor.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1089, 1085, 1767, 12, 24273, 1259, 1528, 16253, 1259, 1528, 16, 467, 797, 812, 29728, 13, 288, 1082, 202, 780, 913, 33, 446, 31, 1082, 202, 474, 2943, 33, 467, 797, 812...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1089, 1085, 1767, 12, 24273, 1259, 1528, 16253, 1259, 1528, 16, 467, 797, 812, 29728, 13, 288, 1082, 202, 780, 913, 33, 446, 31, 1082, 202, 474, 2943, 33, 467, 797, 812...
byte[] nonce1 = new byte[64]; rand.nextBytes(nonce1); byte[] nonce2 = new byte[64]; rand.nextBytes(nonce2); if (MessageDigest.isEqual(nonce1, nonce2)) fail(names[index] + ": nonces match");
private void onePair(int index, int e, int l, boolean nonceOK, boolean proofOK) throws IOException { // Make sure its configured assertTrue(MemoryBoundFunction.basisSize() > 0); long startTime = System.currentTimeMillis(); byte[] nonce1 = new byte[64]; rand.nextBytes(nonce1); byte[] nonce2 = new byte[64]; rand.nextBytes(nonce2); if (MessageDigest.isEqual(nonce1, nonce2)) fail(names[index] + ": nonces match"); MockMemoryBoundFunction.setProof(goodProof); MockMemoryBoundFunction.setNonce(nonce1); int[] proof = null; int numNulls = 0; for (int i = 0; i < 100 && proof == null; i++) { proof = generate(index, nonce1, e, l, 8); numNulls++; } assertTrue(proof != null); assertTrue(proof.length > 0); if (!proofOK) { // Butcher the proof boolean butchered = false; if (proof[0] != 1) { proof[0] = 1; butchered = true; log.debug(names[index] + ": proof[0] = 1"); } else for (int i = 1; i < proof.length; i++) { if (proof[i] > (proof[i-1] + 1)) { proof[i] = proof[i-1] + 1; butchered = true; log.debug(names[index] + ": proof[" + i + "] = " + (proof[i-1]+1)); } } // XXX improve butchering so this doesn't happen if (!butchered) fail(names[index] + ": could not butcher proof"); } boolean ret = verify(index, (nonceOK ? nonce1 : nonce2), e, l, proof, 8); if (nonceOK && proofOK && !ret) fail(names[index] + ": Valid proof declared invalid"); if (nonceOK && !proofOK && ret) fail(names[index] + ": Invalid proof declared valid"); if (!nonceOK && proofOK && ret) fail(names[index] + ": Invalid nonce declared valid"); if (!nonceOK && !proofOK && ret) fail(names[index] + ": Invalid nonce & proof declared valid"); if (numNulls > 2) { log.info(names[index] + " onePair(" + e + "," + l + ") took " + (System.currentTimeMillis() - startTime) + " msec " + numNulls + " retries"); } else { log.debug(names[index] + " onePair(" + e + "," + l + ") took " + (System.currentTimeMillis() - startTime) + " msec"); } }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/ac1c43b2f21056159f71ff537fe5d6c109bf20b7/TestMemoryBoundFunction.java/buggy/test/src/org/lockss/mbf/TestMemoryBoundFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1245, 4154, 12, 474, 770, 16, 509, 425, 16, 509, 328, 16, 1250, 7448, 3141, 16, 1082, 4202, 1250, 14601, 3141, 13, 1216, 1860, 288, 565, 368, 4344, 3071, 2097, 4351, 565, 181...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1245, 4154, 12, 474, 770, 16, 509, 425, 16, 509, 328, 16, 1250, 7448, 3141, 16, 1082, 4202, 1250, 14601, 3141, 13, 1216, 1860, 288, 565, 368, 4344, 3071, 2097, 4351, 565, 181...
setAttribute("class", newValue); }
setAttribute("class", newValue); }
public void setClassName(String newValue) { setAttribute("class", newValue); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/bf94d6634ab3635fdb8210105d9c1c839d13e555/WMLGoElementImpl.java/clean/src/org/apache/wml/dom/WMLGoElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 3834, 12, 780, 6129, 13, 288, 565, 4730, 2932, 1106, 3113, 6129, 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, ...
[ 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 3834, 12, 780, 6129, 13, 288, 565, 4730, 2932, 1106, 3113, 6129, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
AST tmp1817_AST_in = (AST)_t;
AST tmp1820_AST_in = (AST)_t;
public final void argfunc(AST _t) throws RecognitionException { AST argfunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AACBIT: { AST __t310 = _t; AST tmp1735_AST_in = (AST)_t; match(_t,AACBIT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t310; _t = _t.getNextSibling(); break; } case AAMSG: { AST __t311 = _t; AST tmp1736_AST_in = (AST)_t; match(_t,AAMSG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t311; _t = _t.getNextSibling(); break; } case ABSOLUTE: { AST __t312 = _t; AST tmp1737_AST_in = (AST)_t; match(_t,ABSOLUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t312; _t = _t.getNextSibling(); break; } case ALIAS: { AST __t313 = _t; AST tmp1738_AST_in = (AST)_t; match(_t,ALIAS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t313; _t = _t.getNextSibling(); break; } case ASC: { AST __t314 = _t; AST tmp1739_AST_in = (AST)_t; match(_t,ASC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t314; _t = _t.getNextSibling(); break; } case BASE64DECODE: { AST __t315 = _t; AST tmp1740_AST_in = (AST)_t; match(_t,BASE64DECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t315; _t = _t.getNextSibling(); break; } case BASE64ENCODE: { AST __t316 = _t; AST tmp1741_AST_in = (AST)_t; match(_t,BASE64ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t316; _t = _t.getNextSibling(); break; } case CANDO: { AST __t317 = _t; AST tmp1742_AST_in = (AST)_t; match(_t,CANDO); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t317; _t = _t.getNextSibling(); break; } case CANQUERY: { AST __t318 = _t; AST tmp1743_AST_in = (AST)_t; match(_t,CANQUERY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t318; _t = _t.getNextSibling(); break; } case CANSET: { AST __t319 = _t; AST tmp1744_AST_in = (AST)_t; match(_t,CANSET); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t319; _t = _t.getNextSibling(); break; } case CAPS: { AST __t320 = _t; AST tmp1745_AST_in = (AST)_t; match(_t,CAPS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t320; _t = _t.getNextSibling(); break; } case CHR: { AST __t321 = _t; AST tmp1746_AST_in = (AST)_t; match(_t,CHR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t321; _t = _t.getNextSibling(); break; } case CODEPAGECONVERT: { AST __t322 = _t; AST tmp1747_AST_in = (AST)_t; match(_t,CODEPAGECONVERT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t322; _t = _t.getNextSibling(); break; } case COLLATE: { AST __t323 = _t; AST tmp1748_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t323; _t = _t.getNextSibling(); break; } case COMPARE: { AST __t324 = _t; AST tmp1749_AST_in = (AST)_t; match(_t,COMPARE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t324; _t = _t.getNextSibling(); break; } case CONNECTED: { AST __t325 = _t; AST tmp1750_AST_in = (AST)_t; match(_t,CONNECTED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t325; _t = _t.getNextSibling(); break; } case COUNTOF: { AST __t326 = _t; AST tmp1751_AST_in = (AST)_t; match(_t,COUNTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t326; _t = _t.getNextSibling(); break; } case CURRENTRESULTROW: { AST __t327 = _t; AST tmp1752_AST_in = (AST)_t; match(_t,CURRENTRESULTROW); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t327; _t = _t.getNextSibling(); break; } case DATE: { AST __t328 = _t; AST tmp1753_AST_in = (AST)_t; match(_t,DATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t328; _t = _t.getNextSibling(); break; } case DATETIME: { AST __t329 = _t; AST tmp1754_AST_in = (AST)_t; match(_t,DATETIME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t329; _t = _t.getNextSibling(); break; } case DATETIMETZ: { AST __t330 = _t; AST tmp1755_AST_in = (AST)_t; match(_t,DATETIMETZ); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t330; _t = _t.getNextSibling(); break; } case DAY: { AST __t331 = _t; AST tmp1756_AST_in = (AST)_t; match(_t,DAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t331; _t = _t.getNextSibling(); break; } case DBCODEPAGE: { AST __t332 = _t; AST tmp1757_AST_in = (AST)_t; match(_t,DBCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t332; _t = _t.getNextSibling(); break; } case DBCOLLATION: { AST __t333 = _t; AST tmp1758_AST_in = (AST)_t; match(_t,DBCOLLATION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t333; _t = _t.getNextSibling(); break; } case DBPARAM: { AST __t334 = _t; AST tmp1759_AST_in = (AST)_t; match(_t,DBPARAM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t334; _t = _t.getNextSibling(); break; } case DBRESTRICTIONS: { AST __t335 = _t; AST tmp1760_AST_in = (AST)_t; match(_t,DBRESTRICTIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t335; _t = _t.getNextSibling(); break; } case DBTASKID: { AST __t336 = _t; AST tmp1761_AST_in = (AST)_t; match(_t,DBTASKID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t336; _t = _t.getNextSibling(); break; } case DBTYPE: { AST __t337 = _t; AST tmp1762_AST_in = (AST)_t; match(_t,DBTYPE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t337; _t = _t.getNextSibling(); break; } case DBVERSION: { AST __t338 = _t; AST tmp1763_AST_in = (AST)_t; match(_t,DBVERSION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t338; _t = _t.getNextSibling(); break; } case DECIMAL: { AST __t339 = _t; AST tmp1764_AST_in = (AST)_t; match(_t,DECIMAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t339; _t = _t.getNextSibling(); break; } case DECRYPT: { AST __t340 = _t; AST tmp1765_AST_in = (AST)_t; match(_t,DECRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t340; _t = _t.getNextSibling(); break; } case DYNAMICNEXTVALUE: { AST __t341 = _t; AST tmp1766_AST_in = (AST)_t; match(_t,DYNAMICNEXTVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t341; _t = _t.getNextSibling(); break; } case ENCODE: { AST __t342 = _t; AST tmp1767_AST_in = (AST)_t; match(_t,ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t342; _t = _t.getNextSibling(); break; } case ENCRYPT: { AST __t343 = _t; AST tmp1768_AST_in = (AST)_t; match(_t,ENCRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t343; _t = _t.getNextSibling(); break; } case EXP: { AST __t344 = _t; AST tmp1769_AST_in = (AST)_t; match(_t,EXP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t344; _t = _t.getNextSibling(); break; } case FILL: { AST __t345 = _t; AST tmp1770_AST_in = (AST)_t; match(_t,FILL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t345; _t = _t.getNextSibling(); break; } case FIRST: { AST __t346 = _t; AST tmp1771_AST_in = (AST)_t; match(_t,FIRST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t346; _t = _t.getNextSibling(); break; } case FIRSTOF: { AST __t347 = _t; AST tmp1772_AST_in = (AST)_t; match(_t,FIRSTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t347; _t = _t.getNextSibling(); break; } case GENERATEPBEKEY: { AST __t348 = _t; AST tmp1773_AST_in = (AST)_t; match(_t,GENERATEPBEKEY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t348; _t = _t.getNextSibling(); break; } case GETBITS: { AST __t349 = _t; AST tmp1774_AST_in = (AST)_t; match(_t,GETBITS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t349; _t = _t.getNextSibling(); break; } case GETBYTE: { AST __t350 = _t; AST tmp1775_AST_in = (AST)_t; match(_t,GETBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t350; _t = _t.getNextSibling(); break; } case GETBYTEORDER: { AST __t351 = _t; AST tmp1776_AST_in = (AST)_t; match(_t,GETBYTEORDER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t351; _t = _t.getNextSibling(); break; } case GETBYTES: { AST __t352 = _t; AST tmp1777_AST_in = (AST)_t; match(_t,GETBYTES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t352; _t = _t.getNextSibling(); break; } case GETCOLLATIONS: { AST __t353 = _t; AST tmp1778_AST_in = (AST)_t; match(_t,GETCOLLATIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t353; _t = _t.getNextSibling(); break; } case GETDOUBLE: { AST __t354 = _t; AST tmp1779_AST_in = (AST)_t; match(_t,GETDOUBLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t354; _t = _t.getNextSibling(); break; } case GETFLOAT: { AST __t355 = _t; AST tmp1780_AST_in = (AST)_t; match(_t,GETFLOAT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t355; _t = _t.getNextSibling(); break; } case GETLICENSE: { AST __t356 = _t; AST tmp1781_AST_in = (AST)_t; match(_t,GETLICENSE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t356; _t = _t.getNextSibling(); break; } case GETLONG: { AST __t357 = _t; AST tmp1782_AST_in = (AST)_t; match(_t,GETLONG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t357; _t = _t.getNextSibling(); break; } case GETPOINTERVALUE: { AST __t358 = _t; AST tmp1783_AST_in = (AST)_t; match(_t,GETPOINTERVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t358; _t = _t.getNextSibling(); break; } case GETSHORT: { AST __t359 = _t; AST tmp1784_AST_in = (AST)_t; match(_t,GETSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t359; _t = _t.getNextSibling(); break; } case GETSIZE: { AST __t360 = _t; AST tmp1785_AST_in = (AST)_t; match(_t,GETSIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t360; _t = _t.getNextSibling(); break; } case GETSTRING: { AST __t361 = _t; AST tmp1786_AST_in = (AST)_t; match(_t,GETSTRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t361; _t = _t.getNextSibling(); break; } case GETUNSIGNEDSHORT: { AST __t362 = _t; AST tmp1787_AST_in = (AST)_t; match(_t,GETUNSIGNEDSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t362; _t = _t.getNextSibling(); break; } case HEXDECODE: { AST __t363 = _t; AST tmp1788_AST_in = (AST)_t; match(_t,HEXDECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t363; _t = _t.getNextSibling(); break; } case HEXENCODE: { AST __t364 = _t; AST tmp1789_AST_in = (AST)_t; match(_t,HEXENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t364; _t = _t.getNextSibling(); break; } case INDEX: { AST __t365 = _t; AST tmp1790_AST_in = (AST)_t; match(_t,INDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t365; _t = _t.getNextSibling(); break; } case INTEGER: { AST __t366 = _t; AST tmp1791_AST_in = (AST)_t; match(_t,INTEGER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t366; _t = _t.getNextSibling(); break; } case INTERVAL: { AST __t367 = _t; AST tmp1792_AST_in = (AST)_t; match(_t,INTERVAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t367; _t = _t.getNextSibling(); break; } case ISCODEPAGEFIXED: { AST __t368 = _t; AST tmp1793_AST_in = (AST)_t; match(_t,ISCODEPAGEFIXED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t368; _t = _t.getNextSibling(); break; } case ISCOLUMNCODEPAGE: { AST __t369 = _t; AST tmp1794_AST_in = (AST)_t; match(_t,ISCOLUMNCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t369; _t = _t.getNextSibling(); break; } case ISLEADBYTE: { AST __t370 = _t; AST tmp1795_AST_in = (AST)_t; match(_t,ISLEADBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t370; _t = _t.getNextSibling(); break; } case ISODATE: { AST __t371 = _t; AST tmp1796_AST_in = (AST)_t; match(_t,ISODATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t371; _t = _t.getNextSibling(); break; } case KBLABEL: { AST __t372 = _t; AST tmp1797_AST_in = (AST)_t; match(_t,KBLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t372; _t = _t.getNextSibling(); break; } case KEYCODE: { AST __t373 = _t; AST tmp1798_AST_in = (AST)_t; match(_t,KEYCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t373; _t = _t.getNextSibling(); break; } case KEYFUNCTION: { AST __t374 = _t; AST tmp1799_AST_in = (AST)_t; match(_t,KEYFUNCTION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t374; _t = _t.getNextSibling(); break; } case KEYLABEL: { AST __t375 = _t; AST tmp1800_AST_in = (AST)_t; match(_t,KEYLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t375; _t = _t.getNextSibling(); break; } case KEYWORD: { AST __t376 = _t; AST tmp1801_AST_in = (AST)_t; match(_t,KEYWORD); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t376; _t = _t.getNextSibling(); break; } case KEYWORDALL: { AST __t377 = _t; AST tmp1802_AST_in = (AST)_t; match(_t,KEYWORDALL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t377; _t = _t.getNextSibling(); break; } case LAST: { AST __t378 = _t; AST tmp1803_AST_in = (AST)_t; match(_t,LAST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t378; _t = _t.getNextSibling(); break; } case LASTOF: { AST __t379 = _t; AST tmp1804_AST_in = (AST)_t; match(_t,LASTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t379; _t = _t.getNextSibling(); break; } case LC: { AST __t380 = _t; AST tmp1805_AST_in = (AST)_t; match(_t,LC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t380; _t = _t.getNextSibling(); break; } case LEFTTRIM: { AST __t381 = _t; AST tmp1806_AST_in = (AST)_t; match(_t,LEFTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t381; _t = _t.getNextSibling(); break; } case LIBRARY: { AST __t382 = _t; AST tmp1807_AST_in = (AST)_t; match(_t,LIBRARY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t382; _t = _t.getNextSibling(); break; } case LISTEVENTS: { AST __t383 = _t; AST tmp1808_AST_in = (AST)_t; match(_t,LISTEVENTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t383; _t = _t.getNextSibling(); break; } case LISTQUERYATTRS: { AST __t384 = _t; AST tmp1809_AST_in = (AST)_t; match(_t,LISTQUERYATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t384; _t = _t.getNextSibling(); break; } case LISTSETATTRS: { AST __t385 = _t; AST tmp1810_AST_in = (AST)_t; match(_t,LISTSETATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t385; _t = _t.getNextSibling(); break; } case LISTWIDGETS: { AST __t386 = _t; AST tmp1811_AST_in = (AST)_t; match(_t,LISTWIDGETS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t386; _t = _t.getNextSibling(); break; } case LOADPICTURE: { AST __t387 = _t; AST tmp1812_AST_in = (AST)_t; match(_t,LOADPICTURE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t387; _t = _t.getNextSibling(); break; } case LOG: { AST __t388 = _t; AST tmp1813_AST_in = (AST)_t; match(_t,LOG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t388; _t = _t.getNextSibling(); break; } case LOGICAL: { AST __t389 = _t; AST tmp1814_AST_in = (AST)_t; match(_t,LOGICAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t389; _t = _t.getNextSibling(); break; } case LOOKUP: { AST __t390 = _t; AST tmp1815_AST_in = (AST)_t; match(_t,LOOKUP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t390; _t = _t.getNextSibling(); break; } case MAXIMUM: { AST __t391 = _t; AST tmp1816_AST_in = (AST)_t; match(_t,MAXIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t391; _t = _t.getNextSibling(); break; } case MD5DIGEST: { AST __t392 = _t; AST tmp1817_AST_in = (AST)_t; match(_t,MD5DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t392; _t = _t.getNextSibling(); break; } case MEMBER: { AST __t393 = _t; AST tmp1818_AST_in = (AST)_t; match(_t,MEMBER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t393; _t = _t.getNextSibling(); break; } case MINIMUM: { AST __t394 = _t; AST tmp1819_AST_in = (AST)_t; match(_t,MINIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t394; _t = _t.getNextSibling(); break; } case MONTH: { AST __t395 = _t; AST tmp1820_AST_in = (AST)_t; match(_t,MONTH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t395; _t = _t.getNextSibling(); break; } case NORMALIZE: { AST __t396 = _t; AST tmp1821_AST_in = (AST)_t; match(_t,NORMALIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t396; _t = _t.getNextSibling(); break; } case NUMENTRIES: { AST __t397 = _t; AST tmp1822_AST_in = (AST)_t; match(_t,NUMENTRIES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t397; _t = _t.getNextSibling(); break; } case NUMRESULTS: { AST __t398 = _t; AST tmp1823_AST_in = (AST)_t; match(_t,NUMRESULTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t398; _t = _t.getNextSibling(); break; } case OSGETENV: { AST __t399 = _t; AST tmp1824_AST_in = (AST)_t; match(_t,OSGETENV); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t399; _t = _t.getNextSibling(); break; } case PDBNAME: { AST __t400 = _t; AST tmp1825_AST_in = (AST)_t; match(_t,PDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t400; _t = _t.getNextSibling(); break; } case PROGRAMNAME: { AST __t401 = _t; AST tmp1826_AST_in = (AST)_t; match(_t,PROGRAMNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t401; _t = _t.getNextSibling(); break; } case QUERYOFFEND: { AST __t402 = _t; AST tmp1827_AST_in = (AST)_t; match(_t,QUERYOFFEND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t402; _t = _t.getNextSibling(); break; } case QUOTER: { AST __t403 = _t; AST tmp1828_AST_in = (AST)_t; match(_t,QUOTER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t403; _t = _t.getNextSibling(); break; } case RINDEX: { AST __t404 = _t; AST tmp1829_AST_in = (AST)_t; match(_t,RINDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t404; _t = _t.getNextSibling(); break; } case RANDOM: { AST __t405 = _t; AST tmp1830_AST_in = (AST)_t; match(_t,RANDOM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t405; _t = _t.getNextSibling(); break; } case REPLACE: { AST __t406 = _t; AST tmp1831_AST_in = (AST)_t; match(_t,REPLACE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t406; _t = _t.getNextSibling(); break; } case RGBVALUE: { AST __t407 = _t; AST tmp1832_AST_in = (AST)_t; match(_t,RGBVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t407; _t = _t.getNextSibling(); break; } case RIGHTTRIM: { AST __t408 = _t; AST tmp1833_AST_in = (AST)_t; match(_t,RIGHTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t408; _t = _t.getNextSibling(); break; } case ROUND: { AST __t409 = _t; AST tmp1834_AST_in = (AST)_t; match(_t,ROUND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t409; _t = _t.getNextSibling(); break; } case SDBNAME: { AST __t410 = _t; AST tmp1835_AST_in = (AST)_t; match(_t,SDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t410; _t = _t.getNextSibling(); break; } case SEARCH: { AST __t411 = _t; AST tmp1836_AST_in = (AST)_t; match(_t,SEARCH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t411; _t = _t.getNextSibling(); break; } case SETDBCLIENT: { AST __t412 = _t; AST tmp1837_AST_in = (AST)_t; match(_t,SETDBCLIENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t412; _t = _t.getNextSibling(); break; } case SETUSERID: { AST __t413 = _t; AST tmp1838_AST_in = (AST)_t; match(_t,SETUSERID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t413; _t = _t.getNextSibling(); break; } case SHA1DIGEST: { AST __t414 = _t; AST tmp1839_AST_in = (AST)_t; match(_t,SHA1DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t414; _t = _t.getNextSibling(); break; } case SQRT: { AST __t415 = _t; AST tmp1840_AST_in = (AST)_t; match(_t,SQRT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t415; _t = _t.getNextSibling(); break; } case SSLSERVERNAME: { AST __t416 = _t; AST tmp1841_AST_in = (AST)_t; match(_t,SSLSERVERNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t416; _t = _t.getNextSibling(); break; } case STRING: { AST __t417 = _t; AST tmp1842_AST_in = (AST)_t; match(_t,STRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t417; _t = _t.getNextSibling(); break; } case SUBSTITUTE: { AST __t418 = _t; AST tmp1843_AST_in = (AST)_t; match(_t,SUBSTITUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t418; _t = _t.getNextSibling(); break; } case TOROWID: { AST __t419 = _t; AST tmp1844_AST_in = (AST)_t; match(_t,TOROWID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t419; _t = _t.getNextSibling(); break; } case TRIM: { AST __t420 = _t; AST tmp1845_AST_in = (AST)_t; match(_t,TRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t420; _t = _t.getNextSibling(); break; } case TRUNCATE: { AST __t421 = _t; AST tmp1846_AST_in = (AST)_t; match(_t,TRUNCATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t421; _t = _t.getNextSibling(); break; } case TYPEOF: { AST __t422 = _t; AST tmp1847_AST_in = (AST)_t; match(_t,TYPEOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t422; _t = _t.getNextSibling(); break; } case VALIDEVENT: { AST __t423 = _t; AST tmp1848_AST_in = (AST)_t; match(_t,VALIDEVENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t423; _t = _t.getNextSibling(); break; } case VALIDHANDLE: { AST __t424 = _t; AST tmp1849_AST_in = (AST)_t; match(_t,VALIDHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t424; _t = _t.getNextSibling(); break; } case VALIDOBJECT: { AST __t425 = _t; AST tmp1850_AST_in = (AST)_t; match(_t,VALIDOBJECT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t425; _t = _t.getNextSibling(); break; } case WEEKDAY: { AST __t426 = _t; AST tmp1851_AST_in = (AST)_t; match(_t,WEEKDAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t426; _t = _t.getNextSibling(); break; } case WIDGETHANDLE: { AST __t427 = _t; AST tmp1852_AST_in = (AST)_t; match(_t,WIDGETHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t427; _t = _t.getNextSibling(); break; } case YEAR: { AST __t428 = _t; AST tmp1853_AST_in = (AST)_t; match(_t,YEAR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t428; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1501, 644, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1501, 644, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1501, 644, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1501, 644, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, ...
dirtyNodes.put(gnWRef, gn.getTransform()); } else { Object o = dirtyNodes.get(gnWRef); if (o == null) dirtyNodes.put(gnWRef, gn.getTransform());
doPut = true; } else if (!dirtyNodes.containsKey(gnWRef)) doPut = true; if (doPut) { AffineTransform at = gn.getTransform(); if (at != null) at = (AffineTransform)at.clone(); dirtyNodes.put(gnWRef, at);
public void changeStarted(GraphicsNodeChangeEvent gnce) { // System.out.println("A node has changed for: " + this); GraphicsNode gn = gnce.getGraphicsNode(); WeakReference gnWRef = gn.getWeakReference(); if (dirtyNodes == null) { dirtyNodes = new HashMap(); dirtyNodes.put(gnWRef, gn.getTransform()); } else { Object o = dirtyNodes.get(gnWRef); if (o == null) dirtyNodes.put(gnWRef, gn.getTransform()); } Object o = nodeBounds.get(gnWRef); while (o == null) { nodeBounds.put(gnWRef, gn.getBounds()); gn = gn.getParent(); if (gn == null) break; gnWRef = gn.getWeakReference(); o = nodeBounds.get(gnWRef); } }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/dc10e4ff1b84242d5e8b5a88f7bd2e4d60a28fe2/UpdateTracker.java/clean/sources/org/apache/batik/gvt/UpdateTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2549, 9217, 12, 17558, 907, 20930, 22908, 311, 13, 288, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 37, 756, 711, 3550, 364, 30, 315, 397, 333, 1769, 3639, 16830, 907, 22908, 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, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2549, 9217, 12, 17558, 907, 20930, 22908, 311, 13, 288, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 37, 756, 711, 3550, 364, 30, 315, 397, 333, 1769, 3639, 16830, 907, 22908, 2...
new Class[] {String.class});
new Class[] {String.class}, new Object[] {"Hello world"});
public void testAllowsAccessUsingCreateFromClass() throws Exception { UsernamePasswordAuthenticationToken token = new UsernamePasswordAuthenticationToken("Test", "Password", new GrantedAuthority[] {new GrantedAuthorityImpl("MOCK_LOWER")}); MethodInvocation mi = MethodInvocationUtils.createFromClass(ITargetObject.class, "makeLowerCase", new Class[] {String.class}); MethodSecurityInterceptor interceptor = makeSecurityInterceptor(); MethodInvocationPrivilegeEvaluator mipe = new MethodInvocationPrivilegeEvaluator(); mipe.setSecurityInterceptor(interceptor); mipe.afterPropertiesSet(); assertTrue(mipe.isAllowed(mi, token)); }
14678 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14678/58d3f0c56f6137f58a23cf59f22701e6d79b743a/MethodInvocationPrivilegeEvaluatorTests.java/buggy/core/src/test/java/org/acegisecurity/intercept/method/MethodInvocationPrivilegeEvaluatorTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19132, 1862, 7736, 1684, 1265, 797, 1435, 3639, 1216, 1185, 288, 3639, 11313, 3913, 6492, 1345, 1147, 273, 394, 11313, 3913, 6492, 1345, 2932, 4709, 3113, 315, 3913, 3113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19132, 1862, 7736, 1684, 1265, 797, 1435, 3639, 1216, 1185, 288, 3639, 11313, 3913, 6492, 1345, 1147, 273, 394, 11313, 3913, 6492, 1345, 2932, 4709, 3113, 315, 3913, 3113, ...
else {
else {
public void keyPressed( KeyEvent e ) { int key = e.getKeyCode(); // page down NB - increment past last page - BufferedImage // will be null and no repaint operation if ( key == KeyEvent.VK_PAGE_DOWN ) { nextPage(); return; } else if ( key == KeyEvent.VK_PAGE_UP ) { prevPage(); return; } else if ( key == KeyEvent.VK_Q ) { System.exit(1); } else if ( key == KeyEvent.VK_Z ) { origX = 0; origY = 0; zoomIn(0,0); return; } else if ( key == KeyEvent.VK_X ) { origX = 0; origY = 0; zoomOut(0,0); return; } else if ( key == KeyEvent.VK_R ) { // hack a smaller resolution and zoom ratio for rtl // missing undo. startingRes = 50; zoomWindowRatio = 4; pickle.setRTL(!pickle.getRTL()); // toggle } else if ( key == KeyEvent.VK_O ) { fileOpen(); return; } else if ( key == KeyEvent.VK_M ) { popup.show(this, 50, 50); return; } else { popup.show(this, 50, 50); return; } pickle.startProduction( pageNumber ); }
11862 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11862/3370bf62e448beff1b9f1002ba63bf555142473f/Gview.java/clean/tools/viewer/Gview.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 498, 24624, 12, 23737, 425, 262, 565, 288, 202, 474, 498, 273, 425, 18, 588, 653, 1085, 5621, 202, 759, 1363, 2588, 20096, 300, 5504, 8854, 1142, 1363, 300, 12362, 202, 759, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 498, 24624, 12, 23737, 425, 262, 565, 288, 202, 474, 498, 273, 425, 18, 588, 653, 1085, 5621, 202, 759, 1363, 2588, 20096, 300, 5504, 8854, 1142, 1363, 300, 12362, 202, 759, ...
public void visitSynchronizedStatement(@NotNull PsiSynchronizedStatement statement) {
public void visitSynchronizedStatement( @NotNull PsiSynchronizedStatement statement){
public void visitSynchronizedStatement(@NotNull PsiSynchronizedStatement statement) { final boolean wasInSync = m_inSynchronizedContext; m_inSynchronizedContext = true; super.visitSynchronizedStatement(statement); m_inSynchronizedContext = wasInSync; }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/7de0e82543d46f77332d7488d0e8c036b2bde34a/VariableAccessVisitor.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/threading/VariableAccessVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 55, 15666, 3406, 12, 632, 5962, 453, 7722, 55, 15666, 3406, 3021, 15329, 3639, 727, 1250, 1703, 382, 4047, 273, 312, 67, 267, 55, 15666, 1042, 31, 3639, 312, 67, 267, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 55, 15666, 3406, 12, 632, 5962, 453, 7722, 55, 15666, 3406, 3021, 15329, 3639, 727, 1250, 1703, 382, 4047, 273, 312, 67, 267, 55, 15666, 1042, 31, 3639, 312, 67, 267, 5...
expr = expr.replaceAll( "\"", "&quot;" );
expr = expr.replaceAll( "\"", "&quot;" );
protected String eval( String expr ) { if ( expr == null ) { return ""; //$NON-NLS-1$ } else { expr = expr.replaceAll( "\"", "&quot;" ); return expr; } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/cfe491a60302f8d9a15dd71e36232fb0a396e1bf/JavaxImageIOWriter.java/buggy/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 5302, 12, 514, 3065, 262, 202, 95, 202, 202, 430, 261, 3065, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 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, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 5302, 12, 514, 3065, 262, 202, 95, 202, 202, 430, 261, 3065, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 2...
jPopupMenu.add(createMenuItem( "Menu.Exit", new ActionListener() { public void actionPerformed(ActionEvent e) { application.runExitPlatform(); } }));
jPopupMenu.add(exit);
JPopupMenu createPopup() { final JPopupMenu jPopupMenu = MenuFactory.createPopup(); jPopupMenu.add(createMenuItem( "Menu.Browser", new ActionListener() { public void actionPerformed(final ActionEvent e) { application.runRestoreBrowser(); }})); jPopupMenu.addSeparator(); jPopupMenu.add(login); jPopupMenu.add(logout); jPopupMenu.add(createMenuItem( "Menu.About", new ActionListener() { public void actionPerformed(final ActionEvent e) { application.displayAbout(); } })); jPopupMenu.addSeparator(); jPopupMenu.add(createMenuItem( "Menu.Exit", new ActionListener() { public void actionPerformed(ActionEvent e) { application.runExitPlatform(); } })); return jPopupMenu; }
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/6cb388c7b9557f81ceac3e7efc2b4dafe30c338f/TrayMenuBuilder.java/buggy/client-ui/src/main/java/com/thinkparity/browser/application/system/tray/TrayMenuBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 804, 13770, 4599, 752, 13770, 1435, 288, 3639, 727, 804, 13770, 4599, 525, 13770, 4599, 273, 9809, 1733, 18, 2640, 13770, 5621, 3639, 525, 13770, 4599, 18, 1289, 12, 2640, 12958, 12, 7734, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 804, 13770, 4599, 752, 13770, 1435, 288, 3639, 727, 804, 13770, 4599, 525, 13770, 4599, 273, 9809, 1733, 18, 2640, 13770, 5621, 3639, 525, 13770, 4599, 18, 1289, 12, 2640, 12958, 12, 7734, ...
return;
return flowInfo;
public void analyseCode(CompilationUnitScope unitScope) { if (this.ignoreFurtherInvestigation) return; try { internalAnalyseCode(null, FlowInfo.initial(this.maxFieldCount)); } catch (AbortType e) { this.ignoreFurtherInvestigation = true; }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/16dca0cdbe17832dfb29f0072e09feca8f8a7af6/TypeDeclaration.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/TypeDeclaration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 31087, 1085, 12, 19184, 2802, 3876, 2836, 3876, 13, 288, 202, 430, 261, 2211, 18, 6185, 42, 8753, 3605, 25999, 367, 13, 202, 202, 2463, 31, 202, 698, 288, 202, 202, 7236, 979, 345...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 31087, 1085, 12, 19184, 2802, 3876, 2836, 3876, 13, 288, 202, 430, 261, 2211, 18, 6185, 42, 8753, 3605, 25999, 367, 13, 202, 202, 2463, 31, 202, 698, 288, 202, 202, 7236, 979, 345...
public void reset() {
public void reset() {
public void reset() { super.reset(); H1 = 0x67452301; H2 = 0xefcdab89; H3 = 0x98badcfe; H4 = 0x10325476; xOff = 0; for (int i = 0; i != X.length; i++) { X[i] = 0; } }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/c48c25bb38a5ee111490064c0098957f3dea379b/MD4Digest.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/util/MD4Digest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 1435, 565, 288, 3639, 2240, 18, 6208, 5621, 3639, 670, 21, 273, 374, 92, 26, 5608, 25, 4366, 1611, 31, 3639, 670, 22, 273, 374, 30773, 4315, 378, 6675, 31, 3639, 670, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2715, 1435, 565, 288, 3639, 2240, 18, 6208, 5621, 3639, 670, 21, 273, 374, 92, 26, 5608, 25, 4366, 1611, 31, 3639, 670, 22, 273, 374, 30773, 4315, 378, 6675, 31, 3639, 670, ...
label.setText( Messages.getString( "FormatNumberPreferencePage.exampleFormats.label" ) );
label.setText( LABEL_CUSTOM_SETTINGS );
private Composite getCustomPage( Composite parent ) { if ( customPage == null ) { customPage = new Composite( parent, SWT.NULL ); customPage.setLayout( new GridLayout( 1, false ) ); Group group = new Group( customPage, SWT.NONE ); group.setText( Messages.getString( "FormatNumberPreferencePage.customSettings.groupLabel" ) ); //$NON-NLS-1$ GridData data = new GridData( GridData.FILL_HORIZONTAL ); group.setLayoutData( data ); group.setLayout( new GridLayout( 2, false ) ); Label label = new Label( group, SWT.NONE ); label.setText( Messages.getString( "FormatNumberPreferencePage.exampleFormats.label" ) ); //$NON-NLS-1$ data = new GridData( ); data.horizontalSpan = 2; label.setLayoutData( data ); label = new Label( group, SWT.NONE ); label.setText( Messages.getString( "FormatNumberPreferencePage.exampleFormats.label2" ) ); //$NON-NLS-1$ data = new GridData( ); data.horizontalSpan = 2; label.setLayoutData( data ); createTable( group ); Composite container = new Composite( customPage, SWT.NONE ); data = new GridData( GridData.FILL_HORIZONTAL ); container.setLayoutData( data ); container.setLayout( new GridLayout( 2, false ) ); new Label( container, SWT.NULL ).setText( Messages.getString( "FormatNumberPreferencePage.formatCode.label" ) ); //$NON-NLS-1$ formatCode = new Text( container, SWT.SINGLE | SWT.BORDER ); formatCode.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); formatCode.addModifyListener( myModifyListener ); group = new Group( customPage, SWT.NONE ); group.setText( Messages.getString( "FormatNumberPreferencePage.customPreviewGroup.label" ) ); //$NON-NLS-1$ data = new GridData( GridData.FILL_HORIZONTAL ); group.setLayoutData( data ); group.setLayout( new GridLayout( 2, false ) ); new Label( group, SWT.NONE ).setText( Messages.getString( "FormatNumberPreferencePage.numberToPreview.label" ) ); //$NON-NLS-1$ previewTextBox = new Text( group, SWT.SINGLE | SWT.BORDER ); previewTextBox.setText( DEFAULT_PREVIEW_TEXT ); //$NON-NLS-1$ previewTextBox.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); previewTextBox.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { if ( hasLoaded ) { setPreviewText( previewTextBox.getText( ) ); } } } ); new Label( group, SWT.NONE ).setText( Messages.getString( "FormatNumberPreferencePage.previewLabel.lable" ) ); //$NON-NLS-1$ cusPreviewLabel = new Label( group, SWT.NONE ); cusPreviewLabel.setText( "" ); //$NON-NLS-1$ cusPreviewLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); Composite helpBar = new Composite( customPage, SWT.NONE ); data = new GridData( GridData.FILL_HORIZONTAL ); helpBar.setLayoutData( data ); helpBar.setLayout( new GridLayout( 2, false ) ); new Label( helpBar, SWT.NONE ).setText( Messages.getString( "FormatNumberPreferencePage.helpLabel.label" ) ); //$NON-NLS-1$ Button help = new Button( helpBar, SWT.PUSH ); help.setText( Messages.getString( "FormatNumberPreferencePage.helpButton.label" ) ); //$NON-NLS-1$ help.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END | GridData.GRAB_HORIZONTAL ) ); } return customPage; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ed52f1732ec1c1eef0fd79e44d2e45f78973153a/FormatNumberPage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatNumberPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 14728, 12736, 1964, 12, 14728, 982, 262, 202, 95, 202, 202, 430, 261, 1679, 1964, 422, 446, 262, 202, 202, 95, 1082, 202, 3662, 1964, 273, 394, 14728, 12, 982, 16, 348, 8588,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14728, 12736, 1964, 12, 14728, 982, 262, 202, 95, 202, 202, 430, 261, 1679, 1964, 422, 446, 262, 202, 202, 95, 1082, 202, 3662, 1964, 273, 394, 14728, 12, 982, 16, 348, 8588,...
IReportRunnable runnable = ( IReportRunnable ) design
IReportRunnable runnable = (IReportRunnable) design
private IGetParameterDefinitionTask getParameterDefinitionTask( IViewerReportDesignHandle design ) throws ReportServiceException { IGetParameterDefinitionTask task; if ( design.getContentType( ) == IViewerReportDesignHandle.RPT_RUNNABLE_OBJECT ) { // IReportRunnable is specified in IViewerReportDesignHandle. IReportRunnable runnable = ( IReportRunnable ) design .getDesignObject( ); task = ReportEngineService.getInstance( ) .createGetParameterDefinitionTask( runnable ); } else { // report design name is specified in IViewerReportDesignHandle. try { task = getParameterDefinitionTask( design.getFileName( ) ); } catch ( EngineException e ) { throw new ReportServiceException( e.getLocalizedMessage( ) ); } } return task; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/1ff9aa843f70ddf72ba7891c54d9d7216c9063f5/BirtViewerReportService.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 967, 1662, 1852, 2174, 5575, 1852, 2174, 12, 1082, 202, 45, 18415, 4820, 15478, 3259, 8281, 262, 1216, 8706, 15133, 202, 95, 202, 202, 45, 967, 1662, 1852, 2174, 1562, 31,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 467, 967, 1662, 1852, 2174, 5575, 1852, 2174, 12, 1082, 202, 45, 18415, 4820, 15478, 3259, 8281, 262, 1216, 8706, 15133, 202, 95, 202, 202, 45, 967, 1662, 1852, 2174, 1562, 31,...
allInOneAPI = new API(null);
TargetDescriptor target = new TargetDescriptor("http: CAPI allInOne = new CAPI(target); allInOneAPI = allInOne.getAPISpecification();
protected void setUp() throws Exception { allInOneAPI = new API(null); // TODO String functionName = "DataSection"; Function function = allInOneAPI.getFunction(functionName); parameter = function.getInputParameters()[0]; userDefinedParams = allInOneAPI.getFunction("DefinedTypes").getInputParameters(); }
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/a4b518815aede9cb29ea686d04ad6bad85b9d4d0/ParameterTests.java/buggy/src/tests/org/xins/tests/common/spec/ParameterTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 918, 24292, 1435, 282, 1216, 1185, 288, 1377, 5916, 3187, 1018, 273, 394, 5916, 3187, 2932, 2505, 30, 385, 2557, 777, 382, 3335, 273, 394, 385, 2557, 12, 3299, 1769, 777, 382, 3335,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 918, 24292, 1435, 282, 1216, 1185, 288, 1377, 5916, 3187, 1018, 273, 394, 5916, 3187, 2932, 2505, 30, 385, 2557, 777, 382, 3335, 273, 394, 385, 2557, 12, 3299, 1769, 777, 382, 3335,...
_loop218:
_loop114:
public final void topLevel() throws RecognitionException, TokenStreamException { try { // for error handling { _loop218: do { if ((LA(1)==NL)) { match(NL); } else { break _loop218; } } while (true); } { _loop222: do { if ((_tokenSet_0.member(LA(1)))) { namedVar(); { _loop221: do { if ((LA(1)==NL)) { match(NL); } else { break _loop221; } } while (true); } } else { break _loop222; } } while (true); } match(Token.EOF_TYPE); } catch (RecognitionException ex) { reportError(ex); consume(); consumeUntil(_tokenSet_1); } }
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/7d407fb88b702f00c8260d8dedf970eb9db7be9b/PerlParserSimple.java/buggy/org.epic.debug/src/org/epic/debug/varparser/PerlParserSimple.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 21289, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 25083, 202, 698, 288, 1377, 368, 364, 555, 5057, 1082, 202, 95, 1082, 202, 67, 6498, 22, 2643, 30, 1082, 202, 2896...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21289, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 25083, 202, 698, 288, 1377, 368, 364, 555, 5057, 1082, 202, 95, 1082, 202, 67, 6498, 22, 2643, 30, 1082, 202, 2896...
public void proceedWithHandlerJoinPoint(
public final void proceedWithHandlerJoinPoint(
public void proceedWithHandlerJoinPoint( final int handlerHash, final int joinPointIndex, final Object exceptionInstance, final Object targetInstance, final String handlerSignature) throws Throwable { ThreadLocal threadLocal = null; if (joinPointIndex >= m_joinPoints.length || m_joinPoints[joinPointIndex] == null) { ClassMetaData exceptionMetaData = ReflectionMetaDataMaker.createClassMetaData( exceptionInstance.getClass() ); s_registry.registerJoinPoint( JoinPointType.HANDLER, handlerHash, handlerSignature, m_classHash, m_targetClass, exceptionMetaData, m_system ); threadLocal = new ThreadLocal(); threadLocal.set(new JoinPointInfo()); synchronized (m_joinPoints) { if (m_joinPoints.length <= joinPointIndex) { ThreadLocal[] tmp = new ThreadLocal[joinPointIndex + JOIN_POINT_INDEX_GROW_BLOCK]; java.lang.System.arraycopy(m_joinPoints, 0, tmp, 0, m_joinPoints.length); m_joinPoints = new ThreadLocal[joinPointIndex + JOIN_POINT_INDEX_GROW_BLOCK]; java.lang.System.arraycopy(tmp, 0, m_joinPoints, 0, tmp.length); } m_joinPoints[joinPointIndex] = threadLocal; } } else { threadLocal = m_joinPoints[joinPointIndex]; } JoinPointInfo joinPointInfo = (JoinPointInfo)threadLocal.get(); if (ENABLE_JIT_COMPILATION && !joinPointInfo.isJitCompiled) { handleJitCompilation( handlerHash, JoinPointType.HANDLER, PointcutType.HANDLER, joinPointInfo, m_targetClass, m_targetClass ); } JoinPoint joinPoint = joinPointInfo.joinPoint; // if null or redefined -> create a new join point and cache it if (joinPoint == null) { Map pointcutTypeToAdvicesMap = s_registry.getAdvicesForJoinPoint(m_classHash, handlerHash); AdviceContainer[] adviceIndexes = (AdviceContainer[])pointcutTypeToAdvicesMap.get(PointcutType.HANDLER); joinPoint = createCatchClauseJoinPoint(exceptionInstance.getClass(), m_targetClass, handlerSignature, adviceIndexes); // set the join point joinPointInfo.joinPoint = joinPoint; // update the state if (adviceIndexes.length == 0) { joinPointInfo.state = JoinPointState.ADVISED; } else { joinPointInfo.state = JoinPointState.HAS_ADVICES; } } // intialize the join point before each usage ((JoinPointBase)joinPoint).setTargetInstance(targetInstance); ((CatchClauseSignature)joinPoint.getSignature()).setParameterValue(exceptionInstance); ((JoinPointBase)joinPoint).proceed(); }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/54f91509e684ff65c1b8f0545942032c8f0ac4f6/JoinPointManager.java/clean/aspectwerkz2/src/main/org/codehaus/aspectwerkz/joinpoint/management/JoinPointManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 11247, 1190, 1503, 4572, 2148, 12, 5411, 727, 509, 1838, 2310, 16, 5411, 727, 509, 1233, 2148, 1016, 16, 5411, 727, 1033, 1520, 1442, 16, 5411, 727, 1033, 1018, 1442, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 918, 11247, 1190, 1503, 4572, 2148, 12, 5411, 727, 509, 1838, 2310, 16, 5411, 727, 509, 1233, 2148, 1016, 16, 5411, 727, 1033, 1520, 1442, 16, 5411, 727, 1033, 1018, 1442, 16, ...
keyPassword = new String(str).toString();
keyPassword = str;
public boolean setProperties(Properties props) { String str; super.setProperties(props); // asymmetric key length str = props.getProperty("asym_init"); if (str != null) { asymInit = new Integer(str).intValue(); props.remove("asym_init"); if (log.isInfoEnabled()) log.info("Asym algo bits used is " + asymInit); } // symmetric key length str = props.getProperty("sym_init"); if (str != null) { symInit = new Integer(str).intValue(); props.remove("sym_init"); if (log.isInfoEnabled()) log.info("Sym algo bits used is " + symInit); } // asymmetric algorithm name str = props.getProperty("asym_algorithm"); if (str != null) { asymAlgorithm = new String(str).toString(); props.remove("asym_algorithm"); if (log.isInfoEnabled()) log.info("Asym algo used is " + asymAlgorithm); } // symmetric algorithm name str = props.getProperty("sym_algorithm"); if (str != null) { symAlgorithm = new String(str).toString(); props.remove("sym_algorithm"); if (log.isInfoEnabled()) log.info("Sym algo used is " + symAlgorithm); } // symmetric algorithm name str = props.getProperty("asym_provider"); if (str != null) { asymProvider = new String(str).toString(); props.remove("asym_provider"); if (log.isInfoEnabled()) log.info("asymProvider used is " + asymProvider); } //symmetric algorithm name str = props.getProperty("key_store_name"); if (str != null) { keyStoreName = new String(str).toString(); props.remove("key_store_name"); if (log.isInfoEnabled()) log.info("key_store_name used is " + keyStoreName); } // symmetric algorithm name str = props.getProperty("store_password"); if (str != null) { storePassword = new String(str).toString(); props.remove("store_password"); if (log.isInfoEnabled()) log.info("store_password used is not null"); } // symmetric algorithm name str = props.getProperty("key_password"); if (str != null) { keyPassword = new String(str).toString(); props.remove("key_password"); if (log.isInfoEnabled()) log.info("key_password used is not null"); } else if (storePassword != null) { keyPassword = storePassword; if (log.isInfoEnabled()) log.info("key_password used is same as store_password"); } // symmetric algorithm name str = props.getProperty("alias"); if (str != null) { alias = new String(str).toString(); props.remove("alias"); if (log.isInfoEnabled()) log.info("alias used is " + alias); } if (props.size() > 0) { if (log.isErrorEnabled()) log.error("these properties are not recognized:" + props); return false; } return true; }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/e25f8abcd69bfb826f6572dbd8289617fc601a19/ENCRYPT.java/buggy/src/org/jgroups/protocols/ENCRYPT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 23126, 12, 2297, 3458, 13, 202, 95, 202, 202, 780, 609, 31, 202, 202, 9565, 18, 542, 2297, 12, 9693, 1769, 202, 202, 759, 26202, 6899, 498, 769, 202, 202, 701, 273, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 23126, 12, 2297, 3458, 13, 202, 95, 202, 202, 780, 609, 31, 202, 202, 9565, 18, 542, 2297, 12, 9693, 1769, 202, 202, 759, 26202, 6899, 498, 769, 202, 202, 701, 273, 34...
if ((msg.getElement(ptr-2) != 'P')||(msg.getElement(ptr-2) != 'R')) return false;
if ((msg.getElement(ptr-2) != 'P')&&(msg.getElement(ptr-2) != 'R')) return false;
boolean endReply(SprogReply msg) { // detect that the reply buffer ends with "P> " or "R> " (note ending space) int num = msg.getNumDataElements(); if ( num >= 3) { // ptr is offset of last element in NceReply int ptr = num-1; if (msg.getElement(ptr) != ' ') return false; if (msg.getElement(ptr-1) != '>') return false; if ((msg.getElement(ptr-2) != 'P')||(msg.getElement(ptr-2) != 'R')) return false; return true; } else return false; }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/d450a072539073d43be200b72409f6a4bcdbbf75/SprogTrafficController.java/clean/jmri/jmrix/sprog/SprogTrafficController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1250, 679, 7817, 12, 55, 14654, 7817, 1234, 13, 288, 1850, 368, 5966, 716, 326, 4332, 1613, 3930, 598, 315, 52, 34, 315, 578, 315, 54, 34, 315, 261, 7652, 11463, 3476, 13, 1850, 509, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1250, 679, 7817, 12, 55, 14654, 7817, 1234, 13, 288, 1850, 368, 5966, 716, 326, 4332, 1613, 3930, 598, 315, 52, 34, 315, 578, 315, 54, 34, 315, 261, 7652, 11463, 3476, 13, 1850, 509, ...
}
}
public final Token getNextToken() { int kind; Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop : for (;;) { try { curChar = input_stream.BeginToken(); } catch(java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch(curLexState) { case 0: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_1(); if (jjmatchedPos == 0 && jjmatchedKind > 63) { jjmatchedKind = 63; } break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 63) { jjmatchedKind = 63; } break; case 3: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_3(); break; case 4: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_4(); if (jjmatchedPos == 0 && jjmatchedKind > 64) { jjmatchedKind = 64; } break; case 5: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_5(); if (jjmatchedPos == 0 && jjmatchedKind > 63) { jjmatchedKind = 63; } break; case 6: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_6(); if (jjmatchedPos == 0 && jjmatchedKind > 25) { jjmatchedKind = 25; } break; case 7: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_7(); if (jjmatchedPos == 0 && jjmatchedKind > 25) { jjmatchedKind = 25; } break; case 8: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_8(); if (jjmatchedPos == 0 && jjmatchedKind > 25) { jjmatchedKind = 25; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; TokenLexicalActions(matchedToken); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(matchedToken); } else SkipLexicalActions(null); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/0003eccd5b57e194173df85dc0e8de5a720bc4b2/ParserTokenManager.java/buggy/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 727, 3155, 22616, 1435, 288, 225, 509, 3846, 31, 225, 3155, 4582, 1345, 273, 446, 31, 225, 3155, 4847, 1345, 31, 225, 509, 662, 1616, 273, 374, 31, 225, 6431, 6452, 294, 225, 364, 261,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 727, 3155, 22616, 1435, 288, 225, 509, 3846, 31, 225, 3155, 4582, 1345, 273, 446, 31, 225, 3155, 4847, 1345, 31, 225, 509, 662, 1616, 273, 374, 31, 225, 6431, 6452, 294, 225, 364, 261,...
int yyparse() {int yyn; //next next thing to doint yym; //int yystate; //current parsing state from state tableString yys; //current token stringboolean doaction; init_stacks(); yynerrs = 0; yyerrflag = 0; yychar = -1; //impossible char forces a read yystate=0; //initial state state_push(yystate); //save it while (true) //until parsing is done, either correctly, or w/error { doaction=true; if (yydebug) debug("loop"); //#### NEXT ACTION (from reduction table) for (yyn=yydefred[yystate];yyn==0;yyn=yydefred[yystate]) { if (yydebug) debug("yyn:"+yyn+" state:"+yystate+" char:"+yychar); if (yychar < 0) //we want a char? { yychar = yylex(); //get next token //#### ERROR CHECK #### if (yychar < 0) //it it didn't work/error { yychar = 0; //change it to default string (no -1!) if (yydebug) yylexdebug(yystate,yychar); } }//yychar<0 yyn = yysindex[yystate]; //get amount to shift by (shift index) if ((yyn != 0) && (yyn += yychar) >= 0 && yyn <= YYTABLESIZE && yycheck[yyn] == yychar) { if (yydebug) debug("state "+yystate+", shifting to state "+yytable[yyn]+""); //#### NEXT STATE #### yystate = yytable[yyn];//we are in a new state state_push(yystate); //save it val_push(yylval); //push our lval as the input for next rule yychar = -1; //since we have 'eaten' a token, say we need another if (yyerrflag > 0) //have we recovered an error? --yyerrflag; //give ourselves credit doaction=false; //but don't process yet break; //quit the yyn=0 loop } yyn = yyrindex[yystate]; //reduce if ((yyn !=0 ) && (yyn += yychar) >= 0 && yyn <= YYTABLESIZE && yycheck[yyn] == yychar) { //we reduced! if (yydebug) debug("reduce"); yyn = yytable[yyn]; doaction=true; //get ready to execute break; //drop down to actions } else //ERROR RECOVERY { if (yyerrflag==0) { yyerror("syntax error"); yynerrs++; } if (yyerrflag < 3) //low error count? { yyerrflag = 3; while (true) //do until break { if (stateptr<0) //check for under & overflow here { yyerror("stack underflow. aborting..."); //note lower case 's' return 1; } yyn = yysindex[state_peek(0)]; if ((yyn != 0) && (yyn += YYERRCODE) >= 0 && yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE) { if (yydebug) debug("state "+state_peek(0)+", error recovery shifting to state "+yytable[yyn]+" "); yystate = yytable[yyn]; state_push(yystate); val_push(yylval); doaction=false; break; } else { if (yydebug) debug("error recovery discarding state "+state_peek(0)+" "); if (stateptr<0) //check for under & overflow here { yyerror("Stack underflow. aborting..."); //capital 'S' return 1; } state_pop(); val_pop(); } } } else //discard this token { if (yychar == 0) return 1; //yyabort if (yydebug) { yys = null; if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; if (yys == null) yys = "illegal-symbol"; debug("state "+yystate+", error recovery discards token "+yychar+" ("+yys+")"); } yychar = -1; //read another } }//end error recovery }//yyn=0 loop if (!doaction) //any reason not to proceed? continue; //skip action yym = yylen[yyn]; //get count of terminals on rhs if (yydebug) debug("state "+yystate+", reducing "+yym+" by rule "+yyn+" ("+yyrule[yyn]+")"); if (yym>0) //if count of rhs not 'nil' yyval = val_peek(yym-1); //get current semantic value switch(yyn) {//########## USER-SUPPLIED ACTIONS ##########case 1://#line 208 "e.y"{ myOptResult = null; }break;case 2://#line 209 "e.y"{ myOptResult = b.forValue(val_peek(0), null); }break;case 3://#line 212 "e.y"{ b.reserved(val_peek(3),"module"); }break;case 4://#line 215 "e.y"{ myOptResult = (Pattern)val_peek(0); }break;case 5://#line 222 "e.y"{ yyval = b.get__BREAK(); }break;case 6://#line 223 "e.y"{ yyval = b.get__CONTINUE(); }break;case 7://#line 224 "e.y"{ yyval = b.get__RETURN(); }break;case 8://#line 237 "e.y"{ yyval = val_peek(1); }break;case 10://#line 247 "e.y"{ yyval = b.sequence(val_peek(2), val_peek(0)); }break;case 13://#line 256 "e.y"{ yyval = b.sequence(val_peek(2), val_peek(0)); }break;case 15://#line 274 "e.y"{ yyval = b.ejector(val_peek(0)); }break;case 16://#line 275 "e.y"{ yyval = b.ejector(val_peek(2)); }break;case 17://#line 276 "e.y"{ yyval = b.ejector(val_peek(1), val_peek(0)); }break;case 18://#line 277 "e.y"{ b.pocket(val_peek(1),"smalltalk-return"); yyval = b.ejector(b.get__RETURN(),val_peek(0));}break;case 19://#line 279 "e.y"{ yyval = b.doco("",val_peek(0)); }break;case 20://#line 280 "e.y"{ yyval = b.doco(val_peek(1),val_peek(0)); }break;case 22://#line 293 "e.y"{ yyval = b.forward(val_peek(0)); }break;case 23://#line 294 "e.y"{ yyval = b.assign(val_peek(2), val_peek(0)); }break;case 24://#line 295 "e.y"{ yyval = b.update(val_peek(2), val_peek(1), b.list(val_peek(0))); }break;case 25://#line 296 "e.y"{ yyval = b.update(val_peek(2), val_peek(1), val_peek(0)); }break;case 26://#line 298 "e.y"{ yyval = b.define(val_peek(2), val_peek(0)); }break;case 27://#line 299 "e.y"{ yyval = b.define(val_peek(2), val_peek(0)); }break;case 28://#line 300 "e.y"{ yyval = b.define(val_peek(2), val_peek(0)); }break;case 29://#line 303 "e.y"{ b.pocket(val_peek(3),"trinary-define"); yyval = b.define(val_peek(4),val_peek(2),val_peek(0)); }break;case 30://#line 311 "e.y"{ yyval = b.list(val_peek(0)); }break;case 31://#line 312 "e.y"{ yyval = b.list(); }break;case 32://#line 313 "e.y"{ yyval = b.append(b.list(val_peek(3)),val_peek(1)); }break;case 34://#line 322 "e.y"{ yyval = b.condOr(val_peek(2), val_peek(1), val_peek(0)); }break;case 36://#line 331 "e.y"{ yyval = b.condAnd(val_peek(2), val_peek(1), val_peek(0)); }break;case 38://#line 343 "e.y"{ yyval = b.same(val_peek(2), val_peek(1), val_peek(0)); }break;case 39://#line 344 "e.y"{ yyval = b.not(val_peek(1), b.same(val_peek(2), val_peek(1), val_peek(0))); }break;case 42://#line 347 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"xor", val_peek(0)); }break;case 43://#line 348 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"butNot", val_peek(0)); }break;case 44://#line 350 "e.y"{ yyval = b.matchBind(val_peek(2), val_peek(1), val_peek(0)); }break;case 45://#line 351 "e.y"{ yyval = b.not(val_peek(1), b.matchBind(val_peek(2),val_peek(1),val_peek(0))); }break;case 46://#line 356 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"and", val_peek(0)); }break;case 47://#line 357 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"and", val_peek(0)); }break;case 48://#line 360 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"or", val_peek(0)); }break;case 49://#line 361 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"or", val_peek(0)); }break;case 51://#line 373 "e.y"{ yyval = b.lessThan(val_peek(2), val_peek(1), val_peek(0)); }break;case 52://#line 374 "e.y"{ yyval = b.leq(val_peek(2), val_peek(1), val_peek(0)); }break;case 53://#line 375 "e.y"{ yyval = b.asBigAs(val_peek(2), val_peek(1), val_peek(0)); }break;case 54://#line 376 "e.y"{ yyval = b.geq(val_peek(2), val_peek(1), val_peek(0)); }break;case 55://#line 377 "e.y"{ yyval = b.greaterThan(val_peek(2), val_peek(1), val_peek(0)); }break;case 56://#line 381 "e.y"{ b.pocket(val_peek(1),"cast"); yyval = b.cast(val_peek(2), val_peek(1), val_peek(0)); }break;case 58://#line 390 "e.y"{ yyval = b.thru(val_peek(2), val_peek(1), val_peek(0)); }break;case 59://#line 391 "e.y"{ yyval = b.till(val_peek(2), val_peek(1), val_peek(0)); }break;case 61://#line 400 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"shiftLeft", val_peek(0)); }break;case 62://#line 401 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"shiftRight",val_peek(0)); }break;case 64://#line 410 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"add", val_peek(0)); }break;case 65://#line 411 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"subtract",val_peek(0)); }break;case 67://#line 422 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"multiply", val_peek(0)); }break;case 68://#line 423 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"approxDivide", val_peek(0)); }break;case 69://#line 424 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"floorDivide", val_peek(0)); }break;case 70://#line 425 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"remainder", val_peek(0)); }break;case 71://#line 426 "e.y"{ yyval = b.mod(val_peek(2), val_peek(1), b.list(val_peek(0))); }break;case 73://#line 435 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"pow", val_peek(0)); }break;case 75://#line 453 "e.y"{ yyval = b.call(val_peek(0), val_peek(1),"not", b.list()); }break;case 76://#line 454 "e.y"{ yyval = b.call(val_peek(0), val_peek(1),"complement", b.list());}break;case 77://#line 455 "e.y"{ yyval = b.slotExpr(val_peek(1), val_peek(0)); }break;case 78://#line 456 "e.y"{ b.pocket(val_peek(1),"unary-star"); yyval = b.call(val_peek(0), val_peek(1),"getValue", b.list()); }break;case 79://#line 458 "e.y"{ yyval = b.call(val_peek(0), val_peek(1),"negate", b.list()); }break;case 81://#line 467 "e.y"{ yyval = b.callFacet(val_peek(2), val_peek(0)); }break;case 82://#line 468 "e.y"{ yyval = b.sendFacet(val_peek(2), val_peek(0)); }break;case 83://#line 470 "e.y"{ yyval = b.propValue(val_peek(2), val_peek(0)); }break;case 84://#line 471 "e.y"{ yyval = b.propSlot(val_peek(3), val_peek(0)); }break;case 85://#line 472 "e.y"{ yyval = b.doMetaProp(val_peek(2), val_peek(0)); }break;case 86://#line 474 "e.y"{ yyval = b.sendPropValue(val_peek(3), val_peek(0)); }break;case 87://#line 475 "e.y"{ yyval = b.sendPropSlot(val_peek(4), val_peek(0)); }break;case 89://#line 487 "e.y"{ yyval = b.call(val_peek(3), val_peek(2),"run", val_peek(1)); }break;case 90://#line 488 "e.y"{ b.pocket(NO_POSER,"lambda-args"); yyval = b.call(val_peek(0), "run__control", b.list()); }break;case 91://#line 493 "e.y"{ yyval = b.call(val_peek(3), val_peek(1), val_peek(0)); }break;case 92://#line 494 "e.y"{ yyval = b.call(val_peek(3), val_peek(2),"get", val_peek(1)); }break;case 93://#line 495 "e.y"{ yyval = b.send(val_peek(3), val_peek(1), val_peek(0)); }break;case 94://#line 496 "e.y"{ yyval = b.send(val_peek(2), val_peek(1),"run", val_peek(0)); }break;case 95://#line 498 "e.y"{ yyval = b.doMeta(val_peek(1), val_peek(1),"run", val_peek(0)); }break;case 96://#line 499 "e.y"{ yyval = b.doMeta(val_peek(3), val_peek(1), val_peek(0)); }break;case 97://#line 500 "e.y"{ yyval = b.doMeta(val_peek(3), val_peek(2),"get", val_peek(1)); }break;case 98://#line 501 "e.y"{ yyval = b.doMetaSend(val_peek(3), val_peek(1), val_peek(0)); }break;case 99://#line 502 "e.y"{ yyval = b.doMetaSend(val_peek(2), val_peek(1),"run", val_peek(0));}break;case 101://#line 509 "e.y"{ yyval = b.control(val_peek(6), val_peek(2), val_peek(4), val_peek(1), val_peek(0)); }break;case 102://#line 510 "e.y"{ yyval = b.control(val_peek(3), val_peek(2), val_peek(1), val_peek(0)); }break;case 103://#line 511 "e.y"{ yyval = b.control(val_peek(3), val_peek(2), val_peek(1), val_peek(0)); }break;case 104://#line 513 "e.y"{ yyval = b.control(val_peek(5), val_peek(4), val_peek(2), b.list(), val_peek(0)); }break;case 105://#line 521 "e.y"{ yyval = b.literal(val_peek(0)); }break;case 106://#line 522 "e.y"{ yyval = b.literal(val_peek(0)); }break;case 107://#line 523 "e.y"{ yyval = b.literal(val_peek(0)); }break;case 108://#line 524 "e.y"{ yyval = b.literal(val_peek(0)); }break;case 111://#line 533 "e.y"{ yyval = b.uriExpr(val_peek(0)); }break;case 112://#line 534 "e.y"{ yyval = b.quasiExpr(val_peek(1),val_peek(0)); }break;case 114://#line 537 "e.y"{ yyval = b.tuple(val_peek(1)); }break;case 115://#line 538 "e.y"{ yyval = b.map(val_peek(1)); }break;case 116://#line 540 "e.y"{ yyval = b.hide(val_peek(0)); }break;case 117://#line 541 "e.y"{ yyval = b.escape(val_peek(2),val_peek(1),val_peek(0)); }break;case 118://#line 542 "e.y"{ yyval = b.whilex(val_peek(2),val_peek(1),val_peek(0)); }break;case 119://#line 543 "e.y"{ yyval = b.switchx(val_peek(1),val_peek(0)); }break;case 120://#line 544 "e.y"{ yyval = b.tryx(val_peek(2),val_peek(1),val_peek(0)); }break;case 122://#line 547 "e.y"{ yyval = val_peek(0); }break;case 124://#line 550 "e.y"{ b.reserved(val_peek(2),"select"); }break;case 126://#line 558 "e.y"{ yyval = b.doco("",val_peek(0)); }break;case 127://#line 559 "e.y"{ yyval = b.doco(val_peek(1),val_peek(0)); }break;case 128://#line 569 "e.y"{ yyval = ((ObjDecl)val_peek(0)).withOName(val_peek(1)); }break;case 129://#line 571 "e.y"{ yyval = b.oType("",val_peek(6),b.list(), val_peek(5),val_peek(4),val_peek(1)); }break;case 130://#line 573 "e.y"{ /* doesn't bind __return */ /* XXX We may deprecate this */ yyval = b.fnDecl(val_peek(1), b.list(), val_peek(0)); }break;case 131://#line 577 "e.y"{ b.pocket(NO_POSER,"anon-lambda"); /* doesn't bind __return */ yyval = b.fnDecl(val_peek(2), val_peek(1), val_peek(0)); }break;case 132://#line 586 "e.y"{ yyval = ((ObjDecl)val_peek(1)).withScript(val_peek(0)); }break;case 133://#line 587 "e.y"{ /* binds __return */ yyval = b.methDecl(val_peek(1), val_peek(0), true); }break;case 134://#line 596 "e.y"{ yyval = noun(val_peek(0)); }break;case 135://#line 597 "e.y"{ yyval = b.quasiLiteralExpr(val_peek(0)); }break;case 136://#line 598 "e.y"{ yyval = b.quasiPatternExpr(val_peek(0)); }break;case 137://#line 602 "e.y"{ yyval = val_peek(1); }break;case 138://#line 603 "e.y"{ yyval = val_peek(0); }break;case 139://#line 604 "e.y"{ yyval = null; }break;case 140://#line 608 "e.y"{ yyval = val_peek(1); }break;case 141://#line 609 "e.y"{ yyval = val_peek(0); }break;case 142://#line 616 "e.y"{ yyval = val_peek(1); }break;case 143://#line 624 "e.y"{ yyval = b.ifx(val_peek(1), val_peek(0)); }break;case 144://#line 625 "e.y"{ yyval = b.ifx(val_peek(3), val_peek(2), val_peek(0)); }break;case 145://#line 626 "e.y"{ yyval = b.ifx(val_peek(3), val_peek(2), val_peek(0)); }break;case 147://#line 631 "e.y"{ b.reserved(val_peek(1),"if-match"); }break;case 148://#line 639 "e.y"{ yyval = b.forx(val_peek(4),val_peek(2),val_peek(1),val_peek(0)); }break;case 149://#line 640 "e.y"{ b.reserved(val_peek(2),"when-in"); }break;case 151://#line 652 "e.y"{ yyval = noun("simple__quasiParser"); }break;case 152://#line 653 "e.y"{ yyval = noun(b.mangle(val_peek(0), "__quasiParser")); }break;case 153://#line 658 "e.y"{ yyval = b.list(val_peek(0)); }break;case 154://#line 659 "e.y"{ yyval = b.with(val_peek(1), val_peek(0)); }break;case 155://#line 663 "e.y"{ yyval = b.list(val_peek(1), val_peek(0)); }break;case 156://#line 664 "e.y"{ yyval = b.with(b.with(val_peek(2), val_peek(1)), val_peek(0)); }break;case 157://#line 668 "e.y"{ yyval = b.dollarNoun(val_peek(0)); }break;case 158://#line 669 "e.y"{ yyval = val_peek(1); }break;case 159://#line 680 "e.y"{ yyval = val_peek(1); }break;case 165://#line 706 "e.y"{ yyval = b.list(val_peek(0)); }break;case 166://#line 707 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 168://#line 711 "e.y"{ yyval = b.list(val_peek(0)); }break;case 169://#line 712 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 170://#line 717 "e.y"{ yyval = b.list(val_peek(0)); }break;case 171://#line 718 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 173://#line 722 "e.y"{ yyval = b.assoc(val_peek(2), val_peek(0)); }break;case 174://#line 723 "e.y"{ b.pocket(val_peek(1),"exporter"); yyval = b.exporter(val_peek(0)); }break;case 175://#line 725 "e.y"{ b.pocket(val_peek(2),"exporter"); yyval = b.exporter(b.slotExpr(val_peek(1),val_peek(0))); }break;case 176://#line 727 "e.y"{ b.pocket(val_peek(2),"exporter"); b.reserved(val_peek(1),"Forward exporter"); }break;case 177://#line 742 "e.y"{ yyval = b.assoc(b.ignore(), val_peek(0)); }break;case 178://#line 743 "e.y"{ yyval = b.assoc(val_peek(2), val_peek(0)); }break;case 180://#line 749 "e.y"{ yyval = b.suchThat(val_peek(2), val_peek(0)); }break;case 181://#line 750 "e.y"{ yyval = b.via(val_peek(1),val_peek(0)); }break;case 182://#line 752 "e.y"{ b.reserved(val_peek(1),"meta pattern"); }break;case 185://#line 758 "e.y"{ yyval = b.quasiPattern(val_peek(1), val_peek(0)); }break;case 186://#line 759 "e.y"{ yyval = b.patternEquals(val_peek(0)); }break;case 187://#line 760 "e.y"{ b.reserved(val_peek(1),"not-same pattern"); }break;case 188://#line 761 "e.y"{ b.reserved(val_peek(1), "comparison pattern"); }break;case 189://#line 764 "e.y"{ b.pocket(val_peek(4),"call-pattern"); yyval = b.callPattern(val_peek(3), val_peek(2),"run", val_peek(1));}break;case 190://#line 766 "e.y"{ b.pocket(val_peek(6),"call-pattern"); yyval = b.callPattern(val_peek(5), val_peek(3), val_peek(1)); }break;case 191://#line 768 "e.y"{ b.pocket(val_peek(4),"call-pattern"); yyval = b.callPattern(val_peek(3), val_peek(2),"get", val_peek(1));}break;case 192://#line 771 "e.y"{ yyval = b.listPattern(val_peek(0)); }break;case 193://#line 772 "e.y"{ yyval = b.mapPattern(val_peek(1),null); }break;case 194://#line 773 "e.y"{ yyval = b.cdrPattern(val_peek(2), val_peek(0)); }break;case 195://#line 774 "e.y"{ yyval = b.mapPattern(val_peek(3), val_peek(0)); }break;case 196://#line 778 "e.y"{ yyval = val_peek(1); }break;case 197://#line 782 "e.y"{ yyval = b.list(val_peek(0)); }break;case 198://#line 783 "e.y"{ yyval = b.with(val_peek(1), val_peek(0)); }break;case 199://#line 787 "e.y"{ yyval = b.list(val_peek(1), val_peek(0)); }break;case 200://#line 788 "e.y"{ yyval = b.with(b.with(val_peek(2), val_peek(1)), val_peek(0)); }break;case 203://#line 798 "e.y"{ yyval = b.atNoun(val_peek(0)); }break;case 204://#line 799 "e.y"{ yyval = val_peek(2); }break;case 205://#line 812 "e.y"{ yyval = b.ignore(); }break;case 206://#line 813 "e.y"{ yyval = b.ignore(val_peek(0)); }break;case 207://#line 814 "e.y"{ yyval = b.ignore(val_peek(0));}break;case 208://#line 818 "e.y"{ yyval = b.finalPattern(val_peek(2),val_peek(0));}break;case 209://#line 819 "e.y"{ b.antiPocket(val_peek(0), "explicit-final-guard"); yyval = b.finalPattern(val_peek(0)); }break;case 213://#line 828 "e.y"{ yyval = b.bindDefiner(val_peek(2),val_peek(0)); }break;case 214://#line 829 "e.y"{ b.antiPocket(val_peek(1), "explicit-final-guard"); yyval = b.bindDefiner(val_peek(0)); }break;case 215://#line 835 "e.y"{ yyval = b.varPattern(val_peek(2),val_peek(0)); }break;case 216://#line 836 "e.y"{ b.antiPocket(val_peek(1), "explicit-var-guard"); yyval = b.varPattern(val_peek(0)); }break;case 217://#line 842 "e.y"{ yyval = b.slotPattern(val_peek(2),val_peek(0)); }break;case 218://#line 843 "e.y"{ b.antiPocket(val_peek(1), "explicit-slot-guard"); yyval = b.slotPattern(val_peek(0)); }break;case 219://#line 854 "e.y"{ yyval = b.finalPattern(val_peek(0)); }break;case 220://#line 855 "e.y"{ yyval = b.ignore(); }break;case 221://#line 856 "e.y"{ yyval = b.bindDefiner(val_peek(0)); }break;case 222://#line 857 "e.y"{ yyval = b.varPattern(val_peek(0)); }break;case 223://#line 858 "e.y"{ b.reserved(val_peek(0), "literal qualified name no longer accepted"); }break;case 225://#line 871 "e.y"{ yyval = val_peek(1); }break;case 228://#line 897 "e.y"{ yyval = val_peek(1); }break;case 229://#line 901 "e.y"{ yyval = b.list(val_peek(0)); }break;case 230://#line 902 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 231://#line 906 "e.y"{ yyval = val_peek(1); }break;case 232://#line 910 "e.y"{ yyval = b.list(val_peek(0)); }break;case 233://#line 911 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 234://#line 915 "e.y"{ yyval = b.assoc(val_peek(2), val_peek(0)); }break;case 235://#line 916 "e.y"{ b.pocket(val_peek(1),"pattern-default"); yyval = b.assoc(val_peek(4), b.assoc(val_peek(0),val_peek(2))); }break;case 236://#line 918 "e.y"{ b.pocket(val_peek(1),"pattern-default"); b.reserved(val_peek(1),"default in map pattern"); }break;case 237://#line 920 "e.y"{ b.pocket(val_peek(1),"importer"); yyval = b.importer(val_peek(0)); }break;case 238://#line 922 "e.y"{ b.pocket(val_peek(1),"pattern-default"); b.pocket(val_peek(3),"importer"); yyval = b.importer(b.assoc(val_peek(0),val_peek(2))); }break;case 239://#line 925 "e.y"{ b.pocket(val_peek(1),"pattern-default"); b.pocket(val_peek(3),"importer"); b.reserved(val_peek(0),"default in map pattern"); }break;case 242://#line 946 "e.y"{ yyval = ""; }break;case 244://#line 954 "e.y"{ yyval = val_peek(0); }break;case 245://#line 955 "e.y"{ yyval = b.bindDefiner(val_peek(0)); }break;case 246://#line 956 "e.y"{ yyval = b.varPattern(val_peek(0)); }break;case 247://#line 963 "e.y"{ yyval = ODECL; }break;case 248://#line 964 "e.y"{ yyval = ODECL.withExtends(b,val_peek(0)); }break;case 249://#line 965 "e.y"{ yyval = ODECL.withAuditors(b,val_peek(0));}break;case 250://#line 966 "e.y"{ yyval = ODECL.withExtends(b,val_peek(1)) .withAuditors(b,val_peek(0));}break;case 251://#line 969 "e.y"{ yyerror("'extends' must come before 'implements'"); }break;case 252://#line 976 "e.y"{ yyval = ODECL; }break;case 253://#line 977 "e.y"{ yyval = ODECL.withExtends(b,val_peek(0)); }break;case 254://#line 978 "e.y"{ yyval = ODECL.withAuditors(b,val_peek(0));}break;case 255://#line 979 "e.y"{ yyval = ODECL.withExtends(b,val_peek(1)) .withAuditors(b,val_peek(0));}break;case 256://#line 982 "e.y"{ yyerror("'extends' must come before 'implements'"); }break;case 257://#line 991 "e.y"{ yyval = b.list(val_peek(0)); }break;case 258://#line 998 "e.y"{ yyval = b.list(val_peek(0)); }break;case 259://#line 999 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 260://#line 1006 "e.y"{ yyval = b.list(val_peek(0)); }break;case 261://#line 1007 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 265://#line 1021 "e.y"{ b.reserved(val_peek(0),"literal concat"); }break;case 266://#line 1022 "e.y"{ b.reserved(val_peek(0),"literal concat"); }break;case 267://#line 1031 "e.y"{ /* binds __return */ yyval = b.to(val_peek(3), val_peek(1), val_peek(0)); }break;case 268://#line 1033 "e.y"{ /* doesn't bind __return */ yyval = b.method(val_peek(3), val_peek(1), val_peek(0)); }break;case 269://#line 1061 "e.y"{ yyval = b.methHead(val_peek(3),"run",val_peek(2),val_peek(0)); }break;case 270://#line 1062 "e.y"{ yyval = b.methHead(val_peek(4), val_peek(2),val_peek(0)); }break;case 271://#line 1071 "e.y"{ yyval = b.methHead(val_peek(3),"run", val_peek(2), val_peek(0));}break;case 272://#line 1073 "e.y"{ b.pocket(val_peek(5),"one-method-object"); yyval = b.methHead(val_peek(4), val_peek(2), val_peek(0)); }break;case 273://#line 1076 "e.y"{ b.pocket(val_peek(5),"one-method-object"); yyval = b.methHead(val_peek(4), val_peek(2), val_peek(0)); }break;case 274://#line 1088 "e.y"{ yyval = b.matcher(val_peek(1), val_peek(0)); }break;case 276://#line 1096 "e.y"{ yyval = b.uriExpr(val_peek(0)); }break;case 278://#line 1098 "e.y"{ yyval = b.call(val_peek(3), val_peek(2),"get", val_peek(1)); }break;case 279://#line 1099 "e.y"{ yyval = b.propValue(val_peek(2), val_peek(0)); }break;case 285://#line 1111 "e.y"{ yyval = val_peek(0); }break;case 286://#line 1112 "e.y"{ yyval = b.defaultOptResultGuard(yylval); }break;case 287://#line 1113 "e.y"{ b.reserved(val_peek(1),"throws"); }break;case 288://#line 1114 "e.y"{ b.reserved(val_peek(1),"throws"); }break;case 289://#line 1117 "e.y"{ yyval = b.list(val_peek(0)); }break;case 290://#line 1118 "e.y"{ yyval = b.with(val_peek(2),val_peek(0)); }break;case 291://#line 1126 "e.y"{ yyval = b.when(val_peek(4), val_peek(1), val_peek(0)); }break;case 292://#line 1127 "e.y"{ b.pocket(val_peek(2),"when-sequence"); yyval = b.whenSeq(val_peek(4), val_peek(1), val_peek(0)); }break;case 293://#line 1136 "e.y"{ /* binds __return */ yyval = b.list(ODECL.withOName(val_peek(5)), val_peek(3), val_peek(1), val_peek(0), Boolean.TRUE); }break;case 294://#line 1141 "e.y"{ /* XXX should this bind __return ?? */ /* Currently, it does. */ b.pocket(val_peek(1),"easy-when"); yyval = b.list(ODECL.withOName(val_peek(2)), null, val_peek(1), val_peek(0), Boolean.TRUE); }break;case 295://#line 1148 "e.y"{ /* XXX should this bind __return ?? */ /* Currently, it does not. */ b.pocket(val_peek(1),"easy-when"); yyval = b.list(ODECL.withOName(b.ignore()), null, val_peek(1), val_peek(0), Boolean.FALSE); }break;case 296://#line 1157 "e.y"{ yyval = val_peek(0); }break;case 297://#line 1158 "e.y"{ yyval = b.defaultOptWhenGuard(yylval); }break;case 298://#line 1159 "e.y"{ b.reserved(val_peek(1),"throws"); }break;case 299://#line 1160 "e.y"{ b.reserved(val_peek(1),"throws"); }break;case 300://#line 1172 "e.y"{ yyval = b.list(val_peek(2), val_peek(1), val_peek(0)); }break;case 301://#line 1173 "e.y"{ b.pocket(val_peek(0),"easy-when"); yyval = b.list(val_peek(0), null, null); }break;case 306://#line 1194 "e.y"{ yyval = b.list(); }break;case 307://#line 1198 "e.y"{ yyval = b.list(); }break;case 309://#line 1207 "e.y"{ b.pocket(val_peek(0),"verb-string"); yyval = val_peek(0); }break;case 310://#line 1215 "e.y"{ b.pocket(val_peek(0),"verb-curry"); yyval = val_peek(0); }break;case 311://#line 1217 "e.y"{ b.pocket(val_peek(0),"verb-curry"); b.pocket(val_peek(0),"verb-string"); yyval = val_peek(0); }break;case 312://#line 1229 "e.y"{ b.pocket(val_peek(0),"dot-props"); yyval = val_peek(0); }break;case 313://#line 1231 "e.y"{ b.pocket(val_peek(0),"dot-props"); yyval = val_peek(0); }break;case 314://#line 1239 "e.y"{ yyval = b.varName(val_peek(0)); }break;case 315://#line 1240 "e.y"{ b.pocket(val_peek(1),"noun-string"); yyval = b.varName(val_peek(0)); }break;case 316://#line 1242 "e.y"{ b.pocket(val_peek(1),"noun-string"); yyval = b.varName(val_peek(0)); }break;case 318://#line 1251 "e.y"{ b.reserved(val_peek(0),"keyword \"" + ((Astro)val_peek(0)).getTag().getTagName() + "\""); }break;case 319://#line 1267 "e.y"{ yyval = b.ident(val_peek(0), "add"); }break;case 320://#line 1268 "e.y"{ yyval = b.ident(val_peek(0), "and"); }break;case 321://#line 1269 "e.y"{ yyval = b.ident(val_peek(0), "approxDivide"); }break;case 322://#line 1270 "e.y"{ yyval = b.ident(val_peek(0), "floorDivide"); }break;case 323://#line 1271 "e.y"{ yyval = b.ident(val_peek(0), "shiftLeft"); }break;case 324://#line 1272 "e.y"{ yyval = b.ident(val_peek(0), "shiftRight"); }break;case 325://#line 1273 "e.y"{ yyval = b.ident(val_peek(0), "remainder"); }break;case 326://#line 1274 "e.y"{ yyval = b.ident(val_peek(0), "mod"); }break;case 327://#line 1275 "e.y"{ yyval = b.ident(val_peek(0), "multiply"); }break;case 328://#line 1276 "e.y"{ yyval = b.ident(val_peek(0), "or"); }break;case 329://#line 1277 "e.y"{ yyval = b.ident(val_peek(0), "pow"); }break;case 330://#line 1278 "e.y"{ yyval = b.ident(val_peek(0), "subtract"); }break;case 331://#line 1279 "e.y"{ yyval = b.ident(val_peek(0), "xor"); }break;case 332://#line 1290 "e.y"{ yyval = b.ident(val_peek(0), "add"); }break;case 333://#line 1291 "e.y"{ yyval = b.ident(val_peek(0), "and"); }break;case 334://#line 1292 "e.y"{ yyval = b.ident(val_peek(0), "approxDivide"); }break;case 335://#line 1293 "e.y"{ yyval = b.ident(val_peek(0), "floorDivide"); }break;case 336://#line 1294 "e.y"{ yyval = b.ident(val_peek(0), "shiftLeft"); }break;case 337://#line 1295 "e.y"{ yyval = b.ident(val_peek(0), "shiftRight"); }break;case 338://#line 1296 "e.y"{ yyval = b.ident(val_peek(0), "remainder"); }break;case 339://#line 1297 "e.y"{ yyval = b.ident(val_peek(0), "mod"); }break;case 340://#line 1298 "e.y"{ yyval = b.ident(val_peek(0), "multiply"); }break;case 341://#line 1299 "e.y"{ yyval = b.ident(val_peek(0), "or"); }break;case 342://#line 1300 "e.y"{ yyval = b.ident(val_peek(0), "pow"); }break;case 343://#line 1301 "e.y"{ yyval = b.ident(val_peek(0), "subtract"); }break;case 344://#line 1302 "e.y"{ yyval = b.ident(val_peek(0), "xor"); }break;case 345://#line 1311 "e.y"{ yyval = b.getNULL(); }break;case 346://#line 1312 "e.y"{ yyval = val_peek(1); }break;case 347://#line 1320 "e.y"{ b.pocket(val_peek(2),"accumulator"); yyval = b.accumulate(val_peek(1),val_peek(0)); }break;case 348://#line 1325 "e.y"{ yyval = b.accumFor(val_peek(3),val_peek(1),val_peek(0)); }break;case 349://#line 1326 "e.y"{ yyval = b.accumIf(val_peek(1),val_peek(0)); }break;case 350://#line 1327 "e.y"{ yyval = b.accumWhile(val_peek(1),val_peek(0)); }break;case 351://#line 1331 "e.y"{ yyval = b.accumBody(val_peek(3), b.list(val_peek(2))); }break;case 352://#line 1333 "e.y"{ yyval = b.accumBody(val_peek(3),val_peek(2)); }break;case 353://#line 1334 "e.y"{ yyval = val_peek(2); }break;case 354://#line 1339 "e.y"{ yyval = val_peek(1); }break;case 355://#line 1343 "e.y"{ yyval = b.vTable(val_peek(2), val_peek(1)); }break;case 356://#line 1344 "e.y"{ b.pocket(NO_POSER, "plumbing"); yyval = b.vTable(null, b.list(val_peek(0))); }break;case 358://#line 1359 "e.y"{ yyval = b.with(val_peek(2), val_peek(1)); }break;case 361://#line 1369 "e.y"{ yyval = b.with(val_peek(2), val_peek(1)); }break;case 364://#line 1386 "e.y"{ yyval = b.with(val_peek(1), val_peek(0)); }break;case 365://#line 1390 "e.y"{ yyval = null; }break;case 366://#line 1391 "e.y"{ b.pocket(NO_POSER, "escape-handler"); yyval = val_peek(0); }break;case 367://#line 1397 "e.y"{ yyval = b.matcher(val_peek(1), val_peek(0)); }break;case 368://#line 1404 "e.y"{ yyval = null; }break;case 369://#line 1405 "e.y"{ yyval = val_peek(0); }break;case 370://#line 1415 "e.y"{ yyval = b.oType("", val_peek(1), b.list(), b.list(val_peek(0))); }break;case 371://#line 1424 "e.y"{ yyval = null; }break;case 372://#line 1425 "e.y"{ yyval = val_peek(0); }break;case 375://#line 1434 "e.y"{ yyval = b.list(val_peek(0)); }break;case 376://#line 1435 "e.y"{ yyval = b.with(val_peek(2),val_peek(0)); }break;case 378://#line 1443 "e.y"{ b.reserved(NO_POSER,"causality"); }break;case 379://#line 1448 "e.y"{ yyval = b.mType(val_peek(6), val_peek(4), val_peek(2), val_peek(0)); }break;case 380://#line 1450 "e.y"{ yyval = b.mType(val_peek(5), "run", val_peek(2), val_peek(0));}break;case 382://#line 1458 "e.y"{ b.reserved(NO_POSER,"causality"); }break;case 383://#line 1462 "e.y"{ yyval = b.mType("", "run", val_peek(2), val_peek(0)); }break;case 384://#line 1463 "e.y"{ b.pocket(val_peek(5),"one-method-object"); yyval = b.mType("", val_peek(4), val_peek(2), val_peek(0)); }break;case 385://#line 1465 "e.y"{b.pocket(val_peek(5),"one-method-object"); yyval = b.mType("", val_peek(4), val_peek(2), val_peek(0)); }break;case 386://#line 1470 "e.y"{ yyval = val_peek(0); }break;case 387://#line 1471 "e.y"{ yyval = val_peek(1); }break;case 388://#line 1476 "e.y"{ yyval = b.list(val_peek(0)); }break;case 389://#line 1477 "e.y"{ yyval = b.with(val_peek(2),val_peek(0)); }break;case 390://#line 1484 "e.y"{ yyval = b.pType(val_peek(1),val_peek(0)); }break;case 391://#line 1485 "e.y"{ yyval = b.pType(null,val_peek(0)); }break;case 392://#line 1486 "e.y"{ yyval = b.pType(null,val_peek(0)); }break;case 393://#line 1494 "e.y"{ yyval = null; }break;case 394://#line 1495 "e.y"{ yyval = val_peek(0); }break;case 408://#line 1511 "e.y"{ yyval = "->"; }break;//#line 7026 "EParser.java"//########## END OF USER-SUPPLIED ACTIONS ########## }//switch //#### Now let's reduce... #### if (yydebug) debug("reduce"); state_drop(yym); //we just reduced yylen states yystate = state_peek(0); //get new state val_drop(yym); //corresponding value drop yym = yylhs[yyn]; //select next TERMINAL(on lhs) if (yystate == 0 && yym == 0)//done? 'rest' state and at first TERMINAL { debug("After reduction, shifting from state 0 to state "+YYFINAL+""); yystate = YYFINAL; //explicitly say we're done state_push(YYFINAL); //and save it val_push(yyval); //also save the semantic value of parsing if (yychar < 0) //we want another character? { yychar = yylex(); //get next character if (yychar<0) yychar=0; //clean, if necessary if (yydebug) yylexdebug(yystate,yychar); } if (yychar == 0) //Good exit (if lex returns 0 ;-) break; //quit the loop--all DONE }//if yystate else //else not done yet { //get next state and push, for next yydefred[] yyn = yygindex[yym]; //find out where to go if ((yyn != 0) && (yyn += yystate) >= 0 && yyn <= YYTABLESIZE && yycheck[yyn] == yystate) yystate = yytable[yyn]; //get new state else yystate = yydgoto[yym]; //else go to new defred debug("after reduction, shifting from state "+state_peek(0)+" to state "+yystate+""); state_push(yystate); //going again, so push state & val... val_push(yyval); //for next action } }//main loop return 0;//yyaccept!!}
48789 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48789/48595234ae9f57bdc6adadb3045aac726a2cd8bf/EParser.java/clean/src/jsrc/org/erights/e/elang/syntax/EParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 509, 677, 879, 24378, 1435, 288, 474, 677, 878, 31, 4202, 368, 4285, 1024, 7757, 358, 741, 474, 677, 2942, 31, 4202, 368, 474, 26797, 340, 31, 282, 368, 2972, 5811, 919, 628, 919, 1014, 780,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 509, 677, 879, 24378, 1435, 288, 474, 677, 878, 31, 4202, 368, 4285, 1024, 7757, 358, 741, 474, 677, 2942, 31, 4202, 368, 474, 26797, 340, 31, 282, 368, 2972, 5811, 919, 628, 919, 1014, 780,...
setupLex(Parser.BRACKETOPEN);
setupLex(Parser.PARENOPEN);
public void testPublicConstructorWithParam() throws Exception { // setup values setupLex(Parser.CLASS); setupLex(Parser.IDENTIFIER, "MyClass"); setupLex(Parser.PARENOPEN); setupLex(Parser.PUBLIC); setupLex(Parser.IDENTIFIER, "MyClass"); setupLex(Parser.BRACKETOPEN); setupLex(Parser.IDENTIFIER, "int"); setupLex(Parser.IDENTIFIER, "count"); setupLex(Parser.BRACKETCLOSE); setupLex(Parser.CODEBLOCK); setupLex(Parser.PARENCLOSE); setupLex(0); // expectations MethodDef mth = new MethodDef(); mth.name = "MyClass"; mth.constructor = true; mth.modifiers.add("public"); FieldDef p1 = new FieldDef(); p1.name = "count"; p1.type = "int"; mth.params.add(p1); builder.addExpectedAddMethodValues(mth); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
2045 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2045/fd346fe372b0364733fc6120d6524638208a5181/ParserTest.java/clean/qdox/src/test/com/thoughtworks/qdox/parser/ParserTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4782, 6293, 1190, 786, 1435, 1216, 1185, 288, 202, 202, 759, 3875, 924, 202, 202, 8401, 14756, 12, 2678, 18, 5237, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 16606, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4782, 6293, 1190, 786, 1435, 1216, 1185, 288, 202, 202, 759, 3875, 924, 202, 202, 8401, 14756, 12, 2678, 18, 5237, 1769, 202, 202, 8401, 14756, 12, 2678, 18, 16606, ...
log.debug("Proxy: setting path: "+sampler.getPath());
log.debug("Proxy: setting path: "+sampler.getEncodedPath());
private HTTPSampler createSampler() { MultipartUrlConfig urlConfig = null; HTTPSampler sampler = new HTTPSampler(); sampler.setDomain(serverName()); log.debug("Proxy: setting server: "+sampler.getDomain()); sampler.setMethod(method); log.debug("Proxy: method server: "+sampler.getMethod()); sampler.setPath(serverUrl()); log.debug("Proxy: setting path: "+sampler.getPath()); sampler.setName(sampler.getPath()); sampler.setPort(serverPort()); log.debug("Proxy: setting port: "+sampler.getPort()); if (url.indexOf("//") > -1) { String protocol = url.substring(0, url.indexOf(":")); log.debug("Proxy: setting protocol to : "+protocol); sampler.setProtocol(protocol); } else if(sampler.getPort() == 443) { sampler.setProtocol("https"); log.debug("Proxy: setting protocol to https"); } else { log.debug("Proxy setting default protocol to: http"); sampler.setProtocol("http"); } if ((urlConfig = isMultipart(getContentType())) != null) { urlConfig.parseArguments(postData); sampler.setArguments(urlConfig.getArguments()); sampler.setFileField(urlConfig.getFileFieldName()); sampler.setFilename(urlConfig.getFilename()); sampler.setMimetype(urlConfig.getMimeType()); } else { sampler.parseArguments(postData); } return sampler; }
50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/6387d4363a878561c19e1b148f889c826acf31fd/HttpRequestHdr.java/clean/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 18904, 10463, 752, 26243, 1435, 202, 95, 202, 202, 12024, 1489, 809, 880, 809, 273, 446, 31, 202, 202, 18657, 10463, 15349, 273, 394, 18904, 10463, 5621, 202, 202, 87, 10463, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18904, 10463, 752, 26243, 1435, 202, 95, 202, 202, 12024, 1489, 809, 880, 809, 273, 446, 31, 202, 202, 18657, 10463, 15349, 273, 394, 18904, 10463, 5621, 202, 202, 87, 10463, 1...