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
buf.append(" <log4j:data name=\"" + propName);
buf.append(" <log4j:data name=\""); buf.append(propName);
public String format(LoggingEvent event) { StringBuffer buf = new StringBuffer(); // We yield to the \r\n heresy. buf.append("<log4j:event logger=\""); buf.append(event.getLoggerName()); buf.append("\" timestamp=\""); buf.append(Long.toString(event.getTimeStamp())); buf.append("\" sequenceNumber=\""); buf.append(Long.toString(event.getSequenceNumber())); buf.append("\" level=\""); buf.append(event.getLevel().toString()); buf.append("\" thread=\""); buf.append(event.getThreadName()); buf.append("\">\r\n"); buf.append("<log4j:message><![CDATA["); // Append the rendered message. Also make sure to escape any // existing CDATA sections. Transform.appendEscapingCDATA(buf, event.getRenderedMessage()); buf.append("]]></log4j:message>\r\n"); String ndc = event.getNDC(); if (ndc != null) { buf.append("<log4j:NDC><![CDATA["); buf.append(ndc); buf.append("]]></log4j:NDC>\r\n"); } // Set mdcKeySet = event.getMDCKeySet(); // // if ((mdcKeySet != null) && (mdcKeySet.size() > 0)) { // /** // * Normally a sort isn't required, but for Test Case purposes // * we need to guarantee a particular order. // * // * Besides which, from a human readable point of view, the sorting // * of the keys is kinda nice.. // */ // List sortedList = new ArrayList(mdcKeySet); // Collections.sort(sortedList); // // buf.append("<log4j:MDC>\r\n"); // // Iterator iter = sortedList.iterator(); // // while (iter.hasNext()) { // String propName = iter.next().toString(); // output.write(" <log4j:data name=\"" + propName); // // String propValue = event.getMDC(propName).toString(); // output.write("\" value=\"" + propValue); // output.write("\"/>\r\n"); // } // // output.write("</log4j:MDC>\r\n"); // } if (!ignoresThrowable) { String[] s = event.getThrowableStrRep(); if (s != null) { buf.append("<log4j:throwable><![CDATA["); for (int i = 0; i < s.length; i++) { buf.append(s[i]); buf.append("\r\n"); } buf.append("]]></log4j:throwable>\r\n"); } } if (locationInfo) { LocationInfo locationInfo = event.getLocationInformation(); buf.append("<log4j:locationInfo class=\""); buf.append(Transform.escapeTags(locationInfo.getClassName())); buf.append("\" method=\""); buf.append(Transform.escapeTags(locationInfo.getMethodName())); buf.append("\" file=\""); buf.append(locationInfo.getFileName()); buf.append("\" line=\""); buf.append(locationInfo.getLineNumber()); buf.append("\"/>\r\n"); } Set propertySet = event.getPropertyKeySet(); if ((propertySet != null) && (propertySet.size() > 0)) { buf.append("<log4j:properties>\r\n"); Iterator propIter = propertySet.iterator(); while (propIter.hasNext()) { String propName = propIter.next().toString(); buf.append(" <log4j:data name=\"" + propName); String propValue = event.getProperty(propName).toString(); buf.append("\" value=\"" + propValue); buf.append("\"/>\r\n"); } buf.append("</log4j:properties>\r\n"); } buf.append("</log4j:event>\r\n\r\n"); return buf.toString(); }
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/887bcc64c1a2854652bd7a140750b039ae9251d7/XMLLayout.java/clean/src/java/org/apache/log4j/xml/XMLLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 740, 12, 7735, 1133, 871, 13, 288, 565, 6674, 1681, 273, 394, 6674, 5621, 565, 368, 1660, 2824, 358, 326, 521, 86, 64, 82, 366, 11737, 93, 18, 565, 1681, 18, 6923, 2932, 32, 1330, 24, 78, 30, 2575, 1194, 5189, 8863, 565, 1681, 18, 6923, 12, 2575, 18, 588, 3328, 461, 10663, 565, 1681, 18, 6923, 2932, 2412, 2858, 5189, 8863, 565, 1681, 18, 6923, 12, 3708, 18, 10492, 12, 2575, 18, 588, 21536, 1435, 10019, 565, 1681, 18, 6923, 2932, 2412, 3102, 1854, 5189, 8863, 565, 1681, 18, 6923, 12, 3708, 18, 10492, 12, 2575, 18, 588, 21047, 1435, 10019, 565, 1681, 18, 6923, 2932, 2412, 1801, 5189, 8863, 565, 1681, 18, 6923, 12, 2575, 18, 588, 2355, 7675, 10492, 10663, 565, 1681, 18, 6923, 2932, 2412, 2650, 5189, 8863, 565, 1681, 18, 6923, 12, 2575, 18, 588, 3830, 461, 10663, 565, 1681, 18, 6923, 2932, 28219, 86, 64, 82, 8863, 565, 1681, 18, 6923, 2932, 32, 1330, 24, 78, 30, 2150, 4438, 5, 63, 18375, 63, 8863, 565, 368, 6181, 326, 7935, 883, 18, 8080, 1221, 3071, 358, 4114, 1281, 565, 368, 2062, 28294, 7178, 18, 565, 11514, 18, 6923, 6412, 24447, 18375, 12, 4385, 16, 871, 18, 588, 19222, 1079, 10663, 565, 1681, 18, 6923, 2932, 13563, 4695, 1330, 24, 78, 30, 2150, 5333, 86, 64, 82, 8863, 565, 514, 5346, 71, 273, 871, 18, 588, 2908, 39, 5621, 565, 309, 261, 4880, 71, 480, 446, 13, 288, 1377, 1681, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 740, 12, 7735, 1133, 871, 13, 288, 565, 6674, 1681, 273, 394, 6674, 5621, 565, 368, 1660, 2824, 358, 326, 521, 86, 64, 82, 366, 11737, 93, 18, 565, 1681, 18, 6923, 2932, 32, 1330, 24, 78, 30, 2575, 1194, 5189, 8863, 565, 1681, 18, 6923, 12, 2575, 18, 588, 3328, 461, 10663, 565, 1681, 18, 6923, 2932, 2412, 2858, 5189, 8863, 565, 1681, 18, 6923, 12, 3708, 18, 10492, 12, 2575, 18, 588, 21536, 1435, 10019, 565, 1681, 18, 6923, 2932, 2412, 3102, 1854, 5189, 8863, 565, 1681, 18, 6923, 12, 3708, 18, 10492, 12, 2575, 18, 588, 21047, 1435, 10019, 565, 1681, 18, 6923, 2932, 2412, 1801, 5189, 8863, 565, 1681, 18, 6923, 12, 2 ]
case 13:
case 8:
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 19; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 17; else if (curChar == 34) jjCheckNAddTwoStates(12, 13); else if (curChar == 35) { if (kind > 19) kind = 19; } else if (curChar == 36) { if (kind > 14) kind = 14; } else if (curChar == 41) { if (kind > 5) kind = 5; jjCheckNAddStates(0, 2); } if (curChar == 35) jjstateSet[jjnewStateCnt++] = 8; break; case 1: if (curChar != 32) break; if (kind > 5) kind = 5; jjCheckNAddStates(0, 2); break; case 2: if ((0x2400L & l) != 0L && kind > 5) kind = 5; break; case 3: if (curChar == 10 && kind > 5) kind = 5; break; case 4: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 3; break; case 5: if (curChar == 36 && kind > 14) kind = 14; break; case 6: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 7; break; case 7: if ((0xfffffff7ffffffffL & l) != 0L && kind > 17) kind = 17; break; case 8: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 6; break; case 9: if (curChar == 35) jjstateSet[jjnewStateCnt++] = 8; break; case 10: if (curChar == 35 && kind > 19) kind = 19; break; case 11: if (curChar == 34) jjCheckNAddTwoStates(12, 13); break; case 12: if ((0xfffffffbffffdbffL & l) != 0L) jjCheckNAddTwoStates(12, 13); break; case 13: if (curChar == 34 && kind > 28) kind = 28; break; case 15: if ((0x3ff200000000000L & l) == 0L) break; if (kind > 61) kind = 61; jjstateSet[jjnewStateCnt++] = 15; break; case 16: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 17; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 61) kind = 61; jjCheckNAdd(15); } else if (curChar == 92) jjAddStates(3, 4); break; case 7: if (kind > 17) kind = 17; break; case 12: jjAddStates(5, 6); break; case 14: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 61) kind = 61; jjCheckNAdd(15); break; case 15: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 61) kind = 61; jjCheckNAdd(15); break; case 17: if ((0x7fffffe07fffffeL & l) != 0L && kind > 62) kind = 62; break; case 18: if (curChar == 92) jjAddStates(3, 4); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 17) kind = 17; break; case 12: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(5, 6); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 19 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/65bb22ee318c85d66cafbb1a948ac2aa22008ee7/ParserTokenManager.java/buggy/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 21, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 5342, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 374, 30, 5375, 309, 261, 1397, 2156, 422, 17077, 13, 5397, 10684, 2019, 694, 63, 78, 78, 2704, 1119, 11750, 9904, 65, 273, 8043, 31, 5375, 469, 309, 261, 1397, 2156, 422, 13438, 13, 5397, 10684, 1564, 50, 986, 11710, 7629, 12, 2138, 16, 5958, 1769, 5375, 469, 309, 261, 1397, 2156, 422, 13191, 13, 5375, 288, 5397, 309, 261, 9224, 405, 5342, 13, 13491, 3846, 273, 5342, 31, 5375, 289, 5375, 469, 309, 261, 1397, 2156, 422, 6580, 13, 5375, 288, 5397, 309, 261, 9224, 405, 5045, 13, 13491, 3846, 273, 5045, 31, 5375, 289, 5375, 469, 309, 261, 1397, 2156, 422, 20170, 13, 5375, 288, 5397, 309, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 21, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 5342, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 2 ]
suite.addTest(new TestSuite(CheckerTest.class)); suite.addTest(new TestSuite(DetailASTTest.class));
public static Test suite() { TestSuite suite = new TestSuite("Test for com.puppycrawl.tools.checkstyle"); //$JUnit-BEGIN$ suite.addTest(new TestSuite(CheckerTest.class)); suite.addTest(new TestSuite(DetailASTTest.class)); suite.addTest(new TestSuite(AbstractClassNameCheckTest.class)); suite.addTest(new TestSuite(AbstractViolationReporterTest.class)); suite.addTest(new TestSuite(AnonInnerLengthCheckTest.class)); suite.addTest(new TestSuite(ArrayTypeStyleCheckTest.class)); suite.addTest(new TestSuite(AvoidInlineConditionalsCheckTest.class)); suite.addTest(new TestSuite(AvoidNestedBlocksCheckTest.class)); suite.addTest(new TestSuite(AvoidStarImportTest.class)); suite.addTest(new TestSuite(ArrayTrailingCommaCheckTest.class)); suite.addTest(new TestSuite(ConfigurationLoaderTest.class)); suite.addTest(new TestSuite(ConstantNameCheckTest.class)); suite.addTest(new TestSuite(CovariantEqualsCheckTest.class)); suite.addTest(new TestSuite(CyclomaticComplexityCheckTest.class)); suite.addTest(new TestSuite(DescendantTokenCheckTest.class)); suite.addTest(new TestSuite(DesignForExtensionCheckTest.class)); suite.addTest(new TestSuite(DoubleCheckedLockingCheckTest.class)); suite.addTest(new TestSuite(EmptyBlockCheckTest.class)); suite.addTest(new TestSuite(EmptyForIteratorPadCheckTest.class)); suite.addTest(new TestSuite(EmptyStatementCheckTest.class)); suite.addTest(new TestSuite(EqualsHashCodeCheckTest.class)); suite.addTest(new TestSuite(FileLengthCheckTest.class)); suite.addTest(new TestSuite(FileSetCheckLifecycleTest.class)); suite.addTest(new TestSuite(FinalParametersCheckTest.class)); suite.addTest(new TestSuite(GenericIllegalRegexpCheckTest.class)); suite.addTest(new TestSuite(HeaderCheckTest.class)); suite.addTest(new TestSuite(HiddenFieldCheckTest.class)); suite.addTest(new TestSuite(HideUtilityClassConstructorCheckTest.class)); suite.addTest(new TestSuite(IllegalCatchCheckTest.class)); suite.addTest(new TestSuite(IllegalImportCheckTest.class)); suite.addTest(new TestSuite(IllegalInstantiationCheckTest.class)); suite.addTest(new TestSuite(IllegalTokenCheckTest.class)); suite.addTest(new TestSuite(IllegalTokenTextCheckTest.class)); suite.addTest(new TestSuite(IndentationCheckTest.class)); suite.addTest(new TestSuite(InnerAssignmentCheckTest.class)); suite.addTest(new TestSuite(InterfaceIsTypeCheckTest.class)); suite.addTest(new TestSuite(JavadocMethodCheckTest.class)); suite.addTest(new TestSuite(JavadocStyleCheckTest.class)); suite.addTest(new TestSuite(JavadocTypeCheckTest.class)); suite.addTest(new TestSuite(JavadocVariableCheckTest.class)); suite.addTest(new TestSuite(JUnitTestCaseCheckTest.class)); suite.addTest(new TestSuite(LineLengthCheckTest.class)); suite.addTest(new TestSuite(LocalFinalVariableNameCheckTest.class)); suite.addTest(new TestSuite(LocalVariableNameCheckTest.class)); suite.addTest(new TestSuite(MagicNumberCheckTest.class)); suite.addTest(new TestSuite(MemberNameCheckTest.class)); suite.addTest(new TestSuite(MethodLengthCheckTest.class)); suite.addTest(new TestSuite(MethodNameCheckTest.class)); suite.addTest(new TestSuite(ModifierOrderCheckTest.class)); suite.addTest(new TestSuite(MutableExceptionCheckTest.class)); suite.addTest(new TestSuite(NeedBracesCheckTest.class)); suite.addTest(new TestSuite(NestedIfDepthCheckTest.class)); suite.addTest(new TestSuite(NestedTryDepthCheckTest.class)); suite.addTest(new TestSuite(NewlineAtEndOfFileCheckTest.class)); suite.addTest(new TestSuite(NoWhitespaceAfterCheckTest.class)); suite.addTest(new TestSuite(NoWhitespaceBeforeCheckTest.class)); suite.addTest(new TestSuite(OperatorWrapCheckTest.class)); suite.addTest(new TestSuite(OptionTest.class)); suite.addTest(new TestSuite(PackageDeclarationCheckTest.class)); suite.addTest(new TestSuite(PackageHtmlCheckTest.class)); suite.addTest(new TestSuite(PackageNameCheckTest.class)); suite.addTest(new TestSuite(PackageNamesLoaderTest.class)); suite.addTest(new TestSuite(PackageObjectFactoryTest.class)); suite.addTest(new TestSuite(ParameterNameCheckTest.class)); suite.addTest(new TestSuite(ParameterNumberCheckTest.class)); suite.addTest(new TestSuite(ParenPadCheckTest.class)); suite.addTest(new TestSuite(RedundantImportCheckTest.class)); suite.addTest(new TestSuite(RedundantModifierTest.class)); suite.addTest(new TestSuite(RedundantThrowsCheckTest.class)); suite.addTest(new TestSuite(RightCurlyCheckTest.class)); suite.addTest(new TestSuite(SimplifyBooleanExpressionCheckTest.class)); suite.addTest(new TestSuite(SimplifyBooleanReturnCheckTest.class)); suite.addTest(new TestSuite(StaticVariableNameCheckTest.class)); suite.addTest(new TestSuite(StringArrayReaderTest.class)); suite.addTest(new TestSuite(StringLiteralEqualityCheckTest.class)); suite.addTest(new TestSuite(SuperCloneCheckTest.class)); suite.addTest(new TestSuite(SuperFinalizeCheckTest.class)); suite.addTest(new TestSuite(TabCharacterCheckTest.class)); suite.addTest(new TestSuite(TodoCommentCheckTest.class)); suite.addTest(new TestSuite(TranslationCheckTest.class)); suite.addTest(new TestSuite(TypecastParenPadCheckTest.class)); suite.addTest(new TestSuite(LeftCurlyCheckTest.class)); suite.addTest(new TestSuite(TypeNameCheckTest.class)); suite.addTest(new TestSuite(UncommentedMainCheckTest.class)); suite.addTest(new TestSuite(UnusedImportsCheckTest.class)); suite.addTest(new TestSuite(UpperEllCheckTest.class)); suite.addTest(new TestSuite(UtilsTest.class)); suite.addTest(new TestSuite(VisibilityModifierCheckTest.class)); suite.addTest(new TestSuite(WhitespaceAfterCheckTest.class)); suite.addTest(new TestSuite(WhitespaceAroundTest.class)); suite.addTest(new TestSuite(XMLLoggerTest.class)); suite.addTest(new TestSuite(FinalClassCheckTest.class)); suite.addTest(new TestSuite(MissingSwitchDefaultCheckTest.class)); // j2ee tests-BEGIN suite.addTest(new TestSuite(EntityBeanCheckTest.class)); suite.addTest(new TestSuite(FinalStaticCheckTest.class)); suite.addTest(new TestSuite(LocalHomeInterfaceCheckTest.class)); suite.addTest(new TestSuite(LocalInterfaceCheckTest.class)); suite.addTest(new TestSuite(MessageBeanCheckTest.class)); suite.addTest(new TestSuite(RemoteHomeInterfaceCheckTest.class)); suite.addTest(new TestSuite(RemoteInterfaceCheckTest.class)); suite.addTest(new TestSuite(SessionBeanCheckTest.class)); suite.addTest(new TestSuite(ThisParameterCheckTest.class)); suite.addTest(new TestSuite(ThisReturnCheckTest.class)); // j2ee tests-END // usage tests-BEGIN suite.addTest(new TestSuite(OneMethodPrivateFieldCheckTest.class)); suite.addTest(new TestSuite(UnusedLocalVariableCheckTest.class)); suite.addTest(new TestSuite(UnusedParameterCheckTest.class)); suite.addTest(new TestSuite(UnusedPrivateFieldCheckTest.class)); suite.addTest(new TestSuite(UnusedPrivateMethodCheckTest.class)); // usage tests-END //$JUnit-END$ return suite; }
31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/9bc9f418278ed8782e473b2dbf4d7669e886bfcb/AllTests.java/buggy/src/tests/com/puppycrawl/tools/checkstyle/AllTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 7766, 11371, 1435, 288, 3639, 7766, 13587, 11371, 273, 5411, 394, 7766, 13587, 2932, 4709, 364, 532, 18, 84, 416, 2074, 71, 15161, 18, 6642, 18, 31540, 8863, 3639, 4329, 46, 2802, 17, 16061, 8, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 8847, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 6109, 9053, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 7469, 3834, 1564, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 7469, 11683, 13289, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 979, 265, 2857, 1782, 1564, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 27182, 2885, 1564, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 3769, 839, 10870, 3418, 1031, 1564, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 3769, 839, 8649, 6450, 1564, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 3769, 839, 18379, 5010, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 1076, 16808, 15594, 1564, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 1750, 2886, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 6902, 461, 1564, 4709, 18, 1106, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 7766, 11371, 1435, 288, 3639, 7766, 13587, 11371, 273, 5411, 394, 7766, 13587, 2932, 4709, 364, 532, 18, 84, 416, 2074, 71, 15161, 18, 6642, 18, 31540, 8863, 3639, 4329, 46, 2802, 17, 16061, 8, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 8847, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 6109, 9053, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 7469, 3834, 1564, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 7469, 11683, 13289, 4709, 18, 1106, 10019, 3639, 11371, 18, 1289, 4709, 12, 2704, 7766, 13587, 12, 979, 265, 2857, 1782, 1564, 4709, 2 ]
public abstract void setFilenameFilter(FilenameFilter ff);
void setFilenameFilter (FilenameFilter ff);
public abstract void setFilenameFilter(FilenameFilter ff);
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/FileDialogPeer.java/clean/core/src/classpath/java/java/awt/peer/FileDialogPeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 8770, 918, 444, 5359, 1586, 12, 5359, 1586, 6875, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 8770, 918, 444, 5359, 1586, 12, 5359, 1586, 6875, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (jj_scan_token(STARASSIGN)) return true;
if (jj_scan_token(FLOATING_POINT_LITERAL)) return true;
final private boolean jj_3R_203() { if (jj_scan_token(STARASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 3462, 23, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 15640, 1360, 67, 8941, 67, 23225, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 3462, 23, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 15640, 1360, 67, 8941, 67, 23225, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
getLogger().info( " ***** connection " + entry.getId() + " is way too old: " + age + " > " + ACTIVE_CONN_TIME_LIMIT);
StringBuffer logBuffer = new StringBuffer(128) .append(" ***** connection ") .append(entry.getId()) .append(" is way too old: ") .append(age) .append(" > ") .append(ACTIVE_CONN_TIME_LIMIT); getLogger().info(logBuffer.toString());
public void run() { while(reaperActive) { for(int i = 0; i < pool.size(); i++) { PoolConnEntry entry = (PoolConnEntry)pool.elementAt(i); long age = System.currentTimeMillis() - entry.getLastActivity(); synchronized(entry) { if((entry.getStatus() == PoolConnEntry.ACTIVE) && (age > ACTIVE_CONN_TIME_LIMIT)) { getLogger().info( " ***** connection " + entry.getId() + " is way too old: " + age + " > " + ACTIVE_CONN_TIME_LIMIT); // This connection is way too old... // kill it no matter what finalizeEntry(entry); continue; } if((entry.getStatus() == PoolConnEntry.AVAILABLE) && (age > CONN_IDLE_LIMIT)) { //We've got a connection that's too old... kill it finalizeEntry(entry); continue; } } } try { // Check for activity every 5 seconds Thread.sleep(5000L); } catch(InterruptedException ex) { } } }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/2557fc80c334a8bf037aa78d48c3d733651ee9a9/JdbcDataSource.java/buggy/trunk/src/java/org/apache/james/util/mordred/JdbcDataSource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 1323, 12, 266, 7294, 3896, 13, 288, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 2845, 18, 1467, 5621, 277, 27245, 288, 7734, 8828, 3543, 1622, 1241, 273, 261, 2864, 3543, 1622, 13, 6011, 18, 2956, 861, 12, 77, 1769, 7734, 1525, 9388, 5411, 273, 2332, 18, 2972, 28512, 1435, 300, 1241, 18, 588, 3024, 6193, 5621, 7734, 3852, 12, 4099, 13, 288, 10792, 309, 12443, 4099, 18, 588, 1482, 1435, 422, 8828, 3543, 1622, 18, 13301, 13, 597, 15604, 261, 410, 405, 21135, 67, 27733, 67, 4684, 67, 8283, 3719, 288, 13491, 7156, 7675, 1376, 12, 27573, 315, 380, 1007, 1459, 315, 397, 1241, 18, 26321, 1435, 397, 315, 353, 4031, 4885, 1592, 30, 315, 397, 9388, 397, 27573, 315, 405, 315, 397, 21135, 67, 27733, 67, 4684, 67, 8283, 1769, 13491, 368, 1220, 1459, 353, 4031, 4885, 1592, 2777, 13491, 368, 8673, 518, 1158, 15177, 4121, 13491, 12409, 1622, 12, 4099, 1769, 13491, 1324, 31, 10792, 289, 10792, 309, 12443, 4099, 18, 588, 1482, 1435, 422, 8828, 3543, 1622, 18, 23222, 13, 597, 15604, 261, 410, 405, 3492, 50, 67, 734, 900, 67, 8283, 3719, 288, 13491, 368, 3218, 8081, 2363, 279, 1459, 716, 1807, 4885, 1592, 2777, 8673, 518, 13491, 12409, 1622, 12, 4099, 1769, 13491, 1324, 31, 10792, 289, 7734, 289, 5411, 289, 5411, 775, 288, 7734, 368, 2073, 364, 5728, 3614, 1381, 3974, 7734, 4884, 18, 19607, 12, 25, 3784, 48, 1769, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 1323, 12, 266, 7294, 3896, 13, 288, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 2845, 18, 1467, 5621, 277, 27245, 288, 7734, 8828, 3543, 1622, 1241, 273, 261, 2864, 3543, 1622, 13, 6011, 18, 2956, 861, 12, 77, 1769, 7734, 1525, 9388, 5411, 273, 2332, 18, 2972, 28512, 1435, 300, 1241, 18, 588, 3024, 6193, 5621, 7734, 3852, 12, 4099, 13, 288, 10792, 309, 12443, 4099, 18, 588, 1482, 1435, 422, 8828, 3543, 1622, 18, 13301, 13, 597, 15604, 261, 410, 405, 21135, 67, 27733, 67, 4684, 67, 8283, 3719, 288, 13491, 7156, 7675, 1376, 12, 27573, 315, 380, 1007, 1459, 315, 397, 1241, 18, 26321, 1435, 397, 315, 2 ]
synchronized void removeActiveWorker(DownloadWorker worker) {
synchronized boolean removeActiveWorker(DownloadWorker worker) {
synchronized void removeActiveWorker(DownloadWorker worker) { currentRFDs.remove(worker.getRFD()); List l = new ArrayList(getActiveWorkers()); l.remove(worker); _activeWorkers = Collections.unmodifiableList(l); }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/c87a6c0b85a903f73426aac467b85c287af79be6/ManagedDownloader.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/downloader/ManagedDownloader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 1250, 1206, 3896, 6671, 12, 7109, 6671, 4322, 13, 288, 3639, 783, 12918, 22831, 18, 4479, 12, 10124, 18, 588, 12918, 40, 10663, 3639, 987, 328, 273, 394, 2407, 12, 588, 3896, 15252, 10663, 3639, 328, 18, 4479, 12, 10124, 1769, 3639, 389, 3535, 15252, 273, 5737, 18, 318, 13388, 682, 12, 80, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 1250, 1206, 3896, 6671, 12, 7109, 6671, 4322, 13, 288, 3639, 783, 12918, 22831, 18, 4479, 12, 10124, 18, 588, 12918, 40, 10663, 3639, 987, 328, 273, 394, 2407, 12, 588, 3896, 15252, 10663, 3639, 328, 18, 4479, 12, 10124, 1769, 3639, 389, 3535, 15252, 273, 5737, 18, 318, 13388, 682, 12, 80, 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 ]
comprator = 9; int return_int=-1;
setComprator(9); int return_int = -1;
public int getMaxGrID() { comprator = 9; int return_int=-1; try { registerParameters(); rs = cstm.executeQuery(); while(rs.next()) { return_int = rs.getInt(1); } } catch(java.sql.SQLException sqle) {sqle.printStackTrace();} return return_int; }
12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/187dcf7bb9ada58dc1a0ed5b75fd4fd60a6e613f/dbNumDoc.java/buggy/src/imakante/sales/dbNumDoc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 509, 7288, 20799, 734, 1435, 288, 3639, 532, 683, 639, 273, 2468, 31, 3639, 509, 327, 67, 474, 29711, 21, 31, 3639, 775, 288, 5411, 1744, 2402, 5621, 5411, 3597, 273, 276, 334, 81, 18, 8837, 1138, 5621, 5411, 1323, 12, 5453, 18, 4285, 10756, 288, 7734, 327, 67, 474, 273, 3597, 18, 588, 1702, 12, 21, 1769, 5411, 289, 3639, 289, 1044, 12, 6290, 18, 4669, 18, 23116, 4744, 298, 13, 288, 11410, 298, 18, 1188, 6332, 5621, 97, 3639, 327, 327, 67, 474, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 509, 7288, 20799, 734, 1435, 288, 3639, 532, 683, 639, 273, 2468, 31, 3639, 509, 327, 67, 474, 29711, 21, 31, 3639, 775, 288, 5411, 1744, 2402, 5621, 5411, 3597, 273, 276, 334, 81, 18, 8837, 1138, 5621, 5411, 1323, 12, 5453, 18, 4285, 10756, 288, 7734, 327, 67, 474, 273, 3597, 18, 588, 1702, 12, 21, 1769, 5411, 289, 3639, 289, 1044, 12, 6290, 18, 4669, 18, 23116, 4744, 298, 13, 288, 11410, 298, 18, 1188, 6332, 5621, 97, 3639, 327, 327, 67, 474, 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 ]
if ( extensionID != null ) { String newExtensionID = ( (OdaExtensibilityProvider) provider )
String newExtensionID = provider
private void parseODADataSourceExtensionID( Attributes attrs, boolean extensionNameRequired ) { String extensionID = getAttrib( attrs, DesignSchemaConstants.EXTENSION_ID_ATTRIB ); if ( StringUtil.isBlank( extensionID ) ) { if ( !extensionNameRequired ) return; SemanticError e = new SemanticError( element, SemanticError.DESIGN_EXCEPTION_MISSING_EXTENSION ); RecoverableError.dealMissingInvalidExtension( handler, e ); return; } if ( handler.versionNumber < VersionUtil.VERSION_3_0_0 ) { if ( OBSOLETE_FLAT_FILE_ID.equalsIgnoreCase( extensionID ) ) extensionID = NEW_FLAT_FILE_ID; } setProperty( IOdaExtendableElementModel.EXTENSION_ID_PROP, extensionID ); // get the provider to check whether this is a valid oda extension provider = ( (OdaDataSource) element ).getProvider( ); if ( provider == null ) return; if ( provider instanceof OdaDummyProvider ) { SemanticError e = new SemanticError( element, new String[]{extensionID}, SemanticError.DESIGN_EXCEPTION_EXTENSION_NOT_FOUND ); RecoverableError.dealMissingInvalidExtension( handler, e ); isValidExtensionId = false; } else if ( provider instanceof OdaExtensibilityProvider ) { // After version 3.2.7 , add convert fuction. if ( extensionID != null ) { String newExtensionID = ( (OdaExtensibilityProvider) provider ) .convertDataSourceExtensionID( extensionID ); if ( !extensionID.equals( newExtensionID ) ) { setProperty( IOdaExtendableElementModel.EXTENSION_ID_PROP, newExtensionID ); } } } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/b7cf16118dbf8403e875e1824d65359fbf5295a8/OdaDataSourceState.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/OdaDataSourceState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1109, 1212, 37, 8597, 3625, 734, 12, 9055, 3422, 16, 1082, 202, 6494, 2710, 461, 3705, 262, 202, 95, 202, 202, 780, 2710, 734, 273, 336, 12399, 12, 3422, 16, 9506, 202, 15478, 3078, 2918, 18, 12796, 67, 734, 67, 26741, 11272, 202, 202, 430, 261, 14205, 18, 291, 7796, 12, 2710, 734, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 401, 6447, 461, 3705, 262, 9506, 202, 2463, 31, 1082, 202, 13185, 9941, 668, 425, 273, 394, 24747, 668, 12, 930, 16, 6862, 202, 13185, 9941, 668, 18, 1639, 11260, 67, 12658, 67, 19466, 67, 12796, 11272, 1082, 202, 426, 17399, 668, 18, 323, 287, 4841, 1941, 3625, 12, 1838, 16, 425, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 1838, 18, 1589, 1854, 411, 4049, 1304, 18, 5757, 67, 23, 67, 20, 67, 20, 262, 202, 202, 95, 1082, 202, 430, 261, 9730, 3584, 4311, 67, 42, 12190, 67, 3776, 67, 734, 18, 14963, 5556, 12, 2710, 734, 262, 262, 9506, 202, 6447, 734, 273, 12887, 67, 42, 12190, 67, 3776, 67, 734, 31, 202, 202, 97, 202, 202, 542, 1396, 12, 1665, 2414, 16675, 429, 1046, 1488, 18, 12796, 67, 734, 67, 15811, 16, 2710, 734, 11272, 202, 202, 759, 336, 326, 2893, 358, 866, 2856, 333, 353, 279, 923, 320, 2414, 2710, 202, 202, 6778, 273, 261, 261, 51, 2414, 8597, 13, 930, 262, 18, 588, 2249, 12, 11272, 202, 202, 430, 261, 2893, 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, 1109, 1212, 37, 8597, 3625, 734, 12, 9055, 3422, 16, 1082, 202, 6494, 2710, 461, 3705, 262, 202, 95, 202, 202, 780, 2710, 734, 273, 336, 12399, 12, 3422, 16, 9506, 202, 15478, 3078, 2918, 18, 12796, 67, 734, 67, 26741, 11272, 202, 202, 430, 261, 14205, 18, 291, 7796, 12, 2710, 734, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 401, 6447, 461, 3705, 262, 9506, 202, 2463, 31, 1082, 202, 13185, 9941, 668, 425, 273, 394, 24747, 668, 12, 930, 16, 6862, 202, 13185, 9941, 668, 18, 1639, 11260, 67, 12658, 67, 19466, 67, 12796, 11272, 1082, 202, 426, 17399, 668, 18, 323, 287, 4841, 1941, 3625, 12, 1838, 16, 425, 11272, 2 ]
data.setPresentableText(getValue().getName());
final PsiClass value = getValue(); if (value != null) { data.setPresentableText(value.getName()); }
public void updateImpl(PresentationData data) { data.setPresentableText(getValue().getName()); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/a94b3583562cbf1323c0dc591d00518b68e1bd87/ClassTreeNode.java/clean/source/com/intellij/ide/projectView/impl/nodes/ClassTreeNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 2828, 12, 6351, 367, 751, 501, 13, 288, 565, 727, 453, 7722, 797, 460, 273, 2366, 5621, 309, 261, 1132, 480, 446, 13, 288, 501, 18, 542, 6351, 429, 1528, 12, 1132, 18, 17994, 10663, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1089, 2828, 12, 6351, 367, 751, 501, 13, 288, 565, 727, 453, 7722, 797, 460, 273, 2366, 5621, 309, 261, 1132, 480, 446, 13, 288, 501, 18, 542, 6351, 429, 1528, 12, 1132, 18, 17994, 10663, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1296_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1753: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1753; } } while (true); } state_end(_t); _t = _retTree; _t = __t1750;
match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1756: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1756; } } while (true); } state_end(_t); _t = _retTree; _t = __t1753;
public final void oscommandstate(AST _t) throws RecognitionException { AST oscommandstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OS400: { AST __t1730 = _t; AST tmp1273_AST_in = (AST)_t; match(_t,OS400); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SILENT: { AST tmp1274_AST_in = (AST)_t; match(_t,SILENT); _t = _t.getNextSibling(); break; } case NOWAIT: { AST tmp1275_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1276_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1733: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1733; } } while (true); } state_end(_t); _t = _retTree; _t = __t1730; _t = _t.getNextSibling(); break; } case BTOS: { AST __t1734 = _t; AST tmp1277_AST_in = (AST)_t; match(_t,BTOS); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SILENT: { AST tmp1278_AST_in = (AST)_t; match(_t,SILENT); _t = _t.getNextSibling(); break; } case NOWAIT: { AST tmp1279_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1280_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1737: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1737; } } while (true); } state_end(_t); _t = _retTree; _t = __t1734; _t = _t.getNextSibling(); break; } case DOS: { AST __t1738 = _t; AST tmp1281_AST_in = (AST)_t; match(_t,DOS); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SILENT: { AST tmp1282_AST_in = (AST)_t; match(_t,SILENT); _t = _t.getNextSibling(); break; } case NOWAIT: { AST tmp1283_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1284_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1741: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1741; } } while (true); } state_end(_t); _t = _retTree; _t = __t1738; _t = _t.getNextSibling(); break; } case MPE: { AST __t1742 = _t; AST tmp1285_AST_in = (AST)_t; match(_t,MPE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SILENT: { AST tmp1286_AST_in = (AST)_t; match(_t,SILENT); _t = _t.getNextSibling(); break; } case NOWAIT: { AST tmp1287_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1288_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1745: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1745; } } while (true); } state_end(_t); _t = _retTree; _t = __t1742; _t = _t.getNextSibling(); break; } case OS2: { AST __t1746 = _t; AST tmp1289_AST_in = (AST)_t; match(_t,OS2); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SILENT: { AST tmp1290_AST_in = (AST)_t; match(_t,SILENT); _t = _t.getNextSibling(); break; } case NOWAIT: { AST tmp1291_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1292_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1749: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1749; } } while (true); } state_end(_t); _t = _retTree; _t = __t1746; _t = _t.getNextSibling(); break; } case OSCOMMAND: { AST __t1750 = _t; AST tmp1293_AST_in = (AST)_t; match(_t,OSCOMMAND); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SILENT: { AST tmp1294_AST_in = (AST)_t; match(_t,SILENT); _t = _t.getNextSibling(); break; } case NOWAIT: { AST tmp1295_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1296_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1753: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1753; } } while (true); } state_end(_t); _t = _retTree; _t = __t1750; _t = _t.getNextSibling(); break; } case UNIX: { AST __t1754 = _t; AST tmp1297_AST_in = (AST)_t; match(_t,UNIX); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SILENT: { AST tmp1298_AST_in = (AST)_t; match(_t,SILENT); _t = _t.getNextSibling(); break; } case NOWAIT: { AST tmp1299_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1300_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1757: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1757; } } while (true); } state_end(_t); _t = _retTree; _t = __t1754; _t = _t.getNextSibling(); break; } case VMS: { AST __t1758 = _t; AST tmp1301_AST_in = (AST)_t; match(_t,VMS); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SILENT: { AST tmp1302_AST_in = (AST)_t; match(_t,SILENT); _t = _t.getNextSibling(); break; } case NOWAIT: { AST tmp1303_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1304_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1761: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { break _loop1761; } } while (true); } state_end(_t); _t = _retTree; _t = __t1758; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1140, 3076, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1140, 3076, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5932, 16010, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 4033, 5082, 273, 389, 88, 31, 1082, 202, 9053, 1853, 2138, 9036, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4618, 16010, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 95, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 5705, 900, 1784, 30, 1082, 202, 95, 9506, 202, 9053, 1853, 2138, 5608, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 2320, 900, 1784, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 3741, 19046, 30, 1082, 202, 95, 9506, 202, 9053, 1853, 2138, 5877, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 3417, 19046, 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, 225, 202, 482, 727, 918, 1140, 3076, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1140, 3076, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5932, 16010, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 4033, 5082, 273, 389, 88, 31, 1082, 202, 9053, 1853, 2138, 9036, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4618, 16010, 1769, 1082, 202, 67, 88, 2 ]
if (global.debug) global.log("get expanded " + clasz + " in " + clasz.owner());
assert Debug.log("get expanded " + clasz + " in " + clasz.owner());
private Template getExpandedTemplate(Symbol clasz) { if (global.debug) global.log("get expanded " + clasz + " in " + clasz.owner()); Template template = (Template)expansions.get(clasz); if (template == null) { template = (Template)templates.remove(clasz); assert template != null : Debug.show(clasz); template = expandTemplate(clasz, expander.transform(template)); expansions.put(clasz, template); } return template; }
1156 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1156/858b174325c75316f5f838ce5876ac71514d9266/ExpandMixinsPhase.java/clean/sources/scalac/transformer/ExpandMixinsPhase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5035, 336, 17957, 2283, 12, 5335, 23268, 94, 13, 288, 202, 11231, 4015, 18, 1330, 2932, 588, 8406, 315, 397, 23268, 94, 397, 315, 316, 315, 397, 23268, 94, 18, 8443, 10663, 3639, 5035, 1542, 273, 261, 2283, 13, 2749, 634, 1115, 18, 588, 12, 830, 345, 94, 1769, 3639, 309, 261, 3202, 422, 446, 13, 288, 5411, 1542, 273, 261, 2283, 13, 8502, 18, 4479, 12, 830, 345, 94, 1769, 5411, 1815, 1542, 480, 446, 294, 4015, 18, 4500, 12, 830, 345, 94, 1769, 5411, 1542, 273, 4542, 2283, 12, 830, 345, 94, 16, 4542, 264, 18, 6547, 12, 3202, 10019, 5411, 1329, 634, 1115, 18, 458, 12, 830, 345, 94, 16, 1542, 1769, 3639, 289, 3639, 327, 1542, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 5035, 336, 17957, 2283, 12, 5335, 23268, 94, 13, 288, 202, 11231, 4015, 18, 1330, 2932, 588, 8406, 315, 397, 23268, 94, 397, 315, 316, 315, 397, 23268, 94, 18, 8443, 10663, 3639, 5035, 1542, 273, 261, 2283, 13, 2749, 634, 1115, 18, 588, 12, 830, 345, 94, 1769, 3639, 309, 261, 3202, 422, 446, 13, 288, 5411, 1542, 273, 261, 2283, 13, 8502, 18, 4479, 12, 830, 345, 94, 1769, 5411, 1815, 1542, 480, 446, 294, 4015, 18, 4500, 12, 830, 345, 94, 1769, 5411, 1542, 273, 4542, 2283, 12, 830, 345, 94, 16, 4542, 264, 18, 6547, 12, 3202, 10019, 5411, 1329, 634, 1115, 18, 458, 12, 830, 345, 94, 16, 1542, 1769, 3639, 289, 2 ]
final String id = readRequiredFromRegistry(element, ATTRIBUTE_ID,
final String id = readRequired(element, ATTRIBUTE_ID,
private static final void readActionSetsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final CommandManager commandManager, final IHandlerService handlerService, final BindingManager bindingManager, final CommandImageManager commandImageManager, final IMenuService menuService) { final List warningsToLog = new ArrayList(1); for (int i = 0; i < configurationElementCount; i++) { final IConfigurationElement element = configurationElements[i]; // Read the action set identifier. final String id = readRequiredFromRegistry(element, ATTRIBUTE_ID, warningsToLog, "Action sets need an id"); //$NON-NLS-1$ if (id == null) continue; // Read the label. final String label = readRequiredFromRegistry(element, ATTRIBUTE_LABEL, warningsToLog, "Actions set need a label", //$NON-NLS-1$ id); if (label == null) continue; // Read the description. final String description = readOptionalFromRegistry(element, ATTRIBUTE_DESCRIPTION); // Read whether the action set should be visible by default. final boolean visible = readBooleanFromRegistry(element, ATTRIBUTE_VISIBLE, false); // Read all of the child elements. final SReference[] references = readActionsAndMenusFromRegistry( element, id, warningsToLog, commandManager, handlerService, bindingManager, commandImageManager, menuService, null, null); if (references == null) { continue; } // Define the action set. final SActionSet actionSet = menuService.getActionSet(id); actionSet.define(label, description, visible, references); } logWarnings( warningsToLog, "Warnings while parsing the action sets from the 'org.eclipse.ui.actionSets' extension point"); //$NON-NLS-1$ }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/539b29bd9f4ed0020b6fce0d726b8d740d87469d/LegacyActionPersistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/LegacyActionPersistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 918, 855, 1803, 2785, 1265, 4243, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 16, 1082, 202, 6385, 3498, 1318, 1296, 1318, 16, 1082, 202, 6385, 467, 1503, 1179, 1838, 1179, 16, 1082, 202, 6385, 15689, 1318, 5085, 1318, 16, 1082, 202, 6385, 3498, 2040, 1318, 1296, 2040, 1318, 16, 1082, 202, 6385, 467, 4599, 1179, 3824, 1179, 13, 288, 202, 202, 6385, 987, 5599, 774, 1343, 273, 394, 2407, 12, 21, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1664, 1046, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 467, 1750, 1046, 930, 273, 1664, 3471, 63, 77, 15533, 1082, 202, 759, 2720, 326, 1301, 444, 2756, 18, 1082, 202, 6385, 514, 612, 273, 855, 3705, 1265, 4243, 12, 2956, 16, 15941, 67, 734, 16, 6862, 202, 12103, 774, 1343, 16, 315, 1803, 1678, 1608, 392, 612, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 261, 350, 422, 446, 13, 9506, 202, 17143, 31, 1082, 202, 759, 2720, 326, 1433, 18, 1082, 202, 6385, 514, 1433, 273, 855, 3705, 1265, 4243, 12, 2956, 16, 6862, 202, 11616, 67, 13545, 16, 5599, 774, 1343, 16, 315, 6100, 444, 1608, 279, 1433, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 350, 1769, 1082, 202, 430, 261, 1925, 422, 446, 13, 9506, 202, 17143, 31, 1082, 202, 759, 2720, 326, 2477, 18, 1082, 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, 225, 202, 1152, 760, 727, 918, 855, 1803, 2785, 1265, 4243, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 16, 1082, 202, 6385, 3498, 1318, 1296, 1318, 16, 1082, 202, 6385, 467, 1503, 1179, 1838, 1179, 16, 1082, 202, 6385, 15689, 1318, 5085, 1318, 16, 1082, 202, 6385, 3498, 2040, 1318, 1296, 2040, 1318, 16, 1082, 202, 6385, 467, 4599, 1179, 3824, 1179, 13, 288, 202, 202, 6385, 987, 5599, 774, 1343, 273, 394, 2407, 12, 21, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1664, 1046, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 467, 1750, 1046, 930, 273, 1664, 3471, 63, 77, 15533, 2 ]
match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1724; _t = _t.getNextSibling(); break; } case 3: case INTO: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INTO: { AST __t1726 = _t; AST tmp1834_AST_in = (AST)_t;
public final void compilestate(AST _t) throws RecognitionException { AST compilestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1717 = _t; AST tmp1828_AST_in = (AST)_t; match(_t,COMPILE); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { _loop1766: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ATTRSPACE: { AST __t1719 = _t; AST tmp1829_AST_in = (AST)_t; match(_t,ATTRSPACE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1721 = _t; AST tmp1830_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1721; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1719; _t = _t.getNextSibling(); break; } case NOATTRSPACE: { AST tmp1831_AST_in = (AST)_t; match(_t,NOATTRSPACE); _t = _t.getNextSibling(); break; } case SAVE: { AST __t1722 = _t; AST tmp1832_AST_in = (AST)_t; match(_t,SAVE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1724 = _t; AST tmp1833_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1724; _t = _t.getNextSibling(); break; } case 3: case INTO: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INTO: { AST __t1726 = _t; AST tmp1834_AST_in = (AST)_t; match(_t,INTO); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; _t = __t1726; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1722; _t = _t.getNextSibling(); break; } case LISTING: { AST __t1727 = _t; AST tmp1835_AST_in = (AST)_t; match(_t,LISTING); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { _loop1731: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { compile_append(_t); _t = _retTree; break; } case PAGESIZE_KW: { AST __t1729 = _t; AST tmp1836_AST_in = (AST)_t; match(_t,PAGESIZE_KW); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1729; _t = _t.getNextSibling(); break; } case PAGEWIDTH: { AST __t1730 = _t; AST tmp1837_AST_in = (AST)_t; match(_t,PAGEWIDTH); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1730; _t = _t.getNextSibling(); break; } default: { break _loop1731; } } } while (true); } _t = __t1727; _t = _t.getNextSibling(); break; } case XCODE: { AST __t1732 = _t; AST tmp1838_AST_in = (AST)_t; match(_t,XCODE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1732; _t = _t.getNextSibling(); break; } case XREF: { AST __t1733 = _t; AST tmp1839_AST_in = (AST)_t; match(_t,XREF); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { compile_append(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1733; _t = _t.getNextSibling(); break; } case STRINGXREF: { AST __t1735 = _t; AST tmp1840_AST_in = (AST)_t; match(_t,STRINGXREF); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { compile_append(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1735; _t = _t.getNextSibling(); break; } case STREAMIO: { AST __t1737 = _t; AST tmp1841_AST_in = (AST)_t; match(_t,STREAMIO); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1739 = _t; AST tmp1842_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1739; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1737; _t = _t.getNextSibling(); break; } case MINSIZE: { AST __t1740 = _t; AST tmp1843_AST_in = (AST)_t; match(_t,MINSIZE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1742 = _t; AST tmp1844_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1742; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1740; _t = _t.getNextSibling(); break; } case LANGUAGES: { AST __t1743 = _t; AST tmp1845_AST_in = (AST)_t; match(_t,LANGUAGES); _t = _t.getFirstChild(); AST tmp1846_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: case TYPELESS_TOKEN: { compile_lang(_t); _t = _retTree; { _loop1746: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1847_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); compile_lang(_t); _t = _retTree; } else { break _loop1746; } } while (true); } break; } case RIGHTPAREN: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1848_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1743; _t = _t.getNextSibling(); break; } case TEXTSEGGROW: { AST __t1747 = _t; AST tmp1849_AST_in = (AST)_t; match(_t,TEXTSEGGROW); _t = _t.getFirstChild(); AST __t1748 = _t; AST tmp1850_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1748; _t = _t.getNextSibling(); _t = __t1747; _t = _t.getNextSibling(); break; } case DEBUGLIST: { AST __t1749 = _t; AST tmp1851_AST_in = (AST)_t; match(_t,DEBUGLIST); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; _t = __t1749; _t = _t.getNextSibling(); break; } case DEFAULTNOXLATE: { AST __t1750 = _t; AST tmp1852_AST_in = (AST)_t; match(_t,DEFAULTNOXLATE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1752 = _t; AST tmp1853_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1752; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1750; _t = _t.getNextSibling(); break; } case GENERATEMD5: { AST __t1753 = _t; AST tmp1854_AST_in = (AST)_t; match(_t,GENERATEMD5); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1755 = _t; AST tmp1855_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1755; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1753; _t = _t.getNextSibling(); break; } case PREPROCESS: { AST __t1756 = _t; AST tmp1856_AST_in = (AST)_t; match(_t,PREPROCESS); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; _t = __t1756; _t = _t.getNextSibling(); break; } case USEREVVIDEO: { AST __t1757 = _t; AST tmp1857_AST_in = (AST)_t; match(_t,USEREVVIDEO); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1759 = _t; AST tmp1858_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1759; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1757; _t = _t.getNextSibling(); break; } case USEUNDERLINE: { AST __t1760 = _t; AST tmp1859_AST_in = (AST)_t; match(_t,USEUNDERLINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1762 = _t; AST tmp1860_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1762; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1760; _t = _t.getNextSibling(); break; } case V6FRAME: { AST __t1763 = _t; AST tmp1861_AST_in = (AST)_t; match(_t,V6FRAME); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1765 = _t; AST tmp1862_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1765; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1763; _t = _t.getNextSibling(); break; } case NOERROR_KW: { AST tmp1863_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } default: { break _loop1766; } } } while (true); } state_end(_t); _t = _retTree; _t = __t1717; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1161, 14849, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1161, 14849, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 4033, 4033, 273, 389, 88, 31, 202, 202, 9053, 1853, 2643, 6030, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 31075, 900, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 3459, 280, 1132, 24899, 88, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 95, 202, 202, 67, 6498, 4033, 6028, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 12759, 6616, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 4033, 3657, 273, 389, 88, 31, 9506, 202, 9053, 1853, 2643, 5540, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 12043, 6616, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 95, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 9506, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 9506, 202, 3593, 18231, 30, 9506, 202, 95, 6862, 202, 9053, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1161, 14849, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1161, 14849, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 4033, 4033, 273, 389, 88, 31, 202, 202, 9053, 1853, 2643, 6030, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 31075, 900, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 3459, 280, 1132, 24899, 88, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 95, 202, 202, 67, 6498, 4033, 6028, 30, 2 ]
showError(frame, message + "\n" + StringUtils.printException(e));
String title = "Error"; if (frame == null) title = title + " - " + APP_NAME; JOptionPane.showMessageDialog(frame, message, title, JOptionPane.ERROR_MESSAGE);
public static void showError(Component frame, String message, Exception e) { showError(frame, message + "\n" + StringUtils.printException(e)); }
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/1f50ffb219183ddaf94720a4aba453e11f412425/SimpleDialogs.java/buggy/src/net/sf/gogui/gui/SimpleDialogs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2405, 668, 12, 1841, 2623, 16, 514, 883, 16, 1185, 425, 13, 565, 288, 3639, 514, 2077, 273, 315, 668, 14432, 309, 261, 3789, 422, 446, 13, 2077, 273, 2077, 397, 315, 300, 315, 397, 9146, 67, 1985, 31, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 3789, 16, 883, 16, 2077, 16, 804, 1895, 8485, 18, 3589, 67, 8723, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2405, 668, 12, 1841, 2623, 16, 514, 883, 16, 1185, 425, 13, 565, 288, 3639, 514, 2077, 273, 315, 668, 14432, 309, 261, 3789, 422, 446, 13, 2077, 273, 2077, 397, 315, 300, 315, 397, 9146, 67, 1985, 31, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 3789, 16, 883, 16, 2077, 16, 804, 1895, 8485, 18, 3589, 67, 8723, 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 ]
def = testF2(file, offset);
def = testCtrl_F3(file, offset);
public void testCPPSpecDeclsDefs() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("int a; // defines a\n"); //$NON-NLS-1$ buffer.append("extern const int c = 1; // defines c\n"); //$NON-NLS-1$ buffer.append("int f(int x) { return x+a; } // defines f and defines x\n"); //$NON-NLS-1$ buffer.append("struct S { int a; int b; }; // defines S, S::a, and S::b\n"); //$NON-NLS-1$ buffer.append("struct X { // defines X\n"); //$NON-NLS-1$ buffer.append("int x; // defines nonstatic data member x\n"); //$NON-NLS-1$ buffer.append("};\n"); //$NON-NLS-1$ buffer.append("enum { up, down }; // defines up and down\n"); //$NON-NLS-1$ buffer.append("struct X anX; // defines anX\n"); //$NON-NLS-1$ buffer.append("extern int a; // declares a\n"); //$NON-NLS-1$ buffer.append("extern const int c; // declares c\n"); //$NON-NLS-1$ buffer.append("int f(int); // declares f\n"); //$NON-NLS-1$ buffer.append("struct S; // declares S\n"); //$NON-NLS-1$ buffer.append("typedef int Int; // declares Int\n"); //$NON-NLS-1$ buffer.append("extern struct X anotherX; // declares anotherX\n"); //$NON-NLS-1$ String code = buffer.toString(); IFile file = importFile("testCPPSpecDeclsDefs.c", code); //$NON-NLS-1$ int offset = code.indexOf("a; // defines a"); //$NON-NLS-1$ IASTNode def = testF2(file, offset); IASTNode decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 4); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 4); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("c = 1; // defines c"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "c"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 37); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "c"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 37); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("f(int x) { return x+a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "f"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 61); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "f"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 61); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("x) { return x+a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 67); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 67); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("x+a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 67); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 67); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("x+a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 67); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 67); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("a; } // defines f and defines x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 4); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 4); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("S { int a; int b; }; // defines S, S::a, and S::b"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "S"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 120); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "S"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 120); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("a; int b; }; // defines S, S::a, and S::b"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 128); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 128); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("b; }; // defines S, S::a, and S::b"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "b"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 135); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "b"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 135); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("X { // defines X"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 177); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 177); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("x; // defines nonstatic data member x"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 198); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "x"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 198); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("up, down }; // defines up and down"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "up"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 246); assertEquals(((ASTNode)decl).getLength(), 2); assertEquals(((IASTName)def).toString(), "up"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 246); assertEquals(((ASTNode)def).getLength(), 2); offset = code.indexOf("down }; // defines up and down"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "down"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 250); assertEquals(((ASTNode)decl).getLength(), 4); assertEquals(((IASTName)def).toString(), "down"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 250); assertEquals(((ASTNode)def).getLength(), 4); offset = code.indexOf("X anX; // defines anX"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 177); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 177); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("anX; // defines anX"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "anX"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 290); assertEquals(((ASTNode)decl).getLength(), 3); assertEquals(((IASTName)def).toString(), "anX"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 290); assertEquals(((ASTNode)def).getLength(), 3); offset = code.indexOf("a; // declares a"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 4); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "a"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 4); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("c; // declares c"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "c"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 37); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "c"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 37); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("f(int); // declares f"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "f"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 61); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "f"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 61); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("S; // declares S"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "S"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 120); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "S"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 120); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("Int; // declares Int"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "Int"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 434); assertEquals(((ASTNode)decl).getLength(), 3); assertEquals(((IASTName)def).toString(), "Int"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 434); assertEquals(((ASTNode)def).getLength(), 3); offset = code.indexOf("X anotherX; // declares anotherX"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 177); assertEquals(((ASTNode)decl).getLength(), 1); assertEquals(((IASTName)def).toString(), "X"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 177); assertEquals(((ASTNode)def).getLength(), 1); offset = code.indexOf("anotherX; // declares anotherX"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); try { assertNull(def); // TODO raised bug 96689 assertTrue(false); // try/catch/assertTrue(false) added to alert the tester when this test passes! } catch (AssertionFailedError e) {} assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "anotherX"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 471); assertEquals(((ASTNode)decl).getLength(), 8); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a80f774ac034fed44b578ede9c708e773e1fabcf/CPPSelectionTestsCTagsIndexer.java/clean/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selectiontests/CPPSelectionTestsCTagsIndexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4258, 52, 1990, 1799, 3251, 14554, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 3639, 1613, 18, 6923, 2932, 474, 279, 31, 368, 11164, 279, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 338, 798, 1866, 509, 276, 273, 404, 31, 368, 11164, 276, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 474, 284, 12, 474, 619, 13, 288, 327, 619, 15, 69, 31, 289, 368, 11164, 284, 471, 11164, 619, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 1697, 348, 288, 509, 279, 31, 509, 324, 31, 289, 31, 368, 11164, 348, 16, 348, 2866, 69, 16, 471, 348, 2866, 70, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 1697, 1139, 288, 368, 11164, 1139, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 474, 619, 31, 368, 11164, 1661, 3845, 501, 3140, 619, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 97, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 7924, 288, 731, 16, 2588, 289, 31, 368, 11164, 731, 471, 2588, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 1697, 1139, 392, 60, 31, 368, 11164, 392, 60, 64, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4258, 52, 1990, 1799, 3251, 14554, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 3639, 1613, 18, 6923, 2932, 474, 279, 31, 368, 11164, 279, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 338, 798, 1866, 509, 276, 273, 404, 31, 368, 11164, 276, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 474, 284, 12, 474, 619, 13, 288, 327, 619, 15, 69, 31, 289, 368, 11164, 284, 471, 11164, 619, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1613, 18, 6923, 2932, 1697, 348, 288, 509, 279, 31, 509, 324, 31, 2 ]
}
}
public List getAccessControlEntries(CmsRequestContext context, CmsResource resource, boolean getInherited) throws CmsException { CmsDbContext dbc = m_dbContextFactory.getDbContext(context); List result = null; try { result = m_driverManager.getAccessControlEntries(dbc, resource, getInherited); } catch (Exception e) { dbc.report(null, null, e); } finally { dbc.clear(); } return result; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/a7ffa3c192d7068f584b0a3a844b88bdb2d3145a/CmsSecurityManager.java/clean/src/org/opencms/db/CmsSecurityManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 336, 16541, 5400, 12, 4747, 21426, 819, 16, 7630, 1058, 16, 1250, 7854, 3721, 329, 13, 565, 1216, 11228, 288, 3639, 30670, 9881, 273, 312, 67, 1966, 29871, 18, 588, 4331, 1042, 12, 2472, 1769, 6647, 987, 563, 273, 446, 31, 3639, 775, 288, 5411, 563, 273, 312, 67, 7407, 1318, 18, 588, 16541, 5400, 12, 9137, 16, 1058, 16, 7854, 3721, 329, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 9881, 18, 6006, 12, 2011, 16, 446, 16, 425, 1769, 3639, 289, 3095, 288, 5411, 9881, 18, 8507, 5621, 3639, 289, 7734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 336, 16541, 5400, 12, 4747, 21426, 819, 16, 7630, 1058, 16, 1250, 7854, 3721, 329, 13, 565, 1216, 11228, 288, 3639, 30670, 9881, 273, 312, 67, 1966, 29871, 18, 588, 4331, 1042, 12, 2472, 1769, 6647, 987, 563, 273, 446, 31, 3639, 775, 288, 5411, 563, 273, 312, 67, 7407, 1318, 18, 588, 16541, 5400, 12, 9137, 16, 1058, 16, 7854, 3721, 329, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 9881, 18, 6006, 12, 2011, 16, 446, 16, 425, 1769, 3639, 289, 3095, 288, 5411, 9881, 18, 8507, 5621, 3639, 289, 7734, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean equals( Object obj ) { if ( obj == null || obj instanceof DataSourceAndDataSet == false ) return false; if ( this == obj ) return true; IBaseDataSourceDesign dataSourceDesign2 = ( (DataSourceAndDataSet) obj ).dataSourceDesign; IBaseDataSetDesign dataSetDesign2 = ( (DataSourceAndDataSet) obj ).dataSetDesign; Collection parameterBindings2 = ( (DataSourceAndDataSet) obj ).parameterBindings; int cacheCount2 = ( (DataSourceAndDataSet) obj ).cacheCount; if ( this.dataSourceDesign == dataSourceDesign2 ) { if ( this.dataSetDesign == dataSetDesign2 ) { if ( isEqualParameterBindings( this.parameterBindings, parameterBindings2 ) ) return true; } else if ( this.dataSetDesign == null || dataSetDesign2 == null ) { return false; } } else if ( this.dataSourceDesign == null || dataSourceDesign2 == null ) { return false; } else { if ( ( this.dataSetDesign != dataSetDesign2 ) && ( this.dataSetDesign == null || dataSetDesign2 == null ) ) return false; } // data source compare if ( isEqualString( dataSourceDesign.getBeforeOpenScript( ), dataSourceDesign2.getBeforeOpenScript( ) ) == false || isEqualString( dataSourceDesign.getAfterOpenScript( ), dataSourceDesign2.getAfterOpenScript( ) ) == false || isEqualString( dataSourceDesign.getBeforeCloseScript( ), dataSourceDesign2.getBeforeCloseScript( ) ) == false || isEqualString( dataSourceDesign.getAfterCloseScript( ), dataSourceDesign2.getAfterCloseScript( ) ) == false ) return false; if ( dataSourceDesign instanceof IOdaDataSourceDesign && dataSourceDesign2 instanceof IOdaDataSourceDesign ) { IOdaDataSourceDesign dataSource = (IOdaDataSourceDesign) dataSourceDesign; IOdaDataSourceDesign dataSource2 = (IOdaDataSourceDesign) dataSourceDesign2; if ( isEqualString( dataSource.getExtensionID( ), dataSource2.getExtensionID( ) ) == false ) return false; if ( isEqualProps( dataSource.getPublicProperties( ), dataSource2.getPublicProperties( ) ) == false || isEqualProps( dataSource.getPrivateProperties( ), dataSource2.getPrivateProperties( ) ) == false ) return false; } else if ( dataSourceDesign instanceof IScriptDataSourceDesign && dataSourceDesign2 instanceof IScriptDataSourceDesign ) { IScriptDataSourceDesign dataSource = (IScriptDataSourceDesign) dataSourceDesign; IScriptDataSourceDesign dataSource2 = (IScriptDataSourceDesign) dataSourceDesign2; if ( isEqualString( dataSource.getOpenScript( ), dataSource2.getOpenScript( ) ) == false || isEqualString( dataSource.getCloseScript( ), dataSource2.getCloseScript( ) ) == false ) return false; } // data set compare if ( isEqualString( dataSetDesign.getBeforeOpenScript( ), dataSetDesign2.getBeforeOpenScript( ) ) == false || isEqualString( dataSetDesign.getAfterOpenScript( ), dataSetDesign2.getAfterOpenScript( ) ) == false || isEqualString( dataSetDesign.getBeforeCloseScript( ), dataSetDesign2.getBeforeCloseScript( ) ) == false || isEqualString( dataSetDesign.getAfterCloseScript( ), dataSetDesign2.getAfterCloseScript( ) ) == false ) return false; if ( isEqualComputedColumns( dataSetDesign.getComputedColumns( ), dataSetDesign2.getComputedColumns( ) ) == false || isEqualFilters( dataSetDesign.getFilters( ), dataSetDesign2.getFilters( ) ) == false || isEqualParameterBindings( dataSetDesign.getInputParamBindings( ), dataSetDesign2.getInputParamBindings( ) ) == false || isEqualParameters( dataSetDesign.getParameters( ), dataSetDesign2.getParameters( ) ) == false || isEqualResultHints( dataSetDesign.getResultSetHints( ), dataSetDesign2.getResultSetHints( ) ) == false ) return false; if ( dataSetDesign instanceof IOdaDataSetDesign && dataSetDesign2 instanceof IOdaDataSetDesign ) { IOdaDataSetDesign dataSet = (IOdaDataSetDesign) dataSetDesign; IOdaDataSetDesign dataSet2 = (IOdaDataSetDesign) dataSetDesign2; if ( isEqualString( dataSet.getQueryText( ), dataSet2.getQueryText( ) ) == false || isEqualString( dataSet.getExtensionID( ), dataSet2.getExtensionID( ) ) == false || isEqualString( dataSet.getPrimaryResultSetName( ), dataSet2.getPrimaryResultSetName( ) ) == false || isEqualProps( dataSet.getPublicProperties( ), dataSet2.getPublicProperties( ) ) == false || isEqualProps( dataSet.getPrivateProperties( ), dataSet2.getPrivateProperties( ) ) == false ) return false; } else if ( dataSetDesign instanceof IScriptDataSetDesign && dataSetDesign2 instanceof IScriptDataSetDesign ) { IScriptDataSetDesign dataSet = (IScriptDataSetDesign) dataSetDesign; IScriptDataSetDesign dataSet2 = (IScriptDataSetDesign) dataSetDesign2; if ( isEqualString( dataSet.getOpenScript( ), dataSet2.getOpenScript( ) ) == false || isEqualString( dataSet.getFetchScript( ), dataSet2.getFetchScript( ) ) == false || isEqualString( dataSet.getCloseScript( ), dataSet2.getCloseScript( ) ) == false || isEqualString( dataSet.getDescribeScript( ), dataSet2.getDescribeScript( ) ) == false ) return false; } else { return false; } // parameter bindings compare if ( this.isEqualParameterBindings( this.parameterBindings, parameterBindings2 ) == false ) return false; if ( this.cacheCount != cacheCount2 ) return false; return true; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/ba0d1531f75bdde405266bd9f08e48a2c2ec8cd5/DataSourceAndDataSet.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSourceAndDataSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1606, 12, 1033, 1081, 262, 202, 95, 202, 202, 430, 261, 1081, 422, 446, 747, 1081, 1276, 12806, 1876, 13676, 422, 629, 262, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 333, 422, 1081, 262, 1082, 202, 2463, 638, 31, 202, 202, 45, 2171, 8597, 15478, 10233, 15478, 22, 273, 261, 261, 8597, 1876, 13676, 13, 1081, 262, 18, 892, 1830, 15478, 31, 202, 202, 45, 2171, 13676, 15478, 14837, 15478, 22, 273, 261, 261, 8597, 1876, 13676, 13, 1081, 262, 18, 892, 694, 15478, 31, 202, 202, 2532, 1569, 10497, 22, 273, 261, 261, 8597, 1876, 13676, 13, 1081, 262, 18, 6775, 10497, 31, 202, 202, 474, 1247, 1380, 22, 273, 261, 261, 8597, 1876, 13676, 13, 1081, 262, 18, 2493, 1380, 31, 9506, 202, 430, 261, 333, 18, 892, 1830, 15478, 422, 10233, 15478, 22, 262, 202, 202, 95, 1082, 202, 430, 261, 333, 18, 892, 694, 15478, 422, 14837, 15478, 22, 262, 1082, 202, 95, 9506, 202, 430, 261, 21614, 1662, 10497, 12, 333, 18, 6775, 10497, 16, 25083, 202, 6775, 10497, 22, 262, 262, 6862, 202, 2463, 638, 31, 1082, 202, 97, 1082, 202, 12107, 309, 261, 333, 18, 892, 694, 15478, 422, 446, 747, 14837, 15478, 22, 422, 446, 262, 1082, 202, 95, 9506, 202, 2463, 629, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 333, 18, 892, 1830, 15478, 422, 446, 747, 10233, 15478, 22, 422, 446, 262, 202, 202, 95, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1606, 12, 1033, 1081, 262, 202, 95, 202, 202, 430, 261, 1081, 422, 446, 747, 1081, 1276, 12806, 1876, 13676, 422, 629, 262, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 333, 422, 1081, 262, 1082, 202, 2463, 638, 31, 202, 202, 45, 2171, 8597, 15478, 10233, 15478, 22, 273, 261, 261, 8597, 1876, 13676, 13, 1081, 262, 18, 892, 1830, 15478, 31, 202, 202, 45, 2171, 13676, 15478, 14837, 15478, 22, 273, 261, 261, 8597, 1876, 13676, 13, 1081, 262, 18, 892, 694, 15478, 31, 202, 202, 2532, 1569, 10497, 22, 273, 261, 261, 8597, 1876, 13676, 13, 1081, 262, 18, 6775, 10497, 31, 202, 202, 474, 1247, 1380, 22, 273, 261, 261, 2 ]
return new DiagramState(getDiagramEditPart());
setResult(new DiagramState(getDiagramEditPart()));
public Object run() { return new DiagramState(getDiagramEditPart()); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/b4c938d5d97221f8736d44de85b5ab8ff289c7cc/AbstractTestBase.java/buggy/org.eclipse.gmf.runtime/tests/org.eclipse.gmf.tests.runtime.diagram.ui/src/org/eclipse/gmf/tests/runtime/diagram/ui/AbstractTestBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 1033, 1086, 1435, 288, 9506, 202, 2463, 394, 14539, 1940, 1119, 12, 588, 14058, 1940, 4666, 1988, 10663, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 1033, 1086, 1435, 288, 9506, 202, 2463, 394, 14539, 1940, 1119, 12, 588, 14058, 1940, 4666, 1988, 10663, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void convertElement(Element element) throws SAXException { // Does this need to be the actual base URI, unaffected by xml:base???? locator.setSystemId(element.getBaseURI()); ParentNode parentNode = element.getParent(); Element parent = null; if (parentNode instanceof Element) { parent = (Element) parentNode; } // start prefix mapping for (int i = 0; i < element.getNamespaceDeclarationCount(); i++) { String prefix = element.getNamespacePrefix(i); convertNamespace(element, prefix); /* contentHandler.startPrefixMapping(prefix, element.getNamespaceURI(prefix)); */ } if (parent != null) { // now handle element's prefix if not declared on ancestor String prefix = element.getNamespacePrefix(); if (!element.getNamespaceURI(prefix) .equals(parent.getNamespaceURI(prefix))) {// System.err.println(prefix + " mapped to "); // XXX contentHandler.startPrefixMapping(prefix, element.getNamespaceURI(prefix)); } // Handle attributes' prefixes if not declared on ancestor for (int i = 0; i < element.getAttributeCount(); i++) { Attribute att = element.getAttribute(i); String attPrefix = att.getNamespacePrefix(); if (!element.getNamespaceURI(attPrefix) .equals(parent.getNamespaceURI(attPrefix)) && !element.getNamespacePrefix() .equals(attPrefix) // SAX never calls startPrefixMapping for the xml prefix && !"xml".equals(attPrefix)) {// System.err.println(attPrefix + " mapped to "); // XXX contentHandler.startPrefixMapping(attPrefix, element.getNamespaceURI(attPrefix)); } } } else { // declare all prefixes String prefix = element.getNamespacePrefix(); if (!prefix.equals("") && !"xml".equals(prefix)) {// System.err.println(prefix + " mapped to "); // XXX contentHandler.startPrefixMapping(prefix, element.getNamespaceURI()); } // Handle attributes' prefixes if not declared on ancestor for (int i = 0; i < element.getAttributeCount(); i++) { Attribute att = element.getAttribute(i); String attPrefix = att.getNamespacePrefix(); if ("xml".equals(attPrefix)) { continue; } else if (!attPrefix.equals("") && !attPrefix.equals(element.getNamespacePrefix())){// System.err.println(attPrefix + " mapped to "); // XXX contentHandler.startPrefixMapping(attPrefix, att.getNamespaceURI()); } } } // add attributes AttributesImpl saxAttributes = new AttributesImpl(); for (int i = 0; i < element.getAttributeCount(); i++) { Attribute attribute = element.getAttribute(i); saxAttributes.addAttribute(attribute.getNamespaceURI(), attribute.getLocalName(), attribute.getQualifiedName(), getSAXType(attribute), attribute.getValue()); } contentHandler.startElement( element.getNamespaceURI(), element.getLocalName(), element.getQualifiedName(), saxAttributes); for (int i = 0; i < element.getChildCount(); i++) { process(element.getChild(i)); } contentHandler.endElement(element.getNamespaceURI(), element.getLocalName(), element.getQualifiedName()); // end prefix mappings for (int i = 0; i < element.getNamespaceDeclarationCount(); i++) { String prefix = element.getNamespacePrefix(i); if ("xml".equals(prefix)) continue; contentHandler.endPrefixMapping(prefix); } if (parent != null) { // Now handle element's prefix if not declared on ancestor String prefix = element.getNamespacePrefix(); if (!element.getNamespaceURI(prefix) .equals(parent.getNamespaceURI(prefix))) { contentHandler.endPrefixMapping(prefix); } // Handle attributes' prefixes if not declared on ancestor for (int i = 0; i < element.getAttributeCount(); i++) { Attribute att = element.getAttribute(i); String attPrefix = att.getNamespacePrefix(); if (!element.getNamespaceURI(attPrefix) .equals(parent.getNamespaceURI(attPrefix)) && !element.getNamespacePrefix().equals( attPrefix) && !"xml".equals(attPrefix)) { contentHandler.endPrefixMapping(attPrefix); } } } else { // undeclare all prefixes String prefix = element.getNamespacePrefix(); if (!prefix.equals("") && !"xml".equals(prefix)) { contentHandler.endPrefixMapping(prefix); } // Handle attributes' prefixes if not declared on ancestor for (int i = 0; i < element.getAttributeCount(); i++) { Attribute att = element.getAttribute(i); String attPrefix = att.getNamespacePrefix(); if (!attPrefix.equals("") && !attPrefix .equals(element.getNamespacePrefix()) && !"xml".equals(attPrefix)) { contentHandler.endPrefixMapping(attPrefix); } } } }
626 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/626/18fa2619e08cf769b9f60ef1697f1a0d947c7c34/SAXConverter.java/buggy/src/nu/xom/converters/SAXConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 6283, 1046, 12, 1046, 2956, 13, 15069, 55, 2501, 503, 95, 759, 3244, 395, 76, 291, 14891, 869, 70, 546, 73, 18672, 1969, 3098, 16, 318, 20119, 1637, 2902, 30, 1969, 14646, 14646, 20048, 18, 542, 3163, 548, 12, 2956, 18, 588, 2171, 3098, 10663, 3054, 907, 2938, 907, 33, 2956, 18, 588, 3054, 5621, 1046, 2938, 33, 2011, 31, 430, 12, 2938, 907, 1336, 792, 1046, 15329, 2938, 28657, 1046, 13, 2938, 907, 31, 97, 759, 1937, 3239, 6770, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 2956, 18, 588, 3402, 6094, 1380, 5621, 77, 27245, 95, 780, 3239, 33, 2956, 18, 588, 3402, 2244, 12, 77, 1769, 6283, 3402, 12, 2956, 16, 3239, 1769, 20308, 1745, 1503, 18, 1937, 2244, 3233, 12, 3239, 16, 2956, 18, 588, 3402, 3098, 12, 3239, 10019, 5549, 97, 430, 12, 2938, 5, 33, 2011, 15329, 759, 3338, 4110, 2956, 1807, 3239, 430, 902, 16571, 265, 28798, 780, 3239, 33, 2956, 18, 588, 3402, 2244, 5621, 430, 12, 5, 2956, 18, 588, 3402, 3098, 12, 3239, 2934, 14963, 12, 2938, 18, 588, 3402, 3098, 12, 3239, 3719, 15329, 759, 3163, 18, 370, 18, 8222, 12, 3239, 9078, 13654, 869, 8863, 759, 15639, 1745, 1503, 18, 1937, 2244, 3233, 12, 3239, 16, 2956, 18, 588, 3402, 3098, 12, 3239, 10019, 97, 759, 3259, 4350, 11, 17777, 430, 902, 16571, 265, 28798, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 2956, 18, 588, 1499, 1380, 5621, 77, 27245, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 6283, 1046, 12, 1046, 2956, 13, 15069, 55, 2501, 503, 95, 759, 3244, 395, 76, 291, 14891, 869, 70, 546, 73, 18672, 1969, 3098, 16, 318, 20119, 1637, 2902, 30, 1969, 14646, 14646, 20048, 18, 542, 3163, 548, 12, 2956, 18, 588, 2171, 3098, 10663, 3054, 907, 2938, 907, 33, 2956, 18, 588, 3054, 5621, 1046, 2938, 33, 2011, 31, 430, 12, 2938, 907, 1336, 792, 1046, 15329, 2938, 28657, 1046, 13, 2938, 907, 31, 97, 759, 1937, 3239, 6770, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 2956, 18, 588, 3402, 6094, 1380, 5621, 77, 27245, 95, 780, 3239, 33, 2956, 18, 588, 3402, 2244, 12, 77, 1769, 6283, 3402, 12, 2956, 16, 3239, 1769, 2 ]
System.exit(0); }
System.exit(0); }
public void windowClosing(WindowEvent e) { System.exit(0); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b0fa2f56cd2dcc90452b768e6b38187cfb8c30eb/AddressBook.java/buggy/grendel/addressbook/AddressBook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 5411, 2332, 18, 8593, 12, 20, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 5411, 2332, 18, 8593, 12, 20, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IOException { SessionImpl s = (SessionImpl) repo.login(new SimpleCredentials(this.conf.getLogin(), this.conf.getPassword().toCharArray()), this.wspName); SAXTransformerFactory stf = (SAXTransformerFactory) SAXTransformerFactory.newInstance(); File temp = new File(this.conf.getWorkFolder() + "wsp.xml"); try { TransformerHandler th = stf.newTransformerHandler(); th.setResult(new StreamResult(new FileOutputStream(temp))); th.getTransformer().setParameter(OutputKeys.METHOD, "xml"); th.getTransformer().setParameter(OutputKeys.ENCODING, "UTF-8"); th.getTransformer().setParameter(OutputKeys.INDENT, "no"); new SysViewSAXEventGenerator( s.getRootNode(), false, false, th) { protected void process(Node node, int level) throws RepositoryException, SAXException { if (!"/jcr:system".equals(node.getPath())) { super.process(node, level); } } }.serialize(); h.write("export"+ called +".xml", temp); } catch (TransformerException te) { throw new RepositoryException(te); } catch (SAXException se) { throw new RepositoryException(se); } finally { temp.delete(); called += 1; }
IOException { SessionImpl s = (SessionImpl) this.getRepo().login(this.getCredentials(), this.wspName); SAXTransformerFactory stf = (SAXTransformerFactory) SAXTransformerFactory.newInstance(); File temp = new File(this.getConf().getWorkFolder() + "wsp.xml"); try { TransformerHandler th = stf.newTransformerHandler(); th.setResult(new StreamResult(new FileOutputStream(temp))); th.getTransformer().setParameter(OutputKeys.METHOD, "xml"); th.getTransformer().setParameter(OutputKeys.ENCODING, "UTF-8"); th.getTransformer().setParameter(OutputKeys.INDENT, "no"); new SysViewSAXEventGenerator( s.getRootNode(), false, false, th) { protected void process(Node node, int level) throws RepositoryException, SAXException { if (!"/jcr:system".equals(node.getPath())) { super.process(node, level); } } }.serialize(); h.write("export_"+ this.wspName +".xml", temp); } catch (TransformerException te) { throw new RepositoryException(te); } catch (SAXException se) { throw new RepositoryException(se); } finally { temp.delete(); }
public void backup(BackupIOHandler h) throws RepositoryException, IOException { SessionImpl s = (SessionImpl) repo.login(new SimpleCredentials(this.conf.getLogin(), this.conf.getPassword().toCharArray()), this.wspName); SAXTransformerFactory stf = (SAXTransformerFactory) SAXTransformerFactory.newInstance(); File temp = new File(this.conf.getWorkFolder() + "wsp.xml"); try { TransformerHandler th = stf.newTransformerHandler(); th.setResult(new StreamResult(new FileOutputStream(temp))); th.getTransformer().setParameter(OutputKeys.METHOD, "xml"); th.getTransformer().setParameter(OutputKeys.ENCODING, "UTF-8"); th.getTransformer().setParameter(OutputKeys.INDENT, "no"); new SysViewSAXEventGenerator( s.getRootNode(), false, false, th) { protected void process(Node node, int level) throws RepositoryException, SAXException { if (!"/jcr:system".equals(node.getPath())) { super.process(node, level); } } }.serialize(); h.write("export"+ called +".xml", temp); } catch (TransformerException te) { throw new RepositoryException(te); } catch (SAXException se) { throw new RepositoryException(se); } finally { temp.delete(); called += 1; } }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/a9dbc7000807a0307409af65664df04ae0ae298b/WorkspaceBackup.java/buggy/contrib/backup/src/main/java/org/apache/jackrabbit/backup/WorkspaceBackup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5114, 12, 6248, 4294, 1503, 366, 13, 1216, 13367, 16, 5411, 1860, 288, 4202, 3877, 2828, 272, 273, 261, 2157, 2828, 13, 3538, 18, 5819, 12, 2704, 4477, 6163, 12, 2211, 18, 3923, 18, 588, 5358, 9334, 333, 18, 3923, 18, 588, 3913, 7675, 869, 15936, 1435, 3631, 333, 18, 91, 1752, 461, 1769, 2868, 10168, 8319, 1733, 384, 74, 273, 261, 55, 2501, 8319, 1733, 13, 10168, 8319, 1733, 18, 2704, 1442, 5621, 4202, 1387, 1906, 273, 394, 1387, 12, 2211, 18, 3923, 18, 588, 2421, 3899, 1435, 397, 315, 91, 1752, 18, 2902, 8863, 4202, 775, 288, 6647, 11519, 1503, 286, 273, 384, 74, 18, 2704, 8319, 1503, 5621, 6647, 286, 18, 542, 1253, 12, 2704, 3961, 1253, 12, 2704, 12942, 12, 5814, 3719, 1769, 6647, 286, 18, 588, 8319, 7675, 542, 1662, 12, 1447, 2396, 18, 5327, 16, 315, 2902, 8863, 6647, 286, 18, 588, 8319, 7675, 542, 1662, 12, 1447, 2396, 18, 14672, 16, 315, 5159, 17, 28, 8863, 6647, 286, 18, 588, 8319, 7675, 542, 1662, 12, 1447, 2396, 18, 2356, 2222, 16, 315, 2135, 8863, 6647, 394, 16995, 1767, 55, 2501, 1133, 3908, 12, 10402, 272, 18, 588, 29658, 9334, 629, 16, 629, 16, 286, 13, 288, 9079, 4750, 918, 1207, 12, 907, 756, 16, 509, 1801, 13, 15604, 1216, 13367, 16, 14366, 288, 10402, 309, 261, 4442, 19, 78, 3353, 30, 4299, 9654, 14963, 12, 2159, 18, 588, 743, 1435, 3719, 288, 15604, 2240, 18, 2567, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5114, 12, 6248, 4294, 1503, 366, 13, 1216, 13367, 16, 5411, 1860, 288, 4202, 3877, 2828, 272, 273, 261, 2157, 2828, 13, 3538, 18, 5819, 12, 2704, 4477, 6163, 12, 2211, 18, 3923, 18, 588, 5358, 9334, 333, 18, 3923, 18, 588, 3913, 7675, 869, 15936, 1435, 3631, 333, 18, 91, 1752, 461, 1769, 2868, 10168, 8319, 1733, 384, 74, 273, 261, 55, 2501, 8319, 1733, 13, 10168, 8319, 1733, 18, 2704, 1442, 5621, 4202, 1387, 1906, 273, 394, 1387, 12, 2211, 18, 3923, 18, 588, 2421, 3899, 1435, 397, 315, 91, 1752, 18, 2902, 8863, 4202, 775, 288, 6647, 11519, 1503, 286, 273, 384, 74, 18, 2704, 8319, 1503, 5621, 6647, 286, 18, 542, 1253, 2 ]
private boolean processAdditions(ContributionManager mgr, MenuAdditionCacheEntry cache) { int insertionIndex = getInsertionIndex(mgr, cache.getUri()); if (insertionIndex == -1) return false; // can't process (yet) // Get the additions List ciList = new ArrayList(); cache.getContributionItems(ciList); // If we have any then add them at the correct location if (ciList.size() > 0) { for (Iterator ciIter = ciList.iterator(); ciIter .hasNext();) { IContributionItem ici = (IContributionItem) ciIter.next(); // Register for 'visibleWhen' handling Expression visibleWhen = cache.getVisibleWhenForItem(ici); if (visibleWhen != null) { menuAuthority.addContribution(new MenuActivation(ici, visibleWhen, this)); } mgr.insert(insertionIndex++, ici); } } return true; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/7708c9aa128d7f727df6c085dc73634c29372cac/WorkbenchMenuService.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1207, 986, 5029, 12, 442, 4027, 1318, 13333, 16, 9809, 30296, 27630, 1247, 13, 288, 202, 202, 474, 12626, 1016, 273, 336, 29739, 1016, 12, 13552, 16, 1247, 18, 588, 3006, 10663, 202, 202, 430, 261, 6387, 285, 1016, 422, 300, 21, 13, 1082, 202, 2463, 629, 31, 225, 368, 848, 1404, 1207, 261, 24404, 13, 9506, 202, 759, 968, 326, 26260, 202, 202, 682, 9039, 682, 273, 394, 2407, 5621, 202, 202, 2493, 18, 588, 442, 4027, 3126, 12, 8450, 682, 1769, 9506, 202, 759, 971, 732, 1240, 1281, 1508, 527, 2182, 622, 326, 3434, 2117, 202, 202, 430, 261, 8450, 682, 18, 1467, 1435, 405, 374, 13, 288, 1082, 202, 1884, 261, 3198, 9039, 2360, 273, 9039, 682, 18, 9838, 5621, 9039, 2360, 6862, 202, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 45, 442, 4027, 1180, 277, 8450, 273, 261, 45, 442, 4027, 1180, 13, 9039, 2360, 18, 4285, 5621, 9506, 202, 759, 5433, 364, 296, 8613, 9434, 11, 5057, 9506, 202, 2300, 6021, 9434, 273, 1247, 18, 588, 6207, 9434, 1290, 1180, 12, 14463, 1769, 9506, 202, 430, 261, 8613, 9434, 480, 446, 13, 288, 6862, 202, 5414, 10962, 18, 1289, 442, 4027, 12, 2704, 9809, 14857, 12, 14463, 16, 6021, 9434, 16, 333, 10019, 9506, 202, 97, 6862, 9506, 202, 13552, 18, 6387, 12, 6387, 285, 1016, 9904, 16, 277, 8450, 1769, 1082, 202, 97, 202, 202, 97, 9506, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1207, 986, 5029, 12, 442, 4027, 1318, 13333, 16, 9809, 30296, 27630, 1247, 13, 288, 202, 202, 474, 12626, 1016, 273, 336, 29739, 1016, 12, 13552, 16, 1247, 18, 588, 3006, 10663, 202, 202, 430, 261, 6387, 285, 1016, 422, 300, 21, 13, 1082, 202, 2463, 629, 31, 225, 368, 848, 1404, 1207, 261, 24404, 13, 9506, 202, 759, 968, 326, 26260, 202, 202, 682, 9039, 682, 273, 394, 2407, 5621, 202, 202, 2493, 18, 588, 442, 4027, 3126, 12, 8450, 682, 1769, 9506, 202, 759, 971, 732, 1240, 1281, 1508, 527, 2182, 622, 326, 3434, 2117, 202, 202, 430, 261, 8450, 682, 18, 1467, 1435, 405, 374, 13, 288, 1082, 202, 1884, 261, 3198, 2 ]
myMain.dispatch(msg, receiverID);
myPlatform.dispatch(msg, receiverID);
private void unicastPostMessage(ACLMessage msg, AID receiverID) { try { if(livesHere(receiverID)) { // Dispatch it through the MainContainerProxy myMain.dispatch(msg, receiverID); } else { // Dispatch it through the ACC myACC.dispatch(msg, receiverID); } } catch(NotFoundException nfe) { notifyFailureToSender(msg, new InternalError("Agent not found: " + nfe.getMessage())); } }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/dc83e3ac14a2d96ed15f7d33eac7fe3128b90daa/AgentContainerImpl.java/buggy/src/jade/core/AgentContainerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 640, 12544, 3349, 1079, 12, 9486, 1079, 1234, 16, 432, 734, 5971, 734, 13, 288, 565, 775, 288, 1377, 309, 12, 80, 3606, 26715, 12, 24454, 734, 3719, 288, 202, 759, 11552, 518, 3059, 326, 12740, 2170, 3886, 202, 4811, 8201, 18, 10739, 12, 3576, 16, 5971, 734, 1769, 1377, 289, 1377, 469, 288, 202, 759, 11552, 518, 3059, 326, 18816, 202, 4811, 31414, 18, 10739, 12, 3576, 16, 5971, 734, 1769, 1377, 289, 565, 289, 565, 1044, 12, 3990, 25386, 13, 288, 1377, 5066, 5247, 774, 12021, 12, 3576, 16, 394, 3186, 668, 2932, 3630, 486, 1392, 30, 315, 397, 25386, 18, 24906, 1435, 10019, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 640, 12544, 3349, 1079, 12, 9486, 1079, 1234, 16, 432, 734, 5971, 734, 13, 288, 565, 775, 288, 1377, 309, 12, 80, 3606, 26715, 12, 24454, 734, 3719, 288, 202, 759, 11552, 518, 3059, 326, 12740, 2170, 3886, 202, 4811, 8201, 18, 10739, 12, 3576, 16, 5971, 734, 1769, 1377, 289, 1377, 469, 288, 202, 759, 11552, 518, 3059, 326, 18816, 202, 4811, 31414, 18, 10739, 12, 3576, 16, 5971, 734, 1769, 1377, 289, 565, 289, 565, 1044, 12, 3990, 25386, 13, 288, 1377, 5066, 5247, 774, 12021, 12, 3576, 16, 394, 3186, 668, 2932, 3630, 486, 1392, 30, 315, 397, 25386, 18, 24906, 1435, 10019, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100 ]
if ( !mappedChildPlugins.containsKey( constructPluginKey( plugin ) ) )
String pluginKey = constructPluginKey( plugin ); if ( !mappedChildPlugins.containsKey( pluginKey ) )
private void assemblePluginManagementInheritance( Model child, Model parent ) { Build parentBuild = parent.getBuild(); Build childBuild = child.getBuild(); if ( childBuild == null ) { if ( parentBuild != null ) { child.setBuild( parentBuild ); } else { childBuild = new Build(); } } else { PluginManagement parentPluginMgmt = parentBuild.getPluginManagement(); PluginManagement childPluginMgmt = childBuild.getPluginManagement(); if ( parentPluginMgmt != null ) { if ( childPluginMgmt == null ) { childBuild.setPluginManagement( parentPluginMgmt ); } else { List childPlugins = childPluginMgmt.getPlugins(); Map mappedChildPlugins = new TreeMap(); for ( Iterator it = childPlugins.iterator(); it.hasNext(); ) { Plugin plugin = (Plugin) it.next(); mappedChildPlugins.put( constructPluginKey( plugin ), plugin ); } for ( Iterator it = parentPluginMgmt.getPlugins().iterator(); it.hasNext(); ) { Plugin plugin = (Plugin) it.next(); if ( !mappedChildPlugins.containsKey( constructPluginKey( plugin ) ) ) { childPluginMgmt.addPlugin( plugin ); } else { Plugin childPlugin = (Plugin) mappedChildPlugins.get( constructPluginKey( plugin ) ); if ( childPlugin.getVersion() == null ) { childPlugin.setVersion( childPlugin.getVersion() ); } Map mappedChildGoals = new TreeMap(); for ( Iterator itGoals = childPlugin.getGoals().iterator(); itGoals.hasNext(); ) { Goal goal = (Goal) itGoals.next(); mappedChildGoals.put( goal.getId(), goal ); } for ( Iterator itGoals = plugin.getGoals().iterator(); itGoals.hasNext(); ) { Goal parentGoal = (Goal) itGoals.next(); Goal childGoal = (Goal) mappedChildGoals.get( parentGoal.getId() ); if ( childGoal == null ) { childPlugin.addGoal( parentGoal ); } else { Xpp3Dom childDom = (Xpp3Dom) childGoal.getConfiguration(); Xpp3Dom parentDom = (Xpp3Dom) parentGoal.getConfiguration(); childGoal.setConfiguration( Xpp3Dom.mergeXpp3Dom( childDom, parentDom ) ); } } } } } } } }
48791 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48791/7d7c4ed4aacf5a96e4ebed45faa6773f594cf819/DefaultModelInheritanceAssembler.java/buggy/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 19540, 3773, 10998, 28255, 12, 3164, 1151, 16, 3164, 982, 262, 565, 288, 3639, 3998, 982, 3116, 273, 982, 18, 588, 3116, 5621, 3639, 3998, 1151, 3116, 273, 1151, 18, 588, 3116, 5621, 3639, 309, 261, 1151, 3116, 422, 446, 262, 3639, 288, 5411, 309, 261, 982, 3116, 480, 446, 262, 5411, 288, 7734, 1151, 18, 542, 3116, 12, 982, 3116, 11272, 5411, 289, 5411, 469, 5411, 288, 7734, 1151, 3116, 273, 394, 3998, 5621, 5411, 289, 3639, 289, 3639, 469, 3639, 288, 5411, 6258, 10998, 982, 3773, 49, 7714, 273, 982, 3116, 18, 588, 3773, 10998, 5621, 5411, 6258, 10998, 1151, 3773, 49, 7714, 273, 1151, 3116, 18, 588, 3773, 10998, 5621, 5411, 309, 261, 982, 3773, 49, 7714, 480, 446, 262, 5411, 288, 7734, 309, 261, 1151, 3773, 49, 7714, 422, 446, 262, 7734, 288, 10792, 1151, 3116, 18, 542, 3773, 10998, 12, 982, 3773, 49, 7714, 11272, 7734, 289, 7734, 469, 7734, 288, 10792, 987, 1151, 9461, 273, 1151, 3773, 49, 7714, 18, 588, 9461, 5621, 10792, 1635, 5525, 1763, 9461, 273, 394, 16381, 5621, 10792, 364, 261, 4498, 518, 273, 1151, 9461, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 10792, 288, 13491, 6258, 1909, 273, 261, 3773, 13, 518, 18, 4285, 5621, 13491, 5525, 1763, 9461, 18, 458, 12, 4872, 3773, 653, 12, 1909, 262, 16, 1909, 11272, 10792, 289, 10792, 364, 261, 4498, 518, 273, 982, 3773, 49, 7714, 18, 588, 9461, 7675, 9838, 5621, 518, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 19540, 3773, 10998, 28255, 12, 3164, 1151, 16, 3164, 982, 262, 565, 288, 3639, 3998, 982, 3116, 273, 982, 18, 588, 3116, 5621, 3639, 3998, 1151, 3116, 273, 1151, 18, 588, 3116, 5621, 3639, 309, 261, 1151, 3116, 422, 446, 262, 3639, 288, 5411, 309, 261, 982, 3116, 480, 446, 262, 5411, 288, 7734, 1151, 18, 542, 3116, 12, 982, 3116, 11272, 5411, 289, 5411, 469, 5411, 288, 7734, 1151, 3116, 273, 394, 3998, 5621, 5411, 289, 3639, 289, 3639, 469, 3639, 288, 5411, 6258, 10998, 982, 3773, 49, 7714, 273, 982, 3116, 18, 588, 3773, 10998, 5621, 5411, 6258, 10998, 1151, 3773, 49, 7714, 273, 1151, 3116, 18, 588, 3773, 10998, 5621, 5411, 309, 261, 2 ]
if (tcd.getVersionsSupported()[k].compareTo(version) >= 0)
if (tcd.getVersionsSupported()[k].equals(version))
public boolean shouldBeVisibleForToolchain(String id, String version) { // if no toolchains specified then always return true if (toolchainSet.size() == 0) return true; Iterator iterator = toolchainSet.iterator(); while (iterator.hasNext()) { ToolchainData tcd = (ToolchainData) iterator.next(); // look for toolchain with same id if (tcd.getId().equals(id)) { // if we don't check versions then we're done if (version == null) return true; // does the toolchain have a compatible version? for (int k = 0; k < tcd.getVersionsSupported().length; k++) { // TODO: implement version support - should this check for an exact match? // An older version of a tool-chain could use a different custom page // than a newer version. if (tcd.getVersionsSupported()[k].compareTo(version) >= 0) { return true; } } } } return false; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/03c8b2fa41e90ac225314481a29cc4fd4066fdf5/MBSCustomPageData.java/buggy/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/MBSCustomPageData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1410, 1919, 6207, 1290, 6364, 5639, 12, 780, 612, 16, 514, 1177, 13, 202, 95, 202, 202, 759, 309, 1158, 5226, 23060, 1269, 1508, 3712, 327, 638, 202, 202, 430, 261, 6738, 5639, 694, 18, 1467, 1435, 422, 374, 13, 1082, 202, 2463, 638, 31, 202, 202, 3198, 2775, 273, 5226, 5639, 694, 18, 9838, 5621, 202, 202, 17523, 261, 9838, 18, 5332, 2134, 10756, 202, 202, 95, 1082, 202, 6364, 5639, 751, 1715, 72, 273, 261, 6364, 5639, 751, 13, 2775, 18, 4285, 5621, 1082, 202, 759, 2324, 364, 5226, 5639, 598, 1967, 612, 1082, 202, 430, 261, 12444, 18, 26321, 7675, 14963, 12, 350, 3719, 1082, 202, 95, 9506, 202, 759, 309, 732, 2727, 1404, 866, 5244, 1508, 732, 4565, 2731, 9506, 202, 430, 261, 1589, 422, 446, 13, 6862, 202, 2463, 638, 31, 9506, 202, 759, 1552, 326, 5226, 5639, 1240, 279, 7318, 1177, 35, 9506, 202, 1884, 261, 474, 417, 273, 374, 31, 417, 411, 1715, 72, 18, 588, 5940, 7223, 7675, 2469, 31, 417, 27245, 9506, 202, 95, 6862, 202, 759, 2660, 30, 225, 2348, 1177, 2865, 300, 1410, 333, 866, 364, 392, 5565, 845, 35, 6862, 202, 759, 3639, 1922, 12156, 1177, 434, 279, 5226, 17, 5639, 3377, 999, 279, 3775, 1679, 1363, 6862, 202, 759, 3639, 2353, 279, 16069, 1177, 18, 6862, 202, 430, 261, 12444, 18, 588, 5940, 7223, 1435, 63, 79, 8009, 9877, 774, 12, 1589, 13, 1545, 374, 13, 6862, 202, 95, 25083, 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, 1250, 1410, 1919, 6207, 1290, 6364, 5639, 12, 780, 612, 16, 514, 1177, 13, 202, 95, 202, 202, 759, 309, 1158, 5226, 23060, 1269, 1508, 3712, 327, 638, 202, 202, 430, 261, 6738, 5639, 694, 18, 1467, 1435, 422, 374, 13, 1082, 202, 2463, 638, 31, 202, 202, 3198, 2775, 273, 5226, 5639, 694, 18, 9838, 5621, 202, 202, 17523, 261, 9838, 18, 5332, 2134, 10756, 202, 202, 95, 1082, 202, 6364, 5639, 751, 1715, 72, 273, 261, 6364, 5639, 751, 13, 2775, 18, 4285, 5621, 1082, 202, 759, 2324, 364, 5226, 5639, 598, 1967, 612, 1082, 202, 430, 261, 12444, 18, 26321, 7675, 14963, 12, 350, 3719, 1082, 202, 95, 9506, 202, 759, 309, 732, 2 ]
fTargetCombo.setItems(new String[] {ICoreConstants.TARGET32, ICoreConstants.TARGET31, ICoreConstants.TARGET30});
fTargetCombo.setItems(new String[] {ICoreConstants.TARGET33, ICoreConstants.TARGET32, ICoreConstants.TARGET31, ICoreConstants.TARGET30});
private void createFormatGroup(Composite container) { Group group = new Group(container, SWT.NONE); group.setText(PDEUIMessages.NewProjectCreationPage_target); group.setLayout(new GridLayout(2, false)); group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Label label = new Label(group, SWT.NONE); if (fFragment) label.setText(PDEUIMessages.NewProjectCreationPage_ftarget); else label.setText(PDEUIMessages.NewProjectCreationPage_ptarget); GridData gd = new GridData(); gd.horizontalSpan = 2; label.setLayoutData(gd); fEclipseButton = createButton(group, SWT.RADIO, 1, 30); fEclipseButton.setText(PDEUIMessages.NewProjectCreationPage_pDependsOnRuntime); fEclipseButton.setSelection(fData.getOSGiFramework() == null); fEclipseButton.addSelectionListener(new SelectionAdapter(){ public void widgetSelected(SelectionEvent e) { updateRuntimeDependency(); } }); fTargetCombo = new Combo(group, SWT.READ_ONLY|SWT.SINGLE); fTargetCombo.setItems(new String[] {ICoreConstants.TARGET32, ICoreConstants.TARGET31, ICoreConstants.TARGET30}); if (PDECore.getDefault().areModelsInitialized()) fTargetCombo.setText(TargetPlatform.getTargetVersionString()); else fTargetCombo.setText(ICoreConstants.TARGET32); fOSGIButton = createButton(group, SWT.RADIO, 1, 30); fOSGIButton.setText(PDEUIMessages.NewProjectCreationPage_pPureOSGi); fOSGIButton.setSelection(fData.getOSGiFramework() != null); fOSGiCombo = new Combo(group, SWT.READ_ONLY|SWT.SINGLE); fOSGiCombo.setItems(new String[] {ICoreConstants.EQUINOX, PDEUIMessages.NewProjectCreationPage_standard}); fOSGiCombo.setText(ICoreConstants.EQUINOX); }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/5df1bd1a4b638c8bae3fca50e757496e6e85100a/NewProjectCreationPage.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/plugin/NewProjectCreationPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 1630, 1114, 12, 9400, 1478, 13, 288, 202, 202, 1114, 1041, 273, 394, 3756, 12, 3782, 16, 348, 8588, 18, 9826, 1769, 202, 202, 1655, 18, 542, 1528, 12, 52, 1639, 57, 3445, 1753, 18, 1908, 4109, 9906, 1964, 67, 3299, 1769, 202, 202, 1655, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 22, 16, 629, 10019, 202, 202, 1655, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 9506, 202, 2224, 1433, 273, 394, 5287, 12, 1655, 16, 348, 8588, 18, 9826, 1769, 202, 202, 430, 261, 74, 7456, 13, 1082, 202, 1925, 18, 542, 1528, 12, 52, 1639, 57, 3445, 1753, 18, 1908, 4109, 9906, 1964, 67, 1222, 826, 1769, 202, 202, 12107, 1082, 202, 1925, 18, 542, 1528, 12, 52, 1639, 57, 3445, 1753, 18, 1908, 4109, 9906, 1964, 67, 337, 826, 1769, 6862, 202, 6313, 751, 15551, 273, 394, 7145, 751, 5621, 202, 202, 19016, 18, 18396, 6952, 273, 576, 31, 202, 202, 1925, 18, 542, 3744, 751, 12, 19016, 1769, 1082, 377, 202, 202, 74, 23057, 10472, 3616, 273, 752, 3616, 12, 1655, 16, 348, 8588, 18, 28829, 4294, 16, 404, 16, 5196, 1769, 377, 202, 74, 23057, 10472, 3616, 18, 542, 1528, 12, 52, 1639, 57, 3445, 1753, 18, 1908, 4109, 9906, 1964, 67, 84, 4584, 87, 1398, 5576, 1769, 202, 377, 202, 565, 284, 23057, 10472, 3616, 18, 542, 6233, 12, 74, 751, 18, 588, 4618, 43, 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, 1630, 1114, 12, 9400, 1478, 13, 288, 202, 202, 1114, 1041, 273, 394, 3756, 12, 3782, 16, 348, 8588, 18, 9826, 1769, 202, 202, 1655, 18, 542, 1528, 12, 52, 1639, 57, 3445, 1753, 18, 1908, 4109, 9906, 1964, 67, 3299, 1769, 202, 202, 1655, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 22, 16, 629, 10019, 202, 202, 1655, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 9506, 202, 2224, 1433, 273, 394, 5287, 12, 1655, 16, 348, 8588, 18, 9826, 1769, 202, 202, 430, 261, 74, 7456, 13, 1082, 202, 1925, 18, 542, 1528, 12, 52, 1639, 57, 3445, 1753, 18, 1908, 4109, 2 ]
stmt.execute("CREATE TABLE #psso2 (data MONEY)");
stmt.execute("CREATE TABLE ##psso2 (data MONEY)");
public void testPreparedStatementSetObject2() throws Exception { BigDecimal data = new BigDecimal(3.7D); Statement stmt = con.createStatement(); stmt.execute("CREATE TABLE #psso2 (data MONEY)"); stmt.close(); PreparedStatement pstmt = con.prepareStatement("INSERT INTO #psso2 (data) VALUES (?)"); pstmt.setObject(1, data, Types.NUMERIC); assertTrue(pstmt.executeUpdate() == 1); pstmt.close(); stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("SELECT data FROM #psso2"); assertTrue(rs.next()); assertTrue(data.doubleValue() == rs.getDouble(1)); assertTrue(!rs.next()); rs.close(); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/3536f07067bcf3c572aa820c500e64c50499f6c5/PreparedStatementTest.java/buggy/src/test/net/sourceforge/jtds/test/PreparedStatementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 29325, 694, 921, 22, 1435, 1216, 1185, 288, 3639, 8150, 501, 273, 394, 8150, 12, 23, 18, 27, 40, 1769, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 7541, 84, 31269, 22, 261, 892, 30215, 2602, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 11356, 12421, 468, 84, 31269, 22, 261, 892, 13, 13477, 13590, 2225, 1769, 3639, 293, 10589, 18, 542, 921, 12, 21, 16, 501, 16, 7658, 18, 22998, 1769, 3639, 1815, 5510, 12, 84, 10589, 18, 8837, 1891, 1435, 422, 404, 1769, 3639, 293, 10589, 18, 4412, 5621, 3639, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 10842, 3597, 273, 3480, 18, 8837, 1138, 2932, 4803, 501, 4571, 468, 84, 31269, 22, 8863, 3639, 1815, 5510, 12, 5453, 18, 4285, 10663, 3639, 1815, 5510, 12, 892, 18, 9056, 620, 1435, 422, 3597, 18, 588, 5265, 12, 21, 10019, 3639, 1815, 5510, 12, 5, 5453, 18, 4285, 10663, 3639, 3597, 18, 4412, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 29325, 694, 921, 22, 1435, 1216, 1185, 288, 3639, 8150, 501, 273, 394, 8150, 12, 23, 18, 27, 40, 1769, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 7541, 84, 31269, 22, 261, 892, 30215, 2602, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 11356, 12421, 468, 84, 31269, 22, 261, 892, 13, 13477, 13590, 2225, 1769, 3639, 293, 10589, 18, 542, 921, 12, 21, 16, 501, 16, 7658, 18, 22998, 1769, 3639, 1815, 5510, 12, 84, 10589, 18, 8837, 1891, 1435, 422, 404, 1769, 3639, 293, 10589, 18, 4412, 5621, 3639, 3480, 273, 356, 18, 2640, 3406, 2 ]
if (getMylarCorePrefs().getBoolean(TaskListPreferenceConstants.REPOSITORY_SYNCH_ON_STARTUP)) { for (AbstractRepositoryConnector repositoryClient : taskRepositoryManager.getRepositoryConnectors()) { repositoryClient.synchronize(); } }
public void earlyStartup() { final IWorkbench workbench = PlatformUI.getWorkbench(); workbench.getDisplay().asyncExec(new Runnable() { public void run() { try { TaskListExtensionReader.initExtensions(taskListWriter); taskRepositoryManager.readRepositories(); taskListManager.addActivityListener(CONTEXT_TASK_ACTIVITY_LISTENER); taskListManager.readExistingOrCreateNewList(); initialized = true; migrateHandlesToRepositorySupport(); if (getMylarCorePrefs().getBoolean(TaskListPreferenceConstants.REPOSITORY_SYNCH_ON_STARTUP)) { for (AbstractRepositoryConnector repositoryClient : taskRepositoryManager.getRepositoryConnectors()) { repositoryClient.synchronize(); } } PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell().addShellListener(SHELL_LISTENER); taskListNotificationManager = new TaskListNotificationManager(); taskListNotificationManager.addNotificationProvider(NOTIFICATION_PROVIDER); taskListNotificationManager.startNotification(NOTIFICATION_DELAY); getMylarCorePrefs().addPropertyChangeListener(taskListNotificationManager); taskListArchiveManager = new TaskListAutoArchiveManager(); getMylarCorePrefs().addPropertyChangeListener(taskListArchiveManager); taskListRefreshManager = new TaskListRefreshManager(); taskListRefreshManager.startRefreshJob(); taskListSaveManager = new TaskListSaveManager(); taskListManager.getTaskList().addChangeListener(taskListSaveManager); MylarPlugin.getDefault().getPluginPreferences().addPropertyChangeListener(PREFERENCE_LISTENER); getMylarCorePrefs().addPropertyChangeListener(taskListRefreshManager); PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell().addDisposeListener( taskListSaveManager); } catch (Exception e) { MylarStatusHandler.fail(e, "Task List initialization failed", true); } } }); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/950346562e2c2bb9c9094b7863845ec7be90d7fe/MylarTaskListPlugin.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/MylarTaskListPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 11646, 22178, 1435, 288, 202, 202, 6385, 467, 2421, 22144, 1440, 22144, 273, 11810, 5370, 18, 588, 2421, 22144, 5621, 202, 202, 1252, 22144, 18, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 2174, 682, 3625, 2514, 18, 2738, 7513, 12, 4146, 682, 2289, 1769, 6862, 202, 4146, 3305, 1318, 18, 896, 18429, 5621, 6862, 202, 4146, 682, 1318, 18, 1289, 6193, 2223, 12, 13181, 67, 15580, 67, 22271, 4107, 67, 26421, 1769, 6862, 202, 4146, 682, 1318, 18, 896, 9895, 17717, 1908, 682, 5621, 6862, 202, 13227, 273, 638, 31, 6862, 202, 22083, 8788, 774, 3305, 6289, 5621, 6862, 202, 430, 261, 588, 12062, 7901, 4670, 1386, 2556, 7675, 588, 5507, 12, 2174, 682, 9624, 2918, 18, 862, 30986, 67, 7474, 50, 1792, 67, 673, 67, 7570, 3079, 3719, 288, 25083, 202, 1884, 261, 7469, 3305, 7487, 3352, 1227, 294, 1562, 3305, 1318, 18, 588, 3305, 7487, 87, 10756, 288, 6862, 1082, 202, 9071, 1227, 18, 87, 2600, 554, 5621, 25083, 202, 97, 6862, 202, 97, 6862, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 13220, 7675, 1289, 13220, 2223, 12, 2664, 21943, 67, 26421, 1769, 6862, 25083, 202, 4146, 682, 4386, 1318, 273, 394, 3837, 682, 4386, 1318, 5621, 6862, 202, 4146, 682, 4386, 1318, 18, 1289, 4386, 2249, 12, 4400, 14865, 67, 26413, 1769, 6862, 202, 4146, 682, 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, 11646, 22178, 1435, 288, 202, 202, 6385, 467, 2421, 22144, 1440, 22144, 273, 11810, 5370, 18, 588, 2421, 22144, 5621, 202, 202, 1252, 22144, 18, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 2174, 682, 3625, 2514, 18, 2738, 7513, 12, 4146, 682, 2289, 1769, 6862, 202, 4146, 3305, 1318, 18, 896, 18429, 5621, 6862, 202, 4146, 682, 1318, 18, 1289, 6193, 2223, 12, 13181, 67, 15580, 67, 22271, 4107, 67, 26421, 1769, 6862, 202, 4146, 682, 1318, 18, 896, 9895, 17717, 1908, 682, 5621, 6862, 202, 13227, 273, 638, 31, 6862, 202, 22083, 8788, 774, 3305, 6289, 5621, 6862, 2 ]
frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame);
frame = cx.debugger.enterFrame(cx, scope, thisObj, args, (DebuggableScript)fnOrScript);
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSecurityDomain != theData.securityDomain) { // If securityDomain is different, update domain in Cotext // and call self under new domain Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; try { return interpret(cx, scope, thisObj, args, fnOrScript, theData); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = theData.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int TRY_STACK_SHFT = LOCAL_SHFT + theData.itsMaxLocals; final int STACK_SHFT = TRY_STACK_SHFT + theData.itsMaxTryDepth;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[TRY_STACK_SHFT <= i < STACK_SHFT]: stack of try scopes// stack[STACK_SHFT <= i < STACK_SHFT + theData.itsMaxStack]: stack data// sDbl[TRY_STACK_SHFT <= i < STACK_SHFT]: stack of try block pc, stored as doubles// sDbl[any other i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = theData.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + theData.itsMaxStack) Context.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int tryStackTop = 0; // add TRY_STACK_SHFT to get real index int definedArgs = fnOrScript.argCount; if (definedArgs != 0) { if (definedArgs > args.length) { definedArgs = args.length; } for (int i = 0; i != definedArgs; ++i) { stack[VAR_SHFT + i] = args[i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } if (theData.isFunction) { if (fnOrScript.itsClosure != null) { scope = fnOrScript.itsClosure; }else if (!theData.itsUseDynamicScope) { scope = fnOrScript.getParentScope(); } }else { scope = ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, theData.itsFromEvalCode); } if (theData.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (theData.itsNeedsActivation) { scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } if (theData.itsNestedFunctions != null) { for (int i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope, theData.itsFromEvalCode); } Object result = undefined; byte[] iCode = theData.itsICode; String[] strings = theData.itsStringTable; int pc = 0; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; Loop: while (true) { try { switch (iCode[pc] & 0xff) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : stack[TRY_STACK_SHFT + tryStackTop] = scope; sDbl[TRY_STACK_SHFT + tryStackTop] = (double)pc; ++tryStackTop; // Skip starting pc of catch/finally blocks pc += 4; break; case TokenStream.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.IFNE : { Object val = stack[stackTop]; boolean valBln; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { double valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; } case TokenStream.IFEQ : { boolean valBln; Object val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { double valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; } case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : { int slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; } case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case RETURN_UNDEF_ICODE : result = undefined; break Loop; case END_ICODE: break Loop; case TokenStream.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; } case TokenStream.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; } case TokenStream.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; } case TokenStream.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; } case TokenStream.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; } case TokenStream.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; } case TokenStream.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; } case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; } case TokenStream.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; } case TokenStream.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; } case TokenStream.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; } case TokenStream.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; } case TokenStream.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; } case TokenStream.BINDNAME : { String name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; } case TokenStream.GETBASE : { String name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; } case TokenStream.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; // what about class cast exception here for lhs? stack[stackTop] = ScriptRuntime.setName ((Scriptable)lhs, rhs, scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; } case TokenStream.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; } case TokenStream.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; } case TokenStream.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; } case TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; } case TokenStream.PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; } case TokenStream.ELEMINC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; } case TokenStream.ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; } case TokenStream.GETTHIS : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; } case TokenStream.NEWTEMP : { int slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; } case TokenStream.USETEMP : { int slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; } case TokenStream.CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); String name = strings[getShort(iCode, pc + 3)]; int count = getShort(iCode, pc + 5); Object[] outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; } case TokenStream.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; int count = getShort(iCode, pc + 3); Object[] outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined) { int i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject. getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; instructionCount = cx.instructionCount; break; } case TokenStream.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getShort(iCode, pc + 3); Object[] outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined && getShort(iCode, pc + 1) != -1) { // special code for better error message for call // to undefined lhs = strings[getShort(iCode, pc + 1)]; } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; instructionCount = cx.instructionCount; break; } case TokenStream.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; } case TokenStream.TYPEOFNAME : { String name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; } case TokenStream.STRING : stack[++stackTop] = strings[getShort(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = theData. itsDoubleTable[getShort(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.SETVAR : { int slot = (iCode[++pc] & 0xFF); stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; break; } case TokenStream.GETVAR : { int slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; break; } case TokenStream.VARINC : { int slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; break; } case TokenStream.VARDEC : { int slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; break; } case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : { Object exception = stack[stackTop]; if (exception == DBL_MRK) exception = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(exception); } case TokenStream.JTHROW : { Object exception = stack[stackTop]; // No need to check for DBL_MRK: exception must be Exception --stackTop; if (exception instanceof JavaScriptException) throw (JavaScriptException)exception; else throw (RuntimeException)exception; } case TokenStream.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; } case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : { int slot = (iCode[++pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; } case TokenStream.ENUMNEXT : { int slot = (iCode[++pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime. nextEnum((Enumeration)val); break; } case TokenStream.GETPROTO : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; } case TokenStream.GETPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; } case TokenStream.GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; } case TokenStream.SETPROTO : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; } case TokenStream.SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; } case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : { int i = getShort(iCode, pc + 1); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope, theData.itsFromEvalCode); pc += 2; break; } case TokenStream.OBJECT : { int i = getShort(iCode, pc + 1); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; } case SOURCEFILE_ICODE : cx.interpreterSourceFile = theData.itsSourceFile; break; case LINE_ICODE : case BREAKPOINT_ICODE : { int i = getShort(iCode, pc + 1); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == BREAKPOINT_ICODE || cx.inLineStepMode) { cx.getDebuggableEngine(). getDebugger().handleBreakpointHit(cx); } pc += 2; break; } default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object catchObj = ex; // Object seen by script catch for (;;) { if (catchObj instanceof JavaScriptException) { catchObj = ScriptRuntime.unwrapJavaScriptException ((JavaScriptException)catchObj); exType = SCRIPT_THROW; } else if (catchObj instanceof EcmaError) { // an offical ECMA error object, catchObj = ((EcmaError)catchObj).getErrorObject(); exType = ECMA; } else if (catchObj instanceof RuntimeException) { if (catchObj instanceof WrappedException) { Object w = ((WrappedException) catchObj).unwrap(); if (w instanceof Throwable) { catchObj = (Throwable) w; continue; } } catchObj = null; // script can not catch this exType = RUNTIME; } else { // Error instance catchObj = null; // script can not catch this exType = OTHER; } break; } if (exType != OTHER && cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, ex); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script --tryStackTop; int try_pc = (int)sDbl[TRY_STACK_SHFT + tryStackTop]; if (exType == SCRIPT_THROW || exType == ECMA) { // Allow JS to catch only JavaScriptException and // EcmaError int catch_pc = getTarget(iCode, try_pc + 1); if (catch_pc == try_pc) { catch_pc = 0; } if (catch_pc != 0) { // Has catch block rethrow = false; pc = catch_pc; stackTop = STACK_SHFT; stack[stackTop] = catchObj; } } if (rethrow) { int finally_pc = getTarget(iCode, try_pc + 3); if (finally_pc == try_pc + 2) { finally_pc = 0; } if (finally_pc != 0) { // has finally block rethrow = false; pc = finally_pc; stackTop = STACK_SHFT; stack[stackTop] = ex; } } } if (rethrow) { if (frame != null) { cx.popFrame(); } if (theData.itsNeedsActivation) { ScriptRuntime.popActivation(cx); } if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc; // restore scope at try point scope = (Scriptable)stack[TRY_STACK_SHFT + tryStackTop]; } } if (frame != null) { cx.popFrame(); } if (theData.itsNeedsActivation) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/b3d321243cfc38d2b36851c259974f1b9bb1efd9/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 282, 16717, 2083, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 326, 751, 18, 7462, 3748, 13, 288, 6647, 368, 971, 4373, 3748, 353, 3775, 16, 1089, 2461, 316, 385, 352, 408, 6647, 368, 471, 745, 365, 3613, 394, 2461, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 326, 751, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 10634, 12, 71, 92, 16, 2146, 16, 15261, 16, 833, 16, 2295, 1162, 3651, 16, 326, 751, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 326, 751, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 67, 2664, 4464, 397, 943, 5555, 31, 3639, 727, 509, 4235, 61, 67, 21971, 67, 2664, 4464, 273, 15234, 67, 2664, 4464, 397, 326, 751, 18, 1282, 2747, 1333, 1031, 31, 3639, 727, 509, 11464, 67, 2664, 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, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 282, 16717, 2083, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 326, 751, 18, 7462, 3748, 13, 288, 6647, 368, 971, 4373, 3748, 353, 3775, 16, 1089, 2461, 316, 385, 352, 408, 6647, 368, 471, 745, 365, 3613, 394, 2461, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 326, 751, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 10634, 12, 71, 92, 16, 2 ]
_t = __t650;
_t = __t655;
public final void destructorstate(AST _t) throws RecognitionException { AST destructorstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST d = null; AST __t650 = _t; d = _t==ASTNULL ? null :(AST)_t; match(_t,DESTRUCTOR); _t = _t.getFirstChild(); if ( inputState.guessing==0 ) { action.scopeAdd(d); } AST tmp1227_AST_in = (AST)_t; match(_t,PUBLIC); _t = _t.getNextSibling(); AST tmp1228_AST_in = (AST)_t; match(_t,TYPE_NAME); _t = _t.getNextSibling(); AST tmp1229_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); AST tmp1230_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); block_colon(_t); _t = _retTree; code_block(_t); _t = _retTree; AST __t651 = _t; AST tmp1231_AST_in = (AST)_t; match(_t,END); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DESTRUCTOR: { AST tmp1232_AST_in = (AST)_t; match(_t,DESTRUCTOR); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t651; _t = _t.getNextSibling(); state_end(_t); _t = _retTree; if ( inputState.guessing==0 ) { action.scopeClose(d); } _t = __t650; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 23819, 280, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 23819, 280, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 302, 273, 446, 31, 9506, 202, 9053, 1001, 88, 26, 3361, 273, 389, 88, 31, 202, 202, 72, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 1639, 13915, 916, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 1082, 202, 1128, 18, 4887, 986, 12, 72, 1769, 202, 202, 97, 202, 202, 9053, 1853, 2138, 5324, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 14939, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 9053, 1853, 2138, 6030, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 2399, 67, 1985, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 9053, 1853, 2138, 5540, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 10066, 15111, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 9053, 1853, 2138, 5082, 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, 727, 918, 23819, 280, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 23819, 280, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 302, 273, 446, 31, 9506, 202, 9053, 1001, 88, 26, 3361, 273, 389, 88, 31, 202, 202, 72, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 1639, 13915, 916, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 1082, 202, 1128, 18, 4887, 2 ]
}
}
public void update() { //TODO Check requirement for persisting. }
47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/40604da2488c0e0e9de3a307e5a05bd456b9a02a/ProcessDaoImpl.java/clean/bpel-runtime/src/main/java/org/apache/ode/bpel/memdao/ProcessDaoImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 1435, 288, 565, 368, 6241, 2073, 12405, 364, 3898, 310, 18, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 1435, 288, 565, 368, 6241, 2073, 12405, 364, 3898, 310, 18, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
current = endRoot.getPreviousSibling();
DocumentFragment traverseContents(int traversalType) throws DOMException { if (fStartContainer == null || fEndContainer == null) { return null; // REVIST: Throw exception? } DocumentFragment frag = fDocument.createDocumentFragment(); Node current = fStartContainer; Node cloneCurrent = null; Node cloneParent = null; Node partialNode = null; int partialInt = START; Vector d = new Vector(); // if same container, simplify case if (fStartContainer == fEndContainer) { if (fStartOffset == fEndOffset) { // eg collapsed return frag; // REVIST: what is correct re spec? } if (fStartContainer.getNodeType() == Node.TEXT_NODE) { cloneCurrent = fStartContainer.cloneNode(false); cloneCurrent.setNodeValue( (cloneCurrent.getNodeValue()).substring(fStartOffset, fEndOffset)); if (traversalType == EXTRACT_CONTENTS) { deleteData((CharacterData)current, fStartOffset, fEndOffset-fStartOffset); } frag.appendChild(cloneCurrent); } else { current = current.getFirstChild(); int i = 0; for(i = 0; i < fStartOffset && current != null; i++) { current=current.getNextSibling(); } int n = fEndOffset-fStartOffset; for(i = 0; i < n && current != null ;i++) { Node newCurrent=current.getNextSibling(); if (traversalType == CLONE_CONTENTS) { cloneCurrent = current.cloneNode(true); frag.appendChild(cloneCurrent); } else if (traversalType == EXTRACT_CONTENTS) { frag.appendChild(current); } current = newCurrent; } } return frag; } //***** END SIMPLE CASE **** Node root = getCommonAncestorContainer(); Node parent = null; // go up the start tree... current = fStartContainer; //REVIST: Always clone TEXT_NODE's? if (current.getNodeType() == Node.TEXT_NODE) { cloneCurrent = current.cloneNode(false); cloneCurrent.setNodeValue( (cloneCurrent.getNodeValue()).substring(fStartOffset)); if (traversalType == EXTRACT_CONTENTS) { deleteData((CharacterData)current, fStartOffset, current.getNodeValue().length()-fStartOffset); } } else { current = current.getFirstChild(); for(int i = 0; i < fStartOffset && current != null; i++) { current=current.getNextSibling(); } // current is now at the offset. if (current==null) { //"after" current = fStartContainer; } if (traversalType == CLONE_CONTENTS) { cloneCurrent = current.cloneNode(true); } else if (traversalType == EXTRACT_CONTENTS ) { cloneCurrent = current; } } Node startRoot = null; parent = null; // going up in a direct line from boundary point // through parents to the common ancestor, // all these nodes are partially selected, and must // be cloned. while (current != root) { parent = current.getParentNode(); if (parent == root) { cloneParent = frag; startRoot = current; } else { if (parent == null) System.out.println("parent==null: current="+current); cloneParent = parent.cloneNode(false); if (partialNode==null && parent != root) { partialNode = parent; partialInt = AFTER; } } // The children to thr "right" of the "ancestor hierarchy" // are "fully-selected". Node next = null; //increment to the next sibling BEFORE doing the appendChild current = current.getNextSibling(); //do this appendChild after the increment above. cloneParent.appendChild(cloneCurrent); while (current != null) { next = current.getNextSibling(); if (current != null && parent != root) { if (traversalType == CLONE_CONTENTS) { cloneCurrent = current.cloneNode(true); cloneParent.appendChild(cloneCurrent); } else if (traversalType == EXTRACT_CONTENTS) { cloneParent.appendChild(current); } } current = next; } current = parent; cloneCurrent = cloneParent; } // go up the end tree... Node endRoot = null; current = fEndContainer; if (current.getNodeType() == Node.TEXT_NODE) { cloneCurrent = current.cloneNode(false); cloneCurrent.setNodeValue( (cloneCurrent.getNodeValue()).substring(0,fEndOffset)); if (traversalType == EXTRACT_CONTENTS) { deleteData((CharacterData)current, 0, fEndOffset); } } else { if (fEndOffset == 0) { // "before" current = fEndContainer; } else { current = current.getFirstChild(); for(int i = 1; i < fEndOffset && current != null; i++) { current=current.getNextSibling(); } if (current==null) { // REVIST: index-out-of-range what to do? current = fEndContainer.getLastChild(); } } if (traversalType == CLONE_CONTENTS) { cloneCurrent = current.cloneNode(true); } else if (traversalType == EXTRACT_CONTENTS ) { cloneCurrent = current; } } while (current != root && current != null) { parent = current.getParentNode(); if (parent == root) { cloneParent = frag; endRoot = current; } else { cloneParent = parent.cloneNode(false); if (partialNode==null && parent != root) { partialNode = parent; partialInt = BEFORE; } } Node holdCurrent = current; current = parent.getFirstChild(); cloneParent.appendChild(cloneCurrent); Node next = null; while (current != holdCurrent && current != null) { next = current.getNextSibling(); // The leftmost children are fully-selected // and are removed, and appended, not cloned. if (current != null && parent != root) { if (traversalType == CLONE_CONTENTS) { cloneCurrent = current.cloneNode(true); cloneParent.appendChild(cloneCurrent); } else if (traversalType == EXTRACT_CONTENTS) { //cloneCurrent = current; cloneParent.appendChild(current); } } current = next; } current = parent; cloneCurrent = cloneParent; } d.removeAllElements(); // traverse the "fully-selected" middle... Node clonedPrevious = frag.getLastChild(); current = endRoot.getPreviousSibling(); Node prev = null; while (current != startRoot && current != null) { prev = current.getPreviousSibling(); if (traversalType == CLONE_CONTENTS) { cloneCurrent = current.cloneNode(true); } else if (traversalType == EXTRACT_CONTENTS) { cloneCurrent = current; } frag.insertBefore(cloneCurrent, clonedPrevious); current = prev; clonedPrevious = cloneCurrent; } // collapse the range... if (traversalType == EXTRACT_CONTENTS ) { if (partialNode == null) { collapse(true); } else if (partialInt == AFTER) { setStartAfter(partialNode); setEndAfter(partialNode); } else if (partialInt == BEFORE) { setStartBefore(partialNode); setEndBefore(partialNode); } } return frag; }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/1b8addb84b37bd7eebc114246cd6e0a8dc9f156d/RangeImpl.java/buggy/src/org/apache/xerces/dom/RangeImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4319, 7456, 10080, 6323, 12, 474, 15940, 559, 13, 3639, 1216, 4703, 503, 565, 288, 3639, 309, 261, 74, 1685, 2170, 422, 446, 747, 284, 1638, 2170, 422, 446, 13, 288, 5411, 327, 446, 31, 368, 2438, 4136, 882, 30, 3743, 1520, 35, 3639, 289, 7734, 4319, 7456, 10111, 273, 284, 2519, 18, 2640, 2519, 7456, 5621, 13491, 2029, 783, 273, 284, 1685, 2170, 31, 3639, 2029, 3236, 3935, 273, 446, 31, 3639, 2029, 3236, 3054, 273, 446, 31, 3639, 2029, 4702, 907, 273, 446, 31, 3639, 509, 4702, 1702, 273, 10485, 31, 7734, 5589, 302, 273, 394, 5589, 5621, 7734, 368, 309, 1967, 1478, 16, 16499, 648, 3639, 309, 261, 74, 1685, 2170, 422, 284, 1638, 2170, 13, 288, 5411, 309, 261, 74, 1685, 2335, 422, 284, 1638, 2335, 13, 288, 368, 9130, 17027, 7734, 327, 10111, 31, 368, 2438, 4136, 882, 30, 4121, 353, 3434, 283, 857, 35, 5411, 289, 2398, 309, 261, 74, 1685, 2170, 18, 588, 15101, 1435, 422, 2029, 18, 5151, 67, 8744, 13, 288, 7734, 3236, 3935, 273, 284, 1685, 2170, 18, 14056, 907, 12, 5743, 1769, 7734, 3236, 3935, 18, 542, 907, 620, 12, 7734, 261, 14056, 3935, 18, 588, 907, 620, 1435, 2934, 28023, 12, 74, 1685, 2335, 16, 284, 1638, 2335, 10019, 7734, 309, 261, 31750, 287, 559, 422, 23370, 1268, 67, 9689, 55, 13, 288, 10792, 1430, 751, 12443, 7069, 751, 13, 2972, 16, 284, 1685, 2335, 16, 284, 1638, 2335, 17, 74, 1685, 2335, 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, 4319, 7456, 10080, 6323, 12, 474, 15940, 559, 13, 3639, 1216, 4703, 503, 565, 288, 3639, 309, 261, 74, 1685, 2170, 422, 446, 747, 284, 1638, 2170, 422, 446, 13, 288, 5411, 327, 446, 31, 368, 2438, 4136, 882, 30, 3743, 1520, 35, 3639, 289, 7734, 4319, 7456, 10111, 273, 284, 2519, 18, 2640, 2519, 7456, 5621, 13491, 2029, 783, 273, 284, 1685, 2170, 31, 3639, 2029, 3236, 3935, 273, 446, 31, 3639, 2029, 3236, 3054, 273, 446, 31, 3639, 2029, 4702, 907, 273, 446, 31, 3639, 509, 4702, 1702, 273, 10485, 31, 7734, 5589, 302, 273, 394, 5589, 5621, 7734, 368, 309, 1967, 1478, 16, 16499, 648, 3639, 309, 261, 74, 1685, 2170, 422, 284, 1638, 2170, 2 ]
{ throw new GroupsException("Problem finding containing groups: " + ce.getMessage()); }
{ throw new GroupsException("Problem finding containing groups", ce); }
public Iterator findContainingGroups(IGroupMember gm) throws GroupsException{ Collection groups = new ArrayList(10); IEntityGroup group = null; for ( Iterator it = getGroupStore().findContainingGroups(gm); it.hasNext(); ) { group = (IEntityGroup) it.next(); group.setLocalGroupService(this); groups.add(group); if (cacheInUse()) { try { if ( getGroupFromCache(group.getEntityIdentifier().getKey()) == null ) { cacheAdd(group); } } catch (CachingException ce) { throw new GroupsException("Problem finding containing groups: " + ce.getMessage()); } } } return groups.iterator();}
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/948a50c00c52659556ab3183d5ea2e316077d789/ReferenceIndividualGroupService.java/buggy/source/org/jasig/portal/groups/ReferenceIndividualGroupService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 4498, 1104, 24344, 3621, 12, 45, 1114, 4419, 14125, 13, 1216, 14712, 503, 95, 565, 2200, 3252, 273, 394, 2407, 12, 2163, 1769, 565, 29202, 1114, 1041, 273, 446, 31, 565, 364, 261, 4498, 518, 273, 11751, 2257, 7675, 4720, 24344, 3621, 12, 23336, 1769, 518, 18, 5332, 2134, 5621, 262, 565, 288, 3639, 1041, 273, 261, 45, 1943, 1114, 13, 518, 18, 4285, 5621, 3639, 1041, 18, 542, 2042, 1114, 1179, 12, 2211, 1769, 3639, 3252, 18, 1289, 12, 1655, 1769, 3639, 309, 261, 2493, 15435, 10756, 3639, 288, 5411, 775, 5411, 288, 7734, 309, 261, 11751, 19800, 12, 1655, 18, 588, 1943, 3004, 7675, 588, 653, 10756, 422, 446, 262, 10792, 288, 1247, 986, 12, 1655, 1769, 289, 5411, 289, 5411, 1044, 261, 17712, 503, 5898, 13, 7734, 288, 604, 394, 14712, 503, 2932, 13719, 13727, 4191, 3252, 3113, 5898, 1769, 289, 3639, 289, 565, 289, 565, 327, 3252, 18, 9838, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 4498, 1104, 24344, 3621, 12, 45, 1114, 4419, 14125, 13, 1216, 14712, 503, 95, 565, 2200, 3252, 273, 394, 2407, 12, 2163, 1769, 565, 29202, 1114, 1041, 273, 446, 31, 565, 364, 261, 4498, 518, 273, 11751, 2257, 7675, 4720, 24344, 3621, 12, 23336, 1769, 518, 18, 5332, 2134, 5621, 262, 565, 288, 3639, 1041, 273, 261, 45, 1943, 1114, 13, 518, 18, 4285, 5621, 3639, 1041, 18, 542, 2042, 1114, 1179, 12, 2211, 1769, 3639, 3252, 18, 1289, 12, 1655, 1769, 3639, 309, 261, 2493, 15435, 10756, 3639, 288, 5411, 775, 5411, 288, 7734, 309, 261, 11751, 19800, 12, 1655, 18, 588, 1943, 3004, 7675, 588, 653, 10756, 422, 446, 262, 10792, 288, 1247, 986, 12, 1655, 2 ]
protected void sizeChanged(int w,int h) { System.err.println("size changed, w="+w+", h="+h); System.err.println("size changed, w="+super.getWidth()+", h="+super.getHeight()); System.err.println("resizing GraphicsCmd..."); // go calculate. remind: some nokia devices have a bug that cause // wrong values to be passed as arguments to this function. calcScreenWidth(); Drawable d = (Drawable)graphicscmd.getData(); if(d != null) { d.resize(drawwidth,drawheight); } callEventHandler(new CanvasEvent(this,CanvasEvent.E_RESIZE,0,0,drawwidth,drawheight,0)); showCommands(mygraphics); }
47447 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47447/b0e3e0c78cf6f8d791b4077ff6c75bc6ebbef1e8/HeclCanvas.java/clean/trunk/hecl/midp20/org/hecl/midp20/lcdui/HeclCanvas.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 1467, 5033, 12, 474, 91, 16, 267, 451, 15329, 202, 3163, 18, 370, 18, 8222, 2932, 1467, 6703, 16, 91, 1546, 15, 91, 15, 3113, 76, 1546, 15, 76, 1769, 202, 3163, 18, 370, 18, 8222, 2932, 1467, 6703, 16, 91, 1546, 15, 9565, 18, 588, 2384, 1435, 15, 3113, 76, 1546, 15, 9565, 18, 588, 2686, 10663, 202, 3163, 18, 370, 18, 8222, 2932, 455, 6894, 17558, 5931, 7070, 1769, 202, 759, 75, 23735, 6569, 18, 2764, 728, 30, 87, 362, 275, 31179, 12506, 21516, 378, 637, 19056, 2700, 202, 759, 21530, 4531, 395, 947, 881, 2185, 345, 3446, 334, 10370, 291, 915, 18, 202, 12448, 7956, 2384, 5621, 202, 6493, 1116, 28657, 16149, 13, 4660, 335, 1017, 1264, 18, 588, 751, 5621, 202, 430, 12, 72, 5, 33, 2011, 15329, 202, 72, 18, 15169, 12, 9446, 2819, 16, 9446, 4210, 1769, 202, 97, 202, 1991, 16402, 12, 2704, 12971, 1133, 12, 2211, 16, 12971, 1133, 18, 41, 67, 862, 4574, 16, 20, 16, 20, 16, 9446, 2819, 16, 9446, 4210, 16, 20, 10019, 202, 4500, 9127, 12, 81, 4338, 1483, 2102, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 1467, 5033, 12, 474, 91, 16, 267, 451, 15329, 202, 3163, 18, 370, 18, 8222, 2932, 1467, 6703, 16, 91, 1546, 15, 91, 15, 3113, 76, 1546, 15, 76, 1769, 202, 3163, 18, 370, 18, 8222, 2932, 1467, 6703, 16, 91, 1546, 15, 9565, 18, 588, 2384, 1435, 15, 3113, 76, 1546, 15, 9565, 18, 588, 2686, 10663, 202, 3163, 18, 370, 18, 8222, 2932, 455, 6894, 17558, 5931, 7070, 1769, 202, 759, 75, 23735, 6569, 18, 2764, 728, 30, 87, 362, 275, 31179, 12506, 21516, 378, 637, 19056, 2700, 202, 759, 21530, 4531, 395, 947, 881, 2185, 345, 3446, 334, 10370, 291, 915, 18, 202, 12448, 7956, 2384, 5621, 202, 6493, 1116, 28657, 16149, 13, 4660, 2 ]
Vector fromEdges = new Vector( n.getFromEdges());
Vector fromEdges = new Vector(n.getFromEdges());
protected boolean optimizeNodeBackward(Node n) { Vector fromEdges = new Vector( n.getFromEdges()); for (int j = 0; j < fromEdges.size(); j++) { Edge e = (Edge) fromEdges.elementAt(j); for (int k = j + 1; k < n.getFromEdges().size(); k++) { Edge e2 = (Edge) fromEdges.elementAt(k); /* * If these are not the same edge, and they point to * equivalent nodes, we have a hit, return true */ assert e != e2; if (equivalentNodesBackward(e.getFromNode(),e2.getFromNode())) { mergeNodesAndEdgesBackward(n, e, e2); return true; } } } /* * return false if we did not get a hit */ return false; }
47105 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47105/8d147af0bf72c96a0a6e8a3bd99e0057deb9183d/LatticeOptimizer.java/buggy/sphinx4/edu/cmu/sphinx/result/LatticeOptimizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 10979, 907, 26283, 12, 907, 290, 13, 288, 3639, 5589, 628, 10697, 273, 394, 5589, 12, 82, 18, 588, 1265, 10697, 10663, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 628, 10697, 18, 1467, 5621, 525, 27245, 288, 5411, 11342, 425, 273, 261, 6098, 13, 628, 10697, 18, 2956, 861, 12, 78, 1769, 5411, 364, 261, 474, 417, 273, 525, 397, 404, 31, 417, 411, 290, 18, 588, 1265, 10697, 7675, 1467, 5621, 417, 27245, 288, 7734, 11342, 425, 22, 273, 261, 6098, 13, 628, 10697, 18, 2956, 861, 12, 79, 1769, 7734, 1748, 1171, 380, 971, 4259, 854, 486, 326, 1967, 3591, 16, 471, 2898, 1634, 358, 1171, 380, 7680, 2199, 16, 732, 1240, 279, 6800, 16, 327, 638, 1171, 1195, 7734, 1815, 425, 480, 425, 22, 31, 7734, 309, 261, 14298, 6505, 3205, 26283, 12, 73, 18, 588, 28570, 9334, 73, 22, 18, 588, 28570, 1435, 3719, 288, 10792, 2691, 3205, 1876, 10697, 26283, 12, 82, 16, 425, 16, 425, 22, 1769, 10792, 327, 638, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 1748, 540, 380, 327, 629, 309, 732, 5061, 486, 336, 279, 6800, 540, 1195, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 10979, 907, 26283, 12, 907, 290, 13, 288, 3639, 5589, 628, 10697, 273, 394, 5589, 12, 82, 18, 588, 1265, 10697, 10663, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 628, 10697, 18, 1467, 5621, 525, 27245, 288, 5411, 11342, 425, 273, 261, 6098, 13, 628, 10697, 18, 2956, 861, 12, 78, 1769, 5411, 364, 261, 474, 417, 273, 525, 397, 404, 31, 417, 411, 290, 18, 588, 1265, 10697, 7675, 1467, 5621, 417, 27245, 288, 7734, 11342, 425, 22, 273, 261, 6098, 13, 628, 10697, 18, 2956, 861, 12, 79, 1769, 7734, 1748, 1171, 380, 971, 4259, 854, 486, 326, 1967, 3591, 16, 471, 2898, 1634, 358, 1171, 380, 7680, 2199, 16, 732, 2 ]
if (obj instanceof NativeString) return (double)((NativeString)obj).jsGet_length(); if (obj instanceof NativeArray) return (double)((NativeArray)obj).jsGet_length();
if (obj instanceof NativeString) { return ((NativeString)obj).jsGet_length(); } else if (obj instanceof NativeArray) { return ((NativeArray)obj).jsGet_length(); } else if (!(obj instanceof Scriptable)) { return 0; }
static double getLengthProperty(Scriptable obj) { // These will both give numeric lengths within Uint32 range. if (obj instanceof NativeString) return (double)((NativeString)obj).jsGet_length(); if (obj instanceof NativeArray) return (double)((NativeArray)obj).jsGet_length(); return ScriptRuntime.toUint32(ScriptRuntime .getProp(obj, "length", obj)); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/5f6a565762eea9efee2aee1297e0f938ac7edf63/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1645, 9888, 1396, 12, 3651, 429, 1081, 13, 288, 3639, 368, 8646, 903, 3937, 8492, 6389, 10917, 3470, 7320, 1578, 1048, 18, 3639, 309, 261, 2603, 1276, 16717, 780, 13, 5411, 327, 261, 9056, 13, 12443, 9220, 780, 13, 2603, 2934, 2924, 967, 67, 2469, 5621, 3639, 309, 261, 2603, 1276, 16717, 1076, 13, 5411, 327, 261, 9056, 13, 12443, 9220, 1076, 13, 2603, 2934, 2924, 967, 67, 2469, 5621, 3639, 327, 7739, 5576, 18, 869, 5487, 1578, 12, 3651, 5576, 4766, 1377, 263, 588, 4658, 12, 2603, 16, 315, 2469, 3113, 1081, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1645, 9888, 1396, 12, 3651, 429, 1081, 13, 288, 3639, 368, 8646, 903, 3937, 8492, 6389, 10917, 3470, 7320, 1578, 1048, 18, 3639, 309, 261, 2603, 1276, 16717, 780, 13, 5411, 327, 261, 9056, 13, 12443, 9220, 780, 13, 2603, 2934, 2924, 967, 67, 2469, 5621, 3639, 309, 261, 2603, 1276, 16717, 1076, 13, 5411, 327, 261, 9056, 13, 12443, 9220, 1076, 13, 2603, 2934, 2924, 967, 67, 2469, 5621, 3639, 327, 7739, 5576, 18, 869, 5487, 1578, 12, 3651, 5576, 4766, 1377, 263, 588, 4658, 12, 2603, 16, 315, 2469, 3113, 1081, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if(cmd.equals("Paste")) {
} else if (cmd.equals("Paste")) {
public void actionPerformed(ActionEvent e) { String cmd = e.getActionCommand(); if(cmd.equals("Cut")) { // textArea.cut(); } else if(cmd.equals("Copy")) { textArea.copy(); } else if(cmd.equals("Paste")) { // textArea.paste(); } }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 309, 12, 4172, 18, 14963, 2932, 15812, 6, 3719, 288, 5411, 368, 977, 5484, 18, 5150, 5621, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 2951, 6, 3719, 288, 5411, 977, 5484, 18, 3530, 5621, 3639, 289, 469, 309, 261, 4172, 18, 14963, 2932, 52, 14725, 6, 3719, 288, 5411, 368, 977, 5484, 18, 29795, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 309, 12, 4172, 18, 14963, 2932, 15812, 6, 3719, 288, 5411, 368, 977, 5484, 18, 5150, 5621, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 2951, 6, 3719, 288, 5411, 977, 5484, 18, 3530, 5621, 3639, 289, 469, 309, 261, 4172, 18, 14963, 2932, 52, 14725, 6, 3719, 288, 5411, 368, 977, 5484, 18, 29795, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
returnList.add(new KnuthGlue(0, 0, 0,
seq.add(new KnuthGlue(0, 0, 0,
public LinkedList getNextKnuthElements(LayoutContext context, int alignment) { MinOptMax ipd; curArea = get(context); LinkedList returnList = new LinkedList(); if (curArea == null) { setFinished(true); return null; } ipd = new MinOptMax(fs.getCharWidth(((org.apache.fop.area.inline.Character) curArea).getChar().charAt(0))); curArea.setIPD(ipd.opt); curArea.setBPD(fs.getAscender() - fs.getDescender()); // offset is set in the offsetArea() method //curArea.setOffset(textInfo.fs.getAscender()); //curArea.setOffset(context.getBaseline()); curArea.addTrait(Trait.FONT_NAME, fs.getFontName()); curArea.addTrait(Trait.FONT_SIZE, new Integer(fs.getFontSize())); curArea.addTrait(Trait.COLOR, fobj.getColor()); int bpd = curArea.getBPD(); int lead = 0; int total = 0; int middle = 0; switch (verticalAlignment) { case EN_MIDDLE : middle = bpd / 2 ; break; case EN_TOP : // fall through case EN_BOTTOM : total = bpd; break; case EN_BASELINE: // fall through default : lead = fs.getAscender(); total = bpd; break; } // create the AreaInfo object to store the computed values areaInfo = new AreaInfo((short) 0, ipd, false, lead, total, middle); // node is a fo:Character if (letterSpaceIPD.min == letterSpaceIPD.max) { // constant letter space, only return a box returnList.add(new KnuthInlineBox(areaInfo.ipdArea.opt, areaInfo.lead, areaInfo.total, areaInfo.middle, new LeafPosition(this, 0), false)); } else { // adjustable letter space, return a sequence of elements; // at the moment the character is supposed to have no letter spaces, // but returning this sequence allows us to change only one element // if addALetterSpaceTo() is called returnList.add(new KnuthInlineBox(areaInfo.ipdArea.opt, areaInfo.lead, areaInfo.total, areaInfo.middle, new LeafPosition(this, 0), false)); returnList.add(new KnuthPenalty(0, KnuthElement.INFINITE, false, new LeafPosition(this, -1), true)); returnList.add(new KnuthGlue(0, 0, 0, new LeafPosition(this, -1), true)); returnList.add(new KnuthInlineBox(0, 0, 0, 0, new LeafPosition(this, -1), true)); } setFinished(true); return returnList; }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/b17185078597089c27f937e0a540a594589c30ec/CharacterLayoutManager.java/clean/src/java/org/apache/fop/layoutmgr/inline/CharacterLayoutManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10688, 6927, 47, 82, 795, 3471, 12, 3744, 1042, 819, 16, 4766, 6647, 509, 8710, 13, 288, 3639, 5444, 6179, 2747, 2359, 72, 31, 3639, 662, 5484, 273, 336, 12, 2472, 1769, 3639, 10688, 327, 682, 273, 394, 10688, 5621, 3639, 309, 261, 1397, 5484, 422, 446, 13, 288, 5411, 444, 10577, 12, 3767, 1769, 5411, 327, 446, 31, 3639, 289, 3639, 2359, 72, 273, 394, 5444, 6179, 2747, 12, 2556, 18, 588, 2156, 2384, 12443, 12, 3341, 18, 19211, 18, 74, 556, 18, 5036, 18, 10047, 18, 7069, 13, 662, 5484, 2934, 588, 2156, 7675, 3001, 861, 12, 20, 3719, 1769, 3639, 662, 5484, 18, 542, 2579, 40, 12, 625, 72, 18, 3838, 1769, 3639, 662, 5484, 18, 542, 38, 21527, 12, 2556, 18, 588, 13665, 2345, 1435, 300, 2662, 18, 588, 4217, 2345, 10663, 3639, 368, 1384, 353, 444, 316, 326, 1384, 5484, 1435, 707, 3639, 368, 1397, 5484, 18, 542, 2335, 12, 955, 966, 18, 2556, 18, 588, 13665, 2345, 10663, 3639, 368, 1397, 5484, 18, 542, 2335, 12, 2472, 18, 588, 16635, 10663, 540, 662, 5484, 18, 1289, 15525, 12, 15525, 18, 25221, 67, 1985, 16, 2662, 18, 588, 5711, 461, 10663, 3639, 662, 5484, 18, 1289, 15525, 12, 15525, 18, 25221, 67, 4574, 16, 394, 2144, 12, 2556, 18, 588, 22688, 1435, 10019, 3639, 662, 5484, 18, 1289, 15525, 12, 15525, 18, 10989, 16, 24705, 18, 588, 2957, 10663, 3639, 509, 9107, 72, 273, 662, 5484, 18, 588, 38, 21527, 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, 10688, 6927, 47, 82, 795, 3471, 12, 3744, 1042, 819, 16, 4766, 6647, 509, 8710, 13, 288, 3639, 5444, 6179, 2747, 2359, 72, 31, 3639, 662, 5484, 273, 336, 12, 2472, 1769, 3639, 10688, 327, 682, 273, 394, 10688, 5621, 3639, 309, 261, 1397, 5484, 422, 446, 13, 288, 5411, 444, 10577, 12, 3767, 1769, 5411, 327, 446, 31, 3639, 289, 3639, 2359, 72, 273, 394, 5444, 6179, 2747, 12, 2556, 18, 588, 2156, 2384, 12443, 12, 3341, 18, 19211, 18, 74, 556, 18, 5036, 18, 10047, 18, 7069, 13, 662, 5484, 2934, 588, 2156, 7675, 3001, 861, 12, 20, 3719, 1769, 3639, 662, 5484, 18, 542, 2579, 40, 12, 625, 72, 18, 3838, 1769, 3639, 662, 2 ]
for (Object o : userPrefs.getPrefs().getDescDict()) { if (o instanceof DictEntry) { DictEntry entry = (DictEntry) o; descDict.add(entry.getEntry()); defaultsMap.put(entry.getEntry(), entry.getData()); } } for (Object o : userPrefs.getPrefs().getListEntries()) { if (o instanceof ListEntry){ ListEntry l = (ListEntry) o; listAttributesMap.put(l.getEntry(), l.getAttributes()); } }
private PrefsInstance(){ descDict = new DefaultDictionary(); defaultsMap = new HashMap<String, DictData>(); listAttributesMap = new HashMap<String, ListAttributes>(); if (location == null){ if (Buddi.isMac()){ location = System.getProperty("user.home") + File.separator + "Library" + File.separator + "Application Support" + File.separator + "Buddi" + File.separator + "prefs.xml"; } else if (Buddi.isWindows()){ location = System.getProperty("user.home") + File.separator + "Application Data" + File.separator + "Buddi" + File.separator + "prefs.xml"; } else{ //Probably Linux / Unix... location = System.getProperty("user.home") + File.separator + ".buddi" + File.separator + "prefs.xml"; } } File locationFile = new File(location).getAbsoluteFile(); try{ // Create a resource set. resourceSet = new ResourceSetImpl(); // Register the default resource factory -- only needed for stand-alone! resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put( Resource.Factory.Registry.DEFAULT_EXTENSION, new XMLResourceFactoryImpl()); // Register the package @SuppressWarnings("unused") PrefsPackage prefsPackage = PrefsPackage.eINSTANCE; // Get the URI of the model file. URI fileURI = URI.createFileURI(locationFile.getAbsolutePath()); // Demand load the resource for this file. Resource resource = resourceSet.getResource(fileURI, true); // Print the contents of the resource to System.out. EList contents = resource.getContents(); if (contents.size() > 0){ userPrefs = (UserPrefs) contents.get(0); } //Do some final sanity checks. Probably not needed for everyday use, but // needed for some upgrades (i.e., from 1.1.5 to 1.1.6). if (userPrefs.getPrefs().getSelectedInterval() == null || userPrefs.getPrefs().getIntervals() == null || userPrefs.getPrefs().getIntervals().getAllIntervals() == null) throw new Exception(); //Make a smooth crossover from 1.6 to 1.8 if (userPrefs.getPrefs().getLanguage() != null){ if (userPrefs.getPrefs().getLanguage().equals("en")) userPrefs.getPrefs().setLanguage("English"); else if (userPrefs.getPrefs().getLanguage().equals("en-US")) userPrefs.getPrefs().setLanguage("English_(US)"); else if (userPrefs.getPrefs().getLanguage().equals("es")) userPrefs.getPrefs().setLanguage("Espanol"); else if (userPrefs.getPrefs().getLanguage().equals("de")) userPrefs.getPrefs().setLanguage("Deutsch"); else if (userPrefs.getPrefs().getLanguage().equals("no")) userPrefs.getPrefs().setLanguage("Norsk"); savePrefs(); } //Allow upgrading to rotating backups - default to 10 if (userPrefs.getPrefs().getNumberOfBackups() == 0){ userPrefs.getPrefs().setNumberOfBackups(10); savePrefs(); } if (userPrefs.getPrefs().getCurrencySymbol() == null){ userPrefs.getPrefs().setCurrencySymbol("$"); savePrefs(); } } //If there is a problem opening the file, we will prompt to make a new one catch (Exception e){ //If the file does not exist, we make a new one w/o prompting. userPrefs = prefsFactory.createUserPrefs(); Prefs prefs = prefsFactory.createPrefs(); userPrefs.setPrefs(prefs); //Create sane defaults for all the properties //Ask the user where to put the data file. This could possibly be on encrypted disk, etc. // We do not translate this part because we have not yet loaded the langauge files... JOptionPane.showMessageDialog( null, "You need to choose your data file. You can\n" + "either choose an existing Buddi data store, or a\n" + "directory in which a new file will be created.", "Choose Datastore Location...", JOptionPane.INFORMATION_MESSAGE); final String dataFileName = chooseDataFile(); if (dataFileName == null){ Log.critical("Cannot use a null file"); System.exit(1); } File languageLocation = new File(Const.LANGUAGE_FOLDER); if (languageLocation.exists() && languageLocation.isDirectory()){ Vector<String> languages = new Vector<String>(); for (File f: languageLocation.listFiles()) if (f.getName().endsWith(Const.LANGUAGE_EXTENSION)) languages.add(f.getName().replaceAll(Const.LANGUAGE_EXTENSION, "")); Object[] options = languages.toArray(); Object defaultOption = options[languages.indexOf("English")]; Object retValue = JOptionPane.showInputDialog( null, "Please choose your language:", "Language", JOptionPane.PLAIN_MESSAGE, null, options, defaultOption ); if (retValue != null) prefs.setLanguage((String) retValue); else{ JOptionPane.showMessageDialog(null, "Invalid selection. Defaulting to English - you can change this in Preferences.", "Invalid Selection", JOptionPane.ERROR_MESSAGE); prefs.setLanguage("English"); } } else{ prefs.setLanguage("English"); } //Set meaningful defaults prefs.setDataFile(dataFileName); prefs.setShowDeletedAccounts(true); prefs.setShowDeletedCategories(true); prefs.setShowAutoComplete(true); prefs.setEnableUpdateNotifications(true); prefs.setDateFormat("yyyy/MMM/d"); prefs.setCurrencySymbol(Const.CURRENCY_FORMATS[0]); WindowAttributes main = prefsFactory.createWindowAttributes(); WindowAttributes transactions = prefsFactory.createWindowAttributes(); WindowAttributes graphs = prefsFactory.createWindowAttributes(); WindowAttributes reports = prefsFactory.createWindowAttributes(); main.setHeight(400); main.setWidth(600); transactions.setHeight(500); transactions.setWidth(700); prefs.setMainWindow(main); prefs.setTransactionsWindow(transactions); prefs.setGraphsWindow(graphs); prefs.setReportsWindow(reports); Intervals intervals = prefsFactory.createIntervals(); prefs.setIntervals(intervals); Interval month = prefsFactory.createInterval(); month.setName(TranslateKeys.MONTH.toString()); month.setLength(1); month.setDays(false); //If days is false, then we assume the length is in months. prefs.getIntervals().getAllIntervals().add(month); Interval week = prefsFactory.createInterval(); week.setName(TranslateKeys.WEEK.toString()); week.setLength(7); week.setDays(true); prefs.getIntervals().getAllIntervals().add(week); Interval fortnight = prefsFactory.createInterval(); fortnight.setName(TranslateKeys.FORTNIGHT.toString()); fortnight.setLength(14); fortnight.setDays(true); prefs.getIntervals().getAllIntervals().add(fortnight); Interval quarter = prefsFactory.createInterval(); quarter.setName(TranslateKeys.QUARTER.toString()); quarter.setLength(3); quarter.setDays(false); prefs.getIntervals().getAllIntervals().add(quarter); Interval year = prefsFactory.createInterval(); year.setName(TranslateKeys.YEAR.toString()); year.setLength(12); year.setDays(false); prefs.getIntervals().getAllIntervals().add(year); prefs.setSelectedInterval(month.toString()); ResourceSet resourceSet = new ResourceSetImpl(); resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put( Resource.Factory.Registry.DEFAULT_EXTENSION, new XMLResourceFactoryImpl()); if (!locationFile.getParentFile().exists()){ locationFile.getParentFile().mkdirs(); } if (!locationFile.getParentFile().exists()){ Log.critical("Cannot create directory for preferences file. Please choose a location for which you have write privleges. Exiting."); System.exit(1); } URI fileURI = URI.createFileURI(locationFile.getAbsolutePath()); Resource resource = resourceSet.createResource(fileURI); resource.getContents().add(userPrefs); try{ resource.save(Collections.EMPTY_MAP); } catch (IOException ioe){} } //Load the auto complete entries into the dictionary // and create the autocomplete map, between // description and other fields. for (Object o : userPrefs.getPrefs().getDescDict()) { if (o instanceof DictEntry) { DictEntry entry = (DictEntry) o; descDict.add(entry.getEntry()); defaultsMap.put(entry.getEntry(), entry.getData()); } } //Load the state for the list entries for (Object o : userPrefs.getPrefs().getListEntries()) { if (o instanceof ListEntry){ ListEntry l = (ListEntry) o; listAttributesMap.put(l.getEntry(), l.getAttributes()); } } }
58048 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58048/eaf521fa0519a5c48fb66d782774848f3a00dcbb/PrefsInstance.java/clean/src/org/homeunix/drummer/prefs/PrefsInstance.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 453, 9316, 1442, 1435, 95, 202, 202, 5569, 5014, 273, 394, 2989, 10905, 5621, 202, 202, 7606, 863, 273, 394, 4317, 32, 780, 16, 9696, 751, 34, 5621, 202, 202, 1098, 2498, 863, 273, 394, 4317, 32, 780, 16, 987, 2498, 34, 5621, 9506, 202, 430, 261, 3562, 422, 446, 15329, 1082, 202, 430, 261, 38, 20567, 77, 18, 291, 9990, 10756, 95, 9506, 202, 3562, 273, 4405, 202, 3163, 18, 588, 1396, 2932, 1355, 18, 8712, 7923, 4405, 202, 15, 1387, 18, 11287, 4405, 202, 15, 315, 9313, 6, 397, 1387, 18, 11287, 4405, 202, 15, 315, 3208, 13619, 6, 4405, 202, 15, 1387, 18, 11287, 4405, 202, 15, 315, 38, 20567, 77, 6, 397, 1387, 18, 11287, 4405, 202, 15, 315, 1484, 2556, 18, 2902, 14432, 1082, 202, 97, 1082, 202, 12107, 309, 261, 38, 20567, 77, 18, 291, 10399, 10756, 95, 9506, 202, 3562, 273, 4405, 202, 3163, 18, 588, 1396, 2932, 1355, 18, 8712, 7923, 4766, 3639, 397, 1387, 18, 11287, 4766, 3639, 397, 315, 3208, 1910, 6, 4766, 3639, 397, 1387, 18, 11287, 4766, 3639, 397, 315, 38, 20567, 77, 6, 397, 1387, 18, 11287, 4766, 3639, 397, 315, 1484, 2556, 18, 2902, 14432, 1082, 202, 97, 1082, 202, 12107, 95, 368, 9152, 6906, 13318, 342, 9480, 2777, 9506, 202, 3562, 273, 4405, 202, 3163, 18, 588, 1396, 2932, 1355, 18, 8712, 7923, 4405, 202, 15, 1387, 18, 11287, 397, 3552, 70, 20567, 77, 6, 397, 1387, 18, 11287, 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, 453, 9316, 1442, 1435, 95, 202, 202, 5569, 5014, 273, 394, 2989, 10905, 5621, 202, 202, 7606, 863, 273, 394, 4317, 32, 780, 16, 9696, 751, 34, 5621, 202, 202, 1098, 2498, 863, 273, 394, 4317, 32, 780, 16, 987, 2498, 34, 5621, 9506, 202, 430, 261, 3562, 422, 446, 15329, 1082, 202, 430, 261, 38, 20567, 77, 18, 291, 9990, 10756, 95, 9506, 202, 3562, 273, 4405, 202, 3163, 18, 588, 1396, 2932, 1355, 18, 8712, 7923, 4405, 202, 15, 1387, 18, 11287, 4405, 202, 15, 315, 9313, 6, 397, 1387, 18, 11287, 4405, 202, 15, 315, 3208, 13619, 6, 4405, 202, 15, 1387, 18, 11287, 4405, 202, 15, 315, 38, 20567, 77, 6, 397, 2 ]
if (mFindWindow == null) { mFindWindow = new FindWindow(FindAsYouType.this); } mFindWindow.reset(); mFindWindow.setText(""+e.getKeyChar()); mFindWindow.setVisible(true);
showFindWindow(""+e.getKeyChar());
public void keyTyped(KeyEvent e) { if ((e.getKeyChar() != KeyEvent.CHAR_UNDEFINED) && ((int)e.getKeyChar() > 27)){ if (mFindWindow == null) { mFindWindow = new FindWindow(FindAsYouType.this); } mFindWindow.reset(); mFindWindow.setText(""+e.getKeyChar()); mFindWindow.setVisible(true); e.consume(); } }
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/3e58fdd1555b0dfd06a3a146463a0643e57dcbe2/FindAsYouType.java/buggy/tvbrowser/src/util/ui/findasyoutype/FindAsYouType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 498, 11985, 12, 653, 1133, 425, 13, 288, 3639, 309, 14015, 73, 18, 588, 653, 2156, 1435, 480, 23737, 18, 7305, 67, 2124, 15544, 13, 597, 14015, 474, 13, 73, 18, 588, 653, 2156, 1435, 405, 12732, 3719, 95, 1850, 309, 261, 81, 3125, 3829, 422, 446, 13, 288, 5411, 312, 3125, 3829, 273, 394, 4163, 3829, 12, 3125, 1463, 6225, 559, 18, 2211, 1769, 1850, 289, 1850, 312, 3125, 3829, 18, 6208, 5621, 1850, 312, 3125, 3829, 18, 542, 1528, 2932, 6, 15, 73, 18, 588, 653, 2156, 10663, 1850, 312, 3125, 3829, 18, 542, 6207, 12, 3767, 1769, 1850, 425, 18, 21224, 5621, 3639, 289, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 498, 11985, 12, 653, 1133, 425, 13, 288, 3639, 309, 14015, 73, 18, 588, 653, 2156, 1435, 480, 23737, 18, 7305, 67, 2124, 15544, 13, 597, 14015, 474, 13, 73, 18, 588, 653, 2156, 1435, 405, 12732, 3719, 95, 1850, 309, 261, 81, 3125, 3829, 422, 446, 13, 288, 5411, 312, 3125, 3829, 273, 394, 4163, 3829, 12, 3125, 1463, 6225, 559, 18, 2211, 1769, 1850, 289, 1850, 312, 3125, 3829, 18, 6208, 5621, 1850, 312, 3125, 3829, 18, 542, 1528, 2932, 6, 15, 73, 18, 588, 653, 2156, 10663, 1850, 312, 3125, 3829, 18, 542, 6207, 12, 3767, 1769, 1850, 425, 18, 21224, 5621, 3639, 289, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100 ]
if (element instanceof PsiLanguageInjectionHost) { PsiLanguageInjectionHost injectionHost = (PsiLanguageInjectionHost)element; final Language injectedLanguage = element.getManager().getInjectedLanguage(injectionHost); if (injectedLanguage != null) { Pair<PsiElement,TextRange> injectedInfo = injectionHost.getInjectedPsi(); if (injectedInfo != null) { VirtualFile virtualFile = element.getContainingFile().getVirtualFile(); SyntaxHighlighter syntaxHighlighter = injectedLanguage.getSyntaxHighlighter(element.getProject(), virtualFile); final Annotator languageAnnotator = injectedLanguage.getAnnotator(); final int injectedPsiOffset = injectionHost.getTextRange().getStartOffset() + injectedInfo.second.getStartOffset(); PsiElement injectedPsi = injectedInfo.first; final SyntaxHighlighterAsAnnotator syntaxAnnotator = new SyntaxHighlighterAsAnnotator(syntaxHighlighter); PsiRecursiveElementVisitor visitor = new PsiRecursiveElementVisitor() { final AnnotationHolderImpl fixingAnnotationHolder = new AnnotationHolderImpl() { protected Annotation createAnnotation(TextRange range, HighlightSeverity severity, String message) { Annotation annotation = super.createAnnotation(range.shiftRight(injectedPsiOffset), severity, message); myAnnotationHolder.add(annotation); return annotation; } }; public void visitElement(PsiElement element) { super.visitElement(element); syntaxAnnotator.annotate(element, fixingAnnotationHolder); if (languageAnnotator != null) { languageAnnotator.annotate(element, fixingAnnotationHolder); } }
if (!(element instanceof PsiLanguageInjectionHost)) { return false; } PsiLanguageInjectionHost injectionHost = (PsiLanguageInjectionHost)element; List<Pair<PsiElement, TextRange>> injected = injectionHost.getInjectedPsi(); if (injected == null) return false; for (Pair<PsiElement, TextRange> pair : injected) { PsiElement injectedPsi = pair.getFirst(); TextRange range = pair.getSecond(); Language injectedLanguage = injectedPsi.getLanguage(); VirtualFile virtualFile = element.getContainingFile().getVirtualFile(); SyntaxHighlighter syntaxHighlighter = injectedLanguage.getSyntaxHighlighter(element.getProject(), virtualFile); final Annotator languageAnnotator = injectedLanguage.getAnnotator(); final int injectedPsiOffset = injectionHost.getTextRange().getStartOffset() + range.getStartOffset(); final SyntaxHighlighterAsAnnotator syntaxAnnotator = new SyntaxHighlighterAsAnnotator(syntaxHighlighter); PsiRecursiveElementVisitor visitor = new PsiRecursiveElementVisitor() { final AnnotationHolderImpl fixingAnnotationHolder = new AnnotationHolderImpl() { protected Annotation createAnnotation(TextRange range, HighlightSeverity severity, String message) { Annotation annotation = super.createAnnotation(range.shiftRight(injectedPsiOffset), severity, message); myAnnotationHolder.add(annotation); return annotation; } }; public void visitElement(PsiElement element) { super.visitElement(element); syntaxAnnotator.annotate(element, fixingAnnotationHolder); if (languageAnnotator != null) { languageAnnotator.annotate(element, fixingAnnotationHolder); } }
private boolean highlightInjectedPsi(final PsiElement element) { if (element instanceof PsiLanguageInjectionHost) { PsiLanguageInjectionHost injectionHost = (PsiLanguageInjectionHost)element; final Language injectedLanguage = element.getManager().getInjectedLanguage(injectionHost); if (injectedLanguage != null) { Pair<PsiElement,TextRange> injectedInfo = injectionHost.getInjectedPsi(); if (injectedInfo != null) { VirtualFile virtualFile = element.getContainingFile().getVirtualFile(); SyntaxHighlighter syntaxHighlighter = injectedLanguage.getSyntaxHighlighter(element.getProject(), virtualFile); final Annotator languageAnnotator = injectedLanguage.getAnnotator(); final int injectedPsiOffset = injectionHost.getTextRange().getStartOffset() + injectedInfo.second.getStartOffset(); PsiElement injectedPsi = injectedInfo.first; final SyntaxHighlighterAsAnnotator syntaxAnnotator = new SyntaxHighlighterAsAnnotator(syntaxHighlighter); PsiRecursiveElementVisitor visitor = new PsiRecursiveElementVisitor() { final AnnotationHolderImpl fixingAnnotationHolder = new AnnotationHolderImpl() { protected Annotation createAnnotation(TextRange range, HighlightSeverity severity, String message) { Annotation annotation = super.createAnnotation(range.shiftRight(injectedPsiOffset), severity, message); myAnnotationHolder.add(annotation); return annotation; } }; public void visitElement(PsiElement element) { super.visitElement(element); syntaxAnnotator.annotate(element, fixingAnnotationHolder); if (languageAnnotator != null) { languageAnnotator.annotate(element, fixingAnnotationHolder); } } public void visitErrorElement(PsiErrorElement element) { HighlightInfo info = createErrorElementInfo(element); HighlightInfo fixed = new HighlightInfo(HighlightInfoType.ERROR, info.startOffset + injectedPsiOffset, info.endOffset + injectedPsiOffset, info.description, info.toolTip); myHolder.add(fixed); } }; injectedPsi.accept(visitor); return true; } } } return false; }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/f0f4a2bd46dc054a5d61fb1b3de76307a7026935/HighlightVisitorImpl.java/clean/codeInsight/impl/com/intellij/codeInsight/daemon/impl/analysis/HighlightVisitorImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 8839, 382, 6059, 52, 7722, 12, 6385, 453, 7722, 1046, 930, 13, 288, 565, 309, 261, 2956, 1276, 453, 7722, 3779, 12039, 2594, 13, 288, 1377, 453, 7722, 3779, 12039, 2594, 10380, 2594, 273, 261, 52, 7722, 3779, 12039, 2594, 13, 2956, 31, 1377, 727, 9889, 15776, 3779, 273, 930, 18, 588, 1318, 7675, 588, 382, 6059, 3779, 12, 31969, 2594, 1769, 1377, 309, 261, 267, 6059, 3779, 480, 446, 13, 288, 3639, 8599, 32, 52, 7722, 1046, 16, 1528, 2655, 34, 15776, 966, 273, 10380, 2594, 18, 588, 382, 6059, 52, 7722, 5621, 3639, 309, 261, 267, 6059, 966, 480, 446, 13, 288, 1850, 7269, 812, 5024, 812, 273, 930, 18, 588, 24344, 812, 7675, 588, 6466, 812, 5621, 1850, 11517, 8573, 23624, 6279, 8573, 23624, 273, 15776, 3779, 18, 588, 8070, 8573, 23624, 12, 2956, 18, 588, 4109, 9334, 5024, 812, 1769, 1850, 727, 8497, 639, 2653, 11280, 639, 273, 15776, 3779, 18, 588, 11280, 639, 5621, 1850, 727, 509, 15776, 52, 7722, 2335, 273, 10380, 2594, 18, 588, 1528, 2655, 7675, 588, 1685, 2335, 1435, 397, 15776, 966, 18, 8538, 18, 588, 1685, 2335, 5621, 1850, 453, 7722, 1046, 15776, 52, 7722, 273, 15776, 966, 18, 3645, 31, 1850, 727, 11517, 8573, 23624, 1463, 11280, 639, 6279, 11280, 639, 273, 394, 11517, 8573, 23624, 1463, 11280, 639, 12, 14308, 8573, 23624, 1769, 1850, 453, 7722, 10483, 1046, 7413, 8000, 273, 394, 453, 7722, 10483, 1046, 7413, 1435, 288, 5411, 727, 6090, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 8839, 382, 6059, 52, 7722, 12, 6385, 453, 7722, 1046, 930, 13, 288, 565, 309, 261, 2956, 1276, 453, 7722, 3779, 12039, 2594, 13, 288, 1377, 453, 7722, 3779, 12039, 2594, 10380, 2594, 273, 261, 52, 7722, 3779, 12039, 2594, 13, 2956, 31, 1377, 727, 9889, 15776, 3779, 273, 930, 18, 588, 1318, 7675, 588, 382, 6059, 3779, 12, 31969, 2594, 1769, 1377, 309, 261, 267, 6059, 3779, 480, 446, 13, 288, 3639, 8599, 32, 52, 7722, 1046, 16, 1528, 2655, 34, 15776, 966, 273, 10380, 2594, 18, 588, 382, 6059, 52, 7722, 5621, 3639, 309, 261, 267, 6059, 966, 480, 446, 13, 288, 1850, 7269, 812, 5024, 812, 273, 930, 18, 588, 24344, 812, 7675, 2 ]
if (shell != null)
if (shell != null) {
Shell getShell(IAdaptable uiInfo) { if (uiInfo != null) { Shell shell = (Shell) uiInfo.getAdapter(Shell.class); if (shell != null) return shell; } return null; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/AdvancedValidationUserApprover.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/operations/AdvancedValidationUserApprover.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 13220, 7932, 1165, 12, 45, 13716, 429, 5915, 966, 13, 288, 202, 202, 430, 261, 4881, 966, 480, 446, 13, 288, 1082, 202, 13220, 5972, 273, 261, 13220, 13, 5915, 966, 18, 588, 4216, 12, 13220, 18, 1106, 1769, 1082, 202, 430, 261, 10304, 480, 446, 13, 9506, 202, 2463, 5972, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 13220, 7932, 1165, 12, 45, 13716, 429, 5915, 966, 13, 288, 202, 202, 430, 261, 4881, 966, 480, 446, 13, 288, 1082, 202, 13220, 5972, 273, 261, 13220, 13, 5915, 966, 18, 588, 4216, 12, 13220, 18, 1106, 1769, 1082, 202, 430, 261, 10304, 480, 446, 13, 9506, 202, 2463, 5972, 31, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
pixelType[i] = FormatReader.INT16;
pixelType[i] = FormatReader.UINT16;
protected void initMetadata() { if (headerIFDs == null) headerIFDs = ifds; for (int i=0; i<headerIFDs.length; i++) { byte[] temp = (byte[]) headerIFDs[i].get(new Integer(10)); if (temp != null) { // the series data // ID_SERIES metadata.put("Version", new Integer(DataTools.bytesToInt(temp, 0, 4, littleEndian))); metadata.put("Number of Series", new Integer(DataTools.bytesToInt(temp, 4, 4, littleEndian))); metadata.put("Length of filename", new Integer(DataTools.bytesToInt(temp, 8, 4, littleEndian))); metadata.put("Length of file extension", new Integer(DataTools.bytesToInt(temp, 12, 4, littleEndian))); Integer fileExtLen = (Integer) metadata.get("Length of file extension"); metadata.put("Image file extension", DataTools.stripString(new String(temp, 16, fileExtLen.intValue()))); } temp = (byte[]) headerIFDs[i].get(new Integer(15)); if (temp != null) { // the image data // ID_IMAGES zs[i] = DataTools.bytesToInt(temp, 0, 4, littleEndian); widths[i] = DataTools.bytesToInt(temp, 4, 4, littleEndian); heights[i] = DataTools.bytesToInt(temp, 8, 4, littleEndian); metadata.put("Number of images", new Integer(zs[i])); metadata.put("Image width", new Integer(widths[i])); metadata.put("Image height", new Integer(heights[i])); metadata.put("Bits per Sample", new Integer( DataTools.bytesToInt(temp, 12, 4, littleEndian))); metadata.put("Samples per pixel", new Integer( DataTools.bytesToInt(temp, 16, 4, littleEndian))); } temp = (byte[]) headerIFDs[i].get(new Integer(20)); if (temp != null) { // dimension description // ID_DIMDESCR int pt = 0; metadata.put("Voxel Version", new Integer( DataTools.bytesToInt(temp, 0, 4, littleEndian))); int voxelType = DataTools.bytesToInt(temp, 4, 4, littleEndian); String type = ""; switch (voxelType) { case 0: type = "undefined"; break; case 10: type = "gray normal"; break; case 20: type = "RGB"; break; } metadata.put("VoxelType", type); metadata.put("Bytes per pixel", new Integer( DataTools.bytesToInt(temp, 8, 4, littleEndian))); metadata.put("Real world resolution", new Integer( DataTools.bytesToInt(temp, 12, 4, littleEndian))); int length = DataTools.bytesToInt(temp, 16, 4, littleEndian); metadata.put("Maximum voxel intensity", DataTools.stripString(new String(temp, 20, length))); pt = 20 + length; pt += 4; metadata.put("Minimum voxel intensity", DataTools.stripString(new String(temp, pt, length))); pt += length; length = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4 + length + 4; length = DataTools.bytesToInt(temp, pt, 4, littleEndian); for (int j=0; j<length; j++) { int dimId = DataTools.bytesToInt(temp, pt, 4, littleEndian); String dimType = ""; switch (dimId) { case 0: dimType = "undefined"; break; case 120: dimType = "x"; break; case 121: dimType = "y"; break; case 122: dimType = "z"; break; case 116: dimType = "t"; break; case 6815843: dimType = "channel"; break; case 6357100: dimType = "wave length"; break; case 7602290: dimType = "rotation"; break; case 7798904: dimType = "x-wide for the motorized xy-stage"; break; case 7798905: dimType = "y-wide for the motorized xy-stage"; break; case 7798906: dimType = "z-wide for the z-stage-drive"; break; case 4259957: dimType = "user1 - unspecified"; break; case 4325493: dimType = "user2 - unspecified"; break; case 4391029: dimType = "user3 - unspecified"; break; case 6357095: dimType = "graylevel"; break; case 6422631: dimType = "graylevel1"; break; case 6488167: dimType = "graylevel2"; break; case 6553703: dimType = "graylevel3"; break; case 7864398: dimType = "logical x"; break; case 7929934: dimType = "logical y"; break; case 7995470: dimType = "logical z"; break; case 7602254: dimType = "logical t"; break; case 7077966: dimType = "logical lambda"; break; case 7471182: dimType = "logical rotation"; break; case 5767246: dimType = "logical x-wide"; break; case 5832782: dimType = "logical y-wide"; break; case 5898318: dimType = "logical z-wide"; break; } //if (dimType.equals("channel")) numChannels++; metadata.put("Dim" + j + " type", dimType); pt += 4; metadata.put("Dim" + j + " size", new Integer( DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; metadata.put("Dim" + j + " distance between sub-dimensions", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; int len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Dim" + j + " physical length", DataTools.stripString(new String(temp, pt, len))); pt += len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Dim" + j + " physical origin", DataTools.stripString(new String(temp, pt, len))); pt += len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Dim" + j + " name", DataTools.stripString(new String(temp, pt, len))); pt += len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Dim" + j + " description", DataTools.stripString(new String(temp, pt, len))); } } temp = (byte[]) headerIFDs[i].get(new Integer(30)); if (temp != null) { // filter data // ID_FILTERSET // not currently used } temp = (byte[]) headerIFDs[i].get(new Integer(40)); if (temp != null) { // time data // ID_TIMEINFO try { metadata.put("Number of time-stamped dimensions", new Integer(DataTools.bytesToInt(temp, 0, 4, littleEndian))); int nDims = DataTools.bytesToInt(temp, 4, 4, littleEndian); metadata.put("Time-stamped dimension", new Integer(nDims)); int pt = 8; for (int j=0; j < nDims; j++) { metadata.put("Dimension " + j + " ID", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; metadata.put("Dimension " + j + " size", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; metadata.put("Dimension " + j + " distance between dimensions", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; } int numStamps = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Number of time-stamps", new Integer(numStamps)); for (int j=0; j<numStamps; j++) { metadata.put("Timestamp " + j, DataTools.stripString(new String(temp, pt, 64))); pt += 64; } int numTMs = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Number of time-markers", new Integer(numTMs)); for (int j=0; j<numTMs; j++) { int numDims = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; for (int k=0; k<numDims; k++) { metadata.put("Time-marker " + j + " Dimension " + k + " coordinate", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; } metadata.put("Time-marker " + j, DataTools.stripString(new String(temp, pt, 64))); pt += 64; } } catch (Throwable t) { } } temp = (byte[]) headerIFDs[i].get(new Integer(50)); if (temp != null) { // scanner data // ID_SCANNERSET // not currently used } temp = (byte[]) headerIFDs[i].get(new Integer(60)); if (temp != null) { // experiment data // ID_EXPERIMENT int pt = 8; int len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Image Description", DataTools.stripString(new String(temp, pt, 2*len))); pt += 2*len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Main file extension", DataTools.stripString(new String(temp, pt, 2*len))); pt += 2*len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Single image format identifier", DataTools.stripString(new String(temp, pt, 2*len))); pt += 2*len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Single image extension", DataTools.stripString(new String(temp, pt, 2*len))); } temp = (byte[]) headerIFDs[i].get(new Integer(70)); if (temp != null) { // LUT data // ID_LUTDESC int pt = 0; int nChannels = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Number of LUT channels", new Integer(nChannels)); metadata.put("ID of colored dimension", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; numChannels[i] = nChannels; for (int j=0; j<nChannels; j++) { metadata.put("LUT Channel " + j + " version", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; int invert = DataTools.bytesToInt(temp, pt, 1, littleEndian); pt += 1; boolean inverted = invert == 1; metadata.put("LUT Channel " + j + " inverted?", new Boolean(inverted).toString()); int length = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("LUT Channel " + j + " description", DataTools.stripString(new String(temp, pt, length))); pt += length; length = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("LUT Channel " + j + " filename", DataTools.stripString(new String(temp, pt, length))); pt += length; length = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; String name = DataTools.stripString(new String(temp, pt, length)); if (name.equals("Green") || name.equals("Red") || name.equals("Blue")) { numChannels[i] = 3; } metadata.put("LUT Channel " + j + " name", name); pt += length; pt += 8; } } } sizeX = widths; sizeY = heights; sizeZ = zs; sizeC = numChannels; sizeT = new int[numSeries]; pixelType = new int[numSeries]; currentOrder = new String[numSeries]; try { int oldSeries = getSeries(currentId); for (int i=0; i<sizeC.length; i++) { setSeries(currentId, i); if (isRGB(currentId)) sizeC[i] = 3; } setSeries(currentId, oldSeries); } catch (Exception e) { // NullPointerException caught here if the file we opened was a TIFF. // However, the sizeC field will be adjusted anyway by a later call to // BaseTiffReader.initMetadata } // The metadata store we're working with. MetadataStore store = new DummyMetadataStore(); try { store = getMetadataStore(currentId); } catch (Exception e) { } for (int i=0; i<numSeries; i++) { if (sizeC[i] == 0) sizeC[i] = 1; sizeT[i] += 1; currentOrder[i] = "XYZTC"; int tPixelType = ((Integer) metadata.get("Bytes per pixel")).intValue(); switch (tPixelType) { case 1: pixelType[i] = FormatReader.INT8; break; case 2: pixelType[i] = FormatReader.INT16; break; case 3: pixelType[i] = FormatReader.INT8; break; case 4: pixelType[i] = FormatReader.INT32; break; case 6: pixelType[i] = FormatReader.INT16; break; case 8: pixelType[i] = FormatReader.DOUBLE; break; } store.setPixels( new Integer(widths[i]), new Integer(heights[i]), new Integer(zs[i]), new Integer(numChannels[i] == 0 ? 1 : numChannels[i]), // SizeC new Integer(1), // SizeT new Integer(pixelType[i]), // PixelType new Boolean(!littleEndian), // BigEndian "XYZTC", // DimensionOrder new Integer(i)); String timestamp = (String) metadata.get("Timestamp " + (i+1)); String description = (String) metadata.get("Image Description"); try { store.setImage(null, timestamp.substring(3), description, new Integer(i)); } catch (NullPointerException n) { } } }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/db080dd0a46728b8a134dea3f2915320b0ce0482/LeicaReader.java/clean/loci/formats/in/LeicaReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 2277, 1435, 288, 565, 309, 261, 3374, 5501, 22831, 422, 446, 13, 1446, 5501, 22831, 273, 309, 2377, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 3374, 5501, 22831, 18, 2469, 31, 277, 27245, 288, 1377, 1160, 8526, 1906, 273, 261, 7229, 63, 5717, 1446, 5501, 22831, 63, 77, 8009, 588, 12, 2704, 2144, 12, 2163, 10019, 1377, 309, 261, 5814, 480, 446, 13, 288, 3639, 368, 326, 4166, 501, 3639, 368, 1599, 67, 2123, 8805, 3639, 1982, 18, 458, 2932, 1444, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 374, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 1982, 18, 458, 2932, 1854, 434, 9225, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 1059, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 1982, 18, 458, 2932, 1782, 434, 1544, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 1725, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 1982, 18, 458, 2932, 1782, 434, 585, 2710, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 2593, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 2144, 585, 2482, 2891, 273, 261, 4522, 13, 1982, 18, 588, 2932, 1782, 434, 585, 2710, 8863, 3639, 1982, 18, 458, 2932, 2040, 585, 2710, 3113, 1850, 1910, 10348, 18, 6406, 780, 12, 2704, 514, 12, 5814, 16, 2872, 16, 585, 2482, 2891, 18, 474, 620, 1435, 3719, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 2277, 1435, 288, 565, 309, 261, 3374, 5501, 22831, 422, 446, 13, 1446, 5501, 22831, 273, 309, 2377, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 3374, 5501, 22831, 18, 2469, 31, 277, 27245, 288, 1377, 1160, 8526, 1906, 273, 261, 7229, 63, 5717, 1446, 5501, 22831, 63, 77, 8009, 588, 12, 2704, 2144, 12, 2163, 10019, 1377, 309, 261, 5814, 480, 446, 13, 288, 3639, 368, 326, 4166, 501, 3639, 368, 1599, 67, 2123, 8805, 3639, 1982, 18, 458, 2932, 1444, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 374, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 1982, 18, 458, 2932, 1854, 434, 9225, 3113, 2 ]
if (!display.readAndDispatch()) display.sleep();
if (!currentDisplay.readAndDispatch()) currentDisplay.sleep();
public void run() { try { dialog.setOpenOnRun(false); dialog.run(true /* fork */ , true /* cancelable */ , runnable); //Run the event loop until the progress job wakes up Display display = Display.getCurrent(); while (busy[0]) { if (!display.readAndDispatch()) display.sleep(); } } catch (InvocationTargetException e) { invokes[0] = e; } catch (InterruptedException e) { interrupt[0] = e; } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2e7dc730649441690c6caeb4caed8895e396307d/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 12730, 18, 542, 3678, 1398, 1997, 12, 5743, 1769, 6862, 202, 12730, 18, 2681, 12, 3767, 1748, 12515, 1195, 6862, 202, 16, 638, 1748, 3755, 429, 1195, 6862, 202, 16, 14685, 1769, 6862, 202, 759, 1997, 326, 871, 2798, 3180, 326, 4007, 1719, 341, 3223, 731, 6862, 202, 4236, 2562, 273, 9311, 18, 588, 3935, 5621, 6862, 202, 17523, 261, 9274, 93, 63, 20, 5717, 288, 25083, 202, 430, 16051, 5417, 18, 896, 1876, 5325, 10756, 6862, 1082, 202, 5417, 18, 19607, 5621, 6862, 202, 97, 9506, 202, 97, 1044, 261, 9267, 14950, 425, 13, 288, 6862, 202, 5768, 601, 281, 63, 20, 65, 273, 425, 31, 9506, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 6862, 202, 31847, 63, 20, 65, 273, 425, 31, 9506, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 12730, 18, 542, 3678, 1398, 1997, 12, 5743, 1769, 6862, 202, 12730, 18, 2681, 12, 3767, 1748, 12515, 1195, 6862, 202, 16, 638, 1748, 3755, 429, 1195, 6862, 202, 16, 14685, 1769, 6862, 202, 759, 1997, 326, 871, 2798, 3180, 326, 4007, 1719, 341, 3223, 731, 6862, 202, 4236, 2562, 273, 9311, 18, 588, 3935, 5621, 6862, 202, 17523, 261, 9274, 93, 63, 20, 5717, 288, 25083, 202, 430, 16051, 5417, 18, 896, 1876, 5325, 10756, 6862, 1082, 202, 5417, 18, 19607, 5621, 6862, 202, 97, 9506, 202, 97, 1044, 261, 9267, 14950, 425, 13, 288, 6862, 202, 5768, 601, 281, 63, 20, 65, 273, 425, 2 ]
if (totalMarkers == -1) {
if (markerCountDirty) {
public void run(IProgressMonitor innerMonitor) throws CoreException { if (innerMonitor.isCanceled()) return; innerMonitor.subTask(SEARCHING_FOR_MARKERS); currentMarkers = MarkerList.compute(getFilter(), innerMonitor, true); if (innerMonitor.isCanceled()) return; if (totalMarkers == -1) { innerMonitor.subTask(REFRESHING_MARKER_COUNTS); totalMarkers = MarkerList.compute(getMarkerTypes()).length; } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/386f57cbd90f7f13615d6b25487d4c4b6505ac0d/MarkerView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 1086, 12, 45, 5491, 7187, 3443, 7187, 13, 1216, 30015, 288, 6862, 202, 430, 261, 7872, 7187, 18, 291, 23163, 10756, 327, 31, 6862, 202, 7872, 7187, 18, 1717, 2174, 12, 17251, 1360, 67, 7473, 67, 12693, 11367, 1769, 6862, 202, 2972, 21644, 273, 14742, 682, 18, 9200, 12, 588, 1586, 9334, 3443, 7187, 16, 638, 1769, 6862, 25083, 202, 430, 261, 7872, 7187, 18, 291, 23163, 10756, 327, 31, 6862, 6862, 6862, 202, 430, 261, 4963, 21644, 422, 300, 21, 13, 288, 25083, 202, 7872, 7187, 18, 1717, 2174, 12, 10771, 14753, 1360, 67, 25989, 67, 7240, 55, 1769, 25083, 202, 4963, 21644, 273, 14742, 682, 18, 9200, 12, 588, 7078, 2016, 1435, 2934, 2469, 31, 4405, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 1086, 12, 45, 5491, 7187, 3443, 7187, 13, 1216, 30015, 288, 6862, 202, 430, 261, 7872, 7187, 18, 291, 23163, 10756, 327, 31, 6862, 202, 7872, 7187, 18, 1717, 2174, 12, 17251, 1360, 67, 7473, 67, 12693, 11367, 1769, 6862, 202, 2972, 21644, 273, 14742, 682, 18, 9200, 12, 588, 1586, 9334, 3443, 7187, 16, 638, 1769, 6862, 25083, 202, 430, 261, 7872, 7187, 18, 291, 23163, 10756, 327, 31, 6862, 6862, 6862, 202, 430, 261, 4963, 21644, 422, 300, 21, 13, 288, 25083, 202, 7872, 7187, 18, 1717, 2174, 12, 10771, 14753, 1360, 67, 25989, 67, 7240, 55, 1769, 25083, 202, 4963, 21644, 273, 14742, 682, 18, 9200, 12, 588, 7078, 2016, 1435, 2934, 2 ]
return new Period(this, PeriodType.getAllType());
return new Period(getMillis());
public final Period toPeriod() { return new Period(this, PeriodType.getAllType()); }
52859 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52859/3f62b3a3ef59f954a14f09aeee97053618da1c74/AbstractDuration.java/buggy/JodaTime/src/java/org/joda/time/AbstractDuration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 12698, 358, 5027, 1435, 288, 3639, 327, 394, 12698, 12, 588, 4814, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 12698, 358, 5027, 1435, 288, 3639, 327, 394, 12698, 12, 588, 4814, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static IEditorInput getEditorInput(Object input) throws CModelException { if (input instanceof ICElement) { return getEditorInput((ICElement) input);
private static IEditorInput getEditorInput(ICElement element) throws CModelException { while (element != null) { if (element instanceof IWorkingCopy && ((IWorkingCopy) element).isWorkingCopy()) element= ((IWorkingCopy) element).getOriginalElement(); if (element instanceof ISourceReference) { ITranslationUnit tu = ((ISourceReference)element).getTranslationUnit(); if (tu != null) { element = tu; } } if (element instanceof ITranslationUnit) { ITranslationUnit unit= (ITranslationUnit) element; IResource resource= unit.getResource(); if (resource instanceof IFile) { return new FileEditorInput((IFile) resource); } else { return new ExternalEditorInput(unit, getStorage(unit)); } } if (element instanceof IBinary) { return new ExternalEditorInput(getStorage((IBinary)element), null); } element= element.getParent();
public static IEditorInput getEditorInput(Object input) throws CModelException { if (input instanceof ICElement) { return getEditorInput((ICElement) input); } if (input instanceof IFile) { return new FileEditorInput((IFile) input); } if (input instanceof IStorage) { return new ExternalEditorInput((IStorage)input, null); } return null; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0c2b43cb022cb3280137996e6ee1ab5e4a94a82f/EditorUtility.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/util/EditorUtility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 467, 6946, 1210, 336, 6946, 1210, 12, 921, 810, 13, 1216, 385, 1488, 503, 288, 202, 202, 430, 261, 2630, 1276, 26899, 1046, 13, 288, 1082, 202, 2463, 336, 6946, 1210, 12443, 2871, 1046, 13, 810, 1769, 202, 202, 97, 7682, 202, 202, 430, 261, 2630, 1276, 467, 812, 13, 288, 1875, 202, 2463, 394, 1387, 6946, 1210, 12443, 45, 812, 13, 810, 1769, 202, 202, 97, 202, 202, 430, 261, 2630, 1276, 467, 3245, 13, 288, 1875, 202, 2463, 394, 11352, 6946, 1210, 12443, 45, 3245, 13, 2630, 16, 446, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 760, 467, 6946, 1210, 336, 6946, 1210, 12, 921, 810, 13, 1216, 385, 1488, 503, 288, 202, 202, 430, 261, 2630, 1276, 26899, 1046, 13, 288, 1082, 202, 2463, 336, 6946, 1210, 12443, 2871, 1046, 13, 810, 1769, 202, 202, 97, 7682, 202, 202, 430, 261, 2630, 1276, 467, 812, 13, 288, 1875, 202, 2463, 394, 1387, 6946, 1210, 12443, 45, 812, 13, 810, 1769, 202, 202, 97, 202, 202, 430, 261, 2630, 1276, 467, 3245, 13, 288, 1875, 202, 2463, 394, 11352, 6946, 1210, 12443, 45, 3245, 13, 2630, 16, 446, 1769, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (jj_3R_25()) { jj_scanpos = xsp; break; }
if (jj_3R_26()) { jj_scanpos = xsp; break; }
final private boolean jj_3R_21() { Token xsp; if (jj_3R_25()) return true; while (true) { xsp = jj_scanpos; if (jj_3R_25()) { jj_scanpos = xsp; break; } } if (jj_3R_11()) return true; return false; }
1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/0faf643f0efa6f2ad848fed686443d8e4c4ad978/NutchAnalysis.java/buggy/src/java/org/apache/nutch/analysis/NutchAnalysis.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5340, 1435, 288, 565, 3155, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 2947, 10756, 327, 638, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 5558, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 309, 261, 78, 78, 67, 23, 54, 67, 2499, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5340, 1435, 288, 565, 3155, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 2947, 10756, 327, 638, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 5558, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 309, 261, 78, 78, 67, 23, 54, 67, 2499, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.CPRegType getCPRegType() throws FieldNotFound { org.quickfix.field.CPRegType value = new org.quickfix.field.CPRegType();
public quickfix.field.CPRegType getCPRegType() throws FieldNotFound { quickfix.field.CPRegType value = new quickfix.field.CPRegType();
public org.quickfix.field.CPRegType getCPRegType() throws FieldNotFound { org.quickfix.field.CPRegType value = new org.quickfix.field.CPRegType(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralAssignment.java/buggy/src/java/src/quickfix/fix44/CollateralAssignment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 1927, 52, 1617, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 1927, 52, 1617, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public BackEnd getBackEnd(FrontEnd fe, Properties props) throws IMTPException { try { beAddrsText = props.getProperty(FrontEnd.REMOTE_BACK_END_ADDRESSES); backEndAddresses = parseBackEndAddresses(beAddrsText); /* try { verbosity = Integer.parseInt(props.getProperty("jade_imtp_leap_JICP_EndPoint_verbosity")); } catch (NumberFormatException nfe) { } */ log("Connecting to the BackEnd",Logger.INFO); String host = props.getProperty("host"); if (host == null) { host = "localhost"; } int port = JICPProtocol.DEFAULT_PORT; try { port = Integer.parseInt(props.getProperty("port")); } catch (NumberFormatException nfe) { } mediatorTA = JICPProtocol.getInstance().buildAddress(host, String.valueOf(port), null, null); log("Remote URL is "+JICPProtocol.getInstance().addrToString(mediatorTA),Logger.INFO); String tmp = props.getProperty(JICPProtocol.RECONNECTION_RETRY_TIME_KEY); try { retryTime = Long.parseLong(tmp); } catch (Exception e) { } log("Reconnection retry time is "+retryTime,Logger.INFO); tmp = props.getProperty(JICPProtocol.MAX_DISCONNECTION_TIME_KEY); try { maxDisconnectionTime = Long.parseLong(tmp); } catch (Exception e) { } log("Max disconnection time is "+maxDisconnectionTime,Logger.INFO); myStub = new BackEndStub(this); mySkel = new FrontEndSkel(fe); owner = props.getProperty("owner"); start(); Thread.yield(); try { myConnectionListener = (ConnectionListener) Class.forName(props.getProperty("connection-listener")).newInstance(); } catch (Exception e) { } waitUntilConnected(); log("Connection OK",Logger.INFO); return myStub; } catch (ICPException icpe) { throw new IMTPException("Connection error", icpe); } }
public BackEnd getBackEnd(FrontEnd fe, Properties props) throws IMTPException { myProperties = props; try { String tmp = props.getProperty(FrontEnd.REMOTE_BACK_END_ADDRESSES); backEndAddresses = parseBackEndAddresses(tmp); String host = props.getProperty(MicroRuntime.HOST_KEY); if (host == null) { host = "localhost"; } int port = JICPProtocol.DEFAULT_PORT; try { port = Integer.parseInt(props.getProperty(MicroRuntime.PORT_KEY)); } catch (NumberFormatException nfe) { } mediatorTA = JICPProtocol.getInstance().buildAddress(host, String.valueOf(port), null, null); mediatorTA = JICPProtocol.getInstance().buildAddress(host, String.valueOf(port), null, null); if (myLogger.isLoggable(Logger.CONFIG)) { myLogger.log(Logger.CONFIG, "Remote URL="+JICPProtocol.getInstance().addrToString(mediatorTA)); } tmp = props.getProperty(JICPProtocol.MEDIATOR_CLASS_KEY); if (tmp != null) { myMediatorClass = tmp; } else{ props.setProperty(JICPProtocol.MEDIATOR_CLASS_KEY, myMediatorClass); } if (myLogger.isLoggable(Logger.CONFIG)) { myLogger.log(Logger.CONFIG, "Mediator class="+myMediatorClass); } tmp = props.getProperty(JICPProtocol.RECONNECTION_RETRY_TIME_KEY); try { retryTime = Long.parseLong(tmp); } catch (Exception e) { } if (myLogger.isLoggable(Logger.CONFIG)) { myLogger.log(Logger.CONFIG, "Reconnection time="+retryTime); } tmp = props.getProperty(JICPProtocol.MAX_DISCONNECTION_TIME_KEY); try { maxDisconnectionTime = Long.parseLong(tmp); } catch (Exception e) { } if (myLogger.isLoggable(Logger.CONFIG)) { myLogger.log(Logger.CONFIG, "Max discon. time="+maxDisconnectionTime); } tmp = props.getProperty(JICPProtocol.KEEP_ALIVE_TIME_KEY); try { keepAliveTime = Long.parseLong(tmp); } catch (Exception e) { props.setProperty(JICPProtocol.KEEP_ALIVE_TIME_KEY, String.valueOf(keepAliveTime)); } if (myLogger.isLoggable(Logger.CONFIG)) { myLogger.log(Logger.CONFIG, "Keep-alive time="+keepAliveTime); } tmp = props.getProperty(JICPProtocol.DROP_DOWN_TIME_KEY); try { connectionDropDownTime = Long.parseLong(tmp); } catch (Exception e) { } if (myLogger.isLoggable(Logger.CONFIG)) { myLogger.log(Logger.CONFIG, "Connection-drop-down time="+connectionDropDownTime); } try { Object obj = props.get("connection-listener"); if (obj instanceof ConnectionListener) { myConnectionListener = (ConnectionListener) obj; } else { myConnectionListener = (ConnectionListener) Class.forName(obj.toString()).newInstance(); } } catch (Exception e) { } mySkel = new FrontEndSkel(fe); myStub = new BackEndStub(this); Connection c = createBackEnd(); startConnectionReader(c); return myStub; } catch (ICPException icpe) { throw new IMTPException("Connection error", icpe); } }
public BackEnd getBackEnd(FrontEnd fe, Properties props) throws IMTPException { try { beAddrsText = props.getProperty(FrontEnd.REMOTE_BACK_END_ADDRESSES); backEndAddresses = parseBackEndAddresses(beAddrsText); // Verbosity /* // Not available with new Logger try { verbosity = Integer.parseInt(props.getProperty("jade_imtp_leap_JICP_EndPoint_verbosity")); } catch (NumberFormatException nfe) { // Use default (1) } */ log("Connecting to the BackEnd",Logger.INFO); // Host String host = props.getProperty("host"); if (host == null) { host = "localhost"; } // Port int port = JICPProtocol.DEFAULT_PORT; try { port = Integer.parseInt(props.getProperty("port")); } catch (NumberFormatException nfe) { // Use default } // Compose URL mediatorTA = JICPProtocol.getInstance().buildAddress(host, String.valueOf(port), null, null); log("Remote URL is "+JICPProtocol.getInstance().addrToString(mediatorTA),Logger.INFO); // Read (re)connection retry time String tmp = props.getProperty(JICPProtocol.RECONNECTION_RETRY_TIME_KEY); try { retryTime = Long.parseLong(tmp); } catch (Exception e) { // Use default } log("Reconnection retry time is "+retryTime,Logger.INFO); // Read Max disconnection time tmp = props.getProperty(JICPProtocol.MAX_DISCONNECTION_TIME_KEY); try { maxDisconnectionTime = Long.parseLong(tmp); } catch (Exception e) { // Use default } log("Max disconnection time is "+maxDisconnectionTime,Logger.INFO); // Create the BackEnd stub and the FrontEnd skeleton myStub = new BackEndStub(this); mySkel = new FrontEndSkel(fe); // Read the owner if any owner = props.getProperty("owner"); // Start the embedded Thread and wait until it connects to the BackEnd start(); Thread.yield(); // In the meanwhile load the ConnectionListener if any try { myConnectionListener = (ConnectionListener) Class.forName(props.getProperty("connection-listener")).newInstance(); } catch (Exception e) { // Just ignore it } waitUntilConnected(); log("Connection OK",Logger.INFO); return myStub; } catch (ICPException icpe) { throw new IMTPException("Connection error", icpe); } }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/74e6444ff2d261ae8ff8da1b22c3eae765013ee5/FrontEndDispatcher.java/buggy/leap/src/jade/imtp/leap/JICP/FrontEndDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4297, 1638, 336, 2711, 1638, 12, 9580, 1638, 1656, 16, 6183, 3458, 13, 1216, 467, 14636, 503, 288, 21114, 282, 202, 698, 288, 202, 565, 506, 13811, 1528, 273, 3458, 18, 588, 1396, 12, 9580, 1638, 18, 15790, 67, 8720, 67, 4415, 67, 8355, 7031, 1090, 55, 1769, 202, 565, 1473, 1638, 7148, 273, 1109, 2711, 1638, 7148, 12, 2196, 13811, 1528, 1769, 202, 565, 368, 26524, 8807, 1377, 1748, 3639, 368, 2288, 2319, 598, 394, 4242, 3639, 775, 288, 3639, 11561, 273, 2144, 18, 2670, 1702, 12, 9693, 18, 588, 1396, 2932, 78, 2486, 67, 381, 6834, 67, 298, 438, 67, 46, 2871, 52, 67, 27185, 67, 16629, 8807, 7923, 1769, 3639, 289, 3639, 1044, 261, 1854, 9291, 25386, 13, 288, 3639, 368, 2672, 805, 261, 21, 13, 3639, 289, 1377, 1195, 4202, 202, 565, 613, 2932, 30049, 358, 326, 4297, 1638, 3113, 3328, 18, 5923, 1769, 282, 9506, 565, 368, 4893, 202, 565, 514, 1479, 273, 3458, 18, 588, 1396, 2932, 2564, 8863, 202, 565, 309, 261, 2564, 422, 446, 13, 288, 202, 202, 2564, 273, 315, 13014, 14432, 202, 565, 289, 202, 565, 368, 6008, 202, 565, 509, 1756, 273, 804, 2871, 52, 5752, 18, 5280, 67, 6354, 31, 202, 565, 775, 288, 202, 202, 655, 273, 2144, 18, 2670, 1702, 12, 9693, 18, 588, 1396, 2932, 655, 7923, 1769, 202, 565, 289, 202, 565, 1044, 261, 1854, 9291, 25386, 13, 288, 202, 202, 759, 2672, 805, 202, 565, 289, 202, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4297, 1638, 336, 2711, 1638, 12, 9580, 1638, 1656, 16, 6183, 3458, 13, 1216, 467, 14636, 503, 288, 21114, 282, 202, 698, 288, 202, 565, 506, 13811, 1528, 273, 3458, 18, 588, 1396, 12, 9580, 1638, 18, 15790, 67, 8720, 67, 4415, 67, 8355, 7031, 1090, 55, 1769, 202, 565, 1473, 1638, 7148, 273, 1109, 2711, 1638, 7148, 12, 2196, 13811, 1528, 1769, 202, 565, 368, 26524, 8807, 1377, 1748, 3639, 368, 2288, 2319, 598, 394, 4242, 3639, 775, 288, 3639, 11561, 273, 2144, 18, 2670, 1702, 12, 9693, 18, 588, 1396, 2932, 78, 2486, 67, 381, 6834, 67, 298, 438, 67, 46, 2871, 52, 67, 27185, 67, 16629, 8807, 7923, 1769, 3639, 289, 3639, 1044, 261, 2 ]
else return m_distribution.prob(classIndex);
} else { double [] weights = weights(instance); if (weights == null) { return m_distribution.prob(classIndex); } else { double prob = 0; for (int i = 0; i < weights.length; i++) { prob += weights[i] * m_distribution.prob(classIndex, i); } return prob; } }
public double classProb(int classIndex,Instance instance) throws Exception { int theSubset = whichSubset(instance); if (theSubset > -1) return m_distribution.prob(classIndex,theSubset); else return m_distribution.prob(classIndex); }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/25f188ee94496b1d3089b2a5df93b388f20b2de4/ClassifierSplitModel.java/buggy/classifiers/j48/ClassifierSplitModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1645, 667, 9152, 12, 474, 667, 1016, 16, 1442, 791, 13, 3639, 1216, 1185, 288, 3639, 509, 326, 20315, 273, 1492, 20315, 12, 1336, 1769, 565, 309, 261, 5787, 20315, 405, 300, 21, 13, 1377, 327, 312, 67, 16279, 18, 7748, 12, 1106, 1016, 16, 5787, 20315, 1769, 565, 469, 1377, 327, 312, 67, 16279, 18, 7748, 12, 1106, 1016, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1645, 667, 9152, 12, 474, 667, 1016, 16, 1442, 791, 13, 3639, 1216, 1185, 288, 3639, 509, 326, 20315, 273, 1492, 20315, 12, 1336, 1769, 565, 309, 261, 5787, 20315, 405, 300, 21, 13, 1377, 327, 312, 67, 16279, 18, 7748, 12, 1106, 1016, 16, 5787, 20315, 1769, 565, 469, 1377, 327, 312, 67, 16279, 18, 7748, 12, 1106, 1016, 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 ]
assertEqual(result, expecting);
assertEquals(result, expecting);
public void testDefaultArgsWhenNotInvoked() throws Exception { String templates = "group test;" +newline+ "b(name=\"foo\") ::= \".<name>.\""+newline ; StringTemplateGroup group = new StringTemplateGroup(new StringReader(templates)); StringTemplate b = group.getInstanceOf("b"); String expecting = ".foo."; String result = b.toString(); assertEqual(result, expecting); }
51898 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51898/0c15a856afe727f6355e53ebf153d3bf274ab655/TestStringTemplate.java/buggy/java/main/src/org/antlr/stringtemplate/test/TestStringTemplate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1868, 2615, 9434, 1248, 26215, 1435, 1216, 1185, 288, 202, 202, 780, 5539, 273, 9506, 202, 6, 1655, 1842, 4868, 397, 22861, 15, 9506, 202, 6, 70, 12, 529, 5189, 11351, 2412, 13, 493, 33, 1239, 22782, 529, 18652, 8530, 15, 22861, 9506, 202, 31, 202, 202, 780, 2283, 1114, 1041, 273, 9506, 202, 2704, 514, 2283, 1114, 12, 2704, 26227, 12, 8502, 10019, 202, 202, 780, 2283, 324, 273, 1041, 18, 588, 1442, 951, 2932, 70, 8863, 202, 202, 780, 17012, 273, 3552, 11351, 1199, 31, 202, 202, 780, 563, 273, 324, 18, 10492, 5621, 202, 202, 11231, 5812, 12, 2088, 16, 17012, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1868, 2615, 9434, 1248, 26215, 1435, 1216, 1185, 288, 202, 202, 780, 5539, 273, 9506, 202, 6, 1655, 1842, 4868, 397, 22861, 15, 9506, 202, 6, 70, 12, 529, 5189, 11351, 2412, 13, 493, 33, 1239, 22782, 529, 18652, 8530, 15, 22861, 9506, 202, 31, 202, 202, 780, 2283, 1114, 1041, 273, 9506, 202, 2704, 514, 2283, 1114, 12, 2704, 26227, 12, 8502, 10019, 202, 202, 780, 2283, 324, 273, 1041, 18, 588, 1442, 951, 2932, 70, 8863, 202, 202, 780, 17012, 273, 3552, 11351, 1199, 31, 202, 202, 780, 563, 273, 324, 18, 10492, 5621, 202, 202, 11231, 5812, 12, 2088, 16, 17012, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100 ]
MessageFilter mf2 = MessageFilter.create().setField(DMT.UID, uid).setType(DMT.FNPRoutedRejected).setTimeout(5000); m = usm.waitFor(mf1.or(mf2));
m = usm.waitFor(mf1/*.or(mf2)*/);
public int routedPing(double loc2) { long uid = random.nextLong(); int initialX = random.nextInt(); NodePeer pn = peers.closestPeer(loc2); if(pn == null) { Logger.error(this, "Nowhere to send routed ping on "+this); return -1; } Logger.normal(this, "Ping to "+loc2+": "+portNumber+" -> "+pn.getPeer().getPort()); Message m = DMT.createFNPRoutedPing(uid, loc2, MAX_HTL, initialX, lm.getLocation().getValue()); Logger.normal(this, "Message: "+m); dispatcher.handleRouted(m); // FIXME: might be rejected MessageFilter mf1 = MessageFilter.create().setField(DMT.UID, uid).setType(DMT.FNPRoutedPong).setTimeout(5000); MessageFilter mf2 = MessageFilter.create().setField(DMT.UID, uid).setType(DMT.FNPRoutedRejected).setTimeout(5000); m = usm.waitFor(mf1.or(mf2)); if(m == null) return -1; if(m.getSpec() == DMT.FNPRoutedRejected) return -1; return m.getInt(DMT.COUNTER) - initialX; }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/67ffc74c653c146c3327643dba419ef696af844a/Node.java/clean/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 3237, 329, 17223, 12, 9056, 1515, 22, 13, 288, 3639, 1525, 4555, 273, 2744, 18, 4285, 3708, 5621, 3639, 509, 2172, 60, 273, 2744, 18, 4285, 1702, 5621, 3639, 2029, 6813, 11059, 273, 10082, 18, 7550, 7781, 6813, 12, 1829, 22, 1769, 3639, 309, 12, 7449, 422, 446, 13, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 8674, 14852, 358, 1366, 3237, 329, 10087, 603, 13773, 2211, 1769, 5411, 327, 300, 21, 31, 3639, 289, 3639, 4242, 18, 6130, 12, 2211, 16, 315, 17223, 358, 13773, 1829, 22, 15, 6877, 13773, 655, 1854, 9078, 317, 13773, 7449, 18, 588, 6813, 7675, 588, 2617, 10663, 3639, 2350, 312, 273, 463, 6152, 18, 2640, 19793, 52, 4583, 329, 17223, 12, 1911, 16, 1515, 22, 16, 4552, 67, 5062, 48, 16, 2172, 60, 16, 14966, 18, 588, 2735, 7675, 24805, 10663, 3639, 4242, 18, 6130, 12, 2211, 16, 315, 1079, 30, 13773, 81, 1769, 7734, 7393, 18, 4110, 4583, 329, 12, 81, 1769, 3639, 368, 9852, 30, 4825, 506, 11876, 3639, 2350, 1586, 14749, 21, 273, 2350, 1586, 18, 2640, 7675, 542, 974, 12, 40, 6152, 18, 3060, 16, 4555, 2934, 542, 559, 12, 40, 6152, 18, 19793, 52, 4583, 329, 52, 932, 2934, 542, 2694, 12, 25, 3784, 1769, 3639, 2350, 1586, 14749, 22, 273, 2350, 1586, 18, 2640, 7675, 542, 974, 12, 40, 6152, 18, 3060, 16, 4555, 2934, 542, 559, 12, 40, 6152, 18, 19793, 52, 4583, 329, 19902, 2934, 542, 2694, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 3237, 329, 17223, 12, 9056, 1515, 22, 13, 288, 3639, 1525, 4555, 273, 2744, 18, 4285, 3708, 5621, 3639, 509, 2172, 60, 273, 2744, 18, 4285, 1702, 5621, 3639, 2029, 6813, 11059, 273, 10082, 18, 7550, 7781, 6813, 12, 1829, 22, 1769, 3639, 309, 12, 7449, 422, 446, 13, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 8674, 14852, 358, 1366, 3237, 329, 10087, 603, 13773, 2211, 1769, 5411, 327, 300, 21, 31, 3639, 289, 3639, 4242, 18, 6130, 12, 2211, 16, 315, 17223, 358, 13773, 1829, 22, 15, 6877, 13773, 655, 1854, 9078, 317, 13773, 7449, 18, 588, 6813, 7675, 588, 2617, 10663, 3639, 2350, 312, 273, 463, 6152, 18, 2640, 19793, 52, 4583, 2 ]
addForwardGoto(Token.GOTO);
addGotoOp(Token.GOTO);
private void visitExpression(Node node, int contextFlags) { int type = node.getType(); Node child = node.getFirstChild(); int savedStackDepth = itsStackDepth; switch (type) { case Token.FUNCTION: { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); FunctionNode fn = scriptOrFn.getFunctionNode(fnIndex); // See comments in visitStatement for Token.FUNCTION case if (fn.getFunctionType() != FunctionNode.FUNCTION_EXPRESSION) { throw Kit.codeBug(); } addIndexOp(Icode_CLOSURE_EXPR, fnIndex); stackChange(1); } break; case Token.LOCAL_LOAD: { int localIndex = getLocalBlockRef(node); addIndexOp(Token.LOCAL_LOAD, localIndex); stackChange(1); } break; case Token.COMMA: { Node lastChild = node.getLastChild(); while (child != lastChild) { visitExpression(child, 0); addIcode(Icode_POP); stackChange(-1); child = child.getNext(); } // Preserve tail context flag if any visitExpression(child, contextFlags & ECF_TAIL); } break; case Token.USE_STACK: // Indicates that stack was modified externally, // like placed catch object stackChange(1); break; case Token.REF_CALL: case Token.CALL: case Token.NEW: { if (type == Token.NEW) { visitExpression(child, 0); } else { generateCallFunAndThis(child); } int argCount = 0; while ((child = child.getNext()) != null) { visitExpression(child, 0); ++argCount; } int callType = node.getIntProp(Node.SPECIALCALL_PROP, Node.NON_SPECIALCALL); if (callType != Node.NON_SPECIALCALL) { // embed line number and source filename addIndexOp(Icode_CALLSPECIAL, argCount); addUint8(callType); addUint8(type == Token.NEW ? 1 : 0); addUint16(itsLineNumber & 0xFFFF); } else { if (type == Token.CALL) { if ((contextFlags & ECF_TAIL) != 0) { type = Icode_TAIL_CALL; } } addIndexOp(type, argCount); } // adjust stack if (type == Token.NEW) { // new: f, args -> result stackChange(-argCount); } else { // call: f, thisObj, args -> result // ref_call: f, thisObj, args -> ref stackChange(-1 - argCount); } if (argCount > itsData.itsMaxCalleeArgs) { itsData.itsMaxCalleeArgs = argCount; } } break; case Token.AND: case Token.OR: { visitExpression(child, 0); addIcode(Icode_DUP); stackChange(1); int afterSecondJumpStart = itsICodeTop; int jump = (type == Token.AND) ? Token.IFNE : Token.IFEQ; addForwardGoto(jump); stackChange(-1); addIcode(Icode_POP); stackChange(-1); child = child.getNext(); // Preserve tail context flag if any visitExpression(child, contextFlags & ECF_TAIL); resolveForwardGoto(afterSecondJumpStart); } break; case Token.HOOK: { Node ifThen = child.getNext(); Node ifElse = ifThen.getNext(); visitExpression(child, 0); int elseJumpStart = itsICodeTop; addForwardGoto(Token.IFNE); stackChange(-1); // Preserve tail context flag if any visitExpression(ifThen, contextFlags & ECF_TAIL); int afterElseJumpStart = itsICodeTop; addForwardGoto(Token.GOTO); resolveForwardGoto(elseJumpStart); itsStackDepth = savedStackDepth; // Preserve tail context flag if any visitExpression(ifElse, contextFlags & ECF_TAIL); resolveForwardGoto(afterElseJumpStart); } break; case Token.GETPROP: visitExpression(child, 0); child = child.getNext(); addStringOp(Token.GETPROP, child.getString()); break; case Token.GETELEM: case Token.DELPROP: case Token.BITAND: case Token.BITOR: case Token.BITXOR: case Token.LSH: case Token.RSH: case Token.URSH: case Token.ADD: case Token.SUB: case Token.MOD: case Token.DIV: case Token.MUL: case Token.EQ: case Token.NE: case Token.SHEQ: case Token.SHNE: case Token.IN: case Token.INSTANCEOF: case Token.LE: case Token.LT: case Token.GE: case Token.GT: visitExpression(child, 0); child = child.getNext(); visitExpression(child, 0); addToken(type); stackChange(-1); break; case Token.POS: case Token.NEG: case Token.NOT: case Token.BITNOT: case Token.TYPEOF: case Token.VOID: visitExpression(child, 0); if (type == Token.VOID) { addIcode(Icode_POP); addIcode(Icode_UNDEF); } else { addToken(type); } break; case Token.GET_REF: case Token.DEL_REF: visitExpression(child, 0); addToken(type); break; case Token.SETPROP: case Token.SETPROP_OP: { visitExpression(child, 0); child = child.getNext(); String property = child.getString(); child = child.getNext(); if (type == Token.SETPROP_OP) { addIcode(Icode_DUP); stackChange(1); addStringOp(Token.GETPROP, property); // Compensate for the following USE_STACK stackChange(-1); } visitExpression(child, 0); addStringOp(Token.SETPROP, property); stackChange(-1); } break; case Token.SETELEM: case Token.SETELEM_OP: visitExpression(child, 0); child = child.getNext(); visitExpression(child, 0); child = child.getNext(); if (type == Token.SETELEM_OP) { addIcode(Icode_DUP2); stackChange(2); addToken(Token.GETELEM); stackChange(-1); // Compensate for the following USE_STACK stackChange(-1); } visitExpression(child, 0); addToken(Token.SETELEM); stackChange(-2); break; case Token.SET_REF: case Token.SET_REF_OP: visitExpression(child, 0); child = child.getNext(); if (type == Token.SET_REF_OP) { addIcode(Icode_DUP); stackChange(1); addToken(Token.GET_REF); // Compensate for the following USE_STACK stackChange(-1); } visitExpression(child, 0); addToken(Token.SET_REF); stackChange(-1); break; case Token.SETNAME: { String name = child.getString(); visitExpression(child, 0); child = child.getNext(); visitExpression(child, 0); addStringOp(Token.SETNAME, name); stackChange(-1); } break; case Token.TYPEOFNAME: { String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = scriptOrFn.getParamOrVarIndex(name); if (index == -1) { addStringOp(Icode_TYPEOFNAME, name); stackChange(1); } else { addVarOp(Token.GETVAR, index); stackChange(1); addToken(Token.TYPEOF); } } break; case Token.BINDNAME: case Token.NAME: case Token.STRING: addStringOp(type, node.getString()); stackChange(1); break; case Token.INC: case Token.DEC: visitIncDec(node, child); break; case Token.NUMBER: { double num = node.getDouble(); int inum = (int)num; if (inum == num) { if (inum == 0) { addIcode(Icode_ZERO); // Check for negative zero if (1.0 / num < 0.0) { addToken(Token.NEG); } } else if (inum == 1) { addIcode(Icode_ONE); } else if ((short)inum == inum) { addIcode(Icode_SHORTNUMBER); // write short as uin16 bit pattern addUint16(inum & 0xFFFF); } else { addIcode(Icode_INTNUMBER); addInt(inum); } } else { int index = getDoubleIndex(num); addIndexOp(Token.NUMBER, index); } stackChange(1); } break; case Token.GETVAR: { if (itsData.itsNeedsActivation) Kit.codeBug(); String name = node.getString(); int index = scriptOrFn.getParamOrVarIndex(name); addVarOp(Token.GETVAR, index); stackChange(1); } break; case Token.SETVAR: { if (itsData.itsNeedsActivation) Kit.codeBug(); String name = child.getString(); child = child.getNext(); visitExpression(child, 0); int index = scriptOrFn.getParamOrVarIndex(name); addVarOp(Token.SETVAR, index); } break; case Token.NULL: case Token.THIS: case Token.THISFN: case Token.FALSE: case Token.TRUE: addToken(type); stackChange(1); break; case Token.ENUM_NEXT: case Token.ENUM_ID: addIndexOp(type, getLocalBlockRef(node)); stackChange(1); break; case Token.REGEXP: { int index = node.getExistingIntProp(Node.REGEXP_PROP); addIndexOp(Token.REGEXP, index); stackChange(1); } break; case Token.ARRAYLIT: case Token.OBJECTLIT: visitLiteral(node, child); break; case Token.REF_SPECIAL: visitExpression(child, 0); addStringOp(type, (String)node.getProp(Node.NAME_PROP)); break; case Token.REF_MEMBER: case Token.REF_NS_MEMBER: case Token.REF_NAME: case Token.REF_NS_NAME: { int memberTypeFlags = node.getIntProp(Node.MEMBER_TYPE_PROP, 0); // generate possible target, possible namespace and member int childCount = 0; do { visitExpression(child, 0); ++childCount; child = child.getNext(); } while (child != null); addIndexOp(type, memberTypeFlags); stackChange(1 - childCount); } break; case Token.DOTQUERY: { int queryPC; updateLineNumber(node); visitExpression(child, 0); addIcode(Icode_ENTERDQ); stackChange(-1); queryPC = itsICodeTop; visitExpression(child.getNext(), 0); addBackwardGoto(Icode_LEAVEDQ, queryPC); } break; case Token.DEFAULTNAMESPACE : case Token.ESCXMLATTR : case Token.ESCXMLTEXT : visitExpression(child, 0); addToken(type); break; default: throw badTree(node); } if (savedStackDepth + 1 != itsStackDepth) { Kit.codeBug(); } }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bc63a23d7b4a1d6e277c093eb62057be0106b31e/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 2300, 12, 907, 756, 16, 509, 819, 5094, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 509, 5198, 2624, 6148, 273, 2097, 2624, 6148, 31, 3639, 1620, 261, 723, 13, 288, 1850, 648, 3155, 18, 7788, 30, 5411, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 4293, 1016, 1769, 7734, 368, 2164, 5678, 316, 3757, 3406, 364, 3155, 18, 7788, 648, 7734, 309, 261, 4293, 18, 588, 2083, 559, 1435, 480, 4284, 907, 18, 7788, 67, 19111, 13, 288, 10792, 604, 1475, 305, 18, 710, 19865, 5621, 7734, 289, 7734, 26794, 3817, 12, 45, 710, 67, 22693, 55, 4830, 67, 2294, 8025, 16, 2295, 1016, 1769, 7734, 2110, 3043, 12, 21, 1769, 5411, 289, 5411, 898, 31, 1850, 648, 3155, 18, 14922, 67, 7783, 30, 5411, 288, 7734, 509, 1191, 1016, 273, 6993, 1768, 1957, 12, 2159, 1769, 7734, 26794, 3817, 12, 1345, 18, 14922, 67, 7783, 16, 1191, 1016, 1769, 7734, 2110, 3043, 12, 21, 1769, 5411, 289, 5411, 898, 31, 1850, 648, 3155, 18, 4208, 5535, 30, 5411, 288, 7734, 2029, 30006, 273, 756, 18, 588, 3024, 1763, 5621, 7734, 1323, 261, 3624, 480, 30006, 13, 288, 10792, 3757, 2300, 12, 3624, 16, 374, 1769, 10792, 527, 45, 710, 12, 45, 710, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 2300, 12, 907, 756, 16, 509, 819, 5094, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 509, 5198, 2624, 6148, 273, 2097, 2624, 6148, 31, 3639, 1620, 261, 723, 13, 288, 1850, 648, 3155, 18, 7788, 30, 5411, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 4293, 1016, 1769, 7734, 368, 2164, 5678, 316, 3757, 3406, 364, 3155, 18, 7788, 648, 7734, 309, 261, 4293, 18, 588, 2083, 559, 1435, 480, 4284, 907, 18, 7788, 67, 2 ]
if(group.getId().equals(groupId))
String gid = group.getId(); String gref = group.getReference(); if(gid.equals(groupId) || gref.equals(groupId))
public void addInheritedGroup(String groupId) { if(m_inheritedGroups == null) { m_inheritedGroups = new Vector(); } if(m_container == null) { if(m_id == null) { m_container = ContentHostingService.getSiteCollection(ToolManager.getCurrentPlacement().getContext()); } else { m_container = ContentHostingService.getContainingCollectionId(m_id); } if(m_container == null || m_container.trim() == "") { m_container = ContentHostingService.getSiteCollection(ToolManager.getCurrentPlacement().getContext()); } } boolean found = false; Collection groups = ContentHostingService.getGroupsWithReadAccess(m_container); Iterator it = groups.iterator(); while( it.hasNext() && !found ) { Group group = (Group) it.next(); if(group.getId().equals(groupId)) { if(! inheritsGroup(group.getReference())) { m_inheritedGroups.add(group); } found = true; } } }
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/090303794a50966061b6209d3d287c5d22f71e83/ResourcesAction.java/clean/content/content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 527, 29078, 1114, 12, 780, 6612, 13, 202, 202, 95, 1082, 202, 430, 12, 81, 67, 6018, 329, 3621, 422, 446, 13, 1082, 202, 95, 9506, 202, 81, 67, 6018, 329, 3621, 273, 394, 5589, 5621, 1082, 202, 97, 1082, 202, 430, 12, 81, 67, 3782, 422, 446, 13, 1082, 202, 95, 9506, 202, 430, 12, 81, 67, 350, 422, 446, 13, 9506, 202, 95, 6862, 202, 81, 67, 3782, 273, 3697, 2594, 310, 1179, 18, 588, 4956, 2532, 12, 6364, 1318, 18, 588, 3935, 12420, 7675, 29120, 10663, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 81, 67, 3782, 273, 3697, 2594, 310, 1179, 18, 588, 24344, 2532, 548, 12, 81, 67, 350, 1769, 9506, 202, 97, 9506, 202, 430, 12, 81, 67, 3782, 422, 446, 747, 312, 67, 3782, 18, 5290, 1435, 422, 1408, 13, 9506, 202, 95, 6862, 202, 81, 67, 3782, 273, 3697, 2594, 310, 1179, 18, 588, 4956, 2532, 12, 6364, 1318, 18, 588, 3935, 12420, 7675, 29120, 10663, 9506, 202, 97, 1082, 202, 97, 1082, 202, 6494, 1392, 273, 629, 31, 1082, 202, 2532, 3252, 273, 3697, 2594, 310, 1179, 18, 588, 3621, 1190, 1994, 1862, 12, 81, 67, 3782, 1769, 1082, 202, 3198, 518, 273, 3252, 18, 9838, 5621, 1082, 202, 17523, 12, 518, 18, 5332, 2134, 1435, 597, 401, 7015, 262, 1082, 202, 95, 9506, 202, 1114, 1041, 273, 261, 1114, 13, 518, 18, 4285, 5621, 9506, 202, 430, 12, 1655, 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, 3196, 202, 482, 918, 527, 29078, 1114, 12, 780, 6612, 13, 202, 202, 95, 1082, 202, 430, 12, 81, 67, 6018, 329, 3621, 422, 446, 13, 1082, 202, 95, 9506, 202, 81, 67, 6018, 329, 3621, 273, 394, 5589, 5621, 1082, 202, 97, 1082, 202, 430, 12, 81, 67, 3782, 422, 446, 13, 1082, 202, 95, 9506, 202, 430, 12, 81, 67, 350, 422, 446, 13, 9506, 202, 95, 6862, 202, 81, 67, 3782, 273, 3697, 2594, 310, 1179, 18, 588, 4956, 2532, 12, 6364, 1318, 18, 588, 3935, 12420, 7675, 29120, 10663, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 81, 67, 3782, 273, 3697, 2594, 310, 1179, 18, 588, 24344, 2532, 548, 12, 81, 2 ]
public ConnectionTable(Receiver r, InetAddress bind_addr, int srv_port, long reaper_interval, long conn_expire_time) throws Exception { setReceiver(r); this.bind_addr=bind_addr;
public ConnectionTable(int srv_port) throws Exception {
public ConnectionTable(Receiver r, InetAddress bind_addr, int srv_port, long reaper_interval, long conn_expire_time) throws Exception { setReceiver(r); this.bind_addr=bind_addr; this.srv_port=srv_port; this.reaper_interval=reaper_interval; this.conn_expire_time=conn_expire_time; use_reaper=true; start(); }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/3239d54501a61a05eb6b45df50b0144eb7970a31/ConnectionTable.java/buggy/src/org/jgroups/blocks/ConnectionTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4050, 1388, 12, 12952, 436, 16, 14218, 1993, 67, 4793, 16, 509, 7302, 67, 655, 16, 21821, 1525, 283, 7294, 67, 6624, 16, 1525, 1487, 67, 14070, 67, 957, 13, 1216, 1185, 288, 3639, 444, 12952, 12, 86, 1769, 3639, 333, 18, 4376, 67, 4793, 33, 4376, 67, 4793, 31, 3639, 333, 18, 20818, 67, 655, 33, 20818, 67, 655, 31, 3639, 333, 18, 266, 7294, 67, 6624, 33, 266, 7294, 67, 6624, 31, 3639, 333, 18, 4646, 67, 14070, 67, 957, 33, 4646, 67, 14070, 67, 957, 31, 3639, 999, 67, 266, 7294, 33, 3767, 31, 3639, 787, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 4050, 1388, 12, 12952, 436, 16, 14218, 1993, 67, 4793, 16, 509, 7302, 67, 655, 16, 21821, 1525, 283, 7294, 67, 6624, 16, 1525, 1487, 67, 14070, 67, 957, 13, 1216, 1185, 288, 3639, 444, 12952, 12, 86, 1769, 3639, 333, 18, 4376, 67, 4793, 33, 4376, 67, 4793, 31, 3639, 333, 18, 20818, 67, 655, 33, 20818, 67, 655, 31, 3639, 333, 18, 266, 7294, 67, 6624, 33, 266, 7294, 67, 6624, 31, 3639, 333, 18, 4646, 67, 14070, 67, 957, 33, 4646, 67, 14070, 67, 957, 31, 3639, 999, 67, 266, 7294, 33, 3767, 31, 3639, 787, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public byte [] generate(int value) { byte []b=new byte[sysex.length()/2]; for (int i=0;i<sysex.length();i+=2) { if (sysex.charAt(i)=='*') b[i/2]=(byte)value; else if (sysex.charAt(i)=='@') b[i/2]=(byte) (channel-1); else if (sysex.charAt(i)=='#') b[i/2]=(byte) (channel-1+16); else {
public byte[] generate(int value) { byte[] b = new byte[sysex.length() / 2]; for (int i = 0; i < sysex.length(); i += 2) { if (sysex.charAt(i) == '*') b[i / 2] = (byte) value; else if (sysex.charAt(i) == '@') b[i / 2] = (byte) (channel - 1); else if (sysex.charAt(i) == '#') b[i / 2] = (byte) (channel - 1 + 16); else {
public byte [] generate(int value) { byte []b=new byte[sysex.length()/2]; for (int i=0;i<sysex.length();i+=2) { if (sysex.charAt(i)=='*') b[i/2]=(byte)value; else if (sysex.charAt(i)=='@') b[i/2]=(byte) (channel-1); else if (sysex.charAt(i)=='#') b[i/2]=(byte) (channel-1+16); else { Integer in = new Integer(0); b[i/2]=(byte)in.parseInt(sysex.substring(i,i+2),16); } } return b; }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/e7311a9aa2ac478953975abaa1c0c14e8201c062/SysexSender.java/clean/JSynthLib/core/SysexSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 5378, 2103, 12, 474, 460, 13, 282, 288, 565, 1160, 5378, 70, 33, 2704, 1160, 63, 9009, 20909, 18, 2469, 1435, 19, 22, 15533, 565, 364, 261, 474, 277, 33, 20, 31, 77, 32, 9009, 20909, 18, 2469, 5621, 77, 15, 33, 22, 13, 565, 288, 4202, 309, 261, 9009, 20909, 18, 3001, 861, 12, 77, 13, 18920, 4035, 13, 324, 63, 77, 19, 22, 65, 28657, 7229, 13, 1132, 31, 469, 4202, 309, 261, 9009, 20909, 18, 3001, 861, 12, 77, 13, 18920, 36, 6134, 324, 63, 77, 19, 22, 65, 28657, 7229, 13, 261, 4327, 17, 21, 1769, 469, 4202, 309, 261, 9009, 20909, 18, 3001, 861, 12, 77, 13, 18920, 7, 6134, 324, 63, 77, 19, 22, 65, 28657, 7229, 13, 261, 4327, 17, 21, 15, 2313, 1769, 3639, 469, 202, 95, 202, 225, 2144, 316, 273, 394, 2144, 12, 20, 1769, 202, 225, 324, 63, 77, 19, 22, 65, 28657, 7229, 13, 267, 18, 2670, 1702, 12, 9009, 20909, 18, 28023, 12, 77, 16, 77, 15, 22, 3631, 2313, 1769, 202, 97, 377, 289, 282, 327, 324, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 5378, 2103, 12, 474, 460, 13, 282, 288, 565, 1160, 5378, 70, 33, 2704, 1160, 63, 9009, 20909, 18, 2469, 1435, 19, 22, 15533, 565, 364, 261, 474, 277, 33, 20, 31, 77, 32, 9009, 20909, 18, 2469, 5621, 77, 15, 33, 22, 13, 565, 288, 4202, 309, 261, 9009, 20909, 18, 3001, 861, 12, 77, 13, 18920, 4035, 13, 324, 63, 77, 19, 22, 65, 28657, 7229, 13, 1132, 31, 469, 4202, 309, 261, 9009, 20909, 18, 3001, 861, 12, 77, 13, 18920, 36, 6134, 324, 63, 77, 19, 22, 65, 28657, 7229, 13, 261, 4327, 17, 21, 1769, 469, 4202, 309, 261, 9009, 20909, 18, 3001, 861, 12, 77, 13, 18920, 7, 6134, 324, 2 ]
public static void sprocUpdateParentsDateModified( IMCServiceInterface imcref, int meta_id ) { imcref.sqlUpdateProcedure( SPROC_UPDATE_PARENTS_DATE_MODIFIED, new String[]{"" + meta_id} );
public static void sprocUpdateParentsDateModified(IMCServiceInterface imcref, int meta_id) { imcref.sqlUpdateProcedure(SPROC_UPDATE_PARENTS_DATE_MODIFIED, new String[]{"" + meta_id});
public static void sprocUpdateParentsDateModified( IMCServiceInterface imcref, int meta_id ) { imcref.sqlUpdateProcedure( SPROC_UPDATE_PARENTS_DATE_MODIFIED, new String[]{"" + meta_id} ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/25d7c7c866e4b2d2d9e20e2d71648b696a1c81f6/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 272, 9381, 1891, 13733, 1626, 4575, 12, 6246, 39, 18348, 709, 71, 1734, 16, 509, 2191, 67, 350, 262, 288, 3639, 709, 71, 1734, 18, 4669, 1891, 17213, 12, 348, 3373, 39, 67, 8217, 67, 14943, 55, 67, 4594, 67, 21143, 16, 394, 514, 63, 7073, 3660, 397, 2191, 67, 350, 97, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 272, 9381, 1891, 13733, 1626, 4575, 12, 6246, 39, 18348, 709, 71, 1734, 16, 509, 2191, 67, 350, 262, 288, 3639, 709, 71, 1734, 18, 4669, 1891, 17213, 12, 348, 3373, 39, 67, 8217, 67, 14943, 55, 67, 4594, 67, 21143, 16, 394, 514, 63, 7073, 3660, 397, 2191, 67, 350, 97, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Graphics g = getGraphics();
Graphics g = PlotPanel.this.getGraphics();
public void mouseReleased(MouseEvent e) { //System.out.println("rel"); if (m_createShape) { if (((Double)m_shapePoints.elementAt(0)).intValue() == 1) { m_createShape = false; Graphics g = getGraphics(); g.setColor(Color.black); g.setXORMode(Color.white); g.drawRect(((Double)m_shapePoints.elementAt(1)). intValue(), ((Double)m_shapePoints.elementAt(2)).intValue(), ((Double)m_shapePoints.elementAt(3)).intValue() - ((Double)m_shapePoints.elementAt(1)).intValue(), ((Double)m_shapePoints.elementAt(4)).intValue() - ((Double)m_shapePoints.elementAt(2)).intValue()); g.dispose(); if (checkPoints(((Double)m_shapePoints.elementAt(1)). doubleValue(), ((Double)m_shapePoints.elementAt(2)). doubleValue()) && checkPoints(((Double)m_shapePoints.elementAt(3)). doubleValue(), ((Double)m_shapePoints.elementAt(4)). doubleValue())) { //then the points all land on the screen //now do special check for the rectangle if (((Double)m_shapePoints.elementAt(1)).doubleValue() < ((Double)m_shapePoints.elementAt(3)).doubleValue() && ((Double)m_shapePoints.elementAt(2)).doubleValue() < ((Double)m_shapePoints.elementAt(4)).doubleValue()) { //then the rectangle is valid if (m_shapes == null) { m_shapes = new FastVector(2); } m_shapePoints.setElementAt(new Double(convertToAttribX(((Double)m_shapePoints. elementAt(1)). doubleValue())), 1); m_shapePoints.setElementAt(new Double(convertToAttribY(((Double)m_shapePoints. elementAt(2)). doubleValue())), 2); m_shapePoints.setElementAt(new Double(convertToAttribX(((Double)m_shapePoints. elementAt(3)). doubleValue())), 3); m_shapePoints.setElementAt(new Double(convertToAttribY(((Double)m_shapePoints. elementAt(4)). doubleValue())), 4); m_shapes.addElement(m_shapePoints); m_submit.setText("Submit"); m_submit.setActionCommand("Submit"); m_submit.setEnabled(true); repaint(); } } m_shapePoints = null; } } }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/dab572c119692e2deb0fa2d817b347c7cfe42ded/VisualizePanel.java/buggy/gui/explorer/VisualizePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 225, 1071, 918, 7644, 26363, 12, 9186, 1133, 425, 13, 288, 202, 565, 368, 3163, 18, 659, 18, 8222, 2932, 2878, 8863, 202, 565, 309, 261, 81, 67, 2640, 8500, 13, 288, 202, 1377, 309, 261, 12443, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 20, 13, 2934, 474, 620, 1435, 422, 404, 13, 288, 202, 202, 81, 67, 2640, 8500, 273, 629, 31, 202, 202, 17558, 314, 273, 336, 17558, 5621, 202, 202, 75, 18, 542, 2957, 12, 2957, 18, 11223, 1769, 202, 202, 75, 18, 542, 60, 916, 2309, 12, 2957, 18, 14739, 1769, 202, 202, 75, 18, 9446, 6120, 12443, 12, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 21, 13, 2934, 9506, 282, 9307, 9334, 4697, 282, 14015, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 22, 13, 2934, 474, 620, 9334, 9506, 282, 14015, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 23, 13, 2934, 474, 620, 1435, 300, 9506, 282, 14015, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 21, 13, 2934, 474, 620, 9334, 4697, 282, 14015, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 24, 13, 2934, 474, 620, 1435, 300, 9506, 282, 14015, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 22, 13, 2934, 474, 620, 10663, 9506, 202, 75, 18, 2251, 4150, 5621, 202, 202, 430, 261, 1893, 5636, 12443, 12, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 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, 3196, 225, 1071, 918, 7644, 26363, 12, 9186, 1133, 425, 13, 288, 202, 565, 368, 3163, 18, 659, 18, 8222, 2932, 2878, 8863, 202, 565, 309, 261, 81, 67, 2640, 8500, 13, 288, 202, 1377, 309, 261, 12443, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 20, 13, 2934, 474, 620, 1435, 422, 404, 13, 288, 202, 202, 81, 67, 2640, 8500, 273, 629, 31, 202, 202, 17558, 314, 273, 336, 17558, 5621, 202, 202, 75, 18, 542, 2957, 12, 2957, 18, 11223, 1769, 202, 202, 75, 18, 542, 60, 916, 2309, 12, 2957, 18, 14739, 1769, 202, 202, 75, 18, 9446, 6120, 12443, 12, 5265, 13, 81, 67, 4867, 5636, 18, 2956, 861, 12, 21, 13, 2 ]
columns.remove(column); }
columns.remove(column); }
public void removeColumn(Column column) { columns.remove(column); }
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/06b0a7e65b5f3b82a40d6dc1888c656f99a4429b/SelectQuery.java/clean/src/java/com/idega/data/query/SelectQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 1494, 12, 1494, 1057, 13, 288, 3639, 2168, 18, 4479, 12, 2827, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 1494, 12, 1494, 1057, 13, 288, 3639, 2168, 18, 4479, 12, 2827, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (dst instanceof Object[]) {
if (src == dst) { Object tmp = Array.newInstance(dst_component, length); System.arraycopy(src, src_position, tmp, 0, length); System.arraycopy(tmp, 0, dst, dst_position, length); } else if (dst instanceof Object[]) {
public static void arraycopy(Object src, int src_position, Object dst, int dst_position, int length) { if (length < 0) { throw new ArrayIndexOutOfBoundsException(); } if (dst instanceof Object[]) { Object[] d = (Object[])dst; Object[] s = (Object[])src; if (dst_position < src_position) { for (int i = length - 1; i >= 0; --i) { d[dst_position++] = s[src_position++]; } } else { dst_position += length; src_position += length; for (int i = length - 1; i >= 0; --i) { d[--dst_position] = s[--src_position]; } } } else if (dst instanceof int[]) { int[] d = (int[])dst; int[] s = (int[])src; if (dst_position < src_position) { for (int i = length - 1; i >= 0; --i) { d[dst_position++] = s[src_position++]; } } else { dst_position += length; src_position += length; for (int i = length - 1; i >= 0; --i) { d[--dst_position] = s[--src_position]; } } } else if (dst instanceof float[]) { float[] d = (float[])dst; float[] s = (float[])src; if (dst_position < src_position) { for (int i = length - 1; i >= 0; --i) { d[dst_position++] = s[src_position++]; } } else { dst_position += length; src_position += length; for (int i = length - 1; i >= 0; --i) { d[--dst_position] = s[--src_position]; } } } else if (dst instanceof long[]) { long[] d = (long[])dst; long[] s = (long[])src; if (dst_position < src_position) { for (int i = length - 1; i >= 0; --i) { d[dst_position++] = s[src_position++]; } } else { dst_position += length; src_position += length; for (int i = length - 1; i >= 0; --i) { d[--dst_position] = s[--src_position]; } } } else if (dst instanceof double[]) { double[] d = (double[])dst; double[] s = (double[])src; if (dst_position < src_position) { for (int i = length - 1; i >= 0; --i) { d[dst_position++] = s[src_position++]; } } else { dst_position += length; src_position += length; for (int i = length - 1; i >= 0; --i) { d[--dst_position] = s[--src_position]; } } } else if (dst instanceof boolean[]) { boolean[] d = (boolean[])dst; boolean[] s = (boolean[])src; if (dst_position < src_position) { for (int i = length - 1; i >= 0; --i) { d[dst_position++] = s[src_position++]; } } else { dst_position += length; src_position += length; for (int i = length - 1; i >= 0; --i) { d[--dst_position] = s[--src_position]; } } } else if (dst instanceof byte[]) { byte[] d = (byte[])dst; byte[] s = (byte[])src; if (dst_position < src_position) { for (int i = length - 1; i >= 0; --i) { d[dst_position++] = s[src_position++]; } } else { dst_position += length; src_position += length; for (int i = length - 1; i >= 0; --i) { d[--dst_position] = s[--src_position]; } } } else if (dst instanceof char[]) { char[] d = (char[])dst; char[] s = (char[])src; if (dst_position < src_position) { for (int i = length - 1; i >= 0; --i) { d[dst_position++] = s[src_position++]; } } else { dst_position += length; src_position += length; for (int i = length - 1; i >= 0; --i) { d[--dst_position] = s[--src_position]; } } } else if (dst instanceof short[]) { short[] d = (short[])dst; short[] s = (short[])src; if (dst_position < src_position) { for (int i = length - 1; i >= 0; --i) { d[dst_position++] = s[src_position++]; } } else { dst_position += length; src_position += length; for (int i = length - 1; i >= 0; --i) { d[--dst_position] = s[--src_position]; } } } else { throw new ArrayStoreException("not arrays: source type is " + src.getClass().getName() + ", destination type is " + dst.getClass().getName()); }}
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/887318ddf28a5bdb2422b983c3bf6cc6f2dda340/System.java/clean/libraries/javalib/java/lang/System.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 918, 8817, 12, 921, 1705, 16, 509, 1705, 67, 3276, 16, 1033, 3046, 16, 509, 3046, 67, 3276, 16, 509, 769, 13, 288, 202, 430, 261, 2469, 411, 374, 13, 288, 202, 202, 12849, 394, 1510, 30548, 5621, 202, 97, 202, 430, 261, 11057, 1276, 1033, 63, 5717, 288, 202, 202, 921, 8526, 302, 273, 261, 921, 63, 5717, 11057, 31, 202, 202, 921, 8526, 272, 273, 261, 921, 63, 5717, 4816, 31, 202, 202, 430, 261, 11057, 67, 3276, 411, 1705, 67, 3276, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 769, 300, 404, 31, 277, 1545, 374, 31, 1493, 77, 13, 288, 9506, 202, 72, 63, 11057, 67, 3276, 9904, 65, 273, 272, 63, 4816, 67, 3276, 9904, 15533, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 11057, 67, 3276, 1011, 769, 31, 1082, 202, 4816, 67, 3276, 1011, 769, 31, 1082, 202, 1884, 261, 474, 277, 273, 769, 300, 404, 31, 277, 1545, 374, 31, 1493, 77, 13, 288, 9506, 202, 72, 63, 413, 11057, 67, 3276, 65, 273, 272, 63, 413, 4816, 67, 3276, 15533, 1082, 202, 97, 202, 202, 97, 202, 97, 202, 12107, 309, 261, 11057, 1276, 509, 63, 5717, 288, 202, 202, 474, 8526, 302, 273, 261, 474, 63, 5717, 11057, 31, 202, 202, 474, 8526, 272, 273, 261, 474, 63, 5717, 4816, 31, 202, 202, 430, 261, 11057, 67, 3276, 411, 1705, 67, 3276, 13, 288, 1082, 202, 1884, 261, 474, 277, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 918, 8817, 12, 921, 1705, 16, 509, 1705, 67, 3276, 16, 1033, 3046, 16, 509, 3046, 67, 3276, 16, 509, 769, 13, 288, 202, 430, 261, 2469, 411, 374, 13, 288, 202, 202, 12849, 394, 1510, 30548, 5621, 202, 97, 202, 430, 261, 11057, 1276, 1033, 63, 5717, 288, 202, 202, 921, 8526, 302, 273, 261, 921, 63, 5717, 11057, 31, 202, 202, 921, 8526, 272, 273, 261, 921, 63, 5717, 4816, 31, 202, 202, 430, 261, 11057, 67, 3276, 411, 1705, 67, 3276, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 769, 300, 404, 31, 277, 1545, 374, 31, 1493, 77, 13, 288, 9506, 202, 72, 63, 11057, 67, 3276, 9904, 65, 273, 272, 63, 2 ]
if (clc != null) { return clc.getClassLoader(); } return null;
if (clc != null) { return clc.getClassLoader(); } return null;
protected ClassLoader getAdditionalClassLoader() { if (clc != null) { return clc.getClassLoader(); } return null; }
49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/108e1021fab89bb260b33d4575fd7b4622fb8703/GlobalContext.java/buggy/src/koala/dynamicjava/interpreter/context/GlobalContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 9403, 26660, 7805, 1435, 288, 202, 430, 261, 830, 71, 480, 446, 13, 288, 202, 565, 327, 927, 71, 18, 588, 7805, 5621, 202, 97, 202, 2463, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 9403, 26660, 7805, 1435, 288, 202, 430, 261, 830, 71, 480, 446, 13, 288, 202, 565, 327, 927, 71, 18, 588, 7805, 5621, 202, 97, 202, 2463, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String qualifier;
String qualifier = null;
private static void writeItemIndex(Context c, IndexWriter writer, Item myitem) throws SQLException, IOException { // get the location string (for searching by collection & community) String location_text = buildItemLocationString(c, myitem); // read in indexes from the config ArrayList indexes = new ArrayList(); // read in search.index.1, search.index.2.... for (int i = 1; ConfigurationManager.getProperty("search.index." + i) != null; i++) { indexes.add(ConfigurationManager.getProperty("search.index." + i)); } int j; int k = 0; // initialize hash to be built HashMap textvalues = new HashMap(); if (indexes.size() > 0) { ArrayList fields = new ArrayList(); ArrayList content = new ArrayList(); DCValue[] mydc; for (int i = 0; i < indexes.size(); i++) { String index = (String) indexes.get(i); String[] dc = index.split(":"); String myindex = dc[0]; String schema; String element; String qualifier; // Get the schema, element and qualifier for the index String[] elements = dc[1].split("\\."); if (elements.length == 3) { schema = elements[0]; element = elements[1]; qualifier = elements[2]; } else { schema = MetadataSchema.DC_SCHEMA; element = elements[0]; qualifier = elements[1]; } // extract metadata (ANY is wildcard from Item class) if (qualifier.equals("*")) { mydc = myitem.getMetadata(schema, element, Item.ANY, Item.ANY); } else { mydc = myitem.getMetadata(schema, element, qualifier, Item.ANY); } // put them all from an array of strings to one string for // writing out pack all of the arrays of DCValues into plain // text strings for the indexer String content_text = ""; for (j = 0; j < mydc.length; j++) { content_text = new String(content_text + mydc[j].value + " "); } // arranges content with fields in ArrayLists with same index to // put // into hash later k = fields.indexOf(myindex); if (k < 0) { fields.add(myindex); content.add(content_text); } else { content_text = new String(content_text + (String) content.get(k) + " "); content.set(k, content_text); } } // build the hash for (int i = 0; i < fields.size(); i++) { textvalues.put((String) fields.get(i), (String) content.get(i)); } textvalues.put("location", location_text); } else // if no search indexes found in cfg file, for backward compatibility { // extract metadata (ANY is wildcard from Item class) DCValue[] authors = myitem.getDC("contributor", Item.ANY, Item.ANY); DCValue[] creators = myitem.getDC("creator", Item.ANY, Item.ANY); DCValue[] titles = myitem.getDC("title", Item.ANY, Item.ANY); DCValue[] keywords = myitem.getDC("subject", Item.ANY, Item.ANY); DCValue[] abstracts = myitem.getDC("description", "abstract", Item.ANY); DCValue[] sors = myitem.getDC("description", "statementofresponsibility", Item.ANY); DCValue[] series = myitem.getDC("relation", "ispartofseries", Item.ANY); DCValue[] tocs = myitem.getDC("description", "tableofcontents", Item.ANY); DCValue[] mimetypes = myitem.getDC("format", "mimetype", Item.ANY); DCValue[] sponsors = myitem.getDC("description", "sponsorship", Item.ANY); DCValue[] identifiers = myitem.getDC("identifier", Item.ANY, Item.ANY); // put them all from an array of strings to one string for writing // out String author_text = ""; String title_text = ""; String keyword_text = ""; String abstract_text = ""; String series_text = ""; String mime_text = ""; String sponsor_text = ""; String id_text = ""; // pack all of the arrays of DCValues into plain text strings for // the // indexer for (j = 0; j < authors.length; j++) { author_text = new String(author_text + authors[j].value + " "); } for (j = 0; j < creators.length; j++) //also authors { author_text = new String(author_text + creators[j].value + " "); } for (j = 0; j < sors.length; j++) //also authors { author_text = new String(author_text + sors[j].value + " "); } for (j = 0; j < titles.length; j++) { title_text = new String(title_text + titles[j].value + " "); } for (j = 0; j < keywords.length; j++) { keyword_text = new String(keyword_text + keywords[j].value + " "); } for (j = 0; j < abstracts.length; j++) { abstract_text = new String(abstract_text + abstracts[j].value + " "); } for (j = 0; j < tocs.length; j++) { abstract_text = new String(abstract_text + tocs[j].value + " "); } for (j = 0; j < series.length; j++) { series_text = new String(series_text + series[j].value + " "); } for (j = 0; j < mimetypes.length; j++) { mime_text = new String(mime_text + mimetypes[j].value + " "); } for (j = 0; j < sponsors.length; j++) { sponsor_text = new String(sponsor_text + sponsors[j].value + " "); } for (j = 0; j < identifiers.length; j++) { id_text = new String(id_text + identifiers[j].value + " "); } // build the hash textvalues.put("author", author_text); textvalues.put("title", title_text); textvalues.put("keyword", keyword_text); textvalues.put("location", location_text); textvalues.put("abstract", abstract_text); textvalues.put("series", series_text); textvalues.put("mimetype", mime_text); textvalues.put("sponsor", sponsor_text); textvalues.put("identifier", id_text); } // now get full text of any bitstreams in the TEXT bundle String extractedText = ""; // trundle through the bundles Bundle[] myBundles = myitem.getBundles(); for (int i = 0; i < myBundles.length; i++) { if ((myBundles[i].getName() != null) && myBundles[i].getName().equals("TEXT")) { // a-ha! grab the text out of the bitstreams Bitstream[] myBitstreams = myBundles[i].getBitstreams(); for (j = 0; j < myBitstreams.length; j++) { try { InputStreamReader is = new InputStreamReader( myBitstreams[j].retrieve()); // get input // stream StringBuffer sb = new StringBuffer(); char[] charBuffer = new char[1024]; while (true) { int bytesIn = is.read(charBuffer); if (bytesIn == -1) { break; } if (bytesIn > 0) { sb.append(charBuffer, 0, bytesIn); } } // now sb has the full text - tack on to fullText string extractedText = extractedText.concat(new String(sb)); // System.out.println("Found extracted text!\n" + new // String(sb)); } catch (AuthorizeException e) { // this will never happen, but compiler is now happy. } } } } // lastly, get the handle String itemhandle = HandleManager.findHandle(c, myitem); textvalues.put("handletext", itemhandle); // write out the metatdata (for scalability, using hash instead of // individual strings) writeIndexRecord(writer, Constants.ITEM, itemhandle, textvalues, extractedText); }
25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/40fcbb2dd2def0066fee139b7bc646ab8c39e98d/DSIndexer.java/buggy/dspace/src/org/dspace/search/DSIndexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1045, 1180, 1016, 12, 1042, 276, 16, 3340, 2289, 2633, 16, 5411, 4342, 3399, 1726, 13, 1216, 6483, 16, 1860, 565, 288, 3639, 368, 336, 326, 2117, 533, 261, 1884, 15300, 635, 1849, 473, 19833, 13, 3639, 514, 2117, 67, 955, 273, 1361, 1180, 2735, 780, 12, 71, 16, 3399, 1726, 1769, 3639, 368, 855, 316, 5596, 628, 326, 642, 3639, 2407, 5596, 273, 394, 2407, 5621, 3639, 368, 855, 316, 1623, 18, 1615, 18, 21, 16, 1623, 18, 1615, 18, 22, 6265, 3639, 364, 261, 474, 277, 273, 404, 31, 4659, 1318, 18, 588, 1396, 2932, 3072, 18, 1615, 1199, 397, 277, 13, 480, 446, 31, 277, 27245, 3639, 288, 5411, 5596, 18, 1289, 12, 1750, 1318, 18, 588, 1396, 2932, 3072, 18, 1615, 1199, 397, 277, 10019, 3639, 289, 3639, 509, 525, 31, 3639, 509, 417, 273, 374, 31, 3639, 368, 4046, 1651, 358, 506, 6650, 3639, 4317, 977, 2372, 273, 394, 4317, 5621, 3639, 309, 261, 11265, 18, 1467, 1435, 405, 374, 13, 3639, 288, 5411, 2407, 1466, 273, 394, 2407, 5621, 5411, 2407, 913, 273, 394, 2407, 5621, 5411, 21533, 620, 8526, 3399, 7201, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5596, 18, 1467, 5621, 277, 27245, 5411, 288, 7734, 514, 770, 273, 261, 780, 13, 5596, 18, 588, 12, 77, 1769, 7734, 514, 8526, 6744, 273, 770, 18, 4939, 2932, 2773, 1769, 7734, 514, 3399, 1615, 273, 6744, 63, 20, 15533, 7734, 514, 1963, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1045, 1180, 1016, 12, 1042, 276, 16, 3340, 2289, 2633, 16, 5411, 4342, 3399, 1726, 13, 1216, 6483, 16, 1860, 565, 288, 3639, 368, 336, 326, 2117, 533, 261, 1884, 15300, 635, 1849, 473, 19833, 13, 3639, 514, 2117, 67, 955, 273, 1361, 1180, 2735, 780, 12, 71, 16, 3399, 1726, 1769, 3639, 368, 855, 316, 5596, 628, 326, 642, 3639, 2407, 5596, 273, 394, 2407, 5621, 3639, 368, 855, 316, 1623, 18, 1615, 18, 21, 16, 1623, 18, 1615, 18, 22, 6265, 3639, 364, 261, 474, 277, 273, 404, 31, 4659, 1318, 18, 588, 1396, 2932, 3072, 18, 1615, 1199, 397, 277, 13, 480, 446, 31, 277, 27245, 3639, 288, 5411, 5596, 18, 1289, 2 ]
int currCon = stat.getCurrentConnectionNumber(); setValue(I_CURR_CONS, String.valueOf(currCon)); int totalCon = stat.getTotalConnectionNumber(); setValue(I_TOTAL_CONS, String.valueOf(totalCon));
int loginNbr = stat.getCurrentLoginNumber(); setValue(I_CURR_LOGINS, String.valueOf(loginNbr)); int totalLoginNbr = stat.getTotalLoginNumber(); setValue(I_TOTAL_LOGINS, String.valueOf(totalLoginNbr)); if(anonymous) { int anonLoginNbr = stat.getCurrentAnonymousLoginNumber(); setValue(I_CURR_ANON_LOGINS, String.valueOf(anonLoginNbr)); int totalAnonLoginNbr = stat.getTotalAnonymousLoginNumber(); setValue(I_TOTAL_ANON_LOGINS, String.valueOf(totalAnonLoginNbr)); }
public void run() { ServerFtpStatistics stat = statistics; if(stat != null) { int currCon = stat.getCurrentConnectionNumber(); setValue(I_CURR_CONS, String.valueOf(currCon)); int totalCon = stat.getTotalConnectionNumber(); setValue(I_TOTAL_CONS, String.valueOf(totalCon)); } }
48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/fb0100d79cce109e2696e6867ac71f0eacc966cb/StatisticsPanel.java/clean/admin-gui/src/java/org/apache/ftpserver/gui/StatisticsPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 1171, 3224, 42, 6834, 8569, 610, 273, 7691, 31, 7734, 309, 12, 5642, 480, 446, 13, 288, 10792, 509, 4306, 442, 273, 610, 18, 588, 3935, 1952, 1854, 5621, 10792, 5524, 12, 45, 67, 7509, 54, 67, 2248, 55, 16, 514, 18, 1132, 951, 12, 17016, 442, 10019, 4766, 565, 509, 2078, 442, 273, 610, 18, 588, 5269, 1952, 1854, 5621, 10792, 5524, 12, 45, 67, 28624, 67, 2248, 55, 16, 514, 18, 1132, 951, 12, 4963, 442, 10019, 7734, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1086, 1435, 288, 1171, 3224, 42, 6834, 8569, 610, 273, 7691, 31, 7734, 309, 12, 5642, 480, 446, 13, 288, 10792, 509, 4306, 442, 273, 610, 18, 588, 3935, 1952, 1854, 5621, 10792, 5524, 12, 45, 67, 7509, 54, 67, 2248, 55, 16, 514, 18, 1132, 951, 12, 17016, 442, 10019, 4766, 565, 509, 2078, 442, 273, 610, 18, 588, 5269, 1952, 1854, 5621, 10792, 5524, 12, 45, 67, 28624, 67, 2248, 55, 16, 514, 18, 1132, 951, 12, 4963, 442, 10019, 7734, 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, -100, -100, -100 ]
try { /* * use an alternative logger. Set it up here and pass it in. */ Velocity.setProperty(Velocity.RUNTIME_LOG_LOGSYSTEM, this ); Velocity.init(); } catch (Exception e) { System.err.println("Cannot setup event handling test : " + e); System.exit(1); }
public EventHandlingTestCase() { super("EventHandlingTestCase"); try { /* * use an alternative logger. Set it up here and pass it in. */ Velocity.setProperty(Velocity.RUNTIME_LOG_LOGSYSTEM, this ); Velocity.init(); } catch (Exception e) { System.err.println("Cannot setup event handling test : " + e); System.exit(1); } }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/59780514f566344db5c57333d6182e2f5f040af7/EventHandlingTestCase.java/buggy/src/java/org/apache/velocity/test/EventHandlingTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2587, 14701, 4709, 2449, 1435, 565, 288, 3639, 2240, 2932, 1133, 14701, 4709, 2449, 8863, 3639, 775, 3639, 288, 5411, 1748, 2398, 380, 225, 999, 392, 10355, 1194, 18, 225, 1000, 518, 731, 2674, 471, 1342, 518, 316, 18, 2398, 1195, 13491, 24561, 18, 542, 1396, 12, 27522, 18, 54, 25375, 67, 4842, 67, 4842, 14318, 16, 333, 11272, 5411, 24561, 18, 2738, 5621, 3639, 289, 3639, 1044, 261, 503, 425, 13, 3639, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 4515, 3875, 871, 5057, 1842, 294, 315, 397, 425, 1769, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 7734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 2587, 14701, 4709, 2449, 1435, 565, 288, 3639, 2240, 2932, 1133, 14701, 4709, 2449, 8863, 3639, 775, 3639, 288, 5411, 1748, 2398, 380, 225, 999, 392, 10355, 1194, 18, 225, 1000, 518, 731, 2674, 471, 1342, 518, 316, 18, 2398, 1195, 13491, 24561, 18, 542, 1396, 12, 27522, 18, 54, 25375, 67, 4842, 67, 4842, 14318, 16, 333, 11272, 5411, 24561, 18, 2738, 5621, 3639, 289, 3639, 1044, 261, 503, 425, 13, 3639, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 4515, 3875, 871, 5057, 1842, 294, 315, 397, 425, 1769, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 7734, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (dragTarget != null)
if (dragTarget != null && dragButton == ev.getButton())
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); // Find the target for the mouse event. We first seach the deepest // component at the specified location. The we go up to its parent and // try to find a neighbor of the deepest component that is suitable as // mouse event target (it must be showing, at that location and have either // a MouseListener or MouseMotionListener installed). If no such component // is found, then we walk up the container hierarchy and find the next // container that has a MouseListener or MouseMotionListener installed. Component deepest = window.findComponentAt(ev.getX(), ev.getY()); if (deepest == null) return false; Container parent = deepest.getParent(); Point loc = ev.getPoint(); loc = AWTUtilities.convertPoint(window, loc.x, loc.y, parent); Component target = null; if (parent != null) { target = findTarget(deepest.getParent(), loc); while (target == null && parent != null) { if (parent.getMouseListeners().length > 0 || parent.getMouseMotionListeners().length > 0) { target = parent; } else parent = parent.getParent(); } } if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if event target // is different from the last event target. if (target != lastTarget) { if (lastTarget != null) { Point p1 = AWTUtilities.convertPoint(window, ev.getX(), ev.getY(), lastTarget); MouseEvent mouseExited = new MouseEvent(lastTarget, MouseEvent.MOUSE_EXITED, ev.getWhen(), ev.getModifiers(), p1.x, p1.y, ev.getClickCount(), ev.isPopupTrigger()); lastTarget.dispatchEvent(mouseExited); } // If a target exists dispatch the MOUSE_ENTERED event only if // there is currently no component from which a drag operation // started (dragTarget == null) or the target is that component // (dragTarget == target) // That way a user can click and hold on a button (putting it into // the armed state), move the cursor above other buttons without // affecting their rollover state and get back to the initial // button. if (target != null && (dragTarget == null || dragTarget == target)) { Point p = AWTUtilities.convertPoint(window, ev.getX(), ev.getY(), target); MouseEvent mouseEntered = new MouseEvent(target, MouseEvent.MOUSE_ENTERED, ev.getWhen(), ev.getModifiers(), p.x, p.y, ev.getClickCount(), ev.isPopupTrigger()); target.dispatchEvent(mouseEntered); } } switch (ev.getID()) { case MouseEvent.MOUSE_PRESSED: lastTarget = dragTarget = target; break; case MouseEvent.MOUSE_RELEASED: if (dragTarget != null) { target = dragTarget; dragTarget = null; } lastTarget = target; break; case MouseEvent.MOUSE_CLICKED: // When we receive a MOUSE_CLICKED, we set the target to the // previous target, which must have been a MOUSE_RELEASED event. // This is necessary for the case when the MOUSE_RELEASED has // caused the original target (like an internal component) go // away. // This line is the reason why it is not possible to move the // 'lastTarget = target' assignment before the switch-statement. target = lastTarget; break; case MouseEvent.MOUSE_DRAGGED: // We consider only dragTarget for redispatching the event still // we have to act in a way that the newly found target component // was handled. lastTarget = target; target = dragTarget; break; default: // Only declare current target as the old value in all other // cases. lastTarget = target; break; } if (target != null) { Point targetCoordinates = AWTUtilities.convertPoint(window, ev.getX(), ev.getY(), target); int dx = targetCoordinates.x - ev.getX(); int dy = targetCoordinates.y - ev.getY(); ev.translatePoint(dx, dy); ev.setSource(target); target.dispatchEvent(ev); // We reset the event, so that the normal event dispatching is not // influenced by this modified event. ev.setSource(window); ev.translatePoint(-dx, -dy); } return true; } else return false; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/085ab59d1ee22673b1f5e3328558ae7ad6418e45/LightweightDispatcher.java/buggy/java/awt/LightweightDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 1640, 9186, 1133, 12, 9186, 1133, 2113, 13, 225, 288, 565, 6076, 2742, 273, 261, 3829, 13, 2113, 18, 588, 1830, 5621, 565, 368, 4163, 326, 1018, 364, 326, 7644, 871, 18, 1660, 1122, 695, 497, 326, 4608, 395, 565, 368, 1794, 622, 326, 1269, 2117, 18, 1021, 732, 1960, 731, 358, 2097, 982, 471, 565, 368, 775, 358, 1104, 279, 10553, 434, 326, 4608, 395, 1794, 716, 353, 10631, 487, 565, 368, 7644, 871, 1018, 261, 305, 1297, 506, 17253, 16, 622, 716, 2117, 471, 1240, 3344, 565, 368, 279, 17013, 2223, 578, 17013, 29360, 2223, 5876, 2934, 971, 1158, 4123, 1794, 565, 368, 353, 1392, 16, 1508, 732, 5442, 731, 326, 1478, 9360, 471, 1104, 326, 1024, 565, 368, 1478, 716, 711, 279, 17013, 2223, 578, 17013, 29360, 2223, 5876, 18, 565, 5435, 4608, 395, 273, 2742, 18, 4720, 1841, 861, 12, 14965, 18, 588, 60, 9334, 2113, 18, 588, 61, 10663, 565, 309, 261, 16589, 395, 422, 446, 13, 1377, 327, 629, 31, 565, 4039, 982, 273, 4608, 395, 18, 588, 3054, 5621, 565, 4686, 1515, 273, 2113, 18, 588, 2148, 5621, 565, 1515, 273, 432, 8588, 11864, 18, 6283, 2148, 12, 5668, 16, 1515, 18, 92, 16, 1515, 18, 93, 16, 982, 1769, 565, 5435, 1018, 273, 446, 31, 565, 309, 261, 2938, 480, 446, 13, 1377, 288, 3639, 1018, 273, 1104, 2326, 12, 16589, 395, 18, 588, 3054, 9334, 1515, 1769, 3639, 1323, 261, 3299, 422, 446, 597, 982, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 1640, 9186, 1133, 12, 9186, 1133, 2113, 13, 225, 288, 565, 6076, 2742, 273, 261, 3829, 13, 2113, 18, 588, 1830, 5621, 565, 368, 4163, 326, 1018, 364, 326, 7644, 871, 18, 1660, 1122, 695, 497, 326, 4608, 395, 565, 368, 1794, 622, 326, 1269, 2117, 18, 1021, 732, 1960, 731, 358, 2097, 982, 471, 565, 368, 775, 358, 1104, 279, 10553, 434, 326, 4608, 395, 1794, 716, 353, 10631, 487, 565, 368, 7644, 871, 1018, 261, 305, 1297, 506, 17253, 16, 622, 716, 2117, 471, 1240, 3344, 565, 368, 279, 17013, 2223, 578, 17013, 29360, 2223, 5876, 2934, 971, 1158, 4123, 1794, 565, 368, 353, 1392, 16, 1508, 732, 5442, 731, 326, 1478, 9360, 471, 2 ]
public void run() { servant.collectUserCredentials(future); }
public void run() { servant.collectUserCredentials(future, init); }
public void run() { servant.collectUserCredentials(future); }
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/84042cbca2e8aeaf65ca18c85ea2224ea4c04d55/SplashScreenProxy.java/clean/SRC/org/openmicroscopy/shoola/env/ui/SplashScreenProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 703, 7445, 18, 14676, 1299, 6163, 12, 14343, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 703, 7445, 18, 14676, 1299, 6163, 12, 14343, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Parse getParse(Content content) throws ParseException {
public Parse getParse(Content content) {
public Parse getParse(Content content) throws ParseException { // check that contentType is one we can handle String contentType = content.getContentType(); if (contentType != null && !contentType.startsWith("application/msword")) throw new ParseException( "Content-Type not application/msword: "+contentType); String text = null; String title = null; Properties properties = null; try { byte[] raw = content.getContent(); String contentLength = content.get("Content-Length"); if (contentLength != null && raw.length != Integer.parseInt(contentLength)) { throw new ParseException("Content truncated at "+raw.length +" bytes. Parser can't handle incomplete msword file."); } WordExtractor extractor = new WordExtractor(); // collect text text = extractor.extractText(new ByteArrayInputStream(raw)); // collect meta info properties = extractor.extractProperties(new ByteArrayInputStream(raw)); extractor = null; } catch (ParseException e) { throw e; } catch (FastSavedException e) { throw new ParseException(e); } catch (PasswordProtectedException e) { throw new ParseException(e); } catch (Exception e) { // run time exception throw new ParseException("Can't be handled as msword document. "+e); } finally { // nothing so far } // collect meta data Properties metadata = new Properties(); metadata.putAll(content.getMetadata()); // copy through if(properties != null) { title = properties.getProperty("Title"); properties.remove("Title"); metadata.putAll(properties); } if (text == null) text = ""; if (title == null) title = ""; // collect outlink Outlink[] outlinks = new Outlink[0]; ParseData parseData = new ParseData(title, outlinks, metadata); return new ParseImpl(text, parseData); // any filter? //return HtmlParseFilters.filter(content, parse, root); }
50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/29bea6a24ea978596c3c1880a520b24bdeb2252d/MSWordParser.java/buggy/src/plugin/parse-msword/src/java/org/apache/nutch/parse/msword/MSWordParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2884, 336, 3201, 12, 1350, 913, 13, 288, 565, 368, 866, 716, 5064, 353, 1245, 732, 848, 1640, 565, 514, 5064, 273, 913, 18, 588, 8046, 5621, 565, 309, 261, 22194, 480, 446, 597, 401, 22194, 18, 17514, 1190, 2932, 3685, 19, 959, 1095, 6, 3719, 1377, 604, 394, 10616, 12, 3639, 315, 1350, 17, 559, 486, 2521, 19, 959, 1095, 30, 13773, 22194, 1769, 565, 514, 977, 273, 446, 31, 565, 514, 2077, 273, 446, 31, 565, 6183, 1790, 273, 446, 31, 565, 775, 288, 1377, 1160, 8526, 1831, 273, 913, 18, 588, 1350, 5621, 1377, 514, 17117, 273, 913, 18, 588, 2932, 1350, 17, 1782, 8863, 1377, 309, 261, 1745, 1782, 480, 446, 5411, 597, 1831, 18, 2469, 480, 2144, 18, 2670, 1702, 12, 1745, 1782, 3719, 288, 1850, 604, 394, 10616, 2932, 1350, 15282, 622, 13773, 1899, 18, 2469, 5411, 397, 6, 1731, 18, 6783, 848, 1404, 1640, 14715, 4086, 1095, 585, 1199, 1769, 1377, 289, 1377, 9926, 10958, 14031, 273, 394, 9926, 10958, 5621, 1377, 368, 3274, 977, 1377, 977, 273, 14031, 18, 8004, 1528, 12, 2704, 16180, 12, 1899, 10019, 1377, 368, 3274, 2191, 1123, 1377, 1790, 273, 14031, 18, 8004, 2297, 12, 2704, 16180, 12, 1899, 10019, 1377, 14031, 273, 446, 31, 565, 289, 1044, 261, 13047, 425, 13, 288, 1377, 604, 425, 31, 565, 289, 1044, 261, 12305, 16776, 503, 425, 13, 288, 1377, 604, 394, 10616, 12, 73, 1769, 565, 289, 1044, 261, 3913, 15933, 503, 425, 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, 2884, 336, 3201, 12, 1350, 913, 13, 288, 565, 368, 866, 716, 5064, 353, 1245, 732, 848, 1640, 565, 514, 5064, 273, 913, 18, 588, 8046, 5621, 565, 309, 261, 22194, 480, 446, 597, 401, 22194, 18, 17514, 1190, 2932, 3685, 19, 959, 1095, 6, 3719, 1377, 604, 394, 10616, 12, 3639, 315, 1350, 17, 559, 486, 2521, 19, 959, 1095, 30, 13773, 22194, 1769, 565, 514, 977, 273, 446, 31, 565, 514, 2077, 273, 446, 31, 565, 6183, 1790, 273, 446, 31, 565, 775, 288, 1377, 1160, 8526, 1831, 273, 913, 18, 588, 1350, 5621, 1377, 514, 17117, 273, 913, 18, 588, 2932, 1350, 17, 1782, 8863, 1377, 309, 261, 1745, 1782, 480, 446, 5411, 597, 2 ]
public void drop(DropTargetDropEvent e) { Point loc = e.getLocation(); int x = (int)loc.getX(), y = (int)loc.getY(); // reset cursor back to normal Cursor defaultCursor = new Cursor(Cursor.DEFAULT_CURSOR); DataMapTree.getDataMapTree().setCursor(defaultCursor); int action = e.getDropAction(); DataFlavor[] flavors = e.getCurrentDataFlavors(); DataFlavor chosen = flavors[0]; if (isDropOK(x, y, action)) { e.acceptDrop(action); } else { e.rejectDrop(); return; } Vector data = null; try { data = (Vector)e.getTransferable().getTransferData(chosen); } catch(Throwable t) { t.printStackTrace(); e.dropComplete(false); return; } TreePath path = getPathForLocation(x, y); SoarVertex vertex = ((FakeTreeNode)path.getLastPathComponent()).getEnumeratingVertex(); swmm.addTriple(vertex,(String)data.get(1),swmm.getVertexForId(((Integer)data.get(0)).intValue())); if(action == DnDConstants.ACTION_MOVE) { NamedEdge ne = (NamedEdge)data.get(2); swmm.removeTriple((SoarVertex)ne.V0(),ne.getName(),(SoarVertex)ne.V1()); } e.dropComplete(true); }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/5f86f1698ecae9bee19eda190b80e574908c2728/DataMapTree.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/datamap/DataMapTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 7285, 12, 7544, 2326, 7544, 1133, 73, 15329, 2148, 1829, 33, 73, 18, 588, 2735, 5621, 474, 92, 28657, 474, 13, 1829, 18, 588, 60, 9334, 93, 28657, 474, 13, 1829, 18, 588, 61, 5621, 759, 6208, 9216, 823, 1917, 1687, 6688, 1886, 6688, 33, 2704, 6688, 12, 6688, 18, 5280, 67, 7509, 55, 916, 1769, 31982, 2471, 18, 588, 31982, 2471, 7675, 542, 6688, 12, 1886, 6688, 1769, 474, 1128, 33, 73, 18, 588, 7544, 1803, 5621, 751, 2340, 9444, 8526, 2242, 842, 1383, 33, 73, 18, 588, 3935, 751, 2340, 842, 1383, 5621, 751, 2340, 9444, 343, 8918, 33, 2242, 842, 1383, 63, 20, 15533, 430, 12, 291, 7544, 3141, 12, 92, 16, 93, 16, 1128, 3719, 95, 73, 18, 9436, 7544, 12, 1128, 1769, 97, 12107, 95, 73, 18, 24163, 7544, 5621, 2463, 31, 97, 58, 386, 517, 396, 33, 2011, 31, 698, 95, 892, 28657, 5018, 13, 73, 18, 588, 5912, 429, 7675, 588, 5912, 751, 12, 343, 8918, 1769, 97, 14683, 12, 8282, 378, 1810, 15329, 88, 18, 1188, 6332, 5621, 73, 18, 7285, 6322, 12, 5743, 1769, 2463, 31, 97, 2471, 743, 803, 33, 588, 743, 1290, 2735, 12, 92, 16, 93, 1769, 10225, 297, 6475, 15281, 33, 12443, 25462, 12513, 13, 803, 18, 588, 3024, 743, 1841, 1435, 2934, 588, 3572, 264, 1776, 6475, 5621, 5328, 7020, 18, 1289, 28166, 12, 15281, 16, 12, 780, 13, 892, 18, 588, 12, 21, 3631, 5328, 7020, 18, 588, 6475, 1290, 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, 6459, 7285, 12, 7544, 2326, 7544, 1133, 73, 15329, 2148, 1829, 33, 73, 18, 588, 2735, 5621, 474, 92, 28657, 474, 13, 1829, 18, 588, 60, 9334, 93, 28657, 474, 13, 1829, 18, 588, 61, 5621, 759, 6208, 9216, 823, 1917, 1687, 6688, 1886, 6688, 33, 2704, 6688, 12, 6688, 18, 5280, 67, 7509, 55, 916, 1769, 31982, 2471, 18, 588, 31982, 2471, 7675, 542, 6688, 12, 1886, 6688, 1769, 474, 1128, 33, 73, 18, 588, 7544, 1803, 5621, 751, 2340, 9444, 8526, 2242, 842, 1383, 33, 73, 18, 588, 3935, 751, 2340, 842, 1383, 5621, 751, 2340, 9444, 343, 8918, 33, 2242, 842, 1383, 63, 20, 15533, 430, 12, 291, 7544, 3141, 12, 92, 16, 93, 16, 2 ]
String className; Class param; if (name.equals("CustomAttributes") || name.equals("Dataset") || name.equals("Feature") || name.equals("Image") || name.equals("OME") || name.equals("Project")) { className = "org.openmicroscopy.xml." + name + "Node"; param = base.getClass(); } else { className = "org.openmicroscopy.xml.st." + name + "Node"; param = CustomAttributesNode.class; }
private OMEXMLNode getChild(OMEXMLNode base, String name, int i) { Vector children = base.getChildren(name); if (i < children.size()) { if (children.get(i) != null) return (OMEXMLNode) children.get(i); } // CTR TODO fix this, it is crap try { Class c = Class.forName("org.openmicroscopy.xml.st." + name + "Node"); Constructor con = c.getConstructor(new Class[] {OMEXMLNode.class}); return (OMEXMLNode) con.newInstance(new Object[] {base}); } catch (Exception exc) { exc.printStackTrace(); } return null; }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/34bcbe2acc8b7f882c8afbdc1290ab99847904ea/OMEXMLMetadataStore.java/clean/loci/formats/OMEXMLMetadataStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 514, 2658, 31, 1659, 579, 31, 309, 261, 529, 18, 14963, 2932, 3802, 2498, 7923, 747, 508, 18, 14963, 2932, 10656, 7923, 747, 508, 18, 14963, 2932, 4595, 7923, 747, 508, 18, 14963, 2932, 2040, 7923, 747, 508, 18, 14963, 2932, 51, 958, 7923, 747, 508, 18, 14963, 2932, 4109, 6, 3719, 288, 2658, 273, 315, 3341, 18, 3190, 14458, 1017, 1101, 18, 2902, 1199, 397, 508, 397, 315, 907, 14432, 579, 273, 1026, 18, 588, 797, 5621, 289, 469, 288, 2658, 273, 315, 3341, 18, 3190, 14458, 1017, 1101, 18, 2902, 18, 334, 1199, 397, 508, 397, 315, 907, 14432, 579, 273, 6082, 2498, 907, 18, 1106, 31, 289, 514, 2658, 31, 1659, 579, 31, 309, 261, 529, 18, 14963, 2932, 3802, 2498, 7923, 747, 508, 18, 14963, 2932, 10656, 7923, 747, 508, 18, 14963, 2932, 4595, 7923, 747, 508, 18, 14963, 2932, 2040, 7923, 747, 508, 18, 14963, 2932, 51, 958, 7923, 747, 508, 18, 14963, 2932, 4109, 6, 3719, 288, 2658, 273, 315, 3341, 18, 3190, 14458, 1017, 1101, 18, 2902, 1199, 397, 508, 397, 315, 907, 14432, 579, 273, 1026, 18, 588, 797, 5621, 289, 469, 288, 2658, 273, 315, 3341, 18, 3190, 14458, 1017, 1101, 18, 2902, 18, 334, 1199, 397, 508, 397, 315, 907, 14432, 579, 273, 6082, 2498, 907, 18, 1106, 31, 289, 3238, 780, 2658, 31, 1659, 579, 31, 309, 261, 529, 18, 14963, 2932, 3802, 2498, 7923, 747, 508, 18, 14963, 2932, 10656, 7923, 747, 508, 18, 14963, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 514, 2658, 31, 1659, 579, 31, 309, 261, 529, 18, 14963, 2932, 3802, 2498, 7923, 747, 508, 18, 14963, 2932, 10656, 7923, 747, 508, 18, 14963, 2932, 4595, 7923, 747, 508, 18, 14963, 2932, 2040, 7923, 747, 508, 18, 14963, 2932, 51, 958, 7923, 747, 508, 18, 14963, 2932, 4109, 6, 3719, 288, 2658, 273, 315, 3341, 18, 3190, 14458, 1017, 1101, 18, 2902, 1199, 397, 508, 397, 315, 907, 14432, 579, 273, 1026, 18, 588, 797, 5621, 289, 469, 288, 2658, 273, 315, 3341, 18, 3190, 14458, 1017, 1101, 18, 2902, 18, 334, 1199, 397, 508, 397, 315, 907, 14432, 579, 273, 6082, 2498, 907, 18, 1106, 31, 289, 514, 2658, 31, 1659, 579, 31, 309, 261, 529, 2 ]
pdbflag = hasCoordSys(PDBCOORDSYS,source) ; uniprotflag = hasCoordSys(UNIPROTCOORDSYS,source) ;
pdbflag = hasCoordSys(BrowserPane.DEFAULT_PDBCOORDSYS,source) ; uniprotflag = hasCoordSys(BrowserPane.DEFAULT_UNIPROTCOORDSYS,source) ;
public boolean isSeqStrucAlignmentServer(SpiceDasSource source) { boolean msdmapping = false ; //DasCoordinateSystem[] coordsys = source.getCoordinateSystem() ; boolean uniprotflag = false ; boolean pdbflag = false ; pdbflag = hasCoordSys(PDBCOORDSYS,source) ; uniprotflag = hasCoordSys(UNIPROTCOORDSYS,source) ; //System.out.println(pdbflag + " " + uniprotflag); if (( uniprotflag == true) && ( pdbflag == true)) { msdmapping = true ; } return msdmapping ; }
52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/9fce485ed3b2b2273375a86353ca79bf8d9af076/RegistryConfiguration.java/buggy/src/org/biojava/spice/Config/RegistryConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 6926, 1585, 5286, 11535, 2081, 12, 3389, 1812, 40, 345, 1830, 1084, 13, 288, 3639, 1250, 4086, 72, 6770, 273, 629, 274, 3639, 368, 40, 345, 13503, 3163, 8526, 6074, 1900, 273, 1084, 18, 588, 13503, 3163, 1435, 274, 7734, 1250, 640, 30506, 6420, 273, 629, 274, 3639, 1250, 10892, 6420, 377, 273, 629, 274, 7734, 10892, 6420, 377, 273, 225, 711, 5401, 12712, 12, 52, 2290, 27237, 3948, 61, 55, 16, 3168, 13, 274, 3639, 640, 30506, 6420, 273, 225, 711, 5401, 12712, 12, 2124, 2579, 1457, 56, 27237, 3948, 61, 55, 16, 3168, 13, 282, 274, 3639, 368, 3163, 18, 659, 18, 8222, 12, 17414, 6420, 397, 315, 315, 397, 640, 30506, 6420, 1769, 3639, 309, 14015, 640, 30506, 6420, 422, 638, 13, 597, 261, 10892, 6420, 422, 638, 3719, 288, 5411, 4086, 72, 6770, 273, 638, 274, 3639, 289, 3639, 327, 4086, 72, 6770, 274, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 6926, 1585, 5286, 11535, 2081, 12, 3389, 1812, 40, 345, 1830, 1084, 13, 288, 3639, 1250, 4086, 72, 6770, 273, 629, 274, 3639, 368, 40, 345, 13503, 3163, 8526, 6074, 1900, 273, 1084, 18, 588, 13503, 3163, 1435, 274, 7734, 1250, 640, 30506, 6420, 273, 629, 274, 3639, 1250, 10892, 6420, 377, 273, 629, 274, 7734, 10892, 6420, 377, 273, 225, 711, 5401, 12712, 12, 52, 2290, 27237, 3948, 61, 55, 16, 3168, 13, 274, 3639, 640, 30506, 6420, 273, 225, 711, 5401, 12712, 12, 2124, 2579, 1457, 56, 27237, 3948, 61, 55, 16, 3168, 13, 282, 274, 3639, 368, 3163, 18, 659, 18, 8222, 12, 17414, 6420, 397, 315, 315, 397, 640, 30506, 6420, 2 ]
add((byte)(shortOp + 3));
add(shortOp + 3);
private void xop(byte shortOp, byte op, int local) { switch (local) { case 0: add(shortOp); break; case 1: add((byte)(shortOp + 1)); break; case 2: add((byte)(shortOp + 2)); break; case 3: add((byte)(shortOp + 3)); break; default: add(op, local); } }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/22644d0e62d87924a341469f715d13055cb347cc/ClassFileWriter.java/clean/src/org/mozilla/classfile/ClassFileWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 619, 556, 12, 7229, 3025, 3817, 16, 1160, 1061, 16, 509, 1191, 13, 565, 288, 3639, 1620, 261, 3729, 13, 288, 1850, 648, 374, 30, 5411, 527, 12, 6620, 3817, 1769, 5411, 898, 31, 1850, 648, 404, 30, 5411, 527, 12443, 7229, 21433, 6620, 3817, 397, 404, 10019, 5411, 898, 31, 1850, 648, 576, 30, 5411, 527, 12443, 7229, 21433, 6620, 3817, 397, 576, 10019, 5411, 898, 31, 1850, 648, 890, 30, 5411, 527, 12, 6620, 3817, 397, 890, 1769, 5411, 898, 31, 1850, 805, 30, 5411, 527, 12, 556, 16, 1191, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 918, 619, 556, 12, 7229, 3025, 3817, 16, 1160, 1061, 16, 509, 1191, 13, 565, 288, 3639, 1620, 261, 3729, 13, 288, 1850, 648, 374, 30, 5411, 527, 12, 6620, 3817, 1769, 5411, 898, 31, 1850, 648, 404, 30, 5411, 527, 12443, 7229, 21433, 6620, 3817, 397, 404, 10019, 5411, 898, 31, 1850, 648, 576, 30, 5411, 527, 12443, 7229, 21433, 6620, 3817, 397, 576, 10019, 5411, 898, 31, 1850, 648, 890, 30, 5411, 527, 12, 6620, 3817, 397, 890, 1769, 5411, 898, 31, 1850, 805, 30, 5411, 527, 12, 556, 16, 1191, 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 ]
_instance.fileVersion = Integer.parseInt(masterVersion);
instance().fileVersion = Integer.parseInt(masterVersion);
static boolean updateIndexIfNeeded(String name) throws org.jdom.JDOMException, java.io.FileNotFoundException { // get version from master index; if not found, give up String masterVersion = null; DecoderIndexFile masterXmlFile = new DecoderIndexFile(); File masterFile = new File("xml"+File.separator+defaultDecoderIndexFilename()); if (! masterFile.exists()) return false; Element masterRoot = masterXmlFile.rootFromFile(masterFile); if (masterRoot.getChild("decoderIndex") != null ) { if (masterRoot.getChild("decoderIndex").getAttribute("version")!=null) masterVersion = masterRoot.getChild("decoderIndex").getAttribute("version").getValue(); log.debug("master version found, is "+masterVersion); } else { return false; } // get from user index. Unless they are equal, force an update. // note we find this file via the search path; if not exists, so that // the master is found, we still do the right thing (nothing). String userVersion = null; DecoderIndexFile userXmlFile = new DecoderIndexFile(); Element userRoot = userXmlFile.rootFromName(defaultDecoderIndexFilename()); if (userRoot.getChild("decoderIndex") != null ) { if (userRoot.getChild("decoderIndex").getAttribute("version")!=null) userVersion = userRoot.getChild("decoderIndex").getAttribute("version").getValue(); log.debug("user version found, is "+userVersion); } if (userRoot!=null && masterVersion.equals(userVersion)) return false; // force the update, with the version number located earlier _instance.fileVersion = Integer.parseInt(masterVersion); forceCreationOfNewIndex(); // and force it's use return true; }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/7a8cd063d3442573a6136ae59ff04bb914a386c9/DecoderIndexFile.java/buggy/jmri/jmrit/decoderdefn/DecoderIndexFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1250, 1089, 1016, 18299, 12, 780, 508, 13, 1216, 2358, 18, 78, 9859, 18, 46, 8168, 503, 16, 2252, 18, 1594, 18, 812, 3990, 288, 3639, 368, 336, 1177, 628, 4171, 770, 31, 309, 486, 1392, 16, 8492, 731, 3639, 514, 4171, 1444, 273, 446, 31, 3639, 15138, 1016, 812, 4171, 4432, 812, 273, 394, 15138, 1016, 812, 5621, 3639, 1387, 4171, 812, 273, 394, 1387, 2932, 2902, 6, 15, 812, 18, 11287, 15, 1886, 7975, 1016, 5359, 10663, 3639, 309, 16051, 4171, 812, 18, 1808, 10756, 327, 629, 31, 3639, 3010, 4171, 2375, 273, 4171, 4432, 812, 18, 3085, 13087, 12, 7525, 812, 1769, 202, 202, 430, 261, 7525, 2375, 18, 588, 1763, 2932, 21070, 1016, 7923, 480, 446, 262, 288, 5411, 309, 261, 7525, 2375, 18, 588, 1763, 2932, 21070, 1016, 20387, 588, 1499, 2932, 1589, 7923, 5, 33, 2011, 13, 7734, 4171, 1444, 273, 4171, 2375, 18, 588, 1763, 2932, 21070, 1016, 20387, 588, 1499, 2932, 1589, 20387, 24805, 5621, 7734, 613, 18, 4148, 2932, 7525, 1177, 1392, 16, 353, 13773, 7525, 1444, 1769, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 368, 336, 628, 729, 770, 18, 225, 1351, 2656, 2898, 854, 3959, 16, 2944, 392, 1089, 18, 3639, 368, 4721, 732, 1104, 333, 585, 3970, 326, 1623, 589, 31, 309, 486, 1704, 16, 1427, 716, 3639, 368, 326, 4171, 353, 1392, 16, 732, 4859, 741, 326, 2145, 7757, 261, 30874, 2934, 3639, 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, 1250, 1089, 1016, 18299, 12, 780, 508, 13, 1216, 2358, 18, 78, 9859, 18, 46, 8168, 503, 16, 2252, 18, 1594, 18, 812, 3990, 288, 3639, 368, 336, 1177, 628, 4171, 770, 31, 309, 486, 1392, 16, 8492, 731, 3639, 514, 4171, 1444, 273, 446, 31, 3639, 15138, 1016, 812, 4171, 4432, 812, 273, 394, 15138, 1016, 812, 5621, 3639, 1387, 4171, 812, 273, 394, 1387, 2932, 2902, 6, 15, 812, 18, 11287, 15, 1886, 7975, 1016, 5359, 10663, 3639, 309, 16051, 4171, 812, 18, 1808, 10756, 327, 629, 31, 3639, 3010, 4171, 2375, 273, 4171, 4432, 812, 18, 3085, 13087, 12, 7525, 812, 1769, 202, 202, 430, 261, 7525, 2375, 18, 588, 1763, 2932, 21070, 1016, 2 ]
messageCallback = new Callback (this, "messageProc", 4);
messageCallback = new Callback (this, "messageProc", 4);
protected void init () { super.init (); /* Create the callbacks */ windowCallback = new Callback (this, "windowProc", 4); windowProc = windowCallback.getAddress (); if (windowProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS); /* Remember the current procsss and thread */ threadId = OS.GetCurrentThreadId (); processId = OS.GetCurrentProcessId (); /* Use the character encoding for the default locale */ windowClass = new TCHAR (0, WindowName + WindowClassCount++, true); /* Register the SWT window class */ int hHeap = OS.GetProcessHeap (); int hInstance = OS.GetModuleHandle (null); WNDCLASS lpWndClass = new WNDCLASS (); lpWndClass.hInstance = hInstance; lpWndClass.lpfnWndProc = windowProc; lpWndClass.style = OS.CS_BYTEALIGNWINDOW | OS.CS_DBLCLKS; lpWndClass.hCursor = OS.LoadCursor (0, OS.IDC_ARROW); int byteCount = windowClass.length () * TCHAR.sizeof; int lpszClassName = OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, byteCount); lpWndClass.lpszClassName = lpszClassName; OS.MoveMemory (lpszClassName, windowClass, byteCount); OS.RegisterClass (lpWndClass); /* Initialize the system font */ int systemFont = 0; if (!OS.IsWinCE) { NONCLIENTMETRICS info = OS.IsUnicode ? (NONCLIENTMETRICS) new NONCLIENTMETRICSW () : new NONCLIENTMETRICSA (); info.cbSize = NONCLIENTMETRICS.sizeof; if (OS.SystemParametersInfo (OS.SPI_GETNONCLIENTMETRICS, 0, info, 0)) { systemFont = OS.CreateFontIndirect (OS.IsUnicode ? (LOGFONT) ((NONCLIENTMETRICSW)info).lfMessageFont : ((NONCLIENTMETRICSA)info).lfMessageFont); } } if (systemFont == 0) systemFont = OS.GetStockObject (OS.DEFAULT_GUI_FONT); if (systemFont == 0) systemFont = OS.GetStockObject (OS.SYSTEM_FONT); if (systemFont != 0) systemFonts = new int [] {systemFont}; /* Create the message only HWND */ hwndMessage = OS.CreateWindowEx (0, windowClass, null, OS.WS_OVERLAPPED, 0, 0, 0, 0, 0, 0, hInstance, null); messageCallback = new Callback (this, "messageProc", 4); messageProc = messageCallback.getAddress (); if (messageProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS); OS.SetWindowLong (hwndMessage, OS.GWL_WNDPROC, messageProc); /* Create the filter hook */ if (!OS.IsWinCE) { msgFilterCallback = new Callback (this, "msgFilterProc", 3); msgFilterProc = msgFilterCallback.getAddress (); if (msgFilterProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS); filterHook = OS.SetWindowsHookEx (OS.WH_MSGFILTER, msgFilterProc, 0, threadId); } /* Initialize the Widget Table */ indexTable = new int [GROW_SIZE]; controlTable = new Control [GROW_SIZE]; for (int i=0; i<GROW_SIZE-1; i++) indexTable [i] = i + 1; indexTable [GROW_SIZE - 1] = -1;}
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/38dbe88a9501faece746ad495a4038d0f100d1c9/Display.java/buggy/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 1208, 1832, 288, 202, 9565, 18, 2738, 261, 1769, 1082, 202, 20308, 1788, 326, 6689, 1195, 202, 5668, 2428, 273, 394, 8444, 261, 2211, 16, 315, 5668, 15417, 3113, 1059, 1769, 202, 5668, 15417, 273, 2742, 2428, 18, 588, 1887, 261, 1769, 202, 430, 261, 5668, 15417, 422, 374, 13, 555, 261, 55, 8588, 18, 3589, 67, 3417, 67, 31078, 67, 30312, 55, 1769, 202, 202, 20308, 23133, 326, 783, 450, 5212, 87, 471, 2650, 1195, 202, 5930, 548, 273, 5932, 18, 967, 3935, 3830, 548, 261, 1769, 202, 2567, 548, 273, 5932, 18, 967, 3935, 2227, 548, 261, 1769, 202, 202, 20308, 2672, 326, 3351, 2688, 364, 326, 805, 2573, 1195, 202, 5668, 797, 273, 394, 399, 7305, 261, 20, 16, 6076, 461, 397, 6076, 797, 1380, 9904, 16, 638, 1769, 202, 20308, 5433, 326, 348, 8588, 2742, 667, 1195, 202, 474, 366, 15648, 273, 5932, 18, 967, 2227, 15648, 261, 1769, 202, 474, 366, 1442, 273, 5932, 18, 967, 3120, 3259, 261, 2011, 1769, 202, 59, 2908, 5237, 12423, 59, 4880, 797, 273, 394, 678, 2908, 5237, 261, 1769, 202, 9953, 59, 4880, 797, 18, 76, 1442, 273, 366, 1442, 31, 202, 9953, 59, 4880, 797, 18, 9953, 4293, 59, 4880, 15417, 273, 2742, 15417, 31, 202, 9953, 59, 4880, 797, 18, 4060, 273, 5932, 18, 4596, 67, 15377, 26439, 23407, 571, 5932, 18, 4596, 67, 2290, 48, 5017, 47, 55, 31, 202, 9953, 59, 4880, 797, 18, 76, 6688, 273, 5932, 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, 4750, 918, 1208, 1832, 288, 202, 9565, 18, 2738, 261, 1769, 1082, 202, 20308, 1788, 326, 6689, 1195, 202, 5668, 2428, 273, 394, 8444, 261, 2211, 16, 315, 5668, 15417, 3113, 1059, 1769, 202, 5668, 15417, 273, 2742, 2428, 18, 588, 1887, 261, 1769, 202, 430, 261, 5668, 15417, 422, 374, 13, 555, 261, 55, 8588, 18, 3589, 67, 3417, 67, 31078, 67, 30312, 55, 1769, 202, 202, 20308, 23133, 326, 783, 450, 5212, 87, 471, 2650, 1195, 202, 5930, 548, 273, 5932, 18, 967, 3935, 3830, 548, 261, 1769, 202, 2567, 548, 273, 5932, 18, 967, 3935, 2227, 548, 261, 1769, 202, 202, 20308, 2672, 326, 3351, 2688, 364, 326, 805, 2573, 1195, 202, 5668, 797, 273, 394, 2 ]
if (entityHex.terrainLevel(Terrains.FIRE) == 2) {
if (entityHex.terrainLevel(Terrains.FIRE) == 2 && entity.getElevation() <=1) {
private void resolveHeat() { Report r; //Heat phase header addReport(new Report(5000, Report.PUBLIC)); for (Enumeration i = game.getEntities(); i.hasMoreElements();) { Entity entity = (Entity)i.nextElement(); if ( null == entity.getPosition() ) { continue; } IHex entityHex = game.getBoard().getHex(entity.getPosition()); // heat doesn't matter for non-mechs if (!(entity instanceof Mech)) { entity.heatBuildup = 0; if(game.getOptions().booleanOption("vehicle_fires") && entity instanceof Tank) { resolveVehicleFire((Tank)entity, true); } // If the unit is hit with an Inferno, do flaming death test. else if ( entity.infernos.isStillBurning()) { doFlamingDeath(entity); } continue; } else { // Meks gain heat from inferno hits. if ( entity.infernos.isStillBurning() ) { int infernoHeat = entity.infernos.getHeat(); entity.heatBuildup += infernoHeat; r = new Report(5010); r.subject = entity.getId(); r.add(infernoHeat); addReport(r); } } // should we even bother? if ( entity.isDestroyed() || entity.isDoomed() || entity.crew.isDoomed() || entity.crew.isDead() ) { continue; } // engine hits add a lot of heat, provided the engine is on entity.heatBuildup += entity.getEngineCritHeat(); // If a Mek had an active Stealth suite, add 10 heat. if ( entity instanceof Mech && entity.isStealthActive() ) { entity.heatBuildup += 10; r = new Report(5015); r.subject = entity.getId(); addReport(r); } // If a Mek is in extreme Temperatures, add or subtract one // heat per 10 degrees (or fraction of 10 degrees) above or // below 50 or -30 degrees Celsius if ( entity instanceof Mech && game.getTemperatureDifference() != 0 && !((Mech)entity).hasLaserHeatSinks()) { if (game.getOptions().intOption("temperature") > 50) { entity.heatBuildup += game.getTemperatureDifference(); r = new Report(5020); r.subject = entity.getId(); r.add(game.getTemperatureDifference()); addReport(r); } else { entity.heatBuildup -= game.getTemperatureDifference(); r = new Report(5025); r.subject = entity.getId(); r.add(game.getTemperatureDifference()); addReport(r); } } // Add +5 Heat if the hex you're in is on fire // and was on fire for the full round. if (entityHex != null) { if (entityHex.terrainLevel(Terrains.FIRE) == 2) { entity.heatBuildup += 5; r = new Report(5030); r.subject = entity.getId(); addReport(r); } int magma = entityHex.terrainLevel(Terrains.MAGMA); if(magma > 0) { entity.heatBuildup += 5 * magma; r = new Report(5032); r.subject = entity.getId(); r.add(5 * magma); addReport(r); } } //Check the mech for vibroblades if so then check to see if any //are active and what heat they will produce. if ( entity.hasVibroblades() ){ int vibroHeat = 0; vibroHeat = entity.getActiveVibrobladeHeat(Mech.LOC_RARM); vibroHeat += entity.getActiveVibrobladeHeat(Mech.LOC_LARM); if ( vibroHeat > 0 ){ r = new Report(5017); r.subject = entity.getId(); r.add(vibroHeat); addReport(r); entity.heatBuildup += vibroHeat; } } // if heatbuildup is negative due to temperature, set it to 0 // for prettier turnreports if (entity.heatBuildup < 0) { entity.heatBuildup = 0; } // add the heat we've built up so far. entity.heat += entity.heatBuildup; // how much heat can we sink? int tosink = entity.getHeatCapacityWithWater(); // should we use a coolant pod? int safeHeat = entity.hasInfernoAmmo() ? 9 : 13; int possibleSinkage = ((Mech)entity).getNumberOfSinks(); for (Mounted m : entity.getEquipment()) { if(m.getType() instanceof AmmoType) { AmmoType at = (AmmoType)m.getType(); if(at.getAmmoType() == AmmoType.T_COOLANT_POD && m.isAmmoUsable()) { EquipmentMode mode = m.curMode(); if(mode.equals("dump")) { r = new Report(5260); r.subject = entity.getId(); addReport(r); m.setShotsLeft(0); tosink += possibleSinkage; break; } if(mode.equals("safe") && entity.heat - tosink > safeHeat) { r = new Report(5265); r.subject = entity.getId(); addReport(r); m.setShotsLeft(0); tosink += possibleSinkage; break; } if(mode.equals("efficient") && entity.heat - tosink >= possibleSinkage) { r = new Report(5270); r.subject = entity.getId(); addReport(r); m.setShotsLeft(0); tosink += possibleSinkage; break; } } } } tosink = Math.min( tosink, entity.heat ); entity.heat -= tosink; r = new Report(5035); r.subject = entity.getId(); r.addDesc(entity); r.add(entity.heatBuildup); r.add(tosink); r.add(entity.heat); addReport(r); entity.heatBuildup = 0; // Does the unit have inferno ammo? if( entity.hasInfernoAmmo() ) { // Roll for possible inferno ammo explosion. if (entity.heat >= 10) { int boom = 4 + (entity.heat >= 14 ? 2 : 0) + (entity.heat >= 19 ? 2 : 0) + (entity.heat >= 23 ? 2 : 0) + (entity.heat >= 28 ? 2 : 0); int boomroll = Compute.d6(2); r = new Report(5040); r.subject = entity.getId(); r.addDesc(entity); r.add(boom); r.add(boomroll); if (boomroll >= boom) { //avoided r.choose(true); addReport(r); } else { r.choose(false); addReport(r); addReport( explodeInfernoAmmoFromHeat(entity)); } } } // End avoid-inferno-explosion int autoShutDownHeat; boolean mtHeat; if (game.getOptions().booleanOption("maxtech_heat")) { autoShutDownHeat = 50; mtHeat = true; } else { autoShutDownHeat = 30; mtHeat = false; } // heat effects: start up if (entity.heat < autoShutDownHeat && entity.isShutDown()) { if (entity.heat < 14) { //automatically starts up again entity.setShutDown(false); r = new Report(5045); r.subject = entity.getId(); r.addDesc(entity); addReport(r); } else { //roll for startup int startup = 4 + (entity.heat - 14) / 4 * 2; if (mtHeat) { startup = entity.crew.getPiloting() + startup - 8; } int suroll = Compute.d6(2); r = new Report(5050); r.subject = entity.getId(); r.addDesc(entity); r.add(startup); r.add(suroll); if (suroll >= startup) { //start 'er back up entity.setShutDown(false); r.choose(true); } else { r.choose(false); } addReport(r); } } // heat effects: shutdown! // 2003-01-26 JAD - Don't shut down if you just restarted. else if (entity.heat >= 14 && !entity.isShutDown()) { if (entity.heat >= autoShutDownHeat) { r = new Report(5055); r.subject = entity.getId(); r.addDesc(entity); addReport(r); // add a piloting roll and resolve immediately game.addPSR(new PilotingRollData ( entity.getId(), 3, "reactor shutdown" )); resolvePilotingRolls(); // okay, now mark shut down entity.setShutDown(true); } else if (entity.heat >= 14) { int shutdown = 4 + (entity.heat - 14) / 4 * 2; if (mtHeat) { shutdown = entity.crew.getPiloting() + shutdown - 8; } int sdroll = Compute.d6(2); r = new Report(5060); r.subject = entity.getId(); r.addDesc(entity); r.add(shutdown); r.add(sdroll); if (sdroll >= shutdown) { //avoided r.choose(true); addReport(r); } else { //shutting down... r.choose(false); addReport(r); // add a piloting roll and resolve immediately game.addPSR(new PilotingRollData ( entity.getId(), 3, "reactor shutdown" )); resolvePilotingRolls(); // okay, now mark shut down entity.setShutDown(true); } } } // heat effects: ammo explosion! if (entity.heat >= 19) { int boom = 4 + (entity.heat >= 23 ? 2 : 0) + (entity.heat >= 28 ? 2 : 0); if (mtHeat) { boom += (entity.heat >= 35 ? 2 : 0) + (entity.heat >= 40 ? 2 : 0) + (entity.heat >= 45 ? 2 : 0); // Last line is a crutch; 45 heat should be no roll // but automatic explosion. } if(entity instanceof Mech && ((Mech)entity).hasLaserHeatSinks()) boom--; int boomroll = Compute.d6(2); r = new Report(5065); r.subject = entity.getId(); r.addDesc(entity); r.add(boom); r.add(boomroll); if (boomroll >= boom) { //mech is ok r.choose(true); addReport(r); } else { //boom! r.choose(false); addReport(r); addReport( explodeAmmoFromHeat(entity)); } } // heat effects: mechwarrior damage // N.B. The pilot may already be dead. int lifeSupportCritCount = 0; boolean torsoMountedCockpit = ((Mech)entity).getCockpitType() == Mech.COCKPIT_TORSO_MOUNTED; if (entity instanceof Mech && torsoMountedCockpit) { lifeSupportCritCount = entity.getHitCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_LIFE_SUPPORT, Mech.LOC_RT); lifeSupportCritCount += entity.getHitCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_LIFE_SUPPORT, Mech.LOC_LT); } else { lifeSupportCritCount = entity.getHitCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_LIFE_SUPPORT, Mech.LOC_HEAD); } if (lifeSupportCritCount > 0 && (entity.heat >= 15 || torsoMountedCockpit && entity.heat >= 0) && !entity.crew.isDead() && !entity.crew.isDoomed() && !entity.crew.isEjected()) { int heatLimitDesc = 1; int damageToCrew = 0; if (entity.heat >= 47 && mtHeat) { // mechwarrior takes 5 damage heatLimitDesc = 47; damageToCrew = 5; } else if (entity.heat >= 39 && mtHeat) { // mechwarrior takes 4 damage heatLimitDesc = 39; damageToCrew = 4; } else if (entity.heat >= 32 && mtHeat) { // mechwarrior takes 3 damage heatLimitDesc = 32; damageToCrew = 3; } else if (entity.heat >= 25) { // mechwarrior takes 2 damage heatLimitDesc = 25; damageToCrew = 2; } else if (entity.heat >= 15) { // mechwarrior takes 1 damage heatLimitDesc = 15; damageToCrew = 1; } if (entity.heat > 0 && entity instanceof Mech && ((Mech)entity).getCockpitType() == Mech.COCKPIT_TORSO_MOUNTED) damageToCrew += 1; r = new Report(5070); r.subject = entity.getId(); r.addDesc(entity); r.add(heatLimitDesc); r.add(damageToCrew); addReport(r); damageCrew(entity, damageToCrew); } else if (mtHeat && entity.heat >= 32 && !entity.crew.isDead() && !entity.crew.isDoomed() ) { // Pilot may take damage from heat if MaxTech option is set int heatroll = Compute.d6(2); int avoidNumber = -1; if (entity.heat >= 47) { avoidNumber = 12; } else if (entity.heat >= 39) { avoidNumber = 10; } else if (entity.heat >= 32) { avoidNumber = 8; } r = new Report(5075); r.subject = entity.getId(); r.addDesc(entity); r.add(avoidNumber); r.add(heatroll); if (heatroll >= avoidNumber) { //damage avoided r.choose(true); } else { damageCrew(entity, 1); r.choose(false); } addReport(r); } // The pilot may have just expired. if ( (entity.crew.isDead() || entity.crew.isDoomed() ) && !entity.crew.isEjected() ) { r = new Report(5080); r.subject = entity.getId(); r.addDesc(entity); r.newlines = 0; addReport(r); addReport( destroyEntity(entity, "crew death", true)); } // With MaxTech Heat Scale, there may occur critical damage if (mtHeat) { if (entity.heat >= 36) { int damageroll = Compute.d6(2); int damageNumber = -1; if (entity.heat >= 44) { damageNumber = 10; } else if (entity.heat >= 36) { damageNumber = 8; } r = new Report(5085); r.subject = entity.getId(); r.addDesc(entity); r.add(damageNumber); r.add(damageroll); r.newlines = 0; if (damageroll >= damageNumber) { r.choose(true); addReport(r); } else { r.choose(false); addReport(r); addReport(oneCriticalEntity(entity, Compute.d6(2))); //add an empty report, for linebreaking r = new Report(1210); addReport(r); } } } } if (vPhaseReport.size() == 1) { //I guess nothing happened... addReport(new Report(1205, Report.PUBLIC)); } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/ee5d03b72348c238aad6ca777c4e0833732a5821/Server.java/clean/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2245, 5256, 270, 1435, 288, 3639, 8706, 436, 31, 3639, 368, 5256, 270, 6855, 1446, 3639, 527, 4820, 12, 2704, 8706, 12, 25, 3784, 16, 8706, 18, 14939, 10019, 3639, 364, 261, 21847, 277, 273, 7920, 18, 588, 8108, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 3887, 1522, 273, 261, 1943, 13, 77, 18, 4285, 1046, 5621, 5411, 309, 261, 446, 422, 1522, 18, 588, 2555, 1435, 262, 288, 7734, 1324, 31, 5411, 289, 5411, 467, 7037, 1522, 7037, 273, 7920, 18, 588, 22233, 7675, 588, 7037, 12, 1096, 18, 588, 2555, 10663, 5411, 368, 19347, 3302, 1404, 15177, 364, 1661, 17, 3501, 343, 87, 5411, 309, 16051, 12, 1096, 1276, 7499, 343, 3719, 288, 7734, 1522, 18, 580, 270, 3116, 416, 273, 374, 31, 7734, 309, 12, 13957, 18, 588, 1320, 7675, 6494, 1895, 2932, 537, 18870, 67, 74, 2814, 7923, 13491, 597, 1522, 1276, 399, 2304, 13, 288, 10792, 2245, 58, 73, 18870, 9723, 12443, 56, 2304, 13, 1096, 16, 638, 1769, 7734, 289, 7734, 368, 971, 326, 2836, 353, 6800, 598, 392, 657, 586, 2135, 16, 741, 1183, 7772, 443, 421, 1842, 18, 7734, 469, 309, 261, 1522, 18, 25889, 18050, 18, 291, 510, 737, 38, 321, 310, 10756, 288, 10792, 741, 2340, 7772, 758, 421, 12, 1096, 1769, 7734, 289, 7734, 1324, 31, 5411, 289, 5411, 469, 288, 7734, 368, 490, 3839, 87, 17527, 19347, 628, 12455, 2135, 11076, 18, 7734, 309, 261, 1522, 18, 25889, 18050, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2245, 5256, 270, 1435, 288, 3639, 8706, 436, 31, 3639, 368, 5256, 270, 6855, 1446, 3639, 527, 4820, 12, 2704, 8706, 12, 25, 3784, 16, 8706, 18, 14939, 10019, 3639, 364, 261, 21847, 277, 273, 7920, 18, 588, 8108, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 3887, 1522, 273, 261, 1943, 13, 77, 18, 4285, 1046, 5621, 5411, 309, 261, 446, 422, 1522, 18, 588, 2555, 1435, 262, 288, 7734, 1324, 31, 5411, 289, 5411, 467, 7037, 1522, 7037, 273, 7920, 18, 588, 22233, 7675, 588, 7037, 12, 1096, 18, 588, 2555, 10663, 5411, 368, 19347, 3302, 1404, 15177, 364, 1661, 17, 3501, 343, 87, 5411, 309, 16051, 12, 1096, 1276, 7499, 343, 2 ]
runtime.getNil();
getRuntime().getNil();
public IRubyObject subseq(long beg, long len) { // Subsequence begins at a valid index and a positive length if (beg < 0 || beg > getSize() || len < 0) { runtime.getNil(); } if (beg + len > getSize()) { len = getSize() - beg; } if (len < 0) { len = 0; } if (len == 0) { return RubyArray.newArray(getRuntime()); } RubyArray arr = RubyArray.newArray(getRuntime(), 0); for (long i = beg; i < beg + len; i++) { arr.append(group(i)); } return arr; }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyMatchData.java/buggy/src/org/jruby/RubyMatchData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 720, 5436, 12, 5748, 16847, 16, 1525, 562, 13, 288, 377, 202, 759, 2592, 6178, 17874, 622, 279, 923, 770, 471, 279, 6895, 769, 3639, 309, 261, 70, 1332, 411, 374, 747, 16847, 405, 9950, 1435, 747, 562, 411, 374, 13, 288, 5411, 18814, 7675, 588, 12616, 5621, 3639, 289, 3639, 309, 261, 70, 1332, 397, 562, 405, 9950, 10756, 288, 5411, 562, 273, 9950, 1435, 300, 16847, 31, 3639, 289, 3639, 309, 261, 1897, 411, 374, 13, 288, 5411, 562, 273, 374, 31, 3639, 289, 3639, 309, 261, 1897, 422, 374, 13, 288, 5411, 327, 19817, 1076, 18, 2704, 1076, 12, 588, 5576, 10663, 3639, 289, 7734, 19817, 1076, 2454, 273, 19817, 1076, 18, 2704, 1076, 12, 588, 5576, 9334, 374, 1769, 3639, 364, 261, 5748, 277, 273, 16847, 31, 277, 411, 16847, 397, 562, 31, 277, 27245, 288, 5411, 2454, 18, 6923, 12, 1655, 12, 77, 10019, 3639, 289, 3639, 327, 2454, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 720, 5436, 12, 5748, 16847, 16, 1525, 562, 13, 288, 377, 202, 759, 2592, 6178, 17874, 622, 279, 923, 770, 471, 279, 6895, 769, 3639, 309, 261, 70, 1332, 411, 374, 747, 16847, 405, 9950, 1435, 747, 562, 411, 374, 13, 288, 5411, 18814, 7675, 588, 12616, 5621, 3639, 289, 3639, 309, 261, 70, 1332, 397, 562, 405, 9950, 10756, 288, 5411, 562, 273, 9950, 1435, 300, 16847, 31, 3639, 289, 3639, 309, 261, 1897, 411, 374, 13, 288, 5411, 562, 273, 374, 31, 3639, 289, 3639, 309, 261, 1897, 422, 374, 13, 288, 5411, 327, 19817, 1076, 18, 2704, 1076, 12, 588, 5576, 10663, 3639, 289, 7734, 19817, 1076, 2454, 273, 19817, 1076, 2 ]
byte lsb = (byte) (b & 0x01); return (byte) ((b >>> 1) | (lsb << 7));
int lsb = (b & 0x01); return (byte) (((b & 0xFF) >>> 1) | (lsb << 7));
public static byte rotateClockwise(byte b) { byte lsb = (byte) (b & 0x01); return (byte) ((b >>> 1) | (lsb << 7)); }
9170 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9170/b7e0886ec1e49211f376dae03021436fcab01c67/CompassPoints.java/buggy/railz/src/jfreerails/world/common/CompassPoints.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1160, 8534, 14027, 2460, 12, 7229, 324, 13, 288, 202, 7229, 7180, 70, 273, 261, 7229, 13, 261, 70, 473, 374, 92, 1611, 1769, 202, 2463, 261, 7229, 13, 14015, 70, 4080, 404, 13, 571, 261, 3251, 70, 2296, 2371, 10019, 377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1160, 8534, 14027, 2460, 12, 7229, 324, 13, 288, 202, 7229, 7180, 70, 273, 261, 7229, 13, 261, 70, 473, 374, 92, 1611, 1769, 202, 2463, 261, 7229, 13, 14015, 70, 4080, 404, 13, 571, 261, 3251, 70, 2296, 2371, 10019, 377, 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 ]
updateBuildActions(autoBuild);
updateBuildActions();
public void propertyChange(Preferences.PropertyChangeEvent event) { if (event.getProperty().equals( ResourcesPlugin.PREF_AUTO_BUILDING)) { final boolean autoBuild = ResourcesPlugin.getWorkspace() .isAutoBuilding(); if (window.getShell() != null && !window.getShell().isDisposed()) { // this property change notification could be from a non-ui thread window.getShell().getDisplay().syncExec(new Runnable() { public void run() { updateBuildActions(autoBuild); } }); } } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cf6dbe88c16d566306439f0a3a20accff5b1cafb/WorkbenchActionBuilder.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1272, 3043, 12, 12377, 18, 1396, 20930, 871, 13, 288, 7734, 309, 261, 2575, 18, 588, 1396, 7675, 14963, 12, 13491, 8128, 3773, 18, 3670, 42, 67, 18909, 67, 20215, 1360, 3719, 288, 10792, 727, 1250, 3656, 3116, 273, 8128, 3773, 18, 588, 8241, 1435, 18701, 263, 291, 4965, 16713, 5621, 10792, 309, 261, 5668, 18, 588, 13220, 1435, 480, 446, 18701, 597, 401, 5668, 18, 588, 13220, 7675, 291, 1669, 7423, 10756, 288, 13491, 368, 333, 1272, 2549, 3851, 3377, 506, 628, 279, 1661, 17, 4881, 2650, 13491, 2742, 18, 588, 13220, 7675, 588, 4236, 7675, 8389, 1905, 12, 2704, 10254, 1435, 288, 18701, 1071, 918, 1086, 1435, 288, 27573, 1089, 3116, 6100, 5621, 18701, 289, 13491, 15549, 10792, 289, 7734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2398, 1071, 918, 1272, 3043, 12, 12377, 18, 1396, 20930, 871, 13, 288, 7734, 309, 261, 2575, 18, 588, 1396, 7675, 14963, 12, 13491, 8128, 3773, 18, 3670, 42, 67, 18909, 67, 20215, 1360, 3719, 288, 10792, 727, 1250, 3656, 3116, 273, 8128, 3773, 18, 588, 8241, 1435, 18701, 263, 291, 4965, 16713, 5621, 10792, 309, 261, 5668, 18, 588, 13220, 1435, 480, 446, 18701, 597, 401, 5668, 18, 588, 13220, 7675, 291, 1669, 7423, 10756, 288, 13491, 368, 333, 1272, 2549, 3851, 3377, 506, 628, 279, 1661, 17, 4881, 2650, 13491, 2742, 18, 588, 13220, 7675, 588, 4236, 7675, 8389, 1905, 12, 2704, 10254, 1435, 288, 18701, 1071, 918, 1086, 1435, 288, 27573, 1089, 3116, 6100, 5621, 18701, 2 ]
protected UMOEndpointURI getInDest() { try {
protected UMOEndpointURI getInDest() { try {
protected UMOEndpointURI getInDest() { try { return new MuleEndpointURI("xmpp://mule1:mule@jabber.org.au"); } catch (MalformedEndpointException e) { fail(e.getMessage()); return null; } }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/8cc09178adb8b0a3803c08f7b3cf0b6cf566d2b0/XmppFunctionalTestCase.java/clean/tests/integration/src/test/java/org/mule/test/integration/providers/xmpp/XmppFunctionalTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 587, 5980, 3293, 3098, 7854, 9378, 1435, 288, 540, 775, 288, 5411, 327, 394, 490, 725, 3293, 3098, 2932, 92, 24109, 2207, 81, 725, 21, 30, 81, 725, 36, 78, 378, 744, 18, 3341, 18, 8377, 8863, 3639, 289, 1044, 261, 18695, 3293, 503, 425, 13, 288, 5411, 2321, 12, 73, 18, 24906, 10663, 5411, 327, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 4750, 587, 5980, 3293, 3098, 7854, 9378, 1435, 288, 540, 775, 288, 5411, 327, 394, 490, 725, 3293, 3098, 2932, 92, 24109, 2207, 81, 725, 21, 30, 81, 725, 36, 78, 378, 744, 18, 3341, 18, 8377, 8863, 3639, 289, 1044, 261, 18695, 3293, 503, 425, 13, 288, 5411, 2321, 12, 73, 18, 24906, 10663, 5411, 327, 446, 31, 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 ]
public FProxyToadlet(HighLevelSimpleClient client, byte[] random) {
public FProxyToadlet(HighLevelSimpleClient client, byte[] random, Node node) {
public FProxyToadlet(HighLevelSimpleClient client, byte[] random) { super(client); this.random = random; client.setMaxLength(MAX_LENGTH); client.setMaxIntermediateLength(MAX_LENGTH); }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/4e5d41f2c75a41cc651e6f777b7a50ae3f0adc76/FProxyToadlet.java/buggy/src/freenet/clients/http/FProxyToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 478, 3886, 774, 361, 1810, 12, 8573, 2355, 5784, 1227, 1004, 16, 1160, 8526, 2744, 13, 288, 202, 202, 9565, 12, 2625, 1769, 202, 202, 2211, 18, 9188, 273, 2744, 31, 202, 202, 2625, 18, 542, 29346, 12, 6694, 67, 7096, 1769, 202, 202, 2625, 18, 542, 2747, 2465, 6785, 1782, 12, 6694, 67, 7096, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 478, 3886, 774, 361, 1810, 12, 8573, 2355, 5784, 1227, 1004, 16, 1160, 8526, 2744, 13, 288, 202, 202, 9565, 12, 2625, 1769, 202, 202, 2211, 18, 9188, 273, 2744, 31, 202, 202, 2625, 18, 542, 29346, 12, 6694, 67, 7096, 1769, 202, 202, 2625, 18, 542, 2747, 2465, 6785, 1782, 12, 6694, 67, 7096, 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 ]
TriggerSequence[] sequences= getBestActiveBinding();
KeySequence[] sequences= getInvokingCommandKeySequences();
public void keyPressed(KeyEvent e) { int accelerator = SWTKeySupport.convertEventToUnmodifiedAccelerator(e); KeySequence keySequence = KeySequence.getInstance(SWTKeySupport.convertAcceleratorToKeyStroke(accelerator)); TriggerSequence[] sequences= getBestActiveBinding(); if (sequences == null) return; for (int i= 0; i < sequences.length; i++) { if (sequences[i].equals(keySequence)) { e.doit= false; toggleShowInheritedMembers(); return; } } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/d3b312746d9b505c771292e6b822d0de2cc7828c/JavaOutlineInformationControl.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 498, 24624, 12, 653, 1133, 425, 13, 288, 6862, 202, 474, 15153, 7385, 273, 348, 8588, 653, 6289, 18, 6283, 1133, 774, 984, 7342, 28417, 12, 73, 1769, 6862, 202, 653, 4021, 498, 4021, 273, 1929, 4021, 18, 588, 1442, 12, 55, 8588, 653, 6289, 18, 6283, 28417, 774, 653, 14602, 12, 30737, 7385, 10019, 6862, 202, 6518, 4021, 8526, 8463, 33, 28782, 3896, 5250, 5621, 6862, 202, 430, 261, 17190, 422, 446, 13, 25083, 202, 2463, 31, 6862, 202, 1884, 261, 474, 277, 33, 374, 31, 277, 411, 8463, 18, 2469, 31, 277, 27245, 288, 25083, 202, 430, 261, 17190, 63, 77, 8009, 14963, 12, 856, 4021, 3719, 288, 6862, 1082, 202, 73, 18, 2896, 305, 33, 629, 31, 6862, 1082, 202, 14401, 5706, 29078, 6918, 5621, 6862, 1082, 202, 2463, 31, 25083, 202, 97, 6862, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 498, 24624, 12, 653, 1133, 425, 13, 288, 6862, 202, 474, 15153, 7385, 273, 348, 8588, 653, 6289, 18, 6283, 1133, 774, 984, 7342, 28417, 12, 73, 1769, 6862, 202, 653, 4021, 498, 4021, 273, 1929, 4021, 18, 588, 1442, 12, 55, 8588, 653, 6289, 18, 6283, 28417, 774, 653, 14602, 12, 30737, 7385, 10019, 6862, 202, 6518, 4021, 8526, 8463, 33, 28782, 3896, 5250, 5621, 6862, 202, 430, 261, 17190, 422, 446, 13, 25083, 202, 2463, 31, 6862, 202, 1884, 261, 474, 277, 33, 374, 31, 277, 411, 8463, 18, 2469, 31, 277, 27245, 288, 25083, 202, 430, 261, 17190, 63, 77, 8009, 14963, 12, 856, 4021, 3719, 288, 6862, 1082, 202, 73, 18, 2 ]
Date beginningDate = getBeginningDate(event); Date endingDate = getEndingDate(event); for (Date currentDate = beginningDate; currentDate.before(endingDate); currentDate = nextDay(currentDate)) { addEventToMap(currentDate, event); }
addMultiDayEventToMap(event);
public void add(Object event) { eventsList.add(event); Date beginningDate = getBeginningDate(event); Date endingDate = getEndingDate(event); for (Date currentDate = beginningDate; currentDate.before(endingDate); currentDate = nextDay(currentDate)) { addEventToMap(currentDate, event); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/dbfab952faa5c32f60b2d2c7c252e1e1ac843ed8/EventEditorObservableLazyDataRequestor.java/clean/examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/compositetable/day/binding/EventEditorObservableLazyDataRequestor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 527, 12, 921, 871, 13, 288, 1082, 202, 5989, 682, 18, 1289, 12, 2575, 1769, 1082, 202, 1626, 8435, 1626, 273, 25282, 2093, 1626, 12, 2575, 1769, 1082, 202, 1626, 11463, 1626, 273, 9968, 310, 1626, 12, 2575, 1769, 1082, 202, 1884, 261, 1626, 783, 1626, 273, 8435, 1626, 31, 4697, 202, 2972, 1626, 18, 5771, 12, 2846, 1626, 1769, 4697, 202, 2972, 1626, 273, 1024, 4245, 12, 2972, 1626, 3719, 1875, 202, 95, 9506, 202, 1289, 1133, 18392, 12, 2972, 1626, 16, 871, 1769, 1082, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 527, 12, 921, 871, 13, 288, 1082, 202, 5989, 682, 18, 1289, 12, 2575, 1769, 1082, 202, 1626, 8435, 1626, 273, 25282, 2093, 1626, 12, 2575, 1769, 1082, 202, 1626, 11463, 1626, 273, 9968, 310, 1626, 12, 2575, 1769, 1082, 202, 1884, 261, 1626, 783, 1626, 273, 8435, 1626, 31, 4697, 202, 2972, 1626, 18, 5771, 12, 2846, 1626, 1769, 4697, 202, 2972, 1626, 273, 1024, 4245, 12, 2972, 1626, 3719, 1875, 202, 95, 9506, 202, 1289, 1133, 18392, 12, 2972, 1626, 16, 871, 1769, 1082, 202, 97, 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 ]
public LazySet(Loader loader) {
public LazySet(Loader<E> loader) {
public LazySet(Loader loader) { m_loader = loader; }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/bd4cc08f661db252c895153538564e9f8b9035d3/LazySet.java/clean/opennms-util/src/main/java/org/opennms/core/utils/LazySet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12805, 694, 12, 2886, 4088, 13, 288, 202, 202, 81, 67, 6714, 273, 4088, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12805, 694, 12, 2886, 4088, 13, 288, 202, 202, 81, 67, 6714, 273, 4088, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
body.append(fact.createReturn(returnType));
body.append(InstructionFactory.createReturn(returnType));
private static LazyMethodGen makeDispatcher( LazyClassGen onGen, String dispatchName, ResolvedMember superMethod, BcelWorld world, boolean isSuper) { Type[] paramTypes = BcelWorld.makeBcelTypes(superMethod.getParameterTypes()); Type returnType = BcelWorld.makeBcelType(superMethod.getReturnType()); int modifiers = Modifier.PUBLIC; if (onGen.isInterface()) modifiers |= Modifier.ABSTRACT; LazyMethodGen mg = new LazyMethodGen( modifiers, returnType, dispatchName, paramTypes, TypeX.getNames(superMethod.getExceptions()), onGen); InstructionList body = mg.getBody(); if (onGen.isInterface()) return mg; // assert (!superMethod.isStatic()) InstructionFactory fact = onGen.getFactory(); int pos = 0; body.append(fact.createThis()); pos++; for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; body.append(fact.createLoad(paramType, pos)); pos+=paramType.getSize(); } if (isSuper) { body.append(Utility.createSuperInvoke(fact, world, superMethod)); } else { body.append(Utility.createInvoke(fact, world, superMethod)); } body.append(fact.createReturn(returnType)); return mg; }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/fde423ac335eb547834bb6f1b0ec51ddfac51cd6/BcelTypeMunger.java/buggy/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 12805, 1305, 7642, 1221, 6681, 12, 202, 202, 14443, 797, 7642, 603, 7642, 16, 202, 202, 780, 3435, 461, 16, 202, 202, 12793, 4419, 2240, 1305, 16, 202, 202, 38, 2183, 18071, 9117, 16, 202, 202, 6494, 353, 8051, 13, 225, 202, 95, 202, 202, 559, 8526, 21265, 273, 605, 2183, 18071, 18, 6540, 38, 2183, 2016, 12, 9565, 1305, 18, 588, 1662, 2016, 10663, 202, 202, 559, 9424, 273, 605, 2183, 18071, 18, 6540, 38, 2183, 559, 12, 9565, 1305, 18, 588, 9102, 10663, 25083, 202, 474, 10429, 273, 12832, 18, 14939, 31, 202, 202, 430, 261, 265, 7642, 18, 291, 1358, 10756, 10429, 5626, 12832, 18, 26756, 31, 25083, 202, 14443, 1305, 7642, 11174, 273, 4697, 202, 2704, 12805, 1305, 7642, 12, 6862, 202, 15432, 16, 6862, 202, 2463, 559, 16, 6862, 202, 10739, 461, 16, 6862, 202, 891, 2016, 16, 6862, 202, 559, 60, 18, 588, 1557, 12, 9565, 1305, 18, 588, 11416, 1435, 3631, 6862, 202, 265, 7642, 1769, 202, 202, 11983, 682, 1417, 273, 11174, 18, 588, 2250, 5621, 9506, 202, 430, 261, 265, 7642, 18, 291, 1358, 10756, 327, 11174, 31, 9506, 202, 759, 1815, 16051, 9565, 1305, 18, 291, 5788, 10756, 202, 202, 11983, 1733, 5410, 273, 603, 7642, 18, 588, 1733, 5621, 202, 202, 474, 949, 273, 374, 31, 9506, 202, 3432, 18, 6923, 12, 3493, 18, 2640, 2503, 10663, 202, 202, 917, 9904, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 16, 562, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 12805, 1305, 7642, 1221, 6681, 12, 202, 202, 14443, 797, 7642, 603, 7642, 16, 202, 202, 780, 3435, 461, 16, 202, 202, 12793, 4419, 2240, 1305, 16, 202, 202, 38, 2183, 18071, 9117, 16, 202, 202, 6494, 353, 8051, 13, 225, 202, 95, 202, 202, 559, 8526, 21265, 273, 605, 2183, 18071, 18, 6540, 38, 2183, 2016, 12, 9565, 1305, 18, 588, 1662, 2016, 10663, 202, 202, 559, 9424, 273, 605, 2183, 18071, 18, 6540, 38, 2183, 559, 12, 9565, 1305, 18, 588, 9102, 10663, 25083, 202, 474, 10429, 273, 12832, 18, 14939, 31, 202, 202, 430, 261, 265, 7642, 18, 291, 1358, 10756, 10429, 5626, 12832, 18, 26756, 31, 25083, 202, 14443, 1305, 7642, 2 ]
int i = readerIndex(n); return subReaders[i].document(n - starts[i]);
int i = readerIndex(n); return subReaders[i].document(n - starts[i]);
public Document document(int n) throws IOException { int i = readerIndex(n); // find segment num return subReaders[i].document(n - starts[i]); // dispatch to segment reader }
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/b48c75c33cbc8f4834834d931f10db5c0db0af6b/MultiReader.java/clean/src/java/org/apache/lucene/index/MultiReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4319, 1668, 12, 474, 290, 13, 1216, 1860, 288, 565, 509, 277, 273, 2949, 1016, 12, 82, 1769, 9506, 225, 368, 1104, 3267, 818, 565, 327, 720, 30301, 63, 77, 8009, 5457, 12, 82, 300, 2542, 63, 77, 19226, 202, 225, 368, 3435, 358, 3267, 2949, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4319, 1668, 12, 474, 290, 13, 1216, 1860, 288, 565, 509, 277, 273, 2949, 1016, 12, 82, 1769, 9506, 225, 368, 1104, 3267, 818, 565, 327, 720, 30301, 63, 77, 8009, 5457, 12, 82, 300, 2542, 63, 77, 19226, 202, 225, 368, 3435, 358, 3267, 2949, 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 ]
bitnum = (diff >>>2) + 1 +1;
bitnum = (diff >>>2) + 1;
private int convertJsrOffsetToBitNum(int offset) { int bitnum, diff; if ( offset ==0) return 1; // initial call return first map bit // determine offset in bit area offset = offset + 4; // compensate for different mapping of jsr and ref maps ie no jsr bit in jsr maps diff = local0Offset - offset; // convert from offset to bitnumber bitnum = (diff >>>2) + 1 +1; // 1 for being 1 based +1 for jsr bit if (VM.TraceStkMaps) { VM.sysWrite("convertJsrOffsetToBitnum- Input offset = "); VM.sysWrite( offset ); VM.sysWrite( " jsr bitnum = " ); VM.sysWrite( bitnum); VM.sysWrite( "\n"); } return bitnum; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/0a323e6af9db88b41b8dd710bf2d293b13ef4bd5/VM_ReferenceMaps.java/buggy/rvm/src/vm/compilers/baseline/GCMap/VM_ReferenceMaps.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1765, 8382, 86, 2335, 774, 5775, 2578, 12, 474, 1384, 13, 565, 288, 4202, 509, 2831, 2107, 16, 3122, 31, 1377, 309, 261, 1384, 422, 20, 13, 327, 404, 31, 368, 2172, 745, 327, 1122, 852, 2831, 1377, 368, 4199, 1384, 316, 2831, 5091, 1377, 1384, 273, 1384, 397, 1059, 31, 368, 1161, 773, 340, 364, 3775, 2874, 434, 3828, 86, 471, 1278, 7565, 9228, 1158, 3828, 86, 2831, 316, 3828, 86, 7565, 1377, 3122, 273, 1191, 20, 2335, 300, 1384, 31, 1377, 368, 1765, 628, 1384, 358, 2831, 2696, 1377, 2831, 2107, 273, 261, 5413, 4080, 22, 13, 397, 404, 31, 368, 404, 364, 3832, 404, 2511, 397, 21, 364, 3828, 86, 2831, 1377, 309, 261, 7397, 18, 3448, 510, 79, 8903, 13, 1377, 288, 5411, 8251, 18, 9499, 3067, 2932, 6283, 8382, 86, 2335, 774, 5775, 2107, 17, 2741, 1384, 273, 315, 1769, 5411, 8251, 18, 9499, 3067, 12, 225, 1384, 11272, 5411, 8251, 18, 9499, 3067, 12, 225, 315, 3828, 86, 225, 2831, 2107, 273, 315, 11272, 5411, 8251, 18, 9499, 3067, 12, 225, 2831, 2107, 1769, 5411, 8251, 18, 9499, 3067, 12, 1548, 82, 8863, 1377, 289, 1377, 327, 2831, 2107, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1765, 8382, 86, 2335, 774, 5775, 2578, 12, 474, 1384, 13, 565, 288, 4202, 509, 2831, 2107, 16, 3122, 31, 1377, 309, 261, 1384, 422, 20, 13, 327, 404, 31, 368, 2172, 745, 327, 1122, 852, 2831, 1377, 368, 4199, 1384, 316, 2831, 5091, 1377, 1384, 273, 1384, 397, 1059, 31, 368, 1161, 773, 340, 364, 3775, 2874, 434, 3828, 86, 471, 1278, 7565, 9228, 1158, 3828, 86, 2831, 316, 3828, 86, 7565, 1377, 3122, 273, 1191, 20, 2335, 300, 1384, 31, 1377, 368, 1765, 628, 1384, 358, 2831, 2696, 1377, 2831, 2107, 273, 261, 5413, 4080, 22, 13, 397, 404, 31, 368, 404, 364, 3832, 404, 2511, 397, 21, 364, 3828, 86, 2831, 1377, 309, 2 ]
public RubyObject call( RubyObject recv, RubyId mid, RubyPointer args, int scope) { RubyMethodCacheEntry ent = RubyMethodCacheEntry.getEntry(getRuby(), this, mid); RubyModule klass = this; RubyId id = mid; int noex; Node body; if (ent != null) { if (ent.getMethod() == null) { throw new RuntimeException("undefined method " + mid.toName() + " for " + recv + ":" + recv.getRubyClass().toName()); } klass = ent.getOrigin(); id = ent.getMid0(); noex = ent.getNoex(); body = ent.getMethod(); } else { GetMethodBodyResult gmbr = getMethodBody(id, 0); klass = gmbr.getRecvClass(); id = gmbr.getId(); noex = gmbr.getNoex(); body = gmbr.getBody(); if (body == null) { if (scope == 3) { throw new RubyNameException( getRuby(), "super: no superclass method '" + mid.toName() + "'"); } throw new RuntimeException("undefined method " + mid.toName() + " for " + recv + ":" + recv.getRubyClass().toName()); } } // if (mid != missing) { // /* receiver specified form for private method */ // if ((noex & NOEX_PRIVATE) && scope == 0) // return rb_undefined(recv, mid, argc, argv, CSTAT_PRIV); // /* self must be kind of a specified form for private method */ // if ((noex & NOEX_PROTECTED)) { // VALUE defined_class = klass; // while (TYPE(defined_class) == T_ICLASS) // defined_class = RBASIC(defined_class)->klass; // if (!rb_obj_is_kind_of(ruby_frame->self, defined_class)) // return rb_undefined(recv, mid, argc, argv, CSTAT_PROT); // } // } // ... return klass.call0(recv, id, args, body, false); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 745, 12, 202, 202, 54, 10340, 921, 10665, 16, 202, 202, 54, 10340, 548, 7501, 16, 202, 202, 54, 10340, 4926, 833, 16, 202, 202, 474, 2146, 13, 288, 202, 202, 54, 10340, 1305, 27630, 3281, 273, 19817, 1305, 27630, 18, 588, 1622, 12, 588, 54, 10340, 9334, 333, 16, 7501, 1769, 202, 202, 54, 10340, 3120, 7352, 273, 333, 31, 202, 202, 54, 10340, 548, 612, 273, 7501, 31, 202, 202, 474, 1158, 338, 31, 202, 202, 907, 1417, 31, 202, 202, 430, 261, 319, 480, 446, 13, 288, 1082, 202, 430, 261, 319, 18, 588, 1305, 1435, 422, 446, 13, 288, 9506, 202, 12849, 394, 3235, 2932, 5978, 707, 315, 397, 7501, 18, 869, 461, 1435, 397, 315, 364, 315, 397, 10665, 397, 6153, 397, 10665, 18, 588, 54, 10340, 797, 7675, 869, 461, 10663, 1082, 202, 97, 1082, 202, 22626, 273, 3281, 18, 588, 7571, 5621, 1082, 202, 350, 273, 3281, 18, 588, 20711, 20, 5621, 1082, 202, 2135, 338, 273, 3281, 18, 588, 2279, 338, 5621, 1082, 202, 3432, 273, 3281, 18, 588, 1305, 5621, 202, 202, 97, 469, 288, 1082, 202, 967, 1305, 2250, 1253, 314, 1627, 86, 273, 6272, 2250, 12, 350, 16, 374, 1769, 1082, 202, 22626, 273, 314, 1627, 86, 18, 588, 28470, 797, 5621, 1082, 202, 350, 273, 314, 1627, 86, 18, 26321, 5621, 1082, 202, 2135, 338, 273, 314, 1627, 86, 18, 588, 2279, 338, 5621, 1082, 202, 3432, 273, 314, 1627, 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, 19817, 921, 745, 12, 202, 202, 54, 10340, 921, 10665, 16, 202, 202, 54, 10340, 548, 7501, 16, 202, 202, 54, 10340, 4926, 833, 16, 202, 202, 474, 2146, 13, 288, 202, 202, 54, 10340, 1305, 27630, 3281, 273, 19817, 1305, 27630, 18, 588, 1622, 12, 588, 54, 10340, 9334, 333, 16, 7501, 1769, 202, 202, 54, 10340, 3120, 7352, 273, 333, 31, 202, 202, 54, 10340, 548, 612, 273, 7501, 31, 202, 202, 474, 1158, 338, 31, 202, 202, 907, 1417, 31, 202, 202, 430, 261, 319, 480, 446, 13, 288, 1082, 202, 430, 261, 319, 18, 588, 1305, 1435, 422, 446, 13, 288, 9506, 202, 12849, 394, 3235, 2932, 5978, 707, 315, 397, 7501, 2 ]
super();
public EvalTextArea(SwingGui debugGui) { super(); this.debugGui = debugGui; history = new java.util.Vector(); Document doc = getDocument(); doc.addDocumentListener(this); addKeyListener(this); setLineWrap(true); setFont(new Font("Monospaced", 0, 12)); append("% "); outputMark = doc.getLength(); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/2d4fc75b74d717c754829dde488ff0a7456682cc/SwingGui.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13163, 1528, 5484, 12, 6050, 310, 18070, 1198, 18070, 13, 288, 9079, 333, 18, 4148, 18070, 273, 1198, 18070, 31, 3639, 4927, 273, 394, 2252, 18, 1367, 18, 5018, 5621, 3639, 4319, 997, 273, 9956, 5621, 3639, 997, 18, 1289, 2519, 2223, 12, 2211, 1769, 3639, 24819, 2223, 12, 2211, 1769, 3639, 26482, 2964, 12, 3767, 1769, 3639, 20454, 12, 2704, 10063, 2932, 11415, 538, 909, 72, 3113, 374, 16, 2593, 10019, 3639, 714, 27188, 315, 1769, 3639, 876, 3882, 273, 997, 18, 588, 1782, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13163, 1528, 5484, 12, 6050, 310, 18070, 1198, 18070, 13, 288, 9079, 333, 18, 4148, 18070, 273, 1198, 18070, 31, 3639, 4927, 273, 394, 2252, 18, 1367, 18, 5018, 5621, 3639, 4319, 997, 273, 9956, 5621, 3639, 997, 18, 1289, 2519, 2223, 12, 2211, 1769, 3639, 24819, 2223, 12, 2211, 1769, 3639, 26482, 2964, 12, 3767, 1769, 3639, 20454, 12, 2704, 10063, 2932, 11415, 538, 909, 72, 3113, 374, 16, 2593, 10019, 3639, 714, 27188, 315, 1769, 3639, 876, 3882, 273, 997, 18, 588, 1782, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertTrue("Should fail fast on object", testPasses); }
assertTrue("Should fail fast on object", testPasses); }
public void testExpectNothingFail() { myExpectation.setExpectNothing(); boolean testPasses = false; try { myExpectation.setActual("another object"); } catch (AssertionFailedError ex) { testPasses = true; } assertTrue("Should fail fast on object", testPasses); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/ExpectationValueTest.java/clean/jmock/core/src/test/jmock/expectation/ExpectationValueTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 11988, 23814, 3754, 1435, 288, 3639, 3399, 11988, 367, 18, 542, 11988, 23814, 5621, 3639, 1250, 1842, 6433, 281, 273, 629, 31, 3639, 775, 288, 5411, 3399, 11988, 367, 18, 542, 11266, 2932, 304, 3011, 733, 8863, 3639, 289, 1044, 261, 14979, 2925, 668, 431, 13, 288, 5411, 1842, 6433, 281, 273, 638, 31, 3639, 289, 3639, 1815, 5510, 2932, 14309, 2321, 4797, 603, 733, 3113, 1842, 6433, 281, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 11988, 23814, 3754, 1435, 288, 3639, 3399, 11988, 367, 18, 542, 11988, 23814, 5621, 3639, 1250, 1842, 6433, 281, 273, 629, 31, 3639, 775, 288, 5411, 3399, 11988, 367, 18, 542, 11266, 2932, 304, 3011, 733, 8863, 3639, 289, 1044, 261, 14979, 2925, 668, 431, 13, 288, 5411, 1842, 6433, 281, 273, 638, 31, 3639, 289, 3639, 1815, 5510, 2932, 14309, 2321, 4797, 603, 733, 3113, 1842, 6433, 281, 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 ]
bag.putObjectToReturn(KEY1, 1);
bag.putObjectToReturn(KEY1, 1);
public void testReturnInt() { bag.putObjectToReturn(KEY1, 1); assertEquals("Should be 1", 1, bag.getNextReturnInt(KEY1)); bag.verify(); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/ReturnObjectBagTest.java/buggy/jmock/core/src/test/jmock/expectation/ReturnObjectBagTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 990, 1702, 1435, 288, 202, 202, 22551, 18, 458, 921, 27014, 12, 3297, 21, 16, 404, 1769, 202, 202, 11231, 8867, 2932, 14309, 506, 404, 3113, 404, 16, 13189, 18, 588, 2134, 990, 1702, 12, 3297, 21, 10019, 202, 202, 22551, 18, 8705, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 990, 1702, 1435, 288, 202, 202, 22551, 18, 458, 921, 27014, 12, 3297, 21, 16, 404, 1769, 202, 202, 11231, 8867, 2932, 14309, 506, 404, 3113, 404, 16, 13189, 18, 588, 2134, 990, 1702, 12, 3297, 21, 10019, 202, 202, 22551, 18, 8705, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
value = new EnumConstValue( cr.readClass( off =+ 2, buf), cr.readClass( off =+ 2, buf));
value = new EnumConstValue( cr.readClass( off, buf), cr.readClass( off+2, buf)); off += 4;
public int read( ClassReader cr, int off, char[] buf) { tag = cr.b[ off++] & 0xff; switch( tag) { case 'B': // pointer to CONSTANT_Byte case 'C': // pointer to CONSTANT_Char case 'D': // pointer to CONSTANT_Double case 'F': // pointer to CONSTANT_Float case 'I': // pointer to CONSTANT_Integer case 'J': // pointer to CONSTANT_Long case 'S': // pointer to CONSTANT_Short case 'Z': // pointer to CONSTANT_Boolean case 's': // pointer to CONSTANT_Utf8 value = cr.readConst( cr.readUnsignedShort( off =+ 2), buf); break; case 'e': // enum_const_value value = new EnumConstValue( cr.readClass( off =+ 2, buf), cr.readClass( off =+ 2, buf)); break; case 'c': // class_info value = cr.readClass( off =+ 2, buf); break; case '@': // annotation_value value = new Annotation(); off = (( Annotation) value).read( cr, off, buf); break; case '[': // array_value value = new LinkedList(); int size = cr.readUnsignedShort( off =+ 2); for( int i = 0; i<size; i++) { AnnotationMemberValue member = new AnnotationMemberValue(); member.read( cr, off, buf); (( List) value).add( member); } break; } return off; }
8320 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8320/f2a1c6f2872a82afd2f2c6d90320f1ef3135eb32/AnnotationMemberValue.java/buggy/asm/src/org/objectweb/asm/attrs/AnnotationMemberValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 855, 12, 1659, 2514, 4422, 16, 509, 3397, 16, 1149, 8526, 1681, 13, 288, 565, 1047, 273, 4422, 18, 70, 63, 3397, 9904, 65, 473, 374, 5297, 31, 565, 1620, 12, 1047, 13, 288, 1377, 648, 296, 38, 4278, 225, 368, 4407, 358, 24023, 67, 3216, 1377, 648, 296, 39, 4278, 225, 368, 4407, 358, 24023, 67, 2156, 1377, 648, 296, 40, 4278, 225, 368, 4407, 358, 24023, 67, 5265, 1377, 648, 296, 42, 4278, 225, 368, 4407, 358, 24023, 67, 4723, 1377, 648, 296, 45, 4278, 225, 368, 4407, 358, 24023, 67, 4522, 1377, 648, 296, 46, 4278, 225, 368, 4407, 358, 24023, 67, 3708, 1377, 648, 296, 55, 4278, 225, 368, 4407, 358, 24023, 67, 4897, 1377, 648, 296, 62, 4278, 225, 368, 4407, 358, 24023, 67, 5507, 4202, 648, 296, 87, 4278, 225, 368, 4407, 358, 24023, 67, 15230, 28, 3639, 460, 273, 4422, 18, 896, 9661, 12, 4422, 18, 896, 13290, 4897, 12, 3397, 273, 15, 576, 3631, 1681, 1769, 540, 898, 31, 2868, 648, 296, 73, 4278, 225, 368, 2792, 67, 10248, 67, 1132, 3639, 460, 273, 394, 6057, 9661, 620, 12, 4422, 18, 896, 797, 12, 3397, 16, 1681, 3631, 4422, 18, 896, 797, 12, 3397, 15, 22, 16, 1681, 10019, 3397, 1011, 1059, 31, 3639, 898, 31, 9079, 648, 296, 71, 4278, 225, 368, 667, 67, 1376, 3639, 460, 273, 4422, 18, 896, 797, 12, 3397, 273, 15, 576, 16, 1681, 1769, 3639, 898, 31, 2868, 648, 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, 509, 855, 12, 1659, 2514, 4422, 16, 509, 3397, 16, 1149, 8526, 1681, 13, 288, 565, 1047, 273, 4422, 18, 70, 63, 3397, 9904, 65, 473, 374, 5297, 31, 565, 1620, 12, 1047, 13, 288, 1377, 648, 296, 38, 4278, 225, 368, 4407, 358, 24023, 67, 3216, 1377, 648, 296, 39, 4278, 225, 368, 4407, 358, 24023, 67, 2156, 1377, 648, 296, 40, 4278, 225, 368, 4407, 358, 24023, 67, 5265, 1377, 648, 296, 42, 4278, 225, 368, 4407, 358, 24023, 67, 4723, 1377, 648, 296, 45, 4278, 225, 368, 4407, 358, 24023, 67, 4522, 1377, 648, 296, 46, 4278, 225, 368, 4407, 358, 24023, 67, 3708, 1377, 648, 296, 55, 4278, 225, 368, 4407, 358, 24023, 2 ]
AST tmp2177_AST_in = (AST)_t;
AST tmp2176_AST_in = (AST)_t;
public final void source_buffer_phrase(AST _t) throws RecognitionException { AST source_buffer_phrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t946 = _t; AST tmp2173_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case KEYS: { AST tmp2174_AST_in = (AST)_t; match(_t,KEYS); _t = _t.getNextSibling(); AST tmp2175_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ROWID: { AST tmp2176_AST_in = (AST)_t; match(_t,ROWID); _t = _t.getNextSibling(); break; } case Field_ref: { field(_t); _t = _retTree; { _loop950: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2177_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); field(_t); _t = _retTree; } else { break _loop950; } } while (true); } break; } default: { throw new NoViableAltException(_t); } } } AST tmp2178_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t946; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/JPTreeParser.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1084, 67, 4106, 67, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1084, 67, 4106, 67, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 29, 8749, 273, 389, 88, 31, 202, 202, 9053, 1853, 22, 31331, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 22261, 67, 1985, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 24546, 30, 202, 202, 95, 1082, 202, 9053, 1853, 22, 28686, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 16333, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 9053, 1853, 22, 4033, 25, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 10066, 15111, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 95, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 29589, 734, 30, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1084, 67, 4106, 67, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1084, 67, 4106, 67, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 29, 8749, 273, 389, 88, 31, 202, 202, 9053, 1853, 22, 31331, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 22261, 67, 1985, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 2 ]
public void exclusiveOrExpression() throws Exception { andExpression();
protected void exclusiveOrExpression( Object expression ) throws Exception { andExpression( expression );
public void exclusiveOrExpression() throws Exception { andExpression(); while (LT(1) == Token.tXOR) { Token t = consume(); andExpression(); callback.expressionOperator(t); } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/14f209afacefaf1ea1c7cf1c38e0c44afbb6e571/Parser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12060, 23695, 1435, 1216, 1185, 288, 202, 202, 464, 2300, 5621, 9506, 202, 17523, 261, 12050, 12, 21, 13, 422, 3155, 18, 88, 60, 916, 13, 288, 1082, 202, 1345, 268, 273, 7865, 5621, 1082, 202, 464, 2300, 5621, 1082, 202, 3394, 18, 8692, 5592, 12, 88, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12060, 23695, 1435, 1216, 1185, 288, 202, 202, 464, 2300, 5621, 9506, 202, 17523, 261, 12050, 12, 21, 13, 422, 3155, 18, 88, 60, 916, 13, 288, 1082, 202, 1345, 268, 273, 7865, 5621, 1082, 202, 464, 2300, 5621, 1082, 202, 3394, 18, 8692, 5592, 12, 88, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(!sign1.getTokenType().equals(sign2.getTokenType())){
final IElementType tokenType1 = sign1.getTokenType(); if(!tokenType1.equals(sign2.getTokenType())){
private static boolean assignmentExpressionsAreEquivalent( @NotNull PsiAssignmentExpression assignExp1, @NotNull PsiAssignmentExpression assignExp2){ final PsiJavaToken sign1 = assignExp1.getOperationSign(); final PsiJavaToken sign2 = assignExp2.getOperationSign(); if(!sign1.getTokenType().equals(sign2.getTokenType())){ return false; } final PsiExpression lhs1 = assignExp1.getLExpression(); final PsiExpression lhs2 = assignExp2.getLExpression(); final PsiExpression rhs1 = assignExp1.getRExpression(); final PsiExpression rhs2 = assignExp2.getRExpression(); return expressionsAreEquivalent(lhs1, lhs2) && expressionsAreEquivalent(rhs1, rhs2); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/56cd877e6165ef40ca5d20020e04147ae7f2dee4/EquivalenceChecker.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/EquivalenceChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 6661, 8927, 4704, 22606, 12, 5411, 632, 5962, 453, 7722, 7729, 2300, 2683, 2966, 21, 16, 5411, 632, 5962, 453, 7722, 7729, 2300, 2683, 2966, 22, 15329, 3639, 727, 453, 7722, 5852, 1345, 1573, 21, 273, 2683, 2966, 21, 18, 588, 2988, 2766, 5621, 3639, 727, 453, 7722, 5852, 1345, 1573, 22, 273, 2683, 2966, 22, 18, 588, 2988, 2766, 5621, 3639, 727, 467, 17481, 22302, 21, 273, 1573, 21, 18, 588, 28675, 5621, 309, 12, 5, 2316, 559, 21, 18, 14963, 12, 2977, 22, 18, 588, 28675, 1435, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 8499, 21, 273, 2683, 2966, 21, 18, 588, 48, 2300, 5621, 3639, 727, 453, 7722, 2300, 8499, 22, 273, 2683, 2966, 22, 18, 588, 48, 2300, 5621, 3639, 727, 453, 7722, 2300, 7711, 21, 273, 2683, 2966, 21, 18, 588, 54, 2300, 5621, 3639, 727, 453, 7722, 2300, 7711, 22, 273, 2683, 2966, 22, 18, 588, 54, 2300, 5621, 3639, 327, 8041, 4704, 22606, 12, 80, 4487, 21, 16, 8499, 22, 13, 7734, 597, 8041, 4704, 22606, 12, 86, 4487, 21, 16, 7711, 22, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 6661, 8927, 4704, 22606, 12, 5411, 632, 5962, 453, 7722, 7729, 2300, 2683, 2966, 21, 16, 5411, 632, 5962, 453, 7722, 7729, 2300, 2683, 2966, 22, 15329, 3639, 727, 453, 7722, 5852, 1345, 1573, 21, 273, 2683, 2966, 21, 18, 588, 2988, 2766, 5621, 3639, 727, 453, 7722, 5852, 1345, 1573, 22, 273, 2683, 2966, 22, 18, 588, 2988, 2766, 5621, 3639, 727, 467, 17481, 22302, 21, 273, 1573, 21, 18, 588, 28675, 5621, 309, 12, 5, 2316, 559, 21, 18, 14963, 12, 2977, 22, 18, 588, 28675, 1435, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 8499, 21, 273, 2683, 2966, 21, 18, 588, 48, 2300, 5621, 3639, 727, 2 ]
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { this.applicationContext = applicationContext; String[] viewbeans = applicationContext .getBeanNamesForType(StaticTLAB.class, false, false);
public void setApplicationContext(ApplicationContext applicationContext) { String[] viewbeans = applicationContext.getBeanNamesForType( TargetListAggregatingBean.class, false, false); for (int i = 0; i < viewbeans.length; ++i) { TargetListAggregatingBean tlab = (TargetListAggregatingBean) applicationContext .getBean(viewbeans[i]); MapUtil.putMultiMap(targetMap, tlab.getTargetBean(), tlab); }
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { this.applicationContext = applicationContext; String[] viewbeans = applicationContext .getBeanNamesForType(StaticTLAB.class, false, false); }
29 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/29/240522d7c27049f05db159ed6098abcb6cf5a633/TLABPostProcessor.java/buggy/rsf-core/servletutil/src/uk/org/ponder/springutil/TLABPostProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 28278, 12, 28278, 31775, 13, 1216, 4823, 634, 503, 288, 565, 333, 18, 3685, 1042, 273, 31775, 31, 565, 514, 8526, 1476, 2196, 634, 273, 31775, 1377, 263, 588, 3381, 1557, 22405, 12, 5788, 5967, 2090, 18, 1106, 16, 629, 16, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 28278, 12, 28278, 31775, 13, 1216, 4823, 634, 503, 288, 565, 333, 18, 3685, 1042, 273, 31775, 31, 565, 514, 8526, 1476, 2196, 634, 273, 31775, 1377, 263, 588, 3381, 1557, 22405, 12, 5788, 5967, 2090, 18, 1106, 16, 629, 16, 629, 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 ]
if (name != null) getOut().print("<B>Name: </B>" + name + "<BR>"); if (type != null) getOut().print("<B>Type: </B>" + type + "<BR>"); if (desc != null) getOut().print("<B>Description: </B>" + desc + "<BR>");
if (name != null) getOut().print("<B>Name: </B>" + name + "<BR>"); if (type != null) getOut().print("<B>Type: </B>" + type + "<BR>"); if (desc != null) getOut().print("<B>Description: </B>" + desc + "<BR>");
void formatAttachmentBox(InternetHeaders headers, String type, String link_name, String link_url, String body, boolean all_headers_p) { String icon = "internal-gopher-binary"; // #### getOut().print("<CENTER>" + "<TABLE CELLPADDING=8 CELLSPACING=1 BORDER=1>" + "<TR><TD NOWRAP>");//#### Temporarily removed because the current renderer doesn't get it --Edwin if (icon != null) { getOut().print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>" + "<TR><TD NOWRAP VALIGN=CENTER>"); if (link_url != null) getOut().print("<A HREF=\"" + link_url + "\">"); getOut().print("<IMG SRC=\"" + icon + "\" BORDER=0 ALIGN=MIDDLE ALT=\"\">"); if (link_url != null) getOut().print("</A>"); getOut().print("</TD><TD VALIGN=CENTER>"); }//#### End of temporarily removed block --Edwin if (link_url != null) getOut().print("<A HREF=\"" + link_url + "\">"); getOut().print(link_name); if (link_url != null) getOut().print("</A>");//#### Temporarily removed because the current renderer doesn't get it --Edwin if (icon != null) getOut().print("</TD></TR></TABLE>");//#### End of temporarily removed block --Edwin getOut().print("</TD><TD>"); if (all_headers_p) { FullHeaderFormatter formatter = new FullHeaderFormatter(); StringBuffer output = new StringBuffer(200); formatter.formatHeaders(headers, output); getOut().print(output.toString()); } else { String cde[] = headers.getHeader("Content-Description"); String desc = (cde == null || cde.length == 0 ? null : cde[0]); String name = null; ByteBuf buf = new ByteBuf(50); String cdi[] = headers.getHeader("Content-Disposition"); String disp = (cdi == null || cdi.length == 0 ? null : cdi[0]);// #### if (disp != null) name = headers.getHeader("filename", "\n"); if (name == null) if ((type = headers.getHeader("Content-Type", "\n")) != null) name = headers.getHeader("name", "\n"); if (name == null) { String n[] = headers.getHeader("Content-Name"); if (n != null && n.length != 0) name = n[0]; }//#### Temporarily removed because the current renderer doesn't get it --Edwin// getOut().print("<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>");//// if (name != null)// getOut().print("<TR><TH VALIGN=BASELINE ALIGN=RIGHT NOWRAP>" +// "Name" + // #### l10n// ": </TH><TD>" +// name +// "</TD></TR>");//// if (type != null)// getOut().print("<TR><TH VALIGN=BASELINE ALIGN=RIGHT NOWRAP>" +// "Type" + // #### l10n// ": </TH><TD>" +// type +// "</TD></TR>");//// if (desc != null)// getOut().print("<TR><TH VALIGN=BASELINE ALIGN=RIGHT NOWRAP>" +// "Description" + // #### l10n// ": </TH><TD>" +// desc +// "</TD></TR>");//// getOut().print("</TABLE>");//#### End of temporarily removed block --Edwin//#### Temporarily inserted to get rendering working --Edwin if (name != null) getOut().print("<B>Name: </B>" + name + "<BR>"); if (type != null) getOut().print("<B>Type: </B>" + type + "<BR>"); if (desc != null) getOut().print("<B>Description: </B>" + desc + "<BR>");//#### End of temporarily inserted block --Edwin } if (body != null) {// getOut().print("<P><PRE>"); // #### quote HTML getOut().print(body);// getOut().print("</PRE>"); }// getOut().print("</TD></TR></TABLE></CENTER>"); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/0cc63cb388a13f01532486f9d178811914e6d71b/MimeExternalObjectOperator.java/buggy/grendel/sources/grendel/mime/html/MimeExternalObjectOperator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 740, 6803, 3514, 12, 26562, 3121, 1607, 16, 514, 618, 16, 21821, 514, 1692, 67, 529, 16, 514, 1692, 67, 718, 16, 514, 1417, 16, 21821, 1250, 777, 67, 2485, 67, 84, 13, 288, 565, 514, 4126, 273, 315, 7236, 17, 75, 556, 1614, 17, 8578, 14432, 377, 368, 11849, 7, 565, 23141, 7675, 1188, 2932, 32, 19835, 2984, 397, 5397, 3532, 7775, 385, 2247, 14461, 26710, 33, 28, 385, 2247, 3045, 52, 2226, 1360, 33, 21, 605, 7954, 33, 21, 2984, 397, 5397, 3532, 4349, 4438, 23409, 3741, 27664, 2984, 1769, 759, 1970, 3955, 3831, 10243, 3723, 2724, 326, 783, 5690, 3302, 1404, 336, 518, 1493, 2671, 8082, 565, 309, 261, 3950, 480, 446, 13, 288, 1377, 23141, 7675, 1188, 2932, 32, 7775, 605, 7954, 33, 20, 385, 2247, 14461, 26710, 33, 20, 385, 2247, 3045, 52, 2226, 1360, 33, 20, 2984, 397, 15604, 3532, 4349, 4438, 23409, 3741, 27664, 5143, 10452, 33, 19835, 2984, 1769, 1377, 309, 261, 1232, 67, 718, 480, 446, 13, 3639, 23141, 7675, 1188, 2932, 32, 37, 670, 10771, 13186, 397, 1692, 67, 718, 397, 7023, 2984, 1769, 1377, 23141, 7675, 1188, 2932, 32, 3445, 43, 348, 11529, 13186, 397, 4126, 397, 15604, 7023, 605, 7954, 33, 20, 21892, 33, 49, 25578, 30939, 5189, 21121, 1769, 1377, 309, 261, 1232, 67, 718, 480, 446, 13, 23141, 7675, 1188, 2932, 1757, 37, 2984, 1769, 1377, 23141, 7675, 1188, 2932, 1757, 23409, 4438, 23409, 5143, 10452, 33, 19835, 2984, 1769, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 740, 6803, 3514, 12, 26562, 3121, 1607, 16, 514, 618, 16, 21821, 514, 1692, 67, 529, 16, 514, 1692, 67, 718, 16, 514, 1417, 16, 21821, 1250, 777, 67, 2485, 67, 84, 13, 288, 565, 514, 4126, 273, 315, 7236, 17, 75, 556, 1614, 17, 8578, 14432, 377, 368, 11849, 7, 565, 23141, 7675, 1188, 2932, 32, 19835, 2984, 397, 5397, 3532, 7775, 385, 2247, 14461, 26710, 33, 28, 385, 2247, 3045, 52, 2226, 1360, 33, 21, 605, 7954, 33, 21, 2984, 397, 5397, 3532, 4349, 4438, 23409, 3741, 27664, 2984, 1769, 759, 1970, 3955, 3831, 10243, 3723, 2724, 326, 783, 5690, 3302, 1404, 336, 518, 1493, 2671, 8082, 565, 309, 261, 3950, 480, 446, 13, 288, 2 ]
super(METHOD_PATTERN,sessionFactory, classLoader); if(application == null) throw new IllegalArgumentException("Constructor argument 'application' cannot be null"); this.application = application;
super(METHOD_PATTERN,sessionFactory, classLoader, application);
public SavePersistentMethod(SessionFactory sessionFactory, ClassLoader classLoader, GrailsApplication application) { super(METHOD_PATTERN,sessionFactory, classLoader); if(application == null) throw new IllegalArgumentException("Constructor argument 'application' cannot be null"); this.application = application; }
54552 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54552/1f93a00b9ded85ce53eea3e9d4bda1f2c680aa2c/SavePersistentMethod.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/SavePersistentMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7074, 11906, 1305, 12, 2157, 1733, 1339, 1733, 16, 9403, 11138, 16, 10812, 14573, 3208, 2521, 13, 288, 3639, 2240, 12, 5327, 67, 10831, 16, 3184, 1733, 16, 11138, 1769, 3639, 309, 12, 3685, 422, 446, 13, 5411, 604, 394, 2754, 2932, 6293, 1237, 296, 3685, 11, 2780, 506, 446, 8863, 3639, 333, 18, 3685, 273, 2521, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7074, 11906, 1305, 12, 2157, 1733, 1339, 1733, 16, 9403, 11138, 16, 10812, 14573, 3208, 2521, 13, 288, 3639, 2240, 12, 5327, 67, 10831, 16, 3184, 1733, 16, 11138, 1769, 3639, 309, 12, 3685, 422, 446, 13, 5411, 604, 394, 2754, 2932, 6293, 1237, 296, 3685, 11, 2780, 506, 446, 8863, 3639, 333, 18, 3685, 273, 2521, 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 ]
browseButton.setText(WorkbenchMessages.getString("CreateLinkedResourceGroup.browseButton"));
browseButton.setText(NewWizardMessages.getString("CreateLinkedResourceGroup.browseButton"));
public Button getBrowseButtonControl(Composite parent){ // browse button if(browseButton == null){ assertCompositeNotNull(parent); browseButton = new Button(parent, SWT.PUSH); //setButtonLayoutData(browseButton); browseButton.setFont(parent.getFont()); browseButton.setText(WorkbenchMessages.getString("CreateLinkedResourceGroup.browseButton")); //$NON-NLS-1$ browseButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { handleLinkTargetBrowseButtonPressed(); } }); browseButton.setEnabled(createLink); } return browseButton; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ad024f522bfded2b084003834636c3f90c1e2aef/LinkToFileGroup.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/dialogfields/LinkToFileGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12569, 2882, 12481, 3616, 3367, 12, 9400, 982, 15329, 202, 202, 759, 21670, 3568, 202, 202, 430, 12, 25731, 3616, 422, 446, 15329, 1082, 202, 11231, 9400, 5962, 12, 2938, 1769, 1082, 202, 25731, 3616, 273, 394, 12569, 12, 2938, 16, 348, 8588, 18, 30348, 1769, 1082, 202, 759, 542, 3616, 3744, 751, 12, 25731, 3616, 1769, 1082, 202, 25731, 3616, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 1082, 202, 25731, 3616, 18, 542, 1528, 12, 1908, 27130, 5058, 18, 588, 780, 2932, 1684, 13174, 18860, 18, 25731, 3616, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 25731, 3616, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 9506, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 871, 13, 288, 6862, 202, 4110, 2098, 2326, 27304, 3616, 24624, 5621, 9506, 202, 97, 1082, 202, 22938, 1082, 202, 25731, 3616, 18, 542, 1526, 12, 2640, 2098, 1769, 202, 202, 97, 202, 202, 2463, 21670, 3616, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12569, 2882, 12481, 3616, 3367, 12, 9400, 982, 15329, 202, 202, 759, 21670, 3568, 202, 202, 430, 12, 25731, 3616, 422, 446, 15329, 1082, 202, 11231, 9400, 5962, 12, 2938, 1769, 1082, 202, 25731, 3616, 273, 394, 12569, 12, 2938, 16, 348, 8588, 18, 30348, 1769, 1082, 202, 759, 542, 3616, 3744, 751, 12, 25731, 3616, 1769, 1082, 202, 25731, 3616, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 1082, 202, 25731, 3616, 18, 542, 1528, 12, 1908, 27130, 5058, 18, 588, 780, 2932, 1684, 13174, 18860, 18, 25731, 3616, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 25731, 3616, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 9506, 202, 2 ]
a.getProps().setTipo(""); return a;
atrDeIns.getProps().setTipo(""); return atrDeIns;
public Par PElse() throws Exception{ Par a = new Par(); Par atrDeIns; if (lexico.reconoce(Tipos.TKPYCOMA)){ Token tk; tk = lexico.getNextToken(); if (!tk.equals(new Token ("else",Tipos.TKELS))){ a.getProps().setTipo(""); return a; } lexico.lexer(); //consumimos else atrDeIns = I(); a = atrDeIns; } else{ a.getProps().setTipo("error"); } return a; }
10474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10474/f6dc44d80fd64451a5eb89c4413e42d14f2f424d/Sintactico.java/buggy/plg/procesador/Sintactico.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2280, 453, 12427, 1435, 1216, 1185, 95, 202, 202, 1553, 279, 273, 394, 2280, 5621, 202, 202, 1553, 622, 86, 758, 5048, 31, 202, 202, 430, 261, 4149, 10764, 18, 266, 591, 83, 311, 12, 14189, 538, 18, 56, 47, 16235, 4208, 37, 3719, 95, 1082, 202, 1345, 13030, 31, 1082, 202, 16099, 273, 5275, 10764, 18, 588, 9399, 5621, 1082, 202, 430, 16051, 16099, 18, 14963, 12, 2704, 3155, 7566, 12107, 3113, 14189, 538, 18, 56, 47, 2247, 55, 3719, 15329, 9506, 202, 69, 18, 588, 5047, 7675, 542, 14189, 83, 2932, 8863, 9506, 202, 2463, 279, 31, 1082, 202, 97, 1082, 202, 4149, 10764, 18, 31731, 5621, 368, 17664, 381, 538, 469, 1082, 202, 270, 86, 758, 5048, 273, 467, 5621, 1082, 202, 69, 273, 622, 86, 758, 5048, 31, 1082, 202, 97, 202, 202, 12107, 95, 1082, 202, 69, 18, 588, 5047, 7675, 542, 14189, 83, 2932, 1636, 8863, 202, 202, 97, 1082, 202, 2463, 279, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2280, 453, 12427, 1435, 1216, 1185, 95, 202, 202, 1553, 279, 273, 394, 2280, 5621, 202, 202, 1553, 622, 86, 758, 5048, 31, 202, 202, 430, 261, 4149, 10764, 18, 266, 591, 83, 311, 12, 14189, 538, 18, 56, 47, 16235, 4208, 37, 3719, 95, 1082, 202, 1345, 13030, 31, 1082, 202, 16099, 273, 5275, 10764, 18, 588, 9399, 5621, 1082, 202, 430, 16051, 16099, 18, 14963, 12, 2704, 3155, 7566, 12107, 3113, 14189, 538, 18, 56, 47, 2247, 55, 3719, 15329, 9506, 202, 69, 18, 588, 5047, 7675, 542, 14189, 83, 2932, 8863, 9506, 202, 2463, 279, 31, 1082, 202, 97, 1082, 202, 4149, 10764, 18, 31731, 5621, 368, 17664, 381, 538, 469, 1082, 202, 2 ]