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
"http:
SAX_GENERAL_ENTITIES,
public static XMLReader createXmlParser(boolean validate, boolean disableDoctypes, boolean secureLoading) throws SAXException { XMLReader xerces = createBaseXercesInstance(); setFeature(xerces, FEATURE_SECURE_PROCESSING, secureLoading); setFeature(xerces, "http://apache.org/xml/features/validation/schema", validate); setFeature(xerces, "http://apache.org/xml/features/validation/schema-full-checking", validate); setFeature(xerces, "http://apache.org/xml/features/standard-uri-conformant", true); setFeature(xerces, "http://apache.org/xml/features/disallow-doctype-decl", disableDoctypes); setFeature(xerces, "http://xml.org/sax/features/external-general-entities", !secureLoading); return xerces; }
4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/61d37b5f829013ea6fd0b6ecf7d4ff44c8aab28e/ParserHelper.java/buggy/core/components/xml/src/org/smartfrog/services/xml/utils/ParserHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3167, 2514, 752, 4432, 2678, 12, 6494, 1954, 16, 5411, 1250, 4056, 3244, 299, 989, 16, 5411, 1250, 8177, 10515, 13, 5411, 1216, 14366, 288, 7734, 3167, 2514, 619, 264, 764, 273, 752, 2171, 60, 264, 764, 1442, 5621, 3639, 28669, 12, 92, 264, 764, 16, 7734, 25201, 67, 11944, 4830, 67, 16560, 1360, 16, 7734, 8177, 10515, 1769, 3639, 28669, 12, 92, 264, 764, 16, 7734, 315, 2505, 2207, 19211, 18, 3341, 19, 2902, 19, 7139, 19, 8685, 19, 4821, 3113, 7734, 1954, 1769, 3639, 28669, 12, 92, 264, 764, 16, 7734, 315, 2505, 2207, 19211, 18, 3341, 19, 2902, 19, 7139, 19, 8685, 19, 4821, 17, 2854, 17, 24609, 3113, 7734, 1954, 1769, 3639, 28669, 12, 92, 264, 764, 16, 7734, 315, 2505, 2207, 19211, 18, 3341, 19, 2902, 19, 7139, 19, 10005, 17, 1650, 17, 591, 687, 970, 3113, 7734, 638, 1769, 3639, 28669, 12, 92, 264, 764, 16, 7734, 315, 2505, 2207, 19211, 18, 3341, 19, 2902, 19, 7139, 19, 2251, 5965, 17, 2896, 12387, 17, 8840, 3113, 7734, 4056, 3244, 299, 989, 1769, 3639, 28669, 12, 92, 264, 764, 16, 7734, 315, 2505, 2207, 2902, 18, 3341, 19, 87, 651, 19, 7139, 19, 9375, 17, 12259, 17, 9996, 3113, 7734, 401, 8869, 10515, 1769, 3639, 327, 619, 264, 764, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3167, 2514, 752, 4432, 2678, 12, 6494, 1954, 16, 5411, 1250, 4056, 3244, 299, 989, 16, 5411, 1250, 8177, 10515, 13, 5411, 1216, 14366, 288, 7734, 3167, 2514, 619, 264, 764, 273, 752, 2171, 60, 264, 764, 1442, 5621, 3639, 28669, 12, 92, 264, 764, 16, 7734, 25201, 67, 11944, 4830, 67, 16560, 1360, 16, 7734, 8177, 10515, 1769, 3639, 28669, 12, 92, 264, 764, 16, 7734, 315, 2505, 2207, 19211, 18, 3341, 19, 2902, 19, 7139, 19, 8685, 19, 4821, 3113, 7734, 1954, 1769, 3639, 28669, 12, 92, 264, 764, 16, 7734, 315, 2505, 2207, 19211, 18, 3341, 19, 2902, 19, 7139, 19, 8685, 19, 4821, 17, 2854, 17, 24609, 3113, 7734, 1954, 1769, 3639, 2 ]
if (false) {
if (false) {
private void interrupted(Context cx, final StackFrame frame, Throwable scriptException) { ContextData contextData = frame.contextData(); int line = frame.getLineNumber(); String url = frame.getUrl(); boolean eventThreadFlag = callback.isGuiEventThread(); contextData.eventThreadFlag = eventThreadFlag; boolean recursiveEventThreadCall = false; interruptedCheck: synchronized (eventThreadMonitor) { if (eventThreadFlag) { if (interruptedContextData != null) { recursiveEventThreadCall = true; break interruptedCheck; } } else { while (interruptedContextData != null) { try { eventThreadMonitor.wait(); } catch (InterruptedException exc) { return; } } } interruptedContextData = contextData; } if (recursiveEventThreadCall) { // XXX: For now the foolowing is commented out as on Linux // too deep recursion of dispatchNextGuiEvent causes GUI lockout. // Note: it can make GUI unresponsive if long-running script // will be called on GUI thread while processing another interrupt if (false) { // Run event dispatch until gui sets a flag to exit the initial // call to interrupted. while (this.returnValue == -1) { try { callback.dispatchNextGuiEvent(); } catch (InterruptedException exc) { } } } return; } if (interruptedContextData == null) Kit.codeBug(); try { do { int frameCount = contextData.frameCount(); this.frameIndex = frameCount -1; final String threadTitle = Thread.currentThread().toString(); final String alertMessage; if (scriptException == null) { alertMessage = null; } else { alertMessage = scriptException.toString(); } int returnValue = -1; if (!eventThreadFlag) { synchronized (monitor) { if (insideInterruptLoop) Kit.codeBug(); this.insideInterruptLoop = true; this.evalRequest = null; this.returnValue = -1; callback.enterInterrupt(frame, threadTitle, alertMessage); try { for (;;) { try { monitor.wait(); } catch (InterruptedException exc) { Thread.currentThread().interrupt(); break; } if (evalRequest != null) { this.evalResult = null; try { evalResult = do_eval(cx, evalFrame, evalRequest); } finally { evalRequest = null; evalFrame = null; monitor.notify(); } continue; } if (this.returnValue != -1) { returnValue = this.returnValue; break; } } } finally { insideInterruptLoop = false; } } } else { this.returnValue = -1; callback.enterInterrupt(frame, threadTitle, alertMessage); while (this.returnValue == -1) { try { callback.dispatchNextGuiEvent(); } catch (InterruptedException exc) { } } returnValue = this.returnValue; } switch (returnValue) { case STEP_OVER: contextData.breakNextLine = true; contextData.stopAtFrameDepth = contextData.frameCount(); break; case STEP_INTO: contextData.breakNextLine = true; contextData.stopAtFrameDepth = -1; break; case STEP_OUT: if (contextData.frameCount() > 1) { contextData.breakNextLine = true; contextData.stopAtFrameDepth = contextData.frameCount() -1; } break; } } while (false); } finally { synchronized (eventThreadMonitor) { interruptedContextData = null; eventThreadMonitor.notifyAll(); } } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/91f7a07a682df976a675482904ee41933a60feff/Dim.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 15711, 12, 1042, 9494, 16, 727, 7283, 3219, 2623, 16, 11794, 4206, 2728, 503, 13, 565, 288, 3639, 1772, 751, 819, 751, 273, 2623, 18, 2472, 751, 5621, 3639, 509, 980, 273, 2623, 18, 588, 31063, 5621, 3639, 514, 880, 273, 2623, 18, 588, 1489, 5621, 3639, 1250, 871, 3830, 4678, 273, 1348, 18, 291, 18070, 1133, 3830, 5621, 3639, 819, 751, 18, 2575, 3830, 4678, 273, 871, 3830, 4678, 31, 3639, 1250, 5904, 1133, 3830, 1477, 273, 629, 31, 1377, 15711, 1564, 30, 3639, 3852, 261, 2575, 3830, 7187, 13, 288, 5411, 309, 261, 2575, 3830, 4678, 13, 288, 7734, 309, 261, 474, 5954, 1042, 751, 480, 446, 13, 288, 10792, 5904, 1133, 3830, 1477, 273, 638, 31, 10792, 898, 15711, 1564, 31, 7734, 289, 5411, 289, 469, 288, 7734, 1323, 261, 474, 5954, 1042, 751, 480, 446, 13, 288, 10792, 775, 288, 13491, 871, 3830, 7187, 18, 7048, 5621, 10792, 289, 1044, 261, 24485, 503, 3533, 13, 288, 13491, 327, 31, 10792, 289, 7734, 289, 5411, 289, 5411, 15711, 1042, 751, 273, 819, 751, 31, 3639, 289, 3639, 309, 261, 10543, 1133, 3830, 1477, 13, 288, 1082, 202, 759, 11329, 30, 2457, 2037, 326, 284, 1371, 543, 310, 353, 31813, 596, 487, 603, 13318, 1875, 202, 759, 4885, 4608, 13917, 434, 3435, 2134, 18070, 1133, 14119, 10978, 2176, 659, 18, 1082, 202, 759, 3609, 30, 518, 848, 1221, 10978, 640, 455, 24727, 309, 1525, 17, 8704, 2728, 1082, 202, 759, 903, 506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 15711, 12, 1042, 9494, 16, 727, 7283, 3219, 2623, 16, 11794, 4206, 2728, 503, 13, 565, 288, 3639, 1772, 751, 819, 751, 273, 2623, 18, 2472, 751, 5621, 3639, 509, 980, 273, 2623, 18, 588, 31063, 5621, 3639, 514, 880, 273, 2623, 18, 588, 1489, 5621, 3639, 1250, 871, 3830, 4678, 273, 1348, 18, 291, 18070, 1133, 3830, 5621, 3639, 819, 751, 18, 2575, 3830, 4678, 273, 871, 3830, 4678, 31, 3639, 1250, 5904, 1133, 3830, 1477, 273, 629, 31, 1377, 15711, 1564, 30, 3639, 3852, 261, 2575, 3830, 7187, 13, 288, 5411, 309, 261, 2575, 3830, 4678, 13, 288, 7734, 309, 261, 474, 5954, 1042, 751, 480, 446, 13, 288, 10792, 5904, 1133, 3830, 1477, 2 ]
jj_la = xla; jj_lastpos = jj_scanpos = token; boolean retval = !jj_3_29(); jj_save(28, xla); return retval; }
jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_29(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(28, xla); } }
static final private boolean jj_2_29(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; boolean retval = !jj_3_29(); jj_save(28, xla); return retval; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/23e69d576250f417c265d779703b8da08a67aaed/CPPParser.java/clean/pmd/src/net/sourceforge/pmd/cpd/cppast/CPPParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 727, 3238, 1250, 10684, 67, 22, 67, 5540, 12, 474, 619, 11821, 13, 288, 3639, 10684, 67, 11821, 273, 619, 11821, 31, 3639, 10684, 67, 2722, 917, 273, 10684, 67, 9871, 917, 273, 1147, 31, 3639, 1250, 5221, 273, 401, 78, 78, 67, 23, 67, 5540, 5621, 3639, 10684, 67, 5688, 12, 6030, 16, 619, 11821, 1769, 3639, 327, 5221, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 727, 3238, 1250, 10684, 67, 22, 67, 5540, 12, 474, 619, 11821, 13, 288, 3639, 10684, 67, 11821, 273, 619, 11821, 31, 3639, 10684, 67, 2722, 917, 273, 10684, 67, 9871, 917, 273, 1147, 31, 3639, 1250, 5221, 273, 401, 78, 78, 67, 23, 67, 5540, 5621, 3639, 10684, 67, 5688, 12, 6030, 16, 619, 11821, 1769, 3639, 327, 5221, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
verifyEquals("Click Page 1", selenium.getTitle());
verifyEquals("Click Page 1", selenium.getTitle());
public void test() throws Throwable { selenium.setContext("Test Back and Forward", "info"); /* Test Back and Forward */ // open|./tests/html/test_click_page1.html| selenium.open("./tests/html/test_click_page1.html"); // verifyTitle|Click Page 1| verifyEquals("Click Page 1", selenium.getTitle()); /* Click a regular link */ // clickAndWait|link| selenium.click("link"); selenium.waitForPageToLoad("60000"); // verifyTitle|Click Page Target| verifyEquals("Click Page Target", selenium.getTitle()); // goBackAndWait|| selenium.goBack(); selenium.waitForPageToLoad("60000"); // verifyTitle|Click Page 1| verifyEquals("Click Page 1", selenium.getTitle()); /* history.forward() generates 'Permission Denied' in IE >>>>>goForward////////////<<<<< // verifyTitle|Click Page Target| verifyEquals("Click Page Target", selenium.getTitle()); */ checkForVerificationErrors(); }
25408 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25408/15660ffa40e3fe9cdf6de2752e79d93831571a27/TestGoBack.java/buggy/clients/java/src/test/java/com/thoughtworks/selenium/generated/TestGoBack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 1435, 1216, 4206, 288, 202, 202, 1786, 17327, 18, 542, 1042, 2932, 4709, 4297, 471, 17206, 3113, 315, 1376, 8863, 225, 1748, 7766, 4297, 471, 17206, 4202, 1195, 1082, 202, 759, 1696, 96, 18, 19, 16341, 19, 2620, 19, 3813, 67, 7475, 67, 2433, 21, 18, 2620, 96, 1082, 202, 1786, 17327, 18, 3190, 2932, 18, 19, 16341, 19, 2620, 19, 3813, 67, 7475, 67, 2433, 21, 18, 2620, 8863, 1082, 202, 759, 3929, 4247, 96, 6563, 3460, 404, 96, 1082, 202, 8705, 8867, 2932, 6563, 3460, 404, 3113, 29480, 18, 588, 4247, 10663, 202, 202, 20308, 18417, 279, 6736, 1692, 1195, 1082, 202, 759, 4682, 1876, 5480, 96, 1232, 96, 1082, 202, 1786, 17327, 18, 7475, 2932, 1232, 8863, 202, 202, 1786, 17327, 18, 7048, 1290, 1964, 26883, 2932, 26, 2787, 8863, 1082, 202, 759, 3929, 4247, 96, 6563, 3460, 5916, 96, 1082, 202, 8705, 8867, 2932, 6563, 3460, 5916, 3113, 29480, 18, 588, 4247, 10663, 1082, 202, 759, 1960, 2711, 1876, 5480, 20081, 1082, 202, 1786, 17327, 18, 3240, 2711, 5621, 202, 202, 1786, 17327, 18, 7048, 1290, 1964, 26883, 2932, 26, 2787, 8863, 1082, 202, 759, 3929, 4247, 96, 6563, 3460, 404, 96, 1082, 202, 8705, 8867, 2932, 6563, 3460, 404, 3113, 29480, 18, 588, 4247, 10663, 202, 202, 20308, 4927, 18, 11565, 1435, 6026, 296, 5041, 22453, 2092, 11, 316, 10897, 377, 4080, 9778, 3240, 8514, 2105, 1307, 17685, 17685, 32, 1082, 202, 759, 3929, 4247, 96, 6563, 3460, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 1435, 1216, 4206, 288, 202, 202, 1786, 17327, 18, 542, 1042, 2932, 4709, 4297, 471, 17206, 3113, 315, 1376, 8863, 225, 1748, 7766, 4297, 471, 17206, 4202, 1195, 1082, 202, 759, 1696, 96, 18, 19, 16341, 19, 2620, 19, 3813, 67, 7475, 67, 2433, 21, 18, 2620, 96, 1082, 202, 1786, 17327, 18, 3190, 2932, 18, 19, 16341, 19, 2620, 19, 3813, 67, 7475, 67, 2433, 21, 18, 2620, 8863, 1082, 202, 759, 3929, 4247, 96, 6563, 3460, 404, 96, 1082, 202, 8705, 8867, 2932, 6563, 3460, 404, 3113, 29480, 18, 588, 4247, 10663, 202, 202, 20308, 18417, 279, 6736, 1692, 1195, 1082, 202, 759, 4682, 1876, 5480, 96, 1232, 96, 1082, 202, 1786, 17327, 2 ]
if (fAllElements[i].fTargetNamespace == elementName.uri && fAllElements[i].fName == elementName.localpart || subGroupHandler.substitutionGroupOK(elementName, fAllElements[i])) {
matchingDecl = subGroupHandler.getMatchingElemDecl(elementName, fAllElements[i]); if (matchingDecl != null) {
public Object oneTransition (QName elementName, int[] currentState, SubstitutionGroupHandler subGroupHandler) { for (int i = 0; i < fNumElements; i++) { if (fAllElements[i].fTargetNamespace == elementName.uri && fAllElements[i].fName == elementName.localpart || subGroupHandler.substitutionGroupOK(elementName, fAllElements[i])) { if (currentState[i+1] == STATE_START) { currentState[i+1] = STATE_VALID; } else if (currentState[i+1] == STATE_VALID) { // duplicate element currentState[i+1] = XSCMValidator.FIRST_ERROR; currentState[0] = XSCMValidator.FIRST_ERROR; } else if (currentState[i+1] == XSCMValidator.FIRST_ERROR) { currentState[i+1] = XSCMValidator.SUBSEQUENT_ERROR; currentState[0] = XSCMValidator.SUBSEQUENT_ERROR; } if (currentState[0] == STATE_START) { currentState[0] = STATE_VALID; } return fAllElements[i]; } } if (currentState[0] == XSCMValidator.FIRST_ERROR) currentState[0] = XSCMValidator.SUBSEQUENT_ERROR; else if (currentState[0] == STATE_START || currentState[0] == STATE_VALID) currentState[0] = XSCMValidator.FIRST_ERROR; return null; }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/7d23b0f822620b832b611e0946e73bb880886a98/XSAllCM.java/clean/src/org/apache/xerces/impl/v2/XSAllCM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1245, 8850, 261, 13688, 14453, 16, 509, 8526, 17773, 16, 2592, 14278, 1114, 1503, 720, 1114, 1503, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 284, 2578, 3471, 31, 277, 27245, 288, 5411, 309, 261, 74, 1595, 3471, 63, 77, 8009, 74, 2326, 3402, 422, 14453, 18, 1650, 597, 7734, 284, 1595, 3471, 63, 77, 8009, 74, 461, 422, 14453, 18, 3729, 2680, 747, 7734, 720, 1114, 1503, 18, 1717, 14278, 1114, 3141, 12, 2956, 461, 16, 284, 1595, 3471, 63, 77, 22643, 288, 7734, 309, 261, 2972, 1119, 63, 77, 15, 21, 65, 422, 7442, 67, 7570, 13, 288, 10792, 17773, 63, 77, 15, 21, 65, 273, 7442, 67, 5063, 31, 7734, 289, 7734, 469, 309, 261, 2972, 1119, 63, 77, 15, 21, 65, 422, 7442, 67, 5063, 13, 288, 10792, 368, 6751, 930, 10792, 17773, 63, 77, 15, 21, 65, 273, 1139, 2312, 49, 5126, 18, 15354, 67, 3589, 31, 10792, 17773, 63, 20, 65, 273, 1139, 2312, 49, 5126, 18, 15354, 67, 3589, 31, 7734, 289, 7734, 469, 309, 261, 2972, 1119, 63, 77, 15, 21, 65, 422, 1139, 2312, 49, 5126, 18, 15354, 67, 3589, 13, 288, 10792, 17773, 63, 77, 15, 21, 65, 273, 1139, 2312, 49, 5126, 18, 8362, 1090, 3500, 2222, 67, 3589, 31, 10792, 17773, 63, 20, 65, 273, 1139, 2312, 49, 5126, 18, 8362, 1090, 3500, 2222, 67, 3589, 31, 7734, 289, 7734, 309, 261, 2972, 1119, 63, 20, 65, 422, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1245, 8850, 261, 13688, 14453, 16, 509, 8526, 17773, 16, 2592, 14278, 1114, 1503, 720, 1114, 1503, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 284, 2578, 3471, 31, 277, 27245, 288, 5411, 309, 261, 74, 1595, 3471, 63, 77, 8009, 74, 2326, 3402, 422, 14453, 18, 1650, 597, 7734, 284, 1595, 3471, 63, 77, 8009, 74, 461, 422, 14453, 18, 3729, 2680, 747, 7734, 720, 1114, 1503, 18, 1717, 14278, 1114, 3141, 12, 2956, 461, 16, 284, 1595, 3471, 63, 77, 22643, 288, 7734, 309, 261, 2972, 1119, 63, 77, 15, 21, 65, 422, 7442, 67, 7570, 13, 288, 10792, 17773, 63, 77, 15, 21, 65, 273, 7442, 67, 5063, 31, 2 ]
show();
setVisible(true);
void jbInit() throws Exception { // create some reusable borders and layouts BorderLayout borderLayout = new BorderLayout(); mapper = new KeyMapper(); KeyMapper.init(); keyPanel.setLayout(borderLayout); keyPanel.add(createFunctionsPanel(),BorderLayout.WEST); keyPanel.add(createMappingPanel(),BorderLayout.CENTER); // add the panels to our dialog getContentPane().add(keyPanel,BorderLayout.CENTER); getContentPane().add(options, BorderLayout.SOUTH); // add option buttons to options panel addOptButton(LangTool.getString("key.labelDone","Done"),"DONE",options,true); this.setModal(true); this.setTitle(LangTool.getString("key.title")); // pack it and center it on the screen pack(); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Dimension frameSize = getSize(); if (frameSize.height > screenSize.height) frameSize.height = screenSize.height; if (frameSize.width > screenSize.width) frameSize.width = screenSize.width; setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2); // now show the world what we can do show(); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/KeyConfigure.java/buggy/tn5250j/src/org/tn5250j/keyboard/configure/KeyConfigure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 20515, 2570, 1435, 1216, 1185, 288, 1377, 368, 752, 2690, 283, 16665, 24028, 471, 22412, 1377, 30814, 5795, 3744, 273, 394, 30814, 5621, 1377, 5815, 273, 394, 1929, 4597, 5621, 1377, 1929, 4597, 18, 2738, 5621, 1377, 498, 5537, 18, 542, 3744, 12, 8815, 3744, 1769, 1377, 498, 5537, 18, 1289, 12, 2640, 7503, 5537, 9334, 8107, 3744, 18, 31285, 1769, 1377, 498, 5537, 18, 1289, 12, 2640, 3233, 5537, 9334, 8107, 3744, 18, 19835, 1769, 1377, 368, 527, 326, 20582, 358, 3134, 6176, 1377, 5154, 8485, 7675, 1289, 12, 856, 5537, 16, 8107, 3744, 18, 19835, 1769, 1377, 5154, 8485, 7675, 1289, 12, 2116, 16, 30814, 18, 3584, 5844, 1769, 1377, 368, 527, 1456, 9502, 358, 702, 6594, 1377, 527, 6179, 3616, 12, 7275, 6364, 18, 588, 780, 2932, 856, 18, 1925, 7387, 15937, 7387, 6, 3631, 6, 26875, 3113, 2116, 16, 3767, 1769, 1377, 333, 18, 542, 20191, 12, 3767, 1769, 1377, 333, 18, 542, 4247, 12, 7275, 6364, 18, 588, 780, 2932, 856, 18, 2649, 7923, 1769, 1377, 368, 2298, 518, 471, 4617, 518, 603, 326, 5518, 1377, 2298, 5621, 1377, 13037, 5518, 1225, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 7956, 1225, 5621, 1377, 13037, 2623, 1225, 273, 9950, 5621, 1377, 309, 261, 3789, 1225, 18, 4210, 405, 5518, 1225, 18, 4210, 13, 540, 2623, 1225, 18, 4210, 273, 5518, 1225, 18, 4210, 31, 1377, 309, 261, 3789, 1225, 18, 2819, 405, 5518, 1225, 18, 2819, 13, 540, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 20515, 2570, 1435, 1216, 1185, 288, 1377, 368, 752, 2690, 283, 16665, 24028, 471, 22412, 1377, 30814, 5795, 3744, 273, 394, 30814, 5621, 1377, 5815, 273, 394, 1929, 4597, 5621, 1377, 1929, 4597, 18, 2738, 5621, 1377, 498, 5537, 18, 542, 3744, 12, 8815, 3744, 1769, 1377, 498, 5537, 18, 1289, 12, 2640, 7503, 5537, 9334, 8107, 3744, 18, 31285, 1769, 1377, 498, 5537, 18, 1289, 12, 2640, 3233, 5537, 9334, 8107, 3744, 18, 19835, 1769, 1377, 368, 527, 326, 20582, 358, 3134, 6176, 1377, 5154, 8485, 7675, 1289, 12, 856, 5537, 16, 8107, 3744, 18, 19835, 1769, 1377, 5154, 8485, 7675, 1289, 12, 2116, 16, 30814, 18, 3584, 5844, 1769, 1377, 368, 527, 1456, 9502, 358, 2 ]
t = vec[1] + PerlinN;
t = vec1 + PerlinN;
private final void noise2(final double noise[], final double vec[], final int channels[]){ int bx0=0, bx1=0, by0=0, by1=0, b00=0, b10=0, b01=0, b11=0; double rx0=0, rx1=0, ry0=0, ry1=0, q[], sx=0, sy=0, a=0, b=0, t=0, u=0, v=0; int i=0, j=0; t = vec[0] + PerlinN; bx0 = ((int)t) & BM; bx1 = (bx0+1) & BM; rx0 = t - (int)t; rx1 = rx0 - 1.0f; t = vec[1] + PerlinN; by0 = ((int)t) & BM; by1 = (by0+1) & BM; ry0 = t - (int)t; ry1 = ry0 - 1.0f; i = latticeSelector[bx0]; j = latticeSelector[bx1]; b00 = latticeSelector[i + by0]; b10 = latticeSelector[j + by0]; b01 = latticeSelector[i + by1]; b11 = latticeSelector[j + by1]; sx = s_curve(rx0); sy = s_curve(ry0); for(i=0; i<channels.length; i++){ q = gradient[channels[i]][b00]; u = rx0 * q[0] + ry0 * q[1]; q = gradient[channels[i]][b10]; v = rx1 * q[0] + ry0 * q[1]; a = lerp(sx, u, v); q = gradient[channels[i]][b01]; u = rx0 * q[0] + ry1 * q[1]; q = gradient[channels[i]][b11]; v = rx1 * q[0] + ry1 * q[1]; b = lerp(sx, u, v); noise[channels[i]] = lerp(sy, a, b); } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/e94df1e1f84e3f01c3cc2dd5b67ab11198e395bd/TurbulencePatternGenerator.java/clean/sources/org/apache/batik/refimpl/gvt/filter/TurbulencePatternGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 918, 10825, 22, 12, 6385, 1645, 10825, 63, 6487, 727, 1645, 7062, 63, 6487, 727, 509, 5750, 63, 5717, 95, 3639, 509, 24356, 20, 33, 20, 16, 24356, 21, 33, 20, 16, 635, 20, 33, 20, 16, 635, 21, 33, 20, 16, 324, 713, 33, 20, 16, 324, 2163, 33, 20, 16, 324, 1611, 33, 20, 16, 324, 2499, 33, 20, 31, 3639, 1645, 8581, 20, 33, 20, 16, 8581, 21, 33, 20, 16, 16826, 20, 33, 20, 16, 16826, 21, 33, 20, 16, 1043, 63, 6487, 13280, 33, 20, 16, 1393, 33, 20, 16, 279, 33, 20, 16, 324, 33, 20, 16, 268, 33, 20, 16, 582, 33, 20, 16, 331, 33, 20, 31, 3639, 509, 277, 33, 20, 16, 525, 33, 20, 31, 3639, 268, 273, 7062, 63, 20, 65, 225, 397, 5722, 7511, 50, 31, 3639, 24356, 20, 273, 14015, 474, 13, 88, 13, 473, 605, 49, 31, 3639, 24356, 21, 273, 261, 70, 92, 20, 15, 21, 13, 473, 605, 49, 31, 3639, 8581, 20, 273, 268, 300, 261, 474, 13, 88, 31, 3639, 8581, 21, 273, 8581, 20, 300, 404, 18, 20, 74, 31, 3639, 268, 273, 7062, 21, 397, 5722, 7511, 50, 31, 3639, 635, 20, 273, 14015, 474, 13, 88, 13, 473, 605, 49, 31, 3639, 635, 21, 273, 261, 1637, 20, 15, 21, 13, 473, 605, 49, 31, 3639, 16826, 20, 273, 268, 300, 261, 474, 13, 88, 31, 3639, 16826, 21, 273, 16826, 20, 300, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 918, 10825, 22, 12, 6385, 1645, 10825, 63, 6487, 727, 1645, 7062, 63, 6487, 727, 509, 5750, 63, 5717, 95, 3639, 509, 24356, 20, 33, 20, 16, 24356, 21, 33, 20, 16, 635, 20, 33, 20, 16, 635, 21, 33, 20, 16, 324, 713, 33, 20, 16, 324, 2163, 33, 20, 16, 324, 1611, 33, 20, 16, 324, 2499, 33, 20, 31, 3639, 1645, 8581, 20, 33, 20, 16, 8581, 21, 33, 20, 16, 16826, 20, 33, 20, 16, 16826, 21, 33, 20, 16, 1043, 63, 6487, 13280, 33, 20, 16, 1393, 33, 20, 16, 279, 33, 20, 16, 324, 33, 20, 16, 268, 33, 20, 16, 582, 33, 20, 16, 331, 33, 20, 31, 3639, 2 ]
return "Unknown error code: "+reason;
case INTERNAL_ERROR: return "Internal error - probably a bug"; case DATA_NOT_FOUND: return "Could not find the data"; case ROUTE_NOT_FOUND: return "Could not find enough nodes to be sure that the data is not out there somewhere"; case REJECTED_OVERLOAD: return "A node downstream either timed out or was overloaded (retry)"; case TRANSFER_FAILED: return "Started to transfer data, then failed (should be rare)"; case VERIFY_FAILED: return "Node sent us invalid data"; default: return "Unknown error code: "+reason; }
static final String getMessage(int reason) { if(reason == DECODE_FAILED) return "Decode of data failed, probably was bogus at source"; else if(reason == DATA_NOT_FOUND_IN_STORE) return "Data was not in store and request was local-only"; return "Unknown error code: "+reason; }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/8d002621bf8fa6f968dadbeff67dc57cea479e65/LowLevelGetException.java/buggy/src/freenet/node/LowLevelGetException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 727, 514, 2381, 12, 474, 3971, 13, 288, 202, 202, 430, 12, 10579, 422, 2030, 5572, 67, 11965, 13, 1082, 202, 2463, 315, 6615, 434, 501, 2535, 16, 8656, 1703, 324, 28774, 622, 1084, 14432, 202, 202, 12107, 309, 12, 10579, 422, 8730, 67, 4400, 67, 9294, 67, 706, 67, 13651, 13, 1082, 202, 2463, 315, 751, 1703, 486, 316, 1707, 471, 590, 1703, 1191, 17, 3700, 14432, 202, 202, 2463, 315, 4874, 555, 981, 30, 13773, 10579, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 727, 514, 2381, 12, 474, 3971, 13, 288, 202, 202, 430, 12, 10579, 422, 2030, 5572, 67, 11965, 13, 1082, 202, 2463, 315, 6615, 434, 501, 2535, 16, 8656, 1703, 324, 28774, 622, 1084, 14432, 202, 202, 12107, 309, 12, 10579, 422, 8730, 67, 4400, 67, 9294, 67, 706, 67, 13651, 13, 1082, 202, 2463, 315, 751, 1703, 486, 316, 1707, 471, 590, 1703, 1191, 17, 3700, 14432, 202, 202, 2463, 315, 4874, 555, 981, 30, 13773, 10579, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return super.createCustomArea( parent ); }
return super.createCustomArea( parent ); }
protected Control createCustomArea( Composite parent ) { Composite container = new Composite( parent, SWT.NONE ); GridLayout gridLayout = new GridLayout( ); gridLayout.marginWidth = 20; gridLayout.marginTop = 15; container.setLayout( gridLayout ); Button chkbox = new Button( container, SWT.CHECK ); chkbox.setText( REMEMBER_DECISION ); chkbox.addSelectionListener( new SelectionListener( ) { public void widgetSelected( SelectionEvent e ) { saveDecision = !saveDecision; } public void widgetDefaultSelected( SelectionEvent e ) { saveDecision = false; } } ); return super.createCustomArea( parent ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/c7ff27323be7f22a6b56c5b5d61ff17ed3e4f30a/ExportToLibraryAction.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/actions/ExportToLibraryAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9944, 202, 1117, 8888, 752, 3802, 5484, 12, 14728, 982, 262, 25083, 202, 95, 6862, 1082, 202, 9400, 1478, 273, 394, 14728, 12, 982, 16, 6862, 6862, 202, 55, 8588, 18, 9826, 11272, 6862, 1082, 202, 6313, 3744, 3068, 3744, 273, 394, 7145, 3744, 12, 11272, 6862, 1082, 202, 5222, 3744, 18, 10107, 2384, 273, 4200, 31, 6862, 1082, 202, 5222, 3744, 18, 10107, 3401, 273, 4711, 31, 6862, 1082, 202, 3782, 18, 542, 3744, 12, 3068, 3744, 11272, 6862, 1082, 202, 3616, 15000, 2147, 273, 394, 12569, 12, 1478, 16, 348, 8588, 18, 10687, 11272, 6862, 1082, 202, 27038, 2147, 18, 542, 1528, 12, 2438, 19630, 67, 1639, 26913, 11272, 6862, 1082, 202, 27038, 2147, 18, 1289, 6233, 2223, 12, 394, 12977, 2223, 12, 262, 288, 6862, 9506, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 6862, 9506, 202, 95, 6862, 6862, 202, 5688, 15861, 273, 401, 5688, 15861, 31, 6862, 9506, 202, 97, 6862, 9506, 202, 482, 918, 3604, 1868, 7416, 12, 6862, 25083, 202, 6233, 1133, 425, 262, 6862, 9506, 202, 95, 6862, 6862, 202, 5688, 15861, 273, 629, 31, 6862, 9506, 202, 97, 6862, 1082, 202, 97, 11272, 6862, 1082, 202, 2463, 2240, 18, 2640, 3802, 5484, 12, 982, 11272, 25083, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9944, 202, 1117, 8888, 752, 3802, 5484, 12, 14728, 982, 262, 25083, 202, 95, 6862, 1082, 202, 9400, 1478, 273, 394, 14728, 12, 982, 16, 6862, 6862, 202, 55, 8588, 18, 9826, 11272, 6862, 1082, 202, 6313, 3744, 3068, 3744, 273, 394, 7145, 3744, 12, 11272, 6862, 1082, 202, 5222, 3744, 18, 10107, 2384, 273, 4200, 31, 6862, 1082, 202, 5222, 3744, 18, 10107, 3401, 273, 4711, 31, 6862, 1082, 202, 3782, 18, 542, 3744, 12, 3068, 3744, 11272, 6862, 1082, 202, 3616, 15000, 2147, 273, 394, 12569, 12, 1478, 16, 348, 8588, 18, 10687, 11272, 6862, 1082, 202, 27038, 2147, 18, 542, 1528, 12, 2438, 19630, 67, 1639, 26913, 11272, 6862, 1082, 202, 27038, 2147, 18, 1289, 6233, 2 ]
IPath path= makeAbsolutePathFromRelative(name);
IPath path= makeAbsolutePathFromRelative(new Path(name));
private IJavaElement[] getSelectedElementsFromAnt(Element element) { List res= new ArrayList(); // get all the packages listed in the ANT file String packagenames= element.getAttribute(PACKAGENAMES); if (packagenames != null) { IContainer[] containers= getSourceContainers(element); StringTokenizer tokenizer= new StringTokenizer(packagenames, ","); //$NON-NLS-1$ while (tokenizer.hasMoreTokens()) { IPath relPackagePath= new Path(tokenizer.nextToken().trim().replace('.', '/')); for (int i= 0; i < containers.length; i++) { IContainer curr= containers[i]; IResource resource= curr.findMember(relPackagePath); if (resource != null) { IJavaElement javaElem= JavaCore.create(resource); if (javaElem instanceof IPackageFragment) { res.add(javaElem); } } } } } //get all CompilationUnites listed in the ANT file String sourcefiles= element.getAttribute(SOURCEFILES); if (sourcefiles != null) { IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot(); StringTokenizer tokenizer= new StringTokenizer(sourcefiles, ","); //$NON-NLS-1$ while (tokenizer.hasMoreTokens()) { String name= tokenizer.nextToken().trim(); if (name.endsWith(".java")) { //$NON-NLS-1$ IPath path= makeAbsolutePathFromRelative(name); //if unable to create an absolute path the the resource skip it if (path != null) { IFile[] files= root.findFilesForLocation(path); for (int i= 0; i < files.length; i++) { IJavaElement el= JavaCore.createCompilationUnitFrom(files[i]); if (el != null) { res.add(el); } } } } } } return (IJavaElement[]) res.toArray(new IJavaElement[res.size()]); }
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/a80bcb03a973008c30ef006a130e93928b719096/AJdocOptionsManager.java/buggy/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/ajdocexport/AJdocOptionsManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 5852, 1046, 8526, 16625, 3471, 1265, 14925, 12, 1046, 930, 13, 288, 202, 202, 682, 400, 33, 394, 2407, 5621, 202, 202, 759, 336, 777, 326, 5907, 12889, 316, 326, 27274, 585, 202, 202, 780, 2298, 346, 6809, 33, 930, 18, 588, 1499, 12, 12231, 1781, 21150, 55, 1769, 202, 202, 430, 261, 2920, 346, 6809, 480, 446, 13, 288, 1082, 202, 45, 2170, 8526, 8475, 33, 7889, 11177, 12, 2956, 1769, 25083, 202, 780, 10524, 10123, 33, 394, 16370, 12, 2920, 346, 6809, 16, 5753, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 17523, 261, 2316, 1824, 18, 5332, 7417, 5157, 10756, 288, 9506, 202, 45, 743, 1279, 2261, 743, 33, 394, 2666, 12, 2316, 1824, 18, 4285, 1345, 7675, 5290, 7675, 2079, 2668, 1093, 16, 2023, 10019, 9506, 202, 1884, 261, 474, 277, 33, 374, 31, 277, 411, 8475, 18, 2469, 31, 277, 27245, 288, 6862, 202, 45, 2170, 4306, 33, 8475, 63, 77, 15533, 6862, 202, 45, 1420, 1058, 33, 4306, 18, 4720, 4419, 12, 2878, 2261, 743, 1769, 6862, 202, 430, 261, 3146, 480, 446, 13, 288, 25083, 202, 45, 5852, 1046, 2252, 7498, 33, 5110, 4670, 18, 2640, 12, 3146, 1769, 25083, 202, 430, 261, 6290, 7498, 1276, 467, 2261, 7456, 13, 288, 6862, 1082, 202, 455, 18, 1289, 12, 6290, 7498, 1769, 25083, 202, 97, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 588, 777, 22416, 2802, 281, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 5852, 1046, 8526, 16625, 3471, 1265, 14925, 12, 1046, 930, 13, 288, 202, 202, 682, 400, 33, 394, 2407, 5621, 202, 202, 759, 336, 777, 326, 5907, 12889, 316, 326, 27274, 585, 202, 202, 780, 2298, 346, 6809, 33, 930, 18, 588, 1499, 12, 12231, 1781, 21150, 55, 1769, 202, 202, 430, 261, 2920, 346, 6809, 480, 446, 13, 288, 1082, 202, 45, 2170, 8526, 8475, 33, 7889, 11177, 12, 2956, 1769, 25083, 202, 780, 10524, 10123, 33, 394, 16370, 12, 2920, 346, 6809, 16, 5753, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 17523, 261, 2316, 1824, 18, 5332, 7417, 5157, 10756, 288, 9506, 202, 45, 743, 1279, 2261, 743, 33, 394, 2 ]
outputBuffer.putShort((short) chunk.getLength());
outputBuffer.putShort((short) thisTime);
public int doWrite(ByteChunk chunk, Response res) throws IOException { if (!response.isCommitted()) { // Validate and write response headers try { prepareResponse(); } catch (IOException e) { // Set error flag error = true; } } int len = chunk.getLength(); // 4 - hardcoded, byte[] marshalling overhead int chunkSize = 8*1024 - 4 - 4; int off = 0; while (len > 0) { int thisTime = len; if (thisTime > chunkSize) { thisTime = chunkSize; } len -= thisTime; if (outputBuffer.position() + thisTime + 4 + 4 > outputBuffer.capacity()) { flush(); } outputBuffer.put((byte) 0x41); outputBuffer.put((byte) 0x42); outputBuffer.putShort((short) (thisTime + 4)); outputBuffer.put(Constants.JK_AJP13_SEND_BODY_CHUNK); outputBuffer.putShort((short) chunk.getLength()); outputBuffer.put(chunk.getBytes(), chunk.getOffset() + off, thisTime); outputBuffer.put((byte) 0x00); off += thisTime; } return chunk.getLength(); }
10630 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10630/bbbf7bde523799da3f0f55d093821a3fe5e1b45c/AjpAprProcessor.java/clean/java/org/apache/coyote/ajp/AjpAprProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 509, 741, 3067, 12, 3216, 5579, 2441, 16, 2306, 400, 13, 2398, 1216, 1860, 288, 5411, 309, 16051, 2740, 18, 291, 27813, 10756, 288, 7734, 368, 3554, 471, 1045, 766, 1607, 7734, 775, 288, 10792, 2911, 1064, 5621, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 368, 1000, 555, 2982, 10792, 555, 273, 638, 31, 7734, 289, 5411, 289, 5411, 509, 562, 273, 2441, 18, 588, 1782, 5621, 5411, 368, 1059, 300, 7877, 24808, 16, 1160, 8526, 1833, 310, 23188, 2398, 509, 17791, 273, 1725, 14, 2163, 3247, 300, 1059, 300, 1059, 31, 5411, 509, 3397, 273, 374, 31, 5411, 1323, 261, 1897, 405, 374, 13, 288, 7734, 509, 333, 950, 273, 562, 31, 7734, 309, 261, 2211, 950, 405, 17791, 13, 288, 10792, 333, 950, 273, 17791, 31, 7734, 289, 7734, 562, 3947, 333, 950, 31, 7734, 309, 261, 2844, 1892, 18, 3276, 1435, 397, 333, 950, 397, 1059, 397, 1059, 405, 5397, 876, 1892, 18, 16017, 10756, 288, 10792, 3663, 5621, 7734, 289, 7734, 876, 1892, 18, 458, 12443, 7229, 13, 374, 92, 9803, 1769, 7734, 876, 1892, 18, 458, 12443, 7229, 13, 374, 92, 9452, 1769, 7734, 876, 1892, 18, 458, 4897, 12443, 6620, 13, 261, 2211, 950, 397, 1059, 10019, 7734, 876, 1892, 18, 458, 12, 2918, 18, 19474, 67, 37, 29532, 3437, 67, 21675, 67, 16691, 67, 26464, 1769, 7734, 876, 1892, 18, 458, 4897, 12443, 6620, 13, 333, 950, 1769, 7734, 876, 1892, 18, 458, 12, 6551, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 509, 741, 3067, 12, 3216, 5579, 2441, 16, 2306, 400, 13, 2398, 1216, 1860, 288, 5411, 309, 16051, 2740, 18, 291, 27813, 10756, 288, 7734, 368, 3554, 471, 1045, 766, 1607, 7734, 775, 288, 10792, 2911, 1064, 5621, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 368, 1000, 555, 2982, 10792, 555, 273, 638, 31, 7734, 289, 5411, 289, 5411, 509, 562, 273, 2441, 18, 588, 1782, 5621, 5411, 368, 1059, 300, 7877, 24808, 16, 1160, 8526, 1833, 310, 23188, 2398, 509, 17791, 273, 1725, 14, 2163, 3247, 300, 1059, 300, 1059, 31, 5411, 509, 3397, 273, 374, 31, 5411, 1323, 261, 1897, 405, 374, 13, 288, 7734, 509, 333, 950, 273, 562, 31, 7734, 309, 2 ]
Modification mod1 = new Modification(); mod1.type = "modified"; mod1.fileName = "log4j.properties"; mod1.folderName = "";
Modification mod1 = new Modification("cvs"); Modification.ModifiedFile mod1file = mod1.createModifiedFile("log4j.properties", null); mod1file.action = "modified";
public void testParseStream() throws IOException, ParseException { CVS cvs = new CVS(); Hashtable emailAliases = new Hashtable(); emailAliases.put("alden", "alden@users.sourceforge.net"); emailAliases.put("tim", "tim@tim.net"); cvs.setMailAliases(emailAliases); BufferedInputStream input = new BufferedInputStream(loadTestLog("cvslog1-11.txt")); List modifications = cvs.parseStream(input); input.close(); Collections.sort(modifications); assertEquals( "Should have returned 5 modifications.", 5, modifications.size()); Modification mod1 = new Modification(); mod1.type = "modified"; mod1.fileName = "log4j.properties"; mod1.folderName = ""; mod1.revision = "1.2"; mod1.modifiedTime = createDate("2002/03/13 13:45:50 GMT-6:00"); mod1.userName = "alden"; mod1.comment = "Shortening ConversionPattern so we don't use up all of the available screen space."; mod1.emailAddress = "alden@users.sourceforge.net"; Modification mod2 = new Modification(); mod2.type = "modified"; mod2.fileName = "build.xml"; mod2.folderName = "main"; mod2.revision = "1.41"; mod2.modifiedTime = createDate("2002/03/13 19:56:34 GMT-6:00"); mod2.userName = "alden"; mod2.comment = "Added target to clean up test results."; mod2.emailAddress = "alden@users.sourceforge.net"; Modification mod3 = new Modification(); mod3.type = "modified"; mod3.fileName = "build.xml"; mod3.folderName = "main"; mod3.revision = "1.42"; mod3.modifiedTime = createDate("2002/03/15 13:20:28 GMT-6:00"); mod3.userName = "alden"; mod3.comment = "enabled debug info when compiling tests."; mod3.emailAddress = "alden@users.sourceforge.net"; Modification mod4 = new Modification(); mod4.type = "deleted"; mod4.fileName = "kungfu.xml"; mod4.folderName = "main"; mod4.revision = "1.2"; mod4.modifiedTime = createDate("2002/03/13 13:45:42 GMT-6:00"); mod4.userName = "alden"; mod4.comment = "Hey, look, a deleted file."; mod4.emailAddress = "alden@users.sourceforge.net"; Modification mod5 = new Modification(); mod5.type = "deleted"; mod5.fileName = "stuff.xml"; mod5.folderName = "main"; mod5.revision = "1.4"; mod5.modifiedTime = createDate("2002/03/13 13:38:42 GMT-6:00"); mod5.userName = "alden"; mod5.comment = "Hey, look, another deleted file."; mod5.emailAddress = "alden@users.sourceforge.net"; assertEquals(mod5, modifications.get(0)); assertEquals(mod4, modifications.get(1)); assertEquals(mod1, modifications.get(2)); assertEquals(mod2, modifications.get(3)); assertEquals(mod3, modifications.get(4)); }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/6c388b514a0547682989734ceba9679338747a3a/CVSTest.java/clean/main/test/net/sourceforge/cruisecontrol/sourcecontrols/CVSTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3201, 1228, 1435, 1216, 1860, 16, 10616, 288, 3639, 385, 14640, 276, 6904, 273, 394, 385, 14640, 5621, 3639, 18559, 2699, 9667, 273, 394, 18559, 5621, 3639, 2699, 9667, 18, 458, 2932, 287, 13002, 3113, 315, 287, 13002, 36, 5577, 18, 3168, 1884, 908, 18, 2758, 8863, 3639, 2699, 9667, 18, 458, 2932, 8584, 3113, 315, 8584, 36, 8584, 18, 2758, 8863, 3639, 276, 6904, 18, 542, 6759, 9667, 12, 3652, 9667, 1769, 3639, 24742, 810, 273, 7734, 394, 24742, 12, 945, 4709, 1343, 2932, 71, 6904, 1330, 21, 17, 2499, 18, 5830, 7923, 1769, 3639, 987, 17953, 273, 276, 6904, 18, 2670, 1228, 12, 2630, 1769, 3639, 810, 18, 4412, 5621, 3639, 5737, 18, 3804, 12, 1711, 6640, 1769, 3639, 1815, 8867, 12, 7734, 315, 14309, 1240, 2106, 1381, 17953, 1199, 16, 7734, 1381, 16, 7734, 17953, 18, 1467, 10663, 3639, 3431, 1480, 681, 21, 273, 394, 3431, 1480, 5621, 3639, 681, 21, 18, 723, 273, 315, 7342, 14432, 3639, 681, 21, 18, 17812, 273, 315, 1330, 24, 78, 18, 4738, 14432, 3639, 681, 21, 18, 5609, 461, 273, 1408, 31, 3639, 681, 21, 18, 13057, 273, 315, 21, 18, 22, 14432, 3639, 681, 21, 18, 7342, 950, 273, 752, 1626, 2932, 6976, 22, 19, 4630, 19, 3437, 5958, 30, 7950, 30, 3361, 21706, 17, 26, 30, 713, 8863, 3639, 681, 21, 18, 1355, 461, 273, 315, 287, 13002, 14432, 3639, 681, 21, 18, 3469, 273, 7734, 315, 4897, 275, 310, 16401, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3201, 1228, 1435, 1216, 1860, 16, 10616, 288, 3639, 385, 14640, 276, 6904, 273, 394, 385, 14640, 5621, 3639, 18559, 2699, 9667, 273, 394, 18559, 5621, 3639, 2699, 9667, 18, 458, 2932, 287, 13002, 3113, 315, 287, 13002, 36, 5577, 18, 3168, 1884, 908, 18, 2758, 8863, 3639, 2699, 9667, 18, 458, 2932, 8584, 3113, 315, 8584, 36, 8584, 18, 2758, 8863, 3639, 276, 6904, 18, 542, 6759, 9667, 12, 3652, 9667, 1769, 3639, 24742, 810, 273, 7734, 394, 24742, 12, 945, 4709, 1343, 2932, 71, 6904, 1330, 21, 17, 2499, 18, 5830, 7923, 1769, 3639, 987, 17953, 273, 276, 6904, 18, 2670, 1228, 12, 2630, 1769, 3639, 810, 18, 4412, 5621, 3639, 5737, 18, 2 ]
m_ops.m_opMap[m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - 2] = 4; m_ops.m_opMap[m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - 1] = OpCodes.NODETYPE_NODE;
m_ops.setOp(m_ops.getOp(OpMap.MAPINDEX_LENGTH) - 2,4); m_ops.setOp(m_ops.getOp(OpMap.MAPINDEX_LENGTH) - 1, OpCodes.NODETYPE_NODE);
protected boolean Step() throws javax.xml.transform.TransformerException { int opPos = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH]; boolean doubleSlash = tokenIs('/'); // At most a single '/' before each Step is consumed by caller; if the // first thing is a '/', that means we had '//' and the Step must not // be empty. if (doubleSlash) { nextToken(); appendOp(2, OpCodes.FROM_DESCENDANTS_OR_SELF); // Have to fix up for patterns such as '//@foo' or '//attribute::foo', // which translate to 'descendant-or-self::node()/attribute::foo'. // notice I leave the '/' on the queue, so the next will be processed // by a regular step pattern. // Make room for telling how long the step is without the predicate m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] += 1; m_ops.m_opMap[m_ops.m_opMap[OpMap.MAPINDEX_LENGTH]] = OpCodes.NODETYPE_NODE; m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] += 1; // Tell how long the step is without the predicate m_ops.m_opMap[opPos + OpMap.MAPINDEX_LENGTH + 1] = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - opPos; // Tell how long the step is with the predicate m_ops.m_opMap[opPos + OpMap.MAPINDEX_LENGTH] = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - opPos; opPos = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH]; } if (tokenIs(".")) { nextToken(); if (tokenIs('[')) { error(XPATHErrorResources.ER_PREDICATE_ILLEGAL_SYNTAX, null); //"'..[predicate]' or '.[predicate]' is illegal syntax. Use 'self::node()[predicate]' instead."); } appendOp(4, OpCodes.FROM_SELF); // Tell how long the step is without the predicate m_ops.m_opMap[m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - 2] = 4; m_ops.m_opMap[m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - 1] = OpCodes.NODETYPE_NODE; } else if (tokenIs("..")) { nextToken(); appendOp(4, OpCodes.FROM_PARENT); // Tell how long the step is without the predicate m_ops.m_opMap[m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - 2] = 4; m_ops.m_opMap[m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - 1] = OpCodes.NODETYPE_NODE; } // There is probably a better way to test for this // transition... but it gets real hairy if you try // to do it in basis(). else if (tokenIs('*') || tokenIs('@') || tokenIs('_') || (m_token!= null && Character.isLetter(m_token.charAt(0)))) { Basis(); while (tokenIs('[')) { Predicate(); } // Tell how long the entire step is. m_ops.m_opMap[opPos + OpMap.MAPINDEX_LENGTH] = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - opPos; } else { // No Step matched - that's an error if previous thing was a '//' if (doubleSlash) { // "Location step expected following '/' or '//'" error(XPATHErrorResources.ER_EXPECTED_LOC_STEP, null); } return false; } return true; }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/f136f83081069756bcd71950054569f3ad4d2ce5/XPathParser.java/buggy/src/org/apache/xpath/compiler/XPathParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1250, 8693, 1435, 1216, 6863, 18, 2902, 18, 6547, 18, 8319, 503, 225, 288, 565, 509, 1061, 1616, 273, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 3817, 863, 18, 8352, 9199, 67, 7096, 15533, 565, 1250, 1645, 11033, 273, 1147, 2520, 2668, 2473, 1769, 565, 368, 2380, 4486, 279, 2202, 2023, 1865, 1517, 8693, 353, 12393, 635, 4894, 31, 309, 326, 565, 368, 1122, 7757, 353, 279, 2023, 16, 716, 4696, 732, 9323, 19696, 471, 326, 8693, 1297, 486, 565, 368, 506, 1008, 18, 565, 309, 261, 9056, 11033, 13, 565, 288, 1377, 9617, 5621, 1377, 714, 3817, 12, 22, 16, 6066, 6295, 18, 11249, 67, 10964, 4415, 6856, 55, 67, 916, 67, 26280, 1769, 1377, 368, 21940, 358, 2917, 731, 364, 6884, 4123, 487, 12084, 36, 11351, 11, 578, 12084, 4589, 2866, 11351, 2187, 1377, 368, 1492, 4204, 358, 296, 26236, 970, 17, 280, 17, 2890, 2866, 2159, 1435, 19, 4589, 2866, 11351, 10332, 1377, 368, 11690, 467, 8851, 326, 2023, 603, 326, 2389, 16, 1427, 326, 1024, 903, 506, 5204, 1377, 368, 635, 279, 6736, 2235, 1936, 18, 1377, 368, 4344, 7725, 364, 9276, 310, 3661, 1525, 326, 2235, 353, 2887, 326, 5641, 1377, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 3817, 863, 18, 8352, 9199, 67, 7096, 65, 1011, 404, 31, 1377, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 81, 67, 4473, 18, 81, 67, 556, 863, 63, 3817, 863, 18, 8352, 9199, 67, 7096, 13563, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1250, 8693, 1435, 1216, 6863, 18, 2902, 18, 6547, 18, 8319, 503, 225, 288, 565, 509, 1061, 1616, 273, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 3817, 863, 18, 8352, 9199, 67, 7096, 15533, 565, 1250, 1645, 11033, 273, 1147, 2520, 2668, 2473, 1769, 565, 368, 2380, 4486, 279, 2202, 2023, 1865, 1517, 8693, 353, 12393, 635, 4894, 31, 309, 326, 565, 368, 1122, 7757, 353, 279, 2023, 16, 716, 4696, 732, 9323, 19696, 471, 326, 8693, 1297, 486, 565, 368, 506, 1008, 18, 565, 309, 261, 9056, 11033, 13, 565, 288, 1377, 9617, 5621, 1377, 714, 3817, 12, 22, 16, 6066, 6295, 18, 11249, 67, 10964, 4415, 6856, 55, 67, 916, 67, 26280, 1769, 2 ]
htmlCompat = false;
useEmptyElementTag = canonicalize ? 0 : 1;
public void setStyle (Object style) { this.style = style; htmlCompat = false; if ("html".equals(style)) { isHtml = true; htmlCompat = true; } if ("xhtml".equals(style)) htmlCompat = true; if ("plain".equals(style)) escapeText = false; }
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/ecd9dc41ffaa40ccc7fff59ad002fc45b18e4c4a/XMLPrinter.java/clean/gnu/xml/XMLPrinter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18995, 261, 921, 2154, 13, 225, 288, 565, 333, 18, 4060, 273, 2154, 31, 565, 999, 1921, 1046, 1805, 273, 25839, 692, 374, 294, 404, 31, 565, 309, 7566, 2620, 9654, 14963, 12, 4060, 3719, 1377, 288, 202, 291, 4353, 273, 638, 31, 202, 2620, 13322, 273, 638, 31, 1377, 289, 565, 309, 7566, 26341, 9654, 14963, 12, 4060, 3719, 1377, 1729, 13322, 273, 638, 31, 565, 309, 7566, 7446, 9654, 14963, 12, 4060, 3719, 1377, 4114, 1528, 273, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18995, 261, 921, 2154, 13, 225, 288, 565, 333, 18, 4060, 273, 2154, 31, 565, 999, 1921, 1046, 1805, 273, 25839, 692, 374, 294, 404, 31, 565, 309, 7566, 2620, 9654, 14963, 12, 4060, 3719, 1377, 288, 202, 291, 4353, 273, 638, 31, 202, 2620, 13322, 273, 638, 31, 1377, 289, 565, 309, 7566, 26341, 9654, 14963, 12, 4060, 3719, 1377, 1729, 13322, 273, 638, 31, 565, 309, 7566, 7446, 9654, 14963, 12, 4060, 3719, 1377, 4114, 1528, 273, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void backAndForth(CollationElementIterator iter) {
static void backAndForth(TestFmwk test, CollationElementIterator iter) {
void backAndForth(CollationElementIterator iter) { // Run through the iterator forwards and stick it into an array iter.reset(); int[] orders = getOrders(iter); // Now go through it backwards and make sure we get the same values int index = orders.length; int o; // reset the iterator iter.reset(); while ((o = iter.previous()) != CollationElementIterator.NULLORDER) { if (o != orders[--index]) { if (o == 0) { index ++; } else { while (index > 0 && orders[index] == 0) { index --; } if (o != orders[index]) { errln("Mismatch at index " + index + ": 0x" + Integer.toHexString(orders[index]) + " vs 0x" + Integer.toHexString(o)); break; } } } } while (index != 0 && orders[index - 1] == 0) { index --; } if (index != 0) { String msg = "Didn't get back to beginning - index is "; errln(msg + index); iter.reset(); err("next: "); while ((o = iter.next()) != CollationElementIterator.NULLORDER) { String hexString = "0x" + Integer.toHexString(o) + " "; err(hexString); } errln(""); err("prev: "); while ((o = iter.previous()) != CollationElementIterator.NULLORDER) { String hexString = "0x" + Integer.toHexString(o) + " "; err(hexString); } errln(""); } }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/708d7e487ecc7b9a788e321a6b9231b095c658ba/CollationIteratorTest.java/buggy/icu4j/src/com/ibm/icu/dev/test/collator/CollationIteratorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 1473, 1876, 1290, 451, 12, 4709, 42, 81, 17736, 1842, 16, 17596, 367, 1046, 3198, 1400, 13, 288, 3639, 368, 1939, 3059, 326, 2775, 24578, 471, 25608, 518, 1368, 392, 526, 3639, 1400, 18, 6208, 5621, 3639, 509, 8526, 11077, 273, 10117, 6794, 12, 2165, 1769, 5411, 368, 4494, 1960, 3059, 518, 12727, 471, 1221, 3071, 732, 336, 326, 1967, 924, 3639, 509, 770, 273, 11077, 18, 2469, 31, 3639, 509, 320, 31, 5411, 368, 2715, 326, 2775, 3639, 1400, 18, 6208, 5621, 5411, 1323, 14015, 83, 273, 1400, 18, 11515, 10756, 480, 17596, 367, 1046, 3198, 18, 8560, 7954, 13, 288, 5411, 309, 261, 83, 480, 11077, 63, 413, 1615, 5717, 288, 7734, 309, 261, 83, 422, 374, 13, 288, 10792, 770, 965, 31, 7734, 289, 469, 288, 10792, 1323, 261, 1615, 405, 374, 597, 11077, 63, 1615, 65, 422, 374, 13, 288, 13491, 770, 1493, 31, 10792, 289, 5397, 309, 261, 83, 480, 11077, 63, 1615, 5717, 288, 13491, 393, 2370, 2932, 16901, 622, 770, 315, 397, 770, 397, 6398, 374, 92, 6, 11794, 397, 2144, 18, 869, 14866, 12, 9972, 63, 1615, 5717, 397, 315, 6195, 374, 92, 6, 397, 2144, 18, 869, 14866, 12, 83, 10019, 13491, 898, 31, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 5411, 1323, 261, 1615, 480, 374, 597, 11077, 63, 1615, 300, 404, 65, 422, 374, 13, 288, 1850, 770, 1493, 31, 3639, 289, 5411, 309, 261, 1615, 480, 374, 13, 288, 5411, 514, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 1473, 1876, 1290, 451, 12, 4709, 42, 81, 17736, 1842, 16, 17596, 367, 1046, 3198, 1400, 13, 288, 3639, 368, 1939, 3059, 326, 2775, 24578, 471, 25608, 518, 1368, 392, 526, 3639, 1400, 18, 6208, 5621, 3639, 509, 8526, 11077, 273, 10117, 6794, 12, 2165, 1769, 5411, 368, 4494, 1960, 3059, 518, 12727, 471, 1221, 3071, 732, 336, 326, 1967, 924, 3639, 509, 770, 273, 11077, 18, 2469, 31, 3639, 509, 320, 31, 5411, 368, 2715, 326, 2775, 3639, 1400, 18, 6208, 5621, 5411, 1323, 14015, 83, 273, 1400, 18, 11515, 10756, 480, 17596, 367, 1046, 3198, 18, 8560, 7954, 13, 288, 5411, 309, 261, 83, 480, 11077, 63, 413, 1615, 5717, 288, 7734, 309, 261, 2 ]
final Element parentXmlNode = parentElement.getElement();
final Node parentXmlNode = parentElement.getNode();
public Object jsFunction_appendChild(final Object childObject) { final Object appendedChild; if (childObject instanceof HTMLElement) { // Get XML element for the HTML element passed in final HtmlElement childHtmlElement = ((HTMLElement) childObject).getHtmlElementOrDie(); final Element childXmlNode = childHtmlElement.getElement(); // Get the parent XML element that the child should be added to. final HtmlElement parentElement = this.getHtmlElementOrDie(); final Element parentXmlNode = parentElement.getElement(); // Append the child to the parent element if ( parentXmlNode.appendChild(childXmlNode) == null ) { appendedChild = null; } else { appendedChild = childObject; } } else { appendedChild = null; } return appendedChild; }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/4e1290506f200395101c4a7db13ddcba733788ea/HTMLElement.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host/HTMLElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 3828, 2083, 67, 6923, 1763, 12, 6385, 1033, 1151, 921, 13, 288, 3639, 727, 1033, 12317, 1763, 31, 3639, 309, 261, 3624, 921, 1276, 19408, 11155, 13, 288, 5411, 368, 968, 3167, 930, 364, 326, 3982, 930, 2275, 316, 5411, 727, 5430, 1046, 1151, 4353, 1046, 273, 14015, 5062, 11155, 13, 1151, 921, 2934, 588, 4353, 1046, 28850, 5621, 5411, 727, 3010, 1151, 4432, 907, 273, 1151, 4353, 1046, 18, 21336, 5621, 5411, 368, 968, 326, 982, 3167, 930, 716, 326, 1151, 1410, 506, 3096, 358, 18, 5411, 727, 5430, 1046, 30363, 273, 333, 18, 588, 4353, 1046, 28850, 5621, 5411, 727, 2029, 982, 4432, 907, 273, 30363, 18, 588, 907, 5621, 5411, 368, 6181, 326, 1151, 358, 326, 982, 930, 5411, 309, 261, 982, 4432, 907, 18, 6923, 1763, 12, 3624, 4432, 907, 13, 422, 446, 262, 288, 7734, 12317, 1763, 273, 446, 31, 5411, 289, 5411, 469, 288, 7734, 12317, 1763, 273, 1151, 921, 31, 5411, 289, 3639, 289, 3639, 469, 288, 5411, 12317, 1763, 273, 446, 31, 3639, 289, 3639, 327, 12317, 1763, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 3828, 2083, 67, 6923, 1763, 12, 6385, 1033, 1151, 921, 13, 288, 3639, 727, 1033, 12317, 1763, 31, 3639, 309, 261, 3624, 921, 1276, 19408, 11155, 13, 288, 5411, 368, 968, 3167, 930, 364, 326, 3982, 930, 2275, 316, 5411, 727, 5430, 1046, 1151, 4353, 1046, 273, 14015, 5062, 11155, 13, 1151, 921, 2934, 588, 4353, 1046, 28850, 5621, 5411, 727, 3010, 1151, 4432, 907, 273, 1151, 4353, 1046, 18, 21336, 5621, 5411, 368, 968, 326, 982, 3167, 930, 716, 326, 1151, 1410, 506, 3096, 358, 18, 5411, 727, 5430, 1046, 30363, 273, 333, 18, 588, 4353, 1046, 28850, 5621, 5411, 727, 2029, 982, 4432, 907, 273, 30363, 18, 588, 907, 5621, 5411, 368, 6181, 326, 2 ]
secprop = support.getSecurityProperties(this); String file= config.getInitParameter("configfile"); ConfigFinder confFinder = new ConfigFinder(); try { Document doc = confFinder.parseXMLConfigFile(file); Element root = doc.getDocumentElement(); setjavaproperty(root); } catch (IOException e) { System.out.println("Unable to read configFile: " + e); }
public void init(ServletConfig config) throws ServletException { super.init(config); secprop = support.getSecurityProperties(this); String file= config.getInitParameter("configfile"); ConfigFinder confFinder = new ConfigFinder(); try { Document doc = confFinder.parseXMLConfigFile(file); Element root = doc.getDocumentElement(); setjavaproperty(root); } catch (IOException e) { System.out.println("Unable to read configFile: " + e); } }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/8e5ab4106a38968de2c28e9761a1d5161240f55f/CertificateSigningRequest.java/buggy/securityservices/src/com/nai/security/certauthority/servlet/CertificateSigningRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1208, 12, 4745, 809, 642, 13, 1216, 16517, 225, 288, 565, 2240, 18, 2738, 12, 1425, 1769, 565, 1428, 5986, 273, 2865, 18, 588, 4368, 2297, 12, 2211, 1769, 565, 514, 585, 33, 642, 18, 588, 2570, 1662, 2932, 1425, 768, 8863, 565, 1903, 8441, 2195, 8441, 273, 394, 1903, 8441, 5621, 565, 775, 288, 1377, 4319, 997, 273, 2195, 8441, 18, 2670, 4201, 13705, 12, 768, 1769, 1377, 3010, 1365, 273, 997, 18, 588, 2519, 1046, 5621, 1377, 444, 19207, 438, 303, 824, 12, 3085, 1769, 565, 289, 565, 1044, 261, 14106, 425, 13, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 3370, 358, 855, 12247, 30, 315, 397, 425, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1208, 12, 4745, 809, 642, 13, 1216, 16517, 225, 288, 565, 2240, 18, 2738, 12, 1425, 1769, 565, 1428, 5986, 273, 2865, 18, 588, 4368, 2297, 12, 2211, 1769, 565, 514, 585, 33, 642, 18, 588, 2570, 1662, 2932, 1425, 768, 8863, 565, 1903, 8441, 2195, 8441, 273, 394, 1903, 8441, 5621, 565, 775, 288, 1377, 4319, 997, 273, 2195, 8441, 18, 2670, 4201, 13705, 12, 768, 1769, 1377, 3010, 1365, 273, 997, 18, 588, 2519, 1046, 5621, 1377, 444, 19207, 438, 303, 824, 12, 3085, 1769, 565, 289, 565, 1044, 261, 14106, 425, 13, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 3370, 358, 855, 12247, 30, 315, 397, 425, 1769, 565, 289, 225, 289, 2 ]
Element revision = (Element) document.createElement(REVISION); Attr attrRev1 = document.createAttribute(NUMBER);
Element revision = (Element) document.createElement(CacheConfiguration.REVISION); Attr attrRev1 = document.createAttribute(CacheConfiguration.NUMBER);
private void addDOMRevision(String number, String added, String removed, String binaryStatus) { Element revision = (Element) document.createElement(REVISION); Attr attrRev1 = document.createAttribute(NUMBER); attrRev1.setTextContent(number); revision.setAttributeNode(attrRev1); Attr attrRev2 = document.createAttribute(ADDED); attrRev2.setTextContent(added); revision.setAttributeNode(attrRev2); Attr attrRev3 = document.createAttribute(REMOVED); attrRev3.setTextContent(removed); revision.setAttributeNode(attrRev3); Attr attrRev4 = document.createAttribute(BINARY_STATUS); attrRev4.setTextContent(binaryStatus); revision.setAttributeNode(attrRev4); currentPath.appendChild(revision); }
49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/4988f36e074300907505f8c9b5030fa8378a0ff2/CacheBuilder.java/clean/src/net/sf/statcvs/input/CacheBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 8168, 7939, 12, 780, 1300, 16, 514, 3096, 16, 514, 3723, 16, 514, 3112, 1482, 13, 288, 202, 202, 1046, 6350, 273, 261, 1046, 13, 1668, 18, 2640, 1046, 12, 862, 25216, 1769, 202, 202, 3843, 1604, 10070, 21, 273, 1668, 18, 2640, 1499, 12, 9931, 1769, 202, 202, 1747, 10070, 21, 18, 542, 1528, 1350, 12, 2696, 1769, 202, 202, 13057, 18, 542, 1499, 907, 12, 1747, 10070, 21, 1769, 202, 202, 3843, 1604, 10070, 22, 273, 1668, 18, 2640, 1499, 12, 1880, 7660, 1769, 202, 202, 1747, 10070, 22, 18, 542, 1528, 1350, 12, 9665, 1769, 202, 202, 13057, 18, 542, 1499, 907, 12, 1747, 10070, 22, 1769, 202, 202, 3843, 1604, 10070, 23, 273, 1668, 18, 2640, 1499, 12, 11122, 12135, 1769, 202, 202, 1747, 10070, 23, 18, 542, 1528, 1350, 12, 14923, 1769, 202, 202, 13057, 18, 542, 1499, 907, 12, 1747, 10070, 23, 1769, 202, 202, 3843, 1604, 10070, 24, 273, 1668, 18, 2640, 1499, 12, 16813, 67, 8608, 1769, 202, 202, 1747, 10070, 24, 18, 542, 1528, 1350, 12, 8578, 1482, 1769, 202, 202, 13057, 18, 542, 1499, 907, 12, 1747, 10070, 24, 1769, 202, 202, 2972, 743, 18, 6923, 1763, 12, 13057, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 8168, 7939, 12, 780, 1300, 16, 514, 3096, 16, 514, 3723, 16, 514, 3112, 1482, 13, 288, 202, 202, 1046, 6350, 273, 261, 1046, 13, 1668, 18, 2640, 1046, 12, 862, 25216, 1769, 202, 202, 3843, 1604, 10070, 21, 273, 1668, 18, 2640, 1499, 12, 9931, 1769, 202, 202, 1747, 10070, 21, 18, 542, 1528, 1350, 12, 2696, 1769, 202, 202, 13057, 18, 542, 1499, 907, 12, 1747, 10070, 21, 1769, 202, 202, 3843, 1604, 10070, 22, 273, 1668, 18, 2640, 1499, 12, 1880, 7660, 1769, 202, 202, 1747, 10070, 22, 18, 542, 1528, 1350, 12, 9665, 1769, 202, 202, 13057, 18, 542, 1499, 907, 12, 1747, 10070, 22, 1769, 202, 202, 3843, 1604, 2 ]
status = "Fetching";
status = "Available";
public void update(Observable o, Object arg) { FCPMessage message = (FCPMessage)arg; if(message.getValue("Identifier") == null || !message.getValue("Identifier").equals(identifier)) return; if(message.getMessageName().equals("DataFound")) { Logger.debug(this, "DataFound!"); if(!isFinished()) { status = "Fetching"; fileSize = (new Long(message.getValue("DataLength"))).longValue(); progress = 100; successful = true; if(isPersistent()) { if(destinationDir != null) { if(!fileExists(destinationDir)) saveFileTo(destinationDir); else Logger.info(this, "File already existing. Not rewrited"); } else { Logger.info(this, "Don't know where to put file, so file not asked to the node"); } } setChanged(); notifyObservers(); } return; } if(message.getMessageName().equals("IdentifierCollision")) { Logger.notice(this, "IdentifierCollision ! Resending with another id"); identifier = null; start(queueManager); setChanged(); notifyObservers(); return; } if(message.getMessageName().equals("ProtocolError")) { Logger.debug(this, "ProtocolError !"); if(message.getValue("Code").equals("15")) { Logger.debug(this, "Unknow URI ? was probably a stop order so no problem ..."); return; } if(message.getValue("Fatal").equals("False")) { Logger.debug(this, "Non-fatal protocol error"); status = "Protocol warning ("+message.getValue("CodeDescription")+")"; return; } status = "Protocol Error ("+message.getValue("CodeDescription")+")"; progress = 100; running = false; successful = false; queueManager.getQueryManager().deleteObserver(this); setChanged(); notifyObservers(); return; } if(message.getMessageName().equals("GetFailed")) { Logger.debug(this, "GetFailed !"); if(!isRunning()) { /* Must be a "GetFailed: cancelled by caller", so we simply ignore */ Logger.info(this, "Cancellation confirmed."); return; } //removeRequest(); int code = ((new Integer(message.getValue("Code"))).intValue()); attempt++; if(MAX_RETRIES == -1 || attempt >= MAX_RETRIES || code == 25) { status = "Failed ("+message.getValue("CodeDescription")+")"; progress = 100; running = false; successful = false; queueManager.getQueryManager().deleteObserver(this); } else { status = "Retrying"; start(queueManager); } setChanged(); notifyObservers(); return; } if(message.getMessageName().equals("SimpleProgress")) { Logger.debug(this, "SimpleProgress !"); progress = 0; if(message.getValue("Total") != null && message.getValue("Succeeded") != null) { fileSize = ((new Long(message.getValue("Total"))).longValue())*BLOCK_SIZE; long required = (new Long(message.getValue("Total"))).longValue(); long succeeded = (new Long(message.getValue("Succeeded"))).longValue(); status = "Fetching"; progress = (int)((succeeded * 99) / required); setChanged(); notifyObservers(); } return; } if(message.getMessageName().equals("AllData")) { Logger.debug(this, "AllData ! : " + identifier); status = "Loading"; fileSize = message.getAmountOfDataWaiting(); status = "Writing"; //queueManager.getQueryManager().getConnection().lockWriting(); if(fetchDirectly(getPath(), fileSize, true)) { successful = true; status = "Available"; } else { Logger.warning(this, "Unable to fetch correctly the file. This may create problems on socket"); } fetchLock = false; //queueManager.getQueryManager().getConnection().unlockWriting(); running = false; progress = 100; queueManager.getQueryManager().deleteObserver(this); setChanged(); notifyObservers(); return; } if(message.getMessageName().equals("PersistentGet")) { Logger.debug(this, "PersistentGet !"); status = "Fetching"; return; } Logger.warning(this, "Unknow message : "+message.getMessageName() + " !"); }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/44d86cb0a6058b7cd840a5e31383fa17366ad002/FCPClientGet.java/buggy/src/thaw/fcp/FCPClientGet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 12, 15279, 320, 16, 1033, 1501, 13, 288, 202, 202, 42, 4258, 1079, 883, 273, 261, 42, 4258, 1079, 13, 3175, 31, 202, 202, 430, 12, 2150, 18, 24805, 2932, 3004, 7923, 422, 446, 1082, 282, 747, 401, 2150, 18, 24805, 2932, 3004, 20387, 14963, 12, 5644, 3719, 1082, 202, 2463, 31, 202, 202, 430, 12, 2150, 18, 24906, 461, 7675, 14963, 2932, 751, 2043, 6, 3719, 288, 1082, 202, 3328, 18, 4148, 12, 2211, 16, 315, 751, 2043, 4442, 1769, 1082, 202, 430, 12, 5, 291, 10577, 10756, 288, 9506, 202, 2327, 273, 315, 30806, 14432, 9506, 202, 768, 1225, 273, 261, 2704, 3407, 12, 2150, 18, 24805, 2932, 751, 1782, 6, 3719, 2934, 5748, 620, 5621, 6862, 9506, 202, 8298, 273, 2130, 31, 9506, 202, 18418, 273, 638, 31, 6862, 9506, 202, 430, 12, 291, 11906, 10756, 288, 6862, 202, 430, 12, 10590, 1621, 480, 446, 13, 288, 25083, 202, 430, 12, 5, 768, 4002, 12, 10590, 1621, 3719, 6862, 1082, 202, 5688, 812, 774, 12, 10590, 1621, 1769, 25083, 202, 12107, 6862, 1082, 202, 3328, 18, 1376, 12, 2211, 16, 315, 812, 1818, 2062, 18, 2288, 283, 5363, 329, 8863, 6862, 6862, 1082, 202, 97, 469, 288, 25083, 202, 3328, 18, 1376, 12, 2211, 16, 315, 22293, 1404, 5055, 1625, 358, 1378, 585, 16, 1427, 585, 486, 19279, 358, 326, 756, 8863, 6862, 202, 97, 9506, 202, 97, 6862, 9506, 202, 542, 5033, 5621, 9506, 202, 12336, 29393, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 12, 15279, 320, 16, 1033, 1501, 13, 288, 202, 202, 42, 4258, 1079, 883, 273, 261, 42, 4258, 1079, 13, 3175, 31, 202, 202, 430, 12, 2150, 18, 24805, 2932, 3004, 7923, 422, 446, 1082, 282, 747, 401, 2150, 18, 24805, 2932, 3004, 20387, 14963, 12, 5644, 3719, 1082, 202, 2463, 31, 202, 202, 430, 12, 2150, 18, 24906, 461, 7675, 14963, 2932, 751, 2043, 6, 3719, 288, 1082, 202, 3328, 18, 4148, 12, 2211, 16, 315, 751, 2043, 4442, 1769, 1082, 202, 430, 12, 5, 291, 10577, 10756, 288, 9506, 202, 2327, 273, 315, 30806, 14432, 9506, 202, 768, 1225, 273, 261, 2704, 3407, 12, 2150, 18, 24805, 2932, 751, 1782, 6, 3719, 2 ]
private void extractParameters( MojoDescriptor mojoDescriptor, JavaClass javaClass ) { // --------------------------------------------------------------------------------- // We're resolving class-level, ancestor-class-field, local-class-field order here. // --------------------------------------------------------------------------------- Map rawParams = new TreeMap(); // for backward compat, we'll toss on the params declared at the class level. DocletTag[] classLevelParams = javaClass.getTagsByName( PARAMETER ); if ( classLevelParams != null ) { for ( int i = 0; i < classLevelParams.length; i++ ) { DocletTag tag = classLevelParams[i]; String message = "DEPRECATED: Use field-level annotations " + "for parameters instead of class-level annotations. (parameter \'" + tag.getNamedParameter( "name" ) + "\'; class \'" + javaClass.getFullyQualifiedName() + ")"; Logger logger = getLogger(); if ( logger != null ) { logger.warn( message ); } else { // we're being used from pluggy, so this is okay... System.err.println( message ); } rawParams.put( tag.getNamedParameter("name"), tag ); } } extractFieldParameterTags( javaClass, rawParams ); Set parameters = new HashSet(); for ( Iterator it = rawParams.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry = (Entry) it.next(); String paramName = (String) entry.getKey(); Object val = entry.getValue(); JavaField field = null; DocletTag parameter = null; // FIXME: ICK! This is only here for backward compatibility to the class-level annotations of params. if ( val instanceof JavaField ) { field = (JavaField) val; parameter = field.getTagByName( PARAMETER ); } else { parameter = (DocletTag) val; } Parameter pd = new Parameter(); // if the field is null, then we're using a deprecated annotation pattern... // TODO: remove when backward compatibility is no longer an issue. if ( field == null ) { pd.setName( paramName ); pd.setType( parameter.getNamedParameter( "type" ) ); pd.setDefaultValue( parameter.getNamedParameter( "default" ) ); pd.setDescription( parameter.getNamedParameter( "description" ) ); pd.setRequired( parameter.getNamedParameter( "required" ).equals( "true" ) ? true : false ); pd.setDeprecated( parameter.getNamedParameter( "deprecated" ) ); } else { pd.setName( paramName ); pd.setType( field.getType().getValue() ); pd.setDescription( field.getComment() ); pd.setRequired( field.getTagByName(REQUIRED) != null ); DocletTag deprecationTag = field.getTagByName( DEPRECATED ); if( deprecationTag != null) { pd.setDeprecated( deprecationTag.getValue() ); } } String alias = parameter.getNamedParameter( "alias" ); if ( StringUtils.isEmpty( alias ) ) { pd.setAlias( alias ); } pd.setExpression( parameter.getNamedParameter( PARAMETER_EXPRESSION ) ); parameters.add( pd ); } if ( !parameters.isEmpty() ) { List paramList = new ArrayList( parameters ); mojoDescriptor.setParameters( paramList ); } }
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/ab91b7f4c29e6f0f9421e0cc03eedeffe9b478f5/JavaMojoDescriptorExtractor.java/buggy/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2608, 2402, 12, 15931, 3187, 312, 10007, 3187, 16, 29491, 2252, 797, 262, 565, 288, 3639, 368, 8879, 1271, 3639, 368, 1660, 4565, 17188, 667, 17, 2815, 16, 9731, 17, 1106, 17, 1518, 16, 1191, 17, 1106, 17, 1518, 1353, 2674, 18, 3639, 368, 8879, 1271, 3639, 1635, 1831, 1370, 273, 394, 16381, 5621, 3639, 368, 364, 12555, 4796, 16, 732, 5614, 358, 1049, 603, 326, 859, 7886, 622, 326, 667, 1801, 18, 3639, 3521, 1810, 1805, 8526, 667, 2355, 1370, 273, 2252, 797, 18, 588, 3453, 5911, 12, 18120, 11272, 3639, 309, 261, 667, 2355, 1370, 480, 446, 262, 3639, 288, 5411, 364, 261, 509, 277, 273, 374, 31, 277, 411, 667, 2355, 1370, 18, 2469, 31, 277, 9904, 262, 5411, 288, 7734, 3521, 1810, 1805, 1047, 273, 667, 2355, 1370, 63, 77, 15533, 7734, 514, 883, 273, 315, 17575, 30, 2672, 652, 17, 2815, 5617, 315, 10792, 397, 315, 1884, 1472, 3560, 434, 667, 17, 2815, 5617, 18, 261, 6775, 521, 4970, 10792, 397, 1047, 18, 588, 7604, 1662, 12, 315, 529, 6, 262, 397, 1548, 13506, 667, 521, 4970, 397, 2252, 797, 18, 588, 16999, 12345, 1435, 397, 7310, 31, 7734, 4242, 1194, 273, 7156, 5621, 7734, 309, 261, 1194, 480, 446, 262, 7734, 288, 10792, 1194, 18, 8935, 12, 883, 11272, 7734, 289, 7734, 469, 7734, 288, 10792, 368, 732, 4565, 3832, 1399, 628, 886, 5696, 93, 16, 1427, 333, 353, 21194, 2777, 10792, 2332, 18, 370, 18, 8222, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2608, 2402, 12, 15931, 3187, 312, 10007, 3187, 16, 29491, 2252, 797, 262, 565, 288, 3639, 368, 8879, 1271, 3639, 368, 1660, 4565, 17188, 667, 17, 2815, 16, 9731, 17, 1106, 17, 1518, 16, 1191, 17, 1106, 17, 1518, 1353, 2674, 18, 3639, 368, 8879, 1271, 3639, 1635, 1831, 1370, 273, 394, 16381, 5621, 3639, 368, 364, 12555, 4796, 16, 732, 5614, 358, 1049, 603, 326, 859, 7886, 622, 326, 667, 1801, 18, 3639, 3521, 1810, 1805, 8526, 667, 2355, 1370, 273, 2252, 797, 18, 588, 3453, 5911, 12, 18120, 11272, 3639, 309, 261, 667, 2355, 1370, 480, 446, 262, 3639, 288, 5411, 364, 261, 509, 277, 273, 374, 31, 277, 411, 667, 2355, 1370, 18, 2 ]
public static Object trim(String content) {
public static String trim(String content) {
public static Object trim(String content) { if (content == null) return null; if (content.length() == 0) return content; TextScanner scanner = new TextScanner(content); int lines = scanner.getLineCount(); if (lines == 0) return ""; else if (lines == 1) { return scanner.getLine(0); } StringBuffer buffer = new StringBuffer(); for (int i = 0; i < lines; i++) { if (i > 0 && i < lines - 1) buffer.append('\n'); scanner.appendLine(buffer, i); } return buffer.toString(); }
4524 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4524/1bc931c766f29969b243d2439601522731eeca8f/TagUtils.java/buggy/tagalog/tagalog-core/src/main/java/org/codehaus/tagalog/TagUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 2209, 12, 780, 913, 13, 288, 3639, 309, 261, 1745, 422, 446, 13, 5411, 327, 446, 31, 3639, 309, 261, 1745, 18, 2469, 1435, 422, 374, 13, 5411, 327, 913, 31, 3639, 3867, 11338, 7683, 273, 394, 3867, 11338, 12, 1745, 1769, 3639, 509, 2362, 273, 7683, 18, 588, 1670, 1380, 5621, 3639, 309, 261, 3548, 422, 374, 13, 5411, 327, 1408, 31, 3639, 469, 309, 261, 3548, 422, 404, 13, 288, 5411, 327, 7683, 18, 588, 1670, 12, 20, 1769, 3639, 289, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2362, 31, 277, 27245, 288, 5411, 309, 261, 77, 405, 374, 597, 277, 411, 2362, 300, 404, 13, 7734, 1613, 18, 6923, 2668, 64, 82, 8284, 5411, 7683, 18, 6923, 1670, 12, 4106, 16, 277, 1769, 3639, 289, 3639, 327, 1613, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 2209, 12, 780, 913, 13, 288, 3639, 309, 261, 1745, 422, 446, 13, 5411, 327, 446, 31, 3639, 309, 261, 1745, 18, 2469, 1435, 422, 374, 13, 5411, 327, 913, 31, 3639, 3867, 11338, 7683, 273, 394, 3867, 11338, 12, 1745, 1769, 3639, 509, 2362, 273, 7683, 18, 588, 1670, 1380, 5621, 3639, 309, 261, 3548, 422, 374, 13, 5411, 327, 1408, 31, 3639, 469, 309, 261, 3548, 422, 404, 13, 288, 5411, 327, 7683, 18, 588, 1670, 12, 20, 1769, 3639, 289, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2362, 31, 277, 27245, 288, 5411, 309, 261, 77, 405, 374, 597, 277, 411, 2362, 2 ]
public AWTCommandLine(String srcFile, String translationPath) { resource = getResourceBundle(translationPath); String messPath = new File(translationPath).getAbsoluteFile().getParent(); if (!messPath.endsWith(System.getProperty("file.separator"))) messPath += System.getProperty("file.separator"); messPath += "messages." + System.getProperty("user.language"); System.out.println("Set messages resource: " + messPath); UserMessage.setTranslator(getResourceBundle(messPath)); resource.setMissingEmphasized(false); if (!resource.isSourceFound()) UserMessage.show("TRANSLATION_SOURCE_NOT_FOUND", new File(translationPath).getAbsolutePath()); AWTRenderer renderer = new AWTRenderer(resource); PreviewDialog frame = createPreviewDialog(renderer, resource); renderer.setProgressListener(frame);//init parser frame.progress(resource.getString("Init parser") + " ..."); Parser parser = createParser(); if (parser == null) { System.err.println("ERROR: Unable to create SAX parser"); System.exit(1); } try { Driver driver = new Driver(); driver.setRenderer(renderer);// init mappings: time frame.progress(resource.getString("Init mappings") + " ..."); driver.addElementMapping("org.apache.fop.fo.StandardElementMapping"); driver.addElementMapping("org.apache.fop.svg.SVGElementMapping");// build FO tree: time frame.progress(resource.getString("Build FO tree") + " ..."); driver.buildFOTree(parser, fileInputSource(srcFile));// layout FO tree: time frame.progress(resource.getString("Layout FO tree") + " ..."); driver.format();// render: time frame.progress(resource.getString("Render") + " ..."); driver.render(); frame.progress(resource.getString("Show")); } catch (Exception e) { System.err.println("FATAL ERROR: " + e.getMessage()); e.printStackTrace(); System.exit(1); } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/5ec16c8a7178e5955bf9fb8e5c54d947c43884f6/AWTCommandLine.java/buggy/src/org/apache/fop/apps/AWTCommandLine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 432, 8588, 21391, 12, 780, 24672, 16, 514, 4794, 743, 13, 288, 565, 1058, 273, 5070, 3405, 12, 10173, 743, 1769, 565, 514, 12755, 743, 273, 394, 1387, 12, 10173, 743, 2934, 588, 10368, 812, 7675, 588, 3054, 5621, 565, 309, 16051, 81, 403, 743, 18, 5839, 1190, 12, 3163, 18, 588, 1396, 2932, 768, 18, 11287, 6, 20349, 1377, 12755, 743, 1011, 2332, 18, 588, 1396, 2932, 768, 18, 11287, 8863, 565, 12755, 743, 1011, 315, 6833, 1199, 397, 2332, 18, 588, 1396, 2932, 1355, 18, 4923, 8863, 565, 2332, 18, 659, 18, 8222, 2932, 694, 2743, 1058, 30, 315, 397, 12755, 743, 1769, 565, 2177, 1079, 18, 542, 12233, 12, 588, 18731, 12, 81, 403, 743, 10019, 565, 1058, 18, 542, 4841, 1514, 26377, 1235, 12, 5743, 1769, 565, 309, 16051, 3146, 18, 291, 1830, 2043, 10756, 1377, 2177, 1079, 18, 4500, 2932, 25419, 2689, 67, 6537, 67, 4400, 67, 9294, 3113, 15604, 394, 1387, 12, 10173, 743, 2934, 588, 10368, 743, 10663, 565, 432, 8588, 6747, 5690, 273, 394, 432, 8588, 6747, 12, 3146, 1769, 565, 22289, 6353, 2623, 273, 752, 11124, 6353, 12, 14374, 16, 1058, 1769, 565, 5690, 18, 542, 5491, 2223, 12, 3789, 1769, 759, 2738, 2082, 565, 2623, 18, 8298, 12, 3146, 18, 588, 780, 2932, 2570, 2082, 7923, 397, 315, 1372, 8863, 565, 6783, 2082, 273, 752, 2678, 5621, 202, 430, 261, 4288, 422, 446, 13, 288, 202, 565, 2332, 18, 370, 18, 8222, 2932, 3589, 30, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 432, 8588, 21391, 12, 780, 24672, 16, 514, 4794, 743, 13, 288, 565, 1058, 273, 5070, 3405, 12, 10173, 743, 1769, 565, 514, 12755, 743, 273, 394, 1387, 12, 10173, 743, 2934, 588, 10368, 812, 7675, 588, 3054, 5621, 565, 309, 16051, 81, 403, 743, 18, 5839, 1190, 12, 3163, 18, 588, 1396, 2932, 768, 18, 11287, 6, 20349, 1377, 12755, 743, 1011, 2332, 18, 588, 1396, 2932, 768, 18, 11287, 8863, 565, 12755, 743, 1011, 315, 6833, 1199, 397, 2332, 18, 588, 1396, 2932, 1355, 18, 4923, 8863, 565, 2332, 18, 659, 18, 8222, 2932, 694, 2743, 1058, 30, 315, 397, 12755, 743, 1769, 565, 2177, 1079, 18, 542, 12233, 12, 588, 18731, 12, 81, 403, 2 ]
Option option2 = parser.createOptionForKey("debug").setPrefix("--");
Option option2 = parser.createOptionForKey("debug").setPrefix("--");
public void testDocExample2() { ParameterParser parser = new ParameterParser(); parser.setFreeParameterNumberCheck(Option.ONE_PARAMETER_CHECK); Option option1 = parser.createOptionForKey("d"); Option option2 = parser.createOptionForKey("debug").setPrefix("--"); String[] argv = {"-b", "test", "-c", "test2"}; try { parser.parseAll(argv); } catch (ParameterParserException ex) { fail(); } //System.out.println(parser.toString()); }
14082 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14082/d8f0e8c54d09560c5ebac5df9a2e906bc836c2ef/ParameterParserTest.java/buggy/trunk/source/de/unistuttgart/architeuthis/misc/commandline/ParameterParserTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1759, 10908, 22, 1435, 288, 3639, 5498, 2678, 2082, 273, 394, 5498, 2678, 5621, 3639, 2082, 18, 542, 9194, 1662, 1854, 1564, 12, 1895, 18, 5998, 67, 9819, 67, 10687, 1769, 3639, 2698, 1456, 21, 273, 2082, 18, 2640, 1895, 19759, 2932, 72, 8863, 3639, 2698, 1456, 22, 273, 2082, 18, 2640, 1895, 19759, 2932, 4148, 20387, 542, 2244, 2932, 413, 8863, 3639, 514, 8526, 5261, 273, 12528, 17, 70, 3113, 315, 3813, 3113, 3701, 71, 3113, 315, 3813, 22, 6, 20451, 3639, 775, 288, 5411, 2082, 18, 2670, 1595, 12, 19485, 1769, 3639, 289, 1044, 261, 1662, 25746, 431, 13, 288, 5411, 2321, 5621, 3639, 289, 3639, 368, 3163, 18, 659, 18, 8222, 12, 4288, 18, 10492, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1759, 10908, 22, 1435, 288, 3639, 5498, 2678, 2082, 273, 394, 5498, 2678, 5621, 3639, 2082, 18, 542, 9194, 1662, 1854, 1564, 12, 1895, 18, 5998, 67, 9819, 67, 10687, 1769, 3639, 2698, 1456, 21, 273, 2082, 18, 2640, 1895, 19759, 2932, 72, 8863, 3639, 2698, 1456, 22, 273, 2082, 18, 2640, 1895, 19759, 2932, 4148, 20387, 542, 2244, 2932, 413, 8863, 3639, 514, 8526, 5261, 273, 12528, 17, 70, 3113, 315, 3813, 3113, 3701, 71, 3113, 315, 3813, 22, 6, 20451, 3639, 775, 288, 5411, 2082, 18, 2670, 1595, 12, 19485, 1769, 3639, 289, 1044, 261, 1662, 25746, 431, 13, 288, 5411, 2321, 5621, 3639, 289, 3639, 368, 3163, 18, 659, 18, 8222, 12, 2 ]
assertEquals(allTasks.size(), manager.getTaskList().getAllTasks().size());
public void testLegacyTaskListReading() { File previousFile = manager.getTaskListFile(); File legacyListFile = TaskTestUtil.getLocalFile("testdata/legacy/tasklist_0_4_8.xml"); assertEquals(362445, legacyListFile.length()); assertTrue(legacyListFile.exists()); manager.setTaskListFile(legacyListFile); manager.readExistingOrCreateNewList(); manager.setTaskListFile(previousFile); Set<ITask> allTasks = manager.getTaskList().getAllTasks(); Set<ITask> allRootTasks = manager.getTaskList().getRootTasks(); Set<ITaskContainer> allCategories = manager.getTaskList().getCategories(); Set<ITaskListElement> allRoots = manager.getTaskList().getRootElements(); System.err.println(">>> " + allRootTasks.size()); assertEquals(0, allRootTasks.size()); manager.saveTaskList(); TaskList list = new TaskList(); manager.setTaskList(list); manager.readExistingOrCreateNewList(); assertEquals(allTasks, manager.getTaskList().getAllTasks()); assertEquals(allRootTasks.size(), manager.getTaskList().getRootTasks().size()); assertEquals(allCategories, manager.getTaskList().getCategories()); assertEquals(allRoots.size(), manager.getTaskList().getRootElements().size()); // rewrite and test again// manager.saveTaskList();// list = new TaskList();// manager.setTaskList(list);// manager.readExistingOrCreateNewList();// // assertEquals(allTasks, manager.getTaskList().getAllTasks());// assertEquals(allRootTasks, manager.getTaskList().getRootTasks());// assertEquals(allCategories, manager.getTaskList().getCategories());// assertEquals(allRoots.size(), manager.getTaskList().getRootElements().size()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/d66fa5fd1197159c7421c5288c30df2409f6406c/TaskListManagerTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 918, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 1842, 12235, 2174, 682, 15714, 1435, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 288, 202, 202, 812, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 2416, 812, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 273, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 3301, 18, 588, 2174, 682, 812, 5621, 202, 202, 812, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 8866, 682, 812, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 273, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 3837, 4709, 1304, 18, 588, 2042, 812, 2932, 3813, 892, 19, 17386, 19, 4146, 1098, 67, 20, 67, 24, 67, 28, 18, 2902, 8863, 9506, 202, 11231, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 918, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 1842, 12235, 2174, 682, 15714, 1435, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 288, 202, 202, 812, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 10663, 225, 2416, 812, 11231, 8867, 12, 454, 6685, 18, 1467, 9334, 3301, 18, 588, 2174, 682, 7675, 588, 1595, 6685, 7675, 1467, 2 ]
setDirty(true);
if(!jEdit.getBooleanProperty("persistentMarkers")) setDirty(true);
public void removeMarker(int line) { Element map = getDefaultRootElement(); for(int i = 0; i < markers.size(); i++) { Marker marker = (Marker)markers.elementAt(i); if(map.getElementIndex(marker.getPosition()) == line) { setDirty(true); markers.removeElementAt(i); i--; } } EditBus.send(new BufferUpdate(this,null, BufferUpdate.MARKERS_CHANGED)); }
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/92b4758d5b4d92bd755049ecc59ca0a9a4470c20/Buffer.java/buggy/org/gjt/sp/jedit/Buffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 7078, 12, 474, 980, 13, 202, 95, 202, 202, 1046, 852, 273, 4829, 2375, 1046, 5621, 202, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 11754, 18, 1467, 5621, 277, 27245, 202, 202, 95, 1082, 202, 7078, 5373, 273, 261, 7078, 13, 22807, 18, 2956, 861, 12, 77, 1769, 1082, 202, 430, 12, 1458, 18, 21336, 1016, 12, 11145, 18, 588, 2555, 10756, 422, 980, 13, 1082, 202, 95, 9506, 202, 542, 10785, 12, 3767, 1769, 9506, 202, 22807, 18, 4479, 1046, 861, 12, 77, 1769, 9506, 202, 77, 413, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 4666, 7086, 18, 4661, 12, 2704, 3525, 1891, 12, 2211, 16, 2011, 16, 1082, 202, 1892, 1891, 18, 12693, 11367, 67, 24435, 10019, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 7078, 12, 474, 980, 13, 202, 95, 202, 202, 1046, 852, 273, 4829, 2375, 1046, 5621, 202, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 11754, 18, 1467, 5621, 277, 27245, 202, 202, 95, 1082, 202, 7078, 5373, 273, 261, 7078, 13, 22807, 18, 2956, 861, 12, 77, 1769, 1082, 202, 430, 12, 1458, 18, 21336, 1016, 12, 11145, 18, 588, 2555, 10756, 422, 980, 13, 1082, 202, 95, 9506, 202, 542, 10785, 12, 3767, 1769, 9506, 202, 22807, 18, 4479, 1046, 861, 12, 77, 1769, 9506, 202, 77, 413, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 4666, 7086, 18, 4661, 12, 2704, 3525, 1891, 12, 2211, 16, 2011, 16, 2 ]
while (index >=0) {
while (index >=0 && depth >= dp ) {
protected boolean iterate_preceding(String en) throws NavException { int index = getCurrentIndex() - 1; int t,d; //int size = vtdBuffer.size(); while (index >=0) { if (isElementOrDocument(index)) { int depth = getTokenDepth(index); context[0] = depth; //context[depth]=index; if (depth>0){ context[depth] = index; t = index -1; for (int i=depth-1;i>0;i--){ if (context[i]>index){ while(t>0){ d = getTokenDepth(t); if ( d == i && isElement(t)){ context[i] = t; break; } t--; } }else break; } } //dumpContext(); if (matchElement(en)) { resolveLC(); return true; } } else index--; } return false; }
3680 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3680/27f3be171c54bb9ed03cd2a85b7e927831e09512/VTDNav.java/buggy/com/ximpleware/VTDNav.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 7401, 67, 1484, 3263, 310, 12, 780, 570, 13, 202, 15069, 423, 842, 503, 288, 202, 202, 474, 770, 273, 5175, 1016, 1435, 300, 404, 31, 202, 202, 474, 268, 16, 72, 31, 202, 202, 759, 474, 963, 273, 331, 4465, 1892, 18, 1467, 5621, 202, 202, 17523, 261, 1615, 1545, 20, 13, 288, 1082, 202, 430, 261, 291, 1046, 1162, 2519, 12, 1615, 3719, 288, 9506, 202, 474, 3598, 273, 9162, 6148, 12, 1615, 1769, 9506, 202, 2472, 63, 20, 65, 273, 3598, 31, 9506, 202, 759, 2472, 63, 5979, 65, 33, 1615, 31, 9506, 202, 430, 261, 5979, 34, 20, 15329, 6862, 202, 2472, 63, 5979, 65, 273, 770, 31, 6862, 202, 88, 273, 770, 300, 21, 31, 6862, 202, 1884, 261, 474, 277, 33, 5979, 17, 21, 31, 77, 34, 20, 31, 77, 413, 15329, 25083, 202, 430, 261, 2472, 63, 77, 65, 34, 1615, 15329, 6862, 1082, 202, 17523, 12, 88, 34, 20, 15329, 6862, 9506, 202, 72, 273, 9162, 6148, 12, 88, 1769, 6862, 9506, 202, 430, 261, 302, 422, 277, 597, 353, 1046, 12, 88, 3719, 95, 6862, 6862, 202, 2472, 63, 77, 65, 273, 268, 31, 6862, 6862, 202, 8820, 31, 6862, 9506, 202, 97, 6862, 9506, 202, 88, 413, 31, 6862, 1082, 202, 97, 6862, 6862, 6862, 202, 97, 12107, 6862, 1082, 202, 8820, 31, 6862, 202, 97, 9506, 202, 97, 9506, 202, 759, 8481, 1042, 5621, 9506, 202, 430, 261, 1916, 1046, 12, 275, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 7401, 67, 1484, 3263, 310, 12, 780, 570, 13, 202, 15069, 423, 842, 503, 288, 202, 202, 474, 770, 273, 5175, 1016, 1435, 300, 404, 31, 202, 202, 474, 268, 16, 72, 31, 202, 202, 759, 474, 963, 273, 331, 4465, 1892, 18, 1467, 5621, 202, 202, 17523, 261, 1615, 1545, 20, 13, 288, 1082, 202, 430, 261, 291, 1046, 1162, 2519, 12, 1615, 3719, 288, 9506, 202, 474, 3598, 273, 9162, 6148, 12, 1615, 1769, 9506, 202, 2472, 63, 20, 65, 273, 3598, 31, 9506, 202, 759, 2472, 63, 5979, 65, 33, 1615, 31, 9506, 202, 430, 261, 5979, 34, 20, 15329, 6862, 202, 2472, 63, 5979, 65, 273, 770, 31, 6862, 202, 88, 2 ]
if (viewToolBarMgr != null)
if (viewToolBarMgr != null) {
public void updateActionBars() { if (isvMenuMgr != null) isvMenuMgr.updateAll(false); if (viewToolBarMgr != null) viewToolBarMgr.update(false); if (isvToolBarMgr != null) isvToolBarMgr.update(false); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/7c06c333f0ecf7ba14f0469845b25673c0458616/ViewPane.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 1803, 5190, 87, 1435, 288, 202, 202, 430, 261, 291, 90, 4599, 9455, 480, 446, 13, 1082, 202, 291, 90, 4599, 9455, 18, 2725, 1595, 12, 5743, 1769, 202, 202, 430, 261, 1945, 6364, 5190, 9455, 480, 446, 13, 1082, 202, 1945, 6364, 5190, 9455, 18, 2725, 12, 5743, 1769, 202, 202, 430, 261, 291, 90, 6364, 5190, 9455, 480, 446, 13, 1082, 202, 291, 90, 6364, 5190, 9455, 18, 2725, 12, 5743, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 1803, 5190, 87, 1435, 288, 202, 202, 430, 261, 291, 90, 4599, 9455, 480, 446, 13, 1082, 202, 291, 90, 4599, 9455, 18, 2725, 1595, 12, 5743, 1769, 202, 202, 430, 261, 1945, 6364, 5190, 9455, 480, 446, 13, 1082, 202, 1945, 6364, 5190, 9455, 18, 2725, 12, 5743, 1769, 202, 202, 430, 261, 291, 90, 6364, 5190, 9455, 480, 446, 13, 1082, 202, 291, 90, 6364, 5190, 9455, 18, 2725, 12, 5743, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Utils.printCSSInlinePreferredSize(device, prefSize);
Utils.optAttribute(device, "style", Utils.generateCSSInlinePreferredSize(prefSize).toString());
public void writePrefix(Device device, SComponent component) throws IOException { SDimension prefSize = component.getPreferredSize(); Utils.printDebugNewline(device, component); Utils.printDebug(device, "<!-- ").print(component.getName()).print(" -->"); device.print("<div"); if (component.getStyle() != null && component.getStyle().length() > 0) { device.print(" class=\""); device.print(component.getStyle()); device.print("_Box\""); } device.print(" id=\""); device.print(component.getName()); device.print("\""); if (component instanceof DragSource) { device.print(" style=\"position:relative\""); } // if sizes are spec'd in percentages, we need the outer box to have full size... boolean isHeightPercentage = prefSize != null && prefSize.height != null && prefSize.height.indexOf("%") != -1; boolean isWidthPercentage = prefSize != null && prefSize.width != null && prefSize.width.indexOf("%") != -1; // special case of special case: if the component with relative size is vertically aligned, we must avoid 100% heigth boolean isVAligned = (component.getVerticalAlignment() == SConstants.CENTER || component.getVerticalAlignment() == SConstants.BOTTOM ); if ( isHeightPercentage || isWidthPercentage ) { device.print(" style=\""); if (isHeightPercentage && isVAligned == false) { device.print("height:100%;"); } if (isWidthPercentage) { device.print("width:100%;"); } device.print("\""); } device.print(">"); device.print("<div"); //id=\"").print(component.getName()).print("\""); // Special handling: Mark Titled Borders for styling if (component.getBorder() instanceof STitledBorder) { Utils.optAttribute(device, "class", component.getStyle() + " STitledBorder"); } else { Utils.optAttribute(device, "class", component.getStyle()); } Utils.printCSSInlinePreferredSize(device, prefSize); if (component instanceof LowLevelEventListener) { LowLevelEventListener lowLevelEventListener = (LowLevelEventListener) component; device.print(" eid=\"") .print(lowLevelEventListener.getEncodedLowLevelEventId()).print("\""); } String toolTip = component.getToolTipText(); if (toolTip != null) device.print(" onmouseover=\"return makeTrue(domTT_activate(this, event, 'content', '") .print(toolTip) .print("', 'predefined', 'default'));\""); InputMap inputMap = component.getInputMap(); if (inputMap != null && !(inputMap instanceof VersionedInputMap)) { log.debug("inputMap = " + inputMap); inputMap = new VersionedInputMap(inputMap); component.setInputMap(inputMap); } if (inputMap != null) { VersionedInputMap versionedInputMap = (VersionedInputMap) inputMap; Integer inputMapVersion = (Integer) component.getClientProperty("inputMapVersion"); if (inputMapVersion == null || versionedInputMap.getVersion() != inputMapVersion.intValue()) { log.debug("inputMapVersion = " + inputMapVersion); InputMapScriptListener.install(component); component.putClientProperty("inputMapVersion", new Integer(versionedInputMap.getVersion())); } } SPopupMenu menu = component.getComponentPopupMenu(); if (menu != null) { ComponentCG menuCG = menu.getCG(); String componentId = menu.getName(); String popupId = componentId + "_pop"; device.print(" onContextMenu=\"javascript:return wpm_menuPopup(event, '"); device.print(popupId); device.print("');\" onMouseDown=\"javascript:return wpm_menuPopup(event, '"); device.print(popupId); device.print("');\""); } device.print(">"); // div // Special handling: Render title of STitledBorder if (component.getBorder() instanceof STitledBorder) { STitledBorder titledBorder = (STitledBorder) component.getBorder(); device.print("<div class=\"STitledBorderLegend\" style=\""); titledBorder.getTitleAttributes().write(device); device.print("\">"); device.print(titledBorder.getTitle()); device.print("</div>"); } component.fireRenderEvent(SComponent.START_RENDERING); }
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/3c1c3978e98a96f34ebd6cad77fdcd9b19263adf/PrefixAndSuffixDelegate.java/clean/wings2/src/java/org/wings/plaf/css/PrefixAndSuffixDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 2244, 12, 3654, 2346, 16, 348, 1841, 1794, 13, 1216, 1860, 288, 3639, 348, 8611, 11307, 1225, 273, 1794, 18, 588, 16028, 1225, 5621, 3639, 6091, 18, 1188, 2829, 26754, 12, 5964, 16, 1794, 1769, 3639, 6091, 18, 1188, 2829, 12, 5964, 16, 3532, 22772, 315, 2934, 1188, 12, 4652, 18, 17994, 1435, 2934, 1188, 2932, 1493, 2984, 1769, 3639, 2346, 18, 1188, 2932, 32, 2892, 8863, 3639, 309, 261, 4652, 18, 588, 2885, 1435, 480, 446, 597, 1794, 18, 588, 2885, 7675, 2469, 1435, 405, 374, 13, 288, 5411, 2346, 18, 1188, 2932, 667, 5189, 8863, 5411, 2346, 18, 1188, 12, 4652, 18, 588, 2885, 10663, 5411, 2346, 18, 1188, 2932, 67, 3514, 8530, 1769, 3639, 289, 3639, 2346, 18, 1188, 2932, 612, 5189, 8863, 3639, 2346, 18, 1188, 12, 4652, 18, 17994, 10663, 3639, 2346, 18, 1188, 2932, 8530, 1769, 3639, 309, 261, 4652, 1276, 28425, 1830, 13, 288, 5411, 2346, 18, 1188, 2932, 2154, 5189, 3276, 30, 11626, 8530, 1769, 3639, 289, 3639, 368, 309, 8453, 854, 857, 14271, 316, 5551, 1023, 16, 732, 1608, 326, 6390, 3919, 358, 1240, 1983, 963, 2777, 3639, 1250, 353, 2686, 16397, 273, 11307, 1225, 480, 446, 597, 11307, 1225, 18, 4210, 480, 446, 597, 11307, 1225, 18, 4210, 18, 31806, 27188, 7923, 480, 300, 21, 31, 3639, 1250, 353, 2384, 16397, 273, 11307, 1225, 480, 446, 597, 11307, 1225, 18, 2819, 480, 446, 597, 11307, 1225, 18, 2819, 18, 31806, 27188, 7923, 480, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 2244, 12, 3654, 2346, 16, 348, 1841, 1794, 13, 1216, 1860, 288, 3639, 348, 8611, 11307, 1225, 273, 1794, 18, 588, 16028, 1225, 5621, 3639, 6091, 18, 1188, 2829, 26754, 12, 5964, 16, 1794, 1769, 3639, 6091, 18, 1188, 2829, 12, 5964, 16, 3532, 22772, 315, 2934, 1188, 12, 4652, 18, 17994, 1435, 2934, 1188, 2932, 1493, 2984, 1769, 3639, 2346, 18, 1188, 2932, 32, 2892, 8863, 3639, 309, 261, 4652, 18, 588, 2885, 1435, 480, 446, 597, 1794, 18, 588, 2885, 7675, 2469, 1435, 405, 374, 13, 288, 5411, 2346, 18, 1188, 2932, 667, 5189, 8863, 5411, 2346, 18, 1188, 12, 4652, 18, 588, 2885, 10663, 5411, 2346, 18, 1188, 2932, 67, 3514, 8530, 2 ]
void loadLib(String libLocation, boolean importAll)
void loadLib(String libLocation, boolean importAll, boolean autoImport)
void loadLib(String libLocation, boolean importAll) throws ExecutionException;
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/cae2d444f7e933d5d55072f4b546b27ce174a720/ComponentService.java/buggy/proposal/mutant/src/java/common/org/apache/ant/common/service/ComponentService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1262, 5664, 12, 780, 2561, 2735, 16, 1250, 1930, 1595, 16, 1250, 3656, 5010, 13, 540, 1216, 20205, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1262, 5664, 12, 780, 2561, 2735, 16, 1250, 1930, 1595, 16, 1250, 3656, 5010, 13, 540, 1216, 20205, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
gIsCheating = (gCheats.getFloat() == 1.0);
gIsCheating = (gCheats == 1.0);
public void gameStatusChanged(GameStatusEvent e) { Engine.debugLog("Game.gameStatusChanged(" + e.getState() + ")"); if( e.getState() != GameStatusEvent.GAME_PRESPAWN ) { return; } Engine.debugLog("BaseQ2 intitialising"); String mapname = e.getMapname(); String spawnPoint = e.getSpawnPoint(); gLevelStartTime = Game.getGameTime(); gInIntermission = false; gChangeMapNow = false; gCurrentMap = mapname; gNextMap = mapname; // in case there isn't a target_changelevel entity in the entString if ((spawnPoint != null) && (spawnPoint.length() == 0)) gSpawnpoint = null; else gSpawnpoint = spawnPoint; gIsCheating = (gCheats.getFloat() == 1.0); gCorpseQueue = new CorpseQueue(); InventoryList.registerList(); // // cache some sounds // Engine.getSoundIndex("player/fry.wav"); // standing in lava / slime Engine.getSoundIndex("player/lava1.wav"); Engine.getSoundIndex("player/lava2.wav"); Engine.getSoundIndex("misc/pc_up.wav"); Engine.getSoundIndex("misc/talk1.wav"); Engine.getSoundIndex("misc/udeath.wav"); // gibs Engine.getSoundIndex("items/respawn1.wav"); // sexed sounds Engine.getSoundIndex("*death1.wav"); Engine.getSoundIndex("*death2.wav"); Engine.getSoundIndex("*death3.wav"); Engine.getSoundIndex("*death4.wav"); Engine.getSoundIndex("*fall1.wav"); Engine.getSoundIndex("*fall2.wav"); Engine.getSoundIndex("*gurp1.wav"); // drowning damage Engine.getSoundIndex("*gurp2.wav"); Engine.getSoundIndex("*jump1.wav"); // player jump Engine.getSoundIndex("*pain25_1.wav"); Engine.getSoundIndex("*pain25_2.wav"); Engine.getSoundIndex("*pain50_1.wav"); Engine.getSoundIndex("*pain50_2.wav"); Engine.getSoundIndex("*pain75_1.wav"); Engine.getSoundIndex("*pain75_2.wav"); Engine.getSoundIndex("*pain100_1.wav"); Engine.getSoundIndex("*pain100_2.wav"); //------------------- Engine.getSoundIndex("player/gasp1.wav"); // gasping for air Engine.getSoundIndex("player/gasp2.wav"); // head breaking surface, not gasping Engine.getSoundIndex("player/watr_in.wav"); // feet hitting water Engine.getSoundIndex("player/watr_out.wav"); // feet leaving water Engine.getSoundIndex("player/watr_un.wav"); // head going underwater Engine.getSoundIndex("player/u_breath1.wav"); Engine.getSoundIndex("player/u_breath2.wav"); Engine.getSoundIndex("items/pkup.wav"); // bonus item pickup Engine.getSoundIndex("world/land.wav"); // landing thud Engine.getSoundIndex("misc/h2ohit1.wav"); // landing splash Engine.getSoundIndex("items/damage.wav"); Engine.getSoundIndex("items/protect.wav"); Engine.getSoundIndex("items/protect4.wav"); Engine.getSoundIndex("weapons/noammo.wav"); Engine.getSoundIndex("infantry/inflies1.wav"); // setup player status bar Engine.setConfigString (Engine.CS_STATUSBAR, Player.DM_STATUSBAR); // // Setup light animation tables. 'a' is total darkness, 'z' is doublebright. // // 0 normal Engine.setConfigString(Engine.CS_LIGHTS+0, "m"); // 1 FLICKER (first variety) Engine.setConfigString(Engine.CS_LIGHTS+1, "mmnmmommommnonmmonqnmmo"); // 2 SLOW STRONG PULSE Engine.setConfigString(Engine.CS_LIGHTS+2, "abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba"); // 3 CANDLE (first variety) Engine.setConfigString(Engine.CS_LIGHTS+3, "mmmmmaaaaammmmmaaaaaabcdefgabcdefg"); // 4 FAST STROBE Engine.setConfigString(Engine.CS_LIGHTS+4, "mamamamamama"); // 5 GENTLE PULSE 1 Engine.setConfigString(Engine.CS_LIGHTS+5,"jklmnopqrstuvwxyzyxwvutsrqponmlkj"); // 6 FLICKER (second variety) Engine.setConfigString(Engine.CS_LIGHTS+6, "nmonqnmomnmomomno"); // 7 CANDLE (second variety) Engine.setConfigString(Engine.CS_LIGHTS+7, "mmmaaaabcdefgmmmmaaaammmaamm"); // 8 CANDLE (third variety) Engine.setConfigString(Engine.CS_LIGHTS+8, "mmmaaammmaaammmabcdefaaaammmmabcdefmmmaaaa"); // 9 SLOW STROBE (fourth variety) Engine.setConfigString(Engine.CS_LIGHTS+9, "aaaaaaaazzzzzzzz"); // 10 FLUORESCENT FLICKER Engine.setConfigString(Engine.CS_LIGHTS+10, "mmamammmmammamamaaamammma"); // 11 SLOW PULSE NOT FADE TO BLACK Engine.setConfigString(Engine.CS_LIGHTS+11, "abcdefghijklmnopqrrqponmlkjihgfedcba"); // styles 32-62 are assigned by the light program for switchable lights // 63 testing Engine.setConfigString(Engine.CS_LIGHTS+63, "a"); }
1990 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1990/c67e686ab471c06a6cec16d8d22c37f61287912e/BaseQ2.java/buggy/classes/q2java/baseq2/BaseQ2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 7920, 1482, 5033, 12, 12496, 1482, 1133, 425, 13, 202, 95, 202, 4410, 18, 4148, 1343, 2932, 12496, 18, 13957, 1482, 5033, 2932, 397, 425, 18, 588, 1119, 1435, 397, 7310, 1769, 202, 430, 12, 425, 18, 588, 1119, 1435, 480, 14121, 1482, 1133, 18, 43, 1642, 67, 3670, 3118, 37, 5665, 262, 202, 565, 288, 202, 202, 2463, 31, 202, 565, 289, 202, 4410, 18, 4148, 1343, 2932, 2171, 53, 22, 509, 305, 649, 13734, 8863, 202, 780, 852, 529, 273, 425, 18, 588, 863, 529, 5621, 202, 780, 12560, 2148, 273, 425, 18, 588, 3389, 9533, 2148, 5621, 202, 75, 2355, 13649, 273, 14121, 18, 588, 12496, 950, 5621, 202, 75, 382, 2465, 3951, 273, 629, 31, 202, 75, 3043, 863, 8674, 273, 629, 31, 202, 75, 3935, 863, 273, 852, 529, 31, 202, 75, 2134, 863, 273, 852, 529, 31, 368, 316, 648, 1915, 5177, 1404, 279, 1018, 67, 24083, 6516, 941, 1522, 316, 326, 3281, 780, 202, 202, 430, 14015, 1752, 9533, 2148, 480, 446, 13, 597, 261, 1752, 9533, 2148, 18, 2469, 1435, 422, 374, 3719, 202, 202, 75, 3389, 9533, 1153, 273, 446, 31, 202, 12107, 202, 202, 75, 3389, 9533, 1153, 273, 12560, 2148, 31, 202, 202, 75, 2520, 39, 580, 1776, 273, 261, 75, 39, 580, 2323, 18, 588, 4723, 1435, 422, 404, 18, 20, 1769, 202, 75, 6217, 84, 307, 3183, 273, 394, 9557, 84, 307, 3183, 5621, 202, 202, 15059, 682, 18, 4861, 682, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 7920, 1482, 5033, 12, 12496, 1482, 1133, 425, 13, 202, 95, 202, 4410, 18, 4148, 1343, 2932, 12496, 18, 13957, 1482, 5033, 2932, 397, 425, 18, 588, 1119, 1435, 397, 7310, 1769, 202, 430, 12, 425, 18, 588, 1119, 1435, 480, 14121, 1482, 1133, 18, 43, 1642, 67, 3670, 3118, 37, 5665, 262, 202, 565, 288, 202, 202, 2463, 31, 202, 565, 289, 202, 4410, 18, 4148, 1343, 2932, 2171, 53, 22, 509, 305, 649, 13734, 8863, 202, 780, 852, 529, 273, 425, 18, 588, 863, 529, 5621, 202, 780, 12560, 2148, 273, 425, 18, 588, 3389, 9533, 2148, 5621, 202, 75, 2355, 13649, 273, 14121, 18, 588, 12496, 950, 5621, 202, 75, 382, 2465, 3951, 273, 2 ]
public void onCommand(Command command) {
public void onCommand(Command command){
public void onCommand(Command command) { serviceLocalCommand(command); }
11783 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11783/5a429d90bbfeb27d012127cc5d03f67b0ef7ed98/DemandForwardingBridge.java/buggy/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 603, 2189, 12, 2189, 1296, 15329, 7734, 1156, 2042, 2189, 12, 3076, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 603, 2189, 12, 2189, 1296, 15329, 7734, 1156, 2042, 2189, 12, 3076, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
use = new XmlSchemaUse("None");
use = new XmlSchemaUse(BlockConstants.NONE);
public XmlSchemaAttribute() { form = new XmlSchemaForm(XmlSchemaForm.NONE); use = new XmlSchemaUse("None"); }
58536 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58536/36ebd6d1701fc509d1cc299e8d8094e30cad9d11/XmlSchemaAttribute.java/buggy/src/org/apache/ws/commons/schema/XmlSchemaAttribute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5714, 3078, 1499, 1435, 288, 3639, 646, 273, 394, 5714, 3078, 1204, 12, 4432, 3078, 1204, 18, 9826, 1769, 3639, 999, 273, 394, 5714, 3078, 3727, 12, 1768, 2918, 18, 9826, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5714, 3078, 1499, 1435, 288, 3639, 646, 273, 394, 5714, 3078, 1204, 12, 4432, 3078, 1204, 18, 9826, 1769, 3639, 999, 273, 394, 5714, 3078, 3727, 12, 1768, 2918, 18, 9826, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void disposeCachedDecorator(IBaseLabelProvider decorator) { IBaseLabelProvider cached = decorator; cached.removeListener(
protected void disposeCachedDecorator(IBaseLabelProvider disposedDecorator) { disposedDecorator.removeListener(
protected void disposeCachedDecorator(IBaseLabelProvider decorator) { IBaseLabelProvider cached = decorator; cached.removeListener( WorkbenchPlugin.getDefault().getDecoratorManager()); //Clear the decorator before disposing decorator = null; cached.dispose(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/5b54ce9012e6bad5f486a74ce295f98f6915c641/DecoratorDefinition.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecoratorDefinition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 15825, 9839, 10361, 12, 45, 2171, 2224, 2249, 7367, 13, 288, 202, 202, 45, 2171, 2224, 2249, 3472, 273, 7367, 31, 202, 202, 7097, 18, 4479, 2223, 12, 1082, 202, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 10361, 1318, 10663, 202, 202, 759, 9094, 326, 7367, 1865, 1015, 24014, 202, 202, 19142, 273, 446, 31, 202, 202, 7097, 18, 2251, 4150, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 15825, 9839, 10361, 12, 45, 2171, 2224, 2249, 7367, 13, 288, 202, 202, 45, 2171, 2224, 2249, 3472, 273, 7367, 31, 202, 202, 7097, 18, 4479, 2223, 12, 1082, 202, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 10361, 1318, 10663, 202, 202, 759, 9094, 326, 7367, 1865, 1015, 24014, 202, 202, 19142, 273, 446, 31, 202, 202, 7097, 18, 2251, 4150, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
checkReadable(); try { int c = inStream.read(); if (c == -1) { return runtime.getTrue(); } inStream.unread(c); return runtime.getFalse(); } catch (IOException e) { throw IOError.fromException(runtime, e); }
boolean isEOF = handler.isEOF(); return isEOF ? getRuntime().getTrue() : getRuntime().getFalse();
public RubyBoolean eof() { checkReadable(); try { int c = inStream.read(); if (c == -1) { return runtime.getTrue(); } inStream.unread(c); return runtime.getFalse(); } catch (IOException e) { throw IOError.fromException(runtime, e); } }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/4c689a812e20d4fcf2da0cdc9b527b00cc1960ef/RubyIO.java/clean/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 14813, 1435, 288, 3639, 866, 14151, 5621, 3639, 775, 288, 5411, 509, 276, 273, 28987, 18, 896, 5621, 5411, 309, 261, 71, 422, 300, 21, 13, 288, 7734, 327, 3099, 18, 588, 5510, 5621, 5411, 289, 5411, 28987, 18, 318, 896, 12, 71, 1769, 5411, 327, 3099, 18, 588, 8381, 5621, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 604, 8340, 18, 2080, 503, 12, 9448, 16, 425, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 14813, 1435, 288, 3639, 866, 14151, 5621, 3639, 775, 288, 5411, 509, 276, 273, 28987, 18, 896, 5621, 5411, 309, 261, 71, 422, 300, 21, 13, 288, 7734, 327, 3099, 18, 588, 5510, 5621, 5411, 289, 5411, 28987, 18, 318, 896, 12, 71, 1769, 5411, 327, 3099, 18, 588, 8381, 5621, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 604, 8340, 18, 2080, 503, 12, 9448, 16, 425, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
bugReporter = new PrintingBugReporter();
textuiBugReporter = new PrintingBugReporter();
public FindBugs createEngine() throws IOException, FilterException { TextUIBugReporter bugReporter = null; switch (bugReporterType) { case PRINTING_REPORTER: bugReporter = new PrintingBugReporter(); break; case SORTING_REPORTER: bugReporter = new SortingBugReporter(); break; case XML_REPORTER: bugReporter = new XMLBugReporter(project); break; case EMACS_REPORTER: bugReporter = new EmacsBugReporter(); break; case HTML_REPORTER: bugReporter = new HTMLBugReporter(project, stylesheet); break; case XDOCS_REPORTER: bugReporter = new XDocsBugReporter(project); break; default: throw new IllegalStateException(); } if (quiet) bugReporter.setErrorVerbosity(BugReporter.SILENT); bugReporter.setPriorityThreshold(priorityThreshold); if (outputStream != null) bugReporter.setOutputStream(outputStream); FindBugs findBugs = new FindBugs(bugReporter, project); if (filterFile != null) findBugs.setFilter(filterFile, include); findBugs.setClassScreener(classScreener); return findBugs; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/ea2298e58d56315b9aef67b0bb8deab50d76239e/FindBugs.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/FindBugs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 4163, 31559, 752, 4410, 1435, 1216, 1860, 16, 4008, 503, 288, 1082, 202, 1528, 5370, 19865, 13289, 7934, 13289, 273, 446, 31, 1082, 202, 9610, 261, 925, 13289, 559, 13, 288, 1082, 202, 3593, 11770, 3217, 1360, 67, 28879, 916, 2560, 30, 9506, 202, 925, 13289, 273, 394, 3038, 310, 19865, 13289, 5621, 9506, 202, 8820, 31, 1082, 202, 3593, 11530, 1360, 67, 28879, 916, 2560, 30, 9506, 202, 925, 13289, 273, 394, 5928, 310, 19865, 13289, 5621, 9506, 202, 8820, 31, 1082, 202, 3593, 3167, 67, 28879, 916, 2560, 30, 9506, 202, 925, 13289, 273, 394, 3167, 19865, 13289, 12, 4406, 1769, 9506, 202, 8820, 31, 1082, 202, 3593, 7141, 2226, 55, 67, 28879, 916, 2560, 30, 9506, 202, 925, 13289, 273, 394, 512, 5821, 87, 19865, 13289, 5621, 9506, 202, 8820, 31, 1082, 202, 3593, 3982, 67, 28879, 916, 2560, 30, 9506, 202, 925, 13289, 273, 394, 3982, 19865, 13289, 12, 4406, 16, 13820, 1769, 9506, 202, 8820, 31, 1082, 202, 3593, 1139, 3191, 4596, 67, 28879, 916, 2560, 30, 9506, 202, 925, 13289, 273, 394, 1139, 12656, 19865, 13289, 12, 4406, 1769, 9506, 202, 8820, 31, 1082, 202, 1886, 30, 9506, 202, 12849, 394, 5477, 5621, 1082, 202, 97, 1082, 202, 430, 261, 20380, 13, 9506, 202, 925, 13289, 18, 542, 668, 30594, 12, 19865, 13289, 18, 2320, 900, 1784, 1769, 1082, 202, 925, 13289, 18, 542, 8183, 7614, 12, 8457, 7614, 1769, 1082, 202, 430, 261, 2844, 1228, 480, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 4163, 31559, 752, 4410, 1435, 1216, 1860, 16, 4008, 503, 288, 1082, 202, 1528, 5370, 19865, 13289, 7934, 13289, 273, 446, 31, 1082, 202, 9610, 261, 925, 13289, 559, 13, 288, 1082, 202, 3593, 11770, 3217, 1360, 67, 28879, 916, 2560, 30, 9506, 202, 925, 13289, 273, 394, 3038, 310, 19865, 13289, 5621, 9506, 202, 8820, 31, 1082, 202, 3593, 11530, 1360, 67, 28879, 916, 2560, 30, 9506, 202, 925, 13289, 273, 394, 5928, 310, 19865, 13289, 5621, 9506, 202, 8820, 31, 1082, 202, 3593, 3167, 67, 28879, 916, 2560, 30, 9506, 202, 925, 13289, 273, 394, 3167, 19865, 13289, 12, 4406, 1769, 9506, 202, 8820, 31, 1082, 202, 3593, 7141, 2226, 55, 67, 28879, 916, 2 ]
long start = firstChildID(); for (long i = start; i < start + children; i++) { Node child = ownerDocument.getNode(i); if (child != null && child.getNodeType() == Node.ATTRIBUTE_NODE && child.getNodeName().equals(name)) return ((AttrImpl) child).getValue(); } return null; }
long start = firstChildID(); for (long i = start; i < start + children; i++) { Node child = ownerDocument.getNode(i); if (child != null && child.getNodeType() == Node.ATTRIBUTE_NODE && child.getNodeName().equals(name)) return ((AttrImpl) child).getValue(); } return null; }
public String getAttribute(String name) { long start = firstChildID(); for (long i = start; i < start + children; i++) { Node child = ownerDocument.getNode(i); if (child != null && child.getNodeType() == Node.ATTRIBUTE_NODE && child.getNodeName().equals(name)) return ((AttrImpl) child).getValue(); } return null; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/5286772980036f677f683fab6a1f3277b38b892f/ElementImpl.java/buggy/src/org/exist/dom/ElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 4061, 12, 780, 508, 13, 288, 202, 202, 5748, 787, 273, 15070, 734, 5621, 202, 202, 1884, 261, 5748, 277, 273, 787, 31, 277, 411, 787, 397, 2325, 31, 277, 27245, 288, 1082, 202, 907, 1151, 273, 19701, 18, 588, 907, 12, 77, 1769, 1082, 202, 430, 261, 3624, 480, 446, 9506, 202, 10, 10, 1151, 18, 588, 15101, 1435, 422, 2029, 18, 11616, 67, 8744, 9506, 202, 10, 10, 1151, 18, 588, 18948, 7675, 14963, 12, 529, 3719, 9506, 202, 2463, 14015, 3843, 2828, 13, 1151, 2934, 24805, 5621, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 4061, 12, 780, 508, 13, 288, 202, 202, 5748, 787, 273, 15070, 734, 5621, 202, 202, 1884, 261, 5748, 277, 273, 787, 31, 277, 411, 787, 397, 2325, 31, 277, 27245, 288, 1082, 202, 907, 1151, 273, 19701, 18, 588, 907, 12, 77, 1769, 1082, 202, 430, 261, 3624, 480, 446, 9506, 202, 10, 10, 1151, 18, 588, 15101, 1435, 422, 2029, 18, 11616, 67, 8744, 9506, 202, 10, 10, 1151, 18, 588, 18948, 7675, 14963, 12, 529, 3719, 9506, 202, 2463, 14015, 3843, 2828, 13, 1151, 2934, 24805, 5621, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
entry = bmodel.getFactory().createEntry(SRC_ + newPath);
entry = bmodel.getFactory().createEntry(PROPERTY_SOURCE_PREFIX + newPath);
private void configureSourceBuildEntry(IBuildModel bmodel, String oldPath, String newPath) throws CoreException { IBuild build = bmodel.getBuild(); IBuildEntry entry = build.getEntry(SRC_ + (oldPath != null ? oldPath : newPath)); try { if (newPath != null) { if (entry == null) { IProject project = ((IModel)getPage().getModel()).getUnderlyingResource().getProject(); IJavaProject jproject = JavaCore.create(project); ArrayList tokens = new ArrayList(); IClasspathEntry[] entries = jproject.getRawClasspath(); for (int i = 0; i < entries.length; i++) if (entries[i].getEntryKind() == IClasspathEntry.CPE_SOURCE) tokens.add(entries[i].getPath().removeFirstSegments(1).addTrailingSeparator().toString()); if (tokens.size() == 0) return; entry = bmodel.getFactory().createEntry(SRC_ + newPath); for (int i = 0; i < tokens.size(); i++) entry.addToken((String)tokens.get(i)); build.add(entry); } else entry.setName(SRC_ + newPath); } else if (entry != null && newPath == null) build.remove(entry); } catch (JavaModelException e) { } }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/8ef0d6ed33a0ada7aa654f23bd5c2b63fd6d7fd6/LibrarySection.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/LibrarySection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 5068, 1830, 3116, 1622, 12, 45, 3116, 1488, 324, 2284, 16, 514, 1592, 743, 16, 514, 14954, 13, 1216, 30015, 288, 202, 202, 45, 3116, 1361, 273, 324, 2284, 18, 588, 3116, 5621, 202, 202, 45, 3116, 1622, 1241, 273, 1361, 18, 588, 1622, 12, 28413, 67, 397, 261, 1673, 743, 480, 446, 692, 1592, 743, 294, 14954, 10019, 202, 202, 698, 288, 1082, 202, 430, 261, 2704, 743, 480, 446, 13, 288, 9506, 202, 430, 261, 4099, 422, 446, 13, 288, 6862, 202, 45, 4109, 1984, 273, 14015, 45, 1488, 13, 588, 1964, 7675, 588, 1488, 1435, 2934, 588, 14655, 6291, 1420, 7675, 588, 4109, 5621, 6862, 202, 45, 5852, 4109, 525, 4406, 273, 5110, 4670, 18, 2640, 12, 4406, 1769, 6862, 202, 19558, 2430, 273, 394, 2407, 5621, 6862, 202, 45, 17461, 1622, 8526, 3222, 273, 525, 4406, 18, 588, 4809, 17461, 5621, 6862, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3222, 18, 2469, 31, 277, 27245, 25083, 202, 430, 261, 8219, 63, 77, 8009, 588, 1622, 5677, 1435, 422, 467, 17461, 1622, 18, 39, 1423, 67, 6537, 13, 6862, 1082, 202, 7860, 18, 1289, 12, 8219, 63, 77, 8009, 588, 743, 7675, 4479, 3759, 7946, 12, 21, 2934, 1289, 16808, 6581, 7675, 10492, 10663, 6862, 202, 430, 261, 7860, 18, 1467, 1435, 422, 374, 13, 25083, 202, 2463, 31, 6862, 25083, 202, 4099, 273, 324, 2284, 18, 588, 1733, 7675, 2640, 1622, 12, 28413, 67, 397, 14954, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 5068, 1830, 3116, 1622, 12, 45, 3116, 1488, 324, 2284, 16, 514, 1592, 743, 16, 514, 14954, 13, 1216, 30015, 288, 202, 202, 45, 3116, 1361, 273, 324, 2284, 18, 588, 3116, 5621, 202, 202, 45, 3116, 1622, 1241, 273, 1361, 18, 588, 1622, 12, 28413, 67, 397, 261, 1673, 743, 480, 446, 692, 1592, 743, 294, 14954, 10019, 202, 202, 698, 288, 1082, 202, 430, 261, 2704, 743, 480, 446, 13, 288, 9506, 202, 430, 261, 4099, 422, 446, 13, 288, 6862, 202, 45, 4109, 1984, 273, 14015, 45, 1488, 13, 588, 1964, 7675, 588, 1488, 1435, 2934, 588, 14655, 6291, 1420, 7675, 588, 4109, 5621, 6862, 202, 45, 5852, 4109, 525, 4406, 273, 2 ]
_handler = new PacketHandler(_context, this, _endpoint, _establisher, _inboundFragments);
_handler = new PacketHandler(_context, this, _endpoint, _establisher, _inboundFragments, _testManager);
public void startup() { if (_fragments != null) _fragments.shutdown(); if (_pusher != null) _pusher.shutdown(); if (_handler != null) _handler.shutdown(); if (_endpoint != null) _endpoint.shutdown(); if (_establisher != null) _establisher.shutdown(); if (_refiller != null) _refiller.shutdown(); if (_inboundFragments != null) _inboundFragments.shutdown(); if (_flooder != null) _flooder.shutdown(); _introKey = new SessionKey(new byte[SessionKey.KEYSIZE_BYTES]); System.arraycopy(_context.routerHash().getData(), 0, _introKey.getData(), 0, SessionKey.KEYSIZE_BYTES); rebuildExternalAddress(); int port = -1; if (_externalListenPort <= 0) { // no explicit external port, so lets try an internal one String portStr = _context.getProperty(PROP_INTERNAL_PORT); if (portStr != null) { try { port = Integer.parseInt(portStr); } catch (NumberFormatException nfe) { if (_log.shouldLog(Log.ERROR)) _log.error("Invalid port specified [" + portStr + "]"); } } if (port <= 0) { port = 8887; //port = 1024 + _context.random().nextInt(31*1024); if (_log.shouldLog(Log.INFO)) _log.info("Selecting an arbitrary port to bind to: " + port); _context.router().setConfigSetting(PROP_INTERNAL_PORT, port+""); // attempt to use it as our external port - this will be overridden by // externalAddressReceived(...) _context.router().setConfigSetting(PROP_EXTERNAL_PORT, port+""); _context.router().saveConfig(); } } else { port = _externalListenPort; if (_log.shouldLog(Log.INFO)) _log.info("Binding to the explicitly specified external port: " + port); } if (_endpoint == null) { try { _endpoint = new UDPEndpoint(_context, port); } catch (SocketException se) { if (_log.shouldLog(Log.CRIT)) _log.log(Log.CRIT, "Unable to listen on the UDP port (" + port + ")", se); return; } } else { _endpoint.setListenPort(port); } if (_establisher == null) _establisher = new EstablishmentManager(_context, this); if (_handler == null) _handler = new PacketHandler(_context, this, _endpoint, _establisher, _inboundFragments); if (_refiller == null) _refiller = new OutboundRefiller(_context, _fragments, _outboundMessages); if (_flooder == null) _flooder = new UDPFlooder(_context, this); _endpoint.startup(); _establisher.startup(); _handler.startup(); _fragments.startup(); _inboundFragments.startup(); _pusher = new PacketPusher(_context, _fragments, _endpoint.getSender()); _pusher.startup(); _refiller.startup(); _flooder.startup(); _expireEvent.setIsAlive(true); }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/def24e34ad24589a5243dd02062113bfd8edf6c8/UDPTransport.java/buggy/router/java/src/net/i2p/router/transport/udp/UDPTransport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 11850, 1435, 288, 3639, 309, 261, 67, 29528, 480, 446, 13, 5411, 389, 29528, 18, 15132, 5621, 3639, 309, 261, 67, 6206, 264, 480, 446, 13, 5411, 389, 6206, 264, 18, 15132, 5621, 3639, 309, 261, 67, 4176, 480, 446, 13, 2398, 389, 4176, 18, 15132, 5621, 3639, 309, 261, 67, 8003, 480, 446, 13, 5411, 389, 8003, 18, 15132, 5621, 3639, 309, 261, 67, 395, 23385, 264, 480, 446, 13, 5411, 389, 395, 23385, 264, 18, 15132, 5621, 3639, 309, 261, 67, 1734, 24462, 480, 446, 13, 5411, 389, 1734, 24462, 18, 15132, 5621, 3639, 309, 261, 67, 267, 3653, 27588, 480, 446, 13, 5411, 389, 267, 3653, 27588, 18, 15132, 5621, 3639, 309, 261, 67, 74, 383, 5350, 480, 446, 13, 5411, 389, 74, 383, 5350, 18, 15132, 5621, 7734, 389, 23342, 653, 273, 394, 3877, 653, 12, 2704, 1160, 63, 2157, 653, 18, 3297, 4574, 67, 13718, 19226, 3639, 2332, 18, 1126, 3530, 24899, 2472, 18, 10717, 2310, 7675, 588, 751, 9334, 374, 16, 389, 23342, 653, 18, 588, 751, 9334, 374, 16, 3877, 653, 18, 3297, 4574, 67, 13718, 1769, 7734, 13419, 6841, 1887, 5621, 7734, 509, 1756, 273, 300, 21, 31, 3639, 309, 261, 67, 9375, 14750, 2617, 1648, 374, 13, 288, 5411, 368, 1158, 5515, 3903, 1756, 16, 1427, 14557, 775, 392, 2713, 1245, 5411, 514, 1756, 1585, 273, 389, 2472, 18, 588, 1396, 12, 15811, 67, 14005, 67, 6354, 1769, 5411, 309, 261, 655, 1585, 480, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 11850, 1435, 288, 3639, 309, 261, 67, 29528, 480, 446, 13, 5411, 389, 29528, 18, 15132, 5621, 3639, 309, 261, 67, 6206, 264, 480, 446, 13, 5411, 389, 6206, 264, 18, 15132, 5621, 3639, 309, 261, 67, 4176, 480, 446, 13, 2398, 389, 4176, 18, 15132, 5621, 3639, 309, 261, 67, 8003, 480, 446, 13, 5411, 389, 8003, 18, 15132, 5621, 3639, 309, 261, 67, 395, 23385, 264, 480, 446, 13, 5411, 389, 395, 23385, 264, 18, 15132, 5621, 3639, 309, 261, 67, 1734, 24462, 480, 446, 13, 5411, 389, 1734, 24462, 18, 15132, 5621, 3639, 309, 261, 67, 267, 3653, 27588, 480, 446, 13, 5411, 389, 267, 3653, 27588, 18, 15132, 5621, 3639, 309, 261, 2 ]
assertTrue(!cuss2.matches("/123foo"));
assertFalse(cuss2.matches("/123foo"));
public void testRECachedUrlSetSpec() throws REException { CachedUrlSetSpec cuss1 = new RECachedUrlSetSpec("foo", (RE)null); assertEquals("foo", cuss1.getUrl()); assertTrue(cuss1.matches("foo")); assertTrue(cuss1.matches("foobar")); assertTrue(cuss1.matches("foo/bar")); assertTrue(!cuss1.matches("1foo")); CachedUrlSetSpec cuss2 = new RECachedUrlSetSpec("foo", "/123"); assertTrue(cuss2.matches("foo/bar/123/x")); assertTrue(!cuss2.matches("/123foo")); CachedUrlSetSpec cuss3 = new RECachedUrlSetSpec("foo", "123$"); assertTrue(cuss3.matches("foo/bar/123")); assertTrue(!cuss3.matches("foo/123/bar")); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/6938da50dd007d67baeee98f7e142cbfc07cb1bb/TestCachedUrlSetSpec.java/buggy/test/src/org/lockss/daemon/TestCachedUrlSetSpec.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 862, 9839, 1489, 694, 1990, 1435, 1216, 2438, 503, 288, 565, 15771, 1489, 694, 1990, 276, 5567, 21, 273, 394, 2438, 9839, 1489, 694, 1990, 2932, 11351, 3113, 261, 862, 13, 2011, 1769, 565, 1815, 8867, 2932, 11351, 3113, 276, 5567, 21, 18, 588, 1489, 10663, 565, 1815, 5510, 12, 7641, 21, 18, 8436, 2932, 11351, 7923, 1769, 565, 1815, 5510, 12, 7641, 21, 18, 8436, 2932, 617, 947, 297, 7923, 1769, 565, 1815, 5510, 12, 7641, 21, 18, 8436, 2932, 11351, 19, 3215, 7923, 1769, 565, 1815, 5510, 12, 5, 7641, 21, 18, 8436, 2932, 21, 11351, 7923, 1769, 565, 15771, 1489, 694, 1990, 276, 5567, 22, 273, 394, 2438, 9839, 1489, 694, 1990, 2932, 11351, 3113, 2206, 12936, 8863, 565, 1815, 5510, 12, 7641, 22, 18, 8436, 2932, 11351, 19, 3215, 19, 12936, 19, 92, 7923, 1769, 565, 1815, 8381, 12, 7641, 22, 18, 8436, 2932, 19, 12936, 11351, 7923, 1769, 565, 15771, 1489, 694, 1990, 276, 5567, 23, 273, 394, 2438, 9839, 1489, 694, 1990, 2932, 11351, 3113, 315, 12936, 8, 8863, 565, 1815, 5510, 12, 7641, 23, 18, 8436, 2932, 11351, 19, 3215, 19, 12936, 7923, 1769, 565, 1815, 5510, 12, 5, 7641, 23, 18, 8436, 2932, 11351, 19, 12936, 19, 3215, 7923, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 1842, 862, 9839, 1489, 694, 1990, 1435, 1216, 2438, 503, 288, 565, 15771, 1489, 694, 1990, 276, 5567, 21, 273, 394, 2438, 9839, 1489, 694, 1990, 2932, 11351, 3113, 261, 862, 13, 2011, 1769, 565, 1815, 8867, 2932, 11351, 3113, 276, 5567, 21, 18, 588, 1489, 10663, 565, 1815, 5510, 12, 7641, 21, 18, 8436, 2932, 11351, 7923, 1769, 565, 1815, 5510, 12, 7641, 21, 18, 8436, 2932, 617, 947, 297, 7923, 1769, 565, 1815, 5510, 12, 7641, 21, 18, 8436, 2932, 11351, 19, 3215, 7923, 1769, 565, 1815, 5510, 12, 5, 7641, 21, 18, 8436, 2932, 21, 11351, 7923, 1769, 565, 15771, 1489, 694, 1990, 276, 5567, 22, 273, 394, 2438, 9839, 1489, 694, 1990, 2 ]
TagElement parent = targetAst.newTagElement(); parent.fragments().add(result);
targetAst.newExpressionStatement(result);
public ASTNode sample(AST targetAst, boolean parented) { TextElement result = targetAst.newTextElement(); if (parented) { TagElement parent = targetAst.newTagElement(); parent.fragments().add(result); } return result; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/0e6d4fe5469565f21baa2fd0ec88d178818c619b/ASTTest.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 9183, 907, 3296, 12, 9053, 1018, 21385, 16, 1250, 982, 329, 13, 288, 9506, 202, 1528, 1046, 563, 273, 1018, 21385, 18, 2704, 1528, 1046, 5621, 9506, 202, 430, 261, 2938, 329, 13, 288, 6862, 202, 1805, 1046, 982, 273, 1018, 21385, 18, 2704, 1805, 1046, 5621, 6862, 202, 2938, 18, 29528, 7675, 1289, 12, 2088, 1769, 9506, 202, 97, 9506, 202, 2463, 563, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 9183, 907, 3296, 12, 9053, 1018, 21385, 16, 1250, 982, 329, 13, 288, 9506, 202, 1528, 1046, 563, 273, 1018, 21385, 18, 2704, 1528, 1046, 5621, 9506, 202, 430, 261, 2938, 329, 13, 288, 6862, 202, 1805, 1046, 982, 273, 1018, 21385, 18, 2704, 1805, 1046, 5621, 6862, 202, 2938, 18, 29528, 7675, 1289, 12, 2088, 1769, 9506, 202, 97, 9506, 202, 2463, 563, 31, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (TaskRepository repository : repositories) {
for (final TaskRepository repository : repositories) {
public IStatus run(IProgressMonitor monitor) { try { if (monitor == null) { monitor = new NullProgressMonitor(); } taskList = taskListManager.getTaskList(); if(repositories == null) { repositories = MylarTaskListPlugin.getRepositoryManager().getAllRepositories(); } monitor.beginTask(LABEL_TASK, repositories.size()); for (TaskRepository repository : repositories) { if (monitor.isCanceled()) { scheduleDelay = -1; throw new OperationCanceledException(); } AbstractRepositoryConnector connector = MylarTaskListPlugin.getRepositoryManager() .getRepositoryConnector(repository.getKind()); if (connector == null) { monitor.worked(1); continue; } Set<AbstractRepositoryQuery> queries = Collections.unmodifiableSet(taskList .getRepositoryQueries(repository.getUrl())); if (queries.size() > 0) { if (connector != null) { connector.synchronize(queries, null, Job.DECORATE, 0, false); } } connector.synchronizeChanged(repository); monitor.worked(1); } } finally { count++; if (count == Long.MAX_VALUE) count = 0; // if (scheduleDelay != -1) { // schedule(scheduleDelay); // } if (monitor != null) { monitor.done(); } } return Status.OK_STATUS; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/24469f8f139dabc60654018ab057291e5f25633b/ScheduledTaskListSynchJob.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ScheduledTaskListSynchJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 698, 288, 25083, 202, 430, 261, 10259, 422, 446, 13, 288, 9506, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 1082, 202, 97, 1082, 202, 4146, 682, 273, 1562, 682, 1318, 18, 588, 2174, 682, 5621, 1082, 202, 430, 12, 26626, 422, 446, 13, 288, 9506, 202, 26626, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 1595, 18429, 5621, 1082, 202, 97, 1082, 202, 10259, 18, 10086, 2174, 12, 13545, 67, 15580, 16, 14531, 18, 1467, 10663, 1082, 202, 1884, 261, 2174, 3305, 3352, 294, 14531, 13, 288, 9506, 202, 430, 261, 10259, 18, 291, 23163, 10756, 288, 6862, 202, 10676, 6763, 273, 300, 21, 31, 6862, 202, 12849, 394, 4189, 23163, 503, 5621, 9506, 202, 97, 9506, 202, 7469, 3305, 7487, 8703, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 1435, 25083, 202, 18, 588, 3305, 7487, 12, 9071, 18, 588, 5677, 10663, 9506, 202, 430, 261, 23159, 422, 446, 13, 288, 6862, 202, 10259, 18, 1252, 329, 12, 21, 1769, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 694, 32, 7469, 3305, 1138, 34, 6218, 273, 5737, 18, 318, 13388, 694, 12, 4146, 682, 25083, 202, 18, 588, 3305, 9592, 12, 9071, 18, 588, 1489, 1435, 10019, 9506, 202, 430, 261, 13748, 18, 1467, 1435, 405, 374, 13, 288, 6862, 202, 430, 261, 23159, 480, 446, 13, 288, 25083, 202, 23159, 18, 87, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 698, 288, 25083, 202, 430, 261, 10259, 422, 446, 13, 288, 9506, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 1082, 202, 97, 1082, 202, 4146, 682, 273, 1562, 682, 1318, 18, 588, 2174, 682, 5621, 1082, 202, 430, 12, 26626, 422, 446, 13, 288, 9506, 202, 26626, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 1595, 18429, 5621, 1082, 202, 97, 1082, 202, 10259, 18, 10086, 2174, 12, 13545, 67, 15580, 16, 14531, 18, 1467, 10663, 1082, 202, 1884, 261, 2174, 3305, 3352, 294, 14531, 13, 288, 9506, 202, 430, 261, 10259, 18, 291, 23163, 10756, 288, 6862, 202, 2 ]
SVGAnimatedLength result; if (heightReference == null || (result = (SVGAnimatedLength)heightReference.get()) == null) { result = new SVGOMAnimatedLength(this, null, "height", null); heightReference = new WeakReference(result); } return result;
throw new RuntimeException(" !!! TODO: getHeight()");
public SVGAnimatedLength getHeight() { SVGAnimatedLength result; if (heightReference == null || (result = (SVGAnimatedLength)heightReference.get()) == null) { result = new SVGOMAnimatedLength(this, null, "height", null); heightReference = new WeakReference(result); } return result; }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/c91b2fb5364b1bf541875570f744ed45f27d936e/SVGOMFilterElement.java/buggy/sources/org/apache/batik/dom/svg/SVGOMFilterElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11281, 979, 17275, 1782, 9263, 1435, 288, 3639, 11281, 979, 17275, 1782, 563, 31, 3639, 309, 261, 4210, 2404, 422, 446, 747, 5411, 261, 2088, 273, 261, 26531, 979, 17275, 1782, 13, 4210, 2404, 18, 588, 10756, 422, 446, 13, 288, 5411, 563, 273, 394, 11281, 1872, 979, 17275, 1782, 12, 2211, 16, 446, 16, 315, 4210, 3113, 446, 1769, 5411, 2072, 2404, 273, 394, 23632, 2404, 12, 2088, 1769, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11281, 979, 17275, 1782, 9263, 1435, 288, 3639, 11281, 979, 17275, 1782, 563, 31, 3639, 309, 261, 4210, 2404, 422, 446, 747, 5411, 261, 2088, 273, 261, 26531, 979, 17275, 1782, 13, 4210, 2404, 18, 588, 10756, 422, 446, 13, 288, 5411, 563, 273, 394, 11281, 1872, 979, 17275, 1782, 12, 2211, 16, 446, 16, 315, 4210, 3113, 446, 1769, 5411, 2072, 2404, 273, 394, 23632, 2404, 12, 2088, 1769, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); legacy = new LegacyZVIReader(); OLEParser parser = new OLEParser(id); parser.parse(0); Vector[] files = parser.getFiles(); headerData = new Hashtable(); pixelData = new Hashtable(); int largest = 0; int largestIndex = 0; int nextItem = 0; Vector itemNames = parser.getNames(); for (int i=0; i<files[0].size(); i++) { byte[] data = (byte[]) files[1].get(i); if (data.length > largest) largestIndex = i; String pathName = ((String) files[0].get(i)).trim(); pathName = DataTools.stripString(pathName); boolean isContents = pathName.endsWith("Contents"); boolean isImage = pathName.endsWith("Image"); try { if (((isContents && ((pathName.indexOf("Item") != -1) || pathName.indexOf("Image") != -1) && data.length > 6000)) || (data.length == dataLength)) { header = data; while ((dataLength != 0) && (data.length < dataLength) && isContents && ((pathName.indexOf("Item") != -1) || pathName.indexOf("Image") != -1)) { i++; data = (byte[]) files[1].get(i); if (data.length > largest) largestIndex = i; pathName = ((String) files[0].get(i)).trim(); pathName = DataTools.stripString(pathName); isContents = pathName.endsWith("Contents"); } int imageNum = 0; if (pathName.indexOf("Item") != -1) { String num = pathName.substring(pathName.lastIndexOf("Item") + 5, pathName.lastIndexOf(")")); imageNum = Integer.parseInt(num); } if (nextItem < itemNames.size()) { String num = ((String) itemNames.get(nextItem)).trim(); if (num.length() > 1) num = DataTools.stripString(num); int n = Integer.parseInt(num); // choose whether to use imageNum or n if (n != imageNum) { if (pixelData.containsKey(new Integer(imageNum))) { imageNum = n; } } if (pathName.indexOf("Item") != -1) { num = pathName.substring(0, pathName.lastIndexOf("Item")); while (pixelData.containsKey(new Integer(imageNum)) && (num.indexOf("Item") != -1)) { String s = num.substring(num.lastIndexOf("Item") + 5, num.lastIndexOf(")")); imageNum = Integer.parseInt(s); num = num.substring(0, num.lastIndexOf("Item")); } } // if we *still* don't find a valid key, give up and use // the legacy reader if (pixelData.containsKey(new Integer(imageNum))) { if (legacy.getImageCount(id) == 1) break; needLegacy = true; legacy.initFile(id); return; } nextItem++; } int byteCount = 2; byteCount += 4; // version field byteCount += 6; // type field byteCount += 2; int numBytes = DataTools.bytesToInt(header, byteCount, 2, true); byteCount += 2 + numBytes; byteCount += 2; imageWidth = DataTools.bytesToInt(header, byteCount, 4, true); byteCount += 6; imageHeight = DataTools.bytesToInt(header, byteCount, 4, true); byteCount += 4; byteCount += 6; // depth byteCount += 6; // pixel format byteCount += 6; // count byteCount += 2; bitsPerSample = DataTools.bytesToInt(header, byteCount, 4, true); byteCount += 4; numBytes = DataTools.bytesToInt(header, byteCount, 2, true); byteCount += 2 + numBytes; // plugin CLSID byteCount += 38; // not sure what this is for byteCount += 2; numBytes = DataTools.bytesToInt(header, byteCount, 4, true); byteCount += 4 + numBytes; // layers byteCount += 2; numBytes = DataTools.bytesToInt(header, byteCount, 4, true); byteCount += 4 + numBytes; // scaling byteCount += 2; numBytes = DataTools.bytesToInt(header, byteCount, 2, true); byteCount += 2 + numBytes; // root folder name byteCount += 2; numBytes = DataTools.bytesToInt(header, byteCount, 2, true); byteCount += 2 + numBytes; // display item name byteCount += 28; // streamed header data // get pixel data if (header.length > byteCount) { byte[] head = new byte[byteCount]; System.arraycopy(header, 0, head, 0, head.length); headerData.put(new Integer(imageNum), (Object) head); byte[] px = new byte[header.length - byteCount]; System.arraycopy(header, byteCount, px, 0, px.length); if (!pixelData.containsKey(new Integer(imageNum))) { shuffle = parser.shuffle(); // nasty special case...I pity the person who finds a bug in this if (shuffle > 0) { byte[] chunkOne = new byte[shuffle]; byte[] chunkTwo = new byte[parser.length() - shuffle + 11700]; System.arraycopy(px, 0, chunkOne, 0, chunkOne.length); System.arraycopy(px, chunkOne.length, chunkTwo, 0, chunkTwo.length); byte[] tct = new byte[chunkOne.length]; int bpp = bitsPerSample / 8; int mul = (int) (imageWidth - (imageWidth * 0.01)); mul *= bpp; mul += 2; for (int k=0; k<(chunkOne.length / (bpp*imageWidth)); k++) { System.arraycopy(chunkOne, k*bpp*imageWidth, tct, (k+1)*bpp*imageWidth - mul, mul); System.arraycopy(chunkOne, k*bpp*imageWidth+mul, tct, k*bpp*imageWidth, bpp*imageWidth - mul); } chunkOne = tct; byte[] tco = new byte[chunkTwo.length]; mul = (int) (imageWidth * 0.14); mul *= bpp; for (int k=0; k<(chunkTwo.length / (bpp*imageWidth)); k++) { System.arraycopy(chunkTwo, k*bpp*imageWidth, tco, (k+1)*bpp*imageWidth - mul, mul); System.arraycopy(chunkTwo, k*bpp*imageWidth+mul, tco, k*bpp*imageWidth, bpp*imageWidth - mul); } chunkTwo = tco; px = new byte[px.length]; System.arraycopy(chunkTwo, 0, px, 0, chunkTwo.length); System.arraycopy(chunkOne, 0, px, chunkTwo.length, chunkOne.length); // now we have to shift the whole array to the right by // 0.01 * width pixels mul = imageWidth - ((int) (imageWidth * 0.01)); mul *= bpp; byte[] tmp = new byte[px.length]; for (int k=0; k<imageHeight; k++) { System.arraycopy(px, k*bpp*imageWidth, tmp, (k+1)*bpp*imageWidth - mul, mul); System.arraycopy(px, k*bpp*imageWidth+mul, tmp, k*bpp*imageWidth, bpp*imageWidth - mul); } px = tmp; } pixelData.put(new Integer(imageNum), (Object) px); dataLength = px.length + head.length; nImages++; } } else break; } else if (isContents && isImage) { // we've found the header data header = data; int pointer = 14; int length = DataTools.bytesToInt(header, pointer, 2, true); pointer += 4 + length; imageWidth = DataTools.bytesToInt(header, pointer, 4, true); pointer += 6; imageHeight = DataTools.bytesToInt(header, pointer, 4, true); pointer += 6; pointer += 6; pixelFormat = DataTools.bytesToInt(header, pointer, 4, true); pointer += 6; switch (pixelFormat) { case 1: bytesPerPixel = 3; break; case 2: bytesPerPixel = 4; break; case 3: bytesPerPixel = 1; break; case 4: bytesPerPixel = 2; break; case 6: bytesPerPixel = 4; break; case 8: bytesPerPixel = 6; break; default: bytesPerPixel = 1; } if ((bytesPerPixel % 2) != 0) channels = 3; } else if (pathName.endsWith("Tags") && pathName.startsWith("Root Entry")) { // the main tags stream tags = data; } } catch (Exception e) { } } if (nImages == 0) { // HACK // just grab the largest file header = (byte[]) files[1].get(largestIndex); String pathName = (String) files[0].get(largestIndex); int imageNum = 0; if (pathName.indexOf("Item") != -1) { String num = pathName.substring(pathName.indexOf("Item") + 5, pathName.indexOf(")")); imageNum = Integer.parseInt(num); } int byteCount = 166; byteCount += 2; imageWidth = DataTools.bytesToInt(header, byteCount, 4, true); byteCount += 6; imageHeight = DataTools.bytesToInt(header, byteCount, 4, true); byteCount += 4; byteCount += 6; // depth byteCount += 6; // pixel format byteCount += 6; // count byteCount += 2; bytesPerPixel = DataTools.bytesToInt(header, byteCount, 4, true) / 8; byteCount += 4; int numBytes = DataTools.bytesToInt(header, byteCount, 2, true); byteCount += 2 + numBytes; // plugin CLSID byteCount += 38; // not sure what this is for byteCount += 2; numBytes = DataTools.bytesToInt(header, byteCount, 4, true); byteCount += 4 + numBytes; // layers byteCount += 2; numBytes = DataTools.bytesToInt(header, byteCount, 4, true); byteCount += 4 + numBytes; // scaling byteCount += 2; numBytes = DataTools.bytesToInt(header, byteCount, 2, true); byteCount += 2 + numBytes; // root folder name byteCount += 2; numBytes = DataTools.bytesToInt(header, byteCount, 2, true); byteCount += 2 + numBytes; // display item name byteCount += 28; // streamed header data // get pixel data if (header.length > byteCount) { byte[] head = new byte[byteCount]; System.arraycopy(header, 0, head, 0, head.length); headerData.put(new Integer(nImages), (Object) head); byte[] px = new byte[header.length - byteCount]; System.arraycopy(header, byteCount, px, 0, px.length); pixelData.put(new Integer(nImages), (Object) px); nImages++; } } initMetadata(); }
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/f8fea5aec2de454fd84e68759019ac47d99be52a/ZeissZVIReader.java/clean/loci/formats/ZeissZVIReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 8866, 273, 394, 22781, 62, 4136, 2514, 5621, 4202, 531, 900, 2678, 2082, 273, 394, 531, 900, 2678, 12, 350, 1769, 565, 2082, 18, 2670, 12, 20, 1769, 565, 5589, 8526, 1390, 273, 2082, 18, 588, 2697, 5621, 3639, 1446, 751, 273, 394, 18559, 5621, 565, 4957, 751, 273, 394, 18559, 5621, 4202, 509, 12756, 273, 374, 31, 565, 509, 12756, 1016, 273, 374, 31, 4202, 509, 1024, 1180, 273, 374, 31, 565, 5589, 761, 1557, 273, 2082, 18, 588, 1557, 5621, 1377, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2354, 63, 20, 8009, 1467, 5621, 277, 27245, 288, 1377, 1160, 8526, 501, 273, 261, 7229, 63, 5717, 1390, 63, 21, 8009, 588, 12, 77, 1769, 1377, 309, 261, 892, 18, 2469, 405, 12756, 13, 12756, 1016, 273, 277, 31, 5411, 514, 22943, 273, 14015, 780, 13, 1390, 63, 20, 8009, 588, 12, 77, 13, 2934, 5290, 5621, 1377, 22943, 273, 1910, 10348, 18, 6406, 780, 12, 803, 461, 1769, 1377, 1250, 353, 6323, 273, 22943, 18, 5839, 1190, 2932, 6323, 8863, 1377, 1250, 353, 2040, 273, 22943, 18, 5839, 1190, 2932, 2040, 8863, 1377, 775, 288, 3639, 309, 261, 12443, 291, 6323, 597, 6647, 14015, 803, 461, 18, 31806, 2932, 1180, 7923, 480, 300, 21, 13, 747, 22943, 18, 31806, 2932, 2040, 7923, 480, 300, 21, 13, 1850, 597, 501, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 8866, 273, 394, 22781, 62, 4136, 2514, 5621, 4202, 531, 900, 2678, 2082, 273, 394, 531, 900, 2678, 12, 350, 1769, 565, 2082, 18, 2670, 12, 20, 1769, 565, 5589, 8526, 1390, 273, 2082, 18, 588, 2697, 5621, 3639, 1446, 751, 273, 394, 18559, 5621, 565, 4957, 751, 273, 394, 18559, 5621, 4202, 509, 12756, 273, 374, 31, 565, 509, 12756, 1016, 273, 374, 31, 4202, 509, 1024, 1180, 273, 374, 31, 565, 5589, 761, 1557, 273, 2082, 18, 588, 1557, 5621, 1377, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2354, 63, 20, 2 ]
pw.println("</table><p>Copyright \u00A9 2003, Mark Davis. All Rights Reserved.</body></html>");
pw.println(lastType + "(" + lastCount + ");"); pw.println("</script></tr></table><p></p>"); pw.println("<table><caption>Key</caption>"); pw.println("<tr><td>X</td><td class='left'>Graphic characters</td></tr>"); pw.println("<tr><td>\u00A0</td><td class='left'>Whitespace</td></tr>"); pw.println("<tr><td class='i'>&nbsp;</td><td class='left'>Other Default Ignorable</td></tr>"); pw.println("<tr><td class='u'>&nbsp;</td><td class='left'>Undefined, Private Use, or Surrogates</td></tr>"); pw.println("<tr><td class='n'>&nbsp;</td><td class='left'>Noncharacter</td></tr>"); pw.println("</table>"); pw.println("<p>Copyright \u00A9 2003, Mark Davis. All Rights Reserved.</body></html>");
public static void main(String[] args) throws IOException { int rowWidth = 256; PrintWriter pw = BagFormatter.openUTF8Writer("", "UnicodeChart.html", BagFormatter.CONSOLE); pw.println("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8'>"); pw.println("<title>Unicode 4.0 Chart</title><style><!--"); pw.println("th { width: 1%; font-family: monospace; font-size: 50%; text-align: Center; border: 1px solid black; margin: 0; padding: 0}"); pw.println("td { font-size: 50%; text-align: Center; border-right: 1px solid blue; border-top: 1px solid blue; margin: 0; padding: 0 }"); pw.println("table { border-spacing: 0; border-collapse: collapse; border: 1px solid black; margin: 0; padding: 0 }"); pw.println(".d { border-top: 2px double blue }"); pw.println(".u { background-color: #DDDDDD }"); pw.println(".du { border-top: 2px double blue; background-color: #DDDDDD }"); pw.println(".n { background-color: black }"); pw.println(".dn { border-top: 2px double blue; background-color: black }"); pw.println(".i { background-color: yellow }"); pw.println(".di { border-top: 2px double blue; background-color: yellow }"); pw.println("--></style></head><body bgcolor='#FFFFFF'>"); pw.println("<table border='1' cellspacing='0'>"); pw.println("<caption><h1>Unicode 4.0 Chart</h1></caption>"); pw.println("<tr><th></th>"); for (int j = 0; j < rowWidth; ++j) { pw.print("<th>" + hex(j,2) + "</th>"); } pw.println("</tr>"); // TODO: fix Utility to take ints int surrogateType = UCharacter.getType('\ud800'); int privateUseType = UCharacter.getType('\ue000'); System.out.println("Surrogate Type: Java=" + Character.SURROGATE + ", ICU=" + surrogateType); System.out.println("Private-Use Type: Java=" + Character.PRIVATE_USE + ", ICU=" + privateUseType); boolean gotOne = true; int columns = 0; for (int i = 0; i < 0x10FFFF; i += rowWidth) { boolean gotLast = gotOne; gotOne = false; int limit = i + rowWidth; for (int j = i; j < limit; ++j) { int type = UCharacter.getType(j); if (type == Character.UNASSIGNED && !UCharacter.hasBinaryProperty(j, UProperty.NONCHARACTER_CODE_POINT)) continue; if (type == surrogateType || type == privateUseType) continue; gotOne = true; } if (!gotOne) { if (false) { System.out.println("Skipping: " + hex(i>>8,2) + "__"); for (int j = i; j < limit; ++j) { System.out.print(UCharacter.getType(j) + ","); } System.out.println(); } continue; }; System.out.println(hex(i>>8,2) + "__"); columns++; pw.print("<tr><th>" + hex(i>>8,2) + "__</th>"); for (int j = i; j < limit; ++j) { String value = "\u00a0"; String cellclass = gotLast ? "" : " class='d'"; if (UCharacter.hasBinaryProperty(j, UProperty.NONCHARACTER_CODE_POINT)) { cellclass = gotLast ? " class='n'" : " class='dn'"; } else if (!UCharacter.isDefined(j)) { cellclass = gotLast ? " class='u'" : " class='du'"; } else if (UCharacter.isUWhiteSpace(j)) { // nothing } else if (UCharacter.hasBinaryProperty(j, UProperty.DEFAULT_IGNORABLE_CODE_POINT)) { cellclass = gotLast ? " class='i'" : " class='di'"; } else { value = UTF16.valueOf(j); } pw.print("<td" + cellclass + ">" + value + "</td>"); if ((j & 0xF) == 0xF) { pw.println(); } } pw.println("</tr>"); } pw.println("</table><p>Copyright \u00A9 2003, Mark Davis. All Rights Reserved.</body></html>"); pw.close(); System.out.println("columns: " + columns); }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/1ae340bc096f34da9b41d054443d27e51ec5b9fd/UnicodeChart.java/buggy/icu4j/src/com/ibm/icu/dev/demo/chart/UnicodeChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 288, 3639, 509, 1027, 2384, 273, 8303, 31, 3639, 14071, 8772, 273, 31711, 5074, 18, 3190, 5159, 28, 2289, 2932, 3113, 315, 16532, 7984, 18, 2620, 3113, 31711, 5074, 18, 2248, 3584, 900, 1769, 3639, 8772, 18, 8222, 2932, 32, 2620, 4438, 1978, 4438, 3901, 1062, 17, 14298, 427, 2218, 1350, 17, 559, 11, 913, 2218, 955, 19, 2620, 31, 4856, 33, 3158, 17, 28, 28533, 1769, 3639, 8772, 18, 8222, 2932, 32, 2649, 34, 16532, 1059, 18, 20, 14804, 1757, 2649, 4438, 4060, 4438, 22772, 8863, 3639, 8772, 18, 8222, 2932, 451, 288, 1835, 30, 404, 9, 31, 3512, 17, 9309, 30, 6921, 538, 909, 31, 3512, 17, 1467, 30, 6437, 9, 31, 977, 17, 7989, 30, 25766, 31, 5795, 30, 404, 4430, 18035, 7721, 31, 7333, 30, 374, 31, 4992, 30, 374, 1532, 1769, 3639, 8772, 18, 8222, 2932, 4465, 288, 3512, 17, 1467, 30, 6437, 9, 31, 977, 17, 7989, 30, 25766, 31, 5795, 17, 4083, 30, 404, 4430, 18035, 8024, 31, 5795, 17, 3669, 30, 404, 4430, 18035, 8024, 31, 7333, 30, 374, 31, 4992, 30, 374, 289, 8863, 3639, 8772, 18, 8222, 2932, 2121, 288, 5795, 17, 14080, 30, 374, 31, 5795, 17, 21405, 30, 13627, 31, 5795, 30, 404, 4430, 18035, 7721, 31, 7333, 30, 374, 31, 4992, 30, 374, 289, 8863, 3639, 8772, 18, 8222, 2932, 18, 72, 288, 5795, 17, 3669, 30, 576, 4430, 1645, 8024, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 288, 3639, 509, 1027, 2384, 273, 8303, 31, 3639, 14071, 8772, 273, 31711, 5074, 18, 3190, 5159, 28, 2289, 2932, 3113, 315, 16532, 7984, 18, 2620, 3113, 31711, 5074, 18, 2248, 3584, 900, 1769, 3639, 8772, 18, 8222, 2932, 32, 2620, 4438, 1978, 4438, 3901, 1062, 17, 14298, 427, 2218, 1350, 17, 559, 11, 913, 2218, 955, 19, 2620, 31, 4856, 33, 3158, 17, 28, 28533, 1769, 3639, 8772, 18, 8222, 2932, 32, 2649, 34, 16532, 1059, 18, 20, 14804, 1757, 2649, 4438, 4060, 4438, 22772, 8863, 3639, 8772, 18, 8222, 2932, 451, 288, 1835, 30, 404, 9, 31, 3512, 17, 9309, 30, 6921, 538, 909, 31, 2 ]
jj_la1[31] = jj_gen;
jj_la1[32] = jj_gen;
final public void VariableDeclarator() throws ParseException { /*@bgen(jjtree) VariableDeclarator */ ASTVariableDeclarator jjtn000 = new ASTVariableDeclarator(this, JJTVARIABLEDECLARATOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { VariableDeclaratorId(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ASSIGN: jj_consume_token(ASSIGN); VariableInitializer(); break; default: jj_la1[31] = jj_gen; ; } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (RuntimeException)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/a180e9b19197c7613f1e73c6ec8a574a17011e5e/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 7110, 31419, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 7110, 31419, 1195, 225, 9183, 3092, 31419, 10684, 5088, 3784, 273, 394, 9183, 3092, 31419, 12, 2211, 16, 804, 46, 56, 16444, 23956, 985, 3575, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 7110, 31419, 548, 5621, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 25116, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 23289, 1769, 3639, 7110, 14729, 5621, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 1578, 65, 273, 10684, 67, 4507, 31, 3639, 274, 1377, 289, 565, 289, 1044, 261, 15155, 10684, 736, 3784, 13, 288, 565, 309, 261, 78, 78, 5111, 3784, 13, 288, 1377, 10684, 3413, 18, 8507, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 1377, 10684, 5111, 3784, 273, 629, 31, 565, 289, 469, 288, 1377, 10684, 3413, 18, 5120, 907, 5621, 565, 289, 565, 309, 261, 78, 78, 736, 3784, 1276, 3235, 13, 288, 1377, 288, 430, 261, 3767, 13, 604, 261, 11949, 13, 78, 78, 736, 3784, 31, 97, 565, 289, 565, 309, 261, 78, 78, 736, 3784, 1276, 10616, 13, 288, 1377, 288, 430, 261, 3767, 13, 604, 261, 13047, 13, 78, 78, 736, 3784, 31, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 7110, 31419, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 7110, 31419, 1195, 225, 9183, 3092, 31419, 10684, 5088, 3784, 273, 394, 9183, 3092, 31419, 12, 2211, 16, 804, 46, 56, 16444, 23956, 985, 3575, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 7110, 31419, 548, 5621, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 25116, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 23289, 1769, 3639, 7110, 14729, 5621, 3639, 898, 31, 2 ]
persistenceType, origFilename, clientMetadata.getMIMEType(), client.isGlobalQueue);
persistenceType, origFilename, clientMetadata.getMIMEType(), client.isGlobalQueue, data == null ? -1 : data.size());
protected FCPMessage persistentTagMessage() { return new PersistentPut(identifier, uri, verbosity, priorityClass, uploadFrom, targetURI, persistenceType, origFilename, clientMetadata.getMIMEType(), client.isGlobalQueue); }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/93d0da52d018060c2cf0ed14e3b47b370c9e7399/ClientPut.java/clean/src/freenet/node/fcp/ClientPut.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 478, 4258, 1079, 9195, 1805, 1079, 1435, 288, 202, 202, 2463, 394, 11049, 6426, 12, 5644, 16, 2003, 16, 11561, 16, 4394, 797, 16, 3617, 1265, 16, 1018, 3098, 16, 4697, 202, 24854, 559, 16, 1647, 5359, 16, 1004, 2277, 18, 588, 18178, 559, 9334, 1004, 18, 291, 5160, 3183, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 478, 4258, 1079, 9195, 1805, 1079, 1435, 288, 202, 202, 2463, 394, 11049, 6426, 12, 5644, 16, 2003, 16, 11561, 16, 4394, 797, 16, 3617, 1265, 16, 1018, 3098, 16, 4697, 202, 24854, 559, 16, 1647, 5359, 16, 1004, 2277, 18, 588, 18178, 559, 9334, 1004, 18, 291, 5160, 3183, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return recv.getRuntime().newString(val.substring(2)).callMethod(context,"to_i", recv.getRuntime().newFixnum(16));
return RubyNumeric.str2inum(recv.getRuntime(),recv.getRuntime().newString(val.substring(2)),16,true);
public static IRubyObject new_integer(IRubyObject recv, IRubyObject object) { ThreadContext context = recv.getRuntime().getCurrentContext(); if(object instanceof RubyString) { String val = object.toString(); if(val.length() > 0 && val.charAt(0) == '0') { if(val.length() > 1) { if(val.charAt(1) == 'x') { return recv.getRuntime().newString(val.substring(2)).callMethod(context,"to_i", recv.getRuntime().newFixnum(16)); } else if(val.charAt(1) == 'b') { return recv.getRuntime().newString(val.substring(2)).callMethod(context,"to_i", recv.getRuntime().newFixnum(2)); } else { return recv.getRuntime().newString(val.substring(1)).callMethod(context,"to_i", recv.getRuntime().newFixnum(8)); } } } } return object.callMethod(context, "to_i"); }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/a8583bc4b548ea3f09cf86cc0ce0b77670255f40/RubyKernel.java/buggy/src/org/jruby/RubyKernel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 394, 67, 7745, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 733, 13, 288, 3639, 4884, 1042, 819, 273, 10665, 18, 588, 5576, 7675, 588, 3935, 1042, 5621, 7734, 309, 12, 1612, 1276, 19817, 780, 13, 288, 5411, 514, 1244, 273, 733, 18, 10492, 5621, 5411, 309, 12, 1125, 18, 2469, 1435, 405, 374, 597, 1244, 18, 3001, 861, 12, 20, 13, 422, 296, 20, 6134, 288, 7734, 309, 12, 1125, 18, 2469, 1435, 405, 404, 13, 288, 10792, 309, 12, 1125, 18, 3001, 861, 12, 21, 13, 422, 296, 92, 6134, 288, 13491, 327, 19817, 9902, 18, 701, 22, 267, 379, 12, 18334, 18, 588, 5576, 9334, 18334, 18, 588, 5576, 7675, 2704, 780, 12, 1125, 18, 28023, 12, 22, 13, 3631, 2313, 16, 3767, 1769, 10792, 289, 469, 309, 12, 1125, 18, 3001, 861, 12, 21, 13, 422, 296, 70, 6134, 288, 13491, 327, 10665, 18, 588, 5576, 7675, 2704, 780, 12, 1125, 18, 28023, 12, 22, 13, 2934, 1991, 1305, 12, 2472, 10837, 869, 67, 77, 3113, 10665, 18, 588, 5576, 7675, 2704, 8585, 2107, 12, 22, 10019, 10792, 289, 469, 288, 13491, 327, 10665, 18, 588, 5576, 7675, 2704, 780, 12, 1125, 18, 28023, 12, 21, 13, 2934, 1991, 1305, 12, 2472, 10837, 869, 67, 77, 3113, 10665, 18, 588, 5576, 7675, 2704, 8585, 2107, 12, 28, 10019, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 733, 18, 1991, 1305, 12, 2472, 16, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 394, 67, 7745, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 733, 13, 288, 3639, 4884, 1042, 819, 273, 10665, 18, 588, 5576, 7675, 588, 3935, 1042, 5621, 7734, 309, 12, 1612, 1276, 19817, 780, 13, 288, 5411, 514, 1244, 273, 733, 18, 10492, 5621, 5411, 309, 12, 1125, 18, 2469, 1435, 405, 374, 597, 1244, 18, 3001, 861, 12, 20, 13, 422, 296, 20, 6134, 288, 7734, 309, 12, 1125, 18, 2469, 1435, 405, 404, 13, 288, 10792, 309, 12, 1125, 18, 3001, 861, 12, 21, 13, 422, 296, 92, 6134, 288, 13491, 327, 19817, 9902, 18, 701, 22, 267, 379, 12, 18334, 18, 588, 5576, 9334, 18334, 18, 588, 5576, 2 ]
public org.quickfix.field.Nested2PartyIDSource getNested2PartyIDSource() throws FieldNotFound { org.quickfix.field.Nested2PartyIDSource value = new org.quickfix.field.Nested2PartyIDSource();
public quickfix.field.Nested2PartyIDSource getNested2PartyIDSource() throws FieldNotFound { quickfix.field.Nested2PartyIDSource value = new quickfix.field.Nested2PartyIDSource();
public org.quickfix.field.Nested2PartyIDSource getNested2PartyIDSource() throws FieldNotFound { org.quickfix.field.Nested2PartyIDSource value = new org.quickfix.field.Nested2PartyIDSource(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/AllocationReport.java/clean/src/java/src/quickfix/fix44/AllocationReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 22, 17619, 734, 1830, 336, 8649, 22, 17619, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 22, 17619, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 22, 17619, 734, 1830, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 22, 17619, 734, 1830, 336, 8649, 22, 17619, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 22, 17619, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 22, 17619, 734, 1830, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("Column Number for " + ColumnName + " is: " + colnumber);
logger.info("Column Number for " + ColumnName + " is: " + colnumber);
public void actionPerformed(ActionEvent e) { System.out.println("I'm in sort descending"); if (mSortAscending) { DataModel dm = (DataModel) mTable.getModel (); mSortAscending = false; System.out.println("Column Name is " + ColumnName); int colnumber = dm.findColumn(ColumnName); System.out.println("Column Number for " + ColumnName + " is: " + colnumber); dm.sortData(colnumber,mSortAscending); mTable.repaint(); } }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/dba8c3b6ca55297114840a7e8d6a99e1d87d27cb/AddressBook.java/clean/grendel/sources/grendel/addressbook/AddressBook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 1850, 2332, 18, 659, 18, 8222, 2932, 45, 17784, 316, 1524, 17044, 8863, 1850, 309, 261, 81, 4416, 13665, 2846, 13, 288, 5411, 1910, 1488, 9113, 273, 261, 26349, 13, 312, 1388, 18, 588, 1488, 261, 1769, 5411, 312, 4416, 13665, 2846, 273, 629, 31, 5411, 2332, 18, 659, 18, 8222, 2932, 1494, 1770, 353, 315, 397, 4753, 461, 1769, 5411, 509, 645, 2696, 273, 9113, 18, 4720, 1494, 12, 8516, 1769, 5411, 1194, 18, 1376, 2932, 1494, 3588, 364, 315, 397, 4753, 461, 397, 315, 353, 30, 315, 397, 645, 2696, 1769, 5411, 9113, 18, 3804, 751, 12, 1293, 2696, 16, 81, 4416, 13665, 2846, 1769, 5411, 312, 1388, 18, 14462, 1598, 5621, 1850, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 1850, 2332, 18, 659, 18, 8222, 2932, 45, 17784, 316, 1524, 17044, 8863, 1850, 309, 261, 81, 4416, 13665, 2846, 13, 288, 5411, 1910, 1488, 9113, 273, 261, 26349, 13, 312, 1388, 18, 588, 1488, 261, 1769, 5411, 312, 4416, 13665, 2846, 273, 629, 31, 5411, 2332, 18, 659, 18, 8222, 2932, 1494, 1770, 353, 315, 397, 4753, 461, 1769, 5411, 509, 645, 2696, 273, 9113, 18, 4720, 1494, 12, 8516, 1769, 5411, 1194, 18, 1376, 2932, 1494, 3588, 364, 315, 397, 4753, 461, 397, 315, 353, 30, 315, 397, 645, 2696, 1769, 5411, 9113, 18, 3804, 751, 12, 1293, 2696, 16, 81, 4416, 13665, 2846, 1769, 5411, 312, 2 ]
ref.getPane().createControl( (Composite) page.getEditorPresentation() .getLayoutPart().getControl());
ref.getPane().createChildControl();
public IStatus busyRestoreEditor(final Editor ref) { final IStatus result[] = new IStatus[1]; Platform.run(new SafeRunnable() { public void run() { IEditorInput editorInput = ref.getRestoredInput(); if (editorInput == null) { result[0] = unableToCreateEditor(ref, null); return; } // Get the editor descriptor. String editorID = ref.getId(); EditorDescriptor desc = null; if (editorID != null) { IEditorRegistry reg = WorkbenchPlugin.getDefault() .getEditorRegistry(); desc = (EditorDescriptor) reg.findEditor(editorID); } if (desc == null) { WorkbenchPlugin .log("Unable to restore editor - no editor descriptor for id: " + editorID); //$NON-NLS-1$ result[0] = unableToCreateEditor(ref, null); return; } // Open the editor. try { String workbookID = ref.getMemento().getString( IWorkbenchConstants.TAG_WORKBOOK); editorPresentation .setActiveEditorWorkbookFromID(workbookID); if (desc.isInternal()) { openInternalEditor(ref, desc, editorInput, false); ref.getPane().createControl( (Composite) page.getEditorPresentation() .getLayoutPart().getControl()); } else if (desc.getId().equals( IEditorRegistry.SYSTEM_INPLACE_EDITOR_ID)) { if (openSystemInPlaceEditor(ref, desc, editorInput) != null) { ref.getPane().createControl( (Composite) page.getEditorPresentation() .getLayoutPart().getControl()); } else { WorkbenchPlugin .log("Unable to restore in-place editor. In-place support is missing."); //$NON-NLS-1$ result[0] = unableToCreateEditor(ref, null); } } else { WorkbenchPlugin .log("Unable to restore editor - invalid editor descriptor for id: " + editorID); //$NON-NLS-1$ result[0] = unableToCreateEditor(ref, null); } // TODO commented during presentation refactor ((EditorPane)ref.getPane()).getWorkbook().updateEditorTab(ref); } catch (PartInitException e) { WorkbenchPlugin .log("Exception creating editor: " + e.getMessage()); //$NON-NLS-1$ result[0] = unableToCreateEditor(ref, e); } } public void handleException(Throwable e) { result[0] = unableToCreateEditor(ref, e); } }); if (result[0] != null) return result[0]; else return new Status(IStatus.OK, PlatformUI.PLUGIN_ID, 0, "", null); //$NON-NLS-1$ }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/66b4c50722c72addd8c13bf10e82aa38df1e75c2/EditorManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 1482, 21697, 10874, 6946, 12, 6385, 18451, 1278, 13, 288, 3639, 727, 467, 1482, 563, 8526, 273, 394, 467, 1482, 63, 21, 15533, 3639, 11810, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 467, 6946, 1210, 4858, 1210, 273, 1278, 18, 588, 5188, 7653, 1210, 5621, 7734, 309, 261, 9177, 1210, 422, 446, 13, 288, 10792, 563, 63, 20, 65, 273, 13496, 774, 1684, 6946, 12, 1734, 16, 446, 1769, 10792, 327, 31, 7734, 289, 7734, 368, 968, 326, 4858, 4950, 18, 7734, 514, 4858, 734, 273, 1278, 18, 26321, 5621, 7734, 18451, 3187, 3044, 273, 446, 31, 7734, 309, 261, 9177, 734, 480, 446, 13, 288, 10792, 467, 6946, 4243, 960, 273, 4147, 22144, 3773, 18, 588, 1868, 1435, 18701, 263, 588, 6946, 4243, 5621, 10792, 3044, 273, 261, 6946, 3187, 13, 960, 18, 4720, 6946, 12, 9177, 734, 1769, 7734, 289, 7734, 309, 261, 5569, 422, 446, 13, 288, 10792, 4147, 22144, 3773, 18701, 263, 1330, 2932, 3370, 358, 5217, 4858, 300, 1158, 4858, 4950, 364, 612, 30, 315, 397, 4858, 734, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 10792, 563, 63, 20, 65, 273, 13496, 774, 1684, 6946, 12, 1734, 16, 446, 1769, 10792, 327, 31, 7734, 289, 7734, 368, 3502, 326, 4858, 18, 7734, 775, 288, 10792, 514, 18985, 734, 273, 1278, 18, 588, 49, 820, 83, 7675, 588, 780, 12, 18701, 467, 2421, 22144, 2918, 18, 7927, 67, 10566, 28163, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 1482, 21697, 10874, 6946, 12, 6385, 18451, 1278, 13, 288, 3639, 727, 467, 1482, 563, 8526, 273, 394, 467, 1482, 63, 21, 15533, 3639, 11810, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 467, 6946, 1210, 4858, 1210, 273, 1278, 18, 588, 5188, 7653, 1210, 5621, 7734, 309, 261, 9177, 1210, 422, 446, 13, 288, 10792, 563, 63, 20, 65, 273, 13496, 774, 1684, 6946, 12, 1734, 16, 446, 1769, 10792, 327, 31, 7734, 289, 7734, 368, 968, 326, 4858, 4950, 18, 7734, 514, 4858, 734, 273, 1278, 18, 26321, 5621, 7734, 18451, 3187, 3044, 273, 446, 31, 7734, 309, 261, 9177, 734, 480, 446, 13, 288, 10792, 467, 2 ]
if(count == 6) {
if (count == 6) {
void removeWindow(FileWindow w) { fileWindows.remove(w.getUrl()); JMenu windowMenu = getWindowMenu(); int count = windowMenu.getItemCount(); JMenuItem lastItem = windowMenu.getItem(count -1); String name = new File(w.getUrl()).getName(); for(int i = 5; i < count; i++) { JMenuItem item = windowMenu.getItem(i); if(item == null) continue; // separator String text = item.getText(); //1 D:\foo.js //2 D:\bar.js int pos = text.indexOf(' '); if(text.substring(pos + 1).equals(name)) { windowMenu.remove(item); // Cascade [0] // Tile [1] // ------- [2] // Console [3] // ------- [4] if(count == 6) { // remove the final separator windowMenu.remove(4); } else { int j = i - 4; for(;i < count -1; i++) { JMenuItem thisItem = windowMenu.getItem(i); if(thisItem != null) { //1 D:\foo.js //2 D:\bar.js text = thisItem.getText(); if(text.equals("More Windows...")) { break; } else { pos = text.indexOf(' '); thisItem.setText((char)('0' + j) + " " + text.substring(pos + 1)); thisItem.setMnemonic('0' + j); j++; } } } if(count - 6 == 0 && lastItem != item) { if(lastItem.getText().equals("More Windows...")) { windowMenu.remove(lastItem); } } } break; } } windowMenu.revalidate(); }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1206, 3829, 12, 812, 3829, 341, 13, 288, 3639, 585, 10399, 18, 4479, 12, 91, 18, 588, 1489, 10663, 3639, 804, 4599, 2742, 4599, 273, 26156, 4599, 5621, 3639, 509, 1056, 273, 2742, 4599, 18, 588, 30687, 5621, 3639, 804, 12958, 1142, 1180, 273, 2742, 4599, 18, 588, 1180, 12, 1883, 300, 21, 1769, 3639, 514, 508, 273, 394, 1387, 12, 91, 18, 588, 1489, 1435, 2934, 17994, 5621, 3639, 364, 12, 474, 277, 273, 1381, 31, 277, 411, 1056, 31, 277, 27245, 288, 5411, 804, 12958, 761, 273, 2742, 4599, 18, 588, 1180, 12, 77, 1769, 5411, 309, 12, 1726, 422, 446, 13, 1324, 31, 368, 4182, 5411, 514, 977, 273, 761, 18, 588, 1528, 5621, 5411, 368, 21, 463, 5581, 11351, 18, 2924, 5411, 368, 22, 463, 5581, 3215, 18, 2924, 5411, 509, 949, 273, 977, 18, 31806, 2668, 28005, 5411, 309, 12, 955, 18, 28023, 12, 917, 397, 404, 2934, 14963, 12, 529, 3719, 288, 7734, 2742, 4599, 18, 4479, 12, 1726, 1769, 7734, 368, 385, 10963, 565, 306, 20, 65, 7734, 368, 13791, 4202, 306, 21, 65, 7734, 368, 18365, 565, 306, 22, 65, 7734, 368, 9657, 565, 306, 23, 65, 7734, 368, 18365, 565, 306, 24, 65, 7734, 309, 261, 1883, 422, 1666, 13, 288, 10792, 368, 1206, 326, 727, 4182, 10792, 2742, 4599, 18, 4479, 12, 24, 1769, 7734, 289, 469, 288, 10792, 509, 525, 273, 277, 300, 1059, 31, 10792, 364, 12, 31, 77, 411, 1056, 300, 21, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1206, 3829, 12, 812, 3829, 341, 13, 288, 3639, 585, 10399, 18, 4479, 12, 91, 18, 588, 1489, 10663, 3639, 804, 4599, 2742, 4599, 273, 26156, 4599, 5621, 3639, 509, 1056, 273, 2742, 4599, 18, 588, 30687, 5621, 3639, 804, 12958, 1142, 1180, 273, 2742, 4599, 18, 588, 1180, 12, 1883, 300, 21, 1769, 3639, 514, 508, 273, 394, 1387, 12, 91, 18, 588, 1489, 1435, 2934, 17994, 5621, 3639, 364, 12, 474, 277, 273, 1381, 31, 277, 411, 1056, 31, 277, 27245, 288, 5411, 804, 12958, 761, 273, 2742, 4599, 18, 588, 1180, 12, 77, 1769, 5411, 309, 12, 1726, 422, 446, 13, 1324, 31, 368, 4182, 5411, 514, 977, 273, 761, 18, 588, 1528, 5621, 2 ]
int fqp = 0; boolean hfr = false;
int fqp = 0; boolean hfr = false;
public java.sql.ResultSet execute() throws SQLException { int fqp = 0; boolean hfr = false; synchronized(pg_stream) { sendQuery(sql); while (!hfr || fqp > 0) { int c = pg_stream.ReceiveChar(); switch (c) { case 'A': // Asynchronous Notify int pid = pg_stream.ReceiveInteger(4); String msg = pg_stream.ReceiveString(connection.getEncoding()); break; case 'B': // Binary Data Transfer receiveTuple(true); break; case 'C': // Command Status receiveCommandStatus(); if (fields != null) hfr = true; else { sendQuery(" "); fqp++; } break; case 'D': // Text Data Transfer receiveTuple(false); break; case 'E': // Error Message throw new SQLException(pg_stream.ReceiveString(connection.getEncoding())); case 'I': // Empty Query int t = pg_stream.ReceiveChar(); if (t != 0) throw new PSQLException("postgresql.con.garbled"); if (fqp > 0) fqp--; if (fqp == 0) hfr = true; break; case 'N': // Error Notification connection.addWarning(pg_stream.ReceiveString(connection.getEncoding())); break; case 'P': // Portal Name String pname = pg_stream.ReceiveString(connection.getEncoding()); break; case 'T': // MetaData Field Description receiveFields(); break; case 'Z': // backend ready for query, ignore for now :-) break; default: throw new PSQLException("postgresql.con.type", new Character((char) c)); } } return connection.getResultSet(connection, statement, fields, tuples, status, update_count, insert_oid); } }
45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/839b9bc0117946afd62ee385a4c8a36c01b3053b/QueryExecutor.java/clean/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 1836, 1435, 1216, 6483, 288, 202, 474, 8508, 84, 273, 374, 31, 202, 6494, 366, 4840, 273, 629, 31, 202, 22043, 12, 8365, 67, 3256, 13, 288, 202, 565, 1366, 1138, 12, 4669, 1769, 202, 565, 1323, 16051, 76, 4840, 747, 8508, 84, 405, 374, 13, 288, 202, 202, 474, 276, 273, 7184, 67, 3256, 18, 11323, 2156, 5621, 202, 202, 9610, 261, 71, 13, 1082, 565, 288, 1082, 565, 648, 296, 37, 4278, 202, 759, 2970, 7121, 10918, 1082, 202, 474, 4231, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 24, 1769, 1082, 202, 780, 1234, 273, 7184, 67, 3256, 18, 11323, 780, 12, 4071, 18, 588, 4705, 10663, 1082, 202, 8820, 31, 1082, 565, 648, 296, 38, 4278, 202, 759, 7896, 1910, 12279, 1082, 202, 18149, 9038, 12, 3767, 1769, 1082, 202, 8820, 31, 1082, 565, 648, 296, 39, 4278, 202, 759, 3498, 2685, 1082, 202, 18149, 2189, 1482, 5621, 1082, 202, 430, 261, 2821, 480, 446, 13, 9506, 565, 366, 4840, 273, 638, 31, 1082, 202, 12107, 288, 9506, 565, 1366, 1138, 2932, 315, 1769, 9506, 565, 8508, 84, 9904, 31, 1082, 202, 97, 1082, 202, 8820, 31, 1082, 565, 648, 296, 40, 4278, 202, 759, 3867, 1910, 12279, 1082, 202, 18149, 9038, 12, 5743, 1769, 1082, 202, 8820, 31, 1082, 565, 648, 296, 41, 4278, 202, 759, 1068, 2350, 1082, 3639, 604, 394, 6483, 12, 8365, 67, 3256, 18, 11323, 780, 12, 4071, 18, 588, 4705, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 1836, 1435, 1216, 6483, 288, 202, 474, 8508, 84, 273, 374, 31, 202, 6494, 366, 4840, 273, 629, 31, 202, 22043, 12, 8365, 67, 3256, 13, 288, 202, 565, 1366, 1138, 12, 4669, 1769, 202, 565, 1323, 16051, 76, 4840, 747, 8508, 84, 405, 374, 13, 288, 202, 202, 474, 276, 273, 7184, 67, 3256, 18, 11323, 2156, 5621, 202, 202, 9610, 261, 71, 13, 1082, 565, 288, 1082, 565, 648, 296, 37, 4278, 202, 759, 2970, 7121, 10918, 1082, 202, 474, 4231, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 24, 1769, 1082, 202, 780, 1234, 273, 7184, 67, 3256, 18, 11323, 780, 12, 4071, 18, 588, 4705, 10663, 1082, 202, 2 ]
setOndblclick(null);
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setIndexed(false); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELButtonTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELButtonTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 1862, 856, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 653, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 8853, 12443, 12, 5507, 13, 5302, 3843, 2932, 9278, 3113, 336, 8853, 4742, 9334, 4766, 5411, 3411, 18, 1106, 13, 2934, 13491, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 8853, 12, 5743, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 15034, 12, 5743, 1769, 3639, 289, 3639, 775, 288, 5411, 22131, 27065, 12443, 780, 13, 5302, 3843, 2932, 265, 27065, 3113, 30070, 27065, 9334, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 1862, 856, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 2 ]
public void resetInteractions(File wd) { if (_debugger.inDebugMode()) _debugger.shutdown(); if (! _jvm.slaveJVMUsed() && wd.equals(_interactionsModel.getWorkingDirectory())) { // eliminate resetting interpreter (slaveJVM) since it has already been reset appropriately. _interactionsModel.notifyInterpreterReady(wd); return; } _interactionsModel.resetInterpreter(wd);// resetConsole(); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/bb3d7a008c8c1c70f49fe5197e6722769a8fe6d6/DefaultGlobalModel.java/buggy/drjava/src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 6208, 2465, 4905, 12, 812, 3623, 15329, 430, 24899, 4148, 693, 18, 267, 2829, 2309, 10756, 67, 4148, 693, 18, 15132, 5621, 430, 12, 5, 67, 78, 3489, 18, 27352, 46, 7397, 6668, 1435, 10, 10, 3623, 18, 14963, 24899, 2761, 4905, 1488, 18, 588, 14836, 2853, 1435, 3719, 95, 759, 292, 381, 267, 2045, 281, 278, 1787, 2761, 11599, 12, 27352, 46, 7397, 13, 9256, 483, 345, 17583, 2196, 275, 6208, 438, 5986, 566, 5173, 6315, 2761, 4905, 1488, 18, 12336, 30010, 8367, 12, 3623, 1769, 2463, 31, 9044, 2761, 4905, 1488, 18, 6208, 30010, 12, 3623, 1769, 759, 6208, 10215, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 6208, 2465, 4905, 12, 812, 3623, 15329, 430, 24899, 4148, 693, 18, 267, 2829, 2309, 10756, 67, 4148, 693, 18, 15132, 5621, 430, 12, 5, 67, 78, 3489, 18, 27352, 46, 7397, 6668, 1435, 10, 10, 3623, 18, 14963, 24899, 2761, 4905, 1488, 18, 588, 14836, 2853, 1435, 3719, 95, 759, 292, 381, 267, 2045, 281, 278, 1787, 2761, 11599, 12, 27352, 46, 7397, 13, 9256, 483, 345, 17583, 2196, 275, 6208, 438, 5986, 566, 5173, 6315, 2761, 4905, 1488, 18, 12336, 30010, 8367, 12, 3623, 1769, 2463, 31, 9044, 2761, 4905, 1488, 18, 6208, 30010, 12, 3623, 1769, 759, 6208, 10215, 5621, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
d.date = date;
this.date = date;
private static double makeTime(Scriptable dateObj, Object[] args, int maxargs, boolean local, Function funObj) { int i; double conv[] = new double[4]; double hour, min, sec, msec; double lorutime; /* Local or UTC version of date */ double time; double result; NativeDate d = checkInstance(dateObj, funObj); double date = d.date; /* just return NaN if the date is already NaN */ if (date != date) return date; /* Satisfy the ECMA rule that if a function is called with * fewer arguments than the specified formal arguments, the * remaining arguments are set to undefined. Seems like all * the Date.setWhatever functions in ECMA are only varargs * beyond the first argument; this should be set to undefined * if it's not given. This means that "d = new Date(); * d.setMilliseconds()" returns NaN. Blech. */ if (args.length == 0) args = ScriptRuntime.padArguments(args, 1); for (i = 0; i < args.length && i < maxargs; i++) { conv[i] = ScriptRuntime.toNumber(args[i]); // limit checks that happen in MakeTime in ECMA. if (conv[i] != conv[i] || Double.isInfinite(conv[i])) { d.date = ScriptRuntime.NaN; return d.date; } conv[i] = ScriptRuntime.toInteger(conv[i]); } if (local) lorutime = LocalTime(date); else lorutime = date; i = 0; int stop = args.length; if (maxargs >= 4 && i < stop) hour = conv[i++]; else hour = HourFromTime(lorutime); if (maxargs >= 3 && i < stop) min = conv[i++]; else min = MinFromTime(lorutime); if (maxargs >= 2 && i < stop) sec = conv[i++]; else sec = SecFromTime(lorutime); if (maxargs >= 1 && i < stop) msec = conv[i++]; else msec = msFromTime(lorutime); time = MakeTime(hour, min, sec, msec); result = MakeDate(Day(lorutime), time); if (local) result = internalUTC(result); date = TimeClip(result); d.date = date; return date; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/1f40b84b6c54487dd6f26829d1ebda36a7567a38/NativeDate.java/clean/js/rhino/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1645, 1221, 950, 12, 3651, 429, 1509, 2675, 16, 1033, 8526, 833, 16, 4766, 282, 509, 943, 1968, 16, 1250, 1191, 16, 4766, 282, 4284, 9831, 2675, 13, 565, 288, 3639, 509, 277, 31, 3639, 1645, 6292, 8526, 273, 394, 1645, 63, 24, 15533, 3639, 1645, 6126, 16, 1131, 16, 1428, 16, 312, 3321, 31, 3639, 1645, 328, 280, 322, 494, 31, 1748, 3566, 578, 9951, 1177, 434, 1509, 1195, 3639, 1645, 813, 31, 3639, 1645, 563, 31, 3639, 16717, 1626, 302, 273, 866, 1442, 12, 712, 2675, 16, 9831, 2675, 1769, 3639, 1645, 1509, 273, 302, 18, 712, 31, 3639, 1748, 2537, 327, 10180, 309, 326, 1509, 353, 1818, 10180, 1195, 3639, 309, 261, 712, 480, 1509, 13, 5411, 327, 1509, 31, 3639, 1748, 25793, 7396, 93, 326, 7773, 5535, 1720, 716, 309, 279, 445, 353, 2566, 598, 540, 380, 27886, 1775, 2353, 326, 1269, 25739, 1775, 16, 326, 540, 380, 4463, 1775, 854, 444, 358, 3109, 18, 225, 3265, 7424, 3007, 777, 540, 380, 326, 2167, 18, 542, 2888, 14299, 4186, 316, 7773, 5535, 854, 1338, 19732, 540, 380, 17940, 326, 1122, 1237, 31, 333, 1410, 506, 444, 358, 3109, 540, 380, 309, 518, 1807, 486, 864, 18, 225, 1220, 4696, 716, 315, 72, 273, 394, 2167, 5621, 540, 380, 302, 18, 542, 31159, 10031, 1135, 10180, 18, 225, 605, 298, 343, 18, 540, 1195, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 5411, 833, 273, 7739, 5576, 18, 6982, 4628, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1645, 1221, 950, 12, 3651, 429, 1509, 2675, 16, 1033, 8526, 833, 16, 4766, 282, 509, 943, 1968, 16, 1250, 1191, 16, 4766, 282, 4284, 9831, 2675, 13, 565, 288, 3639, 509, 277, 31, 3639, 1645, 6292, 8526, 273, 394, 1645, 63, 24, 15533, 3639, 1645, 6126, 16, 1131, 16, 1428, 16, 312, 3321, 31, 3639, 1645, 328, 280, 322, 494, 31, 1748, 3566, 578, 9951, 1177, 434, 1509, 1195, 3639, 1645, 813, 31, 3639, 1645, 563, 31, 3639, 16717, 1626, 302, 273, 866, 1442, 12, 712, 2675, 16, 9831, 2675, 1769, 3639, 1645, 1509, 273, 302, 18, 712, 31, 3639, 1748, 2537, 327, 10180, 309, 326, 1509, 353, 1818, 10180, 1195, 3639, 309, 261, 712, 2 ]
log.debug("looking up entries between "+start+" and "+end);
log.debug("looking up entries between "+now+" and "+end);
public void execute() { log.debug("starting"); // notify the cache manager of an invalidation if(nextExpirations != null) { WeblogEntryData entry = null; Iterator entries = nextExpirations.iterator(); while(entries.hasNext()) { entry = (WeblogEntryData) entries.next(); log.debug("expiring "+entry.getAnchor()); CacheManager.invalidate(entry); } } // look for postings from current time to current time plus XX mins List expiringEntries = null; try { WeblogManager mgr = RollerFactory.getRoller().getWeblogManager(); // current time Date start = new Date(); // XX mins in the future Calendar cal = Calendar.getInstance(); cal.setTime(start); cal.add(Calendar.MINUTE, this.peerTime); Date end = cal.getTime(); log.debug("looking up entries between "+start+" and "+end); // get all published entries between start and end date expiringEntries = mgr.getWeblogEntries(null, null, start, end, null, null, WeblogEntryData.PUBLISHED, null, 0, -1); this.nextExpirations = expiringEntries; } catch(Exception e) { log.error(e); } log.debug("finished"); }
46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/2ea23f4d9357d5ada174e636765e63f3dbf03716/FuturePostingsInvalidationJob.java/buggy/src/org/apache/roller/util/cache/FuturePostingsInvalidationJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 288, 7734, 613, 18, 4148, 2932, 18526, 8863, 7734, 368, 5066, 326, 1247, 3301, 434, 392, 22996, 3639, 309, 12, 4285, 2966, 481, 1012, 480, 446, 13, 288, 5411, 2999, 1330, 1622, 751, 1241, 273, 446, 31, 5411, 4498, 3222, 273, 1024, 2966, 481, 1012, 18, 9838, 5621, 5411, 1323, 12, 8219, 18, 5332, 2134, 10756, 288, 7734, 1241, 273, 261, 4079, 1330, 1622, 751, 13, 3222, 18, 4285, 5621, 27573, 613, 18, 4148, 2932, 2749, 11256, 13773, 4099, 18, 588, 11605, 10663, 27573, 4379, 1318, 18, 5387, 340, 12, 4099, 1769, 5411, 289, 3639, 289, 7734, 368, 2324, 364, 1603, 899, 628, 783, 813, 358, 783, 813, 8737, 1139, 60, 26381, 3639, 987, 1329, 11256, 5400, 273, 446, 31, 3639, 775, 288, 5411, 2999, 1330, 1318, 13333, 273, 11714, 749, 1733, 18, 588, 4984, 749, 7675, 588, 4079, 1330, 1318, 5621, 13491, 368, 783, 813, 5411, 2167, 787, 273, 394, 2167, 5621, 13491, 368, 1139, 60, 26381, 316, 326, 3563, 5411, 5542, 1443, 273, 5542, 18, 588, 1442, 5621, 5411, 1443, 18, 542, 950, 12, 1937, 1769, 5411, 1443, 18, 1289, 12, 7335, 18, 30090, 16, 333, 18, 12210, 950, 1769, 5411, 2167, 679, 273, 1443, 18, 588, 950, 5621, 13491, 613, 18, 4148, 2932, 7330, 310, 731, 3222, 3086, 13773, 3338, 9078, 471, 13773, 409, 1769, 13491, 368, 336, 777, 9487, 3222, 3086, 787, 471, 679, 1509, 5411, 1329, 11256, 5400, 273, 13333, 18, 588, 4079, 1330, 5400, 12, 2011, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 288, 7734, 613, 18, 4148, 2932, 18526, 8863, 7734, 368, 5066, 326, 1247, 3301, 434, 392, 22996, 3639, 309, 12, 4285, 2966, 481, 1012, 480, 446, 13, 288, 5411, 2999, 1330, 1622, 751, 1241, 273, 446, 31, 5411, 4498, 3222, 273, 1024, 2966, 481, 1012, 18, 9838, 5621, 5411, 1323, 12, 8219, 18, 5332, 2134, 10756, 288, 7734, 1241, 273, 261, 4079, 1330, 1622, 751, 13, 3222, 18, 4285, 5621, 27573, 613, 18, 4148, 2932, 2749, 11256, 13773, 4099, 18, 588, 11605, 10663, 27573, 4379, 1318, 18, 5387, 340, 12, 4099, 1769, 5411, 289, 3639, 289, 7734, 368, 2324, 364, 1603, 899, 628, 783, 813, 358, 783, 813, 8737, 1139, 60, 26381, 3639, 987, 2 ]
result[0] = false;
result.add(new Status( IStatus.ERROR,PlatformUI.PLUGIN_ID,0, WorkbenchMessages.format("ViewFactory.couldNotSave",new String[]{refs[index].getTitle()}), e));
public void handleException(Throwable e) { result[0] = false; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/625d7dc219fd2a8f50011e9460f57762160bd74d/ViewFactory.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/ViewFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 6862, 202, 2088, 63, 20, 65, 273, 629, 31, 9506, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 6862, 202, 2088, 63, 20, 65, 273, 629, 31, 9506, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static Outlink[] getOutlinks(final String plainText, NutchConf nutchConf) { return OutlinkExtractor.getOutlinks(plainText, "", nutchConf);
public static Outlink[] getOutlinks(final String plainText, Configuration conf) { return OutlinkExtractor.getOutlinks(plainText, "", conf);
public static Outlink[] getOutlinks(final String plainText, NutchConf nutchConf) { return OutlinkExtractor.getOutlinks(plainText, "", nutchConf); }
50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/OutlinkExtractor.java/buggy/src/java/org/apache/nutch/parse/OutlinkExtractor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 2976, 1232, 8526, 23141, 7135, 12, 6385, 514, 7351, 1528, 16, 423, 322, 343, 3976, 290, 322, 343, 3976, 13, 288, 565, 327, 2976, 1232, 10958, 18, 588, 1182, 7135, 12, 7446, 1528, 16, 23453, 290, 322, 343, 3976, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 2976, 1232, 8526, 23141, 7135, 12, 6385, 514, 7351, 1528, 16, 423, 322, 343, 3976, 290, 322, 343, 3976, 13, 288, 565, 327, 2976, 1232, 10958, 18, 588, 1182, 7135, 12, 7446, 1528, 16, 23453, 290, 322, 343, 3976, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (log.isDebugEnabled()) { log.debug("pass " + pass + " on service " + name + " will invoke method \"" + todo[k].getMethod() + "\"");
if (invokerLog.isDebugEnabled()) { invokerLog.debug("pass " + pass + " on service " + name + " will invoke method \"" + todo[k].getMethod() + "\"");
private static List invokeMethods(MBeanServer server, InvokerService[] invokerServices, InvokeAtType at, boolean reverse, boolean failFast) { Category log = ThreadCategory.getInstance(Manager.class); Integer[] serviceIndexes = new Integer[invokerServices.length]; for (int i = 0; i < invokerServices.length; i++) { if (!reverse) { serviceIndexes[i] = new Integer(i); } else { serviceIndexes[i] = new Integer(invokerServices.length - 1 - i); } } List resultInfo = new ArrayList(invokerServices.length); for (int pass = 0, end = getEndPass(invokerServices); pass <= end; pass++) { if (log.isDebugEnabled()) { log.debug("starting pass " + pass); } for (int i = 0; i < serviceIndexes.length; i++) { int j = serviceIndexes[i].intValue(); String name = invokerServices[j].getService().getName(); if (invokerServices[j].isBadService()) { if (log.isDebugEnabled()) { log.debug("pass " + pass + " on service " + name + " is bad: not invoking any more methods"); } break; } Invoke[] todo = invokerServices[j].getService().getInvoke(); for (int k = 0; todo != null && k < todo.length; k++) { if (todo[k].getPass() != pass || !at.equals(todo[k].getAt())) { continue; } Service service = invokerServices[j].getService(); ObjectInstance mbean = invokerServices[j].getMbean(); if (log.isDebugEnabled()) { log.debug("pass " + pass + " on service " + name + " will invoke method \"" + todo[k].getMethod() + "\""); } try { Object result = invoke(server, todo[k], mbean); resultInfo.add(new InvokerResult(service, mbean, result, null)); } catch (Throwable t) { resultInfo.add(new InvokerResult(service, mbean, null, t)); if (failFast) { return resultInfo; } } } } if (log.isDebugEnabled()) { log.debug("completed pass " + pass); } } return resultInfo; }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/ecd62ed236d13ba5e40cad90759a671d988ac804/Manager.java/clean/src/services/org/opennms/netmgt/vmmgr/Manager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 987, 4356, 4712, 12, 18089, 2081, 1438, 16, 4766, 1377, 17602, 264, 1179, 8526, 24920, 5676, 16, 4766, 1377, 14373, 861, 559, 622, 16, 1250, 4219, 16, 4766, 1377, 1250, 2321, 12305, 13, 288, 3639, 9856, 613, 273, 4884, 4457, 18, 588, 1442, 12, 1318, 18, 1106, 1769, 3639, 2144, 8526, 1156, 8639, 273, 394, 2144, 63, 5768, 601, 264, 5676, 18, 2469, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 24920, 5676, 18, 2469, 31, 277, 27245, 288, 5411, 309, 16051, 9845, 13, 288, 7734, 1156, 8639, 63, 77, 65, 273, 394, 2144, 12, 77, 1769, 5411, 289, 469, 288, 7734, 1156, 8639, 63, 77, 65, 273, 394, 2144, 12, 5768, 601, 264, 5676, 18, 2469, 300, 404, 300, 277, 1769, 5411, 289, 3639, 289, 3639, 987, 563, 966, 273, 394, 2407, 12, 5768, 601, 264, 5676, 18, 2469, 1769, 3639, 364, 261, 474, 1342, 273, 374, 16, 679, 273, 9968, 6433, 12, 5768, 601, 264, 5676, 1769, 1342, 1648, 679, 31, 2398, 1342, 27245, 288, 5411, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 7734, 613, 18, 4148, 2932, 18526, 1342, 315, 397, 1342, 1769, 5411, 289, 13491, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1156, 8639, 18, 2469, 31, 277, 27245, 288, 7734, 509, 525, 273, 1156, 8639, 63, 77, 8009, 474, 620, 5621, 7734, 514, 508, 273, 24920, 5676, 63, 78, 8009, 588, 1179, 7675, 17994, 5621, 7734, 309, 261, 5768, 601, 264, 5676, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 987, 4356, 4712, 12, 18089, 2081, 1438, 16, 4766, 1377, 17602, 264, 1179, 8526, 24920, 5676, 16, 4766, 1377, 14373, 861, 559, 622, 16, 1250, 4219, 16, 4766, 1377, 1250, 2321, 12305, 13, 288, 3639, 9856, 613, 273, 4884, 4457, 18, 588, 1442, 12, 1318, 18, 1106, 1769, 3639, 2144, 8526, 1156, 8639, 273, 394, 2144, 63, 5768, 601, 264, 5676, 18, 2469, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 24920, 5676, 18, 2469, 31, 277, 27245, 288, 5411, 309, 16051, 9845, 13, 288, 7734, 1156, 8639, 63, 77, 65, 273, 394, 2144, 12, 77, 1769, 5411, 289, 469, 288, 7734, 1156, 8639, 63, 77, 65, 273, 394, 2144, 12, 5768, 601, 2 ]
public void setLimit(final int start)
public void setLimit(final int start, final int count)
public void setLimit(final int start) { if(start<0) throw new RuntimeException("start must not be negative, but was " + start); this.limitStart = start; this.limitCount = UNLIMITED_COUNT; }
50290 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50290/11279c163e3dc7c49b8e7d178340f223ed7af05c/Query.java/buggy/runtime/src/com/exedio/cope/Query.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 3039, 12, 6385, 509, 787, 13, 202, 95, 202, 202, 430, 12, 1937, 32, 20, 13, 1082, 202, 12849, 394, 3235, 2932, 1937, 1297, 486, 506, 6092, 16, 1496, 1703, 315, 397, 787, 1769, 202, 202, 2211, 18, 3595, 1685, 273, 787, 31, 202, 202, 2211, 18, 3595, 1380, 273, 5019, 8283, 2056, 67, 7240, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 3039, 12, 6385, 509, 787, 13, 202, 95, 202, 202, 430, 12, 1937, 32, 20, 13, 1082, 202, 12849, 394, 3235, 2932, 1937, 1297, 486, 506, 6092, 16, 1496, 1703, 315, 397, 787, 1769, 202, 202, 2211, 18, 3595, 1685, 273, 787, 31, 202, 202, 2211, 18, 3595, 1380, 273, 5019, 8283, 2056, 67, 7240, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (order != null)
if (useOrder && groupbyorder != null) q.append (" ORDER BY "+groupbyorder); } else if (useOrder && order != null)
public String buildQuery (INode home, INode nonvirtual, String kstr) { StringBuffer q = new StringBuffer (); String prefix = " WHERE "; if (kstr != null) { q.append (prefix); String accessColumn = accessor == null ? otherType.getIDField () : accessor; q.append (accessColumn); q.append (" = '"); q.append (escape (kstr)); q.append ("'"); prefix = " AND "; } for (int i=0; i<constraints.length; i++) { q.append (prefix); constraints[i].addToQuery (q, home, nonvirtual); prefix = " AND "; } if (filter != null) { q.append (prefix); q.append (filter); } if (groupby != null) q.append (" GROUP BY "+groupby); if (order != null) q.append (" ORDER BY "+order); return q.toString (); }
46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/3ce3e7f54a72390980cf252191d607b80c662e91/Relation.java/buggy/src/helma/objectmodel/db/Relation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 29279, 261, 23184, 6382, 16, 21176, 1661, 12384, 16, 514, 417, 701, 13, 288, 202, 780, 1892, 1043, 273, 394, 6674, 261, 1769, 202, 780, 1633, 273, 315, 4852, 13636, 202, 430, 261, 79, 701, 480, 446, 13, 288, 202, 565, 1043, 18, 6923, 261, 3239, 1769, 202, 565, 514, 2006, 1494, 273, 9789, 422, 446, 692, 1308, 559, 18, 588, 734, 974, 1832, 294, 9789, 31, 202, 565, 1043, 18, 6923, 261, 3860, 1494, 1769, 202, 565, 1043, 18, 6923, 7566, 273, 2119, 1769, 202, 565, 1043, 18, 6923, 261, 6939, 261, 79, 701, 10019, 202, 565, 1043, 18, 6923, 7566, 4970, 1769, 202, 565, 1633, 273, 315, 4116, 13636, 202, 97, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 11967, 18, 2469, 31, 277, 27245, 288, 202, 565, 1043, 18, 6923, 261, 3239, 1769, 202, 565, 6237, 63, 77, 8009, 1289, 774, 1138, 261, 85, 16, 6382, 16, 1661, 12384, 1769, 202, 565, 1633, 273, 315, 4116, 13636, 202, 97, 202, 202, 430, 261, 2188, 480, 446, 13, 288, 202, 565, 1043, 18, 6923, 261, 3239, 1769, 202, 565, 1043, 18, 6923, 261, 2188, 1769, 202, 97, 202, 430, 261, 1655, 1637, 480, 446, 13, 202, 565, 1043, 18, 6923, 7566, 13839, 6953, 13773, 1655, 1637, 1769, 202, 430, 261, 1019, 480, 446, 13, 202, 565, 1043, 18, 6923, 7566, 10205, 6953, 13773, 1019, 1769, 202, 2463, 1043, 18, 10492, 261, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 29279, 261, 23184, 6382, 16, 21176, 1661, 12384, 16, 514, 417, 701, 13, 288, 202, 780, 1892, 1043, 273, 394, 6674, 261, 1769, 202, 780, 1633, 273, 315, 4852, 13636, 202, 430, 261, 79, 701, 480, 446, 13, 288, 202, 565, 1043, 18, 6923, 261, 3239, 1769, 202, 565, 514, 2006, 1494, 273, 9789, 422, 446, 692, 1308, 559, 18, 588, 734, 974, 1832, 294, 9789, 31, 202, 565, 1043, 18, 6923, 261, 3860, 1494, 1769, 202, 565, 1043, 18, 6923, 7566, 273, 2119, 1769, 202, 565, 1043, 18, 6923, 261, 6939, 261, 79, 701, 10019, 202, 565, 1043, 18, 6923, 7566, 4970, 1769, 202, 565, 1633, 273, 315, 4116, 13636, 202, 97, 202, 1884, 261, 2 ]
if (isTable(style)) {
if (isTable(currentStyle)) {
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentElement = parent.getElement(); if (parentElement != null) { if (mayHaveFirstLine(parentStyle)) { //put in a marker if there is first-line styling CascadedStyle firstLine = c.getCss().getPseudoElementStyle(parentElement, "first-line"); if (firstLine != null) { firstLineStyle = new FirstLineStyle(firstLine); } } if (mayHaveFirstLetter(parentStyle)) { //put in a marker if there is first-letter styling CascadedStyle firstLetter = c.getCss().getPseudoElementStyle(parentElement, "first-letter"); if (firstLetter != null) { firstLetterStyle = new FirstLetterStyle(firstLetter); } } //TODO: before and after may be block! //<br/> handling should be done by :before content CascadedStyle before = c.getCss().getPseudoElementStyle(parentElement, "before"); if (before != null && before.hasProperty(CSSName.CONTENT)) { String content = ((CSSPrimitiveValue) before.propertyByName(CSSName.CONTENT).getValue()).getStringValue(); if (!content.equals("")) { inlineList.add(new StylePush("before", parentElement)); c.pushStyle(before); textContent = new StringBuffer(); textContent.append(content.replaceAll("\\\\A", "\n")); inlineList.add(new TextContent("before", parentElement, textContent.toString())); textContent = null; c.popStyle(); inlineList.add(new StylePop("before", parentElement)); } //do not reset style here, because if this element is empty, we will not have changed context } } Iterator i = getNodeIterator(parent); TableContent anonymousTable = null; //each child node can result in only one addition to content while (i.hasNext()) { Node curr = (Node) i.next(); if (curr.getNodeType() != Node.ELEMENT_NODE && curr.getNodeType() != Node.TEXT_NODE) { continue; }//must be a comment or pi or something if (curr.getNodeType() == Node.TEXT_NODE) { String text = curr.getNodeValue(); if (textContent == null) { textContent = new StringBuffer(); } textContent.append(text); //if we reach here, our anonymous table is done anonymousTable = null; continue; } Element elem = (Element) curr; CascadedStyle style = c.getCss().getCascadedStyle(elem, true);//this is the place where restyle is done for layout (boxing) c.pushStyle(style);//just remember to pop it before continue if (isTableDescendant(style)) { if (anonymousTable == null) { anonymousTable = new TableContent(); inlineList.add(anonymousTable); } anonymousTable.addChild(elem); c.popStyle(); continue; } //if we reach here, our anonymous table is done anonymousTable = null; if (isHidden(style)) { c.popStyle(); continue;//at least for now, don't generate hidden content } if (isAbsoluteOrFixed(style)) { // Uu.p("adding replaced: " + curr); textContent = saveTextContent(textContent, inlineList, parentElement, parent); inlineList.add(new AbsolutelyPositionedContent((Element) curr, style)); c.popStyle(); continue; } //have to check for float here already. The element may still be replaced, though if (isFloated(style)) { // Uu.p("adding floated block: " + curr); textContent = saveTextContent(textContent, inlineList, parentElement, parent); inlineList.add(new FloatedBlockContent((Element) curr, style)); c.popStyle(); continue; } if (isInlineBlock(style)) { //treat it like a replaced element textContent = saveTextContent(textContent, inlineList, parentElement, parent); inlineList.add(new InlineBlockContent(elem, style)); c.popStyle(); continue; } if (isRunIn(style)) { RunInContent runIn = new RunInContent(elem, style); textContent = saveTextContent(textContent, inlineList, parentElement, parent); inlineList.add(runIn);//resolve it when we can c.popStyle(); continue; } if (isTable(style)) { textContent = saveTextContent(textContent, inlineList, parentElement, parent); TableContent table = new TableContent(elem, style); inlineList.add(table); c.popStyle(); continue; } //TODO:list-items, anonymous tables, inline tables, etc. if (isBlockLevel(style)) { textContent = saveTextContent(textContent, inlineList, parentElement, parent); BlockContent block = new BlockContent(elem, style); inlineList.add(block); c.popStyle(); continue; } //if we get here, we have inline element content, need to get into it. textContent = saveTextContent(textContent, inlineList, parentElement, parent); Content inline = new InlineContent(elem, style); List childList = inline.getChildContent(c); inlineList.add(new StylePush(null, elem));//this is already pushed to context //the child list represents the entire contents of an element, //therefore we need not concern ourselves with style-changes, as they will even out for (Iterator ci = childList.iterator(); ci.hasNext();) { Object o = ci.next(); if (o instanceof AnonymousBlockContent) { inlineList.addAll(((AnonymousBlockContent) o).getChildContent(c)); } else { inlineList.add(o); } } inlineList.add(new StylePop(null, elem));//pop from c below c.popStyle(); } textContent = saveTextContent(textContent, inlineList, parentElement, parent); if (parentElement != null) { //TODO: after may be block! CascadedStyle after = c.getCss().getPseudoElementStyle(parentElement, "after"); if (after != null && after.hasProperty(CSSName.CONTENT)) { String content = ((CSSPrimitiveValue) after.propertyByName(CSSName.CONTENT).getValue()).getStringValue(); if (!content.equals("")) {//a worthwhile reduncancy-check textContent = saveTextContent(textContent, inlineList, parentElement, parent); inlineList.add(new StylePush("after", parentElement)); textContent = new StringBuffer(); textContent.append(content.replaceAll("\\\\A", "\n")); inlineList.add(new TextContent(parentElement, textContent.toString())); textContent = null; inlineList.add(new StylePop("after", parentElement)); } } } List blockList = null; if (firstLetterStyle != null) { inlineList.add(0, firstLetterStyle); } if (firstLineStyle != null) { inlineList.add(0, firstLineStyle); } if (hasBlockContent(inlineList)) { blockList = new LinkedList(); blockList.addAll(resolveBlockContent(inlineList, parentElement, c)); return blockList; } else { inlineList = WhitespaceStripper.stripInlineContent(c, inlineList); return inlineList; } }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/c96efe21dd32b0a4f0420c8495d49144792cbc9d/ContentUtil.java/buggy/src/java/org/xhtmlrenderer/layout/content/ContentUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 987, 8154, 1350, 682, 12, 1042, 276, 16, 3697, 982, 13, 288, 3639, 987, 6370, 682, 273, 394, 10688, 5621, 3639, 5783, 1670, 2885, 24415, 2885, 273, 446, 31, 3639, 5783, 13938, 2885, 1122, 13938, 2885, 273, 446, 31, 3639, 6674, 16655, 273, 446, 31, 3639, 385, 3691, 2435, 2885, 982, 2885, 273, 982, 18, 588, 2885, 5621, 3639, 3010, 30363, 273, 982, 18, 21336, 5621, 3639, 309, 261, 2938, 1046, 480, 446, 13, 288, 5411, 309, 261, 24877, 17944, 3759, 1670, 12, 2938, 2885, 3719, 288, 7734, 368, 458, 316, 279, 5373, 309, 1915, 353, 1122, 17, 1369, 16253, 2456, 7734, 385, 3691, 2435, 2885, 24415, 273, 276, 18, 588, 7359, 7675, 588, 26716, 1046, 2885, 12, 2938, 1046, 16, 315, 3645, 17, 1369, 8863, 7734, 309, 261, 3645, 1670, 480, 446, 13, 288, 10792, 24415, 2885, 273, 394, 5783, 1670, 2885, 12, 3645, 1670, 1769, 7734, 289, 5411, 289, 5411, 309, 261, 24877, 17944, 3759, 13938, 12, 2938, 2885, 3719, 288, 7734, 368, 458, 316, 279, 5373, 309, 1915, 353, 1122, 17, 13449, 16253, 2456, 7734, 385, 3691, 2435, 2885, 1122, 13938, 273, 276, 18, 588, 7359, 7675, 588, 26716, 1046, 2885, 12, 2938, 1046, 16, 315, 3645, 17, 13449, 8863, 7734, 309, 261, 3645, 13938, 480, 446, 13, 288, 10792, 1122, 13938, 2885, 273, 394, 5783, 13938, 2885, 12, 3645, 13938, 1769, 7734, 289, 5411, 289, 5411, 368, 6241, 30, 1865, 471, 1839, 2026, 506, 1203, 5, 5411, 368, 32, 2848, 21259, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 987, 8154, 1350, 682, 12, 1042, 276, 16, 3697, 982, 13, 288, 3639, 987, 6370, 682, 273, 394, 10688, 5621, 3639, 5783, 1670, 2885, 24415, 2885, 273, 446, 31, 3639, 5783, 13938, 2885, 1122, 13938, 2885, 273, 446, 31, 3639, 6674, 16655, 273, 446, 31, 3639, 385, 3691, 2435, 2885, 982, 2885, 273, 982, 18, 588, 2885, 5621, 3639, 3010, 30363, 273, 982, 18, 21336, 5621, 3639, 309, 261, 2938, 1046, 480, 446, 13, 288, 5411, 309, 261, 24877, 17944, 3759, 1670, 12, 2938, 2885, 3719, 288, 7734, 368, 458, 316, 279, 5373, 309, 1915, 353, 1122, 17, 1369, 16253, 2456, 7734, 385, 3691, 2435, 2885, 24415, 273, 276, 18, 588, 7359, 7675, 588, 26716, 1046, 2885, 2 ]
Pattern p = Pattern.compile(glob2Regexp(pattern));
private static Collection getMatchingFiles(final NormalizedFile parent, final String pattern, final boolean isDirectory) { FileFilter filter = new FileFilter() { Pattern p = Pattern.compile(glob2Regexp(pattern)); public boolean accept(File pathname) { return (pathname.isDirectory() || !isDirectory) && p.matcher(pathname.getName()).matches(); } }; NormalizedFile[] matchArray = (NormalizedFile[])parent.listFiles(filter); Collection matchingFiles = new ArrayList(); if (matchArray != null) { for (int i = 0; i < matchArray.length; i++) { matchingFiles.add(matchArray[i]); if (pattern.equals("**")) { // recurse into dirs if (matchArray[i].isDirectory()) { matchingFiles.addAll(getMatchingFiles(matchArray[i], pattern, isDirectory)); } } } } return matchingFiles; }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/de57bcba8c547c0e27b2a2367bbd793bda772c32/Glob.java/buggy/src/org/jruby/util/Glob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 2200, 336, 9517, 2697, 12, 6385, 8769, 1235, 812, 982, 16, 727, 514, 1936, 16, 727, 1250, 10126, 13, 288, 377, 202, 29837, 1034, 273, 394, 1387, 1586, 1435, 288, 8227, 1071, 1250, 2791, 12, 812, 9806, 13, 288, 7734, 327, 261, 28336, 18, 291, 2853, 1435, 747, 401, 291, 2853, 13, 597, 293, 18, 22761, 12, 28336, 18, 17994, 1435, 2934, 8436, 5621, 5411, 289, 377, 202, 20451, 377, 202, 377, 202, 15577, 812, 8526, 845, 1076, 273, 261, 15577, 812, 63, 5717, 2938, 18, 1098, 2697, 12, 2188, 1769, 3639, 2200, 3607, 2697, 273, 394, 2407, 5621, 3639, 309, 261, 1916, 1076, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 845, 1076, 18, 2469, 31, 277, 27245, 288, 377, 202, 3639, 3607, 2697, 18, 1289, 12, 1916, 1076, 63, 77, 19226, 377, 1082, 7734, 309, 261, 4951, 18, 14963, 2932, 636, 6, 3719, 288, 2398, 202, 565, 368, 11502, 1368, 7717, 202, 377, 202, 565, 309, 261, 1916, 1076, 63, 77, 8009, 291, 2853, 10756, 288, 13491, 3607, 2697, 18, 1289, 1595, 12, 588, 9517, 2697, 12, 1916, 1076, 63, 77, 6487, 1936, 16, 10126, 10019, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 7734, 327, 3607, 2697, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 2200, 336, 9517, 2697, 12, 6385, 8769, 1235, 812, 982, 16, 727, 514, 1936, 16, 727, 1250, 10126, 13, 288, 377, 202, 29837, 1034, 273, 394, 1387, 1586, 1435, 288, 8227, 1071, 1250, 2791, 12, 812, 9806, 13, 288, 7734, 327, 261, 28336, 18, 291, 2853, 1435, 747, 401, 291, 2853, 13, 597, 293, 18, 22761, 12, 28336, 18, 17994, 1435, 2934, 8436, 5621, 5411, 289, 377, 202, 20451, 377, 202, 377, 202, 15577, 812, 8526, 845, 1076, 273, 261, 15577, 812, 63, 5717, 2938, 18, 1098, 2697, 12, 2188, 1769, 3639, 2200, 3607, 2697, 273, 394, 2407, 5621, 3639, 309, 261, 1916, 1076, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 2 ]
final PsiFile file = myElementDecl.getContainingFile(); if(!(file instanceof XmlFile)) return null; final XmlDocument document = ((XmlFile)file).getDocument(); XmlNSDescriptor descriptor = (XmlNSDescriptor) document.getMetaData(); if(descriptor == null) descriptor = document.getDefaultNSDescriptor(XmlUtil.EMPTY_URI, false); return descriptor;
return getNsDescriptorFrom(myElementDecl);
public XmlNSDescriptor getNSDescriptor() { final PsiFile file = myElementDecl.getContainingFile(); if(!(file instanceof XmlFile)) return null; final XmlDocument document = ((XmlFile)file).getDocument(); XmlNSDescriptor descriptor = (XmlNSDescriptor) document.getMetaData(); if(descriptor == null) descriptor = document.getDefaultNSDescriptor(XmlUtil.EMPTY_URI, false); return descriptor; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/d6301bc4db29ef7f9efa856f1ad39d4dba56beac/XmlElementDescriptorImpl.java/clean/source/com/intellij/xml/impl/dtd/XmlElementDescriptorImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5714, 3156, 3187, 336, 3156, 3187, 1435, 288, 565, 727, 453, 7722, 812, 585, 273, 3399, 1046, 3456, 18, 588, 24344, 812, 5621, 565, 309, 12, 5, 12, 768, 1276, 5714, 812, 3719, 327, 446, 31, 565, 727, 5714, 2519, 1668, 273, 14015, 4432, 812, 13, 768, 2934, 588, 2519, 5621, 565, 5714, 3156, 3187, 4950, 273, 261, 4432, 3156, 3187, 13, 1668, 18, 588, 6998, 5621, 565, 309, 12, 12628, 422, 446, 13, 4950, 273, 1668, 18, 588, 1868, 3156, 3187, 12, 4432, 1304, 18, 13625, 67, 3098, 16, 629, 1769, 565, 327, 4950, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5714, 3156, 3187, 336, 3156, 3187, 1435, 288, 565, 727, 453, 7722, 812, 585, 273, 3399, 1046, 3456, 18, 588, 24344, 812, 5621, 565, 309, 12, 5, 12, 768, 1276, 5714, 812, 3719, 327, 446, 31, 565, 727, 5714, 2519, 1668, 273, 14015, 4432, 812, 13, 768, 2934, 588, 2519, 5621, 565, 5714, 3156, 3187, 4950, 273, 261, 4432, 3156, 3187, 13, 1668, 18, 588, 6998, 5621, 565, 309, 12, 12628, 422, 446, 13, 4950, 273, 1668, 18, 588, 1868, 3156, 3187, 12, 4432, 1304, 18, 13625, 67, 3098, 16, 629, 1769, 565, 327, 4950, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
hits.add(hit);
hitHandles.add(hit.getHandleIdentifier());
public synchronized void addHit(AbstractQueryHit hit, TaskList taskList) { ITask correspondingTask = taskList.getTask(hit.getHandleIdentifier()); if (correspondingTask instanceof AbstractRepositoryTask) { hit.setCorrespondingTask((AbstractRepositoryTask) correspondingTask); } hit.setParent(this); hits.add(hit); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/4f49d1937552a69560839dcbd645aac2eebe2260/AbstractRepositoryQuery.java/buggy/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 527, 13616, 12, 7469, 1138, 13616, 6800, 16, 3837, 682, 1562, 682, 13, 288, 202, 202, 1285, 835, 4656, 2174, 273, 1562, 682, 18, 588, 2174, 12, 15989, 18, 588, 3259, 3004, 10663, 202, 202, 430, 261, 3850, 17863, 310, 2174, 1276, 4115, 3305, 2174, 13, 288, 1082, 202, 15989, 18, 542, 6217, 17863, 310, 2174, 12443, 7469, 3305, 2174, 13, 4656, 2174, 1769, 202, 202, 97, 202, 202, 15989, 18, 542, 3054, 12, 2211, 1769, 202, 202, 15173, 18, 1289, 12, 15989, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 527, 13616, 12, 7469, 1138, 13616, 6800, 16, 3837, 682, 1562, 682, 13, 288, 202, 202, 1285, 835, 4656, 2174, 273, 1562, 682, 18, 588, 2174, 12, 15989, 18, 588, 3259, 3004, 10663, 202, 202, 430, 261, 3850, 17863, 310, 2174, 1276, 4115, 3305, 2174, 13, 288, 1082, 202, 15989, 18, 542, 6217, 17863, 310, 2174, 12443, 7469, 3305, 2174, 13, 4656, 2174, 1769, 202, 202, 97, 202, 202, 15989, 18, 542, 3054, 12, 2211, 1769, 202, 202, 15173, 18, 1289, 12, 15989, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final Key dsSourceKey = (Key) vConstructionTable
final Key rSourceKey = (Key) vConstructionTable
private void processTable(final VirtualTable vParentTable, final MartConstructorAction firstActionDependsOn, final MartConstructorActionGraph actionGraph, final Schema rMainTableSchema, final Schema rSchema, final VirtualTable vConstructionTable) throws Exception { // A placeholder for the last action performed on this table. MartConstructorAction lastActionPerformed = firstActionDependsOn; // Placeholder for name of the target temp table that will // contain the constructed table. String vTableTempName = vConstructionTable.getTempTableName(); // If the table is a MAIN table, then we can select columns // directly from the underlying table. if (vConstructionTable.getDataSetTable().getType().equals( DataSetTableType.MAIN)) { // We now need to work out at which point to start the process // of transforming the table. That point is either the // underlying // table, or the first table in the list of underlying // relations, // if a list has been specified. final Table rFirstTable = vConstructionTable.getRealTable(); // Work out what columns to include from the first table. final List dsFirstTableCols = vConstructionTable .getDataSetColumns(rFirstTable.getColumns()); // Include the schema name column if there is one (don't need // to do this for dimension/subclass tables as it will be part // of the primary key inherited from the parent table). for (final Iterator i = vConstructionTable.getDataSetTable() .getColumns().iterator(); i.hasNext();) { final DataSetColumn dsCol = (DataSetColumn) i.next(); if (dsCol instanceof SchemaNameColumn) dsFirstTableCols.add(dsCol); } // Create the table based on firstTable, and selecting // based on firstDSCols. final MartConstructorAction create = new Create( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vTableTempName, rSchema, rFirstTable.getName(), dsFirstTableCols, rFirstTable.getPrimaryKey() == null, vConstructionTable.getDataSet().getRestrictedTableType( rFirstTable), true); actionGraph.addActionWithParent(create, lastActionPerformed); // Update last action performed, in case there are no merges. lastActionPerformed = create; } // Else, if the table is NOT a MAIN table, then we should select // the inherited columns from the parent dataset table. else { // Work out what columns to include from the first table. final List dsTableFirstCols = new ArrayList(); for (final Iterator i = vConstructionTable.getDataSetTable() .getColumns().iterator(); i.hasNext();) { final DataSetColumn dsCol = (DataSetColumn) i.next(); if (dsCol instanceof InheritedColumn) { final InheritedColumn dsInheritedCol = (InheritedColumn) dsCol; if (!vConstructionTable.getDataSet() .getMaskedDataSetColumns().contains( dsInheritedCol)) dsTableFirstCols.add(dsInheritedCol); } } final MartConstructorAction create = new Create( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vTableTempName, null, vParentTable.getTempTableName(), dsTableFirstCols, false, null, false); actionGraph.addActionWithParent(create, lastActionPerformed); // Update last action performed, in case there are no merges. lastActionPerformed = create; } // Merge subsequent tables based on underlying relations. for (int i = 0; i < vConstructionTable .getDataSetTable().getUnderlyingKeys().size(); i++) { // What key was followed from the previous table? final Key dsSourceKey = (Key) vConstructionTable .getDataSetTable().getUnderlyingKeys().get(i); // What relation was followed? final Relation rSourceRelation = (Relation) vConstructionTable .getDataSetTable().getUnderlyingRelations().get(i); // Left or inner join? final boolean useLeftJoin = rSourceRelation.isOptional(); // What key did we reach by following the relation? final Key dsTargetKey = rSourceRelation .getOtherKey(dsSourceKey); // What table did we reach, and therefore need to merge now? final Table dsTargetTable = dsTargetKey.getTable(); String dsTargetTableName = dsTargetTable.getName(); // Is the target table going to need a union merge? final boolean useUnionMerge = dsTargetTable.getSchema() instanceof SchemaGroup && !dsTargetTable.getSchema().equals(rMainTableSchema); // What are the equivalent columns on the existing temp table // that correspond to the key on the previous table? final List dsSourceKeyCols = vConstructionTable .getDataSetColumns(dsSourceKey.getColumns()); // What are the columns we should merge from this new table? final List dsTargetIncludeCols = vConstructionTable .getDataSetColumns(rSourceRelation); // If targetTable is in a group schema that is not the // same group schema we started with, create a union table // containing all the targetTable copies, then merge with // that instead. Schema rTargetSchema; if (useUnionMerge) { // Build a list of schemas to union tables from. final List rUnionSchemas = new ArrayList(); final List rUnionTableNames = new ArrayList(); if (dsTargetTable.getSchema() instanceof SchemaGroup) for (final Iterator j = ((SchemaGroup) dsTargetTable .getSchema()).getSchemas().iterator(); j .hasNext();) { final Schema rUnionSchema = (Schema) j.next(); rUnionSchemas.add(rUnionSchema); rUnionTableNames.add(dsTargetTable.getName()); } else { rUnionSchemas.add(dsTargetTable.getSchema()); rUnionTableNames.add(dsTargetTable.getName()); } // Make name for union table, which is now the target table. dsTargetTableName = this.helper.getNewTempTableName(); // Create union table. final MartConstructorAction union = new Union( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, dsTargetTableName, rUnionSchemas, rUnionTableNames); actionGraph.addActionWithParent(union, lastActionPerformed); // Create index on targetKey on union table. final MartConstructorAction index = new Index( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, dsTargetTableName, dsTargetKey.getColumns()); actionGraph.addActionWithParent(index, union); // Update the last action performed to reflect the index // of the union table. lastActionPerformed = index; // Target schema is now the dataset schema. Null // represents this. rTargetSchema = null; } else // Target schema is same as source schema. rTargetSchema = rSchema; // Index sourceDSKey columns. final MartConstructorAction index = new Index( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vTableTempName, dsSourceKeyCols); actionGraph.addActionWithParent(index, lastActionPerformed); // Generate new temp table name for merged table. final String vMergedTableTempName = this.helper .getNewTempTableName(); // Merge tables based on sourceDSKey -> targetKey, // and selecting based on targetDSCols. final MartConstructorAction merge = new Merge( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vMergedTableTempName, null, vTableTempName, dsSourceKeyCols, useLeftJoin, rTargetSchema, dsTargetTableName, dsTargetKey.getColumns(), dsTargetIncludeCols, vConstructionTable.getDataSet() .getRestrictedRelationType(rSourceRelation), dsTargetTable.equals(rSourceRelation.getSecondKey() .getTable()), rSourceRelation.isManyToMany(), vConstructionTable.getDataSet().getRestrictedTableType( dsTargetTable), true); actionGraph.addActionWithParent(merge, index); // Last action performed for this table is the merge, as // the drop can be carried out later at any time. lastActionPerformed = merge; // Drop old temp table. MartConstructorAction drop = new Drop(this.datasetSchemaName, vConstructionTable.getDataSetTable().getName(), null, vTableTempName); actionGraph.addActionWithParent(drop, merge); // Update temp table name to point to newly merged table. vTableTempName = vMergedTableTempName; // If targetTable was a union table, drop it. if (useUnionMerge) { // Drop union target table. Dependent on // lastActionPerformed, but does not update it. drop = new Drop(this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, dsTargetTableName); actionGraph.addActionWithParent(drop, merge); } } // Add in all the concat-relation columns. for (final Iterator i = vConstructionTable.getDataSetTable() .getColumns().iterator(); i.hasNext();) { final DataSetColumn dsCol = (DataSetColumn) i.next(); if (!(dsCol instanceof ConcatRelationColumn)) continue; final ConcatRelationColumn dsConcatCol = (ConcatRelationColumn) dsCol; // Where does the concat column point? final Relation rConcatRelation = dsConcatCol .getUnderlyingRelation(); // What key did it lead from? final Key rConcatSourceKey = rConcatRelation.getOneKey(); // What key does it go to? final Key rConcatTargetKey = rConcatRelation.getManyKey(); // What is the table to be concatted? final Table rConcatTargetTable = rConcatTargetKey.getTable(); String rConcatTargetTableName = rConcatTargetTable.getName(); // Is the target table going to need a union merge? final boolean useUnionMerge = !rConcatTargetTable.getSchema() .equals(rMainTableSchema); // What columns on the table should be concatted? final Key rConcatTargetPK = rConcatTargetTable.getPrimaryKey(); // What are the equivalent columns on the existing temp table // that correspond to the source key? final List vSourceKeyCols = vConstructionTable .getNthDataSetColumns(rConcatSourceKey.getColumns(), rConcatRelation); // If concatColumn is in a table in a group schema // that is not the same group schema we started with, create // a union table containing all the concatTable copies, then // concat that instead. Schema rConcatTargetSchema; if (useUnionMerge) { // Build a list of schemas to union tables from. final List rUnionTableSchemas = new ArrayList(); final List rUnionTableNames = new ArrayList(); if (rConcatTargetTable.getSchema() instanceof SchemaGroup) for (final Iterator j = ((SchemaGroup) rConcatTargetTable .getSchema()).getSchemas().iterator(); j .hasNext();) { final Schema rUnionSchema = (Schema) j.next(); rUnionTableSchemas.add(rUnionSchema); rUnionTableNames.add(rConcatTargetTable.getName()); } else { rUnionTableSchemas.add(rConcatTargetTable.getSchema()); rUnionTableNames.add(rConcatTargetTable.getName()); } // Make name for union table, which is now the target table. // Note how the target table is now a temp table. rConcatTargetTableName = this.helper.getNewTempTableName(); // Create union table. final MartConstructorAction union = new Union( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, rConcatTargetTableName, rUnionTableSchemas, rUnionTableNames); actionGraph.addActionWithParent(union, lastActionPerformed); // Create index on targetKey on union table. Dependent // on lastActionPerformed, and updates it. final MartConstructorAction index = new Index( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, rConcatTargetTableName, rConcatTargetKey .getColumns()); actionGraph.addActionWithParent(index, union); lastActionPerformed = index; // Target schema is now the dataset schema. Null // represents this. rConcatTargetSchema = null; } else // Target schema name is same as source schema. rConcatTargetSchema = rSchema; // Create the concat table by selecting sourceKey. String vConcatTableTempName = this.helper.getNewTempTableName(); final MartConstructorAction createCon = new Create( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vConcatTableTempName, null, vTableTempName, vSourceKeyCols, false, null, false); actionGraph.addActionWithParent(createCon, lastActionPerformed); // Generate new temp table name for populated concat table. final String vPopulatedConcatTableTempName = this.helper .getNewTempTableName(); // Populate the concat table by selecting targetKey and // concatting targetConcatKey into a column with the same // name as concatColumn. Dependent on lastActionPerformed, and // updates it. final MartConstructorAction concat = new Concat( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vPopulatedConcatTableTempName, null, vTableTempName, vSourceKeyCols, rConcatTargetSchema, rConcatTargetTableName, rConcatTargetKey.getColumns(), rConcatTargetPK.getColumns(), dsConcatCol.getName(), vConstructionTable.getDataSet().getConcatRelationType( rConcatRelation), vConstructionTable .getDataSet().getRestrictedRelationType( rConcatRelation), rConcatTargetTable .equals(rConcatRelation.getSecondKey() .getTable()), vConstructionTable .getDataSet().getRestrictedTableType( rConcatTargetTable)); actionGraph.addActionWithParent(concat, createCon); // Drop old concat temp table and replace with new one. MartConstructorAction drop = new Drop(this.datasetSchemaName, vConstructionTable.getDataSetTable().getName(), null, vConcatTableTempName); actionGraph.addActionWithParent(drop, concat); vConcatTableTempName = vPopulatedConcatTableTempName; // Index sourceDSKey columns. final MartConstructorAction indexCon = new Index( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vConcatTableTempName, vSourceKeyCols); actionGraph.addActionWithParent(indexCon, concat); // Generate new temp table name for merged table. final String vConcatTableFinalTempName = this.helper .getNewTempTableName(); // Merge with the concat table based on sourceDSKey -> // sourceDSKey and selecting the column with the same name as // concatColumn. final MartConstructorAction merge = new Merge( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vConcatTableFinalTempName, null, vTableTempName, vSourceKeyCols, true, null, vConcatTableTempName, vSourceKeyCols, Collections.singletonList(dsConcatCol), null, false, false, null, false); actionGraph.addActionWithParent(merge, indexCon); lastActionPerformed = merge; // Drop old temp table and replace with new one. drop = new Drop(this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vTableTempName); actionGraph.addActionWithParent(drop, merge); vTableTempName = vConcatTableFinalTempName; // Drop concat table. Dependent on lastActionPerformed, but // does not update it. final MartConstructorAction dropCon = new Drop( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vConcatTableTempName); actionGraph.addActionWithParent(dropCon, merge); // If concat table was a union table, drop it. if (useUnionMerge) { // Drop union concat table. Dependent on // lastActionPerformed, but does not update it. drop = new Drop(this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, rConcatTargetTableName); actionGraph.addActionWithParent(drop, merge); } } // Add all the expression columns. final List dsExpressionColumns = new ArrayList(); final List dsGroupByDependentColumns = new ArrayList(); for (final Iterator i = vConstructionTable.getDataSetTable() .getColumns().iterator(); i.hasNext();) { final Column dsCol = (Column) i.next(); if (dsCol instanceof ExpressionColumn) { final ExpressionColumn dsExpressionCol = (ExpressionColumn) dsCol; dsExpressionColumns.add(dsExpressionCol); dsExpressionCol.dropUnusedAliases(); if (dsExpressionCol.getGroupBy()) dsGroupByDependentColumns.addAll(dsExpressionCol .getDependentColumns()); } } if (!dsExpressionColumns.isEmpty()) { // Construct list of columns to select (and optionally // group by). List contains all unmasked columns on table, // minus expression columns, minus dependency columns from // group-by expression columns. final List vSelectedColumns = new ArrayList(vConstructionTable .getDataSetTable().getColumns()); vSelectedColumns.removeAll(vConstructionTable.getDataSet() .getMaskedDataSetColumns()); vSelectedColumns.removeAll(dsExpressionColumns); vSelectedColumns.removeAll(dsGroupByDependentColumns); // Generate new temp table name for merged table. final String vExpressionTableTempName = this.helper .getNewTempTableName(); // Create new table as select all from list // plus all expression columns using literal expression, // with optional group-by. final ExpressionAddColumns expr = new ExpressionAddColumns( this.datasetSchemaName, vConstructionTable .getDataSetTable().getName(), null, vTableTempName, null, vExpressionTableTempName, vSelectedColumns, dsExpressionColumns, !dsGroupByDependentColumns.isEmpty()); actionGraph.addActionWithParent(expr, lastActionPerformed); lastActionPerformed = expr; // Drop previous table. final Drop drop = new Drop(this.datasetSchemaName, vConstructionTable.getDataSetTable().getName(), null, vTableTempName); actionGraph.addActionWithParent(drop, expr); vTableTempName = vExpressionTableTempName; } // Update the temp table name. vConstructionTable.setTempTableName(vTableTempName); // Return the last action performed to create this table. vConstructionTable.setLastActionPerformed(lastActionPerformed); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/2b8dd16628b79ec9195e8350b98ec535914e853a/MartConstructor.java/clean/src/java/org/biomart/builder/model/MartConstructor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1207, 1388, 12, 6385, 7269, 1388, 331, 3054, 1388, 16, 9506, 202, 6385, 490, 485, 6293, 1803, 1122, 1803, 4584, 87, 1398, 16, 9506, 202, 6385, 490, 485, 6293, 1803, 4137, 1301, 4137, 16, 9506, 202, 6385, 4611, 436, 6376, 1388, 3078, 16, 727, 4611, 436, 3078, 16, 9506, 202, 6385, 7269, 1388, 331, 25485, 1388, 13, 1216, 1185, 288, 1082, 202, 759, 432, 6695, 364, 326, 1142, 1301, 9591, 603, 333, 1014, 18, 1082, 202, 49, 485, 6293, 1803, 1142, 19449, 273, 1122, 1803, 4584, 87, 1398, 31, 1082, 202, 759, 13022, 4505, 364, 508, 434, 326, 1018, 1906, 1014, 716, 903, 1082, 202, 759, 912, 326, 15688, 1014, 18, 1082, 202, 780, 331, 1388, 7185, 461, 273, 331, 25485, 1388, 18, 588, 7185, 7147, 5621, 1082, 202, 759, 971, 326, 1014, 353, 279, 22299, 1014, 16, 1508, 732, 848, 2027, 2168, 1082, 202, 759, 5122, 628, 326, 6808, 1014, 18, 1082, 202, 430, 261, 90, 25485, 1388, 18, 588, 13676, 1388, 7675, 588, 559, 7675, 14963, 12, 6862, 202, 13676, 1388, 559, 18, 19803, 3719, 288, 9506, 202, 759, 1660, 2037, 1608, 358, 1440, 596, 622, 1492, 1634, 358, 787, 326, 1207, 9506, 202, 759, 434, 27734, 326, 1014, 18, 12466, 1634, 353, 3344, 326, 9506, 202, 759, 6808, 9506, 202, 759, 1014, 16, 578, 326, 1122, 1014, 316, 326, 666, 434, 6808, 9506, 202, 759, 7467, 16, 9506, 202, 759, 309, 279, 666, 711, 2118, 1269, 18, 9506, 202, 6385, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1207, 1388, 12, 6385, 7269, 1388, 331, 3054, 1388, 16, 9506, 202, 6385, 490, 485, 6293, 1803, 1122, 1803, 4584, 87, 1398, 16, 9506, 202, 6385, 490, 485, 6293, 1803, 4137, 1301, 4137, 16, 9506, 202, 6385, 4611, 436, 6376, 1388, 3078, 16, 727, 4611, 436, 3078, 16, 9506, 202, 6385, 7269, 1388, 331, 25485, 1388, 13, 1216, 1185, 288, 1082, 202, 759, 432, 6695, 364, 326, 1142, 1301, 9591, 603, 333, 1014, 18, 1082, 202, 49, 485, 6293, 1803, 1142, 19449, 273, 1122, 1803, 4584, 87, 1398, 31, 1082, 202, 759, 13022, 4505, 364, 508, 434, 326, 1018, 1906, 1014, 716, 903, 1082, 202, 759, 912, 326, 15688, 1014, 18, 1082, 202, 780, 331, 2 ]
Collections.sort( storeLog );
storeLog.sort();
public static void sortStoreLog( boolean cycleSortType ) { if ( cycleSortType ) { switch ( currentLogSort ) { case RECENT_FIRST: currentLogSort = OLDEST_FIRST; break; case OLDEST_FIRST: currentLogSort = GROUP_BY_NAME; break; case GROUP_BY_NAME: currentLogSort = RECENT_FIRST; break; } } // Because StoreLogEntry objects use the current // internal variable to decide how to sort, a simple // function call will suffice. Collections.sort( storeLog ); }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/e0b99d73c7e70faae9ad430a8f4928a1d0b5dafa/StoreManager.java/buggy/src/net/sourceforge/kolmafia/StoreManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1524, 2257, 1343, 12, 1250, 8589, 4416, 559, 262, 202, 95, 202, 202, 430, 261, 8589, 4416, 559, 262, 202, 202, 95, 1082, 202, 9610, 261, 783, 1343, 4416, 262, 1082, 202, 95, 9506, 202, 3593, 2438, 19666, 67, 15354, 30, 6862, 202, 2972, 1343, 4416, 273, 531, 48, 1639, 882, 67, 15354, 31, 6862, 202, 8820, 31, 9506, 202, 3593, 531, 48, 1639, 882, 67, 15354, 30, 6862, 202, 2972, 1343, 4416, 273, 13839, 67, 6486, 67, 1985, 31, 6862, 202, 8820, 31, 9506, 202, 3593, 13839, 67, 6486, 67, 1985, 30, 6862, 202, 2972, 1343, 4416, 273, 2438, 19666, 67, 15354, 31, 6862, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 9506, 202, 759, 15191, 4994, 25548, 2184, 999, 326, 783, 202, 202, 759, 2713, 2190, 358, 16288, 3661, 358, 1524, 16, 279, 4143, 202, 202, 759, 445, 745, 903, 272, 3809, 1812, 18, 9506, 202, 15150, 18, 3804, 12, 1707, 1343, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1524, 2257, 1343, 12, 1250, 8589, 4416, 559, 262, 202, 95, 202, 202, 430, 261, 8589, 4416, 559, 262, 202, 202, 95, 1082, 202, 9610, 261, 783, 1343, 4416, 262, 1082, 202, 95, 9506, 202, 3593, 2438, 19666, 67, 15354, 30, 6862, 202, 2972, 1343, 4416, 273, 531, 48, 1639, 882, 67, 15354, 31, 6862, 202, 8820, 31, 9506, 202, 3593, 531, 48, 1639, 882, 67, 15354, 30, 6862, 202, 2972, 1343, 4416, 273, 13839, 67, 6486, 67, 1985, 31, 6862, 202, 8820, 31, 9506, 202, 3593, 13839, 67, 6486, 67, 1985, 30, 6862, 202, 2972, 1343, 4416, 273, 2438, 19666, 67, 15354, 31, 6862, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 2 ]
type = (Type)c.clone(type,true);
type = (Type) c.clone(type, true);
protected Type modifyEscapingType(Env env, SubstitutionVec s, Type type) { MultipleSubstitution ms = new MultipleSubstitution(s); CloneWithSubstitution c = new CloneWithSubstitution(ms); type = (Type)c.clone(type,true); if (type instanceof ArrayType) { // recurs for array case. This wastes some work, but the // alternative is to make a new clone class. ((ArrayType)type).elemType = modifyEscapingType(env, s, ((ArrayType)type).elemType); return type; } if (type instanceof TypeName) { type = TypeSig.getSig((TypeName)type); } if (type instanceof rcc.tc.TypeSig) { rcc.tc.TypeSig sig = (rcc.tc.TypeSig)type; if (sig.generic != null) { CloneForInstantiation ci = new CloneForInstantiation(ms); ExprVec args = (ExprVec)ci.clone(sig.expressions, true); type = ((rcc.tc.PrepTypeDeclaration)PrepTypeDeclaration.inst). findTypeSignature(env, sig.generic, args, Location.NULL); } } return type; }
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, 4750, 1412, 5612, 6412, 24447, 559, 12, 3491, 1550, 16, 2592, 14278, 12991, 272, 16, 1412, 618, 13, 288, 3639, 13531, 23798, 4086, 273, 394, 13531, 23798, 12, 87, 1769, 3639, 12758, 1190, 23798, 276, 273, 394, 12758, 1190, 23798, 12, 959, 1769, 3639, 618, 273, 261, 559, 13, 276, 18, 14056, 12, 723, 16, 638, 1769, 13491, 309, 261, 723, 1276, 29935, 13, 288, 5411, 368, 283, 2789, 225, 364, 526, 648, 18, 225, 1220, 341, 689, 281, 2690, 1440, 16, 1496, 326, 5411, 368, 225, 10355, 353, 358, 1221, 279, 394, 3236, 667, 18, 5411, 14015, 27182, 13, 723, 2934, 10037, 559, 273, 7734, 5612, 6412, 24447, 559, 12, 3074, 16, 272, 16, 14015, 27182, 13, 723, 2934, 10037, 559, 1769, 5411, 327, 618, 31, 3639, 289, 7734, 309, 261, 723, 1276, 21036, 13, 288, 5411, 618, 273, 1412, 8267, 18, 588, 8267, 12443, 7947, 13, 723, 1769, 3639, 289, 7734, 309, 261, 723, 1276, 436, 952, 18, 5111, 18, 559, 8267, 13, 288, 5411, 436, 952, 18, 5111, 18, 559, 8267, 3553, 273, 261, 86, 952, 18, 5111, 18, 559, 8267, 13, 723, 31, 5411, 309, 261, 7340, 18, 13540, 480, 446, 13, 288, 7734, 12758, 1290, 10675, 7072, 9039, 273, 394, 12758, 1290, 10675, 7072, 12, 959, 1769, 7734, 8074, 12991, 833, 273, 261, 4742, 12991, 13, 8450, 18, 14056, 12, 7340, 18, 21480, 16, 638, 1769, 7734, 618, 273, 14015, 86, 952, 18, 5111, 18, 15543, 559, 6094, 13, 15543, 559, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1412, 5612, 6412, 24447, 559, 12, 3491, 1550, 16, 2592, 14278, 12991, 272, 16, 1412, 618, 13, 288, 3639, 13531, 23798, 4086, 273, 394, 13531, 23798, 12, 87, 1769, 3639, 12758, 1190, 23798, 276, 273, 394, 12758, 1190, 23798, 12, 959, 1769, 3639, 618, 273, 261, 559, 13, 276, 18, 14056, 12, 723, 16, 638, 1769, 13491, 309, 261, 723, 1276, 29935, 13, 288, 5411, 368, 283, 2789, 225, 364, 526, 648, 18, 225, 1220, 341, 689, 281, 2690, 1440, 16, 1496, 326, 5411, 368, 225, 10355, 353, 358, 1221, 279, 394, 3236, 667, 18, 5411, 14015, 27182, 13, 723, 2934, 10037, 559, 273, 7734, 5612, 6412, 24447, 559, 12, 3074, 16, 272, 16, 14015, 27182, 13, 2 ]
SOAPEnvelope soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(new File(dir,"wrongSoapNs.xml")).getDocumentElement(); OMTestUtils.walkThrough(soapEnvelope);
SOAPEnvelope soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(new File(dir,"wrongSoapNs.xml")).getDocumentElement(); OMTestUtils.walkThrough(soapEnvelope);
public void testWrongSoapNs() throws Exception{ try { SOAPEnvelope soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(new File(dir,"wrongSoapNs.xml")).getDocumentElement(); OMTestUtils.walkThrough(soapEnvelope); } catch (OMException e) { e.printStackTrace(); System.out.println(e); }catch(AxisFault e){ e.printStackTrace(); System.out.println(e); } fail("this must failed gracefully with OMException or AxisFault"); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/d3b88c995816bcd7ba7715ee8be0eb768e7580d4/BadInputTest.java/buggy/dev/scratch/prototype2/src/test/org/apache/axis/om/BadInputTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 13634, 20601, 10386, 1435, 1216, 1185, 95, 3639, 775, 288, 2398, 16434, 10862, 9930, 10862, 273, 1171, 261, 27952, 10862, 13, 28839, 4709, 1989, 18, 588, 1872, 1263, 12, 2704, 1387, 12, 1214, 10837, 21530, 20601, 10386, 18, 2902, 7923, 2934, 588, 2519, 1046, 5621, 2398, 28839, 4709, 1989, 18, 11348, 14287, 12, 19215, 10862, 1769, 3639, 289, 1044, 261, 1872, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 5411, 2332, 18, 659, 18, 8222, 12, 73, 1769, 3639, 289, 14683, 12, 6558, 7083, 425, 15329, 5411, 425, 18, 1188, 6332, 5621, 5411, 2332, 18, 659, 18, 8222, 12, 73, 1769, 4202, 289, 4202, 2321, 2932, 2211, 1297, 2535, 25063, 598, 28839, 503, 578, 15509, 7083, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 13634, 20601, 10386, 1435, 1216, 1185, 95, 3639, 775, 288, 2398, 16434, 10862, 9930, 10862, 273, 1171, 261, 27952, 10862, 13, 28839, 4709, 1989, 18, 588, 1872, 1263, 12, 2704, 1387, 12, 1214, 10837, 21530, 20601, 10386, 18, 2902, 7923, 2934, 588, 2519, 1046, 5621, 2398, 28839, 4709, 1989, 18, 11348, 14287, 12, 19215, 10862, 1769, 3639, 289, 1044, 261, 1872, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 5411, 2332, 18, 659, 18, 8222, 12, 73, 1769, 3639, 289, 14683, 12, 6558, 7083, 425, 15329, 5411, 425, 18, 1188, 6332, 5621, 5411, 2332, 18, 659, 18, 8222, 12, 73, 1769, 4202, 289, 4202, 2321, 2932, 2211, 1297, 2535, 25063, 598, 28839, 503, 2 ]
(currTransX != prevTransX));
(currTransY != prevTransY));
public void componentTransformChanged(ComponentEvent event) { AffineTransform at = getRenderingTransform(); float currScale = (float)Math.sqrt(at.getDeterminant()); float currTransX = (float)at.getTranslateX(); float currTransY = (float)at.getTranslateY(); final boolean dispatchZoom = (currScale != prevScale); final boolean dispatchScroll = ((currTransX != prevTransX) || (currTransX != prevTransX)); if (isDynamicDocument && (updateManager != null) && updateManager.isRunning()) { updateManager.getUpdateRunnableQueue().invokeLater (new Runnable() { public void run() { try { if (dispatchZoom) updateManager.dispatchSVGZoomEvent(); if (dispatchScroll) updateManager.dispatchSVGScrollEvent(); } catch (InterruptedException ie) { } }}); } prevScale = currScale; prevTransX = currTransX; prevTransY = currTransY; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/4f98b48799692f7867a23e6ee74c70df23c89b86/JSVGComponent.java/clean/sources/org/apache/batik/swing/svg/JSVGComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1794, 4059, 5033, 12, 1841, 1133, 871, 13, 288, 5411, 23906, 558, 4059, 622, 273, 336, 14261, 4059, 5621, 5411, 1431, 4306, 5587, 225, 273, 261, 5659, 13, 10477, 18, 24492, 12, 270, 18, 588, 9139, 970, 10663, 5411, 1431, 4306, 1429, 60, 273, 261, 5659, 13, 270, 18, 588, 12818, 60, 5621, 5411, 1431, 4306, 1429, 61, 273, 261, 5659, 13, 270, 18, 588, 12818, 61, 5621, 5411, 727, 1250, 3435, 11497, 565, 273, 261, 17016, 5587, 480, 2807, 5587, 1769, 5411, 727, 1250, 3435, 6806, 225, 273, 14015, 17016, 1429, 60, 480, 2807, 1429, 60, 13, 747, 4766, 2398, 261, 17016, 1429, 61, 480, 2807, 1429, 61, 10019, 5411, 309, 261, 291, 9791, 2519, 597, 7734, 261, 2725, 1318, 480, 446, 13, 597, 1089, 1318, 18, 291, 7051, 10756, 288, 7734, 1089, 1318, 18, 588, 1891, 20013, 3183, 7675, 14407, 20607, 10792, 261, 2704, 10254, 1435, 288, 13491, 1071, 918, 1086, 1435, 288, 18701, 775, 288, 27573, 309, 261, 10739, 11497, 13, 19694, 1089, 1318, 18, 10739, 26531, 11497, 1133, 5621, 27573, 309, 261, 10739, 6806, 13, 4766, 565, 1089, 1318, 18, 10739, 26531, 6806, 1133, 5621, 18701, 289, 1044, 261, 24485, 503, 9228, 13, 288, 18701, 289, 13491, 10523, 1769, 5411, 289, 5411, 2807, 5587, 273, 4306, 5587, 31, 5411, 2807, 1429, 60, 273, 4306, 1429, 60, 31, 5411, 2807, 1429, 61, 273, 4306, 1429, 61, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1794, 4059, 5033, 12, 1841, 1133, 871, 13, 288, 5411, 23906, 558, 4059, 622, 273, 336, 14261, 4059, 5621, 5411, 1431, 4306, 5587, 225, 273, 261, 5659, 13, 10477, 18, 24492, 12, 270, 18, 588, 9139, 970, 10663, 5411, 1431, 4306, 1429, 60, 273, 261, 5659, 13, 270, 18, 588, 12818, 60, 5621, 5411, 1431, 4306, 1429, 61, 273, 261, 5659, 13, 270, 18, 588, 12818, 61, 5621, 5411, 727, 1250, 3435, 11497, 565, 273, 261, 17016, 5587, 480, 2807, 5587, 1769, 5411, 727, 1250, 3435, 6806, 225, 273, 14015, 17016, 1429, 60, 480, 2807, 1429, 60, 13, 747, 4766, 2398, 261, 17016, 1429, 61, 480, 2807, 1429, 61, 10019, 5411, 309, 261, 291, 9791, 2519, 2 ]
public final VM_Address allocSlowOnce(boolean isScalar, int bytes,
public final VM_Address allocSlowOnce(int bytes, int align, int offset,
public final VM_Address allocSlowOnce(boolean isScalar, int bytes, boolean inGC) throws VM_PragmaNoInline { VM_Address cell = allocFast(isScalar, bytes, inGC); if (!cell.isZero()) return cell; int sizeClass = getSizeClass(bytes); VM_Address current = currentBlock.get(sizeClass); if (!current.isZero()) { // zero the current (empty) free list if necessary if (preserveFreeList()) flushFreeList(current, sizeClass, VM_Address.zero()); // find a free list which is not empty current = BlockAllocator.getNextBlock(current); while (!current.isZero()) { cell = advanceToBlock(current, sizeClass); if (!cell.isZero()) { // this block has at least one free cell, so use it currentBlock.set(sizeClass, current); if (maintainInUse()) cellsInUse[sizeClass] = getInUse(current) + 1; freeList.set(sizeClass, getNextCell(cell)); setNextCell(cell, VM_Address.zero()); // clear out the free list link postAlloc(cell, currentBlock.get(sizeClass), sizeClass, bytes, inGC); return cell; } current = BlockAllocator.getNextBlock(current); } } cell = expandSizeClass(sizeClass); if (cell.isZero()) return VM_Address.zero(); if (maintainInUse()) cellsInUse[sizeClass]++; freeList.set(sizeClass, getNextCell(cell)); postAlloc(cell, currentBlock.get(sizeClass), sizeClass, bytes, inGC); Memory.zeroSmall(cell, VM_Extent.fromIntZeroExtend(bytes)); return cell; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/2537c3dad7417615d4a319082e556dbffe3513a1/SegregatedFreeList.java/buggy/MMTk/src/org/mmtk/utility/alloc/SegregatedFreeList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 8251, 67, 1887, 4767, 28733, 12212, 12, 474, 1731, 16, 509, 5689, 16, 509, 1384, 16, 4766, 3639, 1250, 316, 15396, 13, 377, 1216, 8251, 67, 2050, 9454, 2279, 10870, 288, 3639, 8251, 67, 1887, 2484, 273, 4767, 12305, 12, 291, 13639, 16, 1731, 16, 316, 15396, 1769, 565, 309, 16051, 3855, 18, 291, 7170, 10756, 4202, 327, 2484, 31, 3639, 509, 963, 797, 273, 9950, 797, 12, 3890, 1769, 565, 8251, 67, 1887, 783, 273, 30610, 18, 588, 12, 1467, 797, 1769, 565, 309, 16051, 2972, 18, 291, 7170, 10756, 288, 1377, 368, 3634, 326, 783, 261, 5531, 13, 4843, 666, 309, 4573, 1377, 309, 261, 27297, 9194, 682, 10756, 3639, 3663, 9194, 682, 12, 2972, 16, 963, 797, 16, 8251, 67, 1887, 18, 7124, 10663, 1377, 368, 1104, 279, 4843, 666, 1492, 353, 486, 1008, 1377, 783, 273, 3914, 21156, 18, 588, 2134, 1768, 12, 2972, 1769, 1377, 1323, 16051, 2972, 18, 291, 7170, 10756, 288, 3639, 2484, 273, 8312, 774, 1768, 12, 2972, 16, 963, 797, 1769, 3639, 309, 16051, 3855, 18, 291, 7170, 10756, 288, 1850, 368, 333, 1203, 711, 622, 4520, 1245, 4843, 2484, 16, 1427, 999, 518, 1850, 30610, 18, 542, 12, 1467, 797, 16, 783, 1769, 1850, 309, 261, 81, 1598, 530, 15435, 10756, 5983, 15435, 63, 1467, 797, 65, 273, 7854, 3727, 12, 2972, 13, 397, 404, 31, 1850, 4843, 682, 18, 542, 12, 1467, 797, 16, 6927, 4020, 12, 3855, 10019, 1850, 27674, 4020, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 8251, 67, 1887, 4767, 28733, 12212, 12, 474, 1731, 16, 509, 5689, 16, 509, 1384, 16, 4766, 3639, 1250, 316, 15396, 13, 377, 1216, 8251, 67, 2050, 9454, 2279, 10870, 288, 3639, 8251, 67, 1887, 2484, 273, 4767, 12305, 12, 291, 13639, 16, 1731, 16, 316, 15396, 1769, 565, 309, 16051, 3855, 18, 291, 7170, 10756, 4202, 327, 2484, 31, 3639, 509, 963, 797, 273, 9950, 797, 12, 3890, 1769, 565, 8251, 67, 1887, 783, 273, 30610, 18, 588, 12, 1467, 797, 1769, 565, 309, 16051, 2972, 18, 291, 7170, 10756, 288, 1377, 368, 3634, 326, 783, 261, 5531, 13, 4843, 666, 309, 4573, 1377, 309, 261, 27297, 9194, 682, 10756, 3639, 3663, 9194, 682, 12, 2 ]
label.setText(WorkbenchMessages.getString("FileExtension.fileTypeLabel"));
label.setText(WorkbenchMessages.getString("FileExtension.fileTypeLabel"));
protected Control createDialogArea(Composite parent) { // top level composite Composite parentComposite = (Composite)super.createDialogArea(parent); // create a composite with standard margins and spacing Composite contents = new Composite(parentComposite, SWT.NONE); GridLayout layout = new GridLayout(); layout.marginHeight = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN); layout.marginWidth = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN); layout.verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING); layout.horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING); layout.numColumns = 2; contents.setLayout(layout); contents.setLayoutData(new GridData(GridData.FILL_BOTH)); contents.setFont(parentComposite.getFont()); setTitle(WorkbenchMessages.getString("FileExtension.dialogTitle")); setMessage(WorkbenchMessages.getString("FileExtension.fileTypeMessage")); // begin the layout Label label = new Label(contents, SWT.LEFT); label.setText(WorkbenchMessages.getString("FileExtension.fileTypeLabel")); //$NON-NLS-1$ GridData data = new GridData(); data.horizontalAlignment = GridData.FILL; label.setLayoutData(data); label.setFont(parent.getFont()); filenameField = new Text(contents, SWT.SINGLE | SWT.BORDER); filenameField.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent event) { if (event.widget == filenameField) { filename = filenameField.getText().trim(); okButton.setEnabled(validateFileType()); } } }); data = new GridData(); data.horizontalAlignment = GridData.FILL; data.grabExcessHorizontalSpace = true; filenameField.setLayoutData(data); filenameField.setFocus(); return contents; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/80cfecc0fb5392981e25acee0f567feb8ed55185/FileExtensionDialog.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/FileExtensionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6353, 5484, 12, 9400, 982, 13, 288, 202, 202, 759, 1760, 1801, 9635, 202, 202, 9400, 982, 9400, 273, 261, 9400, 13, 9565, 18, 2640, 6353, 5484, 12, 2938, 1769, 9506, 202, 759, 752, 279, 9635, 598, 4529, 24889, 471, 13259, 202, 202, 9400, 2939, 273, 394, 14728, 12, 2938, 9400, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 10107, 2686, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 19772, 7702, 1769, 202, 202, 6741, 18, 10107, 2384, 273, 1765, 14457, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 44, 20344, 67, 19772, 7702, 1769, 202, 202, 6741, 18, 17824, 18006, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 3118, 2226, 1360, 1769, 202, 202, 6741, 18, 18396, 18006, 273, 1765, 14457, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 44, 20344, 67, 3118, 2226, 1360, 1769, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 3980, 18, 542, 3744, 12, 6741, 1769, 202, 202, 3980, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 202, 202, 3980, 18, 542, 5711, 12, 2938, 9400, 18, 588, 5711, 10663, 202, 202, 542, 4247, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 812, 3625, 18, 12730, 4247, 7923, 1769, 202, 202, 542, 1079, 12, 2421, 22144, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6353, 5484, 12, 9400, 982, 13, 288, 202, 202, 759, 1760, 1801, 9635, 202, 202, 9400, 982, 9400, 273, 261, 9400, 13, 9565, 18, 2640, 6353, 5484, 12, 2938, 1769, 9506, 202, 759, 752, 279, 9635, 598, 4529, 24889, 471, 13259, 202, 202, 9400, 2939, 273, 394, 14728, 12, 2938, 9400, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 10107, 2686, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 19772, 7702, 1769, 202, 202, 6741, 18, 10107, 2384, 273, 1765, 14457, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 44, 20344, 67, 19772, 7702, 2 ]
/* There are no copies relevant to path@revision. So any remaining revisions either predate the creation of path@revision or have the node existing at the same path. We will look up path@lrev for each remaining location-revision and make sure it is related to path@revision. */ root = FSReader.getRootRevNode(myReposRootDir, revision); FSRevisionNode curNode = FSReader.getRevisionNode(myReposRootDir, path, root, 0);
/* There are no copies relevant to path@revision. So any remaining * revisions either predate the creation of path@revision or have * the node existing at the same path. We will look up path@lrev * for each remaining location-revision and make sure it is related * to path@revision. */ root = myRevNodesPool.getRootRevisionNode(revision, myReposRootDir); FSRevisionNode curNode = myRevNodesPool.getRevisionNode(root, path, myReposRootDir);
public int getLocations(String pathCame, long pegRevision, long[] revisions, ISVNLocationEntryHandler handler) throws SVNException { assertValidRevision(pegRevision); for (int i = 0; i < revisions.length; i++) { assertValidRevision(revisions[i]); } try{ openRepository(); pathCame = getRepositoryPath(pathCame); ArrayList locationEntries = new ArrayList(0); long[] locationRevs = new long[revisions.length]; long revision; FSRevisionNode root = null; String parentPath = super.getRepositoryPath(pathCame); //check if parentPath is really absolute path relatively to repository if(parentPath.charAt(0) != '/'){ parentPath = "/".concat(parentPath); } //Sort revisions from greatest downward Arrays.sort(revisions); for(int count = 0; count < revisions.length; ++count){ locationRevs[count] = revisions[revisions.length-(count+1)]; } //Ignore revisions R that are younger than the pegRevisions where //path@pegRevision is not an ancestor of path@R. int count = 0; boolean resultAncestry = false; for(count=0; count<locationRevs.length && locationRevs[count]>pegRevision; ++count){ try{ resultAncestry = FSNodeHistory.checkAncestryOfPegPath(myReposRootDir, parentPath, pegRevision, locationRevs[count], myRevNodesPool); }catch(SVNException ex){ /*TODO determine exception for FSFileNotFoundInSpecifiedRevisionException*/ continue; } if(true == resultAncestry){ break; } } if(count >= locationRevs.length){ return 0; } revision = resultAncestry ? locationRevs[count] : pegRevision; String path = parentPath; while(count < revisions.length){ //Find the target of the innermost copy relevant to path@revision. //The copy may be of path itself, or of a parent directory. root = FSReader.getRootRevNode(myReposRootDir, revision); FSClosestCopy tempClCopy = closestCopy(myReposRootDir, root, path); if(tempClCopy == null){ break; } FSRevisionNode croot = tempClCopy.getRevisionNode(); if(croot == null){ break; } String cpath = tempClCopy.getPath(); //Assign the current path to all younger revisions until we reach //the copy target rev long crev = croot.getId().isTxn() ? FSConstants.SVN_INVALID_REVNUM : croot.getId().getRevision(); while((count < revisions.length) && (locationRevs[count] >= crev)){ locationEntries.add(new SVNLocationEntry(locationRevs[count], path)); ++count; } // Follow the copy to its source. Ignore all revs between the // copy target rev and the copy source rev (non-inclusive). SVNLocationEntry sEntry = FSReader.copiedFrom(myReposRootDir, croot, cpath, myRevNodesPool); /*!!here is inconsitance with code of svn: they write locationRevs[count] > sEntry.getRevision()*/ while((count < revisions.length) && locationRevs[count] >= sEntry.getRevision() ){ ++count; } /* Ultimately, it's not the path of the closest copy's source that we care about -- it's our own path's location in the copy source revision. So we'll tack the relative path that expresses the difference between the copy destination and our path in the copy revision onto the copy source path to determine this information. In other words, if our path is "/branches/my-branch/foo/bar", and we know that the closest relevant copy was a copy of "/trunk" to "/branches/my-branch", then that relative path under the copy destination is "/foo/bar". Tacking that onto the copy source path tells us that our path was located at "/trunk/foo/bar" before the copy. */ String reminder = path.equals(cpath) ? new String("") : new String(SVNPathUtil.pathIsChild(cpath, path)); path = SVNPathUtil.concatToAbs(sEntry.getPath(), reminder); revision = sEntry.getRevision(); } /* There are no copies relevant to path@revision. So any remaining revisions either predate the creation of path@revision or have the node existing at the same path. We will look up path@lrev for each remaining location-revision and make sure it is related to path@revision. */ root = FSReader.getRootRevNode(myReposRootDir, revision); FSRevisionNode curNode = FSReader.getRevisionNode(myReposRootDir, path, root, 0); while(count < revisions.length){ SVNNodeKind kind = null; root = FSReader.getRootRevNode(myReposRootDir, locationRevs[count]); kind = this.checkNodeKind(path, FSRoot.createRevisionRoot(root.getId().getRevision(), root)); if(kind == SVNNodeKind.NONE){ break; } FSRevisionNode currentNode = FSReader.getRevisionNode(myReposRootDir, path, root, 0); if( FSID.checkIdsRelated(curNode.getId(), currentNode.getId()) == false ){ break; } locationEntries.add(new SVNLocationEntry(locationRevs[count], path)); ++count; } for(count = 0; count < locationEntries.size(); count++) { /*sure we have handler*/ if(handler != null){ handler.handleLocationEntry((SVNLocationEntry)locationEntries.get(count)); } } return count; }finally{ closeRepository(); } }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/3de4e7e298b05186659154d8fdb3899509e55875/FSRepository.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/fs/FSRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 10985, 12, 780, 589, 39, 339, 16, 1525, 29231, 7939, 16, 1525, 8526, 18325, 16, 4437, 58, 50, 2735, 1622, 1503, 1838, 13, 1216, 29537, 50, 503, 288, 3639, 1815, 1556, 7939, 12, 9001, 7939, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 18325, 18, 2469, 31, 277, 27245, 288, 5411, 1815, 1556, 7939, 12, 29892, 63, 77, 19226, 3639, 289, 3639, 775, 95, 377, 202, 202, 3190, 3305, 5621, 5411, 589, 39, 339, 273, 8261, 743, 12, 803, 39, 339, 1769, 5411, 2407, 2117, 5400, 273, 394, 2407, 12, 20, 1769, 13491, 1525, 8526, 2117, 426, 6904, 273, 394, 1525, 63, 29892, 18, 2469, 15533, 5411, 1525, 6350, 31, 5411, 9247, 7939, 907, 1365, 273, 446, 31, 2398, 202, 5411, 514, 17743, 273, 2240, 18, 588, 3305, 743, 12, 803, 39, 339, 1769, 13491, 368, 1893, 309, 17743, 353, 8654, 4967, 589, 1279, 17526, 358, 3352, 5411, 309, 12, 2938, 743, 18, 3001, 861, 12, 20, 13, 480, 2023, 15329, 2398, 202, 2938, 743, 273, 4016, 18, 16426, 12, 2938, 743, 1769, 5411, 289, 5411, 368, 4416, 18325, 628, 18825, 395, 2588, 2913, 5411, 5647, 18, 3804, 12, 29892, 1769, 5411, 364, 12, 474, 1056, 273, 374, 31, 1056, 411, 18325, 18, 2469, 31, 965, 1883, 15329, 2398, 202, 3562, 426, 6904, 63, 1883, 65, 273, 18325, 63, 29892, 18, 2469, 17, 12, 1883, 15, 21, 13, 15533, 5411, 289, 4766, 565, 202, 759, 3777, 18325, 534, 716, 854, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 10985, 12, 780, 589, 39, 339, 16, 1525, 29231, 7939, 16, 1525, 8526, 18325, 16, 4437, 58, 50, 2735, 1622, 1503, 1838, 13, 1216, 29537, 50, 503, 288, 3639, 1815, 1556, 7939, 12, 9001, 7939, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 18325, 18, 2469, 31, 277, 27245, 288, 5411, 1815, 1556, 7939, 12, 29892, 63, 77, 19226, 3639, 289, 3639, 775, 95, 377, 202, 202, 3190, 3305, 5621, 5411, 589, 39, 339, 273, 8261, 743, 12, 803, 39, 339, 1769, 5411, 2407, 2117, 5400, 273, 394, 2407, 12, 20, 1769, 13491, 1525, 8526, 2117, 426, 6904, 273, 394, 1525, 63, 29892, 18, 2469, 15533, 5411, 1525, 6350, 31, 5411, 9247, 2 ]
public void addStructure(JStructure jStructure) throws IllegalArgumentException { if (jStructure instanceof JInterface) addInterface((JInterface)jStructure); else if (jStructure instanceof JClass) addClass((JClass)jStructure); else {
public void addStructure(final JStructure jStructure) { if (jStructure instanceof JInterface) { addInterface((JInterface) jStructure); } else if (jStructure instanceof JClass) { addClass((JClass) jStructure); } else {
public void addStructure(JStructure jStructure) throws IllegalArgumentException { if (jStructure instanceof JInterface) addInterface((JInterface)jStructure); else if (jStructure instanceof JClass) addClass((JClass)jStructure); else { String err = "Unknown JStructure subclass '" + jStructure.getClass().getName() + "'."; throw new IllegalArgumentException(err); } } //-- addStructure
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/34c708e3c0e8dd4b42534f5834f9a280e0c9968b/JCompUnit.java/buggy/castor/trunk/src/main/java/org/exolab/javasource/JCompUnit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 6999, 12, 46, 6999, 525, 6999, 13, 3639, 1216, 2754, 565, 288, 3639, 309, 261, 78, 6999, 1276, 804, 1358, 13, 5411, 527, 1358, 12443, 46, 1358, 13, 78, 6999, 1769, 3639, 469, 309, 261, 78, 6999, 1276, 804, 797, 13, 5411, 9058, 12443, 46, 797, 13, 78, 6999, 1769, 3639, 469, 3639, 288, 5411, 514, 393, 273, 315, 4874, 804, 6999, 10177, 2119, 1171, 397, 525, 6999, 18, 588, 797, 7675, 17994, 1435, 397, 30156, 31, 5411, 604, 394, 2754, 12, 370, 1769, 3639, 289, 565, 289, 368, 413, 527, 6999, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 6999, 12, 46, 6999, 525, 6999, 13, 3639, 1216, 2754, 565, 288, 3639, 309, 261, 78, 6999, 1276, 804, 1358, 13, 5411, 527, 1358, 12443, 46, 1358, 13, 78, 6999, 1769, 3639, 469, 309, 261, 78, 6999, 1276, 804, 797, 13, 5411, 9058, 12443, 46, 797, 13, 78, 6999, 1769, 3639, 469, 3639, 288, 5411, 514, 393, 273, 315, 4874, 804, 6999, 10177, 2119, 1171, 397, 525, 6999, 18, 588, 797, 7675, 17994, 1435, 397, 30156, 31, 5411, 604, 394, 2754, 12, 370, 1769, 3639, 289, 565, 289, 368, 413, 527, 6999, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
BufferedReader bis = new BufferedReader(new InputStreamReader(is, "UTF-8")); String line;
public void load(InputStream is) throws IOException { BufferedReader bis = new BufferedReader(new InputStreamReader(is, "UTF-8")); String line; ngrams.clear(); while ((line = bis.readLine()) != null) { // # starts a comment line if (line.charAt(0) != '#') { int spacepos = line.indexOf(' '); String ngramsequence = line.substring(0, spacepos).trim(); int ngramcount = Integer.parseInt(line.substring(spacepos + 1)); if (!line.startsWith("ngram_count")) { NGramEntry en = new NGramEntry(ngramsequence, ngramcount); ngrams.put(en.getSeq(), en); } else { this.ngramcount = ngramcount; } } } normalize(); }
1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/2242f009e69f5462aa35c25150facf524d0f30da/NGramProfile.java/buggy/src/plugin/languageidentifier/src/java/org/apache/nutch/analysis/lang/NGramProfile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1262, 12, 4348, 353, 13, 1216, 1860, 288, 565, 10633, 17771, 273, 394, 10633, 12, 2704, 15322, 12, 291, 16, 315, 5159, 17, 28, 7923, 1769, 565, 514, 980, 31, 565, 20368, 87, 18, 8507, 5621, 565, 1323, 14015, 1369, 273, 17771, 18, 896, 1670, 10756, 480, 446, 13, 288, 1377, 368, 468, 2542, 279, 2879, 980, 1377, 309, 261, 1369, 18, 3001, 861, 12, 20, 13, 480, 2946, 6134, 288, 3639, 509, 3476, 917, 273, 980, 18, 31806, 2668, 28005, 3639, 514, 20368, 6178, 273, 980, 18, 28023, 12, 20, 16, 3476, 917, 2934, 5290, 5621, 3639, 509, 20368, 1883, 273, 2144, 18, 2670, 1702, 12, 1369, 18, 28023, 12, 2981, 917, 397, 404, 10019, 3639, 309, 16051, 1369, 18, 17514, 1190, 2932, 82, 3295, 67, 1883, 6, 3719, 288, 1850, 423, 43, 1940, 1622, 570, 273, 394, 423, 43, 1940, 1622, 12, 82, 3295, 6178, 16, 20368, 1883, 1769, 1850, 20368, 87, 18, 458, 12, 275, 18, 588, 6926, 9334, 570, 1769, 3639, 289, 469, 288, 1850, 333, 18, 82, 3295, 1883, 273, 20368, 1883, 31, 3639, 289, 1377, 289, 565, 289, 565, 3883, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1262, 12, 4348, 353, 13, 1216, 1860, 288, 565, 10633, 17771, 273, 394, 10633, 12, 2704, 15322, 12, 291, 16, 315, 5159, 17, 28, 7923, 1769, 565, 514, 980, 31, 565, 20368, 87, 18, 8507, 5621, 565, 1323, 14015, 1369, 273, 17771, 18, 896, 1670, 10756, 480, 446, 13, 288, 1377, 368, 468, 2542, 279, 2879, 980, 1377, 309, 261, 1369, 18, 3001, 861, 12, 20, 13, 480, 2946, 6134, 288, 3639, 509, 3476, 917, 273, 980, 18, 31806, 2668, 28005, 3639, 514, 20368, 6178, 273, 980, 18, 28023, 12, 20, 16, 3476, 917, 2934, 5290, 5621, 3639, 509, 20368, 1883, 273, 2144, 18, 2670, 1702, 12, 1369, 18, 28023, 12, 2981, 917, 397, 404, 10019, 2 ]
for (final Section otherSection : getSite().getAssociatedSectionsSet()) { if (otherSection.getSuperiorSection() == getSuperiorSection()) { if (otherSection != this) { final int otherOrder = otherSection.getSectionOrder().intValue(); if (moveUp) { if (otherOrder > oldOrder && otherOrder <= newOrder) { otherSection.setSectionOrder(Integer.valueOf(otherOrder - 1)); } } else { if (otherOrder >= newOrder && otherOrder < oldOrder) { otherSection.setSectionOrder(Integer.valueOf(otherOrder + 1));
if (moveUp && order != null) { newOrder--; } if (newOrder != oldOrder) { for (final Section otherSection : getAssociatedSectionsSet()) { if (otherSection.getSuperiorSection() == getSuperiorSection()) { if (this != otherSection) { final int otherOrder = otherSection.getSectionOrder().intValue(); if (moveUp) { if (otherOrder > oldOrder && otherOrder <= newOrder) { otherSection.setSectionOrder(Integer.valueOf(otherOrder - 1)); } } else { if (otherOrder >= newOrder && otherOrder < oldOrder) { otherSection.setSectionOrder(Integer.valueOf(otherOrder + 1)); }
public void edit(final MultiLanguageString name, final Integer order) { if (name == null) { throw new NullPointerException(); } setLastModifiedDateYearMonthDay(new YearMonthDay()); setName(name); if (getSectionOrder() == null) { setSectionOrder(Integer.valueOf(Integer.MAX_VALUE)); } final int newOrder = getNewOrder(order); final int oldOrder = getSectionOrder().intValue(); if (newOrder != oldOrder) { final boolean moveUp = newOrder > oldOrder; for (final Section otherSection : getSite().getAssociatedSectionsSet()) { if (otherSection.getSuperiorSection() == getSuperiorSection()) { if (otherSection != this) { final int otherOrder = otherSection.getSectionOrder().intValue(); if (moveUp) { if (otherOrder > oldOrder && otherOrder <= newOrder) { otherSection.setSectionOrder(Integer.valueOf(otherOrder - 1)); } } else { if (otherOrder >= newOrder && otherOrder < oldOrder) { otherSection.setSectionOrder(Integer.valueOf(otherOrder + 1)); } } } } } setSectionOrder(Integer.valueOf(newOrder)); } }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/af85e8f72a4392e5e1b7c9b91b136c3b815b9988/Section.java/clean/src/net/sourceforge/fenixedu/domain/Section.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3874, 12, 6385, 5991, 3779, 780, 508, 16, 727, 2144, 1353, 13, 288, 202, 430, 261, 529, 422, 446, 13, 288, 202, 565, 604, 394, 10108, 5621, 202, 97, 202, 542, 14747, 1626, 5593, 5445, 4245, 12, 2704, 16666, 5445, 4245, 10663, 202, 542, 461, 12, 529, 1769, 202, 430, 261, 588, 5285, 2448, 1435, 422, 446, 13, 288, 202, 565, 444, 5285, 2448, 12, 4522, 18, 1132, 951, 12, 4522, 18, 6694, 67, 4051, 10019, 202, 97, 202, 6385, 509, 394, 2448, 273, 12654, 2448, 12, 1019, 1769, 202, 6385, 509, 1592, 2448, 273, 22103, 2448, 7675, 474, 620, 5621, 202, 430, 261, 2704, 2448, 480, 1592, 2448, 13, 288, 202, 565, 727, 1250, 3635, 1211, 273, 394, 2448, 405, 1592, 2448, 31, 202, 565, 364, 261, 6385, 10092, 1308, 5285, 294, 11021, 7675, 588, 19233, 15965, 694, 10756, 288, 202, 202, 430, 261, 3011, 5285, 18, 588, 8051, 9659, 5285, 1435, 422, 15172, 9659, 5285, 10756, 288, 1082, 565, 309, 261, 3011, 5285, 480, 333, 13, 288, 1082, 202, 6385, 509, 1308, 2448, 273, 1308, 5285, 18, 588, 5285, 2448, 7675, 474, 620, 5621, 1082, 202, 430, 261, 8501, 1211, 13, 288, 9506, 565, 309, 261, 3011, 2448, 405, 1592, 2448, 597, 1308, 2448, 1648, 394, 2448, 13, 288, 9506, 202, 3011, 5285, 18, 542, 5285, 2448, 12, 4522, 18, 1132, 951, 12, 3011, 2448, 300, 404, 10019, 9506, 565, 289, 1082, 202, 97, 469, 288, 9506, 565, 309, 261, 3011, 2448, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3874, 12, 6385, 5991, 3779, 780, 508, 16, 727, 2144, 1353, 13, 288, 202, 430, 261, 529, 422, 446, 13, 288, 202, 565, 604, 394, 10108, 5621, 202, 97, 202, 542, 14747, 1626, 5593, 5445, 4245, 12, 2704, 16666, 5445, 4245, 10663, 202, 542, 461, 12, 529, 1769, 202, 430, 261, 588, 5285, 2448, 1435, 422, 446, 13, 288, 202, 565, 444, 5285, 2448, 12, 4522, 18, 1132, 951, 12, 4522, 18, 6694, 67, 4051, 10019, 202, 97, 202, 6385, 509, 394, 2448, 273, 12654, 2448, 12, 1019, 1769, 202, 6385, 509, 1592, 2448, 273, 22103, 2448, 7675, 474, 620, 5621, 202, 430, 261, 2704, 2448, 480, 1592, 2448, 13, 288, 202, 565, 727, 1250, 3635, 2 ]
addTableFromSQLWithReplacements("ipinterface", new String[][] { new String[] { "(?i)id\\s+integer default nextval\\('opennmsNxtId'\\) not null,", "" }, new String[] { "(?i)constraint ipinterface_pkey primary key \\(id\\),", "" } });
addTableFromSQLWithReplacements("ipinterface", new String[][] { new String[] { "(?i)id\\s+integer default nextval\\('opennmsNxtId'\\) not null,", "" }, new String[] { "(?i)constraint ipinterface_pkey primary key \\(id\\),", "" } });
public void testIfServicesForeignKeyIpInterfaceIdOnUpgrade() throws Exception { if (!isDBTestEnabled()) { return; } m_installer.createSequences(); for (int i = 0; i < 10; i++) { executeSQL("SELECT nextval('opennmsNxtId');"); } addTableFromSQL("distPoller"); addTableFromSQL("node"); addTableFromSQL("snmpinterface"); // No ID column addTableFromSQLWithReplacements("ipinterface", new String[][] { new String[] { "(?i)id\\s+integer default nextval\\('opennmsNxtId'\\) not null,", "" }, new String[] { "(?i)constraint ipinterface_pkey primary key \\(id\\),", "" } }); addTableFromSQL("service"); // No ID or ipInterfaceID column addTableFromSQLWithReplacements("ifservices", new String[][] { new String[] { "(?i)id\\s+integer default nextval\\('opennmsNxtId'\\) not null,", "" }, new String[] { "(?i)constraint ifServices_pkey primary key \\(id\\),", "" }, new String[] { "(?i)ipInterfaceID\\s+integer not null,", "" }, new String[] { "(?i)constraint ipinterface_fkey foreign key \\(ipInterfaceId\\) references ipInterface \\(id\\) ON DELETE CASCADE,", "" } }); executeSQL("INSERT INTO node (nodeId, nodeCreateTime) VALUES ( 1, now() )"); executeSQL("INSERT INTO ipInterface (nodeId, ipAddr, ifIndex) VALUES ( 1, '1.2.3.4', null )"); executeSQL("INSERT INTO ipInterface (nodeId, ipAddr, ifIndex) VALUES ( 1, '1.2.3.9', 1 )"); executeSQL("INSERT INTO service (serviceID, serviceName) VALUES ( 1, 'COFFEE-READY' )"); executeSQL("INSERT INTO ifServices (nodeID, ipAddr, ifIndex, serviceID) VALUES ( 1, '1.2.3.4', null, 1)"); executeSQL("INSERT INTO ifServices (nodeID, ipAddr, ifIndex, serviceID) VALUES ( 1, '1.2.3.9', 1, 1)"); m_installer.createTables(); Statement st = m_installer.m_dbconnection.createStatement(); ResultSet rs = st.executeQuery("SELECT id from ipInterface"); int count = 0; for (int expected = 1; rs.next(); expected++) { assertEquals("expected ipInterface id", expected, rs.getInt(1)); count++; } assertEquals("expected column count", 2, count); rs = st.executeQuery("SELECT id, ipInterfaceID from ifServices"); count = 0; for (int expected = 1; rs.next(); expected++) { assertEquals("expected ifServices id", expected, rs.getInt(1)); assertEquals("expected ifServices ipInterfaceId", expected, rs.getInt(2)); count++; } assertEquals("expected column count", 2, count); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/9c0a59382d378a750edf84524762ab71e335b4b3/InstallerDBTest.java/buggy/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2047, 5676, 15420, 5273, 1358, 548, 1398, 10784, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1728, 31, 277, 27245, 288, 5411, 1836, 3997, 2932, 4803, 1024, 1125, 2668, 3190, 82, 959, 50, 15239, 548, 8284, 8863, 3639, 289, 7734, 527, 1388, 1265, 3997, 2932, 4413, 5850, 749, 8863, 3639, 527, 1388, 1265, 3997, 2932, 2159, 8863, 3639, 527, 1388, 1265, 3997, 2932, 26527, 5831, 8863, 2868, 368, 2631, 1599, 1057, 3639, 527, 1388, 1265, 3997, 1190, 28440, 2932, 625, 5831, 3113, 394, 514, 63, 6362, 65, 288, 7734, 394, 514, 8526, 288, 315, 3680, 77, 13, 350, 1695, 87, 15, 7745, 805, 1024, 1125, 1695, 2668, 3190, 82, 959, 50, 15239, 548, 11, 1695, 13, 486, 446, 16, 3113, 1408, 19879, 7734, 394, 514, 8526, 288, 315, 3680, 77, 13, 13364, 2359, 5831, 67, 84, 856, 3354, 498, 1736, 12, 350, 1695, 3631, 3113, 1408, 289, 7734, 15549, 7734, 527, 1388, 1265, 3997, 2932, 3278, 8863, 7734, 368, 2631, 1599, 578, 2359, 1358, 734, 1057, 3639, 527, 1388, 1265, 3997, 1190, 28440, 2932, 430, 8387, 3113, 394, 514, 63, 6362, 65, 288, 7734, 394, 514, 8526, 288, 315, 3680, 77, 13, 350, 1695, 87, 15, 7745, 805, 1024, 1125, 1695, 2668, 3190, 82, 959, 50, 15239, 548, 11, 1695, 13, 486, 446, 16, 3113, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2047, 5676, 15420, 5273, 1358, 548, 1398, 10784, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1728, 31, 277, 27245, 288, 5411, 1836, 3997, 2932, 4803, 1024, 1125, 2668, 3190, 82, 959, 50, 15239, 548, 8284, 8863, 3639, 289, 7734, 527, 1388, 1265, 3997, 2932, 4413, 5850, 749, 8863, 3639, 527, 1388, 1265, 3997, 2932, 2159, 8863, 3639, 527, 1388, 1265, 3997, 2932, 26527, 5831, 8863, 2868, 368, 2631, 1599, 1057, 3639, 527, 1388, 1265, 3997, 1190, 28440, 2932, 625, 5831, 3113, 394, 514, 63, 6362, 65, 2 ]
e.printStackTrace();
Logger.getLogger("SerMovieGuide2Xml").error(e.getMessage());
public SerMovieGuide2Xml(String file, GuiMainView view) { try { mainView=view; bar=view.getTabMovieGuide().getJProgressBarDownload(); path = file; doc = SerXMLHandling.createEmptyMovieguideFile(); root = doc.getRootElement(); createHashTable(); storeOrignalMG = ControlMain.getSettingsMovieGuide().isMgStoreOriginal(); } catch (IOException e) { e.printStackTrace(); } }
13062 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13062/9093b0525eec7afc18ba1205a9d79d8a1a3c5f90/SerMovieGuide2Xml.java/clean/jtg/service/SerMovieGuide2Xml.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1275, 16727, 13120, 17424, 22, 4432, 12, 780, 585, 16, 611, 4881, 6376, 1767, 1476, 13, 288, 377, 202, 202, 698, 288, 377, 1082, 202, 5254, 1767, 33, 1945, 31, 9506, 202, 3215, 33, 1945, 18, 588, 5661, 16727, 13120, 17424, 7675, 588, 46, 31547, 7109, 5621, 9506, 202, 803, 273, 585, 31, 9506, 202, 2434, 273, 1275, 4201, 14701, 18, 2640, 1921, 16727, 522, 1332, 89, 831, 812, 5621, 9506, 202, 3085, 273, 997, 18, 588, 2375, 1046, 5621, 9506, 202, 2640, 2310, 1388, 5621, 9506, 202, 2233, 1162, 724, 287, 49, 43, 273, 8888, 6376, 18, 588, 2628, 16727, 13120, 17424, 7675, 291, 49, 75, 2257, 8176, 5621, 377, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 73, 18, 1188, 6332, 5621, 1082, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1275, 16727, 13120, 17424, 22, 4432, 12, 780, 585, 16, 611, 4881, 6376, 1767, 1476, 13, 288, 377, 202, 202, 698, 288, 377, 1082, 202, 5254, 1767, 33, 1945, 31, 9506, 202, 3215, 33, 1945, 18, 588, 5661, 16727, 13120, 17424, 7675, 588, 46, 31547, 7109, 5621, 9506, 202, 803, 273, 585, 31, 9506, 202, 2434, 273, 1275, 4201, 14701, 18, 2640, 1921, 16727, 522, 1332, 89, 831, 812, 5621, 9506, 202, 3085, 273, 997, 18, 588, 2375, 1046, 5621, 9506, 202, 2640, 2310, 1388, 5621, 9506, 202, 2233, 1162, 724, 287, 49, 43, 273, 8888, 6376, 18, 588, 2628, 16727, 13120, 17424, 7675, 291, 49, 75, 2257, 8176, 5621, 377, 202, 202, 97, 1044, 261, 14106, 2 ]
return s.toString();
String result = s.toString(); String lowerResult = result.toLowerCase(); String base = lowerResult; int count = 0; if (classNames == null) classNames = new Hashtable(); while (classNames.get(lowerResult) != null) { lowerResult = base + ++count; } classNames.put(lowerResult, Boolean.TRUE); return count == 0 ? result : (result + count);
public synchronized String getJavaScriptClassName(String functionName, boolean primary) { StringBuffer s = new StringBuffer(); if (packageName != null && packageName.length() > 0) { s.append(packageName); s.append('.'); } s.append(initialName); if (generatingDirectory != null) { if (functionName != null) { s.append('$'); s.append(functionName); } else if (!primary) { s.append(++serial); } } else { s.append(globalSerial++); } return s.toString(); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/87a029eeb9e11da90f85b7a2975c3e0691f2d244/OptClassNameHelper.java/buggy/js/rhino/org/mozilla/javascript/optimizer/OptClassNameHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 514, 336, 16634, 3834, 12, 780, 14117, 16, 4766, 15604, 1250, 3354, 13, 377, 288, 3639, 6674, 272, 273, 394, 6674, 5621, 3639, 309, 261, 5610, 461, 480, 446, 597, 9929, 18, 2469, 1435, 405, 374, 13, 288, 5411, 272, 18, 6923, 12, 5610, 461, 1769, 5411, 272, 18, 6923, 2668, 1093, 1769, 3639, 289, 3639, 272, 18, 6923, 12, 6769, 461, 1769, 3639, 309, 261, 3441, 1776, 2853, 480, 446, 13, 288, 5411, 309, 261, 915, 461, 480, 446, 13, 288, 7734, 272, 18, 6923, 2668, 8, 8284, 7734, 272, 18, 6923, 12, 915, 461, 1769, 5411, 289, 469, 309, 16051, 8258, 13, 288, 7734, 272, 18, 6923, 12, 9904, 8818, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 272, 18, 6923, 12, 6347, 6342, 9904, 1769, 3639, 289, 5411, 514, 563, 273, 272, 18, 10492, 5621, 514, 2612, 1253, 273, 563, 18, 869, 5630, 5621, 514, 1026, 273, 2612, 1253, 31, 509, 1056, 273, 374, 31, 309, 261, 1106, 1557, 422, 446, 13, 19407, 273, 394, 18559, 5621, 1323, 261, 1106, 1557, 18, 588, 12, 8167, 1253, 13, 480, 446, 13, 288, 2612, 1253, 273, 1026, 397, 965, 1883, 31, 289, 19407, 18, 458, 12, 8167, 1253, 16, 3411, 18, 18724, 1769, 327, 1056, 422, 374, 692, 563, 294, 261, 2088, 397, 1056, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3852, 514, 336, 16634, 3834, 12, 780, 14117, 16, 4766, 15604, 1250, 3354, 13, 377, 288, 3639, 6674, 272, 273, 394, 6674, 5621, 3639, 309, 261, 5610, 461, 480, 446, 597, 9929, 18, 2469, 1435, 405, 374, 13, 288, 5411, 272, 18, 6923, 12, 5610, 461, 1769, 5411, 272, 18, 6923, 2668, 1093, 1769, 3639, 289, 3639, 272, 18, 6923, 12, 6769, 461, 1769, 3639, 309, 261, 3441, 1776, 2853, 480, 446, 13, 288, 5411, 309, 261, 915, 461, 480, 446, 13, 288, 7734, 272, 18, 6923, 2668, 8, 8284, 7734, 272, 18, 6923, 12, 915, 461, 1769, 5411, 289, 469, 309, 16051, 8258, 13, 288, 7734, 272, 18, 6923, 12, 9904, 8818, 1769, 5411, 289, 3639, 2 ]
return s30;
return s32;
public DFA.State transition(IntStream input) throws RecognitionException { switch ( input.LA(1) ) { case 23: return s30; case 22: return s41; case EOL: case 15: return s66; case ID: return s70; default: NoViableAltException nvae = new NoViableAltException("", 4, 66, input); throw nvae; } }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/db9ec7bad93dfc15e8ce115941d6e9f0749d5a10/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 7734, 648, 10213, 30, 10792, 327, 272, 1578, 31, 7734, 648, 11201, 30, 10792, 327, 272, 9803, 31, 7734, 648, 19995, 30, 7734, 648, 4711, 30, 10792, 327, 272, 6028, 31, 7734, 648, 1599, 30, 10792, 327, 272, 7301, 31, 7734, 805, 30, 10792, 17114, 15077, 273, 13491, 394, 17114, 2932, 3113, 1059, 16, 22342, 16, 810, 1769, 10792, 604, 15077, 31, 3639, 289, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 7734, 648, 10213, 30, 10792, 327, 272, 1578, 31, 7734, 648, 11201, 30, 10792, 327, 272, 9803, 31, 7734, 648, 19995, 30, 7734, 648, 4711, 30, 10792, 327, 272, 6028, 31, 7734, 648, 1599, 30, 10792, 327, 272, 7301, 31, 7734, 805, 30, 10792, 17114, 15077, 273, 13491, 394, 17114, 2932, 3113, 1059, 16, 22342, 16, 810, 1769, 10792, 604, 15077, 31, 3639, 289, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public MutableShort(short value) {
public MutableShort() {
public MutableShort(short value) { super(); this.value = value; }
7060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7060/a5a4f9067a0b22e629463b1ef059818ccda6f37e/MutableShort.java/buggy/src/java/org/apache/commons/lang/mutable/MutableShort.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10960, 4897, 1435, 288, 3639, 2240, 5621, 3639, 333, 18, 1132, 273, 460, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10960, 4897, 1435, 288, 3639, 2240, 5621, 3639, 333, 18, 1132, 273, 460, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String img_preset = req.getParameter("imglist") ;
String img_preset = req.getParameter("imglist") ; String img_dir_preset = req.getParameter("dirlist");
public static String getPage(HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException { String host = req.getHeader("Host") ; String imcserver = Utility.getDomainPref("adminserver",host) ; String servlet_url = Utility.getDomainPref( "servlet_url",host ) ; String image_url = Utility.getDomainPref( "image_url", host ) ; File file_path = new File(Utility.getDomainPref( "image_path", host )); // Get the session HttpSession session = req.getSession(false); imcode.server.User user = (imcode.server.User)session.getValue("logon.isDone"); // marker object String meta_id = req.getParameter("meta_id"); String img_no = req.getParameter("img_no"); String img_preset = req.getParameter("imglist") ; String img_tag = "" ; if (req.getParameter("PREVIOUS_IMG")!=null || req.getParameter("NEXT_IMG")!=null) { session.removeValue("ImageBrowse.optionlist") ; img_preset = null; } if (img_preset == null) { img_preset = "" ; } else { img_tag = "<img src='"+image_url+img_preset+"' align=\"top\">" ; } String canon_path = file_path.getCanonicalPath() ; // List imgList = (List)session.getValue("ImageBrowse.optionlist") ; // session.removeValue("ImageBrowse.optionlist") ; // if (imgList == null) // { // imgList = GetImages.getImageFiles(file_path, true, true); // } List imgList = GetImages.getImageFiles(file_path, true, true); StringBuffer options = new StringBuffer(imgList.size()*64) ; String adminImgPath = user.getLangPrefix()+"/admin/"; String previousButton = "&nbsp;"; String nextButton = "&nbsp;"; String startStr = req.getParameter("img_curr_max"); int max = 1000;//the nr of img th show at the time int counter = 0; //the current startNr int img_numbers = imgList.size();//the total numbers of img if (startStr != null) { counter = Integer.parseInt(startStr); } //lest see if a previous button whas punshed if (req.getParameter("PREVIOUS_IMG") != null) { counter = counter - (max * 2); if(counter<0) counter=0; } // Lets bee ready to create buttons VariableManager nextButtonVm = new VariableManager(); nextButtonVm.addProperty( "IMAGE_URL", image_url+ adminImgPath); nextButtonVm.addProperty( "meta_id", meta_id); nextButtonVm.addProperty( "img_no", img_no); nextButtonVm.addProperty( "img_curr_max", Integer.toString(counter+max)); nextButtonVm.addProperty( "SERVLET_URL", MetaInfo.getServletPath( req ) ); VariableManager prevButtonVm = new VariableManager(); prevButtonVm.addProperty( "IMAGE_URL", image_url+ adminImgPath); prevButtonVm.addProperty( "meta_id", meta_id); prevButtonVm.addProperty( "img_no", img_no); prevButtonVm.addProperty( "img_curr_max", Integer.toString(counter+max)); prevButtonVm.addProperty( "SERVLET_URL", MetaInfo.getServletPath( req ) ); //lets get the teplatePath to the buttons String templatePath = ImageBrowse.getAdminTemplateFolder (imcserver, user); //now we have to find out what buttons to show boolean incButton = false; boolean decButton = false; if (counter > 0) { HtmlGenerator previousButtonHtmlObj = new HtmlGenerator(templatePath,ImageBrowse.IMG_PREVIOUS_LIST_TEMPLATE ); previousButton = previousButtonHtmlObj.createHtmlString( prevButtonVm, req ); } if (img_numbers > counter+max) { HtmlGenerator nextButtonHtmlObj = new HtmlGenerator(templatePath,ImageBrowse.IMG_NEXT_LIST_TEMPLATE ); nextButton = nextButtonHtmlObj.createHtmlString( nextButtonVm, req ); } for(int i=counter; i< imgList.size() && i<counter+max;i++ ) { File fileObj = (File) imgList.get(i); try { String fileLen = "" + fileObj.length(); } catch (SecurityException e) { String fileLen = "Read ERROR"; } String filePath = fileObj.getCanonicalPath() ; if (filePath.startsWith(canon_path)) { filePath = filePath.substring(canon_path.length()) ; } if (filePath.startsWith(File.separator)) { filePath = filePath.substring(File.separator.length()) ; } File urlFile = new File(filePath) ; String fileName = urlFile.getName() ; File parentDir = urlFile.getParentFile() ; if (parentDir != null) { filePath = parentDir.getPath()+"/" ; } else { filePath = "" ; } filePath = filePath.replace(File.separatorChar,'/')+fileName ; StringTokenizer tokenizer = new StringTokenizer(filePath, "/", true); StringBuffer filePathSb = new StringBuffer(); //the URLEncoder.encode() method replaces '/' whith "%2F" and the can't be red by the browser //that's the reason for the while-loop. while ( tokenizer.countTokens() > 0 ) { String temp = tokenizer.nextToken(); if (temp.length() > 1) { filePathSb.append(java.net.URLEncoder.encode(temp)); }else { filePathSb.append(temp); } } //String parsedFilePath = java.net.URLEncoder.encode(filePath) ; //StringBuffer filePathSb = new StringBuffer(parsedFilePath) ; // Replace all '+' and ' ' with '%20' //for (int i=0; i<filePathSb.length() ; ++i) { // if (filePathSb.charAt(i)=='+') { // filePathSb.replace(i,i+1,"%20") ; // i += 2 ; // } //} String parsedFilePath = filePathSb.toString() ; options.append("<option value=\"" + parsedFilePath + "\"" + (parsedFilePath.equals(img_preset)?" selected":"") + ">" + filePath + "\t[" + fileObj.length() + "]</option>\r\n"); } counter += max; // TEMPLATE ImageBrowse.html Vector vec = new Vector () ; vec.add("#meta_id#"); vec.add(meta_id); vec.add("#img_preview#"); vec.add(img_tag); vec.add("#img_no#"); vec.add(img_no); vec.add("#imglist#"); vec.add(img_preset); vec.add("#SERVLET_URL#"); vec.add(MetaInfo.getServletPath( req )); vec.add("#options#"); vec.add(options.toString()); vec.add("#nextButton#"); vec.add(nextButton); vec.add("#previousButton#"); vec.add(previousButton); vec.add("#img_startNr#"); vec.add(Integer.toString(counter-max+1)); if(counter > img_numbers)counter = img_numbers; vec.add("#img_stopNr#"); vec.add(Integer.toString(counter)); vec.add("#img_maxNr#"); vec.add(Integer.toString(img_numbers)); session.putValue("ImageBrowse.optionlist",imgList); String lang_prefix = user.getLangPrefix() ; return IMCServiceRMI.parseDoc(imcserver,vec,"ImageBrowse.html", lang_prefix) ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/31d251059adac04d5e1ed00f3766632d1e1d0552/ImageBrowse.java/buggy/servlets/ImageBrowse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 8957, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 16517, 16, 14106, 202, 95, 9506, 202, 780, 1479, 4697, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 709, 71, 3567, 1875, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 202, 780, 8100, 67, 718, 3639, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 23231, 67, 718, 3113, 2564, 262, 274, 202, 202, 780, 1316, 67, 718, 7734, 273, 13134, 18, 588, 3748, 23218, 12, 315, 2730, 67, 718, 3113, 1479, 262, 274, 202, 202, 812, 585, 67, 803, 273, 394, 1387, 12, 6497, 18, 588, 3748, 23218, 12, 315, 2730, 67, 803, 3113, 1479, 262, 1769, 6862, 202, 759, 968, 326, 1339, 202, 202, 2940, 2157, 1339, 273, 1111, 18, 588, 2157, 12, 5743, 1769, 202, 202, 381, 710, 18, 3567, 18, 1299, 729, 225, 273, 261, 381, 710, 18, 3567, 18, 1299, 13, 3184, 18, 24805, 2932, 1330, 265, 18, 291, 7387, 8863, 225, 368, 5373, 733, 25083, 202, 780, 2191, 67, 350, 273, 1111, 18, 588, 1662, 2932, 3901, 67, 350, 8863, 202, 202, 780, 3774, 67, 2135, 273, 1111, 18, 588, 1662, 2932, 6081, 67, 2135, 8863, 202, 202, 780, 3774, 67, 27524, 273, 1111, 18, 588, 1662, 2932, 6081, 1098, 7923, 274, 202, 202, 780, 3774, 67, 2692, 273, 1408, 274, 202, 202, 430, 261, 3658, 18, 588, 1662, 2932, 3670, 4136, 21667, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 8957, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 16517, 16, 14106, 202, 95, 9506, 202, 780, 1479, 4697, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 709, 71, 3567, 1875, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 202, 780, 8100, 67, 718, 3639, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 23231, 67, 718, 3113, 2564, 262, 274, 202, 202, 780, 1316, 67, 718, 7734, 273, 13134, 18, 588, 3748, 23218, 12, 315, 2730, 67, 718, 3113, 1479, 262, 274, 202, 202, 812, 585, 67, 803, 273, 394, 1387, 12, 6497, 18, 588, 3748, 23218, 12, 315, 2730, 2 ]
options[1] = m_DistanceFunction.getClass().getName()+" "+ Utils.joinOptions(m_DistanceFunction.getOptions());
options[1] = m_DistanceFunction.getClass().getName() + new String(" " + Utils.joinOptions(m_DistanceFunction.getOptions())).trim();
public String [] getOptions() { String [] options = new String[2]; options[0] = "-A"; options[1] = m_DistanceFunction.getClass().getName()+" "+ Utils.joinOptions(m_DistanceFunction.getOptions()); return options; }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/d75a3a2df88a759771ec340e59a5c37226194d4c/NearestNeighbourSearch.java/buggy/core/NearestNeighbourSearch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 5378, 9849, 1435, 288, 565, 514, 5378, 702, 273, 394, 514, 63, 22, 15533, 565, 702, 63, 20, 65, 273, 3701, 37, 14432, 565, 702, 63, 21, 65, 273, 312, 67, 7200, 2083, 18, 588, 797, 7675, 17994, 1435, 9078, 13773, 1171, 6091, 18, 5701, 1320, 12, 81, 67, 7200, 2083, 18, 588, 1320, 10663, 540, 327, 702, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 5378, 9849, 1435, 288, 565, 514, 5378, 702, 273, 394, 514, 63, 22, 15533, 565, 702, 63, 20, 65, 273, 3701, 37, 14432, 565, 702, 63, 21, 65, 273, 312, 67, 7200, 2083, 18, 588, 797, 7675, 17994, 1435, 9078, 13773, 1171, 6091, 18, 5701, 1320, 12, 81, 67, 7200, 2083, 18, 588, 1320, 10663, 540, 327, 702, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ArrayList list = getLocalesList(config, getDirString(runArgs, srcDir), getDirString(runArgs, destDir));
TreeMap localesMap = getLocalesList(config, getDirString(runArgs, srcDir), getDirString(runArgs, destDir));
public void execute() throws BuildException { if (toolName==null) { throw new BuildException("Tool name not set"); } //System.out.println("Ok loaded CLDRBuild! ToolName: "+ toolName); for(Iterator iter = runs.iterator(); iter.hasNext(); ){ Run run = (Run)iter.next(); Config config = run.getConfig(); Hashtable runArgs = run.getArgs(null); ArrayList list = getLocalesList(config, getDirString(runArgs, srcDir), getDirString(runArgs, destDir)); if(list==null){ continue; } if(list.size()==0 && noArgs==false){ continue; } String[] args = new String[runArgs.size()*2 + list.size()]; // create the args list int i=0; StringBuffer printArgs = new StringBuffer(); for(Iterator iter1 = runArgs.keySet().iterator(); iter1.hasNext();){ String key = (String) iter1.next(); String value = (String) runArgs.get(key); args[i++] = key; if(value.length()>0){ args[i++] = value; } printArgs.append(key); printArgs.append(" "); printArgs.append(value); printArgs.append(" "); } for(int j=0; j<list.size(); j++){ args[i++] = (String) list.get(j); printArgs.append((String) list.get(j)); printArgs.append(" "); } for(;i<args.length;i++){ args[i]=""; } String methodName = "processArgs"; System.out.println("Invoking " + methodName +" " + printArgs); Object tool = createObject(toolName); Method method = getMethod(tool, methodName, new Class[]{String[].class}); invoke(tool, method, new Object[]{args}); System.out.println(""); } }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/6f72db181410c72e434d728c5b1ec1af37ebb22e/CLDRBuild.java/clean/tools/java/org/unicode/cldr/ant/CLDRBuild.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 261, 6738, 461, 631, 2011, 13, 288, 5411, 604, 394, 18463, 2932, 6364, 508, 486, 444, 8863, 3639, 289, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 8809, 4203, 14934, 6331, 3116, 5, 13288, 461, 30, 13773, 5226, 461, 1769, 7734, 364, 12, 3198, 1400, 273, 7597, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 95, 5411, 1939, 1086, 273, 261, 1997, 13, 2165, 18, 4285, 5621, 5411, 1903, 642, 273, 1086, 18, 588, 809, 5621, 5411, 18559, 1086, 2615, 273, 1086, 18, 588, 2615, 12, 2011, 1769, 13491, 16381, 6922, 863, 273, 6993, 281, 682, 12, 1425, 16, 26505, 780, 12, 2681, 2615, 16, 30585, 3631, 26505, 780, 12, 2681, 2615, 16, 26231, 10019, 13491, 309, 12, 1098, 631, 2011, 15329, 7734, 1324, 31, 5411, 289, 5411, 309, 12, 1098, 18, 1467, 1435, 631, 20, 597, 1158, 2615, 631, 5743, 15329, 7734, 1324, 31, 5411, 289, 5411, 514, 8526, 833, 273, 394, 514, 63, 2681, 2615, 18, 1467, 1435, 14, 22, 397, 666, 18, 1467, 1435, 15533, 13491, 368, 752, 326, 833, 666, 5411, 509, 277, 33, 20, 31, 5411, 6674, 1172, 2615, 273, 394, 6674, 5621, 5411, 364, 12, 3198, 1400, 21, 273, 1086, 2615, 18, 856, 694, 7675, 9838, 5621, 1400, 21, 18, 5332, 2134, 5621, 15329, 7734, 514, 498, 273, 261, 780, 13, 1400, 21, 18, 4285, 5621, 7734, 514, 460, 273, 261, 780, 13, 1086, 2615, 18, 588, 12, 856, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 261, 6738, 461, 631, 2011, 13, 288, 5411, 604, 394, 18463, 2932, 6364, 508, 486, 444, 8863, 3639, 289, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 8809, 4203, 14934, 6331, 3116, 5, 13288, 461, 30, 13773, 5226, 461, 1769, 7734, 364, 12, 3198, 1400, 273, 7597, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 95, 5411, 1939, 1086, 273, 261, 1997, 13, 2165, 18, 4285, 5621, 5411, 1903, 642, 273, 1086, 18, 588, 809, 5621, 5411, 18559, 1086, 2615, 273, 1086, 18, 588, 2615, 12, 2011, 1769, 13491, 16381, 6922, 863, 273, 6993, 281, 682, 12, 1425, 16, 26505, 780, 12, 2681, 2615, 16, 30585, 3631, 26505, 2 ]
((ViewParameters)ariresult.resultingview).errortoken = errortoken;
((ViewParameters) ariresult.resultingview).errortoken = errortoken;
public AnyViewParameters handle() { final String actionmethod = PostDecoder.decodeAction(normalizedmap); try { // Do this FIRST in case it discovers any scopelocks required presmanager.scopeRestore(); // invoke all state-altering operations within the runnable wrapper. postwrapper.invokeRunnable(new Runnable() { public void run() { if (viewparams.flowtoken != null) { presmanager.restore(viewparams.flowtoken, viewparams.endflow != null); } Exception exception = null; try { rsvcapplier.applyValues(requestrsvc); // many errors possible here. } catch (Exception e) { exception = e; } Object newcode = handleError(actionresult, exception); exception = null; if ((newcode == null && !messages.isError()) || newcode instanceof String) { // only proceed to actually invoke action if no ARIResult already // note all this odd two-step procedure is only required to be able // to pass AES error returns and make them "appear" to be the // returns of the first action method in a Flow. try { if (actionmethod != null) { actionresult = rsvcapplier.invokeAction(actionmethod, (String) newcode); } } catch (Exception e) { exception = e; } newcode = handleError(actionresult, exception); } if (newcode != null) actionresult = newcode; // must interpret ARI INSIDE the wrapper, since it may need it // on closure. if (actionresult instanceof ARIResult) { ariresult = (ARIResult) actionresult; } else { ActionResultInterpreter ari = ariresolver .getActionResultInterpreter(); ariresult = ari.interpretActionResult(viewparams, actionresult); } } }); presmanager.scopePreserve(); flowstatemanager.inferFlowState(viewparams, ariresult); // moved inside since this may itself cause an error! String submitting = PostDecoder.decodeSubmittingControl(normalizedmap); errorstatemanager.globaltargetid = submitting; } catch (Throwable e) { // avoid masking errors from the finally block Logger.log.error("Error invoking action", e); // ThreadErrorState.addError(new TargettedMessage( // CoreMessages.GENERAL_ACTION_ERROR)); // Detect failure to fill out arires properly. if (ariresult == null || ariresult.resultingview == null || e instanceof IllegalStateException) { ariresult = new ARIResult(); ariresult.propagatebeans = ARIResult.FLOW_END; ViewParameters defaultparameters = viewparams.copyBase(); ariresult.resultingview = defaultparameters; } } finally { String errortoken = errorstatemanager.requestComplete(); if (ariresult.resultingview instanceof ViewParameters) { ((ViewParameters)ariresult.resultingview).errortoken = errortoken; } } return ariresult.resultingview; }
49142 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49142/25c9cf2aab0f5ad28dc9664b99b6f968cfb227b5/RSFActionHandler.java/clean/src/uk/org/ponder/rsf/processor/RSFActionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5502, 1767, 2402, 1640, 1435, 288, 565, 727, 514, 1301, 2039, 273, 5616, 7975, 18, 3922, 1803, 12, 17762, 1458, 1769, 565, 775, 288, 1377, 368, 2256, 333, 21786, 316, 648, 518, 1015, 14014, 414, 1281, 888, 556, 292, 20641, 1931, 1377, 4075, 4181, 18, 4887, 10874, 5621, 1377, 368, 4356, 777, 919, 17, 22628, 310, 5295, 3470, 326, 14685, 4053, 18, 1377, 1603, 8376, 18, 14407, 20013, 12, 2704, 10254, 1435, 288, 3639, 1071, 918, 1086, 1435, 288, 1850, 309, 261, 1945, 2010, 18, 2426, 2316, 480, 446, 13, 288, 5411, 4075, 4181, 18, 13991, 12, 1945, 2010, 18, 2426, 2316, 16, 7734, 1476, 2010, 18, 409, 2426, 480, 446, 1769, 1850, 289, 1850, 1185, 1520, 273, 446, 31, 1850, 775, 288, 5411, 3597, 4227, 438, 5742, 18, 9010, 1972, 12, 4523, 281, 28007, 4227, 1769, 368, 4906, 1334, 3323, 2674, 18, 1850, 289, 1850, 1044, 261, 503, 425, 13, 288, 5411, 1520, 273, 425, 31, 1850, 289, 1850, 1033, 394, 710, 273, 15676, 12, 1128, 2088, 16, 1520, 1769, 1850, 1520, 273, 446, 31, 1850, 309, 14015, 2704, 710, 422, 446, 597, 401, 6833, 18, 291, 668, 10756, 2868, 747, 394, 710, 1276, 514, 13, 288, 5411, 368, 1338, 11247, 358, 6013, 4356, 1301, 309, 1158, 432, 2259, 1253, 1818, 5411, 368, 4721, 777, 333, 14800, 2795, 17, 4119, 12131, 353, 1338, 1931, 358, 506, 7752, 5411, 368, 358, 1342, 15986, 555, 1135, 471, 1221, 2182, 315, 438, 17964, 6, 358, 506, 326, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5502, 1767, 2402, 1640, 1435, 288, 565, 727, 514, 1301, 2039, 273, 5616, 7975, 18, 3922, 1803, 12, 17762, 1458, 1769, 565, 775, 288, 1377, 368, 2256, 333, 21786, 316, 648, 518, 1015, 14014, 414, 1281, 888, 556, 292, 20641, 1931, 1377, 4075, 4181, 18, 4887, 10874, 5621, 1377, 368, 4356, 777, 919, 17, 22628, 310, 5295, 3470, 326, 14685, 4053, 18, 1377, 1603, 8376, 18, 14407, 20013, 12, 2704, 10254, 1435, 288, 3639, 1071, 918, 1086, 1435, 288, 1850, 309, 261, 1945, 2010, 18, 2426, 2316, 480, 446, 13, 288, 5411, 4075, 4181, 18, 13991, 12, 1945, 2010, 18, 2426, 2316, 16, 7734, 1476, 2010, 18, 409, 2426, 480, 446, 1769, 1850, 289, 1850, 1185, 1520, 2 ]
LocalIPAddressConverter() {
public LocalIPAddressConverter() {
LocalIPAddressConverter() { try { localIPAddressStr = InetAddress.getLocalHost().getHostAddress(); } catch (UnknownHostException uhe) { localIPAddressStr = "127.0.0.1"; } }
53733 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53733/05758a06da29029acab9ed58fc638d3064d77496/LocalIPAddressConverter.java/buggy/logback-access/src/main/java/ch/qos/logback/access/pattern/LocalIPAddressConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3566, 22507, 5072, 1435, 288, 565, 775, 288, 1377, 1191, 22507, 1585, 273, 14218, 18, 588, 2042, 2594, 7675, 588, 2594, 1887, 5621, 565, 289, 1044, 261, 4874, 29776, 582, 580, 13, 288, 1377, 1191, 22507, 1585, 273, 315, 14260, 18, 20, 18, 20, 18, 21, 14432, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3566, 22507, 5072, 1435, 288, 565, 775, 288, 1377, 1191, 22507, 1585, 273, 14218, 18, 588, 2042, 2594, 7675, 588, 2594, 1887, 5621, 565, 289, 1044, 261, 4874, 29776, 582, 580, 13, 288, 1377, 1191, 22507, 1585, 273, 315, 14260, 18, 20, 18, 20, 18, 21, 14432, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("UserBusiness: User not found by unique id:"+uniqueID);
System.out.println("UserBusiness: User not found by unique id:" + uniqueID);
public User createOrUpdateUser(DN distinguishedName,Attributes attributes)throws CreateException,NamingException,RemoteException{ IWLDAPUtil ldapUtil = IWLDAPUtil.getInstance(); String fullName = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_COMMON_NAME,attributes); Name name = new Name(fullName); String firstName = name.getFirstName(); String middleName = name.getMiddleName(); String lastName = name.getLastName(); String description = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_DESCRIPTION,attributes); String uniqueID = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_IDEGAWEB_UNIQUE_ID,attributes); String personalId = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_IDEGAWEB_PERSONAL_ID,attributes); String email = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_EMAIL,attributes); //String homePhone = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_TELEPHONE_NUMBER,attributes); //String fax = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_FAX_NUMBER,attributes); //String mobile = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_MOBILE_NUMBER,attributes); String gender = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_IDEGAWEB_GENDER,attributes); int genderId=-1; if(gender!=null){ try { genderId = getGenderId(gender).intValue(); } catch (Exception e) { e.printStackTrace(); } } //TODO eiki handle addresses //String address = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_REGISTERED_ADDRESS,attributes); User user = null; if(uniqueID!=null){ try { user = getUserByUniqueId(uniqueID); } catch (FinderException e) { System.out.println("UserBusiness: User not found by unique id:"+uniqueID); } } if(user==null && personalId!=null ){ try { user = getUser(personalId); } catch (FinderException e) { System.out.println("UserBusiness: User not found by personal id:"+personalId); } } if(user == null){ user = getUserByDirectoryString(distinguishedName.toString()); } if(user==null && firstName!=null){ try { Collection users = getUserHome().findUsersByConditions(firstName,middleName,lastName,null,null,null,genderId,-1,-1,-1,null,null,true,false); if(users!=null && !users.isEmpty() && users.size()==1){ //its the only one with this name must be our guy! user = (User)users.iterator().next(); } } catch (FinderException e) { System.out.println("UserBusiness: last try...user not found by firstname,middlename,lastname"); } } //could not find the person create it if(user == null){ user = createUser(firstName,middleName,lastName,personalId); if(uniqueID!=null){ user.setUniqueId(uniqueID); } if(genderId>0){ user.setGender(genderId); } //TODO Eiki make a method updatePhones(home,fax,mobile) DO in update also //getPhoneHome().findUsersFaxPhone(); user.setDescription(description); user.store(); updateUserMail(user,email); // updateUsersMainAddressOrCreateIfDoesNotExist() // String address = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_REGISTERED_ADDRESS,attributes); // String phone = ldapUtil.getSingleValueOfAttributeByAttributeKey(LDAP_ATTRIBUTE_TELEPHONE_NUMBER,attributes); // } else{ //found the person! update if needed if(uniqueID!=null){ user.setUniqueId(uniqueID); } user.setDescription(description); if(genderId>0){ user.setGender(genderId); } user.store(); updateUserMail(user,email); } //set all the attributes as metadata also setMetaDataFromLDAPAttributes(user,distinguishedName,attributes); return user; }
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/21dcc2ab672cd5cc52a7f8a072e86fed3aa20ecc/UserBusinessBean.java/buggy/src/java/com/idega/user/business/UserBusinessBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2177, 15142, 1299, 12, 8609, 19559, 5992, 461, 16, 2498, 1677, 13, 15069, 1788, 503, 16, 24102, 503, 16, 5169, 503, 95, 202, 202, 45, 59, 15496, 1304, 8079, 1304, 273, 467, 59, 15496, 1304, 18, 588, 1442, 5621, 9506, 202, 780, 12424, 273, 8079, 1304, 18, 588, 25965, 951, 1499, 858, 1499, 653, 12, 15496, 67, 11616, 67, 4208, 17667, 67, 1985, 16, 4350, 1769, 202, 202, 461, 508, 273, 394, 1770, 12, 2854, 461, 1769, 202, 202, 780, 22033, 273, 508, 18, 588, 3759, 461, 5621, 202, 202, 780, 7689, 461, 273, 508, 18, 588, 21924, 461, 5621, 202, 202, 780, 23439, 273, 508, 18, 588, 3024, 461, 5621, 9506, 202, 780, 2477, 273, 8079, 1304, 18, 588, 25965, 951, 1499, 858, 1499, 653, 12, 15496, 67, 11616, 67, 15911, 16, 4350, 1769, 202, 202, 780, 3089, 734, 273, 225, 8079, 1304, 18, 588, 25965, 951, 1499, 858, 1499, 653, 12, 15496, 67, 11616, 67, 10385, 25043, 14778, 67, 16879, 67, 734, 16, 4350, 1769, 202, 202, 780, 17816, 548, 273, 8079, 1304, 18, 588, 25965, 951, 1499, 858, 1499, 653, 12, 15496, 67, 11616, 67, 10385, 25043, 14778, 67, 3194, 1413, 1013, 67, 734, 16, 4350, 1769, 202, 202, 780, 2699, 273, 8079, 1304, 18, 588, 25965, 951, 1499, 858, 1499, 653, 12, 15496, 67, 11616, 67, 14686, 16, 4350, 1769, 202, 202, 759, 780, 6382, 9451, 273, 8079, 1304, 18, 588, 25965, 951, 1499, 858, 1499, 653, 12, 15496, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2177, 15142, 1299, 12, 8609, 19559, 5992, 461, 16, 2498, 1677, 13, 15069, 1788, 503, 16, 24102, 503, 16, 5169, 503, 95, 202, 202, 45, 59, 15496, 1304, 8079, 1304, 273, 467, 59, 15496, 1304, 18, 588, 1442, 5621, 9506, 202, 780, 12424, 273, 8079, 1304, 18, 588, 25965, 951, 1499, 858, 1499, 653, 12, 15496, 67, 11616, 67, 4208, 17667, 67, 1985, 16, 4350, 1769, 202, 202, 461, 508, 273, 394, 1770, 12, 2854, 461, 1769, 202, 202, 780, 22033, 273, 508, 18, 588, 3759, 461, 5621, 202, 202, 780, 7689, 461, 273, 508, 18, 588, 21924, 461, 5621, 202, 202, 780, 23439, 273, 508, 18, 588, 3024, 461, 5621, 9506, 202, 780, 2477, 273, 2 ]
protected String postAttachment(String uploadURL, File f, String domain) throws ZimletException {
private String postAttachment(String uploadURL, String name, byte[] data, String domain) throws ZimletException {
protected String postAttachment(String uploadURL, File f, String domain) throws ZimletException { String aid = null; Cookie cookie = new Cookie(domain, "ZM_ADMIN_AUTH_TOKEN", mSession.getAuthToken(), "/", -1, false); HttpState initialState = new HttpState(); initialState.addCookie(cookie); HttpClient client = new HttpClient(); client.setState(initialState); client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); PostMethod post = new PostMethod(uploadURL); client.getHttpConnectionManager().getParams().setConnectionTimeout(10000); int statusCode = -1; try { String contentType = URLConnection.getFileNameMap().getContentTypeFor(f.getName()); Part[] parts = { new FilePart(f.getName(), f, contentType, "UTF-8") }; post.setRequestEntity( new MultipartRequestEntity(parts, post.getParams()) ); statusCode = client.executeMethod(post); if (statusCode == 200) { String response = post.getResponseBodyAsString(); int lastQuote = response.lastIndexOf("'"); int firstQuote = response.indexOf("','") + 3; if (lastQuote == -1 || firstQuote == -1) { throw ZimletException.CANNOT_DEPLOY("Attachment post failed, unexpected response: " + response, null); } aid = response.substring(firstQuote, lastQuote); } else { throw ZimletException.CANNOT_DEPLOY("Attachment post failed, status=" + statusCode, null); } } catch (IOException e) { throw ZimletException.CANNOT_DEPLOY("Attachment post failed", e); } finally { post.releaseConnection(); } return aid; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/7287f77eda13af680d29c939ee7825cf1573ffab/ZimletUtil.java/buggy/ZimbraServer/src/java/com/zimbra/cs/zimlet/ZimletUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 565, 4750, 514, 1603, 6803, 12, 780, 3617, 1785, 16, 1387, 284, 16, 514, 2461, 13, 1216, 2285, 381, 1810, 503, 288, 202, 377, 202, 780, 20702, 273, 446, 31, 202, 377, 202, 6151, 3878, 273, 394, 10201, 12, 4308, 16, 315, 62, 49, 67, 15468, 67, 7131, 67, 8412, 3113, 312, 2157, 18, 588, 28967, 9334, 2206, 3113, 300, 21, 16, 629, 1769, 202, 377, 202, 2940, 1119, 2172, 1119, 273, 394, 2541, 1119, 5621, 202, 377, 202, 6769, 1119, 18, 1289, 6151, 12, 8417, 1769, 202, 377, 202, 11895, 1004, 273, 394, 16308, 5621, 202, 377, 202, 2625, 18, 542, 1119, 12, 6769, 1119, 1769, 202, 377, 202, 2625, 18, 588, 1370, 7675, 542, 6151, 2582, 12, 6151, 2582, 18, 38, 24846, 67, 28249, 13450, 14674, 1769, 202, 377, 202, 3349, 1305, 1603, 273, 394, 5616, 1305, 12, 6327, 1785, 1769, 202, 377, 202, 2625, 18, 588, 2940, 1952, 1318, 7675, 588, 1370, 7675, 542, 1952, 2694, 12, 23899, 1769, 202, 377, 202, 474, 6593, 273, 300, 21, 31, 202, 377, 202, 698, 288, 202, 377, 202, 202, 780, 5064, 273, 1976, 1952, 18, 588, 4771, 863, 7675, 588, 8046, 1290, 12, 74, 18, 17994, 10663, 202, 377, 202, 202, 1988, 8526, 2140, 273, 288, 394, 1387, 1988, 12, 74, 18, 17994, 9334, 284, 16, 5064, 16, 315, 5159, 17, 28, 7923, 289, 31, 202, 377, 202, 202, 2767, 18, 542, 691, 1943, 12, 394, 19919, 691, 1943, 12, 6019, 16, 1603, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 565, 4750, 514, 1603, 6803, 12, 780, 3617, 1785, 16, 1387, 284, 16, 514, 2461, 13, 1216, 2285, 381, 1810, 503, 288, 202, 377, 202, 780, 20702, 273, 446, 31, 202, 377, 202, 6151, 3878, 273, 394, 10201, 12, 4308, 16, 315, 62, 49, 67, 15468, 67, 7131, 67, 8412, 3113, 312, 2157, 18, 588, 28967, 9334, 2206, 3113, 300, 21, 16, 629, 1769, 202, 377, 202, 2940, 1119, 2172, 1119, 273, 394, 2541, 1119, 5621, 202, 377, 202, 6769, 1119, 18, 1289, 6151, 12, 8417, 1769, 202, 377, 202, 11895, 1004, 273, 394, 16308, 5621, 202, 377, 202, 2625, 18, 542, 1119, 12, 6769, 1119, 1769, 202, 377, 202, 2625, 18, 588, 1370, 7675, 542, 6151, 2582, 2 ]
SimpleDateFormat sdf = new SimpleDateFormat( "MM/dd/yyyy" ); return sdf.format( dt );
return _sdf.format( dt );
private String getValue( DataElement de ) { if ( de instanceof DateTimeDataElement ) { Date dt = ( (DateTimeDataElement) de ).getValueAsCalendar( ) .getTime( ); SimpleDateFormat sdf = new SimpleDateFormat( "MM/dd/yyyy" ); //$NON-NLS-1$ return sdf.format( dt ); } else if ( de instanceof NumberDataElement ) { return NumberFormat.getInstance( ).format( ( (NumberDataElement) de ).getValue( ) ); } return ""; //$NON-NLS-1$ }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/34e0d413e3800e4db2d1129a0aa4835c42d9fa77/AxisScaleSheet.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/axis/AxisScaleSheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 2366, 12, 1910, 1046, 443, 262, 202, 95, 202, 202, 430, 261, 443, 1276, 3716, 751, 1046, 262, 202, 202, 95, 1082, 202, 1626, 3681, 273, 261, 261, 5096, 751, 1046, 13, 443, 262, 18, 24805, 1463, 7335, 12, 262, 6862, 202, 18, 588, 950, 12, 11272, 1082, 202, 5784, 11878, 31789, 273, 394, 17005, 12, 315, 8206, 19, 449, 19, 17722, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 31789, 18, 2139, 12, 3681, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 443, 1276, 3588, 751, 1046, 262, 202, 202, 95, 1082, 202, 2463, 29587, 18, 588, 1442, 12, 262, 18, 2139, 12, 261, 261, 1854, 751, 1046, 13, 443, 262, 18, 24805, 12, 262, 11272, 202, 202, 97, 202, 202, 2463, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 2366, 12, 1910, 1046, 443, 262, 202, 95, 202, 202, 430, 261, 443, 1276, 3716, 751, 1046, 262, 202, 202, 95, 1082, 202, 1626, 3681, 273, 261, 261, 5096, 751, 1046, 13, 443, 262, 18, 24805, 1463, 7335, 12, 262, 6862, 202, 18, 588, 950, 12, 11272, 1082, 202, 5784, 11878, 31789, 273, 394, 17005, 12, 315, 8206, 19, 449, 19, 17722, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 31789, 18, 2139, 12, 3681, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 443, 1276, 3588, 751, 1046, 262, 202, 202, 95, 1082, 202, 2463, 29587, 18, 588, 1442, 12, 262, 18, 2139, 12, 261, 261, 1854, 751, 1046, 13, 2 ]
endDate.setEnabled(false);
private void createPlanningSection(Composite parent, FormToolkit toolkit) { Section section = toolkit.createSection(parent, ExpandableComposite.TITLE_BAR); section.setText("Planning"); section.setLayout(new TableWrapLayout()); section.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB)); section.addExpansionListener(new IExpansionListener() { public void expansionStateChanging(ExpansionEvent e) { form.reflow(true); } public void expansionStateChanged(ExpansionEvent e) { form.reflow(true); } }); Composite container = toolkit.createComposite(section); section.setClient(container); TableWrapLayout layout = new TableWrapLayout(); layout.numColumns = 3; container.setLayout(layout); Label label = toolkit.createLabel(container, "Reminder:"); label.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); datePicker = new DatePicker(container, SWT.NULL); Calendar calendar = Calendar.getInstance(); if (task.getReminderDate() != null) { calendar.setTime(task.getReminderDate()); datePicker.setDate(calendar); } datePicker.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE));// datePicker.setBackground(new Color(Display.getDefault(), 255, 255, 255)); datePicker.addPickerSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent arg0) { TaskInfoEditor.this.markDirty(true); } public void widgetDefaultSelected(SelectionEvent arg0) { // ignore } }); removeReminder = toolkit.createButton(container, "Clear", SWT.PUSH | SWT.CENTER); if (task.isActive()) { removeReminder.setEnabled(false); } else { removeReminder.setEnabled(true); } removeReminder.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { datePicker.setDate(null); datePicker.setDateText(""); TaskInfoEditor.this.markDirty(true); } }); label = toolkit.createLabel(container, "Estimated time:"); label.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); Composite estimatedComposite = toolkit.createComposite(container); GridLayout gridLayout = new GridLayout(); gridLayout.numColumns = 2; gridLayout.horizontalSpacing = 2; gridLayout.verticalSpacing = 2; gridLayout.marginWidth = 0; gridLayout.marginHeight = 2; gridLayout.makeColumnsEqualWidth = false; estimatedComposite.setLayout(gridLayout); estimated = new Spinner(estimatedComposite, SWT.BORDER); estimated.setSelection(task.getEstimateTimeHours()); estimated.setDigits(0); estimated.setMaximum(100); estimated.setMinimum(0); estimated.setIncrement(1); estimated.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { TaskInfoEditor.this.markDirty(true); } }); GridData estimatedSpinnerGridData = new GridData(); estimatedSpinnerGridData.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL; estimatedSpinnerGridData.grabExcessHorizontalSpace = true; estimatedSpinnerGridData.verticalAlignment = org.eclipse.swt.layout.GridData.FILL; estimated.setData(estimatedSpinnerGridData); label = toolkit.createLabel(estimatedComposite, "hours "); label.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); GridData hoursLabelGridData = new org.eclipse.swt.layout.GridData(); hoursLabelGridData.horizontalAlignment = org.eclipse.swt.layout.GridData.END; hoursLabelGridData.verticalAlignment = org.eclipse.swt.layout.GridData.FILL; label.setData(hoursLabelGridData); // Temp hack because couldn't get the estimatedComposite above to span // two columns label = toolkit.createLabel(container, " "); label = toolkit.createLabel(container, "Elapsed time:"); label.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); String elapsedTimeString = "0"; try { elapsedTimeString = DateUtil.getFormattedDuration(task.getElapsedTime(), true); } catch (RuntimeException e) { MylarStatusHandler.fail(e, "Could not format reminder date", true); } Text reminder = toolkit.createText(container, elapsedTimeString, SWT.BORDER); TableWrapData td = new TableWrapData(TableWrapData.FILL_GRAB); td.grabHorizontal = true; td.colspan = 2; reminder.setLayoutData(td); reminder.setEditable(false); reminder.setEnabled(false); label = toolkit.createLabel(container, "Creation date:"); label.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); String creationDateString = ""; try { creationDateString = DateFormat.getDateInstance(DateFormat.LONG).format(task.getCreationDate()); } catch (RuntimeException e) { MylarStatusHandler.fail(e, "Could not format creation date", true); } Text creationDate = toolkit.createText(container, creationDateString, SWT.BORDER); td = new TableWrapData(TableWrapData.FILL_GRAB); td.grabHorizontal = true; td.colspan = 2; creationDate.setLayoutData(td); creationDate.setEditable(false); creationDate.setEnabled(false); label = toolkit.createLabel(container, "Completion date:"); label.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); String completionDateString = ""; if (task.getCompletionDate() != null) { try { completionDateString = DateFormat.getDateInstance(DateFormat.LONG).format(task.getCompletionDate()); } catch (RuntimeException e) { MylarStatusHandler.fail(e, "Could not format date", true); } } Text endDate = toolkit.createText(container, completionDateString, SWT.BORDER); td = new TableWrapData(TableWrapData.FILL_GRAB); td.grabHorizontal = true; td.colspan = 2; endDate.setLayoutData(td); endDate.setEditable(false); endDate.setEnabled(false); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/a86f70d2efbb32a248a0683ad4c188a1bb263323/TaskInfoEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskInfoEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 1749, 10903, 5285, 12, 9400, 982, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 202, 202, 5285, 2442, 273, 5226, 8691, 18, 2640, 5285, 12, 2938, 16, 16429, 429, 9400, 18, 14123, 67, 21908, 1769, 202, 202, 3464, 18, 542, 1528, 2932, 1749, 10903, 8863, 202, 202, 3464, 18, 542, 3744, 12, 2704, 3555, 2964, 3744, 10663, 202, 202, 3464, 18, 542, 3744, 751, 12, 2704, 3555, 2964, 751, 12, 1388, 2964, 751, 18, 29818, 67, 6997, 2090, 10019, 202, 202, 3464, 18, 1289, 2966, 12162, 2223, 12, 2704, 467, 2966, 12162, 2223, 1435, 288, 1082, 202, 482, 918, 17965, 1119, 782, 18183, 12, 2966, 12162, 1133, 425, 13, 288, 9506, 202, 687, 18, 1734, 821, 12, 3767, 1769, 1082, 202, 97, 1082, 202, 482, 918, 17965, 1119, 5033, 12, 2966, 12162, 1133, 425, 13, 288, 9506, 202, 687, 18, 1734, 821, 12, 3767, 1769, 1082, 202, 97, 202, 202, 22938, 202, 202, 9400, 1478, 273, 5226, 8691, 18, 2640, 9400, 12, 3464, 1769, 202, 202, 3464, 18, 542, 1227, 12, 3782, 1769, 202, 202, 1388, 2964, 3744, 3511, 273, 394, 3555, 2964, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 890, 31, 202, 202, 3782, 18, 542, 3744, 12, 6741, 1769, 202, 202, 2224, 1433, 273, 5226, 8691, 18, 2640, 2224, 12, 3782, 16, 315, 1933, 14055, 2773, 1769, 202, 202, 1925, 18, 542, 23206, 12, 6738, 8691, 18, 588, 12570, 7675, 588, 2957, 12, 1204, 12570, 18, 14123, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 1749, 10903, 5285, 12, 9400, 982, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 202, 202, 5285, 2442, 273, 5226, 8691, 18, 2640, 5285, 12, 2938, 16, 16429, 429, 9400, 18, 14123, 67, 21908, 1769, 202, 202, 3464, 18, 542, 1528, 2932, 1749, 10903, 8863, 202, 202, 3464, 18, 542, 3744, 12, 2704, 3555, 2964, 3744, 10663, 202, 202, 3464, 18, 542, 3744, 751, 12, 2704, 3555, 2964, 751, 12, 1388, 2964, 751, 18, 29818, 67, 6997, 2090, 10019, 202, 202, 3464, 18, 1289, 2966, 12162, 2223, 12, 2704, 467, 2966, 12162, 2223, 1435, 288, 1082, 202, 482, 918, 17965, 1119, 782, 18183, 12, 2966, 12162, 1133, 425, 13, 288, 9506, 202, 687, 18, 2 ]
m_ruleSetOut = (new RuleSetReader(m_inputStream)).read();
m_ruleSetOut = (new RuleSetReader()).read(m_inputStream, "foo");
public void testReadWrite() { try { loadTestFile(); m_ruleSetIn = (new RuleSetReader(m_inputStream)).read(); write(); m_ruleSetOut = (new RuleSetReader(m_inputStream)).read(); compare(); } catch (PMDException pmdException) { pmdException.getOriginalException().printStackTrace(); } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/909301401531806467cecf2f80387cf0cb81232a/RuleSetReadWriteTest.java/clean/pmd/regress/test/net/sourceforge/pmd/RuleSetReadWriteTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1994, 3067, 1435, 565, 288, 3639, 775, 3639, 288, 5411, 1262, 4709, 812, 5621, 5411, 312, 67, 5345, 694, 382, 273, 261, 2704, 6781, 694, 2514, 12, 81, 67, 2630, 1228, 13, 2934, 896, 5621, 5411, 1045, 5621, 5411, 312, 67, 5345, 694, 1182, 273, 261, 2704, 6781, 694, 2514, 1435, 2934, 896, 12, 81, 67, 2630, 1228, 16, 315, 11351, 8863, 5411, 3400, 5621, 3639, 289, 3639, 1044, 261, 52, 6188, 503, 293, 1264, 503, 13, 3639, 288, 5411, 293, 1264, 503, 18, 588, 8176, 503, 7675, 1188, 6332, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1994, 3067, 1435, 565, 288, 3639, 775, 3639, 288, 5411, 1262, 4709, 812, 5621, 5411, 312, 67, 5345, 694, 382, 273, 261, 2704, 6781, 694, 2514, 12, 81, 67, 2630, 1228, 13, 2934, 896, 5621, 5411, 1045, 5621, 5411, 312, 67, 5345, 694, 1182, 273, 261, 2704, 6781, 694, 2514, 1435, 2934, 896, 12, 81, 67, 2630, 1228, 16, 315, 11351, 8863, 5411, 3400, 5621, 3639, 289, 3639, 1044, 261, 52, 6188, 503, 293, 1264, 503, 13, 3639, 288, 5411, 293, 1264, 503, 18, 588, 8176, 503, 7675, 1188, 6332, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testParserBasics() { testString = "1;"; List<Node> ast = parse(testString); IntegerLiteral il = (IntegerLiteral)ast.get(0); assertEquals("1", il.getRepresentation()); testString = "Integer x = new Integer(5);"; ast = parse(testString); VariableDeclaration vd = (VariableDeclaration)ast.get(0); assertEquals("x", vd.getName()); assertFalse(vd.isFinal()); ReferenceType t = (ReferenceType)vd.getType(); SimpleAllocation init = (SimpleAllocation)vd.getInitializer(); assertEquals("Integer", t.getRepresentation()); ReferenceType initt = (ReferenceType)init.getCreationType(); assertEquals("Integer", initt.getRepresentation()); IntegerLiteral initil = (IntegerLiteral)(init.getArguments().get(0)); assertEquals("5", initil.getRepresentation()); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/321e79b1f242fd0fc2fe88ee000f7a52383c7144/GenericTreeTest.java/clean/dynamicjava/src/koala/dynamicjava/tree/tiger/generic/GenericTreeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2678, 11494, 2102, 1435, 288, 565, 1842, 780, 273, 315, 21, 4868, 31, 565, 987, 32, 907, 34, 3364, 273, 1109, 12, 3813, 780, 1769, 565, 2144, 6177, 14254, 273, 261, 4522, 6177, 13, 689, 18, 588, 12, 20, 1769, 565, 1815, 8867, 2932, 21, 3113, 14254, 18, 588, 13742, 10663, 565, 1842, 780, 273, 315, 4522, 619, 273, 394, 2144, 12, 25, 12171, 31, 565, 3364, 273, 1109, 12, 3813, 780, 1769, 565, 7110, 6094, 21161, 273, 261, 26547, 13, 689, 18, 588, 12, 20, 1769, 565, 1815, 8867, 2932, 92, 3113, 21161, 18, 17994, 10663, 565, 1815, 8381, 12, 16115, 18, 291, 7951, 10663, 565, 6268, 559, 268, 273, 261, 2404, 559, 13, 16115, 18, 588, 559, 5621, 565, 4477, 17353, 1208, 273, 261, 5784, 17353, 13, 16115, 18, 588, 14729, 5621, 565, 1815, 8867, 2932, 4522, 3113, 268, 18, 588, 13742, 10663, 565, 6268, 559, 1208, 88, 273, 261, 2404, 559, 13, 2738, 18, 588, 9906, 559, 5621, 565, 1815, 8867, 2932, 4522, 3113, 1208, 88, 18, 588, 13742, 10663, 565, 2144, 6177, 1208, 330, 273, 261, 4522, 6177, 21433, 2738, 18, 588, 4628, 7675, 588, 12, 20, 10019, 565, 1815, 8867, 2932, 25, 3113, 1208, 330, 18, 588, 13742, 10663, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2678, 11494, 2102, 1435, 288, 565, 1842, 780, 273, 315, 21, 4868, 31, 565, 987, 32, 907, 34, 3364, 273, 1109, 12, 3813, 780, 1769, 565, 2144, 6177, 14254, 273, 261, 4522, 6177, 13, 689, 18, 588, 12, 20, 1769, 565, 1815, 8867, 2932, 21, 3113, 14254, 18, 588, 13742, 10663, 565, 1842, 780, 273, 315, 4522, 619, 273, 394, 2144, 12, 25, 12171, 31, 565, 3364, 273, 1109, 12, 3813, 780, 1769, 565, 7110, 6094, 21161, 273, 261, 26547, 13, 689, 18, 588, 12, 20, 1769, 565, 1815, 8867, 2932, 92, 3113, 21161, 18, 17994, 10663, 565, 1815, 8381, 12, 16115, 18, 291, 7951, 10663, 565, 6268, 559, 268, 273, 261, 2404, 559, 13, 2 ]
assertTrue(0 < iface.getPollCount());
assertTrue(0 < iface.getPollCount());
public void testDontPollDuringScheduledOutages() { long start = System.currentTimeMillis(); MockInterface iface = m_network.getInterface(1, "192.168.1.2"); m_pollerConfig.addScheduledOutage(m_pollerConfig.getPackage("TestPackage"), "TestOutage", start, start + 5000, iface.getIpAddr()); MockUtil.println("Begin Outage"); startDaemons(); long now = System.currentTimeMillis(); sleep(3000 - (now - start)); MockUtil.println("End Outage"); assertEquals(0, iface.getPollCount()); sleep(5000); assertTrue(0 < iface.getPollCount()); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/b4e7756e33fc2d9129c42f673171d390be34705f/PollerTest.java/buggy/opennms-services/src/test/java/org/opennms/netmgt/poller/PollerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 40, 1580, 19085, 26424, 10660, 1182, 1023, 1435, 288, 3639, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 3639, 7867, 1358, 9751, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 312, 67, 3915, 749, 809, 18, 1289, 10660, 1182, 410, 12, 81, 67, 3915, 749, 809, 18, 588, 2261, 2932, 4709, 2261, 6, 3631, 315, 4709, 1182, 410, 3113, 787, 16, 787, 397, 20190, 16, 9751, 18, 588, 5273, 3178, 10663, 3639, 7867, 1304, 18, 8222, 2932, 8149, 2976, 410, 8863, 3639, 787, 12858, 87, 5621, 3639, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 5329, 12, 23, 3784, 300, 261, 3338, 300, 787, 10019, 3639, 7867, 1304, 18, 8222, 2932, 1638, 2976, 410, 8863, 3639, 1815, 8867, 12, 20, 16, 9751, 18, 588, 19085, 1380, 10663, 3639, 5329, 12, 25, 3784, 1769, 3639, 1815, 5510, 12, 20, 411, 9751, 18, 588, 19085, 1380, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 40, 1580, 19085, 26424, 10660, 1182, 1023, 1435, 288, 3639, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 3639, 7867, 1358, 9751, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 312, 67, 3915, 749, 809, 18, 1289, 10660, 1182, 410, 12, 81, 67, 3915, 749, 809, 18, 588, 2261, 2932, 4709, 2261, 6, 3631, 315, 4709, 1182, 410, 3113, 787, 16, 787, 397, 20190, 16, 9751, 18, 588, 5273, 3178, 10663, 3639, 7867, 1304, 18, 8222, 2932, 8149, 2976, 410, 8863, 3639, 787, 12858, 87, 5621, 3639, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 5329, 12, 23, 3784, 300, 261, 3338, 2 ]
highlightChitsWithTargets();
highlightCrittersWithTargets();
public void actOnHex(BattleHex hex) { switch (getPhase()) { case MOVE: if (chitSelected) { getCritter(0).moveToHex(hex); chitSelected = false; } highlightMovableChits(); break; case FIGHT: case STRIKEBACK: if (getCarryDamage() > 0) { applyCarries(hex.getCritter()); } else if (chitSelected) { getCritter(0).strike(hex.getCritter()); chitSelected = false; } if (getCarryDamage() == 0) { if (game != null) { Player player = getActivePlayer(); if (player.getOption(Game.autoForcedStrike)) { makeForcedStrikes(false); } } highlightChitsWithTargets(); } break; default: break; } }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/097aac8871f232313bd7d285cf38ae1e8056ef86/Battle.java/buggy/Colossus/Battle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1328, 1398, 7037, 12, 38, 4558, 298, 7037, 3827, 13, 565, 288, 3639, 1620, 261, 588, 11406, 10756, 3639, 288, 5411, 648, 16070, 3412, 30, 7734, 309, 261, 343, 305, 7416, 13, 7734, 288, 10792, 1927, 583, 387, 12, 20, 2934, 8501, 774, 7037, 12, 7118, 1769, 10792, 462, 305, 7416, 273, 629, 31, 7734, 289, 7734, 8839, 49, 1527, 429, 782, 1282, 5621, 7734, 898, 31, 5411, 648, 478, 7700, 30, 5411, 648, 2347, 2259, 6859, 8720, 30, 7734, 309, 261, 588, 16321, 1176, 40, 301, 410, 1435, 405, 374, 13, 7734, 288, 10792, 2230, 16321, 566, 281, 12, 7118, 18, 588, 39, 583, 387, 10663, 7734, 289, 7734, 469, 309, 261, 343, 305, 7416, 13, 7734, 288, 10792, 1927, 583, 387, 12, 20, 2934, 701, 2547, 12, 7118, 18, 588, 39, 583, 387, 10663, 10792, 462, 305, 7416, 273, 629, 31, 7734, 289, 7734, 309, 261, 588, 16321, 1176, 40, 301, 410, 1435, 422, 374, 13, 7734, 288, 10792, 309, 261, 13957, 480, 446, 13, 10792, 288, 13491, 19185, 7291, 273, 11960, 12148, 5621, 13491, 309, 261, 14872, 18, 588, 1895, 12, 12496, 18, 6079, 1290, 3263, 1585, 2547, 3719, 13491, 288, 18701, 1221, 1290, 3263, 1585, 25235, 12, 5743, 1769, 13491, 289, 10792, 289, 10792, 8839, 39, 583, 5432, 1190, 9432, 5621, 7734, 289, 7734, 898, 31, 5411, 805, 30, 7734, 898, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1328, 1398, 7037, 12, 38, 4558, 298, 7037, 3827, 13, 565, 288, 3639, 1620, 261, 588, 11406, 10756, 3639, 288, 5411, 648, 16070, 3412, 30, 7734, 309, 261, 343, 305, 7416, 13, 7734, 288, 10792, 1927, 583, 387, 12, 20, 2934, 8501, 774, 7037, 12, 7118, 1769, 10792, 462, 305, 7416, 273, 629, 31, 7734, 289, 7734, 8839, 49, 1527, 429, 782, 1282, 5621, 7734, 898, 31, 5411, 648, 478, 7700, 30, 5411, 648, 2347, 2259, 6859, 8720, 30, 7734, 309, 261, 588, 16321, 1176, 40, 301, 410, 1435, 405, 374, 13, 7734, 288, 10792, 2230, 16321, 566, 281, 12, 7118, 18, 588, 39, 583, 387, 10663, 7734, 289, 7734, 469, 309, 261, 343, 305, 7416, 2 ]
String sql; if (connection.haveMinimumServerVersion("7.3")) { sql = "SELECT n.nspname,p.proname,p.prorettype,p.proargtypes, t.typtype,t.typrelid "+ " FROM pg_catalog.pg_proc p,pg_catalog.pg_namespace n, pg_catalog.pg_type t "+ " WHERE p.pronamespace=n.oid AND p.prorettype=t.oid "; if (schemaPattern != null && !"".equals(schemaPattern)) { sql += " AND n.nspname LIKE '"+escapeQuotes(schemaPattern.toLowerCase())+"' "; } if (procedureNamePattern != null) { sql += " AND p.proname LIKE '"+escapeQuotes(procedureNamePattern.toLowerCase())+"' "; } sql += " ORDER BY n.nspname, p.proname "; } else { sql = "SELECT NULL AS nspname,p.proname,p.prorettype,p.proargtypes, t.typtype,t.typrelid "+ " FROM pg_proc p,pg_type t "+ " WHERE p.prorettype=t.oid "; if (procedureNamePattern != null) { sql += " AND p.proname LIKE '"+escapeQuotes(procedureNamePattern.toLowerCase())+"' "; } sql += " ORDER BY p.proname "; } ResultSet rs = connection.createStatement().executeQuery(sql); while (rs.next()) { byte schema[] = rs.getBytes("nspname"); byte procedureName[] = rs.getBytes("proname"); int returnType = rs.getInt("prorettype"); String returnTypeType = rs.getString("typtype"); int returnTypeRelid = rs.getInt("typrelid"); String strArgTypes = rs.getString("proargtypes"); StringTokenizer st = new StringTokenizer(strArgTypes); Vector argTypes = new Vector(); while (st.hasMoreTokens()) { argTypes.addElement(new Integer(st.nextToken())); } if (!returnTypeType.equals("c")) { byte[][] tuple = new byte[13][0]; tuple[0] = null; tuple[1] = schema; tuple[2] = procedureName; tuple[3] = "returnValue".getBytes(); tuple[4] = Integer.toString(java.sql.DatabaseMetaData.procedureColumnReturn).getBytes(); tuple[5] = Integer.toString(connection.getSQLType(returnType)).getBytes(); tuple[6] = connection.getPGType(returnType).getBytes(); tuple[7] = null; tuple[8] = null; tuple[9] = null; tuple[10] = null; tuple[11] = Integer.toString(java.sql.DatabaseMetaData.procedureNullableUnknown).getBytes(); tuple[12] = null; v.addElement(tuple); } for (int i=0; i<argTypes.size(); i++) { int argOid = ((Integer)argTypes.elementAt(i)).intValue(); byte[][] tuple = new byte[13][0]; tuple[0] = null; tuple[1] = schema; tuple[2] = procedureName; tuple[3] = ("$"+(i+1)).getBytes(); tuple[4] = Integer.toString(java.sql.DatabaseMetaData.procedureColumnIn).getBytes(); tuple[5] = Integer.toString(connection.getSQLType(argOid)).getBytes(); tuple[6] = connection.getPGType(argOid).getBytes(); tuple[7] = null; tuple[8] = null; tuple[9] = null; tuple[10] = null; tuple[11] = Integer.toString(java.sql.DatabaseMetaData.procedureNullableUnknown).getBytes(); tuple[12] = null; v.addElement(tuple); } if (returnTypeType.equals("c")) { String columnsql = "SELECT a.attname,a.atttypid FROM pg_catalog.pg_attribute a WHERE a.attrelid = "+returnTypeRelid+" ORDER BY a.attnum "; ResultSet columnrs = connection.createStatement().executeQuery(columnsql); while (columnrs.next()) { int columnTypeOid = columnrs.getInt("atttypid"); byte[][] tuple = new byte[13][0]; tuple[0] = null; tuple[1] = schema; tuple[2] = procedureName; tuple[3] = columnrs.getString("attname").getBytes(); tuple[4] = Integer.toString(java.sql.DatabaseMetaData.procedureColumnResult).getBytes(); tuple[5] = Integer.toString(connection.getSQLType(columnTypeOid)).getBytes(); tuple[6] = connection.getPGType(columnTypeOid).getBytes(); tuple[7] = null; tuple[8] = null; tuple[9] = null; tuple[10] = null; tuple[11] = Integer.toString(java.sql.DatabaseMetaData.procedureNullableUnknown).getBytes(); tuple[12] = null; v.addElement(tuple); } } } rs.close();
public java.sql.ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException { if (procedureNamePattern == null) procedureNamePattern = "%"; if (columnNamePattern == null) columnNamePattern = "%"; // for now, this returns an empty result set. Field f[] = new Field[13]; 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, "PROCEDURE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "PROCEDURE_SCHEM", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "PROCEDURE_NAME", iVarcharOid, NAME_SIZE); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, NAME_SIZE); f[4] = new Field(connection, "COLUMN_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[6] = new Field(connection, "TYPE_NAME", iVarcharOid, NAME_SIZE); f[7] = new Field(connection, "PRECISION", iInt4Oid, 4); f[8] = new Field(connection, "LENGTH", iInt4Oid, 4); f[9] = new Field(connection, "SCALE", iInt2Oid, 2); f[10] = new Field(connection, "RADIX", iInt2Oid, 2); f[11] = new Field(connection, "NULLABLE", iInt2Oid, 2); f[12] = new Field(connection, "REMARKS", iVarcharOid, NAME_SIZE); // add query loop here return connection.getResultSet(null, f, v, "OK", 1); }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/40327076bce2d4a086a440f2d10fd1d514f96450/AbstractJdbc1DatabaseMetaData.java/clean/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 780, 1847, 31, 309, 261, 4071, 18, 21516, 13042, 2081, 1444, 2932, 27, 18, 23, 6, 3719, 288, 1847, 273, 315, 4803, 290, 18, 82, 1752, 529, 16, 84, 18, 683, 265, 339, 16, 84, 18, 685, 1349, 723, 16, 84, 18, 685, 3175, 2352, 16, 268, 18, 4098, 27672, 16, 88, 18, 12846, 2878, 350, 13773, 315, 4571, 7184, 67, 7199, 18, 8365, 67, 9381, 293, 16, 8365, 67, 7199, 18, 8365, 67, 4937, 290, 16, 7184, 67, 7199, 18, 8365, 67, 723, 268, 13773, 315, 4852, 293, 18, 683, 265, 753, 909, 33, 82, 18, 839, 4116, 293, 18, 685, 1349, 723, 33, 88, 18, 839, 13636, 309, 261, 4821, 3234, 480, 446, 597, 401, 3660, 18, 14963, 12, 4821, 3234, 3719, 288, 1847, 1011, 315, 4116, 290, 18, 82, 1752, 529, 13161, 2119, 15, 6939, 14292, 12, 4821, 3234, 18, 869, 5630, 10756, 15, 5187, 13636, 289, 309, 261, 685, 8153, 461, 3234, 480, 446, 13, 288, 1847, 1011, 315, 4116, 293, 18, 683, 265, 339, 13161, 2119, 15, 6939, 14292, 12, 685, 8153, 461, 3234, 18, 869, 5630, 10756, 15, 5187, 13636, 289, 1847, 1011, 315, 10205, 6953, 290, 18, 82, 1752, 529, 16, 293, 18, 683, 265, 339, 13636, 289, 469, 288, 1847, 273, 315, 4803, 3206, 5355, 28390, 529, 16, 84, 18, 683, 265, 339, 16, 84, 18, 685, 1349, 723, 16, 84, 18, 685, 3175, 2352, 16, 268, 18, 4098, 27672, 16, 88, 18, 12846, 2878, 350, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 780, 1847, 31, 309, 261, 4071, 18, 21516, 13042, 2081, 1444, 2932, 27, 18, 23, 6, 3719, 288, 1847, 273, 315, 4803, 290, 18, 82, 1752, 529, 16, 84, 18, 683, 265, 339, 16, 84, 18, 685, 1349, 723, 16, 84, 18, 685, 3175, 2352, 16, 268, 18, 4098, 27672, 16, 88, 18, 12846, 2878, 350, 13773, 315, 4571, 7184, 67, 7199, 18, 8365, 67, 9381, 293, 16, 8365, 67, 7199, 18, 8365, 67, 4937, 290, 16, 7184, 67, 7199, 18, 8365, 67, 723, 268, 13773, 315, 4852, 293, 18, 683, 265, 753, 909, 33, 82, 18, 839, 4116, 293, 18, 685, 1349, 723, 33, 88, 18, 839, 13636, 309, 261, 4821, 3234, 480, 446, 597, 2 ]
String path = Helper.getPixelsPath(pixbuf.getId());
String path = getPixelsPath(pixbuf.getId());
private void initPixelBuffer(PixelBuffer pixbuf) throws IOException { String path = Helper.getPixelsPath(pixbuf.getId()); byte[] padding = new byte[pixbuf.getPlaneSize() - NULL_PLANE_SIZE]; FileOutputStream stream = new FileOutputStream(path); for (int z = 0; z < pixbuf.getSizeZ(); z++) { for (int c = 0; c < pixbuf.getSizeC(); c++) { for (int t = 0; t < pixbuf.getSizeT(); t++) { stream.write(nullPlane); stream.write(padding); } } } }
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/ae0b01fad17fcacba3ec0999ca1ad645f389b5f9/PixelsService.java/clean/components/omeio-nio/src/ome/io/nio/PixelsService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 9037, 1892, 12, 9037, 1892, 11871, 4385, 13, 3639, 1216, 1860, 565, 288, 3639, 514, 589, 273, 1689, 3556, 87, 743, 12, 14861, 4385, 18, 26321, 10663, 3639, 1160, 8526, 4992, 273, 394, 1160, 63, 14861, 4385, 18, 588, 19505, 1225, 1435, 300, 3206, 67, 6253, 1258, 41, 67, 4574, 15533, 3639, 12942, 1407, 273, 394, 12942, 12, 803, 1769, 7734, 364, 261, 474, 998, 273, 374, 31, 998, 411, 11871, 4385, 18, 588, 1225, 62, 5621, 998, 27245, 3639, 288, 5411, 364, 261, 474, 276, 273, 374, 31, 276, 411, 11871, 4385, 18, 588, 1225, 39, 5621, 276, 27245, 5411, 288, 7734, 364, 261, 474, 268, 273, 374, 31, 268, 411, 11871, 4385, 18, 588, 1225, 56, 5621, 268, 27245, 7734, 288, 10792, 1407, 18, 2626, 12, 2011, 19505, 1769, 10792, 1407, 18, 2626, 12, 9598, 1769, 7734, 289, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 9037, 1892, 12, 9037, 1892, 11871, 4385, 13, 3639, 1216, 1860, 565, 288, 3639, 514, 589, 273, 1689, 3556, 87, 743, 12, 14861, 4385, 18, 26321, 10663, 3639, 1160, 8526, 4992, 273, 394, 1160, 63, 14861, 4385, 18, 588, 19505, 1225, 1435, 300, 3206, 67, 6253, 1258, 41, 67, 4574, 15533, 3639, 12942, 1407, 273, 394, 12942, 12, 803, 1769, 7734, 364, 261, 474, 998, 273, 374, 31, 998, 411, 11871, 4385, 18, 588, 1225, 62, 5621, 998, 27245, 3639, 288, 5411, 364, 261, 474, 276, 273, 374, 31, 276, 411, 11871, 4385, 18, 588, 1225, 39, 5621, 276, 27245, 5411, 288, 7734, 364, 261, 474, 268, 273, 374, 31, 268, 411, 11871, 4385, 18, 2 ]
return (RubyClass) getModule(name);
return objectClass.getClass(name);
public RubyClass getClass(String name) { try { return (RubyClass) getModule(name); } catch (ClassCastException e) { throw newTypeError(name + " is not a Class"); } }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/ca6b16e996ea9af83ce593594b9c69b9364a9924/Ruby.java/clean/src/org/jruby/Ruby.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 797, 2900, 12, 780, 508, 13, 288, 3639, 775, 288, 5411, 327, 23992, 18, 588, 797, 12, 529, 1769, 540, 289, 1044, 261, 797, 22768, 425, 13, 288, 5411, 604, 394, 19030, 12, 529, 397, 315, 353, 486, 279, 1659, 8863, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 19817, 797, 2900, 12, 780, 508, 13, 288, 3639, 775, 288, 5411, 327, 23992, 18, 588, 797, 12, 529, 1769, 540, 289, 1044, 261, 797, 22768, 425, 13, 288, 5411, 604, 394, 19030, 12, 529, 397, 315, 353, 486, 279, 1659, 8863, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return IsPentium2Compatible() || (getCPUFamily() == 5 && (getCPUModel() ==4 || getCPUModel() == 8));
return IsPentium2Compatible() || ((getCPUFamily() == 5) && ((getCPUModel() ==4) || (getCPUModel() == 8)));
public boolean IsPentiumMMXCompatible() { return IsPentium2Compatible() || (getCPUFamily() == 5 && (getCPUModel() ==4 || getCPUModel() == 8)); }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/CPUID.java/buggy/src/freenet/support/CPUInformation/CPUID.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 2585, 52, 319, 5077, 8206, 60, 14599, 1435, 202, 202, 95, 1082, 202, 2463, 2585, 52, 319, 5077, 22, 14599, 1435, 747, 261, 588, 15222, 9203, 1435, 422, 1381, 597, 261, 588, 15222, 1488, 1435, 422, 24, 747, 1927, 18061, 1488, 1435, 422, 1725, 10019, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 2585, 52, 319, 5077, 8206, 60, 14599, 1435, 202, 202, 95, 1082, 202, 2463, 2585, 52, 319, 5077, 22, 14599, 1435, 747, 261, 588, 15222, 9203, 1435, 422, 1381, 597, 261, 588, 15222, 1488, 1435, 422, 24, 747, 1927, 18061, 1488, 1435, 422, 1725, 10019, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void addMapChangeListener(IMapChangeListener listener) {
public synchronized void addMapChangeListener(IMapChangeListener listener) {
public void addMapChangeListener(IMapChangeListener listener) { mapListeners.add(listener); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/5d031379787228aef9d49dde4aebc25581c32a83/AbstractObservableMap.java/buggy/bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/observable/map/AbstractObservableMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 863, 15744, 12, 45, 863, 15744, 2991, 13, 288, 202, 202, 1458, 5583, 18, 1289, 12, 12757, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 863, 15744, 12, 45, 863, 15744, 2991, 13, 288, 202, 202, 1458, 5583, 18, 1289, 12, 12757, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
of.i = i;
public static int int_get_ref(int i) { ObjectFields of = new ObjectFields(); of.i = i; return of.i; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/c9865f9bb09b88aadecde2540b4768b960a8b556/ObjectFields.java/buggy/test/internal/ObjectFields.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 509, 67, 588, 67, 1734, 12, 474, 277, 13, 565, 288, 202, 921, 2314, 434, 273, 394, 1033, 2314, 5621, 202, 792, 18, 77, 273, 277, 31, 202, 2463, 434, 18, 77, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 509, 67, 588, 67, 1734, 12, 474, 277, 13, 565, 288, 202, 921, 2314, 434, 273, 394, 1033, 2314, 5621, 202, 792, 18, 77, 273, 277, 31, 202, 2463, 434, 18, 77, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]