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
if (sj.getSplitPop(0) == 1)
if (sj.getSplitPop(0) == 0) outputStream.writeBytes(" setSplitter (NULL ());\n"); else if (sj.getSplitPop(0) == 1)
public void printSJ(SplitJoinIter sj, DataOutputStream outputStream) { try { outputStream.writeBytes(" public void init ()\n {\n"); ASSERT(sj.getSplitterNumWork() == 1); if (sj.getSplitPop(0) == 1) outputStream.writeBytes(" setSplitter (DUPLICATE ());\n"); else { outputStream.writeBytes(" setSplitter (WEIGHTED_ROUND_ROBIN ("); int nOut; for (nOut = 0; nOut < sj.getFanOut() - 1; nOut++) { outputStream.writeBytes(sj.getSplitPushWeights(0)[nOut] + ", "); } outputStream.writeBytes(sj.getSplitPushWeights(0)[nOut] + "));\n"); } for (int nChild = 0; nChild < sj.getNumChildren(); nChild++) { outputStream.writeBytes( " add(new " + getName(sj.getChild(nChild)) + " ());\n"); } { outputStream.writeBytes(" setJoiner (WEIGHTED_ROUND_ROBIN ("); int nIn; for (nIn = 0; nIn < sj.getFanIn() - 1; nIn++) { outputStream.writeBytes(sj.getSplitPushWeights(0)[nIn] + ", "); } outputStream.writeBytes(sj.getSplitPushWeights(0)[nIn] + "));\n"); } outputStream.writeBytes(" }\n"); } catch (Throwable e) { ERROR(e); } for (int nChild = 0; nChild < sj.getNumChildren(); nChild++) { printStream(sj.getChild(nChild)); } }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/0966e63b5148bd32c852b7b53c1b8c7cb556bec2/PrintProgram.java/clean/streams/src/streamit/scheduler2/print/PrintProgram.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1172, 55, 46, 12, 5521, 4572, 2360, 30252, 16, 28680, 14956, 13, 565, 288, 3639, 775, 3639, 288, 5411, 14956, 18, 2626, 2160, 2932, 225, 1071, 918, 1208, 1832, 64, 82, 225, 18890, 82, 8863, 5411, 17289, 11539, 12, 87, 78, 18, 588, 26738, 2578, 2421, 1435, 422, 404, 1769, 5411, 309, 261, 87, 78, 18, 588, 5521, 7049, 12, 20, 13, 422, 374, 13, 14956, 18, 2626, 2160, 2932, 565, 444, 26738, 261, 8560, 1832, 20472, 82, 8863, 469, 309, 261, 87, 78, 18, 588, 5521, 7049, 12, 20, 13, 422, 404, 13, 7734, 14956, 18, 2626, 2160, 2932, 565, 444, 26738, 261, 30387, 26042, 1832, 20472, 82, 8863, 5411, 469, 5411, 288, 7734, 14956, 18, 2626, 2160, 2932, 565, 444, 26738, 261, 6950, 16055, 6404, 67, 15092, 67, 1457, 12615, 7566, 1769, 7734, 509, 290, 1182, 31, 7734, 364, 261, 82, 1182, 273, 374, 31, 290, 1182, 411, 30252, 18, 588, 42, 304, 1182, 1435, 300, 404, 31, 290, 1182, 27245, 7734, 288, 10792, 14956, 18, 2626, 2160, 12, 87, 78, 18, 588, 5521, 7621, 16595, 12, 20, 25146, 82, 1182, 65, 397, 3104, 315, 1769, 7734, 289, 7734, 14956, 18, 2626, 2160, 12, 87, 78, 18, 588, 5521, 7621, 16595, 12, 20, 25146, 82, 1182, 65, 397, 9369, 20472, 82, 8863, 5411, 289, 5411, 364, 261, 474, 290, 1763, 273, 374, 31, 290, 1763, 411, 30252, 18, 588, 2578, 4212, 5621, 290, 1763, 27245, 5411, 288, 7734, 14956, 18, 2626, 2160, 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, 1172, 55, 46, 12, 5521, 4572, 2360, 30252, 16, 28680, 14956, 13, 565, 288, 3639, 775, 3639, 288, 5411, 14956, 18, 2626, 2160, 2932, 225, 1071, 918, 1208, 1832, 64, 82, 225, 18890, 82, 8863, 5411, 17289, 11539, 12, 87, 78, 18, 588, 26738, 2578, 2421, 1435, 422, 404, 1769, 5411, 309, 261, 87, 78, 18, 588, 5521, 7049, 12, 20, 13, 422, 374, 13, 14956, 18, 2626, 2160, 2932, 565, 444, 26738, 261, 8560, 1832, 20472, 82, 8863, 469, 309, 261, 87, 78, 18, 588, 5521, 7049, 12, 20, 13, 422, 404, 13, 7734, 14956, 18, 2626, 2160, 2932, 565, 444, 26738, 261, 30387, 26042, 1832, 20472, 82, 8863, 5411, 469, 5411, 288, 7734, 14956, 2 ]
static ContextData get(Context cx) { return (ContextData)cx.getDebuggerContextData();
public static ContextData get(Context cx) { return (ContextData) cx.getDebuggerContextData();
static ContextData get(Context cx) { return (ContextData)cx.getDebuggerContextData(); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/7d1b33a19c3b651c13a0c8102bfbcab16f1967e0/Dim.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 760, 1772, 751, 336, 12, 1042, 9494, 13, 288, 5411, 327, 261, 1042, 751, 13, 71, 92, 18, 588, 24113, 1042, 751, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 760, 1772, 751, 336, 12, 1042, 9494, 13, 288, 5411, 327, 261, 1042, 751, 13, 71, 92, 18, 588, 24113, 1042, 751, 5621, 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 ]
boolean pageBreak = context.allowPageBreak( ); boolean skipPageHint = context.getSkipPageHint( ); context.setAllowPageBreak( pageBreak ); context.setSkipPageHint( true ); engine.layout( header, emitter ); context.setAllowPageBreak( pageBreak ); context.setSkipPageHint( skipPageHint );
IBandContent header = table.getHeader( ); if ( header != null ) { boolean pageBreak = context.allowPageBreak( ); boolean skipPageHint = context.getSkipPageHint( ); context.setAllowPageBreak( pageBreak ); context.setSkipPageHint( true ); engine.layout( header, emitter ); context.setAllowPageBreak( pageBreak ); context.setSkipPageHint( skipPageHint ); }
protected void repeatHeader( ) { ITableContent table = (ITableContent) content; if ( table.isHeaderRepeat( ) ) { IBandContent header = table.getHeader( ); if ( header != null ) { boolean pageBreak = context.allowPageBreak( ); boolean skipPageHint = context.getSkipPageHint( ); context.setAllowPageBreak( pageBreak ); context.setSkipPageHint( true ); engine.layout( header, emitter ); context.setAllowPageBreak( pageBreak ); context.setSkipPageHint( skipPageHint ); } } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7ea04b5ec88d061ddc98e46e17cf573f0439a4b7/HTMLTableLM.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLTableLM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 7666, 1864, 12, 262, 202, 95, 202, 202, 1285, 429, 1350, 1014, 273, 261, 1285, 429, 1350, 13, 913, 31, 202, 202, 430, 261, 1014, 18, 291, 1864, 16750, 12, 262, 262, 202, 202, 95, 1082, 202, 13450, 464, 1350, 1446, 273, 1014, 18, 588, 1864, 12, 11272, 1082, 202, 430, 261, 1446, 480, 446, 262, 1082, 202, 95, 9506, 202, 6494, 1363, 7634, 273, 819, 18, 5965, 1964, 7634, 12, 11272, 9506, 202, 6494, 2488, 1964, 7002, 273, 819, 18, 588, 6368, 1964, 7002, 12, 11272, 9506, 202, 2472, 18, 542, 7009, 1964, 7634, 12, 1363, 7634, 11272, 9506, 202, 2472, 18, 542, 6368, 1964, 7002, 12, 638, 11272, 9506, 202, 8944, 18, 6741, 12, 1446, 16, 11520, 11272, 9506, 202, 2472, 18, 542, 7009, 1964, 7634, 12, 1363, 7634, 11272, 9506, 202, 2472, 18, 542, 6368, 1964, 7002, 12, 2488, 1964, 7002, 11272, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 7666, 1864, 12, 262, 202, 95, 202, 202, 1285, 429, 1350, 1014, 273, 261, 1285, 429, 1350, 13, 913, 31, 202, 202, 430, 261, 1014, 18, 291, 1864, 16750, 12, 262, 262, 202, 202, 95, 1082, 202, 13450, 464, 1350, 1446, 273, 1014, 18, 588, 1864, 12, 11272, 1082, 202, 430, 261, 1446, 480, 446, 262, 1082, 202, 95, 9506, 202, 6494, 1363, 7634, 273, 819, 18, 5965, 1964, 7634, 12, 11272, 9506, 202, 6494, 2488, 1964, 7002, 273, 819, 18, 588, 6368, 1964, 7002, 12, 11272, 9506, 202, 2472, 18, 542, 7009, 1964, 7634, 12, 1363, 7634, 11272, 9506, 202, 2472, 18, 542, 6368, 1964, 7002, 12, 638, 11272, 9506, 202, 8944, 18, 6741, 2 ]
if (!isAncestorOf(m, next, strict)) {
if (isAncestorOf(m, next, strict)) { i++; } else {
public Object evaluate(Evaluator evaluator, Exp[] args) { Vector v0 = (Vector) getArg(evaluator, args, 0), v1 = (Vector) getArg(evaluator, args, 1); if (args.length > 2) { throw Util.newInternal( "ToggleDrillState(RECURSIVE) not supported"); } if (v1.isEmpty()) { return v0; } HashSet set1 = toHashSet(v1); Vector result = new Vector(); int i = 0, n = v0.size(); while (i < n) { Member m = (Member) v0.elementAt(i++); result.addElement(m); if (!set1.contains(m)) { continue; } boolean isDrilledDown = false; if (i < n) { Member next = (Member) v0.elementAt(i); boolean strict = true; if (isAncestorOf(m, next, strict)) { isDrilledDown = true; } } if (isDrilledDown) { // skip descendants of this member while (i < n) { Member next = (Member) v0.elementAt(i++); boolean strict = true; if (!isAncestorOf(m, next, strict)) { break; } } } else { Member[] children = m.getMemberChildren(); for (int j = 0; j < children.length; j++) { result.addElement(children[j]); } } } return result; }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/a561767e2eeef6a7bc92808ee3b0f2aa0061d8fb/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 1033, 5956, 12, 15876, 18256, 16, 7784, 8526, 833, 13, 288, 25083, 202, 5018, 331, 20, 273, 261, 5018, 13, 336, 4117, 12, 14168, 639, 16, 833, 16, 374, 3631, 6862, 9506, 202, 90, 21, 273, 261, 5018, 13, 336, 4117, 12, 14168, 639, 16, 833, 16, 404, 1769, 25083, 202, 430, 261, 1968, 18, 2469, 405, 576, 13, 288, 6862, 1082, 202, 12849, 3564, 18, 2704, 3061, 12, 6862, 6862, 202, 6, 17986, 8956, 737, 1119, 12, 862, 7509, 24870, 13, 486, 3260, 8863, 25083, 202, 97, 25083, 202, 430, 261, 90, 21, 18, 291, 1921, 10756, 288, 6862, 1082, 202, 2463, 331, 20, 31, 25083, 202, 97, 25083, 202, 13482, 444, 21, 273, 358, 13482, 12, 90, 21, 1769, 25083, 202, 5018, 563, 273, 394, 5589, 5621, 25083, 202, 474, 277, 273, 374, 16, 290, 273, 331, 20, 18, 1467, 5621, 25083, 202, 17523, 261, 77, 411, 290, 13, 288, 6862, 1082, 202, 4419, 312, 273, 261, 4419, 13, 331, 20, 18, 2956, 861, 12, 77, 9904, 1769, 6862, 1082, 202, 2088, 18, 1289, 1046, 12, 81, 1769, 6862, 1082, 202, 430, 16051, 542, 21, 18, 12298, 12, 81, 3719, 288, 6862, 9506, 202, 17143, 31, 6862, 1082, 202, 97, 6862, 1082, 202, 6494, 353, 8956, 13148, 4164, 273, 629, 31, 6862, 1082, 202, 430, 261, 77, 411, 290, 13, 288, 6862, 9506, 202, 4419, 1024, 273, 261, 4419, 13, 331, 20, 18, 2956, 861, 12, 77, 1769, 6862, 9506, 202, 6494, 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, 4405, 202, 482, 1033, 5956, 12, 15876, 18256, 16, 7784, 8526, 833, 13, 288, 25083, 202, 5018, 331, 20, 273, 261, 5018, 13, 336, 4117, 12, 14168, 639, 16, 833, 16, 374, 3631, 6862, 9506, 202, 90, 21, 273, 261, 5018, 13, 336, 4117, 12, 14168, 639, 16, 833, 16, 404, 1769, 25083, 202, 430, 261, 1968, 18, 2469, 405, 576, 13, 288, 6862, 1082, 202, 12849, 3564, 18, 2704, 3061, 12, 6862, 6862, 202, 6, 17986, 8956, 737, 1119, 12, 862, 7509, 24870, 13, 486, 3260, 8863, 25083, 202, 97, 25083, 202, 430, 261, 90, 21, 18, 291, 1921, 10756, 288, 6862, 1082, 202, 2463, 331, 20, 31, 25083, 202, 97, 25083, 202, 13482, 444, 21, 273, 358, 2 ]
public Dimension getMinimumSize(){ return MIN_SIZE; }
public Dimension getMinimumSize(){ return MIN_SIZE; }
public Dimension getMinimumSize(){ return MIN_SIZE; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/f9253cb0599c1e1ad0be79ac7ecc2ae38f768b73/MMainJFrame.java/buggy/gui/main/com/metavize/gui/main/MMainJFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13037, 30665, 1225, 1435, 95, 3639, 327, 6989, 67, 4574, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13037, 30665, 1225, 1435, 95, 3639, 327, 6989, 67, 4574, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"where `sales_fact_1997`.`customer_id` = `customer`.`customer_id`" + " and `sales_fact_1997`.`store_id` = `store`.`store_id`" +
"where `agg_l_05_sales_fact_1997`.`customer_id` = `customer`.`customer_id`" + " and `agg_l_05_sales_fact_1997`.`store_id` = `store`.`store_id`" +
public void testMultipleMeasures() { CellRequest[] requests = new CellRequest[] { createRequest("Sales", "[Measures].[Unit Sales]", new String[] {"customer", "store"}, new String[] {"gender", "store_state"}, new String[] {"F", "CA"}), createRequest("Sales", "[Measures].[Store Sales]", new String[] {"customer", "store"}, new String[] {"gender", "store_state"}, new String[] {"M", "CA"}), createRequest("Sales", "[Measures].[Unit Sales]", new String[] {"customer", "store"}, new String[] {"gender", "store_state"}, new String[] {"F", "OR"})}; final String pattern = "select `customer`.`gender` as `c0`," + " `store`.`store_state` as `c1`," + " sum(`sales_fact_1997`.`unit_sales`) as `m0`," + " sum(`sales_fact_1997`.`store_sales`) as `m1` " + "from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997`," + " `store` as `store` " + "where `sales_fact_1997`.`customer_id` = `customer`.`customer_id`" + " and `sales_fact_1997`.`store_id` = `store`.`store_id`" + " and `store`.`store_state` in ('CA', 'OR') " + "group by `customer`.`gender`, `store`.`store_state`"; assertRequestSql(requests, pattern, "select `customer`.`gender`"); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/04e646f31dd5b7942980cee630c94f49bdab0e26/TestAggregationManager.java/buggy/testsrc/main/mondrian/rolap/TestAggregationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8438, 23177, 1823, 1435, 288, 3639, 8614, 691, 8526, 3285, 273, 394, 8614, 691, 8526, 288, 5411, 15798, 2932, 23729, 3113, 5158, 23177, 1823, 8009, 63, 2802, 25996, 65, 3113, 10792, 394, 514, 8526, 12528, 10061, 3113, 315, 2233, 6, 5779, 10792, 394, 514, 8526, 12528, 27638, 3113, 315, 2233, 67, 2019, 6, 5779, 10792, 394, 514, 8526, 12528, 42, 3113, 315, 3587, 6, 97, 3631, 5411, 15798, 2932, 23729, 3113, 5158, 23177, 1823, 8009, 63, 2257, 25996, 65, 3113, 10792, 394, 514, 8526, 12528, 10061, 3113, 315, 2233, 6, 5779, 10792, 394, 514, 8526, 12528, 27638, 3113, 315, 2233, 67, 2019, 6, 5779, 10792, 394, 514, 8526, 12528, 49, 3113, 315, 3587, 6, 97, 3631, 5411, 15798, 2932, 23729, 3113, 5158, 23177, 1823, 8009, 63, 2802, 25996, 65, 3113, 10792, 394, 514, 8526, 12528, 10061, 3113, 315, 2233, 6, 5779, 10792, 394, 514, 8526, 12528, 27638, 3113, 315, 2233, 67, 2019, 6, 5779, 10792, 394, 514, 8526, 12528, 42, 3113, 315, 916, 6, 6792, 20451, 3639, 727, 514, 1936, 273, 315, 4025, 1375, 10061, 16586, 27638, 68, 487, 1375, 71, 20, 9191, 6, 397, 7734, 315, 1375, 2233, 16586, 2233, 67, 2019, 68, 487, 1375, 71, 21, 9191, 6, 397, 7734, 315, 2142, 12, 68, 87, 5408, 67, 3493, 67, 19818, 27, 16586, 4873, 67, 87, 5408, 24065, 487, 1375, 81, 20, 9191, 6, 397, 7734, 315, 2142, 12, 68, 87, 5408, 67, 3493, 67, 19818, 27, 16586, 2233, 67, 87, 5408, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8438, 23177, 1823, 1435, 288, 3639, 8614, 691, 8526, 3285, 273, 394, 8614, 691, 8526, 288, 5411, 15798, 2932, 23729, 3113, 5158, 23177, 1823, 8009, 63, 2802, 25996, 65, 3113, 10792, 394, 514, 8526, 12528, 10061, 3113, 315, 2233, 6, 5779, 10792, 394, 514, 8526, 12528, 27638, 3113, 315, 2233, 67, 2019, 6, 5779, 10792, 394, 514, 8526, 12528, 42, 3113, 315, 3587, 6, 97, 3631, 5411, 15798, 2932, 23729, 3113, 5158, 23177, 1823, 8009, 63, 2257, 25996, 65, 3113, 10792, 394, 514, 8526, 12528, 10061, 3113, 315, 2233, 6, 5779, 10792, 394, 514, 8526, 12528, 27638, 3113, 315, 2233, 67, 2019, 6, 5779, 10792, 394, 514, 8526, 12528, 49, 3113, 315, 3587, 6, 97, 2 ]
chooser.setFileView(ProjectFileView.getInstance()); pm.setOpenFileChooserFilter(chooser);
chooser.setFileView(ProjectFileView.getInstance()); pm.setOpenFileChooserFilter(chooser);
public void actionPerformed(ActionEvent e) { ProjectBrowser pb = ProjectBrowser.getInstance(); Project p = ProjectManager.getManager().getCurrentProject(); PersistenceManager pm = PersistenceManager.getInstance(); if (!ProjectBrowser.getInstance().askConfirmationAndSave()) { return; } try { // next line does give user.home back but this is not // compliant with how the project.url works and therefore // open and save project as give different starting // directories. String directory = // Globals.getLastDirectory(); JFileChooser chooser = null; if (p != null && p.getURL() != null) { File file = new File(p.getURL().getFile()); if (file.getParentFile() != null) { chooser = new JFileChooser(file.getParent()); } } else { chooser = new JFileChooser(); } if (chooser == null) { chooser = new JFileChooser(); } chooser.setDialogTitle( Translator.localize("filechooser.open-project")); chooser.setAcceptAllFileFilterUsed(false); // adding project files icon chooser.setFileView(ProjectFileView.getInstance()); pm.setOpenFileChooserFilter(chooser); String fn = Configuration.getString( PersistenceManager.KEY_OPEN_PROJECT_PATH); if (fn.length() > 0) { chooser.setSelectedFile(new File(fn)); } int retval = chooser.showOpenDialog(pb); if (retval == JFileChooser.APPROVE_OPTION) { File theFile = chooser.getSelectedFile(); if (!theFile.canRead()) { /* Try adding the extension from the chosen filter. */ FileFilter ffilter = chooser.getFileFilter(); if (ffilter instanceof AbstractFilePersister) { AbstractFilePersister afp = (AbstractFilePersister) ffilter; File m = new File(theFile.getPath() + "." + afp.getExtension()); if (m.canRead()) { theFile = m; } } if (!theFile.canRead()) { /* Try adding the default extension. */ File n = new File(theFile.getPath() + "." + pm.getDefaultExtension()); if (n.canRead()) { theFile = n; } } } if (theFile != null) { Configuration.setString( PersistenceManager.KEY_OPEN_PROJECT_PATH, theFile.getPath()); if (ProjectBrowser.getInstance() .loadProject(theFile, true)) { // notification of menu bar GUI.getInstance().addFileSaved(theFile); } } } } catch (IOException ignore) { LOG.error("got an IOException in ActionOpenProject", ignore); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/a038faf9f5f8ec0d052f96da0b2eee418ebc490e/ActionOpenProject.java/buggy/src_new/org/argouml/uml/ui/ActionOpenProject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 5420, 9132, 6386, 273, 5420, 9132, 18, 588, 1442, 5621, 3639, 5420, 293, 273, 5420, 1318, 18, 588, 1318, 7675, 588, 3935, 4109, 5621, 3639, 13381, 1318, 7430, 273, 13381, 1318, 18, 588, 1442, 5621, 3639, 309, 16051, 4109, 9132, 18, 588, 1442, 7675, 835, 17597, 1876, 4755, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 775, 288, 5411, 368, 1024, 980, 1552, 8492, 729, 18, 8712, 1473, 1496, 333, 353, 486, 5411, 368, 24820, 598, 3661, 326, 1984, 18, 718, 6330, 471, 13526, 5411, 368, 1696, 471, 1923, 1984, 487, 8492, 3775, 5023, 5411, 368, 6402, 18, 225, 514, 1867, 273, 5411, 368, 18901, 1031, 18, 588, 3024, 2853, 5621, 5411, 804, 812, 17324, 5011, 13164, 273, 446, 31, 5411, 309, 261, 84, 480, 446, 597, 293, 18, 588, 1785, 1435, 480, 446, 13, 288, 7734, 1387, 585, 273, 394, 1387, 12, 84, 18, 588, 1785, 7675, 29925, 10663, 7734, 309, 261, 768, 18, 588, 3054, 812, 1435, 480, 446, 13, 288, 10792, 5011, 13164, 273, 394, 804, 812, 17324, 12, 768, 18, 588, 3054, 10663, 7734, 289, 5411, 289, 469, 288, 7734, 5011, 13164, 273, 394, 804, 812, 17324, 5621, 5411, 289, 5411, 309, 261, 2599, 13164, 422, 446, 13, 288, 7734, 5011, 13164, 273, 394, 804, 812, 17324, 5621, 5411, 289, 5411, 5011, 13164, 18, 542, 6353, 4247, 12, 10792, 18669, 18, 3729, 554, 2932, 768, 2599, 13164, 18, 3190, 17, 4406, 7923, 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, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 5420, 9132, 6386, 273, 5420, 9132, 18, 588, 1442, 5621, 3639, 5420, 293, 273, 5420, 1318, 18, 588, 1318, 7675, 588, 3935, 4109, 5621, 3639, 13381, 1318, 7430, 273, 13381, 1318, 18, 588, 1442, 5621, 3639, 309, 16051, 4109, 9132, 18, 588, 1442, 7675, 835, 17597, 1876, 4755, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 775, 288, 5411, 368, 1024, 980, 1552, 8492, 729, 18, 8712, 1473, 1496, 333, 353, 486, 5411, 368, 24820, 598, 3661, 326, 1984, 18, 718, 6330, 471, 13526, 5411, 368, 1696, 471, 1923, 1984, 487, 8492, 3775, 5023, 5411, 368, 6402, 18, 225, 514, 1867, 273, 5411, 368, 18901, 1031, 18, 588, 2 ]
f = f.resolve();
f = resolve(f);
public void visitCGETFIELD(jq_InstanceField f) { super.visitCGETFIELD(f); f = f.resolve(); state.push_I(vm.getfield_C(state.pop_A(), f)); }
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/d12f1e1bc9744829efc71c43906f1f511c2f07d2/Interpreter.java/clean/joeq_native/joeq/Interpreter/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 39, 3264, 6776, 12, 78, 85, 67, 1442, 974, 284, 13, 288, 5411, 2240, 18, 11658, 39, 3264, 6776, 12, 74, 1769, 5411, 284, 273, 2245, 12, 74, 1769, 5411, 919, 18, 6206, 67, 45, 12, 3489, 18, 588, 1518, 67, 39, 12, 2019, 18, 5120, 67, 37, 9334, 284, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 540, 1071, 918, 3757, 39, 3264, 6776, 12, 78, 85, 67, 1442, 974, 284, 13, 288, 5411, 2240, 18, 11658, 39, 3264, 6776, 12, 74, 1769, 5411, 284, 273, 2245, 12, 74, 1769, 5411, 919, 18, 6206, 67, 45, 12, 3489, 18, 588, 1518, 67, 39, 12, 2019, 18, 5120, 67, 37, 9334, 284, 10019, 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 ]
listModel.remove(i); listModel.add(i, visiblePanels.get(i));
listModel.set(listModel.indexOf(visiblePanels.get(i)), visiblePanels.get(i));
public void synchronize() { debug(); visiblePanels.clear(); for (final TabPanel containerPanel : containerPanels) { visiblePanels.add(containerPanel); if (isExpanded(containerPanel)) { visiblePanels.add(versionsPanels.get(containerPanel)); } } // add visible cells not in the model for (int i = 0; i < visiblePanels.size(); i++) { if (listModel.contains(visiblePanels.get(i))) { listModel.remove(i); listModel.add(i, visiblePanels.get(i)); } else { listModel.add(i, visiblePanels.get(i)); } } // prune cells in the model no longer visible final TabPanel[] obsoletePanels = new TabPanel[listModel.size()]; listModel.copyInto(obsoletePanels); for (int i = 0; i < obsoletePanels.length; i++) { if (!visiblePanels.contains(obsoletePanels[i])) { listModel.removeElement(obsoletePanels[i]); } } debug(); }
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/cbf3dd37c8f6364e422502bce4c0d886d4d512f0/ContainerModel.java/buggy/client-ui/src/main/java/com/thinkparity/ophelia/browser/application/browser/display/avatar/tab/container/ContainerModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 16978, 1435, 288, 3639, 1198, 5621, 3639, 6021, 5537, 87, 18, 8507, 5621, 3639, 364, 261, 6385, 9483, 5537, 1478, 5537, 294, 1478, 5537, 87, 13, 288, 5411, 6021, 5537, 87, 18, 1289, 12, 3782, 5537, 1769, 5411, 309, 261, 291, 17957, 12, 3782, 5537, 3719, 288, 7734, 6021, 5537, 87, 18, 1289, 12, 10169, 5537, 87, 18, 588, 12, 3782, 5537, 10019, 5411, 289, 3639, 289, 7734, 368, 527, 6021, 5983, 486, 316, 326, 938, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 6021, 5537, 87, 18, 1467, 5621, 277, 27245, 288, 5411, 309, 261, 1098, 1488, 18, 12298, 12, 8613, 5537, 87, 18, 588, 12, 77, 20349, 288, 7734, 666, 1488, 18, 4479, 12, 77, 1769, 7734, 666, 1488, 18, 1289, 12, 77, 16, 6021, 5537, 87, 18, 588, 12, 77, 10019, 5411, 289, 469, 288, 7734, 666, 1488, 18, 1289, 12, 77, 16, 6021, 5537, 87, 18, 588, 12, 77, 10019, 5411, 289, 3639, 289, 3639, 368, 13293, 5983, 316, 326, 938, 1158, 7144, 6021, 3639, 727, 9483, 5537, 8526, 27191, 5537, 87, 273, 394, 9483, 5537, 63, 1098, 1488, 18, 1467, 1435, 15533, 3639, 666, 1488, 18, 3530, 5952, 12, 10992, 19513, 5537, 87, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 27191, 5537, 87, 18, 2469, 31, 277, 27245, 288, 5411, 309, 16051, 8613, 5537, 87, 18, 12298, 12, 10992, 19513, 5537, 87, 63, 77, 22643, 288, 7734, 666, 1488, 18, 4479, 1046, 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, 16978, 1435, 288, 3639, 1198, 5621, 3639, 6021, 5537, 87, 18, 8507, 5621, 3639, 364, 261, 6385, 9483, 5537, 1478, 5537, 294, 1478, 5537, 87, 13, 288, 5411, 6021, 5537, 87, 18, 1289, 12, 3782, 5537, 1769, 5411, 309, 261, 291, 17957, 12, 3782, 5537, 3719, 288, 7734, 6021, 5537, 87, 18, 1289, 12, 10169, 5537, 87, 18, 588, 12, 3782, 5537, 10019, 5411, 289, 3639, 289, 7734, 368, 527, 6021, 5983, 486, 316, 326, 938, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 6021, 5537, 87, 18, 1467, 5621, 277, 27245, 288, 5411, 309, 261, 1098, 1488, 18, 12298, 12, 8613, 5537, 87, 18, 588, 12, 77, 20349, 288, 7734, 666, 1488, 18, 2 ]
-1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291,
58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291,
private static final short[] yyCheck2() { return new short[] { -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, 41, -1, -1, 44, -1, -1, -1, 41, -1, -1, -1, -1, 0, -1, 61, -1, -1, -1, -1, -1, 61, -1, 10, -1, -1, 59, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, 91, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, 0, -1, 302, 303, 304, 305, 306, 307, 308, 309, 10, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, 262, 263, 264, -1, 279, 280, 268, 269, 331, 271, 279, -1, -1, -1, -1, 338, 339, -1, 41, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, 58, 59, 360, -1, -1, 363, 364, 365, 366, 367, 368, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 331, -1, -1, -1, -1, -1, 331, 338, 280, 281, 282, -1, 343, 338, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 359, 0, -1, 362, -1, -1, 359, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 125, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 0, -1, 336, 337, 338, -1, -1, 341, 41, -1, 10, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 59, 361, 362, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 41, -1, -1, 44, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, 125, 93, -1, -1, -1, -1, -1, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, 61, -1, 63, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 125, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, 61, -1, 63, -1, -1, 280, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 262, 263, 264, 91, -1, 93, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 362, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 58, 59, 336, 337, 338, -1, 340, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, 0, 353, 354, 355, 356, 357, 358, 359, -1, 361, 10, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 41, 281, 282, 44, -1, -1, -1, -1, 125, -1, 290, 291, 41, 293, 294, 295, 296, 297, 59, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 59, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, 125, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 41, -1, -1, 44, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, 262, 263, 264, -1, -1, 0, 268, 269, -1, 271, -1, -1, -1, -1, -1, 10, 125, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 0, 361, 58, 59, -1, -1, -1, 63, -1, -1, 10, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 93, -1, -1, -1, 41, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, 59, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 93, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 58, 59, 336, 337, 338, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, 125, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, -1, -1, -1, 41, 349, 0, 351, -1, 353, 354, 355, 356, 357, 358, 359, 10, 361, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, 125, 271, -1, -1, -1, -1, -1, -1, -1, 91, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, 125, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, -1, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 125, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 58, 59, -1, -1, -1, 63, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, 125, -1, -1, -1, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, 41, 290, 291, 44, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 125, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, 125, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, 336, 337, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, 41, 271, -1, 44, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, 58, 59, -1, -1, -1, 63, 293, 294, 295, 296, 297, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 341, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 125, -1, 341, 0, -1, -1, -1, -1, 347, -1, 349, -1, 351, 10, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, 93, 336, 337, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, 336, 337, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, 41, 290, 291, 44, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 91, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 59, -1, 61, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 125, 0, 341, -1, -1, -1, -1, -1, 347, -1, 349, 10, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 58, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, 340, -1, 41, -1, -1, 44, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 59, 361, 61, -1, 63, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, }; }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 26936, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 225, 30616, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 225, 6969, 27, 16, 225, 6969, 28, 16, 225, 576, 6162, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 26936, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 2 ]
{ return (Object) new Locale (language, country, variant); }
{ return (Object) new Locale (language, country, variant); }
public Object clone () { return (Object) new Locale (language, country, variant); }
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/d41dfd6cc95692f13ca6dde18e9717679c00595d/Locale.java/clean/libjava/java/util/Locale.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 3236, 1832, 565, 288, 1377, 327, 261, 921, 13, 394, 6458, 261, 4923, 16, 5251, 16, 5437, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 3236, 1832, 565, 288, 1377, 327, 261, 921, 13, 394, 6458, 261, 4923, 16, 5251, 16, 5437, 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 ]
int len = dst.capacity() - dst.position();
int len = dst.remaining();
public int read(ByteBuffer dst) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; InputStream input = socket.getInputStream(); int available = input.available(); int len = dst.capacity() - dst.position(); if ((! isBlocking()) && available == 0) return 0; if (dst.hasArray()) { offset = dst.arrayOffset() + dst.position(); data = dst.array(); } else { data = new byte [len]; } int readBytes = 0; boolean completed = false; try { begin(); socket.getPlainSocketImpl().setInChannelOperation(true); readBytes = input.read (data, offset, len); completed = true; } finally { end (completed); socket.getPlainSocketImpl().setInChannelOperation(false); } if (readBytes > 0) if (dst.hasArray()) { dst.position (dst.position() + readBytes); } else { dst.put (data, offset, len); } return readBytes; }
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/7e4c56ed992fe3bf715b82b1e3e8fda2e6772688/SocketChannelImpl.java/buggy/libjava/gnu/java/nio/SocketChannelImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 855, 12, 12242, 3046, 13, 1216, 1860, 225, 288, 565, 309, 16051, 291, 8932, 10756, 1377, 604, 394, 2288, 61, 278, 8932, 503, 5621, 3639, 1160, 8526, 501, 31, 565, 509, 1384, 273, 374, 31, 565, 5037, 810, 273, 2987, 18, 588, 4348, 5621, 565, 509, 2319, 273, 810, 18, 5699, 5621, 565, 509, 562, 273, 3046, 18, 16017, 1435, 300, 3046, 18, 3276, 5621, 202, 565, 309, 14015, 5, 353, 8728, 10756, 597, 2319, 422, 374, 13, 1377, 327, 374, 31, 3639, 309, 261, 11057, 18, 5332, 1076, 10756, 1377, 288, 3639, 1384, 273, 3046, 18, 1126, 2335, 1435, 397, 3046, 18, 3276, 5621, 3639, 501, 273, 3046, 18, 1126, 5621, 1377, 289, 565, 469, 1377, 288, 3639, 501, 273, 394, 1160, 306, 1897, 15533, 1377, 289, 565, 509, 25825, 273, 374, 31, 565, 1250, 5951, 273, 629, 31, 565, 775, 1377, 288, 3639, 2376, 5621, 3639, 2987, 18, 588, 13360, 4534, 2828, 7675, 542, 382, 2909, 2988, 12, 3767, 1769, 3639, 25825, 273, 810, 18, 896, 261, 892, 16, 1384, 16, 562, 1769, 3639, 5951, 273, 638, 31, 1377, 289, 565, 3095, 1377, 288, 3639, 679, 261, 13615, 1769, 3639, 2987, 18, 588, 13360, 4534, 2828, 7675, 542, 382, 2909, 2988, 12, 5743, 1769, 1377, 289, 565, 309, 261, 896, 2160, 405, 374, 13, 1377, 309, 261, 11057, 18, 5332, 1076, 10756, 202, 95, 202, 225, 3046, 18, 3276, 261, 11057, 18, 3276, 1435, 397, 25825, 1769, 202, 97, 1377, 469, 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, 282, 1071, 509, 855, 12, 12242, 3046, 13, 1216, 1860, 225, 288, 565, 309, 16051, 291, 8932, 10756, 1377, 604, 394, 2288, 61, 278, 8932, 503, 5621, 3639, 1160, 8526, 501, 31, 565, 509, 1384, 273, 374, 31, 565, 5037, 810, 273, 2987, 18, 588, 4348, 5621, 565, 509, 2319, 273, 810, 18, 5699, 5621, 565, 509, 562, 273, 3046, 18, 16017, 1435, 300, 3046, 18, 3276, 5621, 202, 565, 309, 14015, 5, 353, 8728, 10756, 597, 2319, 422, 374, 13, 1377, 327, 374, 31, 3639, 309, 261, 11057, 18, 5332, 1076, 10756, 1377, 288, 3639, 1384, 273, 3046, 18, 1126, 2335, 1435, 397, 3046, 18, 3276, 5621, 3639, 501, 273, 3046, 18, 1126, 5621, 1377, 289, 565, 469, 2 ]
throws NotImplementedException
public TreePath getPathForRow(int row) throws NotImplementedException { //TODO return null; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/f3624012d1a6fce8a3f0ae863dc5768ded8e8454/FixedHeightLayoutCache.java/buggy/javax/swing/tree/FixedHeightLayoutCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4902, 743, 4339, 1290, 1999, 12, 474, 1027, 13, 377, 288, 565, 368, 6241, 565, 327, 446, 31, 225, 289, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4902, 743, 4339, 1290, 1999, 12, 474, 1027, 13, 377, 288, 565, 368, 6241, 565, 327, 446, 31, 225, 289, 225, 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 ]
_t = __t1685;
_t = __t1686;
public final void onstate(AST _t) throws RecognitionException { AST onstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1668 = _t; AST tmp1211_AST_in = (AST)_t; match(_t,ON); _t = _t.getFirstChild(); { boolean synPredMatched1671 = false; if (_t==null) _t=ASTNULL; if (((_tokenSet_18.member(_t.getType())))) { AST __t1671 = _t; synPredMatched1671 = true; inputState.guessing++; try { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ASSIGN: { AST tmp1212_AST_in = (AST)_t; match(_t,ASSIGN); _t = _t.getNextSibling(); break; } case CREATE: { AST tmp1213_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getNextSibling(); break; } case DELETE_KW: { AST tmp1214_AST_in = (AST)_t; match(_t,DELETE_KW); _t = _t.getNextSibling(); break; } case FIND: { AST tmp1215_AST_in = (AST)_t; match(_t,FIND); _t = _t.getNextSibling(); break; } case WRITE: { AST tmp1216_AST_in = (AST)_t; match(_t,WRITE); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } } catch (RecognitionException pe) { synPredMatched1671 = false; } _t = __t1671;inputState.guessing--; } if ( synPredMatched1671 ) { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CREATE: case DELETE_KW: case FIND: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CREATE: { AST tmp1217_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getNextSibling(); break; } case DELETE_KW: { AST tmp1218_AST_in = (AST)_t; match(_t,DELETE_KW); _t = _t.getNextSibling(); break; } case FIND: { AST tmp1219_AST_in = (AST)_t; match(_t,FIND); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp1220_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); AST tmp1221_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } case WRITE: { AST tmp1222_AST_in = (AST)_t; match(_t,WRITE); _t = _t.getNextSibling(); AST tmp1223_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); AST tmp1224_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEW: case NEXT: case NEXTPROMPT: case OLD: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: { { AST tmp1225_AST_in = (AST)_t; match(_t,NEW); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BUFFER: { AST tmp1226_AST_in = (AST)_t; match(_t,BUFFER); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1227_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case OLD: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case OLD: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OLD: { { AST tmp1228_AST_in = (AST)_t; match(_t,OLD); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BUFFER: { AST tmp1229_AST_in = (AST)_t; match(_t,BUFFER); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1230_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } case ASSIGN: { AST tmp1231_AST_in = (AST)_t; match(_t,ASSIGN); _t = _t.getNextSibling(); AST tmp1232_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TABLE: { AST __t1685 = _t; AST tmp1233_AST_in = (AST)_t; match(_t,TABLE); _t = _t.getFirstChild(); AST tmp1234_AST_in = (AST)_t; match(_t,LABEL); _t = _t.getNextSibling(); constant(_t); _t = _retTree; _t = __t1685; _t = _t.getNextSibling(); break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case OLD: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OLD: { AST tmp1235_AST_in = (AST)_t; match(_t,OLD); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: { AST tmp1236_AST_in = (AST)_t; match(_t,VALUE); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1237_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_19.member(_t.getType()))) { defineparam_var(_t); _t = _retTree; } else if ((_tokenSet_20.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OVERRIDE: { AST tmp1238_AST_in = (AST)_t; match(_t,OVERRIDE); _t = _t.getNextSibling(); break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case REVERT: { AST tmp1239_AST_in = (AST)_t; match(_t,REVERT); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; break; } case PERSISTENT: { AST tmp1240_AST_in = (AST)_t; match(_t,PERSISTENT); _t = _t.getNextSibling(); runstate(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case PAGE: case PAUSE: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { blockorstate(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } } else { boolean synPredMatched1692 = false; if (_t==null) _t=ASTNULL; if ((((_t.getType() >= LEXDATE && _t.getType() <= SYMMETRICENCRYPTIONALGORITHM)))) { AST __t1692 = _t; synPredMatched1692 = true; inputState.guessing++; try { { AST tmp1241_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); AST tmp1242_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; } } catch (RecognitionException pe) { synPredMatched1692 = false; } _t = __t1692;inputState.guessing--; } if ( synPredMatched1692 ) { AST tmp1243_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); AST tmp1244_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; } else if ((_t.getType()==Event_list)) { eventlist(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ANYWHERE: { AST tmp1245_AST_in = (AST)_t; match(_t,ANYWHERE); _t = _t.getNextSibling(); break; } case OF: { AST tmp1246_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); widgetlist(_t); _t = _retTree; { _loop1695: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==OR)) { AST tmp1247_AST_in = (AST)_t; match(_t,OR); _t = _t.getNextSibling(); eventlist(_t); _t = _retTree; AST tmp1248_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); widgetlist(_t); _t = _retTree; } else { break _loop1695; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ANYWHERE: { AST tmp1249_AST_in = (AST)_t; match(_t,ANYWHERE); _t = _t.getNextSibling(); break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case REVERT: { AST tmp1250_AST_in = (AST)_t; match(_t,REVERT); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; break; } case PERSISTENT: { AST tmp1251_AST_in = (AST)_t; match(_t,PERSISTENT); _t = _t.getNextSibling(); AST tmp1252_AST_in = (AST)_t; match(_t,RUN); _t = _t.getNextSibling(); filenameorvalue(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case IN_KW: { AST __t1699 = _t; AST tmp1253_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1699; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case Parameter_list: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Parameter_list: { AST __t1701 = _t; AST tmp1254_AST_in = (AST)_t; match(_t,Parameter_list); _t = _t.getFirstChild(); AST tmp1255_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_t.getType()==INPUT)) { AST tmp1256_AST_in = (AST)_t; match(_t,INPUT); _t = _t.getNextSibling(); } else if ((_tokenSet_3.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } expression(_t); _t = _retTree; { _loop1705: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1257_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_t.getType()==INPUT)) { AST tmp1258_AST_in = (AST)_t; match(_t,INPUT); _t = _t.getNextSibling(); } else if ((_tokenSet_3.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } expression(_t); _t = _retTree; } else { break _loop1705; } } while (true); } AST tmp1259_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1701; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case PAGE: case PAUSE: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { blockorstate(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } } else { throw new NoViableAltException(_t); } } } _t = __t1668; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser03.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 603, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 603, 2019, 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, 2313, 9470, 273, 389, 88, 31, 202, 202, 9053, 1853, 2138, 2499, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 673, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 6494, 6194, 10391, 15400, 2313, 11212, 273, 629, 31, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 261, 12443, 67, 2316, 694, 67, 2643, 18, 5990, 24899, 88, 18, 588, 559, 1435, 3719, 3719, 288, 1082, 202, 9053, 1001, 88, 2313, 11212, 273, 389, 88, 31, 1082, 202, 11982, 10391, 15400, 2313, 11212, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 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, 25116, 30, 9506, 202, 95, 6862, 202, 9053, 1853, 2138, 2138, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 6862, 202, 1916, 24899, 88, 16, 23289, 1769, 6862, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 603, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 603, 2019, 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, 2313, 9470, 273, 389, 88, 31, 202, 202, 9053, 1853, 2138, 2499, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 673, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 6494, 6194, 10391, 15400, 2313, 11212, 273, 629, 31, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 2 ]
lblFont.setText("Font:");
lblFont.setText(Messages.getString("LabelAttributesComposite.Lbl.Font"));
private void placeComponents() { FillLayout flMain = new FillLayout(); flMain.marginHeight = 0; flMain.marginWidth = 0; GridLayout glAttributes = new GridLayout(); glAttributes.horizontalSpacing = 5; glAttributes.verticalSpacing = 5; glAttributes.marginHeight = 7; glAttributes.marginWidth = 7; GridLayout glGeneral = new GridLayout(); glGeneral.numColumns = 2; glGeneral.horizontalSpacing = 5; glGeneral.verticalSpacing = 5; FillLayout flOutline = new FillLayout(); this.setLayout(flMain); grpAttributes = new Group(this, SWT.NONE); grpAttributes.setText(sGroupName); grpAttributes.setLayout(glAttributes); cmpGeneral = new Composite(grpAttributes, SWT.NONE); GridData gdCMPGeneral = new GridData(GridData.FILL_HORIZONTAL); cmpGeneral.setLayoutData(gdCMPGeneral); cmpGeneral.setLayout(glGeneral); if (bVisibilityEnabled) { cbVisible = new Button(cmpGeneral, SWT.CHECK); GridData gdCBVisible = new GridData(GridData.FILL_HORIZONTAL); gdCBVisible.horizontalSpan = 2; cbVisible.setLayoutData(gdCBVisible); cbVisible.setSelection(this.lblCurrent.isVisible()); cbVisible.setText("Is Visible"); cbVisible.addSelectionListener(this); } if (bPositionEnabled) { Label lblPosition = new Label(cmpGeneral, SWT.NONE); GridData gdLBLPosition = new GridData(); lblPosition.setLayoutData(gdLBLPosition); lblPosition.setText("Position:"); cmbPosition = new Combo(cmpGeneral, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBPosition = new GridData(GridData.FILL_BOTH); cmbPosition.setLayoutData(gdCMBPosition); cmbPosition.addSelectionListener(this); } Label lblFont = new Label(cmpGeneral, SWT.NONE); GridData gdLFont = new GridData(); lblFont.setLayoutData(gdLFont); lblFont.setText("Font:"); fdcFont = new FontDefinitionComposite(cmpGeneral, SWT.NONE, this.fdCurrent, this.cdFont); GridData gdFDCFont = new GridData(GridData.FILL_BOTH); gdFDCFont.heightHint = fdcFont.getPreferredSize().y; gdFDCFont.widthHint = 96; gdFDCFont.grabExcessVerticalSpace = false; fdcFont.setLayoutData(gdFDCFont); fdcFont.addListener(this); Label lblFill = new Label(cmpGeneral, SWT.NONE); GridData gdLFill = new GridData(); lblFill.setLayoutData(gdLFill); lblFill.setText("Background:"); fccBackground = new FillChooserComposite(cmpGeneral, SWT.NONE, fBackground, true, true); GridData gdFCCBackground = new GridData(GridData.FILL_BOTH); gdFCCBackground.heightHint = fccBackground.getPreferredSize().y; fccBackground.setLayoutData(gdFCCBackground); fccBackground.addListener(this); Label lblShadow = new Label(cmpGeneral, SWT.NONE); GridData gdLBLShadow = new GridData(); lblShadow.setLayoutData(gdLBLShadow); lblShadow.setText("Shadow:"); fccShadow = new FillChooserComposite(cmpGeneral, SWT.NONE, cdShadow, false, false); GridData gdFCCShadow = new GridData(GridData.FILL_BOTH); fccShadow.setLayoutData(gdFCCShadow); fccShadow.addListener(this); grpOutline = new Group(grpAttributes, SWT.NONE); GridData gdGOutline = new GridData(GridData.FILL_HORIZONTAL); gdGOutline.heightHint = 110; grpOutline.setLayoutData(gdGOutline); grpOutline.setText("Outline"); grpOutline.setLayout(flOutline); liacOutline = new LineAttributesComposite(grpOutline, SWT.NONE, laCurrent, true, true, true); liacOutline.addListener(this); icInsets = new InsetsComposite(grpAttributes, SWT.NONE, insets, sUnits, serviceprovider); GridData gdICInsets = new GridData(GridData.FILL_HORIZONTAL); gdICInsets.heightHint = icInsets.getPreferredSize().y; gdICInsets.grabExcessVerticalSpace = false; icInsets.addListener(this); icInsets.setLayoutData(gdICInsets); populateLists(); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/7793e94b4d7fab5891f226c6c937e37d85bebad8/LabelAttributesComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LabelAttributesComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3166, 7171, 1435, 565, 288, 3639, 14192, 3744, 1183, 6376, 273, 394, 14192, 3744, 5621, 3639, 1183, 6376, 18, 10107, 2686, 273, 374, 31, 3639, 1183, 6376, 18, 10107, 2384, 273, 374, 31, 3639, 7145, 3744, 5118, 2498, 273, 394, 7145, 3744, 5621, 3639, 5118, 2498, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 2498, 18, 17824, 18006, 273, 1381, 31, 3639, 5118, 2498, 18, 10107, 2686, 273, 2371, 31, 3639, 5118, 2498, 18, 10107, 2384, 273, 2371, 31, 3639, 7145, 3744, 5118, 12580, 273, 394, 7145, 3744, 5621, 3639, 5118, 12580, 18, 2107, 3380, 273, 576, 31, 3639, 5118, 12580, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 12580, 18, 17824, 18006, 273, 1381, 31, 3639, 14192, 3744, 1183, 21805, 273, 394, 14192, 3744, 5621, 3639, 333, 18, 542, 3744, 12, 2242, 6376, 1769, 3639, 14295, 2498, 273, 394, 3756, 12, 2211, 16, 348, 8588, 18, 9826, 1769, 3639, 14295, 2498, 18, 542, 1528, 12, 87, 3943, 1769, 3639, 14295, 2498, 18, 542, 3744, 12, 7043, 2498, 1769, 3639, 9411, 12580, 273, 394, 14728, 12, 17532, 2498, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 751, 15551, 39, 4566, 12580, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 3639, 9411, 12580, 18, 542, 3744, 751, 12, 19016, 39, 4566, 12580, 1769, 3639, 9411, 12580, 18, 542, 3744, 12, 7043, 12580, 1769, 3639, 309, 261, 70, 10135, 1526, 13, 3639, 288, 5411, 2875, 6207, 273, 394, 12569, 12, 9625, 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, 3166, 7171, 1435, 565, 288, 3639, 14192, 3744, 1183, 6376, 273, 394, 14192, 3744, 5621, 3639, 1183, 6376, 18, 10107, 2686, 273, 374, 31, 3639, 1183, 6376, 18, 10107, 2384, 273, 374, 31, 3639, 7145, 3744, 5118, 2498, 273, 394, 7145, 3744, 5621, 3639, 5118, 2498, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 2498, 18, 17824, 18006, 273, 1381, 31, 3639, 5118, 2498, 18, 10107, 2686, 273, 2371, 31, 3639, 5118, 2498, 18, 10107, 2384, 273, 2371, 31, 3639, 7145, 3744, 5118, 12580, 273, 394, 7145, 3744, 5621, 3639, 5118, 12580, 18, 2107, 3380, 273, 576, 31, 3639, 5118, 12580, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 12580, 18, 17824, 18006, 273, 1381, 31, 2 ]
method.invoke(object, new Object[]{ new Integer(attribute.getIntValue()) });
method.invoke(object, new Object[]{new Integer(attribute.getIntValue())});
protected void configureObject(Element objectElement, Object object) throws CruiseControlException { Map setters = new HashMap(); Map creators = new HashMap(); Method[] methods = object.getClass().getMethods(); for (int i = 0; i < methods.length; i++) { if (methods[i].getName().startsWith("set")) { setters.put(methods[i].getName().substring(3).toLowerCase(), methods[i]); } else if (methods[i].getName().startsWith("create")) { creators.put(methods[i].getName().substring(6).toLowerCase(), methods[i]); } } Iterator attributeIterator = objectElement.getAttributes().iterator(); while (attributeIterator.hasNext()) { Attribute attribute = (Attribute) attributeIterator.next(); if (setters.containsKey(attribute.getName().toLowerCase())) { try { Method method = (Method) setters.get(attribute.getName().toLowerCase()); Class[] parameters = method.getParameterTypes(); if (String.class.isAssignableFrom(parameters[0])) { method.invoke(object, new Object[]{ attribute.getValue() }); } else if (int.class.isAssignableFrom(parameters[0])) { method.invoke(object, new Object[]{ new Integer(attribute.getIntValue()) }); } } catch (Exception e) { log.fatal("Error configuring plugin.", e); } } else { throw new CruiseControlException("Attribute: '" + attribute.getName() + "' is not supported for class: '" + object.getClass().getName() + "'."); } } Iterator childElementIterator = objectElement.getChildren().iterator(); while (childElementIterator.hasNext()) { Element childElement = (Element) childElementIterator.next(); if (creators.containsKey(childElement.getName().toLowerCase())) { try { Method method = (Method) creators.get(childElement.getName().toLowerCase()); Object childObject = method.invoke(object, null); configureObject(childElement, childObject); } catch (Exception e) { throw new CruiseControlException(e.getMessage()); } } else { throw new CruiseControlException("Nested element: '" + childElement.getName() + "' is not supported for the <" + objectElement.getName() + "> tag."); } } }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/cf8bdb14d59ffc7bba2335627d25f68867c5a366/PluginXMLHelper.java/clean/main/src/net/sourceforge/cruisecontrol/PluginXMLHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5068, 921, 12, 1046, 733, 1046, 16, 1033, 733, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 1635, 25627, 273, 394, 4317, 5621, 3639, 1635, 1519, 3062, 273, 394, 4317, 5621, 3639, 2985, 8526, 2590, 273, 733, 18, 588, 797, 7675, 588, 4712, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2590, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 5163, 63, 77, 8009, 17994, 7675, 17514, 1190, 2932, 542, 6, 3719, 288, 7734, 25627, 18, 458, 12, 5163, 63, 77, 8009, 17994, 7675, 28023, 12, 23, 2934, 869, 5630, 9334, 2590, 63, 77, 19226, 5411, 289, 469, 309, 261, 5163, 63, 77, 8009, 17994, 7675, 17514, 1190, 2932, 2640, 6, 3719, 288, 7734, 1519, 3062, 18, 458, 12, 5163, 63, 77, 8009, 17994, 7675, 28023, 12, 26, 2934, 869, 5630, 9334, 2590, 63, 77, 19226, 5411, 289, 3639, 289, 3639, 4498, 1566, 3198, 273, 733, 1046, 18, 588, 2498, 7675, 9838, 5621, 3639, 1323, 261, 4589, 3198, 18, 5332, 2134, 10756, 288, 5411, 3601, 1566, 273, 261, 1499, 13, 1566, 3198, 18, 4285, 5621, 5411, 309, 261, 542, 5432, 18, 12298, 653, 12, 4589, 18, 17994, 7675, 869, 5630, 1435, 3719, 288, 7734, 775, 288, 10792, 2985, 707, 273, 261, 1305, 13, 25627, 18, 588, 12, 4589, 18, 17994, 7675, 869, 5630, 10663, 10792, 1659, 8526, 1472, 273, 707, 18, 588, 1662, 2016, 5621, 10792, 309, 261, 780, 18, 1106, 18, 291, 7961, 1265, 12, 3977, 63, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5068, 921, 12, 1046, 733, 1046, 16, 1033, 733, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 1635, 25627, 273, 394, 4317, 5621, 3639, 1635, 1519, 3062, 273, 394, 4317, 5621, 3639, 2985, 8526, 2590, 273, 733, 18, 588, 797, 7675, 588, 4712, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2590, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 5163, 63, 77, 8009, 17994, 7675, 17514, 1190, 2932, 542, 6, 3719, 288, 7734, 25627, 18, 458, 12, 5163, 63, 77, 8009, 17994, 7675, 28023, 12, 23, 2934, 869, 5630, 9334, 2590, 63, 77, 19226, 5411, 289, 469, 309, 261, 5163, 63, 77, 8009, 17994, 7675, 17514, 1190, 2932, 2640, 6, 2 ]
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
retEnv = client.sendMsg(util, url, soapAction);
public void testR2GBEchoSimpleTypesAsStruct() throws AxisFault { url = "http://www.cincomsmalltalk.com/r2groupb/interop"; soapAction = "http://soapinterop.org/"; util = new GroupbEchoSimpleTypesAsStructUtil(); retEnv = SunRound2Client.sendMsg(util, url, soapAction); tempPath = resFilePath + "sunGroupbSimpletypesAsStructRes.xml"; compare(retEnv, tempPath); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/95f09abc768fee06d65b12836e31273ac0e15eb3/VWRound2InteropTest.java/clean/modules/integration/itest/test/interop/whitemesa/round2/VWRound2InteropTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 5887, 19704, 5784, 2016, 1463, 3823, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 5591, 18, 71, 267, 832, 12019, 88, 2960, 18, 832, 19, 86, 22, 1655, 70, 19, 30376, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 3756, 70, 19704, 5784, 2016, 1463, 3823, 1304, 5621, 3639, 325, 3491, 273, 1004, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 16924, 1114, 70, 7993, 1469, 989, 1463, 3823, 607, 18, 2902, 14432, 3639, 3400, 12, 1349, 3491, 16, 1906, 743, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 5887, 19704, 5784, 2016, 1463, 3823, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 5591, 18, 71, 267, 832, 12019, 88, 2960, 18, 832, 19, 86, 22, 1655, 70, 19, 30376, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 3756, 70, 19704, 5784, 2016, 1463, 3823, 1304, 5621, 3639, 325, 3491, 273, 1004, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 16924, 1114, 70, 7993, 1469, 989, 1463, 3823, 607, 18, 2902, 14432, 3639, 3400, 12, 1349, 3491, 16, 1906, 743, 1769, 565, 289, 2, -100, -100, -100, -100, -100 ]
prepare(s);
s.setConnection(this);
public void executeScript(Resource scriptContent, ParametersCallback parametersCallback) { Script s = new Script(scriptContent); prepare(s); s.execute(con, parametersCallback); }
55401 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55401/73b47572742f2fd87e840b86fbc703a0ee85d611/JDBCConnection.java/clean/core/src/java/scriptella/jdbc/JDBCConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 3651, 12, 1420, 2728, 1350, 16, 7012, 2428, 1472, 2428, 13, 288, 3639, 7739, 272, 273, 394, 7739, 12, 4263, 1350, 1769, 3639, 272, 18, 542, 1952, 12, 2211, 1769, 3639, 272, 18, 8837, 12, 591, 16, 1472, 2428, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 1836, 3651, 12, 1420, 2728, 1350, 16, 7012, 2428, 1472, 2428, 13, 288, 3639, 7739, 272, 273, 394, 7739, 12, 4263, 1350, 1769, 3639, 272, 18, 542, 1952, 12, 2211, 1769, 3639, 272, 18, 8837, 12, 591, 16, 1472, 2428, 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 ]
public RubyObject(Ruby ruby, RubyClass rubyClass) { this(ruby, rubyClass, true);
public RubyObject(Ruby ruby) { this(ruby, null, false);
public RubyObject(Ruby ruby, RubyClass rubyClass) { this(ruby, rubyClass, true); }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/0044a3b88a0afa22dcced1c8213002b0fb16faf4/RubyObject.java/buggy/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 12, 54, 10340, 22155, 16, 19817, 797, 22155, 797, 13, 288, 3639, 333, 12, 27768, 16, 22155, 797, 16, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 12, 54, 10340, 22155, 16, 19817, 797, 22155, 797, 13, 288, 3639, 333, 12, 27768, 16, 22155, 797, 16, 638, 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 ]
{ if (out.getIgnorePcdata()) { return; } out.beginNode(); if (asIs) { out.print(s); } else { boolean quote = true; out.cdata(s, quote); } }
{ if (out.getIgnorePcdata()) { return; } out.beginNode(); if (asIs) { out.print(s); } else { boolean quote = true; out.cdata(s, quote); } }
public void displayXML(XMLOutput out, int indent) { if (out.getIgnorePcdata()) { return; } out.beginNode(); if (asIs) { out.print(s); } else { boolean quote = true; out.cdata(s, quote); } }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/TextDef.java/buggy/src/main/mondrian/xom/TextDef.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2562, 4201, 12, 4201, 1447, 596, 16, 509, 3504, 13, 202, 95, 3196, 202, 430, 261, 659, 18, 588, 3777, 28136, 892, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 659, 18, 10086, 907, 5621, 202, 202, 430, 261, 345, 2520, 13, 288, 1082, 202, 659, 18, 1188, 12, 87, 1769, 202, 202, 97, 469, 288, 1082, 202, 6494, 3862, 273, 638, 31, 1082, 202, 659, 18, 71, 892, 12, 87, 16, 3862, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2562, 4201, 12, 4201, 1447, 596, 16, 509, 3504, 13, 202, 95, 3196, 202, 430, 261, 659, 18, 588, 3777, 28136, 892, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 659, 18, 10086, 907, 5621, 202, 202, 430, 261, 345, 2520, 13, 288, 1082, 202, 659, 18, 1188, 12, 87, 1769, 202, 202, 97, 469, 288, 1082, 202, 6494, 3862, 273, 638, 31, 1082, 202, 659, 18, 71, 892, 12, 87, 16, 3862, 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 ]
imcode.server.User user = super.getUserObj(req,res) ;
imcode.server.user.User user = super.getUserObj(req,res) ;
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { // Lets validate the session, e.g has the user logged in to Janus? if (super.checkSession(req,res) == false) return ; // Lets get the standard parameters and validate them Properties params = super.getParameters(req) ; if (super.checkParameters(req, res, params) == false) return ; // Lets get an user object imcode.server.User user = super.getUserObj(req,res) ; if(user == null) return ; int testMetaId = Integer.parseInt( params.getProperty("META_ID") ); if ( !isUserAuthorized( req, res, testMetaId, user ) ) { return; } String action = req.getParameter("action") ; //log("ConfManager is in action...") ; if(action == null) { action = "" ; String header = "ConfManager servlet. " ; ConfError err = new ConfError(req,res,header,3) ; log(header + err.getErrorMsg()) ; return ; } // ********* NEW ******** if(action.equalsIgnoreCase("NEW")) { log("Lets add a conference"); HttpSession session = req.getSession(false) ; if (session != null) { // log("Ok nu stter vi metavrdena"); session.setAttribute("Conference.meta_id", params.getProperty("META_ID")) ; session.setAttribute("Conference.parent_meta_id", params.getProperty("PARENT_META_ID")) ; session.setAttribute("Conference.cookie_id", params.getProperty("COOKIE_ID")) ; } String url = "ConfCreator?action=NEW" ; //log("Redirect till:" + url) ; res.sendRedirect(url) ; return ; } // ********* VIEW ******** if(action.equalsIgnoreCase("VIEW")) { // Lets get userparameters String metaId = params.getProperty("META_ID") ; String userId = "" + user.getUserId() ; // Lets detect which type of user we got String loginType = user.getLoginType() ; // We got 3 usertypes: 0= specialusers, 1=normal, 2=confernce // We got 3 logintypes: "Extern"=web users, "ip_access"= people from a certain ip nbr // and "verify" = people who has logged into the system if(! loginType.equalsIgnoreCase("VERIFY")) { // Lets store the standard metavalues in his session object HttpSession session = req.getSession(false) ; if (session != null) { // log("Ok nu stter vi metavrdena"); session.setAttribute("Conference.meta_id", params.getProperty("META_ID")) ; session.setAttribute("Conference.parent_meta_id", params.getProperty("PARENT_META_ID")) ; session.setAttribute("Conference.cookie_id", params.getProperty("COOKIE_ID")) ; session.setAttribute("Conference.viewedDiscList", new Properties()) ; log("OK, nu stter vi viewedDiscList") ; } String loginPage = "ConfLogin?login_type=login" ; //log("Redirect till:" + loginPage) ; res.sendRedirect(loginPage) ; return ; } log("Ok, anvndaren har loggat in, frbered honom fr konferensen" ) ; // Lets update the users sessionobject with a with a ok login to the conference // Send him to the manager with the ability to get in if(!super.prepareUserForConf(req, res, params, userId) ) { log("Error in prepareUserFor Conf" ) ; } return ; } // End of View // ********* CHANGE ******** if(action.equalsIgnoreCase("CHANGE")) { String url = "ChangeExternalDoc2?" + MetaInfo.passMeta(params) + "&metadata=meta" ; res.sendRedirect(url) ; return ; } // End if // ********* STATISTICS OBS. NOT USED IN PROGRAM, ONLY FOR TEST ******** if(action.equalsIgnoreCase("STATISTICS")) { // Lets get serverinformation IMCPoolInterface confref = IMCServiceRMI.getConfIMCPoolInterface(req) ; String metaId = req.getParameter("meta_id") ; String frDate = req.getParameter("from_date") ; String toDate = req.getParameter("to_date") ; String mode = req.getParameter("list_mode") ; // Lets fix the date stuff if( frDate.equals("0")) frDate = "1991-01-01 00:00" ; if( toDate.equals("0")) toDate = "2070-01-01 00:00" ; if( mode == null) mode = "1" ; StringBuffer sql = new StringBuffer() ; sql.append("AdminStatistics1" + " " + metaId + ", '" + frDate + "', '" ); sql.append(toDate + "', " + mode) ; String[][] arr = ConfManager.getStatistics(confref, sql.toString()) ; } // End if } // End doGet
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/9f7cf571ad8e7c19932f81f1b3ef8db152207741/ConfManager.java/buggy/servlets/conf/ConfManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 15069, 16517, 16, 1860, 288, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 759, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 202, 2297, 859, 273, 2240, 18, 588, 2402, 12, 3658, 13, 274, 202, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 327, 274, 202, 759, 511, 2413, 336, 392, 729, 733, 202, 381, 710, 18, 3567, 18, 1299, 729, 273, 2240, 18, 588, 1299, 2675, 12, 3658, 16, 455, 13, 274, 202, 430, 12, 1355, 422, 446, 13, 327, 274, 202, 474, 1842, 2781, 548, 273, 2144, 18, 2670, 1702, 12, 859, 18, 588, 1396, 2932, 19294, 67, 734, 7923, 11272, 202, 430, 261, 401, 291, 1299, 15341, 12, 1111, 16, 400, 16, 1842, 2781, 548, 16, 729, 262, 262, 288, 202, 565, 327, 31, 202, 97, 202, 780, 1301, 273, 1111, 18, 588, 1662, 2932, 1128, 7923, 274, 202, 759, 1330, 2932, 3976, 1318, 353, 316, 1301, 7070, 13, 274, 202, 430, 12, 1128, 422, 446, 13, 288, 202, 565, 1301, 273, 1408, 274, 202, 565, 514, 1446, 273, 315, 3976, 1318, 8100, 18, 315, 274, 202, 565, 9675, 668, 393, 273, 394, 9675, 668, 12, 3658, 16, 455, 16, 3374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 15069, 16517, 16, 1860, 288, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 759, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 202, 2297, 859, 273, 2240, 18, 588, 2402, 12, 3658, 13, 274, 202, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 327, 274, 202, 759, 511, 2413, 336, 392, 729, 733, 202, 381, 710, 18, 3567, 18, 1299, 729, 273, 2240, 18, 588, 1299, 2 ]
itsLineNumberTable = null;
itsLineNumberTableTop = 0;
public void stopMethod(short maxLocals, JavaVariable[] vars) { if (itsCurrentMethod == null) throw new IllegalStateException("No method to stop"); itsLabels.fixLabelGotos(itsCodeBuffer); itsMaxLocals = maxLocals; int lineNumberTableLength = 0; if (itsLineNumberTable != null) { // 6 bytes for the attribute header // 2 bytes for the line number count // 4 bytes for each entry lineNumberTableLength = 6 + 2 + (itsLineNumberTableTop * 4); } int variableTableLength = 0; if (vars != null) { // 6 bytes for the attribute header // 2 bytes for the variable count // 10 bytes for each entry variableTableLength = 6 + 2 + (vars.length * 10); } int attrLength = 2 + // attribute_name_index 4 + // attribute_length 2 + // max_stack 2 + // max_locals 4 + // code_length itsCodeBufferTop + 2 + // exception_table_length (itsExceptionTableTop * 8) + 2 + // attributes_count lineNumberTableLength + variableTableLength; byte codeAttribute[] = new byte[attrLength]; int index = 0; int codeAttrIndex = itsConstantPool.addUtf8("Code"); index = putInt16(codeAttrIndex, codeAttribute, index); attrLength -= 6; // discount the attribute header index = putInt32(attrLength, codeAttribute, index); index = putInt16(itsMaxStack, codeAttribute, index); index = putInt16(itsMaxLocals, codeAttribute, index); index = putInt32(itsCodeBufferTop, codeAttribute, index); System.arraycopy(itsCodeBuffer, 0, codeAttribute, index, itsCodeBufferTop); index += itsCodeBufferTop; if (itsExceptionTableTop > 0) { index = putInt16(itsExceptionTableTop, codeAttribute, index); for (int i = 0; i < itsExceptionTableTop; i++) { short startPC = itsExceptionTable[i].getStartPC(itsLabels); short endPC = itsExceptionTable[i].getEndPC(itsLabels); short handlerPC = itsExceptionTable[i].getHandlerPC(itsLabels); short catchType = itsExceptionTable[i].getCatchType(); index = putInt16(startPC, codeAttribute, index); index = putInt16(endPC, codeAttribute, index); index = putInt16(handlerPC, codeAttribute, index); index = putInt16(catchType, codeAttribute, index); } } else { // write 0 as exception table length index = putInt16(0, codeAttribute, index); } int attributeCount = 0; if (itsLineNumberTable != null) attributeCount++; if (vars != null) attributeCount++; index = putInt16(attributeCount, codeAttribute, index); if (itsLineNumberTable != null) { int lineNumberTableAttrIndex = itsConstantPool.addUtf8("LineNumberTable"); index = putInt16(lineNumberTableAttrIndex, codeAttribute, index); int tableAttrLength = 2 + (itsLineNumberTableTop * 4); index = putInt32(tableAttrLength, codeAttribute, index); index = putInt16(itsLineNumberTableTop, codeAttribute, index); for (int i = 0; i < itsLineNumberTableTop; i++) { index = putInt32(itsLineNumberTable[i], codeAttribute, index); } } if (vars != null) { int variableTableAttrIndex = itsConstantPool.addUtf8("LocalVariableTable"); index = putInt16(variableTableAttrIndex, codeAttribute, index); int varCount = vars.length; int tableAttrLength = 2 + (varCount * 10); index = putInt32(tableAttrLength, codeAttribute, index); index = putInt16(varCount, codeAttribute, index); for (int i = 0; i < varCount; i++) { JavaVariable lvar = vars[i]; int startPc = lvar.getStartPC(); index = putInt16(startPc, codeAttribute, index); int length = itsCodeBufferTop - startPc; index = putInt16(length, codeAttribute, index); int nameIndex = itsConstantPool.addUtf8(lvar.getName()); index = putInt16(nameIndex, codeAttribute, index); String descriptor = lvar.getTypeDescriptor(); int descriptorIndex = itsConstantPool.addUtf8(descriptor); index = putInt16(descriptorIndex, codeAttribute, index); int jreg = lvar.getJRegister(); index = putInt16(jreg, codeAttribute, index); } } itsCurrentMethod.setCodeAttribute(codeAttribute); itsExceptionTable = null; itsExceptionTableTop = 0; itsLineNumberTable = null; itsCodeBufferTop = 0; itsCurrentMethod = null; itsMaxStack = 0; itsStackTop = 0; itsLabels.clearLabels(); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/a8038532427856e5f1ddbf1e741e762809bf0a57/ClassFileWriter.java/buggy/js/rhino/src/org/mozilla/classfile/ClassFileWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2132, 1305, 12, 6620, 943, 1333, 1031, 16, 5110, 3092, 8526, 4153, 13, 288, 3639, 309, 261, 1282, 3935, 1305, 422, 446, 13, 5411, 604, 394, 5477, 2932, 2279, 707, 358, 2132, 8863, 3639, 2097, 5888, 18, 904, 2224, 43, 12440, 12, 1282, 1085, 1892, 1769, 3639, 2097, 2747, 1333, 1031, 273, 943, 1333, 1031, 31, 3639, 509, 13629, 1388, 1782, 273, 374, 31, 3639, 309, 261, 1282, 31063, 1388, 480, 446, 13, 288, 5411, 368, 1666, 1731, 364, 326, 1566, 1446, 5411, 368, 576, 1731, 364, 326, 980, 1300, 1056, 5411, 368, 1059, 1731, 364, 1517, 1241, 5411, 13629, 1388, 1782, 273, 1666, 397, 576, 397, 261, 1282, 31063, 1388, 3401, 380, 1059, 1769, 3639, 289, 3639, 509, 2190, 1388, 1782, 273, 374, 31, 3639, 309, 261, 4699, 480, 446, 13, 288, 5411, 368, 1666, 1731, 364, 326, 1566, 1446, 5411, 368, 576, 1731, 364, 326, 2190, 1056, 5411, 368, 1728, 1731, 364, 1517, 1241, 5411, 2190, 1388, 1782, 273, 1666, 397, 576, 397, 261, 4699, 18, 2469, 380, 1728, 1769, 3639, 289, 3639, 509, 1604, 1782, 273, 576, 397, 10792, 368, 1566, 67, 529, 67, 1615, 7682, 1059, 397, 10792, 368, 1566, 67, 2469, 7682, 576, 397, 10792, 368, 943, 67, 3772, 7682, 576, 397, 10792, 368, 943, 67, 17977, 7682, 1059, 397, 10792, 368, 981, 67, 2469, 7682, 2097, 1085, 1892, 3401, 397, 7682, 576, 397, 10792, 368, 1520, 67, 2121, 67, 2469, 7682, 261, 1282, 503, 1388, 3401, 380, 1725, 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, 2132, 1305, 12, 6620, 943, 1333, 1031, 16, 5110, 3092, 8526, 4153, 13, 288, 3639, 309, 261, 1282, 3935, 1305, 422, 446, 13, 5411, 604, 394, 5477, 2932, 2279, 707, 358, 2132, 8863, 3639, 2097, 5888, 18, 904, 2224, 43, 12440, 12, 1282, 1085, 1892, 1769, 3639, 2097, 2747, 1333, 1031, 273, 943, 1333, 1031, 31, 3639, 509, 13629, 1388, 1782, 273, 374, 31, 3639, 309, 261, 1282, 31063, 1388, 480, 446, 13, 288, 5411, 368, 1666, 1731, 364, 326, 1566, 1446, 5411, 368, 576, 1731, 364, 326, 980, 1300, 1056, 5411, 368, 1059, 1731, 364, 1517, 1241, 5411, 13629, 1388, 1782, 273, 1666, 397, 576, 397, 261, 1282, 31063, 1388, 3401, 380, 1059, 1769, 3639, 2 ]
markState = MarkSweepHeader.MARK_BIT_MASK - markState;
markState = MarkSweepHeader.MARK_BIT_MASK.sub(markState);
public void prepare(VMResource vm, MemoryResource mr) { markState = MarkSweepHeader.MARK_BIT_MASK - markState; inTreadmillCollection = true; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/3c0756abda37636c945aa641fbe8139169e9ad16/TreadmillSpace.java/buggy/MMTk/src/org/mmtk/policy/TreadmillSpace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2911, 12, 7397, 1420, 4268, 16, 9251, 1420, 9752, 13, 288, 377, 2267, 1119, 273, 6622, 55, 25236, 1864, 18, 12693, 67, 15650, 67, 11704, 18, 1717, 12, 3355, 1119, 1769, 565, 316, 56, 896, 81, 737, 2532, 273, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2911, 12, 7397, 1420, 4268, 16, 9251, 1420, 9752, 13, 288, 377, 2267, 1119, 273, 6622, 55, 25236, 1864, 18, 12693, 67, 15650, 67, 11704, 18, 1717, 12, 3355, 1119, 1769, 565, 316, 56, 896, 81, 737, 2532, 273, 638, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new Integer((int) d.getWidth()), new Integer((int) d.getHeight()),
new Integer(d.width), new Integer(d.height),
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessStream(id); little = false; // skip the header and read in the remaining bytes int len = (int) (in.length() - 512); bytes = new byte[len]; in.seek(512); in.read(bytes); byte[] b = new byte[20]; in.seek(512); in.read(b); Dimension d = getDimensions(b); sizeX[0] = width; sizeY[0] = height; sizeZ[0] = 1; sizeC[0] = 3; sizeT[0] = 1; currentOrder[0] = "XYCZT"; // The metadata store we're working with. MetadataStore store = getMetadataStore(id); pixelType[0] = FormatReader.INT8; store.setPixels( new Integer((int) d.getWidth()), new Integer((int) d.getHeight()), new Integer(1), new Integer(3), new Integer(1), new Integer(pixelType[0]), new Boolean(!little), "XYCZT", null); }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/4391c7dac9a93db89d4cea89b1efa2c279858644/PictReader.java/buggy/loci/formats/in/PictReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 316, 273, 394, 8072, 1862, 1228, 12, 350, 1769, 565, 12720, 273, 629, 31, 565, 368, 2488, 326, 1446, 471, 855, 316, 326, 4463, 1731, 565, 509, 562, 273, 261, 474, 13, 261, 267, 18, 2469, 1435, 300, 13908, 1769, 565, 1731, 273, 394, 1160, 63, 1897, 15533, 565, 316, 18, 16508, 12, 13757, 1769, 565, 316, 18, 896, 12, 3890, 1769, 565, 1160, 8526, 324, 273, 394, 1160, 63, 3462, 15533, 565, 316, 18, 16508, 12, 13757, 1769, 565, 316, 18, 896, 12, 70, 1769, 565, 13037, 302, 273, 2343, 23124, 12, 70, 1769, 565, 963, 60, 63, 20, 65, 273, 1835, 31, 565, 963, 61, 63, 20, 65, 273, 2072, 31, 565, 963, 62, 63, 20, 65, 273, 404, 31, 565, 963, 39, 63, 20, 65, 273, 890, 31, 565, 963, 56, 63, 20, 65, 273, 404, 31, 565, 783, 2448, 63, 20, 65, 273, 315, 8546, 39, 62, 56, 14432, 565, 368, 1021, 1982, 1707, 732, 4565, 5960, 598, 18, 565, 6912, 2257, 1707, 273, 11159, 2257, 12, 350, 1769, 565, 4957, 559, 63, 20, 65, 273, 4077, 2514, 18, 3217, 28, 31, 565, 1707, 18, 542, 18079, 12, 1377, 394, 2144, 12, 72, 18, 2819, 3631, 394, 2144, 12, 72, 18, 4210, 3631, 1377, 394, 2144, 12, 21, 3631, 394, 2144, 12, 23, 3631, 394, 2144, 12, 21, 3631, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 316, 273, 394, 8072, 1862, 1228, 12, 350, 1769, 565, 12720, 273, 629, 31, 565, 368, 2488, 326, 1446, 471, 855, 316, 326, 4463, 1731, 565, 509, 562, 273, 261, 474, 13, 261, 267, 18, 2469, 1435, 300, 13908, 1769, 565, 1731, 273, 394, 1160, 63, 1897, 15533, 565, 316, 18, 16508, 12, 13757, 1769, 565, 316, 18, 896, 12, 3890, 1769, 565, 1160, 8526, 324, 273, 394, 1160, 63, 3462, 15533, 565, 316, 18, 16508, 12, 13757, 1769, 565, 316, 18, 896, 12, 70, 1769, 565, 13037, 302, 273, 2343, 23124, 12, 70, 1769, 2 ]
return (Hierarchy[]) hierList.toArray(new Hierarchy[0]); }
return (Hierarchy[]) hierList.toArray(new Hierarchy[0]); }
private Hierarchy[] collectHierarchies(QueryPart queryPart) { Walker walker = new Walker(queryPart); ArrayList hierList = new ArrayList(); while (walker.hasMoreElements()) { Object o = walker.nextElement(); if (o instanceof Exp) { // if object's parent is a function (except tuple/parentheses // or CrossJoin), algorithm shall look only at the first child Object parent = walker.getParent(); if (parent instanceof FunCall) { FunCall funCall = (FunCall) parent; if (!funCall.isCallToTuple() && !funCall.isCallToCrossJoin() && !funCall.isCallTo("Generate") && funCall.args[0] != o) { walker.prune(); continue; } } Exp e = (Exp) o; if (!e.isSet() && !e.isMember()) continue; // expression must represent a set or be a member Hierarchy obExpHierarchy = e.getHierarchy(); if (obExpHierarchy == null) // set must have a dimension (e.g. disallow CrossJoin) continue; if(!hierList.contains(obExpHierarchy)) hierList.add(obExpHierarchy); } } return (Hierarchy[]) hierList.toArray(new Hierarchy[0]); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/Query.java/buggy/src/main/mondrian/olap/Query.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 670, 6000, 8526, 3274, 44, 5148, 606, 12, 1138, 1988, 843, 1988, 13, 202, 95, 202, 202, 16246, 14810, 273, 394, 7564, 264, 12, 2271, 1988, 1769, 202, 202, 19558, 366, 2453, 682, 273, 394, 2407, 5621, 202, 202, 17523, 261, 11348, 264, 18, 5332, 7417, 3471, 10756, 288, 1082, 202, 921, 320, 273, 14810, 18, 4285, 1046, 5621, 1082, 202, 430, 261, 83, 1276, 7784, 13, 288, 9506, 202, 759, 309, 733, 1807, 982, 353, 279, 445, 261, 14137, 3193, 19, 13012, 7915, 281, 9506, 202, 759, 578, 19742, 4572, 3631, 4886, 24315, 2324, 1338, 622, 326, 1122, 1151, 9506, 202, 921, 982, 273, 225, 14810, 18, 588, 3054, 5621, 9506, 202, 430, 261, 2938, 1276, 478, 318, 1477, 13, 288, 6862, 202, 22783, 1477, 9831, 1477, 273, 261, 22783, 1477, 13, 982, 31, 6862, 202, 430, 16051, 12125, 1477, 18, 291, 1477, 774, 9038, 1435, 597, 25083, 202, 5, 12125, 1477, 18, 291, 1477, 774, 13941, 4572, 1435, 597, 25083, 202, 5, 12125, 1477, 18, 291, 1477, 774, 2932, 4625, 7923, 597, 25083, 202, 12125, 1477, 18, 1968, 63, 20, 65, 480, 320, 13, 288, 25083, 202, 11348, 264, 18, 28545, 5621, 25083, 202, 17143, 31, 6862, 202, 97, 9506, 202, 97, 26924, 202, 2966, 425, 273, 261, 2966, 13, 320, 31, 9506, 202, 430, 16051, 73, 18, 291, 694, 1435, 597, 401, 73, 18, 291, 4419, 10756, 6862, 202, 17143, 31, 368, 2652, 1297, 2406, 279, 444, 578, 506, 279, 3140, 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, 670, 6000, 8526, 3274, 44, 5148, 606, 12, 1138, 1988, 843, 1988, 13, 202, 95, 202, 202, 16246, 14810, 273, 394, 7564, 264, 12, 2271, 1988, 1769, 202, 202, 19558, 366, 2453, 682, 273, 394, 2407, 5621, 202, 202, 17523, 261, 11348, 264, 18, 5332, 7417, 3471, 10756, 288, 1082, 202, 921, 320, 273, 14810, 18, 4285, 1046, 5621, 1082, 202, 430, 261, 83, 1276, 7784, 13, 288, 9506, 202, 759, 309, 733, 1807, 982, 353, 279, 445, 261, 14137, 3193, 19, 13012, 7915, 281, 9506, 202, 759, 578, 19742, 4572, 3631, 4886, 24315, 2324, 1338, 622, 326, 1122, 1151, 9506, 202, 921, 982, 273, 225, 14810, 18, 588, 3054, 5621, 9506, 202, 430, 261, 2938, 2 ]
super (base, facets, derivedByList, reporter);
public StringDatatypeValidator ( DatatypeValidator base, Hashtable facets, boolean derivedByList, XMLErrorReporter reporter) { super (base, facets, derivedByList, reporter); }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/3feb5213557245422212d78a8e678dc4ab5b5db2/StringDatatypeValidator.java/buggy/src/org/apache/xerces/impl/v2/datatypes/StringDatatypeValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 20228, 5126, 261, 21168, 5126, 1026, 16, 18559, 21681, 16, 19694, 1250, 10379, 858, 682, 16, 3167, 668, 13289, 11528, 13, 288, 5375, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 20228, 5126, 261, 21168, 5126, 1026, 16, 18559, 21681, 16, 19694, 1250, 10379, 858, 682, 16, 3167, 668, 13289, 11528, 13, 288, 5375, 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 ]
chkBlocksInStore = countCHKBlocksFromDatabase();
long chkBlocksInDatabase = countCHKBlocksFromDatabase(); chkBlocksInStore = chkBlocksInDatabase;
public BerkeleyDBFreenetStore(String storeDir, long maxChkBlocks, int blockSize, int headerSize, boolean throwOnTooFewKeys) throws Exception { this.dataBlockSize = blockSize; this.headerBlockSize = headerSize; this.freeBlocks = new SortedLongSet(); // Percentage of the database that must contain usefull data // decrease to increase performance, increase to save disk space System.setProperty("je.cleaner.minUtilization","98"); // Delete empty log files System.setProperty("je.cleaner.expunge","true"); // Percentage of the maximum heap size used as a cache System.setProperty("je.maxMemoryPercent","30"); this.maxChkBlocks=maxChkBlocks; // Initialize environment EnvironmentConfig envConfig = new EnvironmentConfig(); envConfig.setAllowCreate(true); envConfig.setTransactional(true); envConfig.setTxnWriteNoSync(true); File dir = new File(storeDir); if(!dir.exists()) dir.mkdir(); File dbDir = new File(dir,"database"); if(!dbDir.exists()) dbDir.mkdir(); environment = new Environment(dbDir, envConfig); // Initialize CHK database DatabaseConfig dbConfig = new DatabaseConfig(); dbConfig.setAllowCreate(true); dbConfig.setTransactional(true); chkDB = environment.openDatabase(null,"CHK",dbConfig); fixSecondaryFile = new File(storeDir, "recreate_secondary_db"); if(fixSecondaryFile.exists()) { fixSecondaryFile.delete(); Logger.error(this, "Recreating secondary database for "+storeDir); Logger.error(this, "This may take some time..."); System.err.println("Recreating secondary database for "+storeDir); System.err.println("This may take some time..."); environment.truncateDatabase(null, "CHK_accessTime", false); } // Initialize secondary CHK database sorted on accesstime SecondaryConfig secDbConfig = new SecondaryConfig(); secDbConfig.setAllowCreate(true); secDbConfig.setSortedDuplicates(true); secDbConfig.setTransactional(true); secDbConfig.setAllowPopulate(true); storeBlockTupleBinding = new StoreBlockTupleBinding(); longTupleBinding = TupleBinding.getPrimitiveBinding(Long.class); AccessTimeKeyCreator accessTimeKeyCreator = new AccessTimeKeyCreator(storeBlockTupleBinding); secDbConfig.setKeyCreator(accessTimeKeyCreator); chkDB_accessTime = environment.openSecondaryDatabase (null, "CHK_accessTime", chkDB, secDbConfig); // Initialize other secondary database sorted on block number// try {// environment.removeDatabase(null, "CHK_blockNum");// } catch (DatabaseNotFoundException e) { }; SecondaryConfig blockNoDbConfig = new SecondaryConfig(); blockNoDbConfig.setAllowCreate(false); blockNoDbConfig.setSortedDuplicates(false); blockNoDbConfig.setAllowPopulate(true); blockNoDbConfig.setTransactional(true); BlockNumberKeyCreator bnkc = new BlockNumberKeyCreator(storeBlockTupleBinding); blockNoDbConfig.setKeyCreator(bnkc); SecondaryDatabase blockNums; try { System.err.println("Opening block db index"); blockNums = environment.openSecondaryDatabase (null, "CHK_blockNum", chkDB, blockNoDbConfig); } catch (DatabaseNotFoundException e) { System.err.println("Migrating block db index"); // De-dupe on keys and block numbers. migrate(storeDir); System.err.println("De-duped, creating new index..."); blockNoDbConfig.setSortedDuplicates(false); blockNoDbConfig.setAllowCreate(true); blockNoDbConfig.setAllowPopulate(true); blockNums = environment.openSecondaryDatabase (null, "CHK_blockNum", chkDB, blockNoDbConfig); } chkDB_blockNum = blockNums; // Initialize the store file File storeFile = new File(dir,"store"); if(!storeFile.exists()) storeFile.createNewFile(); chkStore = new RandomAccessFile(storeFile,"rw"); chkBlocksInStore = countCHKBlocksFromDatabase(); long chkBlocksFromFile = countCHKBlocksFromFile(); lastRecentlyUsed = getMaxRecentlyUsed(); if(((chkBlocksInStore == 0) && (chkBlocksFromFile != 0)) || (((chkBlocksInStore + 10) * 1.1) < chkBlocksFromFile)) { if(throwOnTooFewKeys) { try { close(); } catch (Throwable t) { Logger.error(this, "Failed to close: "+t, t); System.err.println("Failed to close: "+t); t.printStackTrace(); } throw new DatabaseException("Keys in database: "+chkBlocksInStore+" but keys in file: "+chkBlocksFromFile); } else checkForHoles(chkBlocksFromFile); } chkBlocksInStore = Math.max(chkBlocksInStore, chkBlocksFromFile); Logger.minor(this, "Keys in store: "+chkBlocksInStore); System.out.println("Keys in store: "+chkBlocksInStore+" / "+maxChkBlocks); maybeShrink(true, true); // Add shutdownhook Runtime.getRuntime().addShutdownHook(new ShutdownHook()); }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/6627b28789c87121ba2b2847c9c58d6dd6f19439/BerkeleyDBFreenetStore.java/buggy/src/freenet/store/BerkeleyDBFreenetStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 605, 264, 79, 292, 402, 2290, 42, 2842, 278, 2257, 12, 780, 1707, 1621, 16, 1525, 943, 782, 79, 6450, 16, 509, 13766, 16, 509, 31719, 16, 1250, 604, 1398, 10703, 42, 359, 2396, 13, 1216, 1185, 288, 202, 202, 2211, 18, 892, 22506, 273, 13766, 31, 202, 202, 2211, 18, 3374, 22506, 273, 31719, 31, 202, 202, 2211, 18, 9156, 6450, 273, 394, 13717, 3708, 694, 5621, 202, 202, 759, 21198, 410, 434, 326, 2063, 716, 1297, 912, 999, 2854, 501, 202, 202, 759, 20467, 358, 10929, 9239, 16, 10929, 358, 1923, 4234, 3476, 202, 202, 3163, 18, 542, 1396, 2932, 78, 73, 18, 6200, 264, 18, 1154, 29180, 15937, 10689, 8863, 9506, 202, 759, 2504, 1008, 613, 1390, 202, 202, 3163, 18, 542, 1396, 2932, 78, 73, 18, 6200, 264, 18, 2749, 25561, 15937, 3767, 8863, 9506, 202, 759, 21198, 410, 434, 326, 4207, 10500, 963, 1399, 487, 279, 1247, 202, 202, 3163, 18, 542, 1396, 2932, 78, 73, 18, 1896, 6031, 8410, 15937, 5082, 8863, 9506, 202, 2211, 18, 1896, 782, 79, 6450, 33, 1896, 782, 79, 6450, 31, 9506, 202, 759, 9190, 3330, 202, 202, 5494, 809, 1550, 809, 273, 394, 7518, 809, 5621, 202, 202, 3074, 809, 18, 542, 7009, 1684, 12, 3767, 1769, 202, 202, 3074, 809, 18, 542, 3342, 287, 12, 3767, 1769, 202, 202, 3074, 809, 18, 542, 13789, 3067, 2279, 4047, 12, 3767, 1769, 202, 202, 812, 1577, 273, 394, 1387, 12, 2233, 1621, 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, 605, 264, 79, 292, 402, 2290, 42, 2842, 278, 2257, 12, 780, 1707, 1621, 16, 1525, 943, 782, 79, 6450, 16, 509, 13766, 16, 509, 31719, 16, 1250, 604, 1398, 10703, 42, 359, 2396, 13, 1216, 1185, 288, 202, 202, 2211, 18, 892, 22506, 273, 13766, 31, 202, 202, 2211, 18, 3374, 22506, 273, 31719, 31, 202, 202, 2211, 18, 9156, 6450, 273, 394, 13717, 3708, 694, 5621, 202, 202, 759, 21198, 410, 434, 326, 2063, 716, 1297, 912, 999, 2854, 501, 202, 202, 759, 20467, 358, 10929, 9239, 16, 10929, 358, 1923, 4234, 3476, 202, 202, 3163, 18, 542, 1396, 2932, 78, 73, 18, 6200, 264, 18, 1154, 29180, 15937, 10689, 8863, 9506, 202, 759, 2 ]
"<!DOCTYPE sect SYSTEM 'tests/xml/sect.dtd'>" +
"<!DOCTYPE sect SYSTEM '" + system + "'>" +
public void testAssertPassed_Doctype() throws SAXException { XMLComparator.assertEquals("" + "<!DOCTYPE sect [" + " <!ELEMENT sect EMPTY>" + "]>" + "<sect/>", DOMUtil.parse("" + "<!DOCTYPE sect [" + " <!ELEMENT sect EMPTY>" + "]>" + "<sect/>")); XMLComparator.assertEquals("" + "<!DOCTYPE sect PUBLIC 'urn1' 'tests/xml/sect.dtd'>" + "<sect/>", DOMUtil.parse("" + "<!DOCTYPE sect PUBLIC 'urn1' 'tests/xml/sect.dtd'>" + "<sect/>")); XMLComparator.assertEquals("" + "<!DOCTYPE sect SYSTEM 'tests/xml/sect.dtd'>" + "<sect/>", DOMUtil.parse("" + "<!DOCTYPE sect SYSTEM 'tests/xml/sect.dtd'>" + "<sect/>")); XMLComparator.assertEquals("" + "<!DOCTYPE sect [" + "<!ENTITY ent1 'enttext1'>" + "]>" + "<sect>&ent1;</sect>", DOMUtil.parse("" + "<!DOCTYPE sect [" + "<!ENTITY ent1 'enttext1'>" + "]>" + "<sect>&ent1;</sect>")); }
3174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3174/57eb642d6d719c5c08c5f9e094f323ae2ab57e0c/UTestXMLComparator.java/clean/tests/org/tigris/juxy/util/UTestXMLComparator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 8213, 22530, 67, 3244, 12387, 1435, 1216, 14366, 288, 565, 3167, 5559, 18, 11231, 8867, 2932, 6, 397, 3639, 3532, 5, 29824, 29140, 8247, 397, 3639, 315, 282, 5719, 10976, 29140, 8984, 2984, 397, 3639, 9850, 2984, 397, 3639, 3532, 5709, 26293, 16, 3639, 4703, 1304, 18, 2670, 2932, 6, 397, 5411, 3532, 5, 29824, 29140, 8247, 397, 5411, 315, 282, 5719, 10976, 29140, 8984, 2984, 397, 5411, 9850, 2984, 397, 5411, 3532, 5709, 26293, 10019, 565, 3167, 5559, 18, 11231, 8867, 2932, 6, 397, 3639, 3532, 5, 29824, 29140, 17187, 296, 321, 21, 11, 296, 16341, 19, 2902, 19, 5709, 18, 31834, 28533, 397, 3639, 3532, 5709, 26293, 16, 3639, 4703, 1304, 18, 2670, 2932, 6, 397, 5411, 3532, 5, 29824, 29140, 17187, 296, 321, 21, 11, 296, 16341, 19, 2902, 19, 5709, 18, 31834, 28533, 397, 5411, 3532, 5709, 26293, 10019, 565, 3167, 5559, 18, 11231, 8867, 2932, 6, 397, 3639, 3532, 5, 29824, 29140, 18786, 2119, 397, 2619, 397, 2491, 2984, 397, 3639, 3532, 5709, 26293, 16, 3639, 4703, 1304, 18, 2670, 2932, 6, 397, 5411, 3532, 5, 29824, 29140, 18786, 2119, 397, 2619, 397, 2491, 2984, 397, 5411, 3532, 5709, 26293, 10019, 565, 3167, 5559, 18, 11231, 8867, 2932, 6, 397, 3639, 3532, 5, 29824, 29140, 8247, 397, 3639, 3532, 5, 11101, 3281, 21, 296, 319, 955, 21, 28533, 397, 3639, 9850, 2984, 397, 3639, 3532, 5709, 22393, 319, 21, 27922, 5709, 2984, 16, 3639, 4703, 1304, 18, 2670, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 8213, 22530, 67, 3244, 12387, 1435, 1216, 14366, 288, 565, 3167, 5559, 18, 11231, 8867, 2932, 6, 397, 3639, 3532, 5, 29824, 29140, 8247, 397, 3639, 315, 282, 5719, 10976, 29140, 8984, 2984, 397, 3639, 9850, 2984, 397, 3639, 3532, 5709, 26293, 16, 3639, 4703, 1304, 18, 2670, 2932, 6, 397, 5411, 3532, 5, 29824, 29140, 8247, 397, 5411, 315, 282, 5719, 10976, 29140, 8984, 2984, 397, 5411, 9850, 2984, 397, 5411, 3532, 5709, 26293, 10019, 565, 3167, 5559, 18, 11231, 8867, 2932, 6, 397, 3639, 3532, 5, 29824, 29140, 17187, 296, 321, 21, 11, 296, 16341, 19, 2902, 19, 5709, 18, 31834, 28533, 397, 3639, 3532, 5709, 26293, 16, 3639, 4703, 1304, 18, 2670, 2 ]
g2.addParameter( T, new PtrOp( PtrOp.t_reference ), false );
g2.addParameter( T, 0, new PtrOp( PtrOp.t_reference ), false );
public void test_14_5_5_2__5_OrderingFunctionTemplates_2() throws Exception{ newTable(); ITemplateSymbol template1 = table.newTemplateSymbol( "g" ); template1.addTemplateParameter( table.newSymbol( "T", TypeInfo.t_templateParameter ) ); ISymbol T = template1.lookup( "T" ); IParameterizedSymbol g1 = table.newParameterizedSymbol( "g", TypeInfo.t_function ); g1.addParameter( T, null, false ); template1.addSymbol( g1 ); table.getCompilationUnit().addSymbol( template1 ); ITemplateSymbol template2 = table.newTemplateSymbol( "g" ); template2.addTemplateParameter( table.newSymbol( "T", TypeInfo.t_templateParameter ) ); T = template2.lookup( "T" ); IParameterizedSymbol g2 = table.newParameterizedSymbol( "g", TypeInfo.t_function ); g2.addParameter( T, new PtrOp( PtrOp.t_reference ), false ); template2.addSymbol( g2 ); table.getCompilationUnit().addSymbol( template2 ); ISymbol x = table.newSymbol( "x", TypeInfo.t_float ); List params = new LinkedList(); params.add( new TypeInfo( TypeInfo.t_type, 0, x ) ); try{ ISymbol look = table.getCompilationUnit().unqualifiedFunctionLookup( "g", params ); assertTrue( false ); } catch( ParserSymbolTableException e ){ assertEquals( e.reason, ParserSymbolTableException.r_Ambiguous ); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/b416d5f3b91a9ba8919dec6f5cd139d424a6ad19/ParserSymbolTableTemplateTests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ParserSymbolTableTemplateTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 225, 1071, 918, 1842, 67, 3461, 67, 25, 67, 25, 67, 22, 972, 25, 67, 20493, 2083, 8218, 67, 22, 1435, 1216, 1185, 95, 202, 202, 2704, 1388, 5621, 9506, 202, 1285, 29761, 5335, 1542, 21, 273, 1014, 18, 2704, 2283, 5335, 12, 315, 75, 6, 11272, 202, 202, 3202, 21, 18, 1289, 2283, 1662, 12, 1014, 18, 2704, 5335, 12, 315, 56, 3113, 1412, 966, 18, 88, 67, 3202, 1662, 262, 11272, 202, 202, 5127, 3284, 399, 273, 1542, 21, 18, 8664, 12, 315, 56, 6, 11272, 202, 202, 45, 15696, 5335, 314, 21, 273, 1014, 18, 2704, 15696, 5335, 12, 315, 75, 3113, 1412, 966, 18, 88, 67, 915, 11272, 202, 202, 75, 21, 18, 1289, 1662, 12, 399, 16, 446, 16, 629, 11272, 202, 202, 3202, 21, 18, 1289, 5335, 12, 314, 21, 11272, 202, 202, 2121, 18, 588, 19184, 2802, 7675, 1289, 5335, 12, 1542, 21, 11272, 9506, 202, 1285, 29761, 5335, 1542, 22, 273, 1014, 18, 2704, 2283, 5335, 12, 315, 75, 6, 11272, 202, 202, 3202, 22, 18, 1289, 2283, 1662, 12, 1014, 18, 2704, 5335, 12, 315, 56, 3113, 1412, 966, 18, 88, 67, 3202, 1662, 262, 11272, 202, 202, 56, 273, 1542, 22, 18, 8664, 12, 315, 56, 6, 11272, 202, 202, 45, 15696, 5335, 314, 22, 273, 1014, 18, 2704, 15696, 5335, 12, 315, 75, 3113, 1412, 966, 18, 88, 67, 915, 11272, 202, 202, 75, 22, 18, 1289, 1662, 12, 399, 16, 394, 14898, 3817, 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, 3196, 225, 1071, 918, 1842, 67, 3461, 67, 25, 67, 25, 67, 22, 972, 25, 67, 20493, 2083, 8218, 67, 22, 1435, 1216, 1185, 95, 202, 202, 2704, 1388, 5621, 9506, 202, 1285, 29761, 5335, 1542, 21, 273, 1014, 18, 2704, 2283, 5335, 12, 315, 75, 6, 11272, 202, 202, 3202, 21, 18, 1289, 2283, 1662, 12, 1014, 18, 2704, 5335, 12, 315, 56, 3113, 1412, 966, 18, 88, 67, 3202, 1662, 262, 11272, 202, 202, 5127, 3284, 399, 273, 1542, 21, 18, 8664, 12, 315, 56, 6, 11272, 202, 202, 45, 15696, 5335, 314, 21, 273, 1014, 18, 2704, 15696, 5335, 12, 315, 75, 3113, 1412, 966, 18, 88, 67, 915, 11272, 202, 202, 75, 21, 18, 1289, 2 ]
return copy;
return new View(view.getVid(), members);
private View generateServiceView(List hosts) { View copy=new View(view.getVid(), new Vector(view.getMembers())); Vector members=copy.getMembers(); members.retainAll(hosts); return copy; }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/9b6839e6b4fd1e5468397fff7d713fef86820db7/Multiplexer.java/clean/src/org/jgroups/mux/Multiplexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4441, 2103, 1179, 1767, 12, 682, 7206, 13, 288, 3639, 4441, 1610, 33, 2704, 4441, 12, 1945, 18, 588, 58, 350, 9334, 394, 5589, 12, 1945, 18, 588, 6918, 1435, 10019, 3639, 5589, 4833, 33, 3530, 18, 588, 6918, 5621, 3639, 4833, 18, 1349, 530, 1595, 12, 11588, 1769, 3639, 327, 394, 4441, 12, 1945, 18, 588, 58, 350, 9334, 4833, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4441, 2103, 1179, 1767, 12, 682, 7206, 13, 288, 3639, 4441, 1610, 33, 2704, 4441, 12, 1945, 18, 588, 58, 350, 9334, 394, 5589, 12, 1945, 18, 588, 6918, 1435, 10019, 3639, 5589, 4833, 33, 3530, 18, 588, 6918, 5621, 3639, 4833, 18, 1349, 530, 1595, 12, 11588, 1769, 3639, 327, 394, 4441, 12, 1945, 18, 588, 58, 350, 9334, 4833, 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 ]
myVURL = myMediator.getWorkspaceProperty(myPath, "svn:wc:ra_dav:version-url");
myVURL = myMediator.getWorkspaceProperty(PathUtil.decode(myPath), "svn:wc:ra_dav:version-url");
public String getVersionURL() throws SVNException { // do fetch from server if empty... if (myVURL == null) { if (myMediator != null) { myVURL = myMediator.getWorkspaceProperty(myPath, "svn:wc:ra_dav:version-url"); DebugLog.log("cached vURL for " + myPath + " : " + myVURL); if (myVURL != null) { return myVURL; } } String path = myURL; if (myRevision >= 0) { // get baseline collection url for revision from public url. DAVBaselineInfo info = DAVUtil.getBaselineInfo(myConnection, path, myRevision, false, false, null); DebugLog.log("base line path: " + info.baselineBase + " + " + info.baselinePath); path = PathUtil.append(info.baselineBase, info.baselinePath); } // get "checked-in" property from baseline collection or from HEAD, this will be vURL. // this shouldn't be called for copied urls. myVURL = (String) DAVUtil.getPropertyValue(myConnection, path, null, DAVElement.CHECKED_IN); } return myVURL; }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/10f717035a9db3a584f35c6c94cea6e62fea160e/DAVResource.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/dav/DAVResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8343, 1785, 1435, 1216, 29537, 50, 503, 288, 3639, 368, 741, 2158, 628, 1438, 309, 1008, 2777, 3639, 309, 261, 4811, 58, 1785, 422, 446, 13, 288, 5411, 309, 261, 4811, 13265, 10620, 480, 446, 13, 288, 7734, 3399, 58, 1785, 273, 3399, 13265, 10620, 18, 588, 8241, 1396, 12, 743, 1304, 18, 3922, 12, 4811, 743, 3631, 315, 31505, 30, 27594, 30, 354, 67, 20752, 30, 1589, 17, 718, 8863, 7734, 4015, 1343, 18, 1330, 2932, 7097, 331, 1785, 364, 315, 397, 3399, 743, 397, 315, 294, 315, 397, 3399, 58, 1785, 1769, 7734, 309, 261, 4811, 58, 1785, 480, 446, 13, 288, 10792, 327, 3399, 58, 1785, 31, 7734, 289, 5411, 289, 5411, 514, 589, 273, 3399, 1785, 31, 5411, 309, 261, 4811, 7939, 1545, 374, 13, 288, 7734, 368, 336, 14243, 1849, 880, 364, 6350, 628, 1071, 880, 18, 7734, 463, 5856, 16635, 966, 1123, 273, 463, 5856, 1304, 18, 588, 16635, 966, 12, 4811, 1952, 16, 589, 16, 3399, 7939, 16, 629, 16, 629, 16, 446, 1769, 7734, 4015, 1343, 18, 1330, 2932, 1969, 980, 589, 30, 315, 397, 1123, 18, 27818, 2171, 397, 315, 397, 315, 397, 1123, 18, 27818, 743, 1769, 7734, 589, 273, 2666, 1304, 18, 6923, 12, 1376, 18, 27818, 2171, 16, 1123, 18, 27818, 743, 1769, 5411, 289, 5411, 368, 336, 315, 4532, 17, 267, 6, 1272, 628, 14243, 1849, 578, 628, 14792, 16, 333, 903, 506, 331, 1785, 18, 5411, 368, 333, 12044, 1404, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8343, 1785, 1435, 1216, 29537, 50, 503, 288, 3639, 368, 741, 2158, 628, 1438, 309, 1008, 2777, 3639, 309, 261, 4811, 58, 1785, 422, 446, 13, 288, 5411, 309, 261, 4811, 13265, 10620, 480, 446, 13, 288, 7734, 3399, 58, 1785, 273, 3399, 13265, 10620, 18, 588, 8241, 1396, 12, 743, 1304, 18, 3922, 12, 4811, 743, 3631, 315, 31505, 30, 27594, 30, 354, 67, 20752, 30, 1589, 17, 718, 8863, 7734, 4015, 1343, 18, 1330, 2932, 7097, 331, 1785, 364, 315, 397, 3399, 743, 397, 315, 294, 315, 397, 3399, 58, 1785, 1769, 7734, 309, 261, 4811, 58, 1785, 480, 446, 13, 288, 10792, 327, 3399, 58, 1785, 31, 7734, 289, 5411, 289, 5411, 514, 2 ]
Node n = ur.getNode(href); if (n.getOwnerDocument() == null) { throw new Error("Can't use documents"); } Element elt = (Element)n; boolean local = n.getOwnerDocument() == e.getOwnerDocument(); Element inst; if (local) { inst = (Element)elt.cloneNode(true); } else { inst = (Element)e.getOwnerDocument(). importNode(elt, true); }
Element inst = ur.importElement(href, true);
protected void buildGraphicsNode(BridgeContext ctx, CompositeGraphicsNode composite, Element e) { List gvtChildList = composite.getChildren(); Bridge bridge = ctx.getBridge(e); if ((bridge != null) && (bridge instanceof GraphicsNodeBridge)) { GraphicsNodeBridge gnb = (GraphicsNodeBridge)bridge; GraphicsNode childGVTNode = gnb.createGraphicsNode(ctx, e); gvtChildList.add(childGVTNode); if (gnb.isContainer()) { buildComposite(ctx, (CompositeGraphicsNode)childGVTNode, e.getFirstChild()); } else if (TAG_USE.equals(e.getLocalName())) { URIResolver ur; ur = new URIResolver((SVGDocument)e.getOwnerDocument(), ctx.getDocumentLoader()); String href = XLinkSupport.getXLinkHref(e); try { Node n = ur.getNode(href); if (n.getOwnerDocument() == null) { throw new Error("Can't use documents"); } Element elt = (Element)n; boolean local = n.getOwnerDocument() == e.getOwnerDocument(); Element inst; if (local) { inst = (Element)elt.cloneNode(true); } else { inst = (Element)e.getOwnerDocument(). importNode(elt, true); } if (inst instanceof SVGSymbolElement) { Element tmp = e.getOwnerDocument().createElementNS (SVG_NAMESPACE_URI, TAG_SVG); for (n = inst.getFirstChild(); n != null; n = inst.getFirstChild()) { tmp.appendChild(n); } NamedNodeMap attrs = inst.getAttributes(); int len = attrs.getLength(); for (int i = 0; i < len; i++) { Attr attr = (Attr)attrs.item(i); String ns = attr.getNamespaceURI(); tmp.setAttributeNS(attr.getNamespaceURI(), attr.getName(), attr.getValue()); } tmp.setAttributeNS(null, ATTR_WIDTH, "100%"); tmp.setAttributeNS(null, ATTR_HEIGHT, "100%"); inst = tmp; } ((HiddenChildElement)inst).setParentElement(e); if (inst instanceof SVGSVGElement) { if (e.hasAttributeNS(null, ATTR_WIDTH)) { inst.setAttributeNS(null, ATTR_WIDTH, e.getAttributeNS(null, ATTR_WIDTH)); } if (e.hasAttributeNS(null, ATTR_HEIGHT)) { inst.setAttributeNS(null, ATTR_HEIGHT, e.getAttributeNS(null, ATTR_HEIGHT)); } } if (!local) { SVGOMDocument doc; doc = (SVGOMDocument)elt.getOwnerDocument(); updateURIs(inst, ((SVGOMDocument)doc).getURLObject()); SVGOMDocument d; d = (SVGOMDocument)e.getOwnerDocument(); computeStyle(elt, (ViewCSS)doc.getDefaultView(), inst, (ViewCSS)d.getDefaultView(), ((SVGOMDocument)doc).getURLObject()); } buildGraphicsNode(ctx, (CompositeGraphicsNode)childGVTNode, inst); } catch (Exception ex) { ex.printStackTrace(); } } else if (e.getLocalName().equals(TAG_SWITCH)) { for (Node n = e.getFirstChild(); n != null; n = n.getNextSibling()) { if (n.getNodeType() == Node.ELEMENT_NODE) { if (n instanceof SVGTests) { if (SVGUtilities.matchUserAgent ((Element)n, ctx.getUserAgent())) { buildGraphicsNode (ctx, (CompositeGraphicsNode)childGVTNode, (Element)n); break; } } } } } } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/77011513c6dddc4c079a32d89b1a2da1a89049b4/ConcreteGVTBuilder.java/buggy/sources/org/apache/batik/refimpl/bridge/ConcreteGVTBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1361, 17558, 907, 12, 13691, 1042, 1103, 16, 19694, 14728, 17558, 907, 9635, 16, 19694, 3010, 425, 13, 288, 3639, 987, 11404, 88, 1763, 682, 273, 9635, 18, 588, 4212, 5621, 3639, 24219, 10105, 273, 1103, 18, 588, 13691, 12, 73, 1769, 3639, 309, 14015, 18337, 480, 446, 13, 597, 261, 18337, 1276, 16830, 907, 13691, 3719, 288, 5411, 16830, 907, 13691, 314, 6423, 273, 261, 17558, 907, 13691, 13, 18337, 31, 5411, 16830, 907, 1151, 25269, 56, 907, 7734, 273, 314, 6423, 18, 2640, 17558, 907, 12, 5900, 16, 425, 1769, 5411, 11404, 88, 1763, 682, 18, 1289, 12, 3624, 25269, 56, 907, 1769, 5411, 309, 261, 1600, 70, 18, 291, 2170, 10756, 288, 7734, 1361, 9400, 12, 5900, 16, 1171, 9079, 261, 9400, 17558, 907, 13, 3624, 25269, 56, 907, 16, 1171, 9079, 425, 18, 588, 3759, 1763, 10663, 5411, 289, 469, 309, 261, 7927, 67, 8001, 18, 14963, 12, 73, 18, 588, 29583, 1435, 3719, 288, 7734, 3699, 4301, 8896, 31, 7734, 8896, 273, 394, 3699, 4301, 12443, 26531, 2519, 13, 73, 18, 588, 5541, 2519, 9334, 19694, 1103, 18, 588, 2519, 2886, 10663, 27573, 514, 3897, 273, 1139, 2098, 6289, 18, 588, 60, 2098, 15962, 12, 73, 1769, 7734, 775, 288, 10792, 2029, 290, 273, 8896, 18, 588, 907, 12, 7547, 1769, 10792, 309, 261, 82, 18, 588, 5541, 2519, 1435, 422, 446, 13, 288, 13491, 604, 394, 1068, 2932, 2568, 1404, 999, 7429, 8863, 10792, 289, 10792, 3010, 11572, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1361, 17558, 907, 12, 13691, 1042, 1103, 16, 19694, 14728, 17558, 907, 9635, 16, 19694, 3010, 425, 13, 288, 3639, 987, 11404, 88, 1763, 682, 273, 9635, 18, 588, 4212, 5621, 3639, 24219, 10105, 273, 1103, 18, 588, 13691, 12, 73, 1769, 3639, 309, 14015, 18337, 480, 446, 13, 597, 261, 18337, 1276, 16830, 907, 13691, 3719, 288, 5411, 16830, 907, 13691, 314, 6423, 273, 261, 17558, 907, 13691, 13, 18337, 31, 5411, 16830, 907, 1151, 25269, 56, 907, 7734, 273, 314, 6423, 18, 2640, 17558, 907, 12, 5900, 16, 425, 1769, 5411, 11404, 88, 1763, 682, 18, 1289, 12, 3624, 25269, 56, 907, 1769, 5411, 309, 261, 1600, 70, 18, 291, 2170, 10756, 288, 7734, 2 ]
MylarContext mockContext = MylarPlugin.getContextManager().loadContext(task1.getHandleIdentifier(), task1.getPath());
MylarContext mockContext = MylarPlugin.getContextManager().loadContext(task1.getHandleIdentifier(), task1.getContextPath());
protected void setUp() throws Exception { super.setUp(); // Create a task and context with an interaction event to be saved task1 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "Periodic Save Task", true); manager.addRootTask(task1); MylarContext mockContext = MylarPlugin.getContextManager().loadContext(task1.getHandleIdentifier(), task1.getPath()); InteractionEvent event = new InteractionEvent(InteractionEvent.Kind.EDIT, "structureKind", "handle", "originId"); mockContext.parseEvent(event); MylarPlugin.getContextManager().contextActivated(mockContext); // Save the context file and check that it exists MylarPlugin.getContextManager().saveContext(mockContext.getId(), task1.getPath()); File taskFile = new File(MylarPlugin.getDefault().getMylarDataDirectory() + File.separator + task1.getPath() + MylarContextManager.FILE_EXTENSION); assertTrue(MylarPlugin.getContextManager().hasContext(task1.getPath())); assertTrue(taskFile.exists()); // Make the periodic save run by setting its interval very small and // waiting saveTimer = MylarTasklistPlugin.getDefault().getSaveTimer(); saveTimerInterval = saveTimer.getSaveIntervalMillis(); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c66e1abc548299095f0992ffd278426ba0fc3203/PeriodicSaveTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/PeriodicSaveTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 759, 1788, 279, 1562, 471, 819, 598, 392, 13581, 871, 358, 506, 5198, 202, 202, 4146, 21, 273, 394, 3837, 12, 12062, 7901, 2174, 1098, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 30182, 9334, 315, 31461, 7074, 3837, 3113, 638, 1769, 202, 202, 4181, 18, 1289, 2375, 2174, 12, 4146, 21, 1769, 202, 202, 12062, 7901, 1042, 5416, 1042, 273, 8005, 7901, 3773, 18, 29120, 1318, 7675, 945, 1042, 12, 4146, 21, 18, 588, 3259, 3004, 9334, 9506, 202, 4146, 21, 18, 588, 743, 10663, 202, 202, 17419, 1133, 871, 273, 394, 5294, 1128, 1133, 12, 17419, 1133, 18, 5677, 18, 10776, 16, 315, 7627, 5677, 3113, 315, 4110, 3113, 315, 10012, 548, 8863, 202, 202, 22851, 1042, 18, 2670, 1133, 12, 2575, 1769, 202, 202, 12062, 7901, 3773, 18, 29120, 1318, 7675, 2472, 28724, 12, 22851, 1042, 1769, 202, 202, 759, 7074, 326, 819, 585, 471, 866, 716, 518, 1704, 202, 202, 12062, 7901, 3773, 18, 29120, 1318, 7675, 5688, 1042, 12, 22851, 1042, 18, 26321, 9334, 1562, 21, 18, 588, 743, 10663, 202, 202, 812, 1562, 812, 273, 394, 1387, 12, 12062, 7901, 3773, 18, 588, 1868, 7675, 588, 12062, 7901, 751, 2853, 1435, 397, 1387, 18, 11287, 397, 1562, 21, 18, 588, 743, 1435, 9506, 202, 15, 8005, 7901, 1042, 1318, 18, 3776, 67, 12796, 1769, 202, 202, 11231, 5510, 12, 12062, 7901, 3773, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 759, 1788, 279, 1562, 471, 819, 598, 392, 13581, 871, 358, 506, 5198, 202, 202, 4146, 21, 273, 394, 3837, 12, 12062, 7901, 2174, 1098, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 30182, 9334, 315, 31461, 7074, 3837, 3113, 638, 1769, 202, 202, 4181, 18, 1289, 2375, 2174, 12, 4146, 21, 1769, 202, 202, 12062, 7901, 1042, 5416, 1042, 273, 8005, 7901, 3773, 18, 29120, 1318, 7675, 945, 1042, 12, 4146, 21, 18, 588, 3259, 3004, 9334, 9506, 202, 4146, 21, 18, 588, 743, 10663, 202, 202, 17419, 1133, 871, 273, 394, 5294, 1128, 1133, 12, 17419, 1133, 18, 2 ]
jScrollPane3.setViewportView(sourceDirList);
sourceDirListScrollPane.setViewportView(sourceDirList);
private void initComponents() {//GEN-BEGIN:initComponents java.awt.GridBagConstraints gridBagConstraints; consoleSplitter = new javax.swing.JSplitPane(); navigatorViewSplitter = new javax.swing.JSplitPane(); jScrollPane1 = new javax.swing.JScrollPane(); navigatorTree = new javax.swing.JTree(); viewPanel = new javax.swing.JPanel(); emptyPanel = new javax.swing.JPanel(); reportPanel = new javax.swing.JPanel(); editProjectPanel = new javax.swing.JPanel(); jarFileLabel = new javax.swing.JLabel(); jarNameTextField = new javax.swing.JTextField(); addJarButton = new javax.swing.JButton(); jarFileListLabel = new javax.swing.JLabel(); sourceDirLabel = new javax.swing.JLabel(); srcDirTextField = new javax.swing.JTextField(); addSourceDirButton = new javax.swing.JButton(); sourceDirListLabel = new javax.swing.JLabel(); removeJarButton = new javax.swing.JButton(); removeSrcDirButton = new javax.swing.JButton(); jSeparator1 = new javax.swing.JSeparator(); browseJarButton = new javax.swing.JButton(); browseSrcDirButton = new javax.swing.JButton(); editProjectLabel = new javax.swing.JLabel(); jSeparator2 = new javax.swing.JSeparator(); findBugsButton = new javax.swing.JButton(); jSeparator4 = new javax.swing.JSeparator(); jScrollPane2 = new javax.swing.JScrollPane(); jarFileList = new javax.swing.JList(); jScrollPane3 = new javax.swing.JScrollPane(); sourceDirList = new javax.swing.JList(); bugTreePanel = new javax.swing.JPanel(); groupByChooser = new javax.swing.JComboBox(); groupByLabel = new javax.swing.JLabel(); bugTreeSourceViewSplitter = new javax.swing.JSplitPane(); jScrollPane4 = new javax.swing.JScrollPane(); bugTree = new javax.swing.JTree(); jScrollPane6 = new javax.swing.JScrollPane(); sourceTextArea = new javax.swing.JTextArea(); jScrollPane5 = new javax.swing.JScrollPane(); consoleMessageArea = new javax.swing.JTextArea(); jMenuBar1 = new javax.swing.JMenuBar(); fileMenu = new javax.swing.JMenu(); newProjectItem = new javax.swing.JMenuItem(); openProjectItem = new javax.swing.JMenuItem(); saveProjectItem = new javax.swing.JMenuItem(); closeProjectItem = new javax.swing.JMenuItem(); jSeparator3 = new javax.swing.JSeparator(); exitItem = new javax.swing.JMenuItem(); viewMenu = new javax.swing.JMenu(); viewConsoleItem = new javax.swing.JCheckBoxMenuItem(); helpMenu = new javax.swing.JMenu(); aboutItem = new javax.swing.JMenuItem(); setTitle("FindBugs"); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { exitForm(evt); } public void windowOpened(java.awt.event.WindowEvent evt) { formWindowOpened(evt); } }); consoleSplitter.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT); consoleSplitter.setResizeWeight(1.0); consoleSplitter.setOneTouchExpandable(true); consoleSplitter.addPropertyChangeListener(new java.beans.PropertyChangeListener() { public void propertyChange(java.beans.PropertyChangeEvent evt) { consoleSplitterPropertyChange(evt); } }); jScrollPane1.setPreferredSize(new java.awt.Dimension(140, 0)); navigatorTree.setModel(createNavigatorTreeModel()); jScrollPane1.setViewportView(navigatorTree); navigatorViewSplitter.setLeftComponent(jScrollPane1); viewPanel.setLayout(new java.awt.CardLayout()); viewPanel.add(emptyPanel, "EmptyPanel"); viewPanel.add(reportPanel, "ReportPanel"); editProjectPanel.setLayout(new java.awt.GridBagLayout()); jarFileLabel.setFont(new java.awt.Font("Dialog", 0, 12)); jarFileLabel.setText("Jar file:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(jarFileLabel, gridBagConstraints); jarNameTextField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jarNameTextFieldActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 3; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0); editProjectPanel.add(jarNameTextField, gridBagConstraints); addJarButton.setFont(new java.awt.Font("Dialog", 0, 12)); addJarButton.setText("Add"); addJarButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { addJarButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(addJarButton, gridBagConstraints); jarFileListLabel.setFont(new java.awt.Font("Dialog", 0, 12)); jarFileListLabel.setText("Jar Files:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(jarFileListLabel, gridBagConstraints); sourceDirLabel.setFont(new java.awt.Font("Dialog", 0, 12)); sourceDirLabel.setText("Source Dir:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 6; gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(sourceDirLabel, gridBagConstraints); srcDirTextField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { srcDirTextFieldActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 6; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0); editProjectPanel.add(srcDirTextField, gridBagConstraints); addSourceDirButton.setFont(new java.awt.Font("Dialog", 0, 12)); addSourceDirButton.setText("Add"); addSourceDirButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { addSourceDirButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 6; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(addSourceDirButton, gridBagConstraints); sourceDirListLabel.setFont(new java.awt.Font("Dialog", 0, 12)); sourceDirListLabel.setText("Source Dirs:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 7; gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(sourceDirListLabel, gridBagConstraints); removeJarButton.setFont(new java.awt.Font("Dialog", 0, 12)); removeJarButton.setText("Remove"); removeJarButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { removeJarButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 4; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(removeJarButton, gridBagConstraints); removeSrcDirButton.setFont(new java.awt.Font("Dialog", 0, 12)); removeSrcDirButton.setText("Remove"); removeSrcDirButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { removeSrcDirButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 7; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(removeSrcDirButton, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 5; gridBagConstraints.gridwidth = 4; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3); editProjectPanel.add(jSeparator1, gridBagConstraints); browseJarButton.setText("..."); browseJarButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { browseJarButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 3; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(browseJarButton, gridBagConstraints); browseSrcDirButton.setText("..."); browseSrcDirButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { browseSrcDirButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 6; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(browseSrcDirButton, gridBagConstraints); editProjectLabel.setBackground(new java.awt.Color(0, 0, 204)); editProjectLabel.setFont(new java.awt.Font("Dialog", 1, 24)); editProjectLabel.setForeground(new java.awt.Color(255, 255, 255)); editProjectLabel.setText("Project"); editProjectLabel.setOpaque(true); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridwidth = 4; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; editProjectPanel.add(editProjectLabel, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = 4; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3); editProjectPanel.add(jSeparator2, gridBagConstraints); findBugsButton.setText("Find Bugs!"); findBugsButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { findBugsButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 9; gridBagConstraints.gridwidth = 4; gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3); editProjectPanel.add(findBugsButton, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 8; gridBagConstraints.gridwidth = 4; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3); editProjectPanel.add(jSeparator4, gridBagConstraints); jScrollPane2.setPreferredSize(new java.awt.Dimension(259, 1)); jarFileList.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); jarFileList.setFont(new java.awt.Font("Dialog", 0, 12)); jarFileList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPane2.setViewportView(jarFileList); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 4; gridBagConstraints.gridwidth = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weighty = 0.7; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(jScrollPane2, gridBagConstraints); jScrollPane3.setPreferredSize(new java.awt.Dimension(259, 1)); sourceDirList.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); sourceDirList.setFont(new java.awt.Font("Dialog", 0, 12)); sourceDirList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPane3.setViewportView(sourceDirList); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 7; gridBagConstraints.gridwidth = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weighty = 0.3; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(jScrollPane3, gridBagConstraints); viewPanel.add(editProjectPanel, "EditProjectPanel"); bugTreePanel.setLayout(new java.awt.GridBagLayout()); groupByChooser.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { groupByChooserActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 0; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; bugTreePanel.add(groupByChooser, gridBagConstraints); groupByLabel.setFont(new java.awt.Font("Dialog", 0, 12)); groupByLabel.setText("Group:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; bugTreePanel.add(groupByLabel, gridBagConstraints); bugTreeSourceViewSplitter.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT); bugTreeSourceViewSplitter.setResizeWeight(1.0); bugTreeSourceViewSplitter.setOneTouchExpandable(true); bugTree.addMouseListener(new java.awt.event.MouseAdapter() { public void mousePressed(java.awt.event.MouseEvent evt) { bugTreeMousePressed(evt); } }); jScrollPane4.setViewportView(bugTree); bugTreeSourceViewSplitter.setLeftComponent(jScrollPane4); jScrollPane6.setMinimumSize(new java.awt.Dimension(22, 180)); jScrollPane6.setPreferredSize(new java.awt.Dimension(0, 100)); sourceTextArea.setEditable(false); sourceTextArea.setFont(new java.awt.Font("Lucida Sans Typewriter", 0, 12)); jScrollPane6.setViewportView(sourceTextArea); bugTreeSourceViewSplitter.setRightComponent(jScrollPane6); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 1.0; bugTreePanel.add(bugTreeSourceViewSplitter, gridBagConstraints); viewPanel.add(bugTreePanel, "BugTree"); navigatorViewSplitter.setRightComponent(viewPanel); consoleSplitter.setTopComponent(navigatorViewSplitter); jScrollPane5.setMinimumSize(new java.awt.Dimension(22, 100)); jScrollPane5.setPreferredSize(new java.awt.Dimension(0, 100)); consoleMessageArea.setBackground(new java.awt.Color(204, 204, 204)); consoleMessageArea.setEditable(false); consoleMessageArea.setFont(new java.awt.Font("Lucida Sans Typewriter", 0, 12)); consoleMessageArea.setMinimumSize(new java.awt.Dimension(0, 0)); consoleMessageArea.setAutoscrolls(false); jScrollPane5.setViewportView(consoleMessageArea); consoleSplitter.setBottomComponent(jScrollPane5); getContentPane().add(consoleSplitter, java.awt.BorderLayout.CENTER); jMenuBar1.setFont(new java.awt.Font("Dialog", 0, 12)); fileMenu.setMnemonic('F'); fileMenu.setText("File"); fileMenu.setFont(new java.awt.Font("Dialog", 0, 12)); newProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); newProjectItem.setMnemonic('N'); newProjectItem.setText("New Project"); newProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { newProjectItemActionPerformed(evt); } }); fileMenu.add(newProjectItem); openProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); openProjectItem.setMnemonic('O'); openProjectItem.setText("Open Project"); openProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { openProjectItemActionPerformed(evt); } }); fileMenu.add(openProjectItem); saveProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); saveProjectItem.setMnemonic('S'); saveProjectItem.setText("Save project"); saveProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { saveProjectItemActionPerformed(evt); } }); fileMenu.add(saveProjectItem); closeProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); closeProjectItem.setMnemonic('C'); closeProjectItem.setText("Close Project"); fileMenu.add(closeProjectItem); fileMenu.add(jSeparator3); exitItem.setFont(new java.awt.Font("Dialog", 0, 12)); exitItem.setMnemonic('X'); exitItem.setText("Exit"); exitItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { exitItemActionPerformed(evt); } }); fileMenu.add(exitItem); jMenuBar1.add(fileMenu); viewMenu.setMnemonic('V'); viewMenu.setText("View"); viewMenu.setFont(new java.awt.Font("Dialog", 0, 12)); viewConsoleItem.setMnemonic('C'); viewConsoleItem.setSelected(true); viewConsoleItem.setText("Console"); viewConsoleItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { viewConsoleItemActionPerformed(evt); } }); viewMenu.add(viewConsoleItem); jMenuBar1.add(viewMenu); helpMenu.setMnemonic('H'); helpMenu.setText("Help"); helpMenu.setFont(new java.awt.Font("Dialog", 0, 12)); aboutItem.setFont(new java.awt.Font("Dialog", 0, 12)); aboutItem.setMnemonic('A'); aboutItem.setText("About"); aboutItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { aboutItemActionPerformed(evt); } }); helpMenu.add(aboutItem); jMenuBar1.add(helpMenu); setJMenuBar(jMenuBar1); pack(); }//GEN-END:initComponents
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/aed5870d3af4dbf5c0e6c6c7a7a84a37228ce14f/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 759, 16652, 17, 16061, 30, 2738, 7171, 3639, 2252, 18, 2219, 88, 18, 6313, 6852, 8747, 31, 3639, 2983, 26738, 273, 394, 6863, 18, 5328, 310, 18, 46, 5521, 8485, 5621, 3639, 19796, 1767, 26738, 273, 394, 6863, 18, 5328, 310, 18, 46, 5521, 8485, 5621, 3639, 525, 26360, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 19796, 2471, 273, 394, 6863, 18, 5328, 310, 18, 46, 2471, 5621, 3639, 1476, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 1008, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 2605, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 3874, 4109, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 22588, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 7334, 461, 16157, 273, 394, 6863, 18, 5328, 310, 18, 46, 16157, 5621, 3639, 527, 10813, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 22588, 682, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26844, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 30585, 16157, 273, 394, 6863, 18, 5328, 310, 18, 46, 16157, 5621, 3639, 527, 1830, 1621, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 26844, 682, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 1206, 10813, 3616, 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, 1208, 7171, 1435, 288, 759, 16652, 17, 16061, 30, 2738, 7171, 3639, 2252, 18, 2219, 88, 18, 6313, 6852, 8747, 31, 3639, 2983, 26738, 273, 394, 6863, 18, 5328, 310, 18, 46, 5521, 8485, 5621, 3639, 19796, 1767, 26738, 273, 394, 6863, 18, 5328, 310, 18, 46, 5521, 8485, 5621, 3639, 525, 26360, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 19796, 2471, 273, 394, 6863, 18, 5328, 310, 18, 46, 2471, 5621, 3639, 1476, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 1008, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 2605, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 2 ]
} else if (arg.equalsIgnoreCase("build")) ConvertUCD.main(new String[]{Default.getUcdVersion()});
} else if (arg.equalsIgnoreCase("build")) ConvertUCD.main(new String[]{Default.ucdVersion()});
public static void main (String[] args) throws Exception { System.out.println("*** Start *** " + new Date()); try { for (int i = 0; i < args.length; ++i) { long mask = 0; String arg = args[i]; if (arg.charAt(0) == '#') return; // skip rest of line Utility.fixDot(); System.out.println(); System.out.println("** Argument: " + args[i] + " ** " + new Date()); // Expand string arguments if (arg.equalsIgnoreCase("ALL")) { args = Utility.append(ALL_FILES, Utility.subarray(args, i+1)); i = -1; continue; } if (arg.equalsIgnoreCase("CORE")) { args = Utility.append(CORE_FILES, Utility.subarray(args, i+1)); i = -1; continue; } if (arg.equalsIgnoreCase("EXTRACTED")) { args = Utility.append(EXTRACTED_FILES, Utility.subarray(args, i+1)); i = -1; continue; } // make sure the UCD is set up if (arg.equalsIgnoreCase("version")) { Default.setUCD(args[++i]); continue; } Default.ensureUCD(); // Now handle other options if (arg.equalsIgnoreCase("verify")) { VerifyUCD.verify(); VerifyUCD.checkCanonicalProperties(); VerifyUCD.CheckCaseFold(); VerifyUCD.checkAgainstUInfo(); } else if (arg.equalsIgnoreCase("build")) ConvertUCD.main(new String[]{Default.getUcdVersion()}); else if (arg.equalsIgnoreCase("statistics")) VerifyUCD.statistics(); else if (arg.equalsIgnoreCase("NFSkippable")) NFSkippable.main(null); else if (arg.equalsIgnoreCase("diffIgnorable")) VerifyUCD.diffIgnorable(); else if (arg.equalsIgnoreCase("generateXML")) VerifyUCD.generateXML(); else if (arg.equalsIgnoreCase("checkSpeed")) VerifyUCD.checkSpeed(); else if (arg.equalsIgnoreCase("onetime")) VerifyUCD.oneTime(); else if (arg.equalsIgnoreCase("verifyNormalizationStability")) VerifyUCD.verifyNormalizationStability(); else if (arg.equalsIgnoreCase("definitionTransliterator")) GenerateHanTransliterator.main(0); else if (arg.equalsIgnoreCase("romajiTransliterator")) GenerateHanTransliterator.main(1); else if (arg.equalsIgnoreCase("pinYinTransliterator")) GenerateHanTransliterator.main(2); else if (arg.equalsIgnoreCase("hanproperties")) GenerateHanTransliterator.readUnihan(); else if (arg.equalsIgnoreCase("fixChineseOverrides")) GenerateHanTransliterator.fixChineseOverrides(); else if (arg.equalsIgnoreCase("compareBlueberry")) VerifyUCD.compareBlueberry(); else if (arg.equalsIgnoreCase("testenum")) SampleEnum.test(); else if (arg.equalsIgnoreCase("quicktest")) QuickTest.test(); else if (arg.equalsIgnoreCase("TernaryStore")) TernaryStore.test(); else if (arg.equalsIgnoreCase("checkBIDI")) VerifyUCD.checkBIDI(); else if (arg.equalsIgnoreCase("Buildnames")) BuildNames.main(null); else if (arg.equalsIgnoreCase("TestNormalization")) TestNormalization.main(null); else if (arg.equalsIgnoreCase("binary")) FastBinarySearch.test(); else if (arg.equalsIgnoreCase("GenerateCaseTest")) GenerateCaseTest.main(null); else if (arg.equalsIgnoreCase("checkDecompFolding")) VerifyUCD.checkDecompFolding(); else if (arg.equalsIgnoreCase("breaktest")) GenerateBreakTest.main(null); else if (arg.equalsIgnoreCase("checkcollator")) CheckCollator.main(null); else if (arg.equalsIgnoreCase("genSplit")) GenerateData.genSplit(); else if (arg.equalsIgnoreCase("iana")) IANANames.testSensitivity(); else if (arg.equalsIgnoreCase("testDerivedProperties")) DerivedProperty.test(); else if (arg.equalsIgnoreCase("checkCase")) VerifyUCD.checkCase(); else if (arg.equalsIgnoreCase("checkCase3")) VerifyUCD.checkCase3(); else if (arg.equalsIgnoreCase("checkCaseLong")) VerifyUCD.checkCase2(true); else if (arg.equalsIgnoreCase("checkCaseShort")) VerifyUCD.checkCase2(false); else if (arg.equalsIgnoreCase("checkCanonicalProperties")) VerifyUCD.checkCanonicalProperties(); else if (arg.equalsIgnoreCase("CheckCaseFold")) VerifyUCD.CheckCaseFold(); else if (arg.equalsIgnoreCase("genIDN")) VerifyUCD.genIDN(); else if (arg.equalsIgnoreCase("VerifyIDN")) VerifyUCD.VerifyIDN(); else if (arg.equalsIgnoreCase("NFTest")) VerifyUCD.NFTest(); else if (arg.equalsIgnoreCase("test1")) VerifyUCD.test1(); else if (arg.equalsIgnoreCase("TrailingZeros")) GenerateData.genTrailingZeros(); else if (arg.equalsIgnoreCase("GenerateThaiBreaks")) GenerateThaiBreaks.main(null); else if (arg.equalsIgnoreCase("TestData")) TestData.main(new String[]{args[++i]}); //else if (arg.equalsIgnoreCase("checkAgainstUInfo")) checkAgainstUInfo(); else if (arg.equalsIgnoreCase("checkScripts")) VerifyUCD.checkScripts(); else if (arg.equalsIgnoreCase("IdentifierTest")) VerifyUCD.IdentifierTest(); else if (arg.equalsIgnoreCase("BuildNames")) BuildNames.main(null); else if (arg.equalsIgnoreCase("JavascriptProperties")) WriteJavaScriptInfo.assigned(); else if (arg.equalsIgnoreCase("TestDirectoryIterator")) DirectoryIterator.test(); else if (arg.equalsIgnoreCase("checkIdentical")) GenerateData.handleIdentical(); else if (arg.equalsIgnoreCase("testnameuniqueness")) TestNameUniqueness.test(); else if (arg.equalsIgnoreCase("checkDifferences")) GenerateData.checkDifferences("3.2.0"); else if (arg.equalsIgnoreCase("Compare14652")) Compare14652.main(null); //else if (arg.equalsIgnoreCase("NormalizationCharts")) ChartGenerator.writeNormalizationCharts(); /*else if (arg.equalsIgnoreCase("writeNormalizerTestSuite")) GenerateData.writeNormalizerTestSuite("NormalizationTest-3.1.1d1.txt"); */ // EXTRACTED PROPERTIES else if (arg.equalsIgnoreCase("DerivedBidiClass")) { GenerateData.generateVerticalSlice(BIDI_CLASS, BIDI_CLASS+NEXT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedBidiClass"); } else if (arg.equalsIgnoreCase("DerivedBinaryProperties")) { GenerateData.generateVerticalSlice(BINARY_PROPERTIES, BINARY_PROPERTIES+1, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedBinaryProperties" ); } else if (arg.equalsIgnoreCase("DerivedCombiningClass")) { GenerateData.generateVerticalSlice(COMBINING_CLASS, COMBINING_CLASS+NEXT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedCombiningClass" ); } else if (arg.equalsIgnoreCase("DerivedDecompositionType")) { GenerateData.generateVerticalSlice(DECOMPOSITION_TYPE, DECOMPOSITION_TYPE+NEXT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedDecompositionType" ); } else if (arg.equalsIgnoreCase("DerivedEastAsianWidth")) { GenerateData.generateVerticalSlice(EAST_ASIAN_WIDTH, EAST_ASIAN_WIDTH+NEXT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedEastAsianWidth" ); } else if (arg.equalsIgnoreCase("DerivedGeneralCategory")) { GenerateData.generateVerticalSlice(CATEGORY, CATEGORY+NEXT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedGeneralCategory" ); } else if (arg.equalsIgnoreCase("DerivedJoiningGroup")) { GenerateData.generateVerticalSlice(JOINING_GROUP, JOINING_GROUP+NEXT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedJoiningGroup" ); } else if (arg.equalsIgnoreCase("DerivedJoiningType")) { GenerateData.generateVerticalSlice(JOINING_TYPE, JOINING_TYPE+NEXT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedJoiningType" ); } else if (arg.equalsIgnoreCase("DerivedLineBreak")) { GenerateData.generateVerticalSlice(LINE_BREAK, LINE_BREAK+NEXT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedLineBreak" ); } else if (arg.equalsIgnoreCase("DerivedNumericType")) { GenerateData.generateVerticalSlice(NUMERIC_TYPE, NUMERIC_TYPE+NEXT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedNumericType" ); } else if (arg.equalsIgnoreCase("HangulSyllableType")) { GenerateData.generateVerticalSlice(HANGUL_SYLLABLE_TYPE,HANGUL_SYLLABLE_TYPE+NEXT_ENUM, GenerateData.HEADER_EXTEND, "DerivedData/", "HangulSyllableType" ); } else if (arg.equalsIgnoreCase("DerivedNumericValues")) { GenerateData.generateVerticalSlice(LIMIT_ENUM, LIMIT_ENUM, GenerateData.HEADER_DERIVED, "DerivedData/extracted/", "DerivedNumericValues" ); } else if (arg.equalsIgnoreCase("StandardizedVariants")) { GenerateStandardizedVariants.generate(); // OTHER STANDARD PROPERTIES } else if (arg.equalsIgnoreCase("CaseFolding")) { GenerateCaseFolding.makeCaseFold(true); GenerateCaseFolding.makeCaseFold(false); } else if (arg.equalsIgnoreCase("SpecialCasing")) { GenerateCaseFolding.generateSpecialCasing(true); GenerateCaseFolding.generateSpecialCasing(false); } else if (arg.equalsIgnoreCase("CompositionExclusions")) { GenerateData.generateCompExclusions(); } else if (arg.equalsIgnoreCase("DerivedAge")) { GenerateData.generateAge("DerivedData/", "DerivedAge"); } else if (arg.equalsIgnoreCase("backwardsCompat")) { GenerateData.backwardsCompat("DerivedData/extracted/", "Compatibility_ID_START", new int[] {ID_Start, ID_Continue_NO_Cf, Mod_ID_Start, Mod_ID_Continue_NO_Cf}); } else if (arg.equalsIgnoreCase("DerivedCoreProperties")) { GenerateData.generateDerived(DERIVED_CORE, true, GenerateData.HEADER_DERIVED, "DerivedData/", "DerivedCoreProperties"); } else if (arg.equalsIgnoreCase("DerivedNormalizationProps")) { GenerateData.generateDerived(DERIVED_NORMALIZATION, true, GenerateData.HEADER_DERIVED, "DerivedData/", "DerivedNormalizationProps" ); } else if (arg.equalsIgnoreCase("NormalizationTest")) { GenerateData.writeNormalizerTestSuite("DerivedData/", "NormalizationTest"); } else if (arg.equalsIgnoreCase("PropertyAliases")) { GenerateData.generatePropertyAliases(); } else if (arg.equalsIgnoreCase("PropList")) { GenerateData.generateVerticalSlice(BINARY_PROPERTIES + White_space, BINARY_PROPERTIES + NEXT_ENUM, GenerateData.HEADER_EXTEND, "DerivedData/", "PropList"); } else if (arg.equalsIgnoreCase("Scripts")) { GenerateData.generateVerticalSlice(SCRIPT+1, SCRIPT + NEXT_ENUM, GenerateData.HEADER_SCRIPTS, "DerivedData/", "Scripts"); // OTHER TESTING } else if (arg.equalsIgnoreCase("OtherDerivedProperties")) { //mask = Utility.setBits(0, NFC_Leading, NFC_Resulting); GenerateData.generateDerived((byte)(ALL & ~DERIVED_CORE & ~DERIVED_NORMALIZATION), false, GenerateData.HEADER_DERIVED, "OtherData/", "OtherDerivedProperties"); } else if (arg.equalsIgnoreCase("AllBinary")) { GenerateData.generateVerticalSlice(BINARY_PROPERTIES, BINARY_PROPERTIES + NEXT_ENUM, GenerateData.HEADER_EXTEND, "OtherDerived/", "AllBinary"); } else if (arg.equalsIgnoreCase("DerivedGeneralCategoryTEST")) { GenerateData.generateVerticalSlice(CATEGORY+29, CATEGORY+32, GenerateData.HEADER_DERIVED, "DerivedData/", "DerivedGeneralCategory" ); } else if (arg.equalsIgnoreCase("listDifferences")) { CompareProperties.listDifferences(); } else if (arg.equalsIgnoreCase("partition")) { CompareProperties.partition(); } else if (arg.equalsIgnoreCase("propertyStatistics")) { CompareProperties.statistics(); } else if (arg.equalsIgnoreCase("listAccents")) { GenerateData.listCombiningAccents(); } else if (arg.equalsIgnoreCase("listGreekVowels")) { GenerateData.listGreekVowels(); } else if (arg.equalsIgnoreCase("listKatakana")) { GenerateData.listKatakana(); /* } else if (arg.equalsIgnoreCase("DerivedFullNormalization")) { mask = Utility.setBits(0, DerivedProperty.GenNFD, DerivedProperty.GenNFKC); GenerateData.generateDerived(mask, GenerateData.HEADER_DERIVED, "DerivedData/", "DerivedFullNormalization" ); } else if (arg.equalsIgnoreCase("caseignorable")) { mask = Utility.setBits(0, DerivedProperty.Other_Case_Ignorable, DerivedProperty.Type_i); GenerateData.generateDerived(mask, GenerateData.HEADER_DERIVED, "OtherData/", "CaseIgnorable" ); } else if (arg.equalsIgnoreCase("nfunsafestart")) { mask = Utility.setBits(0, NFD_UnsafeStart, NFKC_UnsafeStart); GenerateData.generateDerived(mask, GenerateData.HEADER_DERIVED, "OtherData/", "NFUnsafeStart"); */ } else { CallArgs.call(new String[]{arg}, classPrefix); } //checkHoffman("\u05B8\u05B9\u05B1\u0591\u05C3\u05B0\u05AC\u059F"); //checkHoffman("\u0592\u05B7\u05BC\u05A5\u05B0\u05C0\u05C4\u05AD"); //GenerateData.generateDerived(Utility.setBits(0, DerivedProperty.PropMath, DerivedProperty.Mod_ID_Continue_NO_Cf), // GenerateData.HEADER_DERIVED, "DerivedData/", "DerivedPropData2" ); //GenerateData.generateVerticalSlice(SCRIPT, SCRIPT+1, "ScriptCommon" ); //listStrings("LowerCase" , 0,0); //GenerateData.generateVerticalSlice(0, LIMIT_ENUM, SKIP_SPECIAL, PROPLIST1, "DerivedData/", "DerivedPropData1" ); // AGE stuff //UCD ucd = UCD.make(); //System.out.println(ucd.getAgeID(0x61)); //System.out.println(ucd.getAgeID(0x2FA1D)); // } } finally { System.out.println("*** Done *** " + new Date()); } }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/d1ef79fafdbbeaaf4dcbaa9d3c534754c217d955/Main.java/buggy/tools/unicodetools/com/ibm/text/UCD/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 8526, 833, 13, 1216, 1185, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 14465, 3603, 18852, 315, 397, 394, 2167, 10663, 3639, 775, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 965, 77, 13, 288, 18701, 1525, 3066, 273, 374, 31, 10792, 514, 1501, 273, 833, 63, 77, 15533, 7734, 309, 261, 3175, 18, 3001, 861, 12, 20, 13, 422, 2946, 6134, 327, 31, 368, 2488, 3127, 434, 980, 10792, 13134, 18, 904, 10412, 5621, 7734, 2332, 18, 659, 18, 8222, 5621, 7734, 2332, 18, 659, 18, 8222, 2932, 636, 5067, 30, 315, 397, 833, 63, 77, 65, 397, 315, 2826, 315, 397, 394, 2167, 10663, 27573, 368, 16429, 533, 1775, 27573, 309, 261, 3175, 18, 14963, 5556, 2932, 4685, 6, 3719, 288, 10792, 833, 273, 13134, 18, 6923, 12, 4685, 67, 12669, 16, 13134, 18, 1717, 1126, 12, 1968, 16, 277, 15, 21, 10019, 10792, 277, 273, 300, 21, 31, 10792, 1324, 31, 7734, 289, 27573, 309, 261, 3175, 18, 14963, 5556, 2932, 15715, 6, 3719, 288, 10792, 833, 273, 13134, 18, 6923, 12, 15715, 67, 12669, 16, 13134, 18, 1717, 1126, 12, 1968, 16, 277, 15, 21, 10019, 10792, 277, 273, 300, 21, 31, 10792, 1324, 31, 7734, 289, 27573, 309, 261, 3175, 18, 14963, 5556, 2932, 22639, 15494, 6, 3719, 288, 10792, 833, 273, 13134, 18, 6923, 12, 22639, 15494, 67, 12669, 16, 13134, 18, 1717, 1126, 12, 1968, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 8526, 833, 13, 1216, 1185, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 14465, 3603, 18852, 315, 397, 394, 2167, 10663, 3639, 775, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 965, 77, 13, 288, 18701, 1525, 3066, 273, 374, 31, 10792, 514, 1501, 273, 833, 63, 77, 15533, 7734, 309, 261, 3175, 18, 3001, 861, 12, 20, 13, 422, 2946, 6134, 327, 31, 368, 2488, 3127, 434, 980, 10792, 13134, 18, 904, 10412, 5621, 7734, 2332, 18, 659, 18, 8222, 5621, 7734, 2332, 18, 659, 18, 8222, 2932, 636, 5067, 30, 315, 397, 833, 63, 77, 65, 397, 315, 2826, 315, 397, 394, 2167, 2 ]
if (transactionResponse.getTopmostVia().getParameter(Via.RECEIVED) == null) {
if (transactionResponse.getTopmostVia().getParameter(Via.RECEIVED) == null) {
private void sendResponse(SIPResponse transactionResponse) throws IOException { // Bug report by Shanti Kadiyala if (transactionResponse.getTopmostVia().getParameter(Via.RECEIVED) == null) { // Send the response back on the same peer as received. super.sendMessage(transactionResponse); } else { // Respond to the host name in the received parameter. Via via = transactionResponse.getTopmostVia(); String host = via.getParameter(Via.RECEIVED); int port = via.getPort(); if (port == -1) port = 5060; String transport = via.getTransport(); HopImpl hop = new HopImpl(host + ":" + port + "/" + transport); MessageChannel messageChannel = ((SIPTransactionStack) getSIPStack()).createRawMessageChannel( hop); messageChannel.sendMessage(transactionResponse); } }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/48d0f5aefaaec7a6c6f768504e4d3fcffcc8313f/SIPServerTransaction.java/clean/trunk/src/gov/nist/javax/sip/stack/SIPServerTransaction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 1064, 12, 17739, 1064, 2492, 1064, 13, 565, 1216, 1860, 288, 3639, 368, 16907, 2605, 635, 2638, 970, 77, 1475, 361, 77, 93, 287, 69, 3639, 309, 261, 7958, 1064, 18, 588, 3401, 10329, 21246, 7675, 588, 1662, 12, 21246, 18, 27086, 20764, 13, 3639, 422, 446, 13, 288, 5411, 368, 2479, 326, 766, 1473, 603, 326, 1967, 4261, 487, 5079, 18, 5411, 2240, 18, 4661, 1079, 12, 7958, 1064, 1769, 3639, 289, 469, 288, 5411, 368, 25019, 358, 326, 1479, 508, 316, 326, 5079, 1569, 18, 5411, 776, 1155, 3970, 273, 2492, 1064, 18, 588, 3401, 10329, 21246, 5621, 5411, 514, 1479, 273, 3970, 18, 588, 1662, 12, 21246, 18, 27086, 20764, 1769, 5411, 509, 1756, 273, 3970, 18, 588, 2617, 5621, 5411, 309, 261, 655, 422, 300, 21, 13, 7734, 1756, 273, 6437, 4848, 31, 5411, 514, 4736, 273, 3970, 18, 588, 6568, 5621, 5411, 670, 556, 2828, 19055, 273, 394, 670, 556, 2828, 12, 2564, 397, 6153, 397, 1756, 397, 4016, 397, 4736, 1769, 5411, 2350, 2909, 883, 2909, 273, 5411, 14015, 17739, 3342, 2624, 13, 1322, 2579, 2624, 1435, 2934, 2640, 4809, 1079, 2909, 12, 5411, 19055, 1769, 5411, 883, 2909, 18, 4661, 1079, 12, 7958, 1064, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 1064, 12, 17739, 1064, 2492, 1064, 13, 565, 1216, 1860, 288, 3639, 368, 16907, 2605, 635, 2638, 970, 77, 1475, 361, 77, 93, 287, 69, 3639, 309, 261, 7958, 1064, 18, 588, 3401, 10329, 21246, 7675, 588, 1662, 12, 21246, 18, 27086, 20764, 13, 3639, 422, 446, 13, 288, 5411, 368, 2479, 326, 766, 1473, 603, 326, 1967, 4261, 487, 5079, 18, 5411, 2240, 18, 4661, 1079, 12, 7958, 1064, 1769, 3639, 289, 469, 288, 5411, 368, 25019, 358, 326, 1479, 508, 316, 326, 5079, 1569, 18, 5411, 776, 1155, 3970, 273, 2492, 1064, 18, 588, 3401, 10329, 21246, 5621, 5411, 514, 1479, 273, 3970, 18, 588, 1662, 12, 21246, 18, 27086, 20764, 1769, 5411, 2 ]
public String getPatchName(Patch p,int patchNum) {
public String getPatchName(IPatch p,int patchNum) {
public String getPatchName(Patch p,int patchNum) { int nameStart=getPatchStart(patchNum); nameStart+=0; //offset of name in patch data try { byte[] byteBuffer=new byte[16]; for (int i=0;i<16;i++) { byteBuffer[i]=(byte)(p.sysex[nameStart+i*2]+((0x10)*p.sysex[nameStart+i*2+1])); if (byteBuffer[i]==0) byteBuffer[i]=0x20; } StringBuffer s= new StringBuffer(new String(byteBuffer,"US-ASCII")); return s.toString(); } catch (UnsupportedEncodingException ex) {return "-";} }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/KorgWavestationBankPerformanceDriver.java/clean/JSynthLib/synthdrivers/KorgWavestation/KorgWavestationBankPerformanceDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1689, 505, 461, 12, 2579, 505, 293, 16, 474, 4729, 2578, 13, 288, 3639, 509, 508, 1685, 33, 588, 7332, 1685, 12, 2272, 2578, 1769, 7734, 508, 1685, 15, 33, 20, 31, 368, 3348, 434, 508, 316, 4729, 501, 3639, 775, 288, 5411, 1160, 8526, 21734, 33, 2704, 1160, 63, 2313, 15533, 13491, 364, 261, 474, 277, 33, 20, 31, 77, 32, 2313, 31, 77, 27245, 288, 7734, 21734, 63, 77, 65, 28657, 7229, 21433, 84, 18, 9009, 20909, 63, 529, 1685, 15, 77, 14, 22, 3737, 12443, 20, 92, 2163, 17653, 84, 18, 9009, 20909, 63, 529, 1685, 15, 77, 14, 22, 15, 21, 5717, 1769, 7734, 309, 261, 7229, 1892, 63, 77, 65, 631, 20, 13, 21734, 63, 77, 65, 33, 20, 92, 3462, 31, 5411, 289, 13491, 6674, 272, 33, 394, 6674, 12, 2704, 514, 12, 7229, 1892, 10837, 3378, 17, 13756, 7923, 1769, 5411, 327, 272, 18, 10492, 5621, 3639, 289, 1044, 261, 8544, 13836, 431, 13, 288, 2463, 7514, 31, 97, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1689, 505, 461, 12, 2579, 505, 293, 16, 474, 4729, 2578, 13, 288, 3639, 509, 508, 1685, 33, 588, 7332, 1685, 12, 2272, 2578, 1769, 7734, 508, 1685, 15, 33, 20, 31, 368, 3348, 434, 508, 316, 4729, 501, 3639, 775, 288, 5411, 1160, 8526, 21734, 33, 2704, 1160, 63, 2313, 15533, 13491, 364, 261, 474, 277, 33, 20, 31, 77, 32, 2313, 31, 77, 27245, 288, 7734, 21734, 63, 77, 65, 28657, 7229, 21433, 84, 18, 9009, 20909, 63, 529, 1685, 15, 77, 14, 22, 3737, 12443, 20, 92, 2163, 17653, 84, 18, 9009, 20909, 63, 529, 1685, 15, 77, 14, 22, 15, 21, 5717, 1769, 7734, 309, 261, 7229, 1892, 63, 77, 65, 631, 2 ]
} else {
} else {
private void putConst(int i) { if (i >= -1 && i <= 5) putU1(ICONST_0 + i); else if (i >= Byte.MIN_VALUE && i <= Byte.MAX_VALUE) { putU1(BIPUSH); putU1(i); } else { putU1(SIPUSH); putU2(i); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2603223e734189dc0e07a63b224a1770507e0fa5/Proxy.java/clean/core/src/classpath/java/java/lang/reflect/Proxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1378, 9661, 12, 474, 277, 13, 288, 5411, 309, 261, 77, 1545, 300, 21, 597, 277, 1648, 1381, 13, 7734, 1378, 57, 21, 12, 21745, 882, 67, 20, 397, 277, 1769, 5411, 469, 309, 261, 77, 1545, 3506, 18, 6236, 67, 4051, 597, 277, 1648, 3506, 18, 6694, 67, 4051, 13, 288, 7734, 1378, 57, 21, 12, 38, 2579, 57, 2664, 1769, 7734, 1378, 57, 21, 12, 77, 1769, 5411, 289, 469, 288, 7734, 1378, 57, 21, 12, 17739, 57, 2664, 1769, 7734, 1378, 57, 22, 12, 77, 1769, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1378, 9661, 12, 474, 277, 13, 288, 5411, 309, 261, 77, 1545, 300, 21, 597, 277, 1648, 1381, 13, 7734, 1378, 57, 21, 12, 21745, 882, 67, 20, 397, 277, 1769, 5411, 469, 309, 261, 77, 1545, 3506, 18, 6236, 67, 4051, 597, 277, 1648, 3506, 18, 6694, 67, 4051, 13, 288, 7734, 1378, 57, 21, 12, 38, 2579, 57, 2664, 1769, 7734, 1378, 57, 21, 12, 77, 1769, 5411, 289, 469, 288, 7734, 1378, 57, 21, 12, 17739, 57, 2664, 1769, 7734, 1378, 57, 22, 12, 77, 1769, 5411, 289, 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 ]
if (src.getDirection() == src.HORIZONTAL) {
if (src.getDirection() == SequenceRenderContext.HORIZONTAL) {
public void renderLocation( Graphics2D g, SequenceRenderContext src, Location loc) { int minS = loc.getMin(); int maxS = loc.getMax(); double minP = src.sequenceToGraphics(minS); double maxP = src.sequenceToGraphics(maxS); // handle the zig double midpointSeqCoord; double terminalSeqCoord; double terminalDrawCoord; double midpointOffset; double offset; if (zigPrecedesBlock) { // This is a continuation of the transcript. // do the ziggy // the apex is midway between blocks.// System.out.println("renderLocation continued moduloFrame: " + moduloFrame + " " + minS + " " + maxS); terminalSeqCoord = minP; // current phase is previous phase corrected by intron-induced // phase change. moduloFrame = (moduloFrame + minS - 1 - zigOriginS)%3; offset = frameOffset(moduloFrame, strand); // zigs for forward frames go up, reverse go down. if (strand == StrandedFeature.POSITIVE) { midpointOffset = Math.min(offset, offsetPrevBlock); } else { midpointOffset = Math.max(offset, offsetPrevBlock) + blockWidth; } terminalDrawCoord = offset + 0.5 * blockWidth; Point2D.Double midpoint, terminal; if (src.getDirection() == src.HORIZONTAL) { // horizontal axis midpointSeqCoord = 0.5*(zigOriginP.getX() + terminalSeqCoord); midpoint = new Point2D.Double(midpointSeqCoord, midpointOffset); terminal = new Point2D.Double(terminalSeqCoord, terminalDrawCoord); } else { midpointSeqCoord = 0.5*(zigOriginP.getY() + terminalSeqCoord); midpoint = new Point2D.Double(midpointOffset, midpointSeqCoord); terminal = new Point2D.Double(terminalDrawCoord, terminalSeqCoord); } // draw ziggy Paint prevPaint = g.getPaint(); g.setPaint(outline); Line2D line = new Line2D.Double(zigOriginP, midpoint); g.draw(line); line = new Line2D.Double(midpoint, terminal); g.draw(line); g.setPaint(prevPaint); } else { // this is first block, there is no zig yet. // compute the frame. if (!phaseKnown) moduloFrame = minS%3; // compute offset for frame to be drawn offset = frameOffset(moduloFrame, strand); zigPrecedesBlock = true;// System.out.println("renderLocation 1st moduloFrame: " + moduloFrame + " " + minS + " " + maxS); } // draw the block Rectangle2D.Double block = new Rectangle2D.Double(); if (src.getDirection() == src.HORIZONTAL) { block.setFrame( minP, offset, maxP-minP, blockWidth); } else { block.setFrame( offset, minP, blockWidth, maxP-minP); } if (fill != null) { Paint prevPaint = g.getPaint(); g.setPaint(fill); g.fill(block); g.setPaint(prevPaint); } if (outline != null) { Paint prevPaint = g.getPaint(); g.setPaint(outline); g.draw(block); g.setPaint(prevPaint); } // update origin for next ziggy // origin of next ziggy on current block double seqCoord; double drawCoord = offset + 0.5 * blockWidth; // all features arrive in sequence order irrespective of strand // only the direction of zig changes. seqCoord = maxP; // cache zig sequence origin and phase. zigOriginS = maxS; offsetPrevBlock = offset; if (src.getDirection() == src.HORIZONTAL) { zigOriginP = new Point2D.Double(seqCoord, drawCoord); } else { zigOriginP = new Point2D.Double(drawCoord, seqCoord); } }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/fcbeda1e0bc8dc82a3c505af04fa6bb0330580f8/SixFrameRenderer.java/clean/src/org/biojava/bio/gui/sequence/SixFrameRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1743, 2735, 12, 6647, 16830, 22, 40, 314, 16, 6647, 8370, 3420, 1042, 1705, 16, 6647, 7050, 1515, 13, 288, 565, 509, 1131, 55, 273, 1515, 18, 588, 2930, 5621, 565, 509, 943, 55, 273, 1515, 18, 588, 2747, 5621, 565, 1645, 1131, 52, 273, 1705, 18, 6178, 774, 17558, 12, 1154, 55, 1769, 565, 1645, 943, 52, 273, 1705, 18, 6178, 774, 17558, 12, 1896, 55, 1769, 565, 368, 1640, 326, 998, 360, 565, 1645, 7501, 1153, 6926, 5401, 31, 565, 1645, 8651, 6926, 5401, 31, 565, 1645, 8651, 6493, 5401, 31, 565, 1645, 7501, 1153, 2335, 31, 565, 1645, 1384, 31, 565, 309, 261, 94, 360, 1386, 3263, 281, 1768, 13, 288, 1377, 368, 1220, 353, 279, 17378, 434, 326, 15194, 18, 1377, 368, 741, 326, 998, 360, 7797, 1377, 368, 326, 513, 338, 353, 7501, 1888, 3086, 4398, 18, 759, 1377, 2332, 18, 659, 18, 8222, 2932, 5902, 2735, 17545, 5957, 26109, 3219, 30, 315, 397, 26109, 3219, 225, 397, 315, 315, 397, 1131, 55, 397, 315, 315, 397, 943, 55, 1769, 540, 8651, 6926, 5401, 273, 1131, 52, 31, 1377, 368, 783, 6855, 353, 2416, 6855, 19864, 635, 28600, 265, 17, 728, 26372, 1377, 368, 6855, 2549, 18, 1377, 26109, 3219, 273, 261, 1711, 26478, 3219, 397, 1131, 55, 300, 404, 300, 998, 360, 7571, 55, 13, 9, 23, 31, 1377, 1384, 273, 2623, 2335, 12, 1711, 26478, 3219, 16, 16706, 1769, 1377, 368, 998, 360, 87, 364, 5104, 7793, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1743, 2735, 12, 6647, 16830, 22, 40, 314, 16, 6647, 8370, 3420, 1042, 1705, 16, 6647, 7050, 1515, 13, 288, 565, 509, 1131, 55, 273, 1515, 18, 588, 2930, 5621, 565, 509, 943, 55, 273, 1515, 18, 588, 2747, 5621, 565, 1645, 1131, 52, 273, 1705, 18, 6178, 774, 17558, 12, 1154, 55, 1769, 565, 1645, 943, 52, 273, 1705, 18, 6178, 774, 17558, 12, 1896, 55, 1769, 565, 368, 1640, 326, 998, 360, 565, 1645, 7501, 1153, 6926, 5401, 31, 565, 1645, 8651, 6926, 5401, 31, 565, 1645, 8651, 6493, 5401, 31, 565, 1645, 7501, 1153, 2335, 31, 565, 1645, 1384, 31, 565, 309, 261, 94, 360, 1386, 3263, 281, 1768, 13, 288, 1377, 368, 2 ]
text.moveText(l.indentLeft() - indentLeft() + listIndentLeft + paraIndent,-l.height());
System.out.println("anders " + paraIndent + " " + getPageNumber()); text.moveText(l.indentLeft() - indentLeft() + listIndentLeft + paraIndent, -l.height());
private float flushLines() throws DocumentException { // checks if the ArrayList with the lines is not null if (lines == null) { return 0; } //add by Jin-Hsia Yang boolean newline=false; //end add by Jin-Hsia Yang // checks if a new Line has to be made. if (line != null && line.size() > 0) { lines.add(line); line = new PdfLine(indentLeft(), indentRight(), alignment, leading); //add by Jin-Hsia Yang newline=true; //end add by Jin-Hsia Yang } // checks if the ArrayList with the lines is empty if (lines.size() == 0) { return 0; } // initialisation of some parameters Object currentValues[] = new Object[2]; PdfFont currentFont = null; int currentLeading = 0; float displacement = 0; PdfLine l; PdfChunk chunk; Float lastBaseFactor = new Float(0); currentValues[1] = lastBaseFactor; // looping over all the lines for (Iterator i = lines.iterator(); i.hasNext(); ) { // this is a line in the loop l = (PdfLine) i.next(); //add by Jin-Hsia Yang if(isParagraphE && isNewpage && newline) { newline=false; text.moveText(l.indentLeft() - indentLeft() + listIndentLeft + paraIndent,-l.height()); } else //end add by Jin-Hsia Yang // aligning the line text.moveText(l.indentLeft() - indentLeft() + listIndentLeft, -l.height()); // is the line preceeded by a symbol? if (l.listSymbol() != null) { chunk = l.listSymbol(); text.moveText(- l.listIndent(), 0); if (chunk.font().compareTo(currentFont) != 0) { currentFont = chunk.font(); text.setFontAndSize(currentFont.getFont(), currentFont.size()); } if (chunk.color() != null) { Color color = chunk.color(); text.setRGBColorFill(color.getRed(), color.getGreen(), color.getBlue()); text.showText(chunk); text.resetRGBColorFill(); } else { text.showText(chunk); } text.moveText(l.listIndent(), 0); } currentValues[0] = currentFont; writeLineToContent(l, text, graphics, currentValues); currentFont = (PdfFont)currentValues[0]; displacement += l.height(); if (indentLeft() - listIndentLeft != l.indentLeft()) { text.moveText(indentLeft() - l.indentLeft() - listIndentLeft, 0); } } lines = new ArrayList(); return displacement; }
6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/d3a6e57ce5d9018551efe0c128840502f8ea3eb7/PdfDocument.java/clean/src/com/lowagie/text/pdf/PdfDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1431, 3663, 5763, 1435, 1216, 4319, 503, 288, 7734, 368, 4271, 309, 326, 2407, 598, 326, 2362, 353, 486, 446, 3639, 309, 261, 3548, 422, 446, 13, 288, 5411, 327, 374, 31, 3639, 289, 7734, 368, 1289, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 3639, 1250, 9472, 33, 5743, 31, 3639, 368, 409, 527, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 7734, 368, 4271, 309, 279, 394, 5377, 711, 358, 506, 7165, 18, 3639, 309, 261, 1369, 480, 446, 597, 980, 18, 1467, 1435, 405, 374, 13, 288, 5411, 2362, 18, 1289, 12, 1369, 1769, 5411, 980, 273, 394, 9989, 1670, 12, 9355, 3910, 9334, 3504, 4726, 9334, 8710, 16, 7676, 1769, 13491, 368, 1289, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 5411, 9472, 33, 3767, 31, 5411, 368, 409, 527, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 10792, 289, 7734, 368, 4271, 309, 326, 2407, 598, 326, 2362, 353, 1008, 3639, 309, 261, 3548, 18, 1467, 1435, 422, 374, 13, 288, 5411, 327, 374, 31, 3639, 289, 7734, 368, 2172, 10742, 434, 2690, 1472, 3639, 1033, 783, 1972, 8526, 273, 394, 1033, 63, 22, 15533, 3639, 9989, 5711, 783, 5711, 273, 446, 31, 3639, 509, 783, 19112, 273, 374, 31, 3639, 1431, 1015, 15917, 273, 374, 31, 3639, 9989, 1670, 328, 31, 3639, 9989, 5579, 2441, 31, 3639, 5450, 1142, 2171, 6837, 273, 394, 5450, 12, 20, 1769, 3639, 783, 1972, 63, 21, 65, 273, 1142, 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, 1431, 3663, 5763, 1435, 1216, 4319, 503, 288, 7734, 368, 4271, 309, 326, 2407, 598, 326, 2362, 353, 486, 446, 3639, 309, 261, 3548, 422, 446, 13, 288, 5411, 327, 374, 31, 3639, 289, 7734, 368, 1289, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 3639, 1250, 9472, 33, 5743, 31, 3639, 368, 409, 527, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 7734, 368, 4271, 309, 279, 394, 5377, 711, 358, 506, 7165, 18, 3639, 309, 261, 1369, 480, 446, 597, 980, 18, 1467, 1435, 405, 374, 13, 288, 5411, 2362, 18, 1289, 12, 1369, 1769, 5411, 980, 273, 394, 9989, 1670, 12, 9355, 3910, 9334, 3504, 4726, 9334, 8710, 16, 7676, 1769, 13491, 2 ]
sessionPane.getComponent(sessionPane.getSelectedIndex()).requestFocus();
((Session)sessionPane.getComponent(sessionPane.getSelectedIndex())).grabFocus();
private void nextSession() { int index = sessionPane.getSelectedIndex(); sessionPane.setForegroundAt(index,Color.black); sessionPane.setIconAt(index,unfocused); if (index < sessionPane.getTabCount() - 1) { sessionPane.setSelectedIndex(++index); sessionPane.setForegroundAt(index,Color.blue); sessionPane.setIconAt(index,focused); } else { sessionPane.setSelectedIndex(0); sessionPane.setForegroundAt(0,Color.blue); sessionPane.setIconAt(0,focused); } sessionPane.getComponent(sessionPane.getSelectedIndex()).requestFocus(); }
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/c4ec09d1ed1568feda2cb6bd1b4b0ed13d34183f/Gui5250Frame.java/clean/src/org/tn5250j/Gui5250Frame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 1024, 2157, 1435, 288, 1377, 509, 770, 273, 1339, 8485, 18, 588, 7416, 1016, 5621, 1377, 1339, 8485, 18, 542, 23206, 861, 12, 1615, 16, 2957, 18, 11223, 1769, 1377, 1339, 8485, 18, 542, 5554, 861, 12, 1615, 16, 318, 74, 14569, 1769, 1377, 309, 261, 1615, 411, 1339, 8485, 18, 588, 5661, 1380, 1435, 300, 404, 13, 288, 540, 1339, 8485, 18, 542, 7416, 1016, 12, 9904, 1615, 1769, 540, 1339, 8485, 18, 542, 23206, 861, 12, 1615, 16, 2957, 18, 14081, 1769, 540, 1339, 8485, 18, 542, 5554, 861, 12, 1615, 16, 74, 14569, 1769, 1377, 289, 1377, 469, 288, 540, 1339, 8485, 18, 542, 7416, 1016, 12, 20, 1769, 540, 1339, 8485, 18, 542, 23206, 861, 12, 20, 16, 2957, 18, 14081, 1769, 540, 1339, 8485, 18, 542, 5554, 861, 12, 20, 16, 74, 14569, 1769, 1377, 289, 4202, 14015, 2157, 13, 3184, 8485, 18, 588, 1841, 12, 3184, 8485, 18, 588, 7416, 1016, 10756, 2934, 2752, 70, 9233, 5621, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 1024, 2157, 1435, 288, 1377, 509, 770, 273, 1339, 8485, 18, 588, 7416, 1016, 5621, 1377, 1339, 8485, 18, 542, 23206, 861, 12, 1615, 16, 2957, 18, 11223, 1769, 1377, 1339, 8485, 18, 542, 5554, 861, 12, 1615, 16, 318, 74, 14569, 1769, 1377, 309, 261, 1615, 411, 1339, 8485, 18, 588, 5661, 1380, 1435, 300, 404, 13, 288, 540, 1339, 8485, 18, 542, 7416, 1016, 12, 9904, 1615, 1769, 540, 1339, 8485, 18, 542, 23206, 861, 12, 1615, 16, 2957, 18, 14081, 1769, 540, 1339, 8485, 18, 542, 5554, 861, 12, 1615, 16, 74, 14569, 1769, 1377, 289, 1377, 469, 288, 540, 1339, 8485, 18, 542, 7416, 1016, 12, 20, 1769, 540, 1339, 8485, 18, 2 ]
if (maxSteps >= 0) { if (maxSteps == 0) break; maxSteps--; }
public int consumeRange(int startPosition, int endPosition, int maxSteps, Consumer out) { int pos = startPosition; int limit = startPosition <= gapStart && endPosition > gapStart ? gapStart : endPosition; int index; for (;;) { if (pos >= limit) { if (pos == gapStart && endPosition > gapEnd) { pos = gapEnd; limit = endPosition; } else break; } if (maxSteps >= 0) { if (maxSteps == 0) break; maxSteps--; } char datum = data[pos++]; if (datum <= MAX_CHAR_SHORT) { int start = pos - 1; int lim; if (maxSteps < 0 || (lim = start + maxSteps) < limit) lim = limit; for (;;) { if (pos >= lim) break; datum = data[pos++]; if (datum > MAX_CHAR_SHORT) { pos--; break; } } out.write(data, start, pos - start); continue; } if (datum >= OBJECT_REF_SHORT && datum <= OBJECT_REF_SHORT+OBJECT_REF_SHORT_INDEX_MAX) { out.writeObject(objects[datum-OBJECT_REF_SHORT]); continue; } if (datum >= BEGIN_GROUP_SHORT && datum <= BEGIN_GROUP_SHORT+BEGIN_GROUP_SHORT_INDEX_MAX) { index = datum-BEGIN_GROUP_SHORT; out.beginGroup(objects[index].toString(), objects[index+1]); pos += 2; continue; } /* if ((datum & 0xFF00) == BYTE_PREFIX) { out.writeByte((byte) datum); continue; } */ if (datum >= INT_SHORT_ZERO + MIN_INT_SHORT && datum <= INT_SHORT_ZERO + MAX_INT_SHORT) { out.writeInt(datum - INT_SHORT_ZERO); continue; } switch (datum) { case BOOL_FALSE: case BOOL_TRUE: out.writeBoolean(datum != BOOL_FALSE); continue; case CHAR_FOLLOWS: out.write(data, pos, 1 + datum - CHAR_FOLLOWS); pos++; continue; case CHAR_PAIR_FOLLOWS: out.write(data, pos, 1 + datum - CHAR_FOLLOWS); pos += 2; continue; case POSITION_TRIPLE_FOLLOWS: { AbstractSequence seq = (AbstractSequence) objects[getIntN(pos)]; int ipos = getIntN(pos+2); int xpos_index = getIntN(pos+4); Object xpos = xpos_index < 0 ? null : objects[xpos_index]; if (out instanceof PositionConsumer) ((PositionConsumer) out).writePosition(seq, ipos, xpos); else { TreePosition tpos = new TreePosition(); tpos.push(seq, ipos, xpos); out.writeObject(tpos); } } continue; case POSITION_REF_FOLLOWS: if (out instanceof PositionConsumer) { ((PositionConsumer) out).consume((TreePosition) objects[getIntN(pos)]); pos += 2; continue; } // ... else fall through ... case OBJECT_REF_FOLLOWS: out.writeObject(objects[getIntN(pos)]); pos += 2; continue; case END_GROUP_SHORT: index = data[pos++]; index = data[pos - 2 - index] - BEGIN_GROUP_SHORT; out.endGroup(objects[index].toString()); continue; case BEGIN_GROUP_LONG: index = getIntN(pos); pos += 2; index += index >= 0 ? pos - 1 : data.length; index = getIntN(index + 1); out.beginGroup(objects[index].toString(), objects[index+1]); continue; case END_GROUP_LONG: index = getIntN(pos); out.endGroup(objects[index].toString()); pos += 6; continue; case BEGIN_ATTRIBUTE_LONG: index = getIntN(pos); out.beginAttribute(objects[index].toString(), objects[index+1]); pos += 4; continue; case END_ATTRIBUTE: out.endAttribute(); continue; case INT_FOLLOWS: writeInt(getIntN(pos)); pos += 2; continue; case FLOAT_FOLLOWS: writeFloat(Float.intBitsToFloat(getIntN(pos))); pos += 2; continue; case LONG_FOLLOWS: writeLong(getLongN(pos)); pos += 4; continue; case DOUBLE_FOLLOWS: writeDouble(Double.longBitsToDouble(getLongN(pos))); pos += 4; continue; default: throw new Error("unknown code:"+(int) datum); } } return pos; }
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/c1fe5aec293a3cf7f21ef407dd826c769a4132cf/TreeList.java/buggy/gnu/lists/TreeList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 7865, 2655, 12, 474, 23549, 16, 509, 679, 2555, 16, 509, 943, 11811, 16, 9506, 225, 9326, 596, 13, 225, 288, 565, 509, 949, 273, 23549, 31, 565, 509, 1800, 273, 23549, 1648, 9300, 1685, 597, 679, 2555, 405, 9300, 1685, 692, 9300, 1685, 1377, 294, 679, 2555, 31, 565, 509, 770, 31, 565, 364, 261, 25708, 13, 1377, 288, 202, 430, 261, 917, 1545, 1800, 13, 202, 225, 288, 202, 565, 309, 261, 917, 422, 9300, 1685, 597, 679, 2555, 405, 9300, 1638, 13, 202, 1377, 288, 202, 202, 917, 273, 9300, 1638, 31, 202, 202, 3595, 273, 679, 2555, 31, 202, 1377, 289, 202, 565, 469, 202, 1377, 898, 31, 202, 225, 289, 202, 430, 261, 1896, 11811, 1545, 374, 13, 202, 225, 288, 202, 565, 309, 261, 1896, 11811, 422, 374, 13, 202, 1377, 898, 31, 202, 565, 943, 11811, 413, 31, 202, 225, 289, 202, 3001, 12059, 273, 501, 63, 917, 9904, 15533, 202, 430, 261, 3404, 379, 1648, 4552, 67, 7305, 67, 15993, 13, 202, 225, 288, 202, 565, 509, 787, 273, 949, 300, 404, 31, 202, 565, 509, 20167, 31, 202, 565, 309, 261, 1896, 11811, 411, 374, 747, 261, 7091, 273, 787, 397, 943, 11811, 13, 411, 1800, 13, 202, 1377, 20167, 273, 1800, 31, 202, 565, 364, 261, 25708, 13, 202, 1377, 288, 202, 202, 430, 261, 917, 1545, 20167, 13, 1082, 225, 898, 31, 202, 202, 3404, 379, 273, 501, 63, 917, 9904, 15533, 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, 282, 1071, 509, 7865, 2655, 12, 474, 23549, 16, 509, 679, 2555, 16, 509, 943, 11811, 16, 9506, 225, 9326, 596, 13, 225, 288, 565, 509, 949, 273, 23549, 31, 565, 509, 1800, 273, 23549, 1648, 9300, 1685, 597, 679, 2555, 405, 9300, 1685, 692, 9300, 1685, 1377, 294, 679, 2555, 31, 565, 509, 770, 31, 565, 364, 261, 25708, 13, 1377, 288, 202, 430, 261, 917, 1545, 1800, 13, 202, 225, 288, 202, 565, 309, 261, 917, 422, 9300, 1685, 597, 679, 2555, 405, 9300, 1638, 13, 202, 1377, 288, 202, 202, 917, 273, 9300, 1638, 31, 202, 202, 3595, 273, 679, 2555, 31, 202, 1377, 289, 202, 565, 469, 202, 1377, 898, 31, 202, 225, 289, 202, 2 ]
public org.quickfix.field.TradSesOpenTime getTradSesOpenTime() throws FieldNotFound { org.quickfix.field.TradSesOpenTime value = new org.quickfix.field.TradSesOpenTime();
public quickfix.field.TradSesOpenTime getTradSesOpenTime() throws FieldNotFound { quickfix.field.TradSesOpenTime value = new quickfix.field.TradSesOpenTime();
public org.quickfix.field.TradSesOpenTime getTradSesOpenTime() throws FieldNotFound { org.quickfix.field.TradSesOpenTime value = new org.quickfix.field.TradSesOpenTime(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradingSessionStatus.java/buggy/src/java/src/quickfix/fix42/TradingSessionStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 72, 55, 281, 3678, 950, 336, 1609, 72, 55, 281, 3678, 950, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 72, 55, 281, 3678, 950, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 72, 55, 281, 3678, 950, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 72, 55, 281, 3678, 950, 336, 1609, 72, 55, 281, 3678, 950, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 72, 55, 281, 3678, 950, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 72, 55, 281, 3678, 950, 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 ]
if (ChainBuilderAgent.DEBUG) {
if (ChainBuilderAgent.DEBUG > 3) {
public void cancelModuleLinks() { if (ChainBuilderAgent.DEBUG) { System.err.println("cancelling module links..."); System.err.println("selected module is..."+selectedModule); } Iterator iter = links.iterator(); while (iter.hasNext()) { ParamLink link = (ParamLink) iter.next(); link.remove(); } if (ChainBuilderAgent.DEBUG) System.err.println("cancelling modules links. link state is NOT_LINKING"); linkState = NOT_LINKING; cleanUpModuleLink(); }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/630a53d68f5d29c53d2485557b18599785befb83/ChainCreationEventHandler.java/clean/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainCreationEventHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3755, 3120, 7100, 1435, 288, 202, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 4169, 3855, 310, 1605, 4716, 7070, 1769, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 8109, 1605, 353, 7070, 15, 8109, 3120, 1769, 202, 202, 97, 202, 202, 3198, 1400, 273, 4716, 18, 9838, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 1082, 202, 786, 2098, 1692, 273, 261, 786, 2098, 13, 1400, 18, 4285, 5621, 1082, 202, 1232, 18, 4479, 5621, 202, 202, 97, 202, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 4169, 3855, 310, 4381, 4716, 18, 1692, 919, 353, 4269, 67, 10554, 1360, 8863, 202, 202, 1232, 1119, 273, 4269, 67, 10554, 1360, 31, 202, 202, 6200, 1211, 3120, 2098, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3755, 3120, 7100, 1435, 288, 202, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 4169, 3855, 310, 1605, 4716, 7070, 1769, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 8109, 1605, 353, 7070, 15, 8109, 3120, 1769, 202, 202, 97, 202, 202, 3198, 1400, 273, 4716, 18, 9838, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 1082, 202, 786, 2098, 1692, 273, 261, 786, 2098, 13, 1400, 18, 4285, 5621, 1082, 202, 1232, 18, 4479, 5621, 202, 202, 97, 202, 202, 430, 261, 3893, 1263, 3630, 18, 9394, 13, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 4169, 3855, 310, 4381, 4716, 2 ]
AST __t77 = _t;
AST __t78 = _t;
public final Expression expr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; org.exist.xquery.parser.XQueryAST expr_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t; org.exist.xquery.parser.XQueryAST c = null; org.exist.xquery.parser.XQueryAST astIf = null; org.exist.xquery.parser.XQueryAST someVarName = null; org.exist.xquery.parser.XQueryAST everyVarName = null; org.exist.xquery.parser.XQueryAST r = null; org.exist.xquery.parser.XQueryAST f = null; org.exist.xquery.parser.XQueryAST varName = null; org.exist.xquery.parser.XQueryAST posVar = null; org.exist.xquery.parser.XQueryAST l = null; org.exist.xquery.parser.XQueryAST letVarName = null; org.exist.xquery.parser.XQueryAST w = null; org.exist.xquery.parser.XQueryAST collURI = null; step= null; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_castable: case LITERAL_cast: { step=typeCastExpr(_t,path); _t = _retTree; break; } case COMMA: { AST __t61 = _t; c = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,COMMA); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; SequenceConstructor sc= new SequenceConstructor(context); sc.setASTNode(c); sc.addPath(left); sc.addPath(right); path.addPath(sc); step = sc; _t = __t61; _t = _t.getNextSibling(); break; } case LITERAL_if: { AST __t62 = _t; astIf = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_if); _t = _t.getFirstChild(); PathExpr testExpr= new PathExpr(context); PathExpr thenExpr= new PathExpr(context); PathExpr elseExpr= new PathExpr(context); step=expr(_t,testExpr); _t = _retTree; step=expr(_t,thenExpr); _t = _retTree; step=expr(_t,elseExpr); _t = _retTree; ConditionalExpression cond= new ConditionalExpression(context, testExpr, thenExpr, elseExpr); cond.setASTNode(astIf); path.add(cond); step = cond; _t = __t62; _t = _t.getNextSibling(); break; } case LITERAL_some: { AST __t63 = _t; org.exist.xquery.parser.XQueryAST tmp3_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_some); _t = _t.getFirstChild(); List clauses= new ArrayList(); PathExpr satisfiesExpr = new PathExpr(context); { _loop68: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t65 = _t; someVarName = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); PathExpr inputSequence = new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t67 = _t; org.exist.xquery.parser.XQueryAST tmp4_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t67; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= someVarName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t65; _t = _t.getNextSibling(); } else { break _loop68; } } while (true); } step=expr(_t,satisfiesExpr); _t = _retTree; Expression action = satisfiesExpr; for (int i= clauses.size() - 1; i >= 0; i--) { ForLetClause clause= (ForLetClause) clauses.get(i); BindingExpression expr = new QuantifiedExpression(context, QuantifiedExpression.SOME); expr.setVariable(clause.varName); expr.setSequenceType(clause.sequenceType); expr.setInputSequence(clause.inputSequence); expr.setReturnExpression(action); satisfiesExpr= null; action= expr; } path.add(action); step = action; _t = __t63; _t = _t.getNextSibling(); break; } case LITERAL_every: { AST __t69 = _t; org.exist.xquery.parser.XQueryAST tmp5_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_every); _t = _t.getFirstChild(); List clauses= new ArrayList(); PathExpr satisfiesExpr = new PathExpr(context); { _loop74: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t71 = _t; everyVarName = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); PathExpr inputSequence = new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t73 = _t; org.exist.xquery.parser.XQueryAST tmp6_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t73; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= everyVarName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t71; _t = _t.getNextSibling(); } else { break _loop74; } } while (true); } step=expr(_t,satisfiesExpr); _t = _retTree; Expression action = satisfiesExpr; for (int i= clauses.size() - 1; i >= 0; i--) { ForLetClause clause= (ForLetClause) clauses.get(i); BindingExpression expr = new QuantifiedExpression(context, QuantifiedExpression.EVERY); expr.setVariable(clause.varName); expr.setSequenceType(clause.sequenceType); expr.setInputSequence(clause.inputSequence); expr.setReturnExpression(action); satisfiesExpr= null; action= expr; } path.add(action); step = action; _t = __t69; _t = _t.getNextSibling(); break; } case LITERAL_return: { AST __t75 = _t; r = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_return); _t = _t.getFirstChild(); List clauses= new ArrayList(); Expression action= new PathExpr(context); action.setASTNode(r); PathExpr whereExpr= null; List orderBy= null; { int _cnt90=0; _loop90: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_for: { AST __t77 = _t; f = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_for); _t = _t.getFirstChild(); { int _cnt83=0; _loop83: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t79 = _t; varName = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); clause.ast = f; PathExpr inputSequence= new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t81 = _t; org.exist.xquery.parser.XQueryAST tmp7_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); clause.sequenceType= new SequenceType(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t81; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case POSITIONAL_VAR: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case POSITIONAL_VAR: { posVar = (org.exist.xquery.parser.XQueryAST)_t; match(_t,POSITIONAL_VAR); _t = _t.getNextSibling(); clause.posVar= posVar.getText(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= varName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t79; _t = _t.getNextSibling(); } else { if ( _cnt83>=1 ) { break _loop83; } else {throw new NoViableAltException(_t);} } _cnt83++; } while (true); } _t = __t77; _t = _t.getNextSibling(); break; } case LITERAL_let: { AST __t84 = _t; l = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_let); _t = _t.getFirstChild(); { int _cnt89=0; _loop89: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t86 = _t; letVarName = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); clause.ast = l; clause.isForClause= false; PathExpr inputSequence= new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t88 = _t; org.exist.xquery.parser.XQueryAST tmp8_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); clause.sequenceType= new SequenceType(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t88; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= letVarName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t86; _t = _t.getNextSibling(); } else { if ( _cnt89>=1 ) { break _loop89; } else {throw new NoViableAltException(_t);} } _cnt89++; } while (true); } _t = __t84; _t = _t.getNextSibling(); break; } default: { if ( _cnt90>=1 ) { break _loop90; } else {throw new NoViableAltException(_t);} } } _cnt90++; } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_where: { w = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_where); _t = _t.getNextSibling(); whereExpr= new PathExpr(context); whereExpr.setASTNode(w); step=expr(_t,whereExpr); _t = _retTree; break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case ORDER_BY: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ORDER_BY: { AST __t93 = _t; org.exist.xquery.parser.XQueryAST tmp9_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,ORDER_BY); _t = _t.getFirstChild(); orderBy= new ArrayList(3); { int _cnt100=0; _loop100: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_0.member(_t.getType()))) { PathExpr orderSpecExpr= new PathExpr(context); step=expr(_t,orderSpecExpr); _t = _retTree; OrderSpec orderSpec= new OrderSpec(context, orderSpecExpr); int modifiers= 0; orderBy.add(orderSpec); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_ascending: case LITERAL_descending: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_ascending: { org.exist.xquery.parser.XQueryAST tmp10_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_ascending); _t = _t.getNextSibling(); break; } case LITERAL_descending: { org.exist.xquery.parser.XQueryAST tmp11_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_descending); _t = _t.getNextSibling(); modifiers= OrderSpec.DESCENDING_ORDER; orderSpec.setModifiers(modifiers); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_collation: case LITERAL_element: case LCURLY: case COMMA: case LITERAL_empty: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_empty: { org.exist.xquery.parser.XQueryAST tmp12_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_empty); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_greatest: { org.exist.xquery.parser.XQueryAST tmp13_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_greatest); _t = _t.getNextSibling(); break; } case LITERAL_least: { org.exist.xquery.parser.XQueryAST tmp14_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_least); _t = _t.getNextSibling(); modifiers |= OrderSpec.EMPTY_LEAST; orderSpec.setModifiers(modifiers); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_collation: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_collation: { org.exist.xquery.parser.XQueryAST tmp15_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_collation); _t = _t.getNextSibling(); collURI = (org.exist.xquery.parser.XQueryAST)_t; match(_t,STRING_LITERAL); _t = _t.getNextSibling(); orderSpec.setCollation(collURI.getText()); break; } case 3: case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } } else { if ( _cnt100>=1 ) { break _loop100; } else {throw new NoViableAltException(_t);} } _cnt100++; } while (true); } _t = __t93; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,(PathExpr) action); _t = _retTree; for (int i= clauses.size() - 1; i >= 0; i--) { ForLetClause clause= (ForLetClause) clauses.get(i); BindingExpression expr; if (clause.isForClause) expr= new ForExpr(context); else expr= new LetExpr(context); expr.setASTNode(clause.ast); expr.setVariable(clause.varName); expr.setSequenceType(clause.sequenceType); expr.setInputSequence(clause.inputSequence); expr.setReturnExpression(action); if (clause.isForClause) ((ForExpr) expr).setPositionalVariable(clause.posVar); if (whereExpr != null) { expr.setWhereExpression(whereExpr); whereExpr= null; } action= expr; } if (orderBy != null) { OrderSpec orderSpecs[]= new OrderSpec[orderBy.size()]; int k= 0; for (Iterator j= orderBy.iterator(); j.hasNext(); k++) { OrderSpec orderSpec= (OrderSpec) j.next(); orderSpecs[k]= orderSpec; } ((BindingExpression)action).setOrderSpecs(orderSpecs); } path.add(action); step = action; _t = __t75; _t = _t.getNextSibling(); break; } case LITERAL_instance: { AST __t101 = _t; org.exist.xquery.parser.XQueryAST tmp16_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_instance); _t = _t.getFirstChild(); PathExpr expr = new PathExpr(context); SequenceType type= new SequenceType(); step=expr(_t,expr); _t = _retTree; sequenceType(_t,type); _t = _retTree; step = new InstanceOfExpression(context, expr, type); path.add(step); _t = __t101; _t = _t.getNextSibling(); break; } case LITERAL_or: { AST __t102 = _t; org.exist.xquery.parser.XQueryAST tmp17_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_or); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t102; _t = _t.getNextSibling(); OpOr or= new OpOr(context); or.addPath(left); or.addPath(right); path.addPath(or); step = or; break; } case LITERAL_and: { AST __t103 = _t; org.exist.xquery.parser.XQueryAST tmp18_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_and); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t103; _t = _t.getNextSibling(); OpAnd and= new OpAnd(context); and.addPath(left); and.addPath(right); path.addPath(and); step = and; break; } case UNION: { AST __t104 = _t; org.exist.xquery.parser.XQueryAST tmp19_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,UNION); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t104; _t = _t.getNextSibling(); Union union= new Union(context, left, right); path.add(union); step = union; break; } case LITERAL_intersect: { AST __t105 = _t; org.exist.xquery.parser.XQueryAST tmp20_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_intersect); _t = _t.getFirstChild(); PathExpr left = new PathExpr(context); PathExpr right = new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t105; _t = _t.getNextSibling(); Intersection intersect = new Intersection(context, left, right); path.add(intersect); step = intersect; break; } case LITERAL_except: { AST __t106 = _t; org.exist.xquery.parser.XQueryAST tmp21_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_except); _t = _t.getFirstChild(); PathExpr left = new PathExpr(context); PathExpr right = new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t106; _t = _t.getNextSibling(); Except intersect = new Except(context, left, right); path.add(intersect); step = intersect; break; } case ABSOLUTE_SLASH: { AST __t107 = _t; org.exist.xquery.parser.XQueryAST tmp22_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,ABSOLUTE_SLASH); _t = _t.getFirstChild(); RootNode root= new RootNode(context); path.add(root); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { step=expr(_t,path); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t107; _t = _t.getNextSibling(); break; } case ABSOLUTE_DSLASH: { AST __t109 = _t; org.exist.xquery.parser.XQueryAST tmp23_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,ABSOLUTE_DSLASH); _t = _t.getFirstChild(); RootNode root= new RootNode(context); path.add(root); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { step=expr(_t,path); _t = _retTree; if (step instanceof LocationStep) { LocationStep s= (LocationStep) step; if (s.getAxis() == Constants.ATTRIBUTE_AXIS) // combines descendant-or-self::node()/attribute:* s.setAxis(Constants.DESCENDANT_ATTRIBUTE_AXIS); else s.setAxis(Constants.DESCENDANT_SELF_AXIS); } else step.setPrimaryAxis(Constants.DESCENDANT_SELF_AXIS); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t109; _t = _t.getNextSibling(); break; } case LITERAL_to: { AST __t111 = _t; org.exist.xquery.parser.XQueryAST tmp24_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_to); _t = _t.getFirstChild(); PathExpr start= new PathExpr(context); PathExpr end= new PathExpr(context); List args= new ArrayList(2); args.add(start); args.add(end); step=expr(_t,start); _t = _retTree; step=expr(_t,end); _t = _retTree; RangeExpression range= new RangeExpression(context); range.setArguments(args); path.addPath(range); step = range; _t = __t111; _t = _t.getNextSibling(); break; } case EQ: case LT: case GT: case NEQ: case GTEQ: case LTEQ: { step=generalComp(_t,path); _t = _retTree; break; } case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: { step=valueComp(_t,path); _t = _retTree; break; } case BEFORE: case AFTER: case LITERAL_is: case LITERAL_isnot: { step=nodeComp(_t,path); _t = _retTree; break; } case ANDEQ: case OREQ: { step=fulltextComp(_t,path); _t = _retTree; break; } case PARENTHESIZED: case FUNCTION: case VARIABLE_REF: case ELEMENT: case TEXT: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case STRING_LITERAL: case LCURLY: case XML_COMMENT: case XML_PI: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: { step=primaryExpr(_t,path); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case ATTRIBUTE_TEST: case NCNAME: case LITERAL_element: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 142: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 154: case 155: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 159: case 160: case LITERAL_preceding: { step=pathExpr(_t,path); _t = _retTree; break; } case UNARY_MINUS: case UNARY_PLUS: case STAR: case PLUS: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: { step=numericExpr(_t,path); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/10544e5ec103a411822c6180ed81ef38eab15de8/XQueryTreeParser.java/buggy/src/org/exist/xquery/parser/XQueryTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 3065, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3065, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 67, 88, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 276, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3364, 2047, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 2690, 18129, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3614, 18129, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 436, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 284, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13722, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 949, 1537, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 328, 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, 5371, 225, 3065, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3065, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 67, 88, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 276, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3364, 2047, 273, 2 ]
jj_la1[199] = jj_gen;
jj_la1[200] = jj_gen;
final public void arrayInitializerLookahead() throws ParseException { jj_consume_token(LBRACE); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case LONG_LITERAL: case FLOAT_LITERAL: case DOUBLE_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case LBRACE: case BANG: case TILDE: case INCREMENT: case DECREMENT: case PLUS: case MINUS: variableInitializerLookahead(); label_68: while (true) { if (jj_2_77(2)) { ; } else { break label_68; } jj_consume_token(COMMA); variableInitializerLookahead(); } break; default: jj_la1[198] = jj_gen; ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: jj_consume_token(COMMA); break; default: jj_la1[199] = jj_gen; ; } jj_consume_token(RBRACE); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/b153c43e59717c98f32c67f14d61a00a81016991/Parser.java/buggy/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 526, 14729, 9794, 11617, 1435, 1216, 10616, 288, 565, 10684, 67, 21224, 67, 2316, 12, 12995, 9254, 1769, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 18993, 30, 565, 648, 20660, 30, 565, 648, 12090, 30, 565, 648, 14918, 30, 565, 648, 4934, 30, 565, 648, 15483, 30, 565, 648, 6137, 30, 565, 648, 14011, 30, 565, 648, 12887, 30, 565, 648, 3206, 30, 565, 648, 20079, 30, 565, 648, 16459, 654, 30, 565, 648, 20676, 30, 565, 648, 5383, 30, 565, 648, 27085, 30, 565, 648, 16481, 67, 23225, 30, 565, 648, 14011, 67, 23225, 30, 565, 648, 15483, 67, 23225, 30, 565, 648, 14918, 67, 23225, 30, 565, 648, 27517, 67, 23225, 30, 565, 648, 9469, 67, 23225, 30, 565, 648, 26765, 30, 565, 648, 511, 15111, 30, 565, 648, 511, 26980, 30, 565, 648, 605, 3388, 30, 565, 648, 399, 2627, 1639, 30, 565, 648, 2120, 23923, 30, 565, 648, 2030, 23923, 30, 565, 648, 22443, 3378, 30, 565, 648, 6989, 3378, 30, 1377, 2190, 14729, 9794, 11617, 5621, 1377, 1433, 67, 9470, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 309, 261, 78, 78, 67, 22, 67, 4700, 12, 22, 3719, 288, 1850, 274, 3639, 289, 469, 288, 1850, 898, 1433, 67, 9470, 31, 3639, 289, 3639, 10684, 67, 21224, 67, 2316, 12, 4208, 5535, 1769, 3639, 2190, 14729, 9794, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 526, 14729, 9794, 11617, 1435, 1216, 10616, 288, 565, 10684, 67, 21224, 67, 2316, 12, 12995, 9254, 1769, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 18993, 30, 565, 648, 20660, 30, 565, 648, 12090, 30, 565, 648, 14918, 30, 565, 648, 4934, 30, 565, 648, 15483, 30, 565, 648, 6137, 30, 565, 648, 14011, 30, 565, 648, 12887, 30, 565, 648, 3206, 30, 565, 648, 20079, 30, 565, 648, 16459, 654, 30, 565, 648, 20676, 30, 565, 648, 5383, 30, 565, 648, 27085, 30, 565, 648, 16481, 67, 23225, 30, 565, 648, 14011, 67, 23225, 2 ]
IDataModel nestedModel = (IDataModel)getDataModel().getProperty(NESTED_ADD_COMPONENT_TO_EAR_DM);
public void checkStateChanged(CheckStateChangedEvent event) { IDataModel nestedModel = (IDataModel)getDataModel().getProperty(NESTED_ADD_COMPONENT_TO_EAR_DM); if (!ignoreCheckedState) { getDataModel().setProperty(J2EE_COMPONENT_LIST, getCheckedJ2EEElementsAsList()); getDataModel().setProperty(JAVA_PROJECT_LIST, getCheckedJavaProjectsAsList()); //(nestedModel).setProperty(AddComponentToEnterpriseApplicationDataModelProvider.TARGET_COMPONENTS_HANDLE_LIST, getCheckedJ2EEElementsAsList()); } }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/8b7513aecf93da57a2dea981f48d2dcde33d908b/EARComponentCreationSecondPage.java/clean/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARComponentCreationSecondPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 13632, 5033, 12, 1564, 1119, 27553, 871, 13, 288, 9506, 202, 734, 396, 1488, 4764, 1488, 273, 261, 734, 396, 1488, 13, 588, 26349, 7675, 588, 1396, 12, 5407, 882, 2056, 67, 8355, 67, 22922, 67, 4296, 67, 9250, 67, 16125, 1769, 9506, 202, 430, 16051, 6185, 11454, 1119, 13, 288, 6862, 202, 588, 26349, 7675, 542, 1396, 12, 46, 22, 9383, 67, 22922, 67, 7085, 16, 336, 11454, 46, 22, 9383, 3471, 1463, 682, 10663, 6862, 202, 588, 26349, 7675, 542, 1396, 12, 27264, 67, 17147, 67, 7085, 16, 336, 11454, 5852, 15298, 1463, 682, 10663, 6862, 202, 759, 12, 12985, 1488, 2934, 542, 1396, 12, 986, 1841, 774, 30699, 3208, 26349, 2249, 18, 16374, 67, 22922, 55, 67, 23056, 67, 7085, 16, 336, 11454, 46, 22, 9383, 3471, 1463, 682, 10663, 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, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 13632, 5033, 12, 1564, 1119, 27553, 871, 13, 288, 9506, 202, 734, 396, 1488, 4764, 1488, 273, 261, 734, 396, 1488, 13, 588, 26349, 7675, 588, 1396, 12, 5407, 882, 2056, 67, 8355, 67, 22922, 67, 4296, 67, 9250, 67, 16125, 1769, 9506, 202, 430, 16051, 6185, 11454, 1119, 13, 288, 6862, 202, 588, 26349, 7675, 542, 1396, 12, 46, 22, 9383, 67, 22922, 67, 7085, 16, 336, 11454, 46, 22, 9383, 3471, 1463, 682, 10663, 6862, 202, 588, 26349, 7675, 542, 1396, 12, 27264, 67, 17147, 67, 7085, 16, 336, 11454, 5852, 15298, 1463, 682, 10663, 6862, 202, 759, 12, 12985, 1488, 2934, 542, 1396, 12, 986, 1841, 774, 30699, 3208, 26349, 2249, 18, 2 ]
setPath(nodes,false);
nodes.add(new Path.Node(24,3)); nodes.add(new Path.Node(24,5)); nodes.add(new Path.Node(28,5)); nodes.add(new Path.Node(28,3)); setPath(nodes,true);
protected void createPath() { List<Path.Node> nodes=new LinkedList<Path.Node>(); setPath(nodes,false); }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/441fc1e8d2d2f9e5a716d658ed02970503cc3964/Semos.java/clean/src/games/stendhal/server/maps/Semos.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 4750, 918, 752, 743, 1435, 3639, 288, 3639, 987, 32, 743, 18, 907, 34, 2199, 33, 2704, 10688, 32, 743, 18, 907, 34, 5621, 3639, 2199, 18, 1289, 12, 2704, 2666, 18, 907, 12, 3247, 16, 23, 10019, 2199, 18, 1289, 12, 2704, 2666, 18, 907, 12, 3247, 16, 25, 10019, 2199, 18, 1289, 12, 2704, 2666, 18, 907, 12, 6030, 16, 25, 10019, 2199, 18, 1289, 12, 2704, 2666, 18, 907, 12, 6030, 16, 23, 10019, 16475, 12, 4690, 16, 3767, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 4750, 918, 752, 743, 1435, 3639, 288, 3639, 987, 32, 743, 18, 907, 34, 2199, 33, 2704, 10688, 32, 743, 18, 907, 34, 5621, 3639, 2199, 18, 1289, 12, 2704, 2666, 18, 907, 12, 3247, 16, 23, 10019, 2199, 18, 1289, 12, 2704, 2666, 18, 907, 12, 3247, 16, 25, 10019, 2199, 18, 1289, 12, 2704, 2666, 18, 907, 12, 6030, 16, 25, 10019, 2199, 18, 1289, 12, 2704, 2666, 18, 907, 12, 6030, 16, 23, 10019, 16475, 12, 4690, 16, 3767, 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 ]
DBConnect dbc = new DBConnect( m_conPool ); dbc.getConnection();
DBConnect dbc = new DBConnect( m_conPool ); dbc.getConnection();
public void saveTextDoc( int meta_id, imcode.server.user.User user, imcode.server.Table doc ) { String sqlStr = ""; DBConnect dbc = new DBConnect( m_conPool ); dbc.getConnection(); sqlStr = "update text_docs\n"; sqlStr += "set template_id= " + doc.getString( "template" ); sqlStr += ", group_id= " + doc.getString( "group_id" ); sqlStr += " where meta_id = " + meta_id; dbc.setSQLString( sqlStr ); dbc.createStatement(); dbc.executeUpdateQuery(); //close connection dbc.closeConnection(); dbc = null; this.updateLogs( "Text docs [" + meta_id + "] updated by user: [" + user.getFullName() + "]" ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/2b8ca505bb7abac1b4914c5928bf113f742f3bbb/IMCService.java/buggy/server/src/imcode/server/IMCService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1923, 1528, 1759, 12, 509, 2191, 67, 350, 16, 709, 710, 18, 3567, 18, 1355, 18, 1299, 729, 16, 709, 710, 18, 3567, 18, 1388, 997, 262, 288, 1377, 514, 1847, 1585, 273, 1408, 31, 1377, 2383, 5215, 9881, 273, 394, 2383, 5215, 12, 312, 67, 591, 2864, 11272, 1377, 9881, 18, 588, 1952, 5621, 1377, 1847, 1585, 273, 315, 2725, 977, 67, 8532, 64, 82, 14432, 1377, 1847, 1585, 1011, 315, 542, 1542, 67, 350, 33, 315, 397, 997, 18, 588, 780, 12, 315, 3202, 6, 11272, 1377, 1847, 1585, 1011, 3104, 1041, 67, 350, 33, 315, 397, 997, 18, 588, 780, 12, 315, 1655, 67, 350, 6, 11272, 1377, 1847, 1585, 1011, 315, 1625, 2191, 67, 350, 273, 315, 397, 2191, 67, 350, 31, 1377, 9881, 18, 542, 3997, 780, 12, 1847, 1585, 11272, 1377, 9881, 18, 2640, 3406, 5621, 1377, 9881, 18, 8837, 1891, 1138, 5621, 1377, 368, 4412, 1459, 1377, 9881, 18, 4412, 1952, 5621, 1377, 9881, 273, 446, 31, 1377, 333, 18, 2725, 7777, 12, 315, 1528, 3270, 225, 8247, 397, 2191, 67, 350, 397, 9850, 3526, 635, 729, 30, 8247, 397, 729, 18, 588, 19223, 1435, 397, 9870, 11272, 282, 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, 565, 1071, 918, 1923, 1528, 1759, 12, 509, 2191, 67, 350, 16, 709, 710, 18, 3567, 18, 1355, 18, 1299, 729, 16, 709, 710, 18, 3567, 18, 1388, 997, 262, 288, 1377, 514, 1847, 1585, 273, 1408, 31, 1377, 2383, 5215, 9881, 273, 394, 2383, 5215, 12, 312, 67, 591, 2864, 11272, 1377, 9881, 18, 588, 1952, 5621, 1377, 1847, 1585, 273, 315, 2725, 977, 67, 8532, 64, 82, 14432, 1377, 1847, 1585, 1011, 315, 542, 1542, 67, 350, 33, 315, 397, 997, 18, 588, 780, 12, 315, 3202, 6, 11272, 1377, 1847, 1585, 1011, 3104, 1041, 67, 350, 33, 315, 397, 997, 18, 588, 780, 12, 315, 1655, 67, 350, 6, 11272, 1377, 1847, 1585, 1011, 315, 1625, 2 ]
SharedStyleHandle handle = (SharedStyleHandle) iterator.next( );
Iterator iterator = DEUtil.getStyles( ); while ( iterator.hasNext( ) ) { SharedStyleHandle handle = (SharedStyleHandle) iterator.next( );
private boolean checkName( String name ) { Iterator iterator = DEUtil.getStyles( ); while ( iterator.hasNext( ) ) { SharedStyleHandle handle = (SharedStyleHandle) iterator.next( ); if ( handle.getQualifiedName( ).equals( name ) ) { ExceptionHandler.openErrorMessageBox( Messages.getString( "GeneralPreferencePage.errorMsg.duplicate.styleName" ), //$NON-NLS-1$ Messages.getString( "GeneralPreferencePage.label.styleName" ) //$NON-NLS-1$ + ": \"" //$NON-NLS-1$ + name + "\" " //$NON-NLS-1$ + Messages.getString( "GeneralPreferencePage.label.choose.different.name" ) ); //$NON-NLS-1$ return false; } } return true; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/5292a1e8a042200f9364ce898ccbd5a94a5f8e44/GeneralPreferencePage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/GeneralPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 866, 461, 12, 514, 508, 262, 202, 95, 202, 202, 3198, 2775, 273, 2030, 1304, 18, 588, 9725, 12, 11272, 202, 202, 17523, 261, 2775, 18, 5332, 2134, 12, 262, 262, 202, 202, 95, 1082, 202, 7887, 2885, 3259, 1640, 273, 261, 7887, 2885, 3259, 13, 2775, 18, 4285, 12, 11272, 1082, 202, 430, 261, 1640, 18, 588, 12345, 12, 262, 18, 14963, 12, 508, 262, 262, 1082, 202, 95, 9506, 202, 18894, 18, 3190, 14935, 3514, 12, 4838, 18, 588, 780, 12, 315, 12580, 9624, 1964, 18, 1636, 3332, 18, 17342, 18, 4060, 461, 6, 262, 16, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 5058, 18, 588, 780, 12, 315, 12580, 9624, 1964, 18, 1925, 18, 4060, 461, 6, 262, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 9506, 202, 15, 6398, 11843, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 9506, 202, 15, 508, 6862, 9506, 202, 15, 7023, 315, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 9506, 202, 15, 4838, 18, 588, 780, 12, 315, 12580, 9624, 1964, 18, 1925, 18, 25777, 18, 30738, 18, 529, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2463, 629, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 866, 461, 12, 514, 508, 262, 202, 95, 202, 202, 3198, 2775, 273, 2030, 1304, 18, 588, 9725, 12, 11272, 202, 202, 17523, 261, 2775, 18, 5332, 2134, 12, 262, 262, 202, 202, 95, 1082, 202, 7887, 2885, 3259, 1640, 273, 261, 7887, 2885, 3259, 13, 2775, 18, 4285, 12, 11272, 1082, 202, 430, 261, 1640, 18, 588, 12345, 12, 262, 18, 14963, 12, 508, 262, 262, 1082, 202, 95, 9506, 202, 18894, 18, 3190, 14935, 3514, 12, 4838, 18, 588, 780, 12, 315, 12580, 9624, 1964, 18, 1636, 3332, 18, 17342, 18, 4060, 461, 6, 262, 16, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 5058, 18, 588, 780, 12, 315, 12580, 9624, 2 ]
Object node)
Object node, Object[] loadInfo)
public BrowserIORequest(int type, VFSBrowser browser, Object session, VFS vfs, String path1, String path2, Object node) { this.type = type; this.browser = browser; this.session = session; this.vfs = vfs; this.path1 = path1; this.path2 = path2; this.node = node; } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/fac51444d952ca4016ea9f7be8474954cc91751b/BrowserIORequest.java/buggy/org/gjt/sp/jedit/browser/BrowserIORequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15408, 4294, 691, 12, 474, 618, 16, 23567, 9132, 4748, 16, 202, 202, 921, 1339, 16, 23567, 20682, 16, 514, 589, 21, 16, 514, 589, 22, 16, 202, 202, 921, 756, 13, 202, 95, 202, 202, 2211, 18, 723, 273, 618, 31, 202, 202, 2211, 18, 11213, 273, 4748, 31, 202, 202, 2211, 18, 3184, 273, 1339, 31, 202, 202, 2211, 18, 90, 2556, 273, 20682, 31, 202, 202, 2211, 18, 803, 21, 273, 589, 21, 31, 202, 202, 2211, 18, 803, 22, 273, 589, 22, 31, 202, 202, 2211, 18, 2159, 273, 756, 31, 202, 97, 368, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 15408, 4294, 691, 12, 474, 618, 16, 23567, 9132, 4748, 16, 202, 202, 921, 1339, 16, 23567, 20682, 16, 514, 589, 21, 16, 514, 589, 22, 16, 202, 202, 921, 756, 13, 202, 95, 202, 202, 2211, 18, 723, 273, 618, 31, 202, 202, 2211, 18, 11213, 273, 4748, 31, 202, 202, 2211, 18, 3184, 273, 1339, 31, 202, 202, 2211, 18, 90, 2556, 273, 20682, 31, 202, 202, 2211, 18, 803, 21, 273, 589, 21, 31, 202, 202, 2211, 18, 803, 22, 273, 589, 22, 31, 202, 202, 2211, 18, 2159, 273, 756, 31, 202, 97, 368, 9090, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public JavaScriptException(Object value) {
public JavaScriptException(Object value) {
public JavaScriptException(Object value) { super(ScriptRuntime.toString(value)); if (value instanceof Throwable && initCauseMethod != null) { try { initCauseMethod.invoke(this, new Object[] {value}); } catch (Exception e) { // Ignore any exceptions } } this.value = value; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/10e5abd5a19b72e9c2545091ffe6117854fc79c8/JavaScriptException.java/buggy/js/rhino/src/org/mozilla/javascript/JavaScriptException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11905, 503, 12, 921, 460, 13, 288, 3639, 2240, 12, 3651, 5576, 18, 10492, 12, 1132, 10019, 3639, 309, 261, 1132, 1276, 4206, 597, 28057, 1305, 480, 446, 13, 288, 5411, 775, 288, 7734, 28057, 1305, 18, 14407, 12, 2211, 16, 394, 1033, 8526, 288, 1132, 22938, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 368, 8049, 1281, 4798, 2398, 289, 3639, 289, 3639, 333, 18, 1132, 273, 460, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11905, 503, 12, 921, 460, 13, 288, 3639, 2240, 12, 3651, 5576, 18, 10492, 12, 1132, 10019, 3639, 309, 261, 1132, 1276, 4206, 597, 28057, 1305, 480, 446, 13, 288, 5411, 775, 288, 7734, 28057, 1305, 18, 14407, 12, 2211, 16, 394, 1033, 8526, 288, 1132, 22938, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 368, 8049, 1281, 4798, 2398, 289, 3639, 289, 3639, 333, 18, 1132, 273, 460, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(now - tLastReceivedProbeRequest < 1000) {
if(now - tLastReceivedProbeRequest < 500) {
private boolean innerHandleProbeRequest(PeerNode src, long id, Long lid, double target, double best, double nearest, short htl, short counter, boolean checkRecent, boolean canReject, ProbeCallback cb) { if(htl > Node.MAX_HTL) htl = Node.MAX_HTL; if(htl <= 1) htl = 1; ProbeContext ctx = null; boolean rejected = false; synchronized(recentProbeContexts) { if(checkRecent) { long now = System.currentTimeMillis(); if(now - tLastReceivedProbeRequest < 1000) { rejected = true; } else tLastReceivedProbeRequest = now; } if(!rejected) { ctx = (ProbeContext) recentProbeContexts.get(lid); if(ctx == null) { ctx = new ProbeContext(id, target, best, nearest, htl, counter, src, cb); } recentProbeContexts.push(lid, ctx); // promote or add while(recentProbeContexts.size() > MAX_PROBE_CONTEXTS) recentProbeContexts.popValue(); } } // Add source if(src != null) ctx.visitedPeers.add(src); if(rejected) { // Reject: rate limit Message reject = DMT.createFNPProbeRejected(id, target, nearest, best, counter, htl, DMT.PROBE_REJECTED_OVERLOAD); try { src.sendAsync(reject, null, 0, null); } catch (NotConnectedException e) { Logger.error(this, "Not connected rejecting a probe request from "+src); } return true; } // FIXME Update any important values on ctx if(ctx.counter < counter) ctx.counter = counter; double oldDist = Math.abs(PeerManager.distance(ctx.nearest, target)); double newDist = Math.abs(PeerManager.distance(nearest, target)); // FIXME use this elsewhere? Does it make sense? if(oldDist > newDist) { ctx.htl = htl; ctx.nearest = nearest; } else if(Math.abs(oldDist - newDist) < Double.MIN_VALUE*2) { if(htl > ctx.htl-1) htl = (short)Math.max(0,(ctx.htl-1)); else ctx.htl = htl; } else { Logger.error(this, "Distance increased: "+oldDist+" -> "+newDist+" htl: "+ctx.htl+" -> "+htl+" , using old HTL and dist"); htl = ctx.htl; nearest = ctx.nearest; } PeerNode[] peers = node.peers.myPeers; double myLoc = node.getLocation(); // Update best if(myLoc > target && myLoc < best) best = myLoc; for(int i=0;i<peers.length;i++) { if(!peers[i].isConnected()) { if(logMINOR) Logger.minor(this, "Not connected: "+peers[i]); continue; } double loc = peers[i].getLocation().getValue(); if(logMINOR) Logger.minor(this, "Location: "+loc); // We are only interested in locations greater than the target if(loc <= (target + 2*Double.MIN_VALUE)) { if(logMINOR) Logger.minor(this, "Location is under target"); continue; } if(loc < best) { if(logMINOR) Logger.minor(this, "New best: "+loc+" was "+best); best = loc; } } // Update nearest if(PeerManager.distance(myLoc, target) > PeerManager.distance(nearest, target)) { nearest = myLoc; htl = Node.MAX_HTL; } else { htl--; if(htl > Node.MAX_HTL) htl = Node.MAX_HTL; } // Complete ? if(htl == 0) { if(src != null) { // Complete Message complete = DMT.createFNPProbeReply(id, target, nearest, best, counter++); try { src.sendAsync(complete, null, 0, null); } catch (NotConnectedException e) { Logger.error(this, "Not connected completing a probe request from "+src); } return true; } else { complete("success", target, best, nearest, id, ctx, counter); } } // Otherwise route it HashSet visited = ctx.visitedPeers; while(true) { PeerNode pn = node.peers.closerPeer(src, visited, null, target, true, false, 965); if(pn == null) { // Can't complete, because some HTL left // Reject: RNF if(canReject) { Message reject = DMT.createFNPProbeRejected(id, target, nearest, best, counter, htl, DMT.PROBE_REJECTED_RNF); try { src.sendAsync(reject, null, 0, null); } catch (NotConnectedException e) { Logger.error(this, "Not connected rejecting a probe request from "+src); } } else { complete("RNF", target, best, nearest, id, ctx, counter); } return true; } visited.add(pn); Message forwarded = DMT.createFNPProbeRequest(id, target, nearest, best, htl, counter++); try { pn.sendAsync(forwarded, null, 0, null); return true; } catch (NotConnectedException e) { Logger.error(this, "Could not forward message: disconnected: "+pn+" : "+e, e); // Try another one } } }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/b2543d67aa36ed0adc7124c1b42484fcf4ff37ed/NodeDispatcher.java/buggy/src/freenet/node/NodeDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3443, 3259, 21042, 691, 12, 6813, 907, 1705, 16, 1525, 612, 16, 3407, 328, 350, 16, 1645, 1018, 16, 1645, 3796, 16, 1377, 202, 202, 9056, 11431, 16, 3025, 366, 6172, 16, 3025, 3895, 16, 1250, 866, 17076, 16, 1250, 848, 21705, 16, 25490, 2428, 2875, 13, 288, 377, 202, 430, 12, 647, 80, 405, 2029, 18, 6694, 67, 5062, 48, 13, 366, 6172, 273, 2029, 18, 6694, 67, 5062, 48, 31, 377, 202, 430, 12, 647, 80, 1648, 404, 13, 366, 6172, 273, 404, 31, 202, 202, 21042, 1042, 1103, 273, 446, 31, 202, 202, 6494, 11876, 273, 629, 31, 202, 202, 22043, 12, 20872, 21042, 15518, 13, 288, 1082, 202, 430, 12, 1893, 17076, 13, 288, 9506, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 9506, 202, 430, 12, 3338, 300, 268, 3024, 8872, 21042, 691, 411, 4336, 13, 288, 6862, 202, 266, 6059, 273, 638, 31, 9506, 202, 97, 469, 6862, 202, 88, 3024, 8872, 21042, 691, 273, 2037, 31, 1082, 202, 97, 1082, 202, 430, 12, 5, 266, 6059, 13, 288, 9506, 202, 5900, 273, 261, 21042, 1042, 13, 8399, 21042, 15518, 18, 588, 12, 80, 350, 1769, 9506, 202, 430, 12, 5900, 422, 446, 13, 288, 6862, 202, 5900, 273, 394, 25490, 1042, 12, 350, 16, 1018, 16, 3796, 16, 11431, 16, 366, 6172, 16, 3895, 16, 1705, 16, 2875, 1769, 9506, 202, 97, 9506, 202, 20872, 21042, 15518, 18, 6206, 12, 80, 350, 16, 1103, 1769, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3443, 3259, 21042, 691, 12, 6813, 907, 1705, 16, 1525, 612, 16, 3407, 328, 350, 16, 1645, 1018, 16, 1645, 3796, 16, 1377, 202, 202, 9056, 11431, 16, 3025, 366, 6172, 16, 3025, 3895, 16, 1250, 866, 17076, 16, 1250, 848, 21705, 16, 25490, 2428, 2875, 13, 288, 377, 202, 430, 12, 647, 80, 405, 2029, 18, 6694, 67, 5062, 48, 13, 366, 6172, 273, 2029, 18, 6694, 67, 5062, 48, 31, 377, 202, 430, 12, 647, 80, 1648, 404, 13, 366, 6172, 273, 404, 31, 202, 202, 21042, 1042, 1103, 273, 446, 31, 202, 202, 6494, 11876, 273, 629, 31, 202, 202, 22043, 12, 20872, 21042, 15518, 13, 288, 1082, 202, 430, 12, 1893, 17076, 2 ]
private Map<ValueNumber, Integer> buildValueNumberToParamMap(Method method, ValueNumberFrame vnaFrameAtEntry) {
private Map<ValueNumber, Integer> buildValueNumberToParamMap( ClassContext classContext, Method method) throws DataflowAnalysisException, CFGBuilderException { ValueNumberFrame vnaFrameAtEntry = classContext.getValueNumberDataflow(method).getStartFact(classContext.getCFG(method).getEntry());
private Map<ValueNumber, Integer> buildValueNumberToParamMap(Method method, ValueNumberFrame vnaFrameAtEntry) { Map<ValueNumber, Integer> valueNumberToParamMap = new HashMap<ValueNumber, Integer>(); if (VERBOSE_DEBUG) System.out.print(" " + method.getSignature()); int numParams = new SignatureParser(method.getSignature()).getNumParameters(); if (!method.isStatic()) ++numParams; for (int i = 0; i < numParams; ++i) { ValueNumber valueNumber = vnaFrameAtEntry.getValue(i); if (VERBOSE_DEBUG) System.out.println("[" + valueNumber + "->" + i + "]"); valueNumberToParamMap.put(valueNumber, new Integer(i)); } return valueNumberToParamMap; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/8363c6c6a833f239b60d5c5fe243019478e681b6/TrainUnconditionalDerefParams.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/TrainUnconditionalDerefParams.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1635, 32, 620, 1854, 16, 2144, 34, 1361, 620, 1854, 774, 786, 863, 12, 1305, 707, 16, 1445, 1854, 3219, 331, 6582, 3219, 861, 1622, 13, 288, 202, 202, 863, 32, 620, 1854, 16, 2144, 34, 460, 1854, 774, 786, 863, 273, 394, 4317, 32, 620, 1854, 16, 2144, 34, 5621, 202, 202, 430, 261, 21900, 67, 9394, 13, 2332, 18, 659, 18, 1188, 2932, 315, 397, 707, 18, 588, 5374, 10663, 202, 202, 474, 818, 1370, 273, 394, 9249, 2678, 12, 2039, 18, 588, 5374, 1435, 2934, 588, 2578, 2402, 5621, 202, 202, 430, 16051, 2039, 18, 291, 5788, 10756, 1082, 202, 9904, 2107, 1370, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 818, 1370, 31, 965, 77, 13, 288, 1082, 202, 620, 1854, 460, 1854, 273, 331, 6582, 3219, 861, 1622, 18, 24805, 12, 77, 1769, 1082, 202, 430, 261, 21900, 67, 9394, 13, 2332, 18, 659, 18, 8222, 2932, 9614, 397, 460, 1854, 397, 315, 2122, 6, 397, 277, 397, 9870, 1769, 1082, 202, 1132, 1854, 774, 786, 863, 18, 458, 12, 1132, 1854, 16, 394, 2144, 12, 77, 10019, 202, 202, 97, 202, 202, 2463, 460, 1854, 774, 786, 863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1635, 32, 620, 1854, 16, 2144, 34, 1361, 620, 1854, 774, 786, 863, 12, 1305, 707, 16, 1445, 1854, 3219, 331, 6582, 3219, 861, 1622, 13, 288, 202, 202, 863, 32, 620, 1854, 16, 2144, 34, 460, 1854, 774, 786, 863, 273, 394, 4317, 32, 620, 1854, 16, 2144, 34, 5621, 202, 202, 430, 261, 21900, 67, 9394, 13, 2332, 18, 659, 18, 1188, 2932, 315, 397, 707, 18, 588, 5374, 10663, 202, 202, 474, 818, 1370, 273, 394, 9249, 2678, 12, 2039, 18, 588, 5374, 1435, 2934, 588, 2578, 2402, 5621, 202, 202, 430, 16051, 2039, 18, 291, 5788, 10756, 1082, 202, 9904, 2107, 1370, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 2 ]
listOfNewMethods.add(createNewNative(md,nf)); listOfNewMethods.add(createNativeWrapper(md,nf));
newListOfMembers.add(createNewNative(md,nf)); newListOfMembers.add(createNativeWrapper(md,nf));
public Node rewrite(X10TypeSystem ts, NodeFactory nf) { typeSystem = ts; PrimitiveType tt = ts.Long(); boolean seenNativeMethodDecl = false; ClassBody_c cb = (ClassBody_c) node(); List members = cb.members(); HashMap methodHash=null; ArrayList listOfNewMethods = new ArrayList(); for (ListIterator i = members.listIterator(); i.hasNext();) { Object o = i.next(); if (o instanceof MethodDecl) { MethodDecl_c md = (MethodDecl_c) o; MethodInstance mi = md.methodInstance(); if (!mi.flags().isNative()){ listOfNewMethods.add(o); continue; } if (!seenNativeMethodDecl) { // JNI signature changes depends on whether the method // is overloaded or not. Determine that by scanning // through and hashing all native method names methodHash = new HashMap(); for (ListIterator j = members.listIterator(); j.hasNext();) { Object theObj = j.next(); if (!(theObj instanceof MethodDecl)) continue; MethodDecl_c methodDecl = (MethodDecl_c) theObj; if (!methodDecl.methodInstance().flags().isNative()) continue; Boolean boolObj = null; if (methodHash.containsKey(methodDecl.name())) { methodHash.put(methodDecl.name(), methodDecl); // more than one instance } else { methodHash.put(methodDecl.name(), null); } } if (0 == containingClassDepth++) { createWrapperFile(mi.container().toString()); generateWrapperPrologue(); } seenNativeMethodDecl = true; } boolean isOverLoaded = (null != methodHash.get(md.name())); //System.out.println("method: "+md.name() +" overload:"+isOverLoaded); generateStub(md,isOverLoaded); listOfNewMethods.add(createNewNative(md,nf)); listOfNewMethods.add(createNativeWrapper(md,nf)); } else listOfNewMethods.add(o); } if (seenNativeMethodDecl) { --containingClassDepth; if (0 == containingClassDepth) generateWrapperEpilogue(); } cb = (ClassBody_c)cb.members(listOfNewMethods); return cb; }
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/1c4e8e08dbaee38a4c78150daa69db545b43ee17/X10ClassBodyExt_c.java/buggy/x10.compiler/src/polyglot/ext/x10/extension/X10ClassBodyExt_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2029, 10738, 12, 60, 2163, 559, 3163, 3742, 16, 2029, 1733, 13958, 13, 288, 202, 202, 723, 3163, 273, 3742, 31, 202, 202, 9840, 559, 3574, 273, 3742, 18, 3708, 5621, 202, 202, 6494, 5881, 9220, 1305, 3456, 273, 629, 31, 9506, 202, 797, 2250, 67, 71, 2875, 273, 261, 797, 2250, 67, 71, 13, 756, 5621, 202, 202, 682, 4833, 273, 2875, 18, 7640, 5621, 202, 202, 8658, 707, 2310, 33, 2011, 31, 202, 202, 19558, 24692, 1908, 4712, 273, 394, 2407, 5621, 1082, 202, 1884, 261, 682, 3198, 277, 273, 4833, 18, 1098, 3198, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 921, 320, 273, 277, 18, 4285, 5621, 1082, 202, 430, 261, 83, 1276, 2985, 3456, 13, 288, 9506, 202, 1305, 3456, 67, 71, 3481, 273, 261, 1305, 3456, 67, 71, 13, 320, 31, 9506, 202, 1305, 1442, 12837, 273, 3481, 18, 2039, 1442, 5621, 6862, 1082, 202, 430, 16051, 9197, 18, 7133, 7675, 291, 9220, 10756, 95, 6862, 202, 1098, 951, 1908, 4712, 18, 1289, 12, 83, 1769, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 430, 16051, 15156, 9220, 1305, 3456, 13, 288, 6862, 25083, 202, 759, 804, 50, 45, 3372, 3478, 10935, 603, 2856, 326, 707, 6862, 202, 759, 353, 1879, 4230, 578, 486, 18, 225, 10229, 716, 635, 21138, 6862, 202, 759, 3059, 471, 24641, 777, 6448, 707, 1257, 6862, 202, 2039, 2310, 273, 394, 4317, 5621, 6862, 202, 1884, 261, 682, 3198, 525, 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, 2029, 10738, 12, 60, 2163, 559, 3163, 3742, 16, 2029, 1733, 13958, 13, 288, 202, 202, 723, 3163, 273, 3742, 31, 202, 202, 9840, 559, 3574, 273, 3742, 18, 3708, 5621, 202, 202, 6494, 5881, 9220, 1305, 3456, 273, 629, 31, 9506, 202, 797, 2250, 67, 71, 2875, 273, 261, 797, 2250, 67, 71, 13, 756, 5621, 202, 202, 682, 4833, 273, 2875, 18, 7640, 5621, 202, 202, 8658, 707, 2310, 33, 2011, 31, 202, 202, 19558, 24692, 1908, 4712, 273, 394, 2407, 5621, 1082, 202, 1884, 261, 682, 3198, 277, 273, 4833, 18, 1098, 3198, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 921, 320, 273, 277, 18, 4285, 5621, 1082, 202, 430, 2 ]
LOG.debug("testAttrs.15"); Assert.fail("group modified");
LOG.debug("testAttrs.15"); Assert.assertTrue("group modified", true);
protected static void testAttrs(Group exp, Group g) { try { LOG.debug("testAttrs.0"); Assert.assertTrue("4 attrs", g.getAttributes().size() == 4); LOG.debug("testAttrs.1"); Assert.assertTrue( "createSource", g.getCreateSource().equals("") ); LOG.debug("testAttrs.2"); try { Assert.assertTrue( "createSubject", g.getCreateSubject() instanceof Subject ); LOG.debug("testAttrs.3"); } catch (SubjectNotFoundException eSNF) { Assert.fail("no create subject: " + eSNF.getMessage()); } Assert.assertTrue( "createTime", g.getCreateTime() instanceof Date ); LOG.debug("testAttrs.4"); try { String desc = g.getAttribute("description"); LOG.debug("testAttrs.5"); Assert.fail("found description");/* TODO Change once I'm setting description Assert.assertTrue( "[i] description", g.getAttribute("description").equals(exp.getDescription()) );*/ } catch (AttributeNotFoundException eTODO) { Assert.assertTrue("no description found", true); LOG.debug("testAttrs.6"); } Assert.assertTrue( "[d] description", g.getDescription().equals(exp.getDescription()) ); LOG.debug("testAttrs.7"); Assert.assertTrue( "[i] displayName", g.getAttribute("displayName").equals(exp.getDisplayName()) ); LOG.debug("testAttrs.9"); Assert.assertTrue( "[d] displayName", g.getDisplayName().equals(exp.getDisplayName()) ); LOG.debug("testAttrs.9"); Assert.assertTrue( "[i] displayExtension", g.getAttribute("displayExtension").equals(exp.getDisplayExtension()) ); LOG.debug("testAttrs.10"); Assert.assertTrue( "[d] displayExtension", g.getDisplayExtension().equals(exp.getDisplayExtension()) ); LOG.debug("testAttrs.11"); Assert.assertTrue( "[i] extension", g.getAttribute("extension").equals(exp.getExtension()) ); LOG.debug("testAttrs.12"); Assert.assertTrue( "[d] extension", g.getExtension().equals(exp.getExtension()) ); LOG.debug("testAttrs.13j"); Assert.assertTrue( "modifySource", g.getModifySource().equals("") ); LOG.debug("testAttrs.14");/* TODO Change once I'm setting description */ try { Subject modder = g.getModifySubject(); LOG.debug("testAttrs.15"); Assert.fail("group modified"); } catch (SubjectNotFoundException esNF) { Assert.assertTrue("group not modified", true); LOG.debug("testAttrs.16"); } Assert.assertTrue( "modifyTime", g.getModifyTime() instanceof Date ); LOG.debug("testAttrs.17"); Assert.assertTrue( "[i] name", g.getAttribute("name").equals(exp.getName()) ); LOG.debug("testAttrs.18"); Assert.assertTrue( "[d] name", g.getName().equals(exp.getName()) ); LOG.debug("testAttrs.19"); } catch (AttributeNotFoundException eANF) { Assert.fail(eANF.getMessage()); } } // protected static void testAttrs(exp, g)
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/9f409d057ec571a193864429b62767fe758cd90b/GroupHelper.java/buggy/grouper/java/tests/test/edu/internet2/middleware/grouper/GroupHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 918, 1842, 8262, 12, 1114, 1329, 16, 3756, 314, 13, 288, 565, 775, 288, 1377, 2018, 18, 4148, 2932, 3813, 8262, 18, 20, 8863, 1377, 5452, 18, 11231, 5510, 2932, 24, 3422, 3113, 314, 18, 588, 2498, 7675, 1467, 1435, 422, 1059, 1769, 1377, 2018, 18, 4148, 2932, 3813, 8262, 18, 21, 8863, 1377, 5452, 18, 11231, 5510, 12, 3639, 315, 2640, 1830, 3113, 314, 18, 588, 1684, 1830, 7675, 14963, 2932, 7923, 1377, 11272, 1377, 2018, 18, 4148, 2932, 3813, 8262, 18, 22, 8863, 1377, 775, 288, 3639, 5452, 18, 11231, 5510, 12, 1850, 315, 2640, 6638, 3113, 314, 18, 588, 1684, 6638, 1435, 1276, 9912, 3639, 11272, 1377, 2018, 18, 4148, 2932, 3813, 8262, 18, 23, 8863, 1377, 289, 1377, 1044, 261, 6638, 3990, 425, 13653, 42, 13, 288, 3639, 5452, 18, 6870, 2932, 2135, 752, 3221, 30, 315, 397, 425, 13653, 42, 18, 24906, 10663, 1377, 289, 1377, 5452, 18, 11231, 5510, 12, 3639, 315, 2640, 950, 3113, 314, 18, 588, 1684, 950, 1435, 1276, 2167, 1377, 11272, 1377, 2018, 18, 4148, 2932, 3813, 8262, 18, 24, 8863, 1377, 775, 288, 3639, 514, 3044, 273, 314, 18, 588, 1499, 2932, 3384, 8863, 1377, 2018, 18, 4148, 2932, 3813, 8262, 18, 25, 8863, 3639, 5452, 18, 6870, 2932, 7015, 2477, 8863, 20308, 2660, 7576, 3647, 467, 17784, 3637, 2477, 3639, 5452, 18, 11231, 5510, 12, 1850, 5158, 77, 65, 2477, 3113, 314, 18, 588, 1499, 2932, 3384, 20387, 14963, 12, 2749, 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, 282, 4750, 760, 918, 1842, 8262, 12, 1114, 1329, 16, 3756, 314, 13, 288, 565, 775, 288, 1377, 2018, 18, 4148, 2932, 3813, 8262, 18, 20, 8863, 1377, 5452, 18, 11231, 5510, 2932, 24, 3422, 3113, 314, 18, 588, 2498, 7675, 1467, 1435, 422, 1059, 1769, 1377, 2018, 18, 4148, 2932, 3813, 8262, 18, 21, 8863, 1377, 5452, 18, 11231, 5510, 12, 3639, 315, 2640, 1830, 3113, 314, 18, 588, 1684, 1830, 7675, 14963, 2932, 7923, 1377, 11272, 1377, 2018, 18, 4148, 2932, 3813, 8262, 18, 22, 8863, 1377, 775, 288, 3639, 5452, 18, 11231, 5510, 12, 1850, 315, 2640, 6638, 3113, 314, 18, 588, 1684, 6638, 1435, 1276, 9912, 3639, 11272, 1377, 2018, 18, 4148, 2932, 3813, 8262, 2 ]
return e;
return postExtCharLit(e);
public final Ext extCharLit() { Ext e = extCharLitImpl(); if (nextExtFactory != null) { Ext e2 = nextExtFactory.extCharLit(); e = composeExts(e, e2); } return e; }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/27cff504b65da534a6e4e4ad3ce65fac3c7dbb26/AbstractExtFactory_c.java/clean/src/polyglot/ast/AbstractExtFactory_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 6419, 1110, 2156, 23707, 1435, 288, 3639, 6419, 425, 273, 1110, 2156, 23707, 2828, 5621, 3639, 309, 261, 4285, 2482, 1733, 480, 446, 13, 288, 5411, 6419, 425, 22, 273, 1024, 2482, 1733, 18, 408, 2156, 23707, 5621, 5411, 425, 273, 11458, 2482, 87, 12, 73, 16, 425, 22, 1769, 3639, 289, 3639, 327, 1603, 2482, 2156, 23707, 12, 73, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 6419, 1110, 2156, 23707, 1435, 288, 3639, 6419, 425, 273, 1110, 2156, 23707, 2828, 5621, 3639, 309, 261, 4285, 2482, 1733, 480, 446, 13, 288, 5411, 6419, 425, 22, 273, 1024, 2482, 1733, 18, 408, 2156, 23707, 5621, 5411, 425, 273, 11458, 2482, 87, 12, 73, 16, 425, 22, 1769, 3639, 289, 3639, 327, 1603, 2482, 2156, 23707, 12, 73, 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 ]
Class serCla= Class.forName(fileName,true,classLoader); Method[] methods = serCla.getDeclaredMethods();
Class serCla = Class.forName(fileName, true, classLoader); Method[] methods = serCla.getDeclaredMethods();
public void actionPerformed(ActionEvent e) { Object obj = e.getSource(); if(obj == butSelect){ parent.fc.setFileSelectionMode(JFileChooser.FILES_ONLY); int returnVal = parent.fc.showOpenDialog(this); if (returnVal == JFileChooser.APPROVE_OPTION) { File newfile = parent.fc.getSelectedFile(); String newFile =newfile.getPath(); int index = newFile.indexOf(file.getAbsolutePath().trim()); if(index >=0){ int lastindex= file.getAbsolutePath().trim().length(); newFile = newFile.substring(lastindex +1); char ch = parent.fileSeparator.toCharArray()[0]; char newch= '.'; int cindex = newFile.indexOf(ch); while(cindex >=0){ newFile = newFile.replace(ch,newch); cindex = newFile.indexOf(ch); } fileName = newFile; int classIndex = fileName.indexOf(".class"); fileName = fileName.substring(0,classIndex); txtClassDir.setText(fileName); } } } else if(obj == load){ if(file == null){ return; } try { try { this.remove(sp); this.remove(tablelbl); butDone.setVisible(false); lblServiceNam.setVisible(false); txtServiceName.setVisible(false); } catch (Exception e1) {// e1.printStackTrace(); }// ClassLoader classLoader = new URLClassLoader(// new URL[]{file.toURL()},SelectPanel.class.getClassLoader()); ClassLoader classLoader = parent.bean.getClassLoader(); Class serCla= Class.forName(fileName,true,classLoader); Method[] methods = serCla.getDeclaredMethods(); operations = new HashMap(); if(methods.length >0){ for (int i = 0; i < methods.length; i++) { Method method = methods[i]; OperationObj operationobj = new OperationObj(method.getName(), method.getReturnType().toString(), new Integer(method.getParameterTypes().length),new Boolean(false)); operations.put(method.getName() ,operationobj); } } ArchiveTableModel myModel = new ArchiveTableModel(operations); JTable table = new JTable(myModel); tablelbl = new JLabel("Mark operation you do not want to publish ") ; add(tablelbl); tablelbl.setBounds(insets.left + 10, insets.top + 45, 400, 24); sp =new JScrollPane(table); add(sp); sp.setAutoscrolls(true); sp.setBounds(insets.left + 10, insets.top + 75, 550, 100); txtServiceName.setText("MyService" + count); butDone.setVisible(true); lblServiceNam.setVisible(true); txtServiceName.setVisible(true); } catch (ClassNotFoundException e1) { e1.printStackTrace(); } parent.reShow(); } else if(obj == butDone){ ArrayList ops = new ArrayList(); Iterator opitr = operations.values().iterator(); while (opitr.hasNext()) { OperationObj operationObj = (OperationObj) opitr.next(); if(operationObj.getSelect().booleanValue()){ ops.add(operationObj.getOpName()); } } ServiceObj service= new ServiceObj(txtServiceName.getText(),fileName,ops); servicelsit.add(service); if(!parent.singleService){ int valu = JOptionPane.showConfirmDialog(parent,"Do you want to add an another service to group","Service Archive", JOptionPane.YES_NO_OPTION); if(valu == 0){ txtClassDir.setText(""); fileName = ""; try { this.remove(sp); this.remove(tablelbl); butDone.setVisible(false); lblServiceNam.setVisible(false); txtServiceName.setVisible(false); } catch (Exception e1) {// e1.printStackTrace(); } count ++; parent.reShow(); this.repaint(); } else { parent.setEnable(false,true,false,true); sgXMl = "<serviceGroup>\n"; for (int i = 0; i < servicelsit.size(); i++) { ServiceObj serviceObj = (ServiceObj) servicelsit.get(i); sgXMl = sgXMl + serviceObj.toString(); } sgXMl = sgXMl + "</serviceGroup>"; disfile = new DescriptorFile(parent,sgXMl); disfile.setPrivious(this); } } else { parent.setEnable(false,true,false,true); sgXMl = "<serviceGroup>\n"; for (int i = 0; i < servicelsit.size(); i++) { ServiceObj serviceObj = (ServiceObj) servicelsit.get(i); sgXMl = sgXMl + serviceObj.toString(); } sgXMl = sgXMl + "</serviceGroup>"; disfile = new DescriptorFile(parent,sgXMl); disfile.setPrivious(this); }// int valu = JOptionPane.showConfirmDialog(parent,"Do you want to add an another service to group","Service Archive",// JOptionPane.YES_NO_OPTION);// if(valu == 0){// txtClassDir.setText("");// fileName = "";// try {// this.remove(sp);// this.remove(tablelbl);// butDone.setVisible(false);// lblServiceNam.setVisible(false);// txtServiceName.setVisible(false);// } catch (Exception e1) {//// e1.printStackTrace();// }// count ++;// parent.reShow();// this.repaint();// } else {// parent.setEnable(false,true,false,true);// sgXMl = "<serviceGroup>\n";// for (int i = 0; i < servicelsit.size(); i++) {// ServiceObj serviceObj = (ServiceObj) servicelsit.get(i);// sgXMl = sgXMl + serviceObj.toString();// }// sgXMl = sgXMl + "</serviceGroup>";// disfile = new DescriptorFile(parent,sgXMl);// disfile.setPrivious(this);// } } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/5ce9b17c12a2b8c491678a62c14ea1084efd627e/SelectPanel.java/clean/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/frames/SelectPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 1033, 1081, 273, 425, 18, 588, 1830, 5621, 3639, 309, 12, 2603, 422, 1496, 3391, 15329, 5411, 982, 18, 7142, 18, 542, 812, 6233, 2309, 12, 46, 812, 17324, 18, 12669, 67, 10857, 1769, 5411, 509, 28702, 273, 982, 18, 7142, 18, 4500, 3678, 6353, 12, 2211, 1769, 5411, 309, 261, 2463, 3053, 422, 804, 812, 17324, 18, 2203, 3373, 3412, 67, 7425, 13, 288, 7734, 1387, 394, 768, 273, 982, 18, 7142, 18, 588, 7416, 812, 5621, 7734, 514, 20592, 273, 2704, 768, 18, 588, 743, 5621, 7734, 509, 770, 273, 20592, 18, 31806, 12, 768, 18, 588, 10368, 743, 7675, 5290, 10663, 7734, 309, 12, 1615, 1545, 20, 15329, 10792, 509, 1142, 1615, 33, 585, 18, 588, 10368, 743, 7675, 5290, 7675, 2469, 5621, 10792, 20592, 273, 20592, 18, 28023, 12, 2722, 1615, 397, 21, 1769, 10792, 1149, 462, 273, 982, 18, 768, 6581, 18, 869, 15936, 1435, 63, 20, 15533, 10792, 1149, 394, 343, 33, 2611, 31, 10792, 509, 276, 1615, 273, 20592, 18, 31806, 12, 343, 1769, 10792, 1323, 12, 71, 1615, 1545, 20, 15329, 13491, 20592, 273, 282, 20592, 18, 2079, 12, 343, 16, 2704, 343, 1769, 13491, 276, 1615, 273, 20592, 18, 31806, 12, 343, 1769, 10792, 289, 10792, 3968, 273, 20592, 31, 10792, 509, 667, 1016, 273, 3968, 18, 31806, 2932, 18, 1106, 8863, 10792, 3968, 273, 3968, 18, 28023, 12, 20, 16, 1106, 1016, 1769, 10792, 6463, 797, 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, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 1033, 1081, 273, 425, 18, 588, 1830, 5621, 3639, 309, 12, 2603, 422, 1496, 3391, 15329, 5411, 982, 18, 7142, 18, 542, 812, 6233, 2309, 12, 46, 812, 17324, 18, 12669, 67, 10857, 1769, 5411, 509, 28702, 273, 982, 18, 7142, 18, 4500, 3678, 6353, 12, 2211, 1769, 5411, 309, 261, 2463, 3053, 422, 804, 812, 17324, 18, 2203, 3373, 3412, 67, 7425, 13, 288, 7734, 1387, 394, 768, 273, 982, 18, 7142, 18, 588, 7416, 812, 5621, 7734, 514, 20592, 273, 2704, 768, 18, 588, 743, 5621, 7734, 509, 770, 273, 20592, 18, 31806, 12, 768, 18, 588, 10368, 743, 7675, 5290, 10663, 7734, 309, 12, 1615, 2 ]
if(_sourcehost == null) { if(_sourceuser != null) {
if (_sourcehost == null) { if (_sourceuser != null) {
public void validate() throws CruiseControlException { if(_sourceuser == null) { if(_sourcehost != null) { throw new CruiseControlException("'sourceuser' not specified in configuration file"); } } if(_sourcehost == null) { if(_sourceuser != null) { throw new CruiseControlException("'sourcehost' not specified in configuration file"); } } if(_targetuser == null) { if(_targethost != null) { throw new CruiseControlException("'targetuser' not specified in configuration file"); } } if(_targethost == null) { if(_targetuser != null) { throw new CruiseControlException("'targethost' not specified in configuration file"); } } }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/0aadaac8019219e051d60665c66d8d2d201ace82/SCPPublisher.java/buggy/main/src/net/sourceforge/cruisecontrol/publishers/SCPPublisher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1954, 1435, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 309, 24899, 3168, 1355, 422, 446, 13, 288, 5411, 309, 24899, 3168, 2564, 480, 446, 13, 288, 7734, 604, 394, 385, 8653, 784, 3367, 503, 29823, 3168, 1355, 11, 486, 1269, 316, 1664, 585, 8863, 5411, 289, 3639, 289, 3639, 309, 24899, 3168, 2564, 422, 446, 13, 288, 5411, 309, 24899, 3168, 1355, 480, 446, 13, 288, 7734, 604, 394, 385, 8653, 784, 3367, 503, 29823, 3168, 2564, 11, 486, 1269, 316, 1664, 585, 8863, 5411, 289, 3639, 289, 3639, 309, 24899, 3299, 1355, 422, 446, 13, 288, 5411, 309, 24899, 88, 3175, 546, 669, 480, 446, 13, 288, 7734, 604, 394, 385, 8653, 784, 3367, 503, 29823, 3299, 1355, 11, 486, 1269, 316, 1664, 585, 8863, 5411, 289, 3639, 289, 3639, 309, 24899, 88, 3175, 546, 669, 422, 446, 13, 288, 5411, 309, 24899, 3299, 1355, 480, 446, 13, 288, 7734, 604, 394, 385, 8653, 784, 3367, 503, 29823, 88, 3175, 546, 669, 11, 486, 1269, 316, 1664, 585, 8863, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1954, 1435, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 309, 24899, 3168, 1355, 422, 446, 13, 288, 5411, 309, 24899, 3168, 2564, 480, 446, 13, 288, 7734, 604, 394, 385, 8653, 784, 3367, 503, 29823, 3168, 1355, 11, 486, 1269, 316, 1664, 585, 8863, 5411, 289, 3639, 289, 3639, 309, 24899, 3168, 2564, 422, 446, 13, 288, 5411, 309, 24899, 3168, 1355, 480, 446, 13, 288, 7734, 604, 394, 385, 8653, 784, 3367, 503, 29823, 3168, 2564, 11, 486, 1269, 316, 1664, 585, 8863, 5411, 289, 3639, 289, 3639, 309, 24899, 3299, 1355, 422, 446, 13, 288, 5411, 309, 24899, 88, 3175, 546, 669, 480, 446, 13, 288, 7734, 604, 394, 385, 8653, 784, 3367, 2 ]
public void storePatch (Patch p, int bankNum,int patchNum)
public void storePatch (IPatch p, int bankNum,int patchNum)
public void storePatch (Patch p, int bankNum,int patchNum) {// setBankNum(bankNum); setPatchNum(patchNum); sendPatchWorker(p); try {Thread.sleep(25);} catch(Exception e) {}; setPatchNum(patchNum); }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/BossDR660DrumkitDriver.java/buggy/JSynthLib/synthdrivers/BossDR660/BossDR660DrumkitDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 918, 1707, 7332, 261, 2579, 505, 293, 16, 509, 11218, 2578, 16, 474, 4729, 2578, 13, 225, 288, 759, 282, 15268, 2304, 2578, 12, 10546, 2578, 1769, 282, 444, 7332, 2578, 12, 2272, 2578, 1769, 282, 1366, 7332, 6671, 12, 84, 1769, 282, 775, 288, 3830, 18, 19607, 12, 2947, 1769, 97, 1044, 12, 503, 425, 13, 2618, 31, 282, 444, 7332, 2578, 12, 2272, 2578, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 918, 1707, 7332, 261, 2579, 505, 293, 16, 509, 11218, 2578, 16, 474, 4729, 2578, 13, 225, 288, 759, 282, 15268, 2304, 2578, 12, 10546, 2578, 1769, 282, 444, 7332, 2578, 12, 2272, 2578, 1769, 282, 1366, 7332, 6671, 12, 84, 1769, 282, 775, 288, 3830, 18, 19607, 12, 2947, 1769, 97, 1044, 12, 503, 425, 13, 2618, 31, 282, 444, 7332, 2578, 12, 2272, 2578, 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 ]
Integer ifindex = ent.getInt32(IpRouteTableEntry.IP_ROUTE_IFINDEX); log.debug("storeSnmpCollection: ifindex is: "+ (ifindex < 1 ? "less than 1" : ifindex)+"; IP_ROUTE_IFINDEX: "+IpRouteTableEntry.IP_ROUTE_IFINDEX); if (ifindex == null) { log.warn("store: Not valid ifindex" + ifindex + " Skipping..."); continue; }
if (log.isDebugEnabled()) { log.debug("storeSnmpCollection: parsing routedest/routemask/nexthop: " + routedest + "/" + routemask + "/" + nexthop + " ifindex " + (ifindex < 1 ? "less than 1" : ifindex)); } if (nexthop.isLoopbackAddress()) { if (log.isInfoEnabled()) log.info("storeSnmpCollection: loopbackaddress found skipping."); continue; } if (nexthop.getHostAddress().equals("0.0.0.0")) { if (log.isInfoEnabled()) log.info("storeSnmpCollection: broadcast address found skipping."); continue; } if (nexthop.isMulticastAddress()) { if (log.isInfoEnabled()) log.info("storeSnmpCollection: multicast ddress found skipping."); continue; }
private void storeSnmpCollection(Connection dbConn, Timestamp now) throws SQLException, UnknownHostException { Category log = ThreadCategory.getInstance(getClass()); Iterator ite = null; int nodeid = m_node.getNodeId(); if (m_snmpcoll.hasIpNetToMediaTable()) { ite = m_snmpcoll.getIpNetToMediaTable() .getEntries().iterator(); if (log.isDebugEnabled()) log .debug("store: saving IpNetToMediaTable to atinterface table in DB"); // the AtInterfaces used by LinkableNode where to save info java.util.List<AtInterface> atInterfaces = new java.util.ArrayList<AtInterface>(); while (ite.hasNext()) { IpNetToMediaTableEntry ent = (IpNetToMediaTableEntry) ite .next(); int ifindex = ent .getInt32(IpNetToMediaTableEntry.INTM_INDEX); InetAddress ipaddress = ent .getIPAddress(IpNetToMediaTableEntry.INTM_NETADDR); if (ipaddress.isLoopbackAddress() || ipaddress.getHostAddress().equals("0.0.0.0")) { log.warn("store: invalid ip " + ipaddress.getHostAddress()); continue; } String physAddr = ent .getHexString(IpNetToMediaTableEntry.INTM_PHYSADDR); if (physAddr.equals("000000000000") || physAddr.equalsIgnoreCase("ffffffffffff")) { log.warn("store: invalid mac address " + physAddr + " for ip " + ipaddress.getHostAddress()); continue; } if (log.isDebugEnabled()) log.debug("store: trying save info for ipaddr " + ipaddress.getHostName() + " mac address " + physAddr + " found on ifindex " + ifindex); // get an At interface but without setting mac address AtInterface at = getNodeidIfindexFromIp(dbConn, ipaddress); if (at == null) { log.warn("getNodeidIfindexFromIp: no nodeid found for ipaddress " + ipaddress + "."); sendNewSuspectEvent(ipaddress); continue; } //set the mac address at.setMacAddress(physAddr); // add At Inteface to list of valid interfaces atInterfaces.add(at); // Save in DB DbAtInterfaceEntry atInterfaceEntry = DbAtInterfaceEntry.get( dbConn, at.getNodeId(), ipaddress.getHostAddress()); if (atInterfaceEntry == null) { atInterfaceEntry = DbAtInterfaceEntry.create(at.getNodeId(), ipaddress.getHostAddress()); } // update object atInterfaceEntry.updateAtPhysAddr(physAddr); atInterfaceEntry.updateSourceNodeId(nodeid); atInterfaceEntry.updateIfIndex(ifindex); atInterfaceEntry.updateStatus(DbAtInterfaceEntry.STATUS_ACTIVE); atInterfaceEntry.set_lastpolltime(now); // store object in database atInterfaceEntry.store(dbConn); } // set AtInterfaces in LinkableNode m_node.setAtInterfaces(atInterfaces); } if (m_snmpcoll.hasCdpCacheTable()) { if (log.isDebugEnabled()) log .debug("store: saving CdpCacheTable into SnmpLinkableNode"); java.util.List<CdpInterface> cdpInterfaces = new java.util.ArrayList<CdpInterface>(); ite = m_snmpcoll.getCdpCacheTable() .getEntries().iterator(); while (ite.hasNext()) { CdpCacheTableEntry cdpEntry = (CdpCacheTableEntry) ite.next(); int cdpAddrType = cdpEntry.getInt32(CdpCacheTableEntry.CDP_ADDRESS_TYPE); if (cdpAddrType != 1) continue; String cdptargetipaddress = cdpEntry.getHexString(CdpCacheTableEntry.CDP_ADDRESS); if (log.isDebugEnabled()) log.debug(" cdp ip address octet string is " + cdptargetipaddress); long ipAddr = Long.parseLong(cdptargetipaddress, 16); byte[] bytes = new byte[4]; bytes[3] = (byte) (ipAddr & 0xff); bytes[2] = (byte) ((ipAddr >> 8) & 0xff); bytes[1] = (byte) ((ipAddr >> 16) & 0xff); bytes[0] = (byte) ((ipAddr >> 24) & 0xff); InetAddress cdpTargetIpAddr = InetAddress.getByAddress(bytes); if (log.isDebugEnabled()) log.debug(" cdp ip address after parsing is " + cdpTargetIpAddr.getHostAddress()); int cdpIfIndex = cdpEntry.getInt32(CdpCacheTableEntry.CDP_IFINDEX); if (log.isDebugEnabled()) log.debug(" cdp ifindex is " + cdpIfIndex); String cdpTargetDevicePort = cdpEntry.getDisplayString(CdpCacheTableEntry.CDP_DEVICEPORT); if (log.isDebugEnabled()) log.debug(" cdp Target device port name is " + cdpTargetDevicePort); CdpInterface cdpIface = new CdpInterface(cdpIfIndex); int targetCdpNodeId = getNodeidFromIp(dbConn, cdpTargetIpAddr); cdpIface.setCdpTargetNodeId(targetCdpNodeId); cdpIface.setCdpTargetIpAddr(cdpTargetIpAddr); int cdpTargetIfindex = getIfIndexByName( dbConn, targetCdpNodeId, cdpTargetDevicePort); if (targetCdpNodeId == -1 || cdpTargetIfindex == -1) { log.warn("No nodeid found: cdp interface not added to Linkable Snmp Node"); sendNewSuspectEvent(cdpTargetIpAddr); } else { cdpIface.setCdpTargetIfIndex(cdpTargetIfindex); cdpInterfaces.add(cdpIface); } } m_node.setCdpInterfaces(cdpInterfaces); } if (m_snmpcoll.hasRouteTable()) { java.util.List<RouterInterface> routeInterfaces = new java.util.ArrayList<RouterInterface>(); ite = m_snmpcoll.getIpRouteTable().getEntries() .iterator(); if (log.isDebugEnabled()) log .debug("store: saving ipRouteTable to iprouteinterface table in DB"); while (ite.hasNext()) { IpRouteTableEntry ent = (IpRouteTableEntry) ite.next(); log.debug("storeSnmpCollection: ent="+ent); InetAddress routedest = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_DEST); InetAddress routemask = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_MASK); InetAddress nexthop = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_NXTHOP); Integer ifindex = ent.getInt32(IpRouteTableEntry.IP_ROUTE_IFINDEX); log.debug("storeSnmpCollection: ifindex is: "+ (ifindex < 1 ? "less than 1" : ifindex)+"; IP_ROUTE_IFINDEX: "+IpRouteTableEntry.IP_ROUTE_IFINDEX); if (ifindex == null) { log.warn("store: Not valid ifindex" + ifindex + " Skipping..."); continue; } Integer routemetric1 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC1); Integer routemetric2 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC2); Integer routemetric3 =ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC3); Integer routemetric4 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC4); Integer routemetric5 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC5); Integer routetype = ent.getInt32(IpRouteTableEntry.IP_ROUTE_TYPE); Integer routeproto = ent.getInt32(IpRouteTableEntry.IP_ROUTE_PROTO); /** * TODO remeber that now nexthop 0.0.0.0 is not * parsed, anyway we should analize this case in link discovery * so here is the place where you can have this info saved for * now is discarded. See DiscoveryLink for more details...... * **/ // info used for Discovery Link // the routeiface constructor set nodeid, ifindex, netmask for nexthop address RouterInterface routeIface = getNodeidMaskFromIp(dbConn,nexthop); // if target node is not snmp node always try to save info if (routeIface == null) { routeIface = getNodeFromIp(dbConn, nexthop); } if (routeIface == null) { log.warn("store: No nodeid found for next hop ip" + nexthop + " Skipping ip route interface add to Linkable Snmp Node"); // try to find it in ipinterface sendNewSuspectEvent(nexthop); } else { int snmpiftype = -2; //Okay to autobox here, we checked for null if (ifindex != null && ifindex > 0) snmpiftype = getSnmpIfType(dbConn, nodeid, ifindex); if (snmpiftype == -1) { log.warn("store: interface has wrong or null snmpiftype " + snmpiftype + " . Skip adding to DiscoverLink "); } else { if (log.isDebugEnabled()) log.debug("store: interface has snmpiftype " + snmpiftype + " . Adding to DiscoverLink "); routeIface.setRouteDest(routedest); routeIface.setRoutemask(routemask); routeIface.setSnmpiftype(snmpiftype); routeIface.setIfindex(ifindex); routeIface.setMetric(routemetric1); routeIface.setNextHop(nexthop); routeInterfaces.add(routeIface); } } // save info to DB DbIpRouteInterfaceEntry iprouteInterfaceEntry = DbIpRouteInterfaceEntry .get(dbConn, nodeid, routedest.getHostAddress()); if (iprouteInterfaceEntry == null) { // Create a new entry iprouteInterfaceEntry = DbIpRouteInterfaceEntry.create( m_node.getNodeId(), routedest.getHostAddress()); } // update object iprouteInterfaceEntry.updateRouteMask(routemask.getHostAddress()); iprouteInterfaceEntry.updateRouteNextHop(nexthop.getHostAddress()); iprouteInterfaceEntry.updateIfIndex(ifindex); //okay to autobox these since were checking for null if (routemetric1 != null) iprouteInterfaceEntry.updateRouteMetric1(routemetric1); if (routemetric2 != null) iprouteInterfaceEntry.updateRouteMetric2(routemetric2); if (routemetric3 != null) iprouteInterfaceEntry.updateRouteMetric3(routemetric3); if (routemetric4 != null) iprouteInterfaceEntry.updateRouteMetric4(routemetric4); if (routemetric5 != null) iprouteInterfaceEntry.updateRouteMetric5(routemetric5); if (routetype != null) iprouteInterfaceEntry.updateRouteType(routetype); if (routeproto != null) iprouteInterfaceEntry.updateRouteProto(routeproto); iprouteInterfaceEntry .updateStatus(DbAtInterfaceEntry.STATUS_ACTIVE); iprouteInterfaceEntry.set_lastpolltime(now); // store object in database iprouteInterfaceEntry.store(dbConn); } m_node.setRouteInterfaces(routeInterfaces); } // STARTS loop on vlans if (m_snmpcoll.hasVlanTable()) { if (log.isDebugEnabled()) log .debug("store: saving SnmpVlanCollection in DB"); ite = m_snmpcoll.getSnmpVlanCollections() .iterator(); while (ite.hasNext()) { SnmpVlanCollection snmpVlanColl = (SnmpVlanCollection) ite .next(); String vlanindex = snmpVlanColl.getVlanIndex(); int vlan = Integer.parseInt(vlanindex); String vlanname = snmpVlanColl.getVlanName(); if (log.isDebugEnabled()) log .debug("store: parsing VLAN " + vlanindex + " VLAN_NAME " + vlanname); if (snmpVlanColl.hasDot1dBase()) { if (log.isDebugEnabled()) log .debug("store: saving Dot1dBaseGroup in stpnode table"); Dot1dBaseGroup dod1db = (Dot1dBaseGroup) snmpVlanColl.getDot1dBase(); String baseBridgeAddress = dod1db.getBridgeAddress(); int basenumports = dod1db.getNumberOfPorts(); int bridgetype = dod1db.getBridgeType(); if (baseBridgeAddress == "000000000000") { log.warn("store: base bridge address " + baseBridgeAddress + " is invalid for ipaddress " ); } else { m_node.addBridgeIdentifier(baseBridgeAddress,vlanindex); DbStpNodeEntry dbStpNodeEntry = DbStpNodeEntry.get(dbConn, m_node.getNodeId(), vlan); if (dbStpNodeEntry == null) { // Create a new entry dbStpNodeEntry = DbStpNodeEntry.create(m_node .getNodeId(), vlan); } // update object dbStpNodeEntry.updateBaseBridgeAddress(baseBridgeAddress); dbStpNodeEntry.updateBaseNumPorts(basenumports); dbStpNodeEntry.updateBaseType(bridgetype); dbStpNodeEntry.updateBaseVlanName(vlanname); if (snmpVlanColl.hasDot1dStp()) { if (log.isDebugEnabled()) log .debug("store: adding Dot1dStpGroup in stpnode table"); Dot1dStpGroup dod1stp = (Dot1dStpGroup) snmpVlanColl .getDot1dStp(); int protospec = dod1stp.getStpProtocolSpecification(); int stppriority = dod1stp.getStpPriority(); String stpDesignatedRoot = dod1stp.getStpDesignatedRoot(); int stprootcost = dod1stp.getStpRootCost(); int stprootport = dod1stp.getStpRootPort(); if (stpDesignatedRoot != "0000000000000000") { m_node.setVlanStpRoot(vlanindex,stpDesignatedRoot); } dbStpNodeEntry.updateStpProtocolSpecification(protospec); dbStpNodeEntry.updateStpPriority(stppriority); dbStpNodeEntry.updateStpDesignatedRoot(stpDesignatedRoot); dbStpNodeEntry.updateStpRootCost(stprootcost); dbStpNodeEntry.updateStpRootPort(stprootport); } // store object in database dbStpNodeEntry.updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpNodeEntry.set_lastpolltime(now); dbStpNodeEntry.store(dbConn); if (snmpVlanColl.hasDot1dBasePortTable()) { Iterator sub_ite = snmpVlanColl.getDot1dBasePortTable() .getEntries().iterator(); if (log.isDebugEnabled()) log .debug("store: saving Dot1dBasePortTable in stpinterface table"); while (sub_ite.hasNext()) { Dot1dBasePortTableEntry dot1dbaseptentry = (Dot1dBasePortTableEntry) sub_ite .next(); Integer baseport = dot1dbaseptentry.getInt32(Dot1dBasePortTableEntry.BASE_PORT); Integer ifindex = dot1dbaseptentry.getInt32(Dot1dBasePortTableEntry.BASE_IFINDEX); m_node.setIfIndexBridgePort(ifindex,baseport); DbStpInterfaceEntry dbStpIntEntry = DbStpInterfaceEntry .get(dbConn, m_node.getNodeId(), baseport, vlan); if (dbStpIntEntry == null) { // Create a new entry dbStpIntEntry = DbStpInterfaceEntry.create( m_node.getNodeId(), baseport, vlan); } dbStpIntEntry.updateIfIndex(ifindex); dbStpIntEntry .updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpIntEntry.set_lastpolltime(now); dbStpIntEntry.store(dbConn); } } if (snmpVlanColl.hasDot1dStpPortTable()) { if (log.isDebugEnabled()) log .debug(" store: adding Dot1dStpPortTable in stpinterface table"); Iterator sub_ite = snmpVlanColl.getDot1dStpPortTable() .getEntries().iterator(); while (sub_ite.hasNext()) { Dot1dStpPortTableEntry dot1dstpptentry = (Dot1dStpPortTableEntry) sub_ite .next(); int stpport = dot1dstpptentry.getInt32(Dot1dStpPortTableEntry.STP_PORT); DbStpInterfaceEntry dbStpIntEntry = DbStpInterfaceEntry .get(dbConn, m_node.getNodeId(), stpport, vlan); if (dbStpIntEntry == null) { // Cannot create the object becouse must exists the dot1dbase // object!!!!! log .warn("store StpInterface: when storing STP info" + " for bridge node with nodeid " + m_node.getNodeId() + " bridgeport number " + stpport + " and vlan index " + vlanindex + " info not found in database, ERROR skipping....."); } else { int stpportstate = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_STATE); int stpportpathcost = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_PATH_COST); String stpPortDesignatedBridge = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_BRIDGE); String stpPortDesignatedRoot = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_ROOT); int stpportdesignatedcost = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_COST); String stpPortDesignatedPort = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_PORT); if (stpPortDesignatedBridge.equals("0000000000000000")) { log.warn("storeSnmpCollection: designated bridge is invalid not adding to discoveryLink"); } else if (stpPortDesignatedPort.equals("0000")) { log.warn("storeSnmpCollection: designated port is invalid not adding to discoveryLink"); } else { BridgeStpInterface stpIface = new BridgeStpInterface(stpport,vlanindex); stpIface.setStpPortDesignatedBridge(stpPortDesignatedBridge); stpIface.setStpPortDesignatedPort(stpPortDesignatedPort); m_node.addStpInterface(stpIface); } dbStpIntEntry.updateStpPortState(stpportstate); dbStpIntEntry.updateStpPortPathCost(stpportpathcost); dbStpIntEntry.updateStpportDesignatedBridge(stpPortDesignatedBridge); dbStpIntEntry.updateStpportDesignatedRoot(stpPortDesignatedRoot); dbStpIntEntry.updateStpPortDesignatedCost(stpportdesignatedcost); dbStpIntEntry.updateStpportDesignatedPort(stpPortDesignatedPort); dbStpIntEntry.updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpIntEntry.set_lastpolltime(now); dbStpIntEntry.store(dbConn); } } } if (snmpVlanColl.hasDot1dTpFdbTable()) { if (log.isDebugEnabled()) log .debug("store: parsing Dot1dTpFdbTable"); Iterator subite = snmpVlanColl.getDot1dFdbTable() .getEntries().iterator(); while (subite.hasNext()) { Dot1dTpFdbTableEntry dot1dfdbentry = (Dot1dTpFdbTableEntry) subite .next(); String curMacAddress = dot1dfdbentry .getHexString(Dot1dTpFdbTableEntry.FDB_ADDRESS); int fdbport = dot1dfdbentry.getInt32(Dot1dTpFdbTableEntry.FDB_PORT); if (fdbport == 0) { if (log.isDebugEnabled()) log.debug("populateBridge: macaddress " + curMacAddress + " learned on invalid port " + fdbport + " . Skipping"); continue; } int curfdbstatus = dot1dfdbentry.getInt32(Dot1dTpFdbTableEntry.FDB_STATUS); if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_LEARNED) { m_node.addMacAddress(fdbport, curMacAddress, vlanindex); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found learned mac address " + curMacAddress + " on bridge port " + fdbport + " for VLAN " + snmpVlanColl.getVlanIndex()); } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_SELF) { m_node.addBridgeIdentifier(curMacAddress); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found bridge identifier " + curMacAddress + " for VLAN " + snmpVlanColl.getVlanIndex() + " and bridge port " + fdbport); } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_INVALID) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has INVALID status on port " + fdbport + " . Skipping"); continue; } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_MGMT) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has MGMT status on port " + fdbport + " . Skipping"); continue; } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_OTHER) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has OTHER status on port " + fdbport + " . Skipping"); continue; } } } //now adding bridge identifier mac addresses of switch from snmpinterface setBridgeIdentifierFromSnmpInterface(dbConn); } } } } update(dbConn, now); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/55eabd4318d481843d78b0058af03ad5c7f202b4/DbEventWriter.java/clean/opennms-services/src/main/java/org/opennms/netmgt/linkd/DbEventWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1707, 10461, 1291, 2532, 12, 1952, 30795, 16, 8159, 2037, 13, 1216, 6483, 16, 1082, 202, 4874, 29776, 288, 202, 202, 4457, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 202, 202, 3198, 518, 73, 273, 446, 31, 202, 202, 474, 756, 350, 273, 312, 67, 2159, 18, 588, 15883, 5621, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 5332, 5273, 7308, 774, 5419, 1388, 10756, 288, 1082, 202, 1137, 273, 312, 67, 26527, 12910, 18, 588, 5273, 7308, 774, 5419, 1388, 1435, 6862, 202, 18, 588, 5400, 7675, 9838, 5621, 1082, 202, 430, 261, 1330, 18, 291, 2829, 1526, 10756, 9506, 202, 1330, 25083, 202, 18, 4148, 2932, 2233, 30, 12392, 14709, 7308, 774, 5419, 1388, 358, 622, 5831, 1014, 316, 2383, 8863, 1082, 202, 759, 326, 2380, 10273, 1399, 635, 4048, 429, 907, 1625, 358, 1923, 1123, 1082, 202, 6290, 18, 1367, 18, 682, 32, 861, 1358, 34, 622, 10273, 273, 394, 2252, 18, 1367, 18, 19558, 32, 861, 1358, 34, 5621, 1082, 202, 17523, 261, 1137, 18, 5332, 2134, 10756, 288, 9506, 202, 5273, 7308, 774, 5419, 1388, 1622, 3281, 273, 261, 5273, 7308, 774, 5419, 1388, 1622, 13, 518, 73, 25083, 202, 18, 4285, 5621, 6862, 9506, 202, 474, 309, 1615, 273, 3281, 25083, 202, 18, 588, 1702, 1578, 12, 5273, 7308, 774, 5419, 1388, 1622, 18, 3217, 49, 67, 9199, 1769, 6862, 9506, 202, 382, 278, 1887, 24964, 273, 3281, 25083, 202, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1707, 10461, 1291, 2532, 12, 1952, 30795, 16, 8159, 2037, 13, 1216, 6483, 16, 1082, 202, 4874, 29776, 288, 202, 202, 4457, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 202, 202, 3198, 518, 73, 273, 446, 31, 202, 202, 474, 756, 350, 273, 312, 67, 2159, 18, 588, 15883, 5621, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 5332, 5273, 7308, 774, 5419, 1388, 10756, 288, 1082, 202, 1137, 273, 312, 67, 26527, 12910, 18, 588, 5273, 7308, 774, 5419, 1388, 1435, 6862, 202, 18, 588, 5400, 7675, 9838, 5621, 1082, 202, 430, 261, 1330, 18, 291, 2829, 1526, 10756, 9506, 202, 1330, 25083, 202, 18, 4148, 2932, 2233, 30, 2 ]
null, null);
null, null, true);
public void handleEvent(Event evt) { EventTarget et = evt.getTarget(); if (et instanceof CSSStyleSheetNode) { styleSheetNodes = null; // Invalidate all the CSSStylableElements in the document. invalidateProperties(document.getDocumentElement(), null, null); return; } if (et instanceof CSSStylableElement) { // Invalidate the CSSStylableElement siblings, to // correctly match the adjacent selectors and // first-child pseudo-class. for (Node n = ((Node)evt.getTarget()).getNextSibling(); n != null; n = n.getNextSibling()) { invalidateProperties(n, null, null); } } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/885608e4d51bd404d0e1cd5932465405cc337e42/CSSEngine.java/clean/sources/org/apache/batik/css/engine/CSSEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1640, 1133, 12, 1133, 6324, 13, 288, 5411, 2587, 2326, 3393, 273, 6324, 18, 588, 2326, 5621, 5411, 309, 261, 278, 1276, 6765, 2885, 8229, 907, 13, 288, 7734, 2154, 8229, 3205, 273, 446, 31, 7734, 368, 1962, 340, 777, 326, 6765, 24273, 80, 429, 3471, 316, 326, 1668, 18, 7734, 11587, 2297, 12, 5457, 18, 588, 2519, 1046, 9334, 4766, 1377, 446, 16, 446, 16, 638, 1769, 7734, 327, 31, 5411, 289, 5411, 309, 261, 278, 1276, 6765, 24273, 80, 429, 1046, 13, 288, 7734, 368, 1962, 340, 326, 6765, 24273, 80, 429, 1046, 14692, 16, 358, 7734, 368, 8783, 845, 326, 16335, 11424, 471, 7734, 368, 1122, 17, 3624, 12454, 17, 1106, 18, 7734, 364, 261, 907, 290, 273, 14015, 907, 13, 73, 11734, 18, 588, 2326, 1435, 2934, 588, 2134, 10291, 5621, 5397, 290, 480, 446, 31, 5397, 290, 273, 290, 18, 588, 2134, 10291, 10756, 288, 10792, 11587, 2297, 12, 82, 16, 446, 16, 446, 16, 638, 1769, 7734, 289, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1640, 1133, 12, 1133, 6324, 13, 288, 5411, 2587, 2326, 3393, 273, 6324, 18, 588, 2326, 5621, 5411, 309, 261, 278, 1276, 6765, 2885, 8229, 907, 13, 288, 7734, 2154, 8229, 3205, 273, 446, 31, 7734, 368, 1962, 340, 777, 326, 6765, 24273, 80, 429, 3471, 316, 326, 1668, 18, 7734, 11587, 2297, 12, 5457, 18, 588, 2519, 1046, 9334, 4766, 1377, 446, 16, 446, 16, 638, 1769, 7734, 327, 31, 5411, 289, 5411, 309, 261, 278, 1276, 6765, 24273, 80, 429, 1046, 13, 288, 7734, 368, 1962, 340, 326, 6765, 24273, 80, 429, 1046, 14692, 16, 358, 7734, 368, 8783, 845, 326, 16335, 11424, 471, 7734, 368, 1122, 17, 3624, 12454, 17, 1106, 18, 7734, 2 ]
log.error(msg, ise);
log.debug(msg);
public ItemId[] listZombieChildren(NodeId id) throws ItemNotFoundException, RepositoryException { // FIXME messy code NodeState parentState; try { parentState = (NodeState) getItemState(id, true); } catch (NoSuchItemStateException nsise) { String msg = "failed to retrieve state of parent node " + id; log.error(msg, nsise); throw new ItemNotFoundException(msg, nsise); } catch (ItemStateException ise) { String msg = "failed to retrieve state of parent node " + id; log.error(msg, ise); throw new RepositoryException(msg, ise); } ArrayList list = new ArrayList(); Iterator iter = parentState.getRemovedPropertyEntries().iterator(); while (iter.hasNext()) { // removed properties NodeState.PropertyEntry pe = (NodeState.PropertyEntry) iter.next(); list.add(new PropertyId(id.getUUID(), pe.getName())); } iter = parentState.getRemovedChildNodeEntries().iterator(); while (iter.hasNext()) { // removed child nodes NodeState.ChildNodeEntry cne = (NodeState.ChildNodeEntry) iter.next(); list.add(new NodeId(cne.getUUID())); } return (ItemId[]) list.toArray(new ItemId[list.size()]); }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/3b7f71d681f98b81e7e99a2ad0c83e71116624e7/HierarchyManagerImpl.java/clean/src/java/org/apache/jackrabbit/core/HierarchyManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4342, 548, 8526, 666, 62, 16659, 1385, 4212, 12, 15883, 612, 13, 5411, 1216, 4342, 3990, 16, 13367, 288, 3639, 368, 9852, 12755, 93, 981, 3639, 2029, 1119, 982, 1119, 31, 3639, 775, 288, 5411, 982, 1119, 273, 261, 907, 1119, 13, 8143, 1119, 12, 350, 16, 638, 1769, 3639, 289, 1044, 261, 28341, 1180, 5060, 3153, 784, 13, 288, 5411, 514, 1234, 273, 315, 7307, 358, 4614, 919, 434, 982, 756, 315, 397, 612, 31, 5411, 613, 18, 1636, 12, 3576, 16, 3153, 784, 1769, 5411, 604, 394, 4342, 3990, 12, 3576, 16, 3153, 784, 1769, 3639, 289, 1044, 261, 1180, 5060, 31248, 13, 288, 5411, 514, 1234, 273, 315, 7307, 358, 4614, 919, 434, 982, 756, 315, 397, 612, 31, 5411, 613, 18, 4148, 12, 3576, 1769, 5411, 604, 394, 13367, 12, 3576, 16, 31248, 1769, 3639, 289, 3639, 2407, 666, 273, 394, 2407, 5621, 3639, 4498, 1400, 273, 982, 1119, 18, 588, 10026, 1396, 5400, 7675, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 5411, 368, 3723, 1790, 5411, 2029, 1119, 18, 1396, 1622, 2804, 273, 261, 907, 1119, 18, 1396, 1622, 13, 1400, 18, 4285, 5621, 5411, 666, 18, 1289, 12, 2704, 4276, 548, 12, 350, 18, 588, 5562, 9334, 2804, 18, 17994, 1435, 10019, 3639, 289, 3639, 1400, 273, 982, 1119, 18, 588, 10026, 25550, 5400, 7675, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 5411, 368, 3723, 1151, 2199, 5411, 2029, 1119, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4342, 548, 8526, 666, 62, 16659, 1385, 4212, 12, 15883, 612, 13, 5411, 1216, 4342, 3990, 16, 13367, 288, 3639, 368, 9852, 12755, 93, 981, 3639, 2029, 1119, 982, 1119, 31, 3639, 775, 288, 5411, 982, 1119, 273, 261, 907, 1119, 13, 8143, 1119, 12, 350, 16, 638, 1769, 3639, 289, 1044, 261, 28341, 1180, 5060, 3153, 784, 13, 288, 5411, 514, 1234, 273, 315, 7307, 358, 4614, 919, 434, 982, 756, 315, 397, 612, 31, 5411, 613, 18, 1636, 12, 3576, 16, 3153, 784, 1769, 5411, 604, 394, 4342, 3990, 12, 3576, 16, 3153, 784, 1769, 3639, 289, 1044, 261, 1180, 5060, 31248, 13, 288, 5411, 514, 1234, 273, 315, 7307, 358, 4614, 919, 434, 982, 2 ]
Context cx = Context.enter(); errorReporter = new ToolErrorReporter(false, err); cx.setErrorReporter(errorReporter); global = new Global(); args = processOptions(cx, args); Object[] array = args; if (args.length > 0) { int length = args.length - 1; array = new Object[length]; System.arraycopy(args, 1, array, 0, length); } Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); Environment.defineClass(global); Environment environment = new Environment(global); global.defineProperty("environment", environment, ScriptableObject.DONTENUM); global.history = (NativeArray) cx.newArray(global, 0); global.defineProperty("history", global.history, ScriptableObject.DONTENUM); /* TODO: enable debugger if (global.debug) { global.debug_dm = new DebugManager(); global.debug_stm = new SourceTextManagerImpl(); global.debug_dm.setSourceTextManager(global.debug_stm); cx.setSourceTextManager(global.debug_stm); global.debug_dm.createdContext(cx); if (global.showDebuggerUI) { out.println("Launching JSDebugger..."); try { Class clazz = Class.forName( "org.mozilla.jsdebugging.ifcui.launcher.rhino.LaunchNetscapeJavaScriptDebugger"); ILaunchableDebugger debugger = (ILaunchableDebugger) clazz.newInstance(); debugger.launch(global.debug_dm, global.debug_stm, false); } catch (Exception e) { out.println(e); out.println("Failed to launch the JSDebugger"); } } out.println("Debug level set to "+cx.getDebugLevel()); } */ if (global.processStdin) processSource(cx, args.length == 0 ? null : args[0]); cx.exit(); System.exit(global.exitCode);
int result = exec(args); System.exit(result);
public static void main(String args[]) { Context cx = Context.enter(); errorReporter = new ToolErrorReporter(false, err); cx.setErrorReporter(errorReporter); // Create the "global" object where top-level variables will live. global = new Global(); args = processOptions(cx, args); // Set up "arguments" in the global scope to contain the command // line arguments after the name of the script to execute Object[] array = args; if (args.length > 0) { int length = args.length - 1; array = new Object[length]; System.arraycopy(args, 1, array, 0, length); } Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); // Set up "environment" in the global scope to provide access to the // System environment variables. Environment.defineClass(global); Environment environment = new Environment(global); global.defineProperty("environment", environment, ScriptableObject.DONTENUM); global.history = (NativeArray) cx.newArray(global, 0); global.defineProperty("history", global.history, ScriptableObject.DONTENUM); /* TODO: enable debugger if (global.debug) { global.debug_dm = new DebugManager(); global.debug_stm = new SourceTextManagerImpl(); global.debug_dm.setSourceTextManager(global.debug_stm); cx.setSourceTextManager(global.debug_stm); global.debug_dm.createdContext(cx); if (global.showDebuggerUI) { out.println("Launching JSDebugger..."); try { Class clazz = Class.forName( "org.mozilla.jsdebugging.ifcui.launcher.rhino.LaunchNetscapeJavaScriptDebugger"); ILaunchableDebugger debugger = (ILaunchableDebugger) clazz.newInstance(); debugger.launch(global.debug_dm, global.debug_stm, false); } catch (Exception e) { // eat it... out.println(e); out.println("Failed to launch the JSDebugger"); } } out.println("Debug level set to "+cx.getDebugLevel()); } */ if (global.processStdin) processSource(cx, args.length == 0 ? null : args[0]); cx.exit(); System.exit(global.exitCode); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/913e66ba3cba216a4eaf9778710a58738f9afd42/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 393, 1769, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 368, 1788, 326, 315, 6347, 6, 733, 1625, 1760, 17, 2815, 3152, 903, 8429, 18, 3639, 2552, 273, 394, 8510, 5621, 3639, 833, 273, 1207, 1320, 12, 71, 92, 16, 833, 1769, 3639, 368, 1000, 731, 315, 7099, 6, 316, 326, 2552, 2146, 358, 912, 326, 1296, 3639, 368, 980, 1775, 1839, 326, 508, 434, 326, 2728, 358, 1836, 3639, 1033, 8526, 526, 273, 833, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 509, 769, 273, 833, 18, 2469, 300, 404, 31, 5411, 526, 273, 394, 1033, 63, 2469, 15533, 5411, 2332, 18, 1126, 3530, 12, 1968, 16, 404, 16, 526, 16, 374, 16, 769, 1769, 3639, 289, 3639, 22780, 833, 2675, 273, 9494, 18, 2704, 1076, 12, 6347, 16, 526, 1769, 3639, 2552, 18, 11255, 1396, 2932, 7099, 3113, 833, 2675, 16, 17311, 22780, 921, 18, 40, 10079, 16509, 1769, 7734, 368, 1000, 731, 315, 10274, 6, 316, 326, 2552, 2146, 358, 5615, 2006, 358, 326, 3639, 368, 2332, 3330, 3152, 18, 3639, 7518, 18, 11255, 797, 12, 6347, 1769, 3639, 7518, 3330, 273, 394, 7518, 12, 6347, 1769, 3639, 2552, 18, 11255, 1396, 2932, 10274, 3113, 3330, 16, 17311, 22780, 921, 18, 40, 10079, 16509, 1769, 7734, 2552, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 393, 1769, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 368, 1788, 326, 315, 6347, 6, 733, 1625, 1760, 17, 2815, 3152, 903, 8429, 18, 3639, 2552, 273, 394, 8510, 5621, 3639, 833, 273, 1207, 1320, 12, 71, 92, 16, 833, 1769, 3639, 368, 1000, 731, 315, 7099, 6, 316, 326, 2552, 2146, 358, 912, 326, 1296, 3639, 368, 980, 1775, 1839, 326, 508, 434, 326, 2728, 358, 1836, 3639, 1033, 8526, 526, 273, 833, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 2 ]
selectionManager.register(mv);
selectionManager.register(Main.map.mapView);
@Override public void enterMode() { super.enterMode(); selectionManager.register(mv); }
2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/65d8ba1e1c7192a02b1c996304587a81a85155f1/SelectionAction.java/clean/src/org/openstreetmap/josm/actions/mapmode/SelectionAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 36, 6618, 1071, 918, 6103, 2309, 1435, 288, 202, 202, 9565, 18, 2328, 2309, 5621, 202, 202, 10705, 1318, 18, 4861, 12, 17509, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 36, 6618, 1071, 918, 6103, 2309, 1435, 288, 202, 202, 9565, 18, 2328, 2309, 5621, 202, 202, 10705, 1318, 18, 4861, 12, 17509, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
endDate = date;
endDate = (date != null) ? (java.util.Date) date.clone() : null;
public void setEndDate( java.util.Date date ) { endDate = date; modified(); }
50360 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50360/cb2f0bd71479ba42dd02fe37aff6b74fb6ddd347/DateRangeQuery.java/clean/src/main/java/org/photovault/imginfo/DateRangeQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19743, 1626, 12, 2252, 18, 1367, 18, 1626, 1509, 262, 288, 202, 409, 1626, 273, 1509, 31, 202, 7342, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19743, 1626, 12, 2252, 18, 1367, 18, 1626, 1509, 262, 288, 202, 409, 1626, 273, 1509, 31, 202, 7342, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public OrdType typeToFIXType(OrderType type) { return (OrdType)typeMap.getFirst(type);
public OrdType typeToFIXType(OrderType type) { return (OrdType) typeMap.getFirst(type);
public OrdType typeToFIXType(OrderType type) { return (OrdType)typeMap.getFirst(type); }
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/0bd1e934eb1e5bceb1fadcbbc9c4e690607da873/BanzaiApplication.java/buggy/examples/quickfix/examples/banzai/BanzaiApplication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 2965, 72, 559, 618, 774, 4563, 559, 12, 2448, 559, 618, 13, 288, 3639, 327, 261, 15383, 559, 13, 723, 863, 18, 588, 3759, 12, 723, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 2965, 72, 559, 618, 774, 4563, 559, 12, 2448, 559, 618, 13, 288, 3639, 327, 261, 15383, 559, 13, 723, 863, 18, 588, 3759, 12, 723, 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 ]
if (ipaddress.isLoopbackAddress() || ipaddress.isMulticastAddress() || ipaddress.getHostAddress().equals("0.0.0.0")) return; if (m_snmpcoll.isAutoDiscoveryEnabled())
if (m_snmpcoll.isAutoDiscoveryEnabled()) { Category log = ThreadCategory.getInstance(getClass()); if (log.isDebugEnabled()) log.debug("sendNewSuspectEvent: found ip address to send :" + ipaddress);
private void sendNewSuspectEvent(InetAddress ipaddress) { if (ipaddress.isLoopbackAddress() || ipaddress.isMulticastAddress() || ipaddress.getHostAddress().equals("0.0.0.0")) return; if (m_snmpcoll.isAutoDiscoveryEnabled()) Linkd.getInstance().sendNewSuspectEvent(ipaddress.getHostAddress(), m_snmpcoll.getSnmpIpPrimary().getHostAddress()); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/dcc8041babbe6b505a8156ae30c22e8e6da3ab29/DbEventWriter.java/buggy/opennms-services/src/main/java/org/opennms/netmgt/linkd/DbEventWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1366, 1908, 55, 407, 1181, 1133, 12, 382, 278, 1887, 24964, 13, 288, 202, 202, 430, 261, 625, 2867, 18, 291, 6452, 823, 1887, 1435, 747, 24964, 18, 291, 5049, 12544, 1887, 1435, 747, 24964, 18, 588, 2594, 1887, 7675, 14963, 2932, 20, 18, 20, 18, 20, 18, 20, 6, 3719, 327, 31, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 291, 4965, 11918, 1526, 10756, 1082, 202, 2098, 72, 18, 588, 1442, 7675, 4661, 1908, 55, 407, 1181, 1133, 12, 625, 2867, 18, 588, 2594, 1887, 9334, 312, 67, 26527, 12910, 18, 588, 10461, 1291, 5273, 6793, 7675, 588, 2594, 1887, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1366, 1908, 55, 407, 1181, 1133, 12, 382, 278, 1887, 24964, 13, 288, 202, 202, 430, 261, 625, 2867, 18, 291, 6452, 823, 1887, 1435, 747, 24964, 18, 291, 5049, 12544, 1887, 1435, 747, 24964, 18, 588, 2594, 1887, 7675, 14963, 2932, 20, 18, 20, 18, 20, 18, 20, 6, 3719, 327, 31, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 291, 4965, 11918, 1526, 10756, 1082, 202, 2098, 72, 18, 588, 1442, 7675, 4661, 1908, 55, 407, 1181, 1133, 12, 625, 2867, 18, 588, 2594, 1887, 9334, 312, 67, 26527, 12910, 18, 588, 10461, 1291, 5273, 6793, 7675, 588, 2594, 1887, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
progressBar.addChild("div", new String[] { "class", "title" }, new String[] { "progress_fraction_not_finalized", "not finalized" }, (int) ((fetched / (double) min) * 100) + "%");
progressBar.addChild("div", new String[] { "class", "title" }, new String[] { "progress_fraction_not_finalized", "not finalized" }, nf.format((int) ((fetched / (double) min) * 1000) / 10.0)+ "%");
private HTMLNode createProgressCell(boolean started, int fetched, int failed, int fatallyFailed, int min, int total, boolean finalized) { HTMLNode progressCell = new HTMLNode("td", "class", "request-progress"); if (!started) { progressCell.addChild("#", "STARTING"); return progressCell; } //double frac = p.getSuccessFraction(); if (!node.getToadletContainer().isAdvancedDarknetEnabled()) { total = min; } if ((fetched < 0) || (total <= 0)) { progressCell.addChild("span", "class", "progress_fraction_unknown", "unknown"); } else { int fetchedPercent = (int) (fetched / (double) total * 100); int failedPercent = (int) (failed / (double) total * 100); int fatallyFailedPercent = (int) (fatallyFailed / (double) total * 100); int minPercent = (int) (min / (double) total * 100); HTMLNode progressBar = progressCell.addChild("div", "class", "progressbar"); progressBar.addChild("div", new String[] { "class", "style" }, new String[] { "progressbar-done", "width: " + fetchedPercent + "%;" }); if (failed > 0) progressBar.addChild("div", new String[] { "class", "style" }, new String[] { "progressbar-failed", "width: " + failedPercent + "%;" }); if (fatallyFailed > 0) progressBar.addChild("div", new String[] { "class", "style" }, new String[] { "progressbar-failed2", "width: " + fatallyFailedPercent + "%;" }); if ((fetched + failed + fatallyFailed) < min) progressBar.addChild("div", new String[] { "class", "style" }, new String[] { "progressbar-min", "width: " + (minPercent - fetchedPercent) + "%;" }); NumberFormat nf = NumberFormat.getInstance(); nf.setMaximumFractionDigits(1); if (finalized) { progressBar.addChild("div", new String[] { "class", "title" }, new String[] { "progress_fraction_finalized", "finalized" }, (int) ((fetched / (double) min) * 100) + "%"); } else { progressBar.addChild("div", new String[] { "class", "title" }, new String[] { "progress_fraction_not_finalized", "not finalized" }, (int) ((fetched / (double) min) * 100) + "%"); } } return progressCell; }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/d378c04dc945ac96c7dcce34af60486fff175e31/QueueToadlet.java/clean/src/freenet/clients/http/QueueToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3982, 907, 752, 5491, 4020, 12, 6494, 5746, 16, 509, 12807, 16, 509, 2535, 16, 509, 284, 270, 1230, 2925, 16, 509, 1131, 16, 509, 2078, 16, 1250, 727, 1235, 13, 288, 202, 202, 4870, 907, 4007, 4020, 273, 394, 3982, 907, 2932, 4465, 3113, 315, 1106, 3113, 315, 2293, 17, 8298, 8863, 202, 202, 430, 16051, 14561, 13, 288, 1082, 202, 8298, 4020, 18, 1289, 1763, 2932, 7, 3113, 315, 7570, 1360, 8863, 1082, 202, 2463, 4007, 4020, 31, 202, 202, 97, 9506, 202, 759, 9056, 12445, 273, 293, 18, 588, 4510, 13724, 5621, 202, 202, 430, 16051, 2159, 18, 588, 774, 361, 1810, 2170, 7675, 291, 23618, 40, 1313, 2758, 1526, 10756, 288, 1082, 202, 4963, 273, 1131, 31, 202, 202, 97, 9506, 202, 430, 14015, 5754, 329, 411, 374, 13, 747, 261, 4963, 1648, 374, 3719, 288, 1082, 202, 8298, 4020, 18, 1289, 1763, 2932, 3969, 3113, 315, 1106, 3113, 315, 8298, 67, 16744, 67, 8172, 3113, 315, 8172, 8863, 202, 202, 97, 469, 288, 1082, 202, 474, 12807, 8410, 273, 261, 474, 13, 261, 5754, 329, 342, 261, 9056, 13, 2078, 380, 2130, 1769, 1082, 202, 474, 2535, 8410, 273, 261, 474, 13, 261, 7307, 342, 261, 9056, 13, 2078, 380, 2130, 1769, 1082, 202, 474, 284, 270, 1230, 2925, 8410, 273, 261, 474, 13, 261, 74, 270, 1230, 2925, 342, 261, 9056, 13, 2078, 380, 2130, 1769, 1082, 202, 474, 1131, 8410, 273, 261, 474, 13, 261, 1154, 342, 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, 3982, 907, 752, 5491, 4020, 12, 6494, 5746, 16, 509, 12807, 16, 509, 2535, 16, 509, 284, 270, 1230, 2925, 16, 509, 1131, 16, 509, 2078, 16, 1250, 727, 1235, 13, 288, 202, 202, 4870, 907, 4007, 4020, 273, 394, 3982, 907, 2932, 4465, 3113, 315, 1106, 3113, 315, 2293, 17, 8298, 8863, 202, 202, 430, 16051, 14561, 13, 288, 1082, 202, 8298, 4020, 18, 1289, 1763, 2932, 7, 3113, 315, 7570, 1360, 8863, 1082, 202, 2463, 4007, 4020, 31, 202, 202, 97, 9506, 202, 759, 9056, 12445, 273, 293, 18, 588, 4510, 13724, 5621, 202, 202, 430, 16051, 2159, 18, 588, 774, 361, 1810, 2170, 7675, 291, 23618, 40, 1313, 2758, 1526, 10756, 288, 1082, 2 ]
System.out.println("changed");
public void dropActionChanged(DragSourceDragEvent e) { System.out.println("changed"); }
3248 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3248/42cd685038c8d3728b9fcadb0f95205b619a6a6a/mainTable.java/clean/gui/main/mainTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3640, 1803, 5033, 12, 11728, 1830, 11728, 1133, 425, 13, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 6703, 8863, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3640, 1803, 5033, 12, 11728, 1830, 11728, 1133, 425, 13, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 6703, 8863, 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 ]
public void update() { m_maxMemory = Runtime.getRuntime().maxMemory() / 1048576; m_totalMemory = Runtime.getRuntime().totalMemory() / 1048576; m_usedMemory = (Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) / 1048576; m_freeMemory = m_maxMemory - m_usedMemory; m_usage = m_usedMemory * 100 / m_maxMemory; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/f12328204dd4cd4c2d95d0595fb352cd0e93c475/CmsMemoryStatus.java/buggy/src/org/opencms/monitor/CmsMemoryStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1435, 288, 7734, 312, 67, 1896, 6031, 273, 2509, 18, 588, 5576, 7675, 1896, 6031, 1435, 342, 21856, 7140, 6669, 31, 3639, 312, 67, 4963, 6031, 273, 2509, 18, 588, 5576, 7675, 4963, 6031, 1435, 342, 21856, 7140, 6669, 31, 3639, 312, 67, 3668, 6031, 273, 261, 5576, 18, 588, 5576, 7675, 4963, 6031, 1435, 300, 2509, 18, 588, 5576, 7675, 9156, 6031, 10756, 342, 21856, 7140, 6669, 31, 3639, 312, 67, 9156, 6031, 273, 312, 67, 1896, 6031, 300, 312, 67, 3668, 6031, 31, 3639, 312, 67, 9167, 273, 312, 67, 3668, 6031, 380, 2130, 342, 312, 67, 1896, 6031, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1435, 288, 7734, 312, 67, 1896, 6031, 273, 2509, 18, 588, 5576, 7675, 1896, 6031, 1435, 342, 21856, 7140, 6669, 31, 3639, 312, 67, 4963, 6031, 273, 2509, 18, 588, 5576, 7675, 4963, 6031, 1435, 342, 21856, 7140, 6669, 31, 3639, 312, 67, 3668, 6031, 273, 261, 5576, 18, 588, 5576, 7675, 4963, 6031, 1435, 300, 2509, 18, 588, 5576, 7675, 9156, 6031, 10756, 342, 21856, 7140, 6669, 31, 3639, 312, 67, 9156, 6031, 273, 312, 67, 1896, 6031, 300, 312, 67, 3668, 6031, 31, 3639, 312, 67, 9167, 273, 312, 67, 3668, 6031, 380, 2130, 342, 312, 67, 1896, 6031, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sessionCipher = new Rijndael(256,128);
sessionCipher = new Rijndael(256,256);
NodePeer(Location loc, Peer contact, byte[] nodeIdentity, Node n, PacketSender ps) { currentLocation = loc; peer = contact; sentPacketsBySequenceNumber = new HashMap(); ackQueue = new LinkedList(); resendRequestQueue = new LinkedList(); ackRequestQueue = new LinkedList(); node = n; usm = node.usm; // FIXME!! Session key should be set up via PK negotiation // Hack here: sesskey = H(identity1) XOR H(identity2) MessageDigest md; try { md = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e) { throw new Error(e); } this.nodeIdentity = nodeIdentity; byte[] key = md.digest(nodeIdentity); byte[] okey = node.identityHash; for(int i=0;i<key.length;i++) key[i] ^= okey[i]; try { sessionCipher = new Rijndael(256,128); } catch (UnsupportedCipherException e1) { throw new Error(e1); } sessionCipher.initialize(key); this.packetSender = ps; // FIXME: this is a debugging aid, maybe we should keep it? outgoingPacketNumber = node.random.nextInt(100000); //Logger.minor(this, "outgoingPacketNumber initialized to "+outgoingPacketNumber); // 10 extra hops on average at the start (for cover) decrementAtMax = disableProbabilisticHTLs ? true : node.random.nextDouble() <= 0.1; // 5 extra hops on average at the end (to prevent probing and similar attacks) decrementAtMin = disableProbabilisticHTLs ? true : node.random.nextDouble() <= 0.25; }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/d6f2b27b0068d0738bbd2f1afae8c1cc0bef24f4/NodePeer.java/buggy/src/freenet/node/NodePeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2029, 6813, 12, 2735, 1515, 16, 10669, 5388, 16, 1160, 8526, 756, 4334, 16, 2029, 290, 16, 11114, 12021, 4250, 13, 288, 3639, 783, 2735, 273, 1515, 31, 3639, 4261, 273, 5388, 31, 3639, 3271, 27328, 858, 21047, 273, 394, 4317, 5621, 3639, 8479, 3183, 273, 394, 10688, 5621, 3639, 31972, 691, 3183, 273, 394, 10688, 5621, 3639, 8479, 691, 3183, 273, 394, 10688, 5621, 3639, 756, 273, 290, 31, 3639, 584, 81, 273, 756, 18, 407, 81, 31, 3639, 368, 9852, 8548, 3877, 498, 1410, 506, 444, 731, 3970, 11327, 17257, 7072, 3639, 368, 670, 484, 2674, 30, 8451, 856, 273, 670, 12, 10781, 21, 13, 28086, 670, 12, 10781, 22, 13, 3639, 22485, 3481, 31, 3639, 775, 288, 5411, 3481, 273, 22485, 18, 588, 1442, 2932, 8325, 17, 5034, 8863, 3639, 289, 1044, 261, 28341, 17293, 425, 13, 288, 5411, 604, 394, 1068, 12, 73, 1769, 3639, 289, 3639, 333, 18, 2159, 4334, 273, 756, 4334, 31, 3639, 1160, 8526, 498, 273, 3481, 18, 10171, 12, 2159, 4334, 1769, 3639, 1160, 8526, 320, 856, 273, 756, 18, 10781, 2310, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 856, 18, 2469, 31, 77, 27245, 5411, 498, 63, 77, 65, 10352, 320, 856, 63, 77, 15533, 3639, 775, 288, 5411, 1339, 13896, 273, 394, 534, 8302, 82, 2414, 292, 12, 5034, 16, 5034, 1769, 3639, 289, 1044, 261, 8544, 13896, 503, 425, 21, 13, 288, 5411, 604, 394, 1068, 12, 73, 21, 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, 2029, 6813, 12, 2735, 1515, 16, 10669, 5388, 16, 1160, 8526, 756, 4334, 16, 2029, 290, 16, 11114, 12021, 4250, 13, 288, 3639, 783, 2735, 273, 1515, 31, 3639, 4261, 273, 5388, 31, 3639, 3271, 27328, 858, 21047, 273, 394, 4317, 5621, 3639, 8479, 3183, 273, 394, 10688, 5621, 3639, 31972, 691, 3183, 273, 394, 10688, 5621, 3639, 8479, 691, 3183, 273, 394, 10688, 5621, 3639, 756, 273, 290, 31, 3639, 584, 81, 273, 756, 18, 407, 81, 31, 3639, 368, 9852, 8548, 3877, 498, 1410, 506, 444, 731, 3970, 11327, 17257, 7072, 3639, 368, 670, 484, 2674, 30, 8451, 856, 273, 670, 12, 10781, 21, 13, 28086, 670, 12, 10781, 22, 13, 3639, 22485, 3481, 31, 3639, 2 ]
boolean rowSelAllowed = table.getRowSelectionAllowed(); boolean colSelAllowed = table.getColumnSelectionAllowed(); boolean isSel = false; if (rowSelAllowed && colSelAllowed || !rowSelAllowed && !colSelAllowed) isSel = table.isCellSelected(row, col); else isSel = table.isRowSelected(row) && table.getRowSelectionAllowed() || table.isColumnSelected(col) && table.getColumnSelectionAllowed(); ListSelectionModel rowSel = table.getSelectionModel(); ListSelectionModel colSel = table.getColumnModel().getSelectionModel(); boolean hasFocus = table.hasFocus() && table.isEnabled() && rowSel.getLeadSelectionIndex() == row && colSel.getLeadSelectionIndex() == col; Component comp = rend.getTableCellRendererComponent(table, data.getValueAt(row, col), isSel, hasFocus, row, col);
Component comp = table.prepareRenderer(rend, row, col);
void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { boolean rowSelAllowed = table.getRowSelectionAllowed(); boolean colSelAllowed = table.getColumnSelectionAllowed(); boolean isSel = false; if (rowSelAllowed && colSelAllowed || !rowSelAllowed && !colSelAllowed) isSel = table.isCellSelected(row, col); else isSel = table.isRowSelected(row) && table.getRowSelectionAllowed() || table.isColumnSelected(col) && table.getColumnSelectionAllowed(); // Determine the focused cell. The focused cell is the cell at the // leadSelectionIndices of the row and column selection model. ListSelectionModel rowSel = table.getSelectionModel(); ListSelectionModel colSel = table.getColumnModel().getSelectionModel(); boolean hasFocus = table.hasFocus() && table.isEnabled() && rowSel.getLeadSelectionIndex() == row && colSel.getLeadSelectionIndex() == col; Component comp = rend.getTableCellRendererComponent(table, data.getValueAt(row, col), isSel, hasFocus, row, col); rendererPane.paintComponent(g, comp, table, bounds); // FIXME: this is manual painting of the Caret, why doesn't the // JTextField take care of this itself? if (comp instanceof JTextField) { Rectangle oldClip = g.getClipBounds(); g.translate(bounds.x, bounds.y); g.clipRect(0, 0, bounds.width, bounds.height); ((JTextField)comp).getCaret().paint(g); g.translate(-bounds.x, -bounds.y); g.setClip(oldClip); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e8a49a412752cdcc88a774cac2de160a23c6f550/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 12574, 4020, 12, 17558, 314, 16, 509, 1027, 16, 509, 645, 16, 13264, 4972, 16, 1171, 3555, 4020, 6747, 1654, 72, 16, 3555, 1488, 501, 16, 1171, 509, 1027, 9678, 16, 509, 645, 9678, 13, 225, 288, 565, 1250, 1027, 1877, 5042, 273, 1014, 18, 588, 1999, 6233, 5042, 5621, 565, 1250, 645, 1877, 5042, 273, 1014, 18, 588, 1494, 6233, 5042, 5621, 565, 1250, 353, 1877, 273, 629, 31, 565, 309, 261, 492, 1877, 5042, 597, 645, 1877, 5042, 747, 401, 492, 1877, 5042, 597, 401, 1293, 1877, 5042, 13, 1377, 353, 1877, 273, 1014, 18, 291, 4020, 7416, 12, 492, 16, 645, 1769, 565, 469, 1377, 353, 1877, 273, 1014, 18, 291, 1999, 7416, 12, 492, 13, 597, 1014, 18, 588, 1999, 6233, 5042, 1435, 6647, 747, 1014, 18, 291, 1494, 7416, 12, 1293, 13, 597, 1014, 18, 588, 1494, 6233, 5042, 5621, 565, 368, 10229, 326, 22397, 2484, 18, 1021, 22397, 2484, 353, 326, 2484, 622, 326, 565, 368, 5871, 6233, 8776, 434, 326, 1027, 471, 1057, 4421, 938, 18, 565, 987, 6233, 1488, 1027, 1877, 273, 1014, 18, 588, 6233, 1488, 5621, 565, 987, 6233, 1488, 645, 1877, 273, 1014, 18, 588, 1494, 1488, 7675, 588, 6233, 1488, 5621, 565, 1250, 711, 9233, 273, 1014, 18, 5332, 9233, 1435, 597, 1014, 18, 291, 1526, 1435, 15604, 597, 1027, 1877, 18, 588, 9678, 6233, 1016, 1435, 422, 1027, 15604, 597, 645, 1877, 18, 588, 9678, 6233, 1016, 1435, 422, 645, 31, 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, 12574, 4020, 12, 17558, 314, 16, 509, 1027, 16, 509, 645, 16, 13264, 4972, 16, 1171, 3555, 4020, 6747, 1654, 72, 16, 3555, 1488, 501, 16, 1171, 509, 1027, 9678, 16, 509, 645, 9678, 13, 225, 288, 565, 1250, 1027, 1877, 5042, 273, 1014, 18, 588, 1999, 6233, 5042, 5621, 565, 1250, 645, 1877, 5042, 273, 1014, 18, 588, 1494, 6233, 5042, 5621, 565, 1250, 353, 1877, 273, 629, 31, 565, 309, 261, 492, 1877, 5042, 597, 645, 1877, 5042, 747, 401, 492, 1877, 5042, 597, 401, 1293, 1877, 5042, 13, 1377, 353, 1877, 273, 1014, 18, 291, 4020, 7416, 12, 492, 16, 645, 1769, 565, 469, 1377, 353, 1877, 273, 1014, 18, 291, 1999, 7416, 12, 2 ]
QueryParser parser = new QueryParser("fieldname", analyzer);
QueryParser parser = new QueryParser("fieldname", analyzer);
public void testDemo() throws IOException, ParseException { Analyzer analyzer = new StandardAnalyzer(); // Store the index in memory: Directory directory = new RAMDirectory(); // To store an index on disk, use this instead (note that the // parameter true will overwrite the index in that directory // if one exists): //Directory directory = FSDirectory.getDirectory("/tmp/testindex", true); IndexWriter iwriter = new IndexWriter(directory, analyzer, true); iwriter.setMaxFieldLength(25000); Document doc = new Document(); String text = "This is the text to be indexed."; doc.add(new Field("fieldname", text, Field.Store.YES, Field.Index.TOKENIZED)); iwriter.addDocument(doc); iwriter.close(); // Now search the index: IndexSearcher isearcher = new IndexSearcher(directory); // Parse a simple query that searches for "text": QueryParser parser = new QueryParser("fieldname", analyzer); Query query = parser.parse("text"); Hits hits = isearcher.search(query); assertEquals(1, hits.length()); // Iterate through the results: for (int i = 0; i < hits.length(); i++) { Document hitDoc = hits.doc(i); assertEquals("This is the text to be indexed.", hitDoc.get("fieldname")); } isearcher.close(); directory.close(); }
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/8cd09aae46b3699fabd55761a24028da58a88a7d/TestDemo.java/clean/src/test/org/apache/lucene/TestDemo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 27126, 1435, 1216, 1860, 16, 10616, 288, 565, 1922, 6893, 15116, 273, 394, 8263, 12803, 5621, 565, 368, 4994, 326, 770, 316, 3778, 30, 565, 8930, 1867, 273, 394, 30327, 2853, 5621, 565, 368, 2974, 1707, 392, 770, 603, 4234, 16, 999, 333, 3560, 261, 7652, 716, 326, 377, 368, 1569, 638, 903, 6156, 326, 770, 316, 716, 1867, 565, 368, 309, 1245, 1704, 4672, 565, 368, 2853, 1867, 273, 9247, 2853, 18, 588, 2853, 2932, 19, 5645, 19, 3813, 1615, 3113, 638, 1769, 565, 3340, 2289, 277, 6299, 273, 394, 3340, 2289, 12, 5149, 16, 15116, 16, 638, 1769, 565, 277, 6299, 18, 542, 2747, 974, 1782, 12, 2947, 3784, 1769, 565, 4319, 997, 273, 394, 4319, 5621, 565, 514, 977, 273, 315, 2503, 353, 326, 977, 358, 506, 8808, 1199, 31, 565, 997, 18, 1289, 12, 2704, 2286, 2932, 1518, 529, 3113, 977, 16, 2286, 18, 2257, 18, 29081, 16, 3639, 2286, 18, 1016, 18, 8412, 24131, 10019, 565, 277, 6299, 18, 1289, 2519, 12, 2434, 1769, 565, 277, 6299, 18, 4412, 5621, 3639, 368, 4494, 1623, 326, 770, 30, 565, 3340, 2979, 264, 277, 3072, 264, 273, 394, 3340, 2979, 264, 12, 5149, 1769, 565, 368, 2884, 279, 4143, 843, 716, 16662, 364, 315, 955, 6877, 1377, 2770, 2678, 2082, 273, 394, 2770, 2678, 2932, 1518, 529, 3113, 15116, 1769, 565, 2770, 843, 273, 2082, 18, 2670, 2932, 955, 8863, 565, 670, 1282, 11076, 273, 277, 3072, 264, 18, 3072, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 27126, 1435, 1216, 1860, 16, 10616, 288, 565, 1922, 6893, 15116, 273, 394, 8263, 12803, 5621, 565, 368, 4994, 326, 770, 316, 3778, 30, 565, 8930, 1867, 273, 394, 30327, 2853, 5621, 565, 368, 2974, 1707, 392, 770, 603, 4234, 16, 999, 333, 3560, 261, 7652, 716, 326, 377, 368, 1569, 638, 903, 6156, 326, 770, 316, 716, 1867, 565, 368, 309, 1245, 1704, 4672, 565, 368, 2853, 1867, 273, 9247, 2853, 18, 588, 2853, 2932, 19, 5645, 19, 3813, 1615, 3113, 638, 1769, 565, 3340, 2289, 277, 6299, 273, 394, 3340, 2289, 12, 5149, 16, 15116, 16, 638, 1769, 565, 277, 6299, 18, 542, 2747, 974, 1782, 12, 2947, 3784, 1769, 565, 4319, 997, 2 ]
IExtensionPoint point = Platform.getPluginRegistry().getExtensionPoint(
IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(
private HashMap readTypes() { HashMap types = new HashMap(); IExtensionPoint point = Platform.getPluginRegistry().getExtensionPoint( ResourcesPlugin.PI_RESOURCES, ResourcesPlugin.PT_MARKERS); if (point != null) { // Gather all registered marker types. IExtension[] extensions = point.getExtensions(); for (int i = 0; i < extensions.length; ++i) { IExtension ext = extensions[i]; String id = ext.getUniqueIdentifier(); String label = ext.getLabel(); if (label.equals("")) {//$NON-NLS-1$ label = getWellKnownLabel(id); } ArrayList supersList = new ArrayList(); IConfigurationElement[] configElements = ext .getConfigurationElements(); for (int j = 0; j < configElements.length; ++j) { IConfigurationElement elt = configElements[j]; if (elt.getName().equalsIgnoreCase("super")) {//$NON-NLS-1$ String sup = elt.getAttribute("type");//$NON-NLS-1$ if (sup != null) { supersList.add(sup); } } } String[] superTypes = new String[supersList.size()]; supersList.toArray(superTypes); MarkerType type = new MarkerType(this, id, label, superTypes); types.put(id, type); } } return types; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/771f35b04247079172446df4f6f8286a9175e2d8/MarkerTypesModel.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerTypesModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4317, 855, 2016, 1435, 288, 3639, 4317, 1953, 273, 394, 4317, 5621, 540, 467, 3625, 2148, 1634, 273, 11810, 18, 588, 3625, 4243, 7675, 588, 3625, 2148, 12, 7734, 8128, 3773, 18, 1102, 67, 11395, 55, 16, 8128, 3773, 18, 1856, 67, 12693, 11367, 1769, 3639, 309, 261, 1153, 480, 446, 13, 288, 5411, 368, 25868, 777, 4104, 5373, 1953, 18, 5411, 467, 3625, 8526, 4418, 273, 1634, 18, 588, 7513, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4418, 18, 2469, 31, 965, 77, 13, 288, 7734, 467, 3625, 1110, 273, 4418, 63, 77, 15533, 7734, 514, 612, 273, 1110, 18, 588, 6303, 3004, 5621, 7734, 514, 1433, 273, 1110, 18, 588, 2224, 5621, 7734, 309, 261, 1925, 18, 14963, 2932, 6, 3719, 288, 759, 8, 3993, 17, 5106, 17, 21, 8, 10792, 1433, 273, 13876, 1165, 11925, 2224, 12, 350, 1769, 7734, 289, 7734, 2407, 1169, 414, 682, 273, 394, 2407, 5621, 7734, 467, 1750, 1046, 8526, 642, 3471, 273, 1110, 13491, 263, 588, 1750, 3471, 5621, 7734, 364, 261, 474, 525, 273, 374, 31, 525, 411, 642, 3471, 18, 2469, 31, 965, 78, 13, 288, 10792, 467, 1750, 1046, 11572, 273, 642, 3471, 63, 78, 15533, 10792, 309, 261, 20224, 18, 17994, 7675, 14963, 5556, 2932, 9565, 6, 3719, 288, 759, 8, 3993, 17, 5106, 17, 21, 8, 13491, 514, 1169, 273, 11572, 18, 588, 1499, 2932, 723, 8863, 759, 8, 3993, 17, 5106, 17, 21, 8, 13491, 309, 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, 4317, 855, 2016, 1435, 288, 3639, 4317, 1953, 273, 394, 4317, 5621, 540, 467, 3625, 2148, 1634, 273, 11810, 18, 588, 3625, 4243, 7675, 588, 3625, 2148, 12, 7734, 8128, 3773, 18, 1102, 67, 11395, 55, 16, 8128, 3773, 18, 1856, 67, 12693, 11367, 1769, 3639, 309, 261, 1153, 480, 446, 13, 288, 5411, 368, 25868, 777, 4104, 5373, 1953, 18, 5411, 467, 3625, 8526, 4418, 273, 1634, 18, 588, 7513, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4418, 18, 2469, 31, 965, 77, 13, 288, 7734, 467, 3625, 1110, 273, 4418, 63, 77, 15533, 7734, 514, 612, 273, 1110, 18, 588, 6303, 3004, 5621, 7734, 514, 1433, 273, 1110, 18, 588, 2224, 2 ]
context.put("selectedView", VIEW_BY_YEAR);
context.put("selectedView", rb.getString("java.byyear"));
protected void buildYearContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state) { CalendarUtil calObj= new CalendarUtil(); MyYear yearObj = null; MyMonth monthObj1, monthObj2 = null; MyDay dayObj = null; MyDate dateObj1 = null; boolean allowed = false; CalendarEventVector CalendarEventVectorObj = null; // new objects of myYear, myMonth, myDay, myWeek classes yearObj = new MyYear(); monthObj1 = new MyMonth(); dayObj = new MyDay(); dateObj1 = new MyDate(); StringBuffer exceptionMessage = new StringBuffer(); int month = 1; int col = 3; int row = 4; String peid = ((JetspeedRunData)runData).getJs_peid(); SessionState sstate = ((JetspeedRunData)runData).getPortletSessionState(peid); Time m_time = TimeService.newTime(); TimeBreakdown b = m_time.breakdownLocal(); int stateYear = b.getYear(); int stateMonth = b.getMonth(); int stateDay = b.getDay(); if ((sstate.getAttribute(STATE_YEAR) != null) && (sstate.getAttribute(STATE_MONTH) != null) && (sstate.getAttribute(STATE_DAY) != null)) { stateYear = ((Integer)sstate.getAttribute(STATE_YEAR)).intValue(); stateMonth = ((Integer)sstate.getAttribute(STATE_MONTH)).intValue(); stateDay = ((Integer)sstate.getAttribute(STATE_DAY)).intValue(); } calObj.setDay(stateYear, stateMonth, stateDay); dateObj1.setTodayDate(calObj.getMonthInteger(),calObj.getDayOfMonth(),calObj.getYear()); yearObj.setYear(calObj.getYear()); monthObj1.setMonth(calObj.getMonthInteger()); dayObj.setDay(calObj.getDayOfMonth()); if (CalendarService.allowGetCalendar(state.getPrimaryCalendarReference())== false) { allowed = false; exceptionMessage.append(rb.getString("java.alert.younotallowsee")); CalendarEventVectorObj = new CalendarEventVector(); } else { try { allowed = CalendarService.getCalendar(state.getPrimaryCalendarReference()).allowAddEvent(); } catch(IdUnusedException e) { exceptionMessage.append(rb.getString("java.alert.therenoactv")); M_log.debug(".buildYearContext(): " + e); } catch (PermissionException e) { exceptionMessage.append(rb.getString("java.alert.younotperm")); M_log.debug(".buildYearContext(): " + e); } } for(int r = 0; r<row; r++) { for (int c = 0; c<col;c++) { monthObj2 = new MyMonth(); calObj.setDay(dateObj1.getYear(),month,1); CalendarEventVectorObj = CalendarService.getEvents( getCalendarReferenceList( portlet, state.getPrimaryCalendarReference(), isOnWorkspaceTab()), getMonthTimeRange(calObj)); calObj.setDay(dateObj1.getYear(),dateObj1.getMonth(),dateObj1.getDay()); monthObj2 = calMonth(month, calObj,state,CalendarEventVectorObj); month++; yearObj.setMonth(monthObj2,r,c); } } calObj.setDay(dateObj1.getYear(),dateObj1.getMonth(),dateObj1.getDay()); context.put("tlang",rb); context.put("yearArray",yearObj); context.put("year",new Integer(calObj.getYear())); context.put("date",dateObj1); state.setState("year"); buildMenu( portlet, context, runData, state, CalendarPermissions.allowCreateEvents( state.getPrimaryCalendarReference(), state.getSelectedCalendarReference()), CalendarPermissions.allowDeleteEvent( state.getPrimaryCalendarReference(), state.getSelectedCalendarReference(), state.getCalendarEventId()), CalendarPermissions.allowReviseEvents( state.getPrimaryCalendarReference(), state.getSelectedCalendarReference(), state.getCalendarEventId()), CalendarPermissions.allowMergeCalendars( state.getPrimaryCalendarReference(), isOnWorkspaceTab()), CalendarPermissions.allowModifyCalendarProperties( state.getPrimaryCalendarReference()), CalendarPermissions.allowImport( state.getPrimaryCalendarReference())); // added by zqian for toolbar context.put("allow_new", Boolean.valueOf(allowed)); context.put("allow_delete", Boolean.valueOf(false)); context.put("allow_revise", Boolean.valueOf(false)); context.put("tlang",rb); context.put(Menu.CONTEXT_ACTION, "CalendarAction"); context.put("selectedView", VIEW_BY_YEAR); } // buildYearContext
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/bda45339498ba4350b9c27366f919cf6850ff2a5/CalendarAction.java/clean/calendar/calendar-tool/tool/src/java/org/sakaiproject/calendar/tool/CalendarAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1361, 5593, 1042, 12, 27522, 18566, 13114, 16, 202, 1042, 819, 16, 202, 1997, 751, 1086, 751, 16, 202, 7335, 1803, 1119, 919, 13, 202, 95, 202, 202, 7335, 1304, 1443, 2675, 33, 394, 5542, 1304, 5621, 202, 202, 12062, 5593, 3286, 2675, 273, 446, 31, 202, 202, 12062, 5445, 3138, 2675, 21, 16, 3138, 2675, 22, 273, 446, 31, 202, 202, 12062, 4245, 2548, 2675, 273, 446, 31, 202, 202, 12062, 1626, 1509, 2675, 21, 273, 446, 31, 202, 202, 6494, 2935, 273, 629, 31, 202, 202, 7335, 1133, 5018, 5542, 1133, 5018, 2675, 273, 446, 31, 9506, 202, 759, 394, 2184, 434, 3399, 5593, 16, 3399, 5445, 16, 3399, 4245, 16, 3399, 6630, 3318, 202, 202, 6874, 2675, 273, 394, 8005, 5593, 5621, 202, 202, 7496, 2675, 21, 273, 394, 8005, 5445, 5621, 202, 202, 2881, 2675, 273, 394, 8005, 4245, 5621, 202, 202, 712, 2675, 21, 273, 394, 8005, 1626, 5621, 202, 202, 780, 1892, 1520, 1079, 273, 394, 6674, 5621, 9506, 202, 474, 3138, 273, 404, 31, 202, 202, 474, 645, 273, 890, 31, 202, 202, 474, 1027, 273, 1059, 31, 9506, 202, 780, 2804, 350, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 2681, 751, 2934, 588, 8382, 67, 347, 350, 5621, 202, 202, 2157, 1119, 272, 2019, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 2681, 751, 2934, 588, 18566, 2157, 1119, 12, 347, 350, 1769, 9506, 202, 950, 312, 67, 957, 273, 2647, 1179, 18, 2704, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1361, 5593, 1042, 12, 27522, 18566, 13114, 16, 202, 1042, 819, 16, 202, 1997, 751, 1086, 751, 16, 202, 7335, 1803, 1119, 919, 13, 202, 95, 202, 202, 7335, 1304, 1443, 2675, 33, 394, 5542, 1304, 5621, 202, 202, 12062, 5593, 3286, 2675, 273, 446, 31, 202, 202, 12062, 5445, 3138, 2675, 21, 16, 3138, 2675, 22, 273, 446, 31, 202, 202, 12062, 4245, 2548, 2675, 273, 446, 31, 202, 202, 12062, 1626, 1509, 2675, 21, 273, 446, 31, 202, 202, 6494, 2935, 273, 629, 31, 202, 202, 7335, 1133, 5018, 5542, 1133, 5018, 2675, 273, 446, 31, 9506, 202, 759, 394, 2184, 434, 3399, 5593, 16, 3399, 5445, 16, 3399, 4245, 16, 3399, 6630, 2 ]
public TeacherLegalRegimen getLastLegalRegimenWithoutEndSituations() { YearMonthDay date = null; TeacherLegalRegimen regimenToReturn = null; for (TeacherLegalRegimen regimen : this.getLegalRegimens()) { if (!regimen.isEndSituation()) { if (regimen.isActive(new YearMonthDay())) { return regimen; } else if (date == null || date.isBefore(regimen.getEndDateYearMonthDay())) { date = regimen.getEndDateYearMonthDay(); regimenToReturn = regimen; } } } return regimenToReturn;
public TeacherLegalRegimen getLastLegalRegimenWithoutEndSituations(YearMonthDay begin, YearMonthDay end) { SortedSet<TeacherLegalRegimen> legalRegimens = new TreeSet<TeacherLegalRegimen>( TeacherLegalRegimen.TEACHER_LEGAL_REGIMEN_COMPARATOR_BY_BEGIN_DATE); legalRegimens.addAll(getAllLegalRegimensWithoutEndSituations(begin, end)); return (!legalRegimens.isEmpty()) ? legalRegimens.last() : null;
public TeacherLegalRegimen getLastLegalRegimenWithoutEndSituations() { YearMonthDay date = null; TeacherLegalRegimen regimenToReturn = null; for (TeacherLegalRegimen regimen : this.getLegalRegimens()) { if (!regimen.isEndSituation()) { if (regimen.isActive(new YearMonthDay())) { return regimen; } else if (date == null || date.isBefore(regimen.getEndDateYearMonthDay())) { date = regimen.getEndDateYearMonthDay(); regimenToReturn = regimen; } } } return regimenToReturn; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/47ef10aefd204975f4c73e044759d807e31b5c91/Teacher.java/buggy/src/net/sourceforge/fenixedu/domain/Teacher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 399, 13798, 264, 30697, 1617, 9304, 7595, 30697, 1617, 9304, 8073, 1638, 55, 305, 25503, 1435, 288, 3639, 16666, 5445, 4245, 1509, 273, 446, 31, 3639, 399, 13798, 264, 30697, 1617, 9304, 960, 9304, 27014, 273, 446, 31, 3639, 364, 261, 56, 13798, 264, 30697, 1617, 9304, 960, 9304, 294, 333, 18, 588, 30697, 1617, 19823, 10756, 288, 5411, 309, 16051, 1574, 9304, 18, 291, 1638, 55, 305, 11407, 10756, 288, 7734, 309, 261, 1574, 9304, 18, 291, 3896, 12, 2704, 16666, 5445, 4245, 1435, 3719, 288, 10792, 327, 960, 9304, 31, 7734, 289, 469, 309, 261, 712, 422, 446, 747, 1509, 18, 291, 4649, 12, 1574, 9304, 18, 588, 24640, 5593, 5445, 4245, 1435, 3719, 288, 5397, 1509, 273, 960, 9304, 18, 588, 24640, 5593, 5445, 4245, 5621, 5397, 960, 9304, 27014, 273, 960, 9304, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 960, 9304, 27014, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 399, 13798, 264, 30697, 1617, 9304, 7595, 30697, 1617, 9304, 8073, 1638, 55, 305, 25503, 1435, 288, 3639, 16666, 5445, 4245, 1509, 273, 446, 31, 3639, 399, 13798, 264, 30697, 1617, 9304, 960, 9304, 27014, 273, 446, 31, 3639, 364, 261, 56, 13798, 264, 30697, 1617, 9304, 960, 9304, 294, 333, 18, 588, 30697, 1617, 19823, 10756, 288, 5411, 309, 16051, 1574, 9304, 18, 291, 1638, 55, 305, 11407, 10756, 288, 7734, 309, 261, 1574, 9304, 18, 291, 3896, 12, 2704, 16666, 5445, 4245, 1435, 3719, 288, 10792, 327, 960, 9304, 31, 7734, 289, 469, 309, 261, 712, 422, 446, 747, 1509, 18, 291, 4649, 12, 1574, 9304, 18, 588, 24640, 5593, 5445, 4245, 1435, 3719, 288, 2 ]
if (msl == null) msl = new MartShellLib(engine, martconf); else { msl.setEngine(engine); msl.setConfiguration(martconf); }
if (msl == null) msl = new MartShellLib(engine, martconf); else { msl.setEngine(engine); msl.setConfiguration(martconf); }
private void Initialize() throws MalformedURLException, ConfigurationException { engine = new Engine(martHost, martPort, martUser, martPass, martDatabase); if (altConfigurationFile != null) martconf = engine.getMartConfiguration(new URL(altConfigurationFile)); else martconf = engine.getMartConfiguration(); if (msl == null) msl = new MartShellLib(engine, martconf); else { msl.setEngine(engine); msl.setConfiguration(martconf); } }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/a69c517b8e334f3bb267f8fe7a91f605cb0e5dba/MartShell.java/clean/src/java/org/ensembl/mart/shell/MartShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 9190, 1435, 1216, 20710, 16, 22196, 288, 202, 202, 8944, 273, 394, 10507, 12, 81, 485, 2594, 16, 312, 485, 2617, 16, 312, 485, 1299, 16, 312, 485, 6433, 16, 312, 485, 4254, 1769, 202, 202, 430, 261, 2390, 1750, 812, 480, 446, 13, 1082, 202, 81, 485, 3923, 273, 4073, 18, 588, 49, 485, 1750, 12, 2704, 1976, 12, 2390, 1750, 812, 10019, 202, 202, 12107, 1082, 202, 81, 485, 3923, 273, 4073, 18, 588, 49, 485, 1750, 5621, 6862, 225, 309, 261, 959, 80, 422, 446, 13, 202, 565, 312, 2069, 273, 394, 490, 485, 13220, 5664, 12, 8944, 16, 312, 485, 3923, 1769, 202, 225, 469, 288, 202, 282, 202, 959, 80, 18, 542, 4410, 12, 8944, 1769, 202, 282, 202, 959, 80, 18, 542, 1750, 12, 81, 485, 3923, 1769, 202, 225, 289, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 9190, 1435, 1216, 20710, 16, 22196, 288, 202, 202, 8944, 273, 394, 10507, 12, 81, 485, 2594, 16, 312, 485, 2617, 16, 312, 485, 1299, 16, 312, 485, 6433, 16, 312, 485, 4254, 1769, 202, 202, 430, 261, 2390, 1750, 812, 480, 446, 13, 1082, 202, 81, 485, 3923, 273, 4073, 18, 588, 49, 485, 1750, 12, 2704, 1976, 12, 2390, 1750, 812, 10019, 202, 202, 12107, 1082, 202, 81, 485, 3923, 273, 4073, 18, 588, 49, 485, 1750, 5621, 6862, 225, 309, 261, 959, 80, 422, 446, 13, 202, 565, 312, 2069, 273, 394, 490, 485, 13220, 5664, 12, 8944, 16, 312, 485, 3923, 1769, 202, 225, 469, 288, 202, 282, 202, 959, 80, 2 ]
FightFrame.showLocation( "desc_effect.php?whicheffect=" + StatusEffectDatabase.getEffectID( ((AdventureResult)item).getName() ) );
FightFrame.showLocation( "desc_effect.php?whicheffect=" + StatusEffectDatabase.getEffectId( ((AdventureResult)item).getName() ) );
public void mouseClicked( MouseEvent e ) { if ( e.getClickCount() == 2 ) { int index = locationToIndex( e.getPoint() ); Object item = getModel().getElementAt( index ); if ( item == null ) return; ensureIndexIsVisible( index ); if ( item instanceof AdventureResult ) { if ( ((AdventureResult)item).isItem() ) FightFrame.showLocation( "desc_item.php?whichitem=" + TradeableItemDatabase.getDescriptionID( ((AdventureResult)item).getItemID() ) ); if ( ((AdventureResult)item).isStatusEffect() ) FightFrame.showLocation( "desc_effect.php?whicheffect=" + StatusEffectDatabase.getEffectID( ((AdventureResult)item).getName() ) ); } if ( item instanceof ItemCreationRequest ) { FightFrame.showLocation( "desc_item.php?whichitem=" + TradeableItemDatabase.getDescriptionID( ((ItemCreationRequest)item).getItemID() ) ); } if ( item instanceof String ) { Matcher playerMatcher = PLAYERID_MATCHER.matcher( (String) item ); if ( playerMatcher.find() ) { Object [] parameters = new Object [] { "#" + playerMatcher.group(1) }; SwingUtilities.invokeLater( new CreateFrameRunnable( ProfileFrame.class, parameters ) ); } } } }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/db652071b06715a4456f702f081fbe5b47aa5a70/ShowDescriptionList.java/clean/src/net/sourceforge/kolmafia/ShowDescriptionList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 7644, 27633, 12, 17013, 1133, 425, 262, 202, 202, 95, 1082, 202, 430, 261, 425, 18, 588, 6563, 1380, 1435, 422, 576, 262, 1082, 202, 95, 9506, 202, 474, 770, 273, 2117, 19418, 12, 425, 18, 588, 2148, 1435, 11272, 9506, 202, 921, 761, 273, 7454, 7675, 21336, 861, 12, 770, 11272, 9506, 202, 430, 261, 761, 422, 446, 262, 6862, 202, 2463, 31, 9506, 202, 15735, 1016, 2520, 6207, 12, 770, 11272, 9506, 202, 430, 261, 761, 1276, 4052, 616, 594, 1253, 262, 9506, 202, 95, 6862, 202, 430, 261, 14015, 1871, 616, 594, 1253, 13, 1726, 2934, 291, 1180, 1435, 262, 25083, 202, 42, 750, 3219, 18, 4500, 2735, 12, 315, 5569, 67, 1726, 18, 2684, 35, 12784, 1726, 1546, 397, 2197, 323, 429, 1180, 4254, 18, 588, 3291, 734, 12, 14015, 1871, 616, 594, 1253, 13, 1726, 2934, 588, 1180, 734, 1435, 262, 11272, 6862, 202, 430, 261, 14015, 1871, 616, 594, 1253, 13, 1726, 2934, 291, 1482, 12477, 1435, 262, 25083, 202, 42, 750, 3219, 18, 4500, 2735, 12, 315, 5569, 67, 13867, 18, 2684, 35, 3350, 335, 580, 3736, 1546, 397, 2685, 12477, 4254, 18, 588, 12477, 734, 12, 14015, 1871, 616, 594, 1253, 13, 1726, 2934, 17994, 1435, 262, 11272, 9506, 202, 97, 9506, 202, 430, 261, 761, 1276, 4342, 9906, 691, 262, 9506, 202, 95, 6862, 202, 42, 750, 3219, 18, 4500, 2735, 12, 315, 5569, 67, 1726, 18, 2684, 35, 12784, 1726, 1546, 397, 2197, 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, 7644, 27633, 12, 17013, 1133, 425, 262, 202, 202, 95, 1082, 202, 430, 261, 425, 18, 588, 6563, 1380, 1435, 422, 576, 262, 1082, 202, 95, 9506, 202, 474, 770, 273, 2117, 19418, 12, 425, 18, 588, 2148, 1435, 11272, 9506, 202, 921, 761, 273, 7454, 7675, 21336, 861, 12, 770, 11272, 9506, 202, 430, 261, 761, 422, 446, 262, 6862, 202, 2463, 31, 9506, 202, 15735, 1016, 2520, 6207, 12, 770, 11272, 9506, 202, 430, 261, 761, 1276, 4052, 616, 594, 1253, 262, 9506, 202, 95, 6862, 202, 430, 261, 14015, 1871, 616, 594, 1253, 13, 1726, 2934, 291, 1180, 1435, 262, 25083, 202, 42, 750, 3219, 18, 4500, 2735, 12, 315, 5569, 67, 2 ]
listenerMap.put(args[1], evtListener);
listenerMap.put(args[1], new SoftReference(evtListener));
public Object call(Context ctx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { NativeJavaObject njo = (NativeJavaObject)thisObj; if (args[1] instanceof Function) { EventListener evtListener = new FunctionEventListener ((Function)args[1], ((RhinoInterpreter.ExtendedContext)ctx).getInterpreter()); listenerMap.put(args[1], evtListener); // we need to marshall args Class[] paramTypes = { String.class, Function.class, Boolean.TYPE }; for (int i = 0; i < args.length; i++) args[i] = Context.toType(args[i], paramTypes[i]); ((EventTarget)njo.unwrap()).addEventListener ((String)args[0], evtListener, ((Boolean)args[2]).booleanValue()); return Undefined.instance; } if (args[1] instanceof NativeObject) { EventListener evtListener = new HandleEventListener((Scriptable)args[1], ((RhinoInterpreter.ExtendedContext) ctx).getInterpreter()); listenerMap.put(args[1], evtListener); // we need to marshall args Class[] paramTypes = { String.class, Scriptable.class, Boolean.TYPE }; for (int i = 0; i < args.length; i++) args[i] = Context.toType(args[i], paramTypes[i]); ((EventTarget)njo.unwrap()).addEventListener ((String)args[0], evtListener, ((Boolean)args[2]).booleanValue()); return Undefined.instance; } return delegate.call(ctx, scope, thisObj, args); }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/188e17e39d41914eb2ab6d2e6267e1efe628187b/EventTargetWrapper.java/buggy/sources/org/apache/batik/script/rhino/EventTargetWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1033, 745, 12, 1042, 1103, 16, 22780, 2146, 16, 21821, 22780, 15261, 16, 1033, 8526, 833, 13, 5411, 1216, 11905, 503, 288, 5411, 16717, 5852, 921, 225, 290, 30952, 273, 261, 9220, 5852, 921, 13, 2211, 2675, 31, 5411, 309, 261, 1968, 63, 21, 65, 1276, 4284, 13, 288, 7734, 22090, 6324, 2223, 273, 394, 4284, 7375, 10792, 14015, 2083, 13, 1968, 63, 21, 6487, 5397, 14015, 54, 76, 15020, 30010, 18, 11456, 1042, 13, 5900, 2934, 588, 30010, 10663, 7734, 2991, 863, 18, 458, 12, 1968, 63, 21, 6487, 394, 12438, 2404, 12, 73, 11734, 2223, 10019, 7734, 368, 732, 1608, 358, 1833, 833, 7734, 1659, 8526, 21265, 273, 288, 514, 18, 1106, 16, 4284, 18, 1106, 16, 4766, 4202, 3411, 18, 2399, 289, 31, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 10792, 833, 63, 77, 65, 273, 1772, 18, 869, 559, 12, 1968, 63, 77, 6487, 21265, 63, 77, 19226, 7734, 14015, 1133, 2326, 13, 82, 30952, 18, 318, 4113, 1435, 2934, 1289, 7375, 10792, 14015, 780, 13, 1968, 63, 20, 6487, 6324, 2223, 16, 5397, 14015, 5507, 13, 1968, 63, 22, 65, 2934, 6494, 620, 10663, 7734, 327, 22243, 18, 1336, 31, 5411, 289, 5411, 309, 261, 1968, 63, 21, 65, 1276, 16717, 921, 13, 288, 7734, 22090, 6324, 2223, 273, 10792, 394, 5004, 7375, 12443, 3651, 429, 13, 1968, 63, 21, 6487, 4766, 5411, 14015, 54, 76, 15020, 30010, 18, 11456, 1042, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1033, 745, 12, 1042, 1103, 16, 22780, 2146, 16, 21821, 22780, 15261, 16, 1033, 8526, 833, 13, 5411, 1216, 11905, 503, 288, 5411, 16717, 5852, 921, 225, 290, 30952, 273, 261, 9220, 5852, 921, 13, 2211, 2675, 31, 5411, 309, 261, 1968, 63, 21, 65, 1276, 4284, 13, 288, 7734, 22090, 6324, 2223, 273, 394, 4284, 7375, 10792, 14015, 2083, 13, 1968, 63, 21, 6487, 5397, 14015, 54, 76, 15020, 30010, 18, 11456, 1042, 13, 5900, 2934, 588, 30010, 10663, 7734, 2991, 863, 18, 458, 12, 1968, 63, 21, 6487, 394, 12438, 2404, 12, 73, 11734, 2223, 10019, 7734, 368, 732, 1608, 358, 1833, 833, 7734, 1659, 8526, 21265, 273, 288, 514, 18, 1106, 16, 4284, 18, 2 ]
try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { }
if ((string = EvalHelper.evalString("alt", getAltExpr(), this, pageContext)) != null) setAlt(string);
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } // The "align" attribute is deprecated. This needs to be removed when // the "align" attribute is finally removed. try { setAlign((String) evalAttr("align", getAlignExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setBorder((String) evalAttr("border", getBorderExpr(), String.class)); } catch (NullAttributeException ex) { } try { setBundle((String) evalAttr("bundle", getBundleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setLocale((String) evalAttr("locale", getLocaleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnchange((String) evalAttr("onchange", getOnchangeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setPage((String) evalAttr("page", getPageExpr(), String.class)); } catch (NullAttributeException ex) { } try { setPageKey((String) evalAttr("pageKey", getPageKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setSrc((String) evalAttr("src", getSrcExpr(), String.class)); } catch (NullAttributeException ex) { } try { setSrcKey((String) evalAttr("srcKey", getSrcKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/161d973cb8d39005faf380ea401e605000b8884b/ELImageTag.java/buggy/struts-el/src/share/org/apache/strutsel/taglib/html/ELImageTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 368, 225, 1021, 315, 7989, 6, 1566, 353, 6849, 18, 225, 1220, 4260, 358, 506, 3723, 1347, 3639, 368, 225, 326, 315, 7989, 6, 1566, 353, 3095, 3723, 18, 3639, 775, 288, 5411, 444, 10044, 12443, 780, 13, 5302, 3843, 2932, 7989, 3113, 336, 10044, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 25715, 12443, 780, 13, 5302, 3843, 2932, 8815, 3113, 2882, 1019, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 3405, 12443, 780, 13, 5302, 3843, 2932, 9991, 3113, 10946, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 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, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 368, 225, 1021, 315, 7989, 6, 1566, 353, 6849, 18, 225, 1220, 4260, 358, 506, 3723, 1347, 3639, 368, 225, 326, 315, 7989, 6, 1566, 353, 3095, 3723, 18, 3639, 775, 288, 5411, 444, 10044, 12443, 780, 13, 5302, 3843, 2932, 7989, 3113, 336, 10044, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 2 ]
DocumentEvent evt = new DefaultDocumentEvent(_currentLocation, length, DocumentEvent.EventType.CHANGE);
DocumentEvent evt = new DefaultDocumentEvent(_currentLocation, length, DocumentEvent.EventType.CHANGE);
private void _styleChanged() { int length = getLength() - _currentLocation; //DrJava.consoleErr().println("Changed: " + _currentLocation + ", " + length); DocumentEvent evt = new DefaultDocumentEvent(_currentLocation, length, DocumentEvent.EventType.CHANGE); fireChangedUpdate(evt); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/4701dc92d8eb3da9b7f829b98cf858de261361f6/DefinitionsDocument.java/clean/drjava/src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 4060, 5033, 1435, 288, 565, 509, 769, 273, 9888, 1435, 300, 389, 2972, 2735, 31, 565, 368, 8956, 5852, 18, 8698, 2524, 7675, 8222, 2932, 5033, 30, 315, 397, 389, 2972, 2735, 397, 3104, 315, 397, 769, 1769, 565, 4319, 1133, 6324, 273, 394, 2989, 2519, 1133, 24899, 2972, 2735, 16, 769, 16, 4319, 1133, 18, 16346, 18, 14473, 1769, 565, 4452, 5033, 1891, 12, 73, 11734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 4060, 5033, 1435, 288, 565, 509, 769, 273, 9888, 1435, 300, 389, 2972, 2735, 31, 565, 368, 8956, 5852, 18, 8698, 2524, 7675, 8222, 2932, 5033, 30, 315, 397, 389, 2972, 2735, 397, 3104, 315, 397, 769, 1769, 565, 4319, 1133, 6324, 273, 394, 2989, 2519, 1133, 24899, 2972, 2735, 16, 769, 16, 4319, 1133, 18, 16346, 18, 14473, 1769, 565, 4452, 5033, 1891, 12, 73, 11734, 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 ]
String result = "<" + name;
String result = "<" + name;
public String toStringOnOpenUnfinished() { String result = "<" + name; Iterator<String> i = attrs.keySet().iterator(); while (i.hasNext()) { String attrName = i.next(); String attrValue = attrs.get(attrName); result += " " + attrName + "=\"" + attrValue + "\""; } return result; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/fbebe792ba7d15ca09ee75a1c409e3a37b2da0db/XMLEncoder.java/buggy/modules/beans/src/main/java/java/beans/XMLEncoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 1762, 1398, 3678, 984, 13527, 1435, 288, 5411, 514, 563, 273, 18165, 397, 508, 31, 5411, 4498, 32, 780, 34, 277, 273, 3422, 18, 856, 694, 7675, 9838, 5621, 5411, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 7734, 514, 11583, 273, 277, 18, 4285, 5621, 7734, 514, 21676, 273, 3422, 18, 588, 12, 1747, 461, 1769, 7734, 563, 1011, 315, 315, 397, 11583, 397, 315, 13186, 397, 21676, 397, 11143, 31, 5411, 289, 5411, 327, 563, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 1762, 1398, 3678, 984, 13527, 1435, 288, 5411, 514, 563, 273, 18165, 397, 508, 31, 5411, 4498, 32, 780, 34, 277, 273, 3422, 18, 856, 694, 7675, 9838, 5621, 5411, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 7734, 514, 11583, 273, 277, 18, 4285, 5621, 7734, 514, 21676, 273, 3422, 18, 588, 12, 1747, 461, 1769, 7734, 563, 1011, 315, 315, 397, 11583, 397, 315, 13186, 397, 21676, 397, 11143, 31, 5411, 289, 5411, 327, 563, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IContributionItem[] items = getItems(); for (int i = 0; i < items.length; i++) { items[i].dispose(); }
IContributionItem[] items = getItems(); for (int i = 0; i < items.length; i++) { items[i].dispose(); }
public void dispose() { if (toolBarExist()) { toolBar.dispose(); } toolBar = null; IContributionItem[] items = getItems(); for (int i = 0; i < items.length; i++) { items[i].dispose(); } if (getContextMenuManager() != null) { getContextMenuManager().dispose(); setContextMenuManager(null); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/95cd7fe82387f3f7959231b5ddc4a9efad83986a/ToolBarManager.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/action/ToolBarManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 309, 261, 6738, 5190, 4786, 10756, 288, 5411, 5226, 5190, 18, 2251, 4150, 5621, 3639, 289, 3639, 5226, 5190, 273, 446, 31, 3639, 467, 442, 4027, 1180, 8526, 1516, 273, 15515, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 5411, 1516, 63, 77, 8009, 2251, 4150, 5621, 3639, 289, 3639, 309, 261, 588, 27315, 1318, 1435, 480, 446, 13, 288, 5411, 6474, 4599, 1318, 7675, 2251, 4150, 5621, 5411, 16615, 4599, 1318, 12, 2011, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 309, 261, 6738, 5190, 4786, 10756, 288, 5411, 5226, 5190, 18, 2251, 4150, 5621, 3639, 289, 3639, 5226, 5190, 273, 446, 31, 3639, 467, 442, 4027, 1180, 8526, 1516, 273, 15515, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 5411, 1516, 63, 77, 8009, 2251, 4150, 5621, 3639, 289, 3639, 309, 261, 588, 27315, 1318, 1435, 480, 446, 13, 288, 5411, 6474, 4599, 1318, 7675, 2251, 4150, 5621, 5411, 16615, 4599, 1318, 12, 2011, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
configOut.write(" <plugin name=\"testname\" "
configOut.write(" <plugin name=\"testname\" "
public void testRegisterPlugins() throws Exception { FileWriter configOut = new FileWriter(configFile); configOut.write("<?xml version=\"1.0\" ?>\n"); configOut.write("<cruisecontrol>\n"); configOut.write(" <plugin name=\"testname\" " + "classname=\"net.sourceforge.cruisecontrol.CruiseControllerTest\"/>\n"); configOut.write(" <plugin name=\"labelincrementer\" classname=\"my.global.Incrementer\"/>\n"); configOut.write("</cruisecontrol>\n"); configOut.close(); test.setConfigFile(configFile); PluginRegistry newRegistry = PluginRegistry.createRegistry(); assertTrue(newRegistry.isPluginRegistered("testname")); assertFalse(newRegistry.isPluginRegistered("unknown_plugin")); assertEquals(newRegistry.getPluginClassname("labelincrementer"), "my.global.Incrementer"); }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/65a4f612834e8d4d4b579436a6741b7e62b0f8c4/CruiseControlControllerTest.java/buggy/main/test/net/sourceforge/cruisecontrol/CruiseControlControllerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3996, 9461, 1435, 1216, 1185, 288, 3639, 24639, 642, 1182, 273, 394, 24639, 12, 1425, 812, 1769, 3639, 642, 1182, 18, 2626, 2932, 12880, 2902, 1177, 5189, 21, 18, 20, 2412, 692, 5333, 82, 8863, 3639, 642, 1182, 18, 2626, 2932, 32, 3353, 89, 291, 31313, 922, 5333, 82, 8863, 3639, 642, 1182, 18, 2626, 2932, 225, 411, 4094, 508, 5189, 3813, 529, 2412, 315, 7682, 397, 315, 18340, 5189, 2758, 18, 3168, 1884, 908, 18, 3353, 89, 291, 31313, 922, 18, 39, 8653, 784, 2933, 4709, 2412, 19, 5333, 82, 8863, 3639, 642, 1182, 18, 2626, 2932, 225, 411, 4094, 508, 5189, 1925, 15016, 264, 2412, 7479, 5189, 4811, 18, 6347, 18, 10798, 264, 2412, 19, 5333, 82, 8863, 3639, 642, 1182, 18, 2626, 2932, 1757, 3353, 89, 291, 31313, 922, 5333, 82, 8863, 3639, 642, 1182, 18, 4412, 5621, 3639, 1842, 18, 542, 13705, 12, 1425, 812, 1769, 3639, 6258, 4243, 394, 4243, 273, 6258, 4243, 18, 2640, 4243, 5621, 3639, 1815, 5510, 12, 2704, 4243, 18, 291, 3773, 10868, 2932, 3813, 529, 7923, 1769, 3639, 1815, 8381, 12, 2704, 4243, 18, 291, 3773, 10868, 2932, 8172, 67, 4094, 7923, 1769, 3639, 1815, 8867, 12, 2704, 4243, 18, 588, 3773, 20531, 2932, 1925, 15016, 264, 6, 3631, 315, 4811, 18, 6347, 18, 10798, 264, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3996, 9461, 1435, 1216, 1185, 288, 3639, 24639, 642, 1182, 273, 394, 24639, 12, 1425, 812, 1769, 3639, 642, 1182, 18, 2626, 2932, 12880, 2902, 1177, 5189, 21, 18, 20, 2412, 692, 5333, 82, 8863, 3639, 642, 1182, 18, 2626, 2932, 32, 3353, 89, 291, 31313, 922, 5333, 82, 8863, 3639, 642, 1182, 18, 2626, 2932, 225, 411, 4094, 508, 5189, 3813, 529, 2412, 315, 7682, 397, 315, 18340, 5189, 2758, 18, 3168, 1884, 908, 18, 3353, 89, 291, 31313, 922, 18, 39, 8653, 784, 2933, 4709, 2412, 19, 5333, 82, 8863, 3639, 642, 1182, 18, 2626, 2932, 225, 411, 4094, 508, 5189, 1925, 15016, 264, 2412, 7479, 5189, 4811, 18, 6347, 18, 10798, 264, 2 ]
private Color getColor(int i) {
public static Color getColor(int i) {
private Color getColor(int i) { switch(i) { case 0: return Color.blue; case 1: return Color.green; case 2: return Color.red; case 3: return Color.magenta; case 4: return Color.orange; default: int next = i; Color tempColor = getColor(i%5); while (next > 4) { next -= 5; tempColor = tempColor.darker(); } return tempColor; } }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/ca75ca7f999bc3cd1dbeb834f0b7a2e9f358e8ee/OptionsWindow.java/buggy/loci/plugins/browser/OptionsWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 5563, 15672, 12, 474, 277, 13, 288, 565, 1620, 12, 77, 13, 288, 1377, 648, 374, 30, 3639, 327, 5563, 18, 14081, 31, 1377, 648, 404, 30, 3639, 327, 5563, 18, 11571, 31, 1377, 648, 576, 30, 3639, 327, 5563, 18, 1118, 31, 1377, 648, 890, 30, 3639, 327, 5563, 18, 4527, 24066, 31, 1377, 648, 1059, 30, 3639, 327, 5563, 18, 280, 726, 31, 1377, 805, 30, 3639, 509, 1024, 273, 277, 31, 3639, 5563, 1906, 2957, 273, 15672, 12, 77, 9, 25, 1769, 3639, 1323, 261, 4285, 405, 1059, 13, 288, 1850, 1024, 3947, 1381, 31, 1850, 1906, 2957, 273, 1906, 2957, 18, 25045, 264, 5621, 3639, 289, 3639, 327, 1906, 2957, 31, 377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 5563, 15672, 12, 474, 277, 13, 288, 565, 1620, 12, 77, 13, 288, 1377, 648, 374, 30, 3639, 327, 5563, 18, 14081, 31, 1377, 648, 404, 30, 3639, 327, 5563, 18, 11571, 31, 1377, 648, 576, 30, 3639, 327, 5563, 18, 1118, 31, 1377, 648, 890, 30, 3639, 327, 5563, 18, 4527, 24066, 31, 1377, 648, 1059, 30, 3639, 327, 5563, 18, 280, 726, 31, 1377, 805, 30, 3639, 509, 1024, 273, 277, 31, 3639, 5563, 1906, 2957, 273, 15672, 12, 77, 9, 25, 1769, 3639, 1323, 261, 4285, 405, 1059, 13, 288, 1850, 1024, 3947, 1381, 31, 1850, 1906, 2957, 273, 1906, 2957, 18, 25045, 264, 5621, 3639, 289, 3639, 327, 1906, 2957, 31, 377, 2 ]
Logger.error(this, "Not connected completing a probe request from "+ctx.src+" (forwarding completion from "+src+")");
Logger.error(this, "Not connected completing a probe request from "+ctx.src+" (forwarding completion from "+src+ ')');
private boolean handleProbeReply(Message m, PeerNode src) { long id = m.getLong(DMT.UID); Long lid = new Long(id); double target = m.getDouble(DMT.TARGET_LOCATION); double best = m.getDouble(DMT.BEST_LOCATION); double nearest = m.getDouble(DMT.NEAREST_LOCATION); short counter = m.getShort(DMT.COUNTER); if(logMINOR) Logger.minor(this, "Probe reply: "+id+" "+target+" "+best+" "+nearest); // Just propagate back to source ProbeContext ctx; synchronized(recentProbeContexts) { ctx = (ProbeContext) recentProbeContexts.get(lid); if(ctx == null) { Logger.normal(this, "Could not forward probe reply back to source for ID "+id); return false; } recentProbeContexts.push(lid, ctx); // promote or add while(recentProbeContexts.size() > MAX_PROBE_CONTEXTS) recentProbeContexts.popValue(); } if(ctx.src != null) { Message complete = DMT.createFNPProbeReply(id, target, nearest, best, counter++); try { ctx.src.sendAsync(complete, null, 0, null); } catch (NotConnectedException e) { Logger.error(this, "Not connected completing a probe request from "+ctx.src+" (forwarding completion from "+src+")"); } } else { if(ctx.cb != null) complete("Completed", target, best, nearest, id, ctx, counter); } return true; }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/62fd59041864b4ed1f43adc676de6bfb5ea977f3/NodeDispatcher.java/clean/src/freenet/node/NodeDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1640, 21042, 7817, 12, 1079, 312, 16, 10669, 907, 1705, 13, 288, 202, 202, 5748, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 202, 202, 3708, 328, 350, 273, 394, 3407, 12, 350, 1769, 202, 202, 9056, 1018, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 16374, 67, 15277, 1769, 202, 202, 9056, 3796, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 5948, 882, 67, 15277, 1769, 202, 202, 9056, 11431, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 5407, 9332, 882, 67, 15277, 1769, 202, 202, 6620, 3895, 273, 312, 18, 588, 4897, 12, 40, 6152, 18, 7240, 654, 1769, 202, 202, 430, 12, 1330, 6236, 916, 13, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 21042, 4332, 30, 13773, 350, 9078, 13773, 3299, 9078, 13773, 12729, 9078, 13773, 25785, 1769, 377, 202, 759, 12526, 13551, 1473, 358, 1084, 202, 202, 21042, 1042, 1103, 31, 202, 202, 22043, 12, 20872, 21042, 15518, 13, 288, 1082, 202, 5900, 273, 261, 21042, 1042, 13, 8399, 21042, 15518, 18, 588, 12, 80, 350, 1769, 1082, 202, 430, 12, 5900, 422, 446, 13, 288, 9506, 202, 3328, 18, 6130, 12, 2211, 16, 315, 4445, 486, 5104, 10695, 4332, 1473, 358, 1084, 364, 1599, 13773, 350, 1769, 9506, 202, 2463, 629, 31, 1082, 202, 97, 1082, 202, 20872, 21042, 15518, 18, 6206, 12, 80, 350, 16, 1103, 1769, 368, 28374, 578, 527, 1082, 202, 17523, 12, 20872, 21042, 15518, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1640, 21042, 7817, 12, 1079, 312, 16, 10669, 907, 1705, 13, 288, 202, 202, 5748, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 202, 202, 3708, 328, 350, 273, 394, 3407, 12, 350, 1769, 202, 202, 9056, 1018, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 16374, 67, 15277, 1769, 202, 202, 9056, 3796, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 5948, 882, 67, 15277, 1769, 202, 202, 9056, 11431, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 5407, 9332, 882, 67, 15277, 1769, 202, 202, 6620, 3895, 273, 312, 18, 588, 4897, 12, 40, 6152, 18, 7240, 654, 1769, 202, 202, 430, 12, 1330, 6236, 916, 2 ]
public void visitINVOKESTATIC(INVOKESTATIC obj) { handleNormalInstruction(obj); }
public void visitINVOKESTATIC(INVOKESTATIC obj) { handleNormalInstruction(obj); }
public void visitINVOKESTATIC(INVOKESTATIC obj) { handleNormalInstruction(obj); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/4748a5a9b76f3dd763ee6bc7755c932a711bd6a6/AbstractFrameModelingVisitor.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 706, 17691, 11027, 11781, 12, 706, 17691, 11027, 11781, 1081, 13, 288, 1640, 5506, 11983, 12, 2603, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 706, 17691, 11027, 11781, 12, 706, 17691, 11027, 11781, 1081, 13, 288, 1640, 5506, 11983, 12, 2603, 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 ]
return antTypeTable.getExposedClass(componentName);
AntTypeDefinition def = getDefinition(componentName); if (def == null) { return null; } return def.getExposedClass(project);
public Class getComponentClass(String componentName) { return antTypeTable.getExposedClass(componentName); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/ca5799fd8c1780abcc25f63745faf95bd2cdb06a/ComponentHelper.java/clean/src/main/org/apache/tools/ant/ComponentHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 10322, 797, 12, 780, 20577, 13, 288, 3639, 18830, 559, 1852, 1652, 273, 12762, 12, 4652, 461, 1769, 309, 261, 536, 422, 446, 13, 288, 327, 446, 31, 289, 327, 1652, 18, 588, 424, 7423, 797, 12, 4406, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 10322, 797, 12, 780, 20577, 13, 288, 3639, 18830, 559, 1852, 1652, 273, 12762, 12, 4652, 461, 1769, 309, 261, 536, 422, 446, 13, 288, 327, 446, 31, 289, 327, 1652, 18, 588, 424, 7423, 797, 12, 4406, 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 ]
(PsiMethod) PsiTreeUtil.getParentOfType(methodNameToken,
PsiTreeUtil.getParentOfType(methodNameToken,
public void applyFix(Project project, ProblemDescriptor descriptor){ if(isQuickFixOnReadOnlyFile(project, descriptor)) return; try{ final PsiElement methodNameToken = descriptor.getPsiElement(); final PsiMethod method = (PsiMethod) PsiTreeUtil.getParentOfType(methodNameToken, PsiMethod.class); final PsiCodeBlock body = method.getBody(); final String replacementText; final PsiManager psiManager = PsiManager.getInstance(project); final CodeStyleManager codeStyleManager = psiManager.getCodeStyleManager(); final PsiElement[] children = body.getChildren(); final StringBuffer buffer = new StringBuffer(); final boolean[] containedTailCallInLoop = new boolean[1]; containedTailCallInLoop[0] = false; for(int i = 1; i < children.length; i++){ replaceTailCalls(children[i], method, buffer, containedTailCallInLoop); } final String labelString; if(containedTailCallInLoop[0]){ labelString = method.getName() + ':'; } else{ labelString = ""; } replacementText = '{' + labelString + "while(true){" + buffer + '}'; final PsiElementFactory elementFactory = psiManager.getElementFactory(); final PsiCodeBlock block = elementFactory.createCodeBlockFromText(replacementText, null); body.replace(block); codeStyleManager.reformat(method); } catch(IncorrectOperationException e){ } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/2d46d291193579a7564649b4881c7ea8e02eda5b/TailRecursionInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/TailRecursionInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2230, 8585, 12, 4109, 1984, 16, 11794, 21685, 3187, 4950, 15329, 5411, 309, 12, 291, 13663, 8585, 1398, 12066, 812, 12, 4406, 16, 4950, 3719, 327, 31, 5411, 775, 95, 7734, 727, 453, 7722, 1046, 4918, 1345, 273, 13491, 4950, 18, 588, 52, 7722, 1046, 5621, 7734, 727, 453, 7722, 1305, 707, 273, 13491, 453, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 2039, 461, 1345, 16, 4766, 27573, 453, 7722, 1305, 18, 1106, 1769, 7734, 727, 453, 7722, 1085, 1768, 1417, 273, 707, 18, 588, 2250, 5621, 7734, 727, 514, 6060, 1528, 31, 7734, 727, 453, 7722, 1318, 23921, 1318, 273, 453, 7722, 1318, 18, 588, 1442, 12, 4406, 1769, 7734, 727, 3356, 2885, 1318, 981, 2885, 1318, 273, 13491, 23921, 1318, 18, 588, 1085, 2885, 1318, 5621, 7734, 727, 453, 7722, 1046, 8526, 2325, 273, 1417, 18, 588, 4212, 5621, 7734, 727, 6674, 1613, 273, 394, 6674, 5621, 7734, 727, 1250, 8526, 7542, 12363, 1477, 382, 6452, 273, 394, 1250, 63, 21, 15533, 7734, 7542, 12363, 1477, 382, 6452, 63, 20, 65, 273, 629, 31, 7734, 364, 12, 474, 277, 273, 404, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 95, 10792, 1453, 12363, 10125, 12, 5906, 63, 77, 6487, 707, 16, 1613, 16, 7542, 12363, 1477, 382, 6452, 1769, 7734, 289, 7734, 727, 514, 1433, 780, 31, 7734, 309, 12, 1213, 8707, 12363, 1477, 382, 6452, 63, 20, 5717, 95, 10792, 1433, 780, 273, 707, 18, 17994, 1435, 397, 3921, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2230, 8585, 12, 4109, 1984, 16, 11794, 21685, 3187, 4950, 15329, 5411, 309, 12, 291, 13663, 8585, 1398, 12066, 812, 12, 4406, 16, 4950, 3719, 327, 31, 5411, 775, 95, 7734, 727, 453, 7722, 1046, 4918, 1345, 273, 13491, 4950, 18, 588, 52, 7722, 1046, 5621, 7734, 727, 453, 7722, 1305, 707, 273, 13491, 453, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 2039, 461, 1345, 16, 4766, 27573, 453, 7722, 1305, 18, 1106, 1769, 7734, 727, 453, 7722, 1085, 1768, 1417, 273, 707, 18, 588, 2250, 5621, 7734, 727, 514, 6060, 1528, 31, 7734, 727, 453, 7722, 1318, 23921, 1318, 273, 453, 7722, 1318, 18, 588, 1442, 12, 4406, 1769, 7734, 727, 3356, 2885, 1318, 2 ]
else return caseTable.getAllCases(key); }
else return caseTable.getAllCases(key); }
public WordForms getWordForms (String key, boolean csensitive) { WordForms wforms = new WordForms(key); if ( WordQuery.isWildcard(key) ) return caseTable.getAllPrefixMatches(key, csensitive); if (csensitive) { wforms.addElement(key); return wforms; } else return caseTable.getAllCases(key); }
55997 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55997/d9c398b6a96694293062ede8d2a45ea00b897817/Dictionary.java/clean/trunk/src/modnlp/idx/database/Dictionary.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9926, 18529, 336, 3944, 18529, 261, 780, 498, 16, 1250, 2873, 6536, 13, 202, 95, 202, 202, 3944, 18529, 341, 9741, 273, 394, 9926, 18529, 12, 856, 1769, 565, 309, 261, 9926, 1138, 18, 291, 12121, 12, 856, 13, 262, 1377, 327, 648, 1388, 18, 588, 1595, 2244, 6869, 12, 856, 16, 2873, 6536, 1769, 377, 202, 202, 430, 261, 2143, 6536, 13, 288, 1377, 341, 9741, 18, 1289, 1046, 12, 856, 1769, 1377, 327, 341, 9741, 31, 565, 289, 1082, 202, 12107, 1082, 225, 327, 648, 1388, 18, 588, 1595, 30744, 12, 856, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 9926, 18529, 336, 3944, 18529, 261, 780, 498, 16, 1250, 2873, 6536, 13, 202, 95, 202, 202, 3944, 18529, 341, 9741, 273, 394, 9926, 18529, 12, 856, 1769, 565, 309, 261, 9926, 1138, 18, 291, 12121, 12, 856, 13, 262, 1377, 327, 648, 1388, 18, 588, 1595, 2244, 6869, 12, 856, 16, 2873, 6536, 1769, 377, 202, 202, 430, 261, 2143, 6536, 13, 288, 1377, 341, 9741, 18, 1289, 1046, 12, 856, 1769, 1377, 327, 341, 9741, 31, 565, 289, 1082, 202, 12107, 1082, 225, 327, 648, 1388, 18, 588, 1595, 30744, 12, 856, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
label.setFont(font); data = new GridData(); data.widthHint = TABLES_WIDTH; label.setLayoutData(data);
label.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
private Composite createActionSetsPage(Composite parent) { GridData data; Font font = parent.getFont(); Composite actionSetsComposite = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); actionSetsComposite.setLayout(layout); data = new GridData(GridData.FILL_BOTH); actionSetsComposite.setLayoutData(data); // Select... label Label label = new Label(actionSetsComposite, SWT.WRAP); label .setText(NLS.bind(WorkbenchMessages.ActionSetSelection_selectActionSetsLabel,perspective.getDesc().getLabel() )); data = new GridData(GridData.FILL_BOTH); data.widthHint = TABLES_WIDTH; label.setLayoutData(data); Label sep = new Label(actionSetsComposite, SWT.HORIZONTAL | SWT.SEPARATOR); data = new GridData(GridData.FILL_HORIZONTAL); sep.setLayoutData(data); SashForm sashComposite = new SashForm(actionSetsComposite, SWT.HORIZONTAL); data = new GridData(GridData.FILL_BOTH); data.heightHint = TABLE_HEIGHT; data.widthHint = TABLES_WIDTH; sashComposite.setLayoutData(data); // Action Set List Composite Composite actionSetGroup = new Composite(sashComposite, SWT.NONE); layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; actionSetGroup.setLayout(layout); data = new GridData(GridData.FILL_BOTH); actionSetGroup.setLayoutData(data); label = new Label(actionSetGroup, SWT.NONE); label.setText(WorkbenchMessages.ActionSetSelection_availableActionSets); actionSetsViewer = CheckboxTableViewer.newCheckList(actionSetGroup, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL); data = new GridData(GridData.FILL_BOTH); actionSetsViewer.getTable().setLayoutData(data); actionSetsViewer.getTable().setFont(font); actionSetsViewer.setLabelProvider(new WorkbenchLabelProvider()); actionSetsViewer.setContentProvider(new ArrayContentProvider()); actionSetsViewer.setSorter(new ActionSetSorter()); // Action list Group Composite actionItemGroup = new Composite(sashComposite, SWT.NONE); layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; layout.horizontalSpacing = 5; actionItemGroup.setLayout(layout); data = new GridData(GridData.FILL_BOTH); actionItemGroup.setLayoutData(data); Composite actionGroup = new Composite(actionItemGroup, SWT.NULL); layout = new GridLayout(); layout.numColumns = 2; layout.makeColumnsEqualWidth = true; layout.marginHeight = 0; layout.marginWidth = 0; layout.horizontalSpacing = 0; actionGroup.setLayout(layout); data = new GridData(GridData.FILL_BOTH); actionGroup.setLayoutData(data); label = new Label(actionGroup, SWT.NONE); label.setText(WorkbenchMessages.ActionSetSelection_menubarActions); label.setFont(font); label = new Label(actionGroup, SWT.NONE); label.setText(WorkbenchMessages.ActionSetSelection_toolbarActions); label.setFont(font); actionSetMenuViewer = new TreeViewer(actionGroup); actionSetMenuViewer.setAutoExpandLevel(AbstractTreeViewer.ALL_LEVELS); data = new GridData(GridData.FILL_BOTH); actionSetMenuViewer.getControl().setLayoutData(data); actionSetMenuViewer.setLabelProvider(new ActionSetLabelProvider()); actionSetMenuViewer.setContentProvider(new TreeContentProvider()); actionSetToolbarViewer = new TreeViewer(actionGroup); actionSetToolbarViewer.setAutoExpandLevel(AbstractTreeViewer.ALL_LEVELS); data = new GridData(GridData.FILL_BOTH); actionSetToolbarViewer.getControl().setLayoutData(data); actionSetToolbarViewer .setLabelProvider(new ActionSetLabelProvider()); actionSetToolbarViewer.setContentProvider(new TreeContentProvider()); sashComposite.setWeights(new int[] { 30, 70 }); // Use F2... label label = new Label(actionSetsComposite, SWT.WRAP); label.setText(WorkbenchMessages.ActionSetSelection_selectActionSetsHelp); label.setFont(font); data = new GridData(); data.widthHint = TABLES_WIDTH; label.setLayoutData(data); return actionSetsComposite; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/39d8acd891cda5d49cf8422de646b16709c6c856/CustomizePerspectiveDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CustomizePerspectiveDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 14728, 752, 1803, 2785, 1964, 12, 9400, 982, 13, 288, 3639, 7145, 751, 501, 31, 3639, 10063, 3512, 273, 982, 18, 588, 5711, 5621, 3639, 14728, 1301, 2785, 9400, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 3744, 3511, 273, 394, 7145, 3744, 5621, 3639, 1301, 2785, 9400, 18, 542, 3744, 12, 6741, 1769, 3639, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 1301, 2785, 9400, 18, 542, 3744, 751, 12, 892, 1769, 3639, 368, 6766, 2777, 1433, 3639, 5287, 1433, 273, 394, 5287, 12, 1128, 2785, 9400, 16, 348, 8588, 18, 27664, 1769, 3639, 1433, 7734, 263, 542, 1528, 12, 5106, 18, 4376, 12, 2421, 22144, 5058, 18, 1803, 694, 6233, 67, 4025, 1803, 2785, 2224, 16, 10422, 16772, 18, 588, 4217, 7675, 588, 2224, 1435, 262, 1769, 3639, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 501, 18, 2819, 7002, 273, 7567, 55, 67, 10023, 31, 3639, 1433, 18, 542, 3744, 751, 12, 892, 1769, 3639, 5287, 5478, 273, 394, 5287, 12, 1128, 2785, 9400, 16, 348, 8588, 18, 44, 20344, 7734, 571, 348, 8588, 18, 4550, 1769, 3639, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 3639, 5478, 18, 542, 3744, 751, 12, 892, 1769, 3639, 348, 961, 1204, 272, 961, 9400, 273, 394, 348, 961, 1204, 12, 1128, 2785, 9400, 16, 7734, 348, 8588, 18, 44, 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, 14728, 752, 1803, 2785, 1964, 12, 9400, 982, 13, 288, 3639, 7145, 751, 501, 31, 3639, 10063, 3512, 273, 982, 18, 588, 5711, 5621, 3639, 14728, 1301, 2785, 9400, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 3744, 3511, 273, 394, 7145, 3744, 5621, 3639, 1301, 2785, 9400, 18, 542, 3744, 12, 6741, 1769, 3639, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 1301, 2785, 9400, 18, 542, 3744, 751, 12, 892, 1769, 3639, 368, 6766, 2777, 1433, 3639, 5287, 1433, 273, 394, 5287, 12, 1128, 2785, 9400, 16, 348, 8588, 18, 27664, 1769, 3639, 1433, 7734, 263, 542, 1528, 12, 5106, 18, 4376, 12, 2 ]
return create(f, true, getConf().getInt("io.file.buffer.size", 4096));
return create(f, true, getConf().getInt("io.file.buffer.size", 4096), (short)getConf().getInt("dfs.replication", 3));
public FSDataOutputStream create(File f) throws IOException { return create(f, true, getConf().getInt("io.file.buffer.size", 4096)); }
51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/ba0ca973d8fbf49c1b7c2d29e7763226576364e8/FileSystem.java/clean/src/java/org/apache/hadoop/fs/FileSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9247, 751, 4632, 752, 12, 812, 284, 13, 1216, 1860, 288, 1377, 327, 752, 12, 74, 16, 638, 16, 28836, 7675, 588, 1702, 2932, 1594, 18, 768, 18, 4106, 18, 1467, 3113, 16797, 3631, 261, 6620, 13, 588, 3976, 7675, 588, 1702, 2932, 12381, 18, 25814, 3113, 890, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9247, 751, 4632, 752, 12, 812, 284, 13, 1216, 1860, 288, 1377, 327, 752, 12, 74, 16, 638, 16, 28836, 7675, 588, 1702, 2932, 1594, 18, 768, 18, 4106, 18, 1467, 3113, 16797, 3631, 261, 6620, 13, 588, 3976, 7675, 588, 1702, 2932, 12381, 18, 25814, 3113, 890, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 TA_RetCode CDLPIERCING( int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[] ){ double []BodyLongPeriodTotal = new double[2]; ; int i, outIdx, totIdx, BodyLongTrailingIdx, lookbackTotal; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLPIERCING_Lookback (); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } BodyLongPeriodTotal[1] = 0; BodyLongPeriodTotal[0] = 0; BodyLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) ; i = BodyLongTrailingIdx; while( i < startIdx ) { BodyLongPeriodTotal[1] += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ; BodyLongPeriodTotal[0] += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ; i++; } i = startIdx; outIdx = 0; do { if( ( inClose[i-1] >= inOpen[i-1] ? 1 : -1 ) == -1 && ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) > ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) != 0.0? BodyLongPeriodTotal[1] / (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && ( inClose[i] >= inOpen[i] ? 1 : -1 ) == 1 && ( Math.abs ( inClose[i] - inOpen[i] ) ) > ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) != 0.0? BodyLongPeriodTotal[0] / (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && inOpen[i] < inLow[i-1] && inClose[i] < inOpen[i-1] && inClose[i] > inClose[i-1] + ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) * 0.5 ) outInteger[outIdx++] = 100; else outInteger[outIdx++] = 0; for (totIdx = 1; totIdx >= 0; --totIdx) BodyLongPeriodTotal[totIdx] += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-totIdx] - inOpen[i-totIdx] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-totIdx] - inLow[i-totIdx] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-totIdx] - ( inClose[i-totIdx] >= inOpen[i-totIdx] ? inClose[i-totIdx] : inOpen[i-totIdx] ) ) + ( ( inClose[i-totIdx] >= inOpen[i-totIdx] ? inOpen[i-totIdx] : inClose[i-totIdx] ) - inLow[i-totIdx] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[BodyLongTrailingIdx-totIdx] - inOpen[BodyLongTrailingIdx-totIdx] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[BodyLongTrailingIdx-totIdx] - inLow[BodyLongTrailingIdx-totIdx] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[BodyLongTrailingIdx-totIdx] - ( inClose[BodyLongTrailingIdx-totIdx] >= inOpen[BodyLongTrailingIdx-totIdx] ? inClose[BodyLongTrailingIdx-totIdx] : inOpen[BodyLongTrailingIdx-totIdx] ) ) + ( ( inClose[BodyLongTrailingIdx-totIdx] >= inOpen[BodyLongTrailingIdx-totIdx] ? inOpen[BodyLongTrailingIdx-totIdx] : inClose[BodyLongTrailingIdx-totIdx] ) - inLow[BodyLongTrailingIdx-totIdx] ) : 0 ) ) ) ; i++; BodyLongTrailingIdx++; } while( i <= endIdx ); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode. TA_SUCCESS;}
51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/1a230e9b7099cbd2b7e9eb1294130ca009bfedf4/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 399, 37, 67, 7055, 1085, 385, 8914, 1102, 654, 39, 1360, 12, 509, 27108, 16, 509, 679, 4223, 16, 1645, 316, 3678, 63, 6487, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 490, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 8526, 262, 95, 9056, 5378, 2250, 3708, 5027, 5269, 273, 394, 1645, 63, 22, 15533, 274, 509, 277, 16, 596, 4223, 16, 9997, 4223, 16, 5652, 3708, 16808, 4223, 16, 2324, 823, 5269, 31, 309, 12, 27108, 411, 374, 262, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 309, 12, 261, 409, 4223, 411, 374, 13, 747, 261, 409, 4223, 411, 27108, 3719, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 2324, 823, 5269, 273, 39, 8914, 1102, 654, 39, 1360, 67, 9794, 823, 261, 1769, 309, 12, 27108, 411, 2324, 823, 5269, 262, 27108, 273, 2324, 823, 5269, 31, 309, 12, 27108, 405, 679, 4223, 262, 288, 659, 24059, 4223, 18, 1132, 273, 374, 274, 659, 22816, 1046, 18, 1132, 273, 374, 274, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 12778, 31, 289, 5652, 3708, 5027, 5269, 63, 21, 65, 273, 374, 31, 5652, 3708, 5027, 5269, 63, 20, 65, 273, 374, 31, 5652, 3708, 16808, 4223, 273, 27108, 300, 12, 2211, 18, 71, 464, 298, 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, 1071, 399, 37, 67, 7055, 1085, 385, 8914, 1102, 654, 39, 1360, 12, 509, 27108, 16, 509, 679, 4223, 16, 1645, 316, 3678, 63, 6487, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 490, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 8526, 262, 95, 9056, 5378, 2250, 3708, 5027, 5269, 273, 394, 1645, 63, 22, 15533, 274, 509, 277, 16, 596, 4223, 16, 9997, 4223, 16, 5652, 3708, 16808, 4223, 16, 2324, 823, 5269, 31, 309, 12, 27108, 411, 374, 262, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 309, 12, 261, 409, 2 ]
setStyleProperty( style, Style.DATE_TIME_FORMAT_PROP, dataTimeFormat.getPattern( ) );
setStyleProperty( style, Style.DATE_TIME_FORMAT_PROP, ( (DateTimeFormatValue) value ).getPattern( ) );
protected void setupDistinctStyleProperties( StyleDesign style, DesignElementHandle handle, DesignElementHandle parentHandle ) { // Background setStyleProperty( style, Style.BACKGROUND_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BACKGROUND_COLOR_PROP ) ); setStyleProperty( style, Style.BACKGROUND_IMAGE_PROP, getDistinctProperty( handle, parentHandle, Style.BACKGROUND_IMAGE_PROP ) ); setStyleProperty( style, Style.BACKGROUND_POSITION_X_PROP, getDistinctProperty( handle, parentHandle, Style.BACKGROUND_POSITION_X_PROP ) ); setStyleProperty( style, Style.BACKGROUND_POSITION_Y_PROP, getDistinctProperty( handle, parentHandle, Style.BACKGROUND_POSITION_Y_PROP ) ); setStyleProperty( style, Style.BACKGROUND_REPEAT_PROP, getDistinctProperty( handle, parentHandle, Style.BACKGROUND_REPEAT_PROP ) ); // Text related setStyleProperty( style, Style.TEXT_ALIGN_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_ALIGN_PROP ) ); setStyleProperty( style, Style.TEXT_INDENT_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_INDENT_PROP ) ); setStyleProperty( style, Style.LETTER_SPACING_PROP, getDistinctProperty( handle, parentHandle, Style.LETTER_SPACING_PROP ) ); setStyleProperty( style, Style.LINE_HEIGHT_PROP, getDistinctProperty( handle, parentHandle, Style.LINE_HEIGHT_PROP ) ); setStyleProperty( style, Style.ORPHANS_PROP, getDistinctProperty( handle, parentHandle, Style.ORPHANS_PROP ) ); setStyleProperty( style, Style.TEXT_TRANSFORM_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_TRANSFORM_PROP ) ); setStyleProperty( style, Style.VERTICAL_ALIGN_PROP, getDistinctProperty( handle, parentHandle, Style.VERTICAL_ALIGN_PROP ) ); setStyleProperty( style, Style.WHITE_SPACE_PROP, getDistinctProperty( handle, parentHandle, Style.WHITE_SPACE_PROP ) ); setStyleProperty( style, Style.WIDOWS_PROP, getDistinctProperty( handle, parentHandle, Style.WIDOWS_PROP ) ); setStyleProperty( style, Style.WORD_SPACING_PROP, getDistinctProperty( handle, parentHandle, Style.WORD_SPACING_PROP ) ); // Section properties setStyleProperty( style, Style.DISPLAY_PROP, getDistinctProperty( handle, parentHandle, Style.DISPLAY_PROP ) ); setStyleProperty( style, Style.MASTER_PAGE_PROP, getDistinctProperty( handle, parentHandle, Style.MASTER_PAGE_PROP ) ); setStyleProperty( style, Style.PAGE_BREAK_AFTER_PROP, getDistinctProperty( handle, parentHandle, Style.PAGE_BREAK_AFTER_PROP ) ); setStyleProperty( style, Style.PAGE_BREAK_BEFORE_PROP, getDistinctProperty( handle, parentHandle, Style.PAGE_BREAK_BEFORE_PROP ) ); setStyleProperty( style, Style.PAGE_BREAK_INSIDE_PROP, getDistinctProperty( handle, parentHandle, Style.PAGE_BREAK_INSIDE_PROP ) ); setStyleProperty( style, Style.SHOW_IF_BLANK_PROP, getDistinctProperty( handle, parentHandle, Style.SHOW_IF_BLANK_PROP ) ); setStyleProperty( style, Style.CAN_SHRINK_PROP, getDistinctProperty( handle, parentHandle, Style.CAN_SHRINK_PROP ) ); // Font related setStyleProperty( style, Style.FONT_FAMILY_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_FAMILY_PROP ) ); setStyleProperty( style, Style.COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.COLOR_PROP ) ); setStyleProperty( style, Style.FONT_SIZE_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_SIZE_PROP ) ); setStyleProperty( style, Style.FONT_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_STYLE_PROP ) ); setStyleProperty( style, Style.FONT_WEIGHT_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_WEIGHT_PROP ) ); setStyleProperty( style, Style.FONT_VARIANT_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_VARIANT_PROP ) ); // Text decoration setStyleProperty( style, Style.TEXT_LINE_THROUGH_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_LINE_THROUGH_PROP ) ); setStyleProperty( style, Style.TEXT_OVERLINE_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_OVERLINE_PROP ) ); setStyleProperty( style, Style.TEXT_UNDERLINE_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_UNDERLINE_PROP ) ); // Border setStyleProperty( style, Style.BORDER_BOTTOM_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BORDER_BOTTOM_COLOR_PROP ) ); setStyleProperty( style, Style.BORDER_BOTTOM_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_BOTTOM_STYLE_PROP ) ); setStyleProperty( style, Style.BORDER_BOTTOM_WIDTH_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_BOTTOM_WIDTH_PROP ) ); setStyleProperty( style, Style.BORDER_LEFT_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BORDER_LEFT_COLOR_PROP ) ); setStyleProperty( style, Style.BORDER_LEFT_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_LEFT_STYLE_PROP ) ); setStyleProperty( style, Style.BORDER_LEFT_WIDTH_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_LEFT_WIDTH_PROP ) ); setStyleProperty( style, Style.BORDER_RIGHT_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BORDER_RIGHT_COLOR_PROP ) ); setStyleProperty( style, Style.BORDER_RIGHT_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_RIGHT_STYLE_PROP ) ); setStyleProperty( style, Style.BORDER_RIGHT_WIDTH_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_RIGHT_WIDTH_PROP ) ); setStyleProperty( style, Style.BORDER_TOP_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BORDER_TOP_COLOR_PROP ) ); setStyleProperty( style, Style.BORDER_TOP_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_TOP_STYLE_PROP ) ); setStyleProperty( style, Style.BORDER_TOP_WIDTH_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_TOP_WIDTH_PROP ) ); // Margin setStyleProperty( style, Style.MARGIN_TOP_PROP, getDistinctProperty( handle, parentHandle, Style.MARGIN_TOP_PROP ) ); setStyleProperty( style, Style.MARGIN_LEFT_PROP, getDistinctProperty( handle, parentHandle, Style.MARGIN_LEFT_PROP ) ); setStyleProperty( style, Style.MARGIN_BOTTOM_PROP, getDistinctProperty( handle, parentHandle, Style.MARGIN_BOTTOM_PROP ) ); setStyleProperty( style, Style.MARGIN_RIGHT_PROP, getDistinctProperty( handle, parentHandle, Style.MARGIN_RIGHT_PROP ) ); // Padding setStyleProperty( style, Style.PADDING_TOP_PROP, getDistinctProperty( handle, parentHandle, Style.PADDING_TOP_PROP ) ); setStyleProperty( style, Style.PADDING_LEFT_PROP, getDistinctProperty( handle, parentHandle, Style.PADDING_LEFT_PROP ) ); setStyleProperty( style, Style.PADDING_BOTTOM_PROP, getDistinctProperty( handle, parentHandle, Style.PADDING_BOTTOM_PROP ) ); setStyleProperty( style, Style.PADDING_RIGHT_PROP, getDistinctProperty( handle, parentHandle, Style.PADDING_RIGHT_PROP ) ); // Data Formatting DateTimeFormatValue dataTimeFormat = (DateTimeFormatValue) handle .getProperty( Style.DATE_TIME_FORMAT_PROP ); if ( dataTimeFormat != null ) { setStyleProperty( style, Style.DATE_TIME_FORMAT_PROP, dataTimeFormat.getPattern( ) ); } NumberFormatValue numberFormat = (NumberFormatValue) handle .getProperty( Style.NUMBER_FORMAT_PROP ); if ( numberFormat != null ) { setStyleProperty( style, Style.NUMBER_FORMAT_PROP, numberFormat .getPattern( ) ); } setStyleProperty( style, Style.NUMBER_ALIGN_PROP, handle .getProperty( Style.NUMBER_ALIGN_PROP ) ); StringFormatValue stringFormat = (StringFormatValue) handle .getProperty( Style.STRING_FORMAT_PROP ); if ( stringFormat != null ) { setStyleProperty( style, Style.STRING_FORMAT_PROP, stringFormat .getPattern( ) ); } //Others /* * setStyleProperty( style, Style.CAN_SHRINK_PROP, handle.getProperty( Style.CAN_SHRINK_PROP ) ); * setStyleProperty( style, Style.SHOW_IF_BLANK_PROP, handle.getProperty( Style.SHOW_IF_BLANK_PROP ) ); */ setStyleProperty( style, Style.MASTER_PAGE_PROP, handle.getProperty( Style.MASTER_PAGE_PROP ) ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/3205466df57ae789fba321b14ed4fccf5a285020/EngineIRVisitor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3875, 23402, 2885, 2297, 12, 9767, 15478, 2154, 16, 1082, 202, 15478, 1046, 3259, 1640, 16, 29703, 1046, 3259, 982, 3259, 262, 202, 95, 202, 202, 759, 8977, 202, 202, 542, 2885, 1396, 12, 2154, 16, 9767, 18, 8720, 20166, 67, 10989, 67, 15811, 16, 9506, 202, 588, 23402, 2957, 1396, 12, 1640, 16, 982, 3259, 16, 9767, 18, 8720, 20166, 67, 10989, 67, 15811, 262, 11272, 202, 202, 542, 2885, 1396, 12, 2154, 16, 9767, 18, 8720, 20166, 67, 13603, 67, 15811, 16, 9506, 202, 588, 23402, 1396, 12, 1640, 16, 982, 3259, 16, 9767, 18, 8720, 20166, 67, 13603, 67, 15811, 262, 11272, 202, 202, 542, 2885, 1396, 12, 2154, 16, 9767, 18, 8720, 20166, 67, 15258, 67, 60, 67, 15811, 16, 9506, 202, 588, 23402, 1396, 12, 1640, 16, 982, 3259, 16, 9767, 18, 8720, 20166, 67, 15258, 67, 60, 67, 15811, 262, 11272, 202, 202, 542, 2885, 1396, 12, 2154, 16, 9767, 18, 8720, 20166, 67, 15258, 67, 61, 67, 15811, 16, 9506, 202, 588, 23402, 1396, 12, 1640, 16, 982, 3259, 16, 9767, 18, 8720, 20166, 67, 15258, 67, 61, 67, 15811, 262, 11272, 202, 202, 542, 2885, 1396, 12, 2154, 16, 9767, 18, 8720, 20166, 67, 862, 31804, 67, 15811, 16, 9506, 202, 588, 23402, 1396, 12, 1640, 16, 982, 3259, 16, 9767, 18, 8720, 20166, 67, 862, 31804, 67, 15811, 262, 11272, 202, 202, 759, 3867, 3746, 202, 202, 542, 2885, 1396, 12, 2154, 16, 9767, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3875, 23402, 2885, 2297, 12, 9767, 15478, 2154, 16, 1082, 202, 15478, 1046, 3259, 1640, 16, 29703, 1046, 3259, 982, 3259, 262, 202, 95, 202, 202, 759, 8977, 202, 202, 542, 2885, 1396, 12, 2154, 16, 9767, 18, 8720, 20166, 67, 10989, 67, 15811, 16, 9506, 202, 588, 23402, 2957, 1396, 12, 1640, 16, 982, 3259, 16, 9767, 18, 8720, 20166, 67, 10989, 67, 15811, 262, 11272, 202, 202, 542, 2885, 1396, 12, 2154, 16, 9767, 18, 8720, 20166, 67, 13603, 67, 15811, 16, 9506, 202, 588, 23402, 1396, 12, 1640, 16, 982, 3259, 16, 9767, 18, 8720, 20166, 67, 13603, 67, 15811, 262, 11272, 202, 202, 542, 2885, 1396, 12, 2154, 16, 9767, 18, 2 ]
private synchronized WSDDArtifactEdit getWSArtifactEdit(IProject handle) { WSDDArtifactEdit artifactEdit = (WSDDArtifactEdit) getWSArtifactEdits().get(handle);
private WSDDArtifactEdit getWSArtifactEdit(IProject handle) { WSDDArtifactEdit artifactEdit = (WSDDArtifactEdit) wsArtifactEdits.get(handle);
private synchronized WSDDArtifactEdit getWSArtifactEdit(IProject handle) { WSDDArtifactEdit artifactEdit = (WSDDArtifactEdit) getWSArtifactEdits().get(handle); if (artifactEdit == null) { artifactEdit = WSDDArtifactEdit.getWSDDArtifactEditForRead(handle); if (artifactEdit != null) { artifactEdit.addListener(this); getWSArtifactEdits().put(handle,artifactEdit); } } return artifactEdit; }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/7e6f7c743cce4571bba8d7771cc2541a12e90e16/WebServicesManager.java/clean/plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/helper/WebServicesManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3852, 7649, 5698, 7581, 4666, 336, 2651, 7581, 4666, 12, 45, 4109, 1640, 13, 288, 202, 202, 2651, 5698, 7581, 4666, 6462, 4666, 273, 261, 2651, 5698, 7581, 4666, 13, 336, 2651, 7581, 2671, 1282, 7675, 588, 12, 4110, 1769, 202, 202, 430, 261, 17706, 4666, 422, 446, 13, 288, 1082, 202, 17706, 4666, 273, 7649, 5698, 7581, 4666, 18, 588, 2651, 5698, 7581, 4666, 1290, 1994, 12, 4110, 1769, 1082, 202, 430, 261, 17706, 4666, 480, 446, 13, 288, 9506, 202, 17706, 4666, 18, 1289, 2223, 12, 2211, 1769, 9506, 202, 588, 2651, 7581, 2671, 1282, 7675, 458, 12, 4110, 16, 17706, 4666, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 6462, 4666, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3852, 7649, 5698, 7581, 4666, 336, 2651, 7581, 4666, 12, 45, 4109, 1640, 13, 288, 202, 202, 2651, 5698, 7581, 4666, 6462, 4666, 273, 261, 2651, 5698, 7581, 4666, 13, 336, 2651, 7581, 2671, 1282, 7675, 588, 12, 4110, 1769, 202, 202, 430, 261, 17706, 4666, 422, 446, 13, 288, 1082, 202, 17706, 4666, 273, 7649, 5698, 7581, 4666, 18, 588, 2651, 5698, 7581, 4666, 1290, 1994, 12, 4110, 1769, 1082, 202, 430, 261, 17706, 4666, 480, 446, 13, 288, 9506, 202, 17706, 4666, 18, 1289, 2223, 12, 2211, 1769, 9506, 202, 588, 2651, 7581, 2671, 1282, 7675, 458, 12, 4110, 16, 17706, 4666, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 6462, 4666, 2 ]
public final boolean isReadOnly()
public boolean isReadOnly()
public final boolean isReadOnly() { return getFlag(READ_ONLY); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/954c69e89c728569f1e63414093549f1dc4fca68/Buffer.java/clean/org/gjt/sp/jedit/Buffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 1250, 26249, 1435, 202, 95, 202, 202, 2463, 336, 4678, 12, 6949, 67, 10857, 1769, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 1250, 26249, 1435, 202, 95, 202, 202, 2463, 336, 4678, 12, 6949, 67, 10857, 1769, 202, 97, 368, 9090, 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 ]
public org.quickfix.field.Issuer getIssuer() throws FieldNotFound { org.quickfix.field.Issuer value = new org.quickfix.field.Issuer();
public quickfix.field.Issuer getIssuer() throws FieldNotFound { quickfix.field.Issuer value = new quickfix.field.Issuer();
public org.quickfix.field.Issuer getIssuer() throws FieldNotFound { org.quickfix.field.Issuer value = new org.quickfix.field.Issuer(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/DontKnowTrade.java/buggy/src/java/src/quickfix/fix42/DontKnowTrade.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 16667, 336, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 16667, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16667, 336, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 16667, 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, -100, -100, -100, -100, -100, -100, -100, -100 ]
long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } in.readFully(sbytes);
long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); } in.read(sbytes);
public static Hashtable getIFD(RandomAccessStream in, long ifdNum, long globalOffset, long offset, boolean littleEndian) throws IOException { Hashtable ifd = new Hashtable(); // save little-endian flag to internal LITTLE_ENDIAN tag ifd.put(new Integer(LITTLE_ENDIAN), new Boolean(littleEndian)); // read in directory entries for this IFD if (DEBUG) { debug("getIFDs: seeking IFD #" + ifdNum + " at " + (globalOffset != 0 ? (globalOffset + "+" + offset) : ("" + offset))); } in.seek(globalOffset + offset); int numEntries = DataTools.read2UnsignedBytes(in, littleEndian); if (DEBUG) debug("getIFDs: " + numEntries + " directory entries to read"); if (numEntries == 0 || numEntries == 1) return ifd; for (int i=0; i<numEntries; i++) { in.seek(globalOffset + offset + 2 + 12 * i); int tag = DataTools.read2UnsignedBytes(in, littleEndian); int type = DataTools.read2UnsignedBytes(in, littleEndian); int count = (int) DataTools.read4UnsignedBytes(in, littleEndian); if (DEBUG) { debug("getIFDs: read " + getIFDTagName(tag) + " (type=" + getIFDTypeName(type) + "; count=" + count + ")"); } if (count < 0) return null; // invalid data Object value = null; if (type == BYTE) { // 8-bit unsigned integer short[] bytes = new short[count]; if (count > 4) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { bytes[j] = DataTools.readUnsignedByte(in); } if (bytes.length == 1) value = new Short(bytes[0]); else value = bytes; } else if (type == ASCII) { // 8-bit byte that contain a 7-bit ASCII code; // the last byte must be NUL (binary zero) byte[] ascii = new byte[count]; if (count > 4) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } in.readFully(ascii); // count number of null terminators int nullCount = 0; for (int j=0; j<count; j++) { if (ascii[j] == 0 || j == count - 1) nullCount++; } // convert character array to array of strings String[] strings = new String[nullCount]; int c = 0, ndx = -1; for (int j=0; j<count; j++) { if (ascii[j] == 0) { strings[c++] = new String(ascii, ndx + 1, j - ndx - 1); ndx = j; } else if (j == count - 1) { // handle non-null-terminated strings strings[c++] = new String(ascii, ndx + 1, j - ndx); } } if (strings.length == 1) value = strings[0]; else value = strings; } else if (type == SHORT) { // 16-bit (2-byte) unsigned integer int[] shorts = new int[count]; if (count > 2) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { shorts[j] = DataTools.read2UnsignedBytes(in, littleEndian); } if (shorts.length == 1) value = new Integer(shorts[0]); else value = shorts; } else if (type == LONG) { // 32-bit (4-byte) unsigned integer long[] longs = new long[count]; if (count > 1) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { longs[j] = DataTools.read4UnsignedBytes(in, littleEndian); } if (longs.length == 1) value = new Long(longs[0]); else value = longs; } else if (type == RATIONAL) { // Two LONGs: the first represents the numerator of a fraction; // the second, the denominator TiffRational[] rationals = new TiffRational[count]; long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); for (int j=0; j<count; j++) { long numer = DataTools.read4UnsignedBytes(in, littleEndian); long denom = DataTools.read4UnsignedBytes(in, littleEndian); rationals[j] = new TiffRational(numer, denom); } if (rationals.length == 1) value = rationals[0]; else value = rationals; } else if (type == SBYTE || type == UNDEFINED) { // SBYTE: An 8-bit signed (twos-complement) integer // UNDEFINED: An 8-bit byte that may contain anything, // depending on the definition of the field byte[] sbytes = new byte[count]; if (count > 4) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } in.readFully(sbytes); if (sbytes.length == 1) value = new Byte(sbytes[0]); else value = sbytes; } else if (type == SSHORT) { // A 16-bit (2-byte) signed (twos-complement) integer short[] sshorts = new short[count]; if (count > 2) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { sshorts[j] = DataTools.read2SignedBytes(in, littleEndian); } if (sshorts.length == 1) value = new Short(sshorts[0]); else value = sshorts; } else if (type == SLONG) { // A 32-bit (4-byte) signed (twos-complement) integer int[] slongs = new int[count]; if (count > 1) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { slongs[j] = DataTools.read4SignedBytes(in, littleEndian); } if (slongs.length == 1) value = new Integer(slongs[0]); else value = slongs; } else if (type == SRATIONAL) { // Two SLONG's: the first represents the numerator of a fraction, // the second the denominator TiffRational[] srationals = new TiffRational[count]; long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); for (int j=0; j<count; j++) { int numer = DataTools.read4SignedBytes(in, littleEndian); int denom = DataTools.read4SignedBytes(in, littleEndian); srationals[j] = new TiffRational(numer, denom); } if (srationals.length == 1) value = srationals[0]; else value = srationals; } else if (type == FLOAT) { // Single precision (4-byte) IEEE format float[] floats = new float[count]; if (count > 1) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { floats[j] = DataTools.readFloat(in, littleEndian); } if (floats.length == 1) value = new Float(floats[0]); else value = floats; } else if (type == DOUBLE) { // Double precision (8-byte) IEEE format double[] doubles = new double[count]; long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); for (int j=0; j<count; j++) { doubles[j] = DataTools.readDouble(in, littleEndian); } if (doubles.length == 1) value = new Double(doubles[0]); else value = doubles; } if (value != null) ifd.put(new Integer(tag), value); } in.seek(globalOffset + offset + 2 + 12 * numEntries); return ifd; }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/2df09d33bfdc966378aae0cc09cb503afb983bc2/TiffTools.java/clean/loci/formats/TiffTools.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 18559, 336, 5501, 40, 12, 8529, 1862, 1228, 316, 16, 565, 1525, 309, 72, 2578, 16, 1525, 2552, 2335, 16, 1525, 1384, 16, 1250, 328, 10609, 13, 565, 1216, 1860, 225, 288, 565, 18559, 309, 72, 273, 394, 18559, 5621, 565, 368, 1923, 12720, 17, 22910, 2982, 358, 2713, 511, 30972, 900, 67, 30597, 1047, 565, 309, 72, 18, 458, 12, 2704, 2144, 12, 15716, 56, 900, 67, 30597, 3631, 394, 3411, 12, 80, 10609, 10019, 565, 368, 855, 316, 1867, 3222, 364, 333, 11083, 40, 565, 309, 261, 9394, 13, 288, 1377, 1198, 2932, 588, 5501, 22831, 30, 6520, 310, 11083, 40, 31526, 397, 309, 72, 2578, 397, 315, 622, 315, 397, 3639, 261, 6347, 2335, 480, 374, 692, 261, 6347, 2335, 397, 17487, 397, 1384, 13, 294, 261, 3660, 397, 1384, 3719, 1769, 565, 289, 565, 316, 18, 16508, 12, 6347, 2335, 397, 1384, 1769, 565, 509, 818, 5400, 273, 1910, 10348, 18, 896, 22, 13290, 2160, 12, 267, 16, 328, 10609, 1769, 565, 309, 261, 9394, 13, 1198, 2932, 588, 5501, 22831, 30, 315, 397, 818, 5400, 397, 315, 1867, 3222, 358, 855, 8863, 565, 309, 261, 2107, 5400, 422, 374, 747, 818, 5400, 422, 404, 13, 327, 309, 72, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2107, 5400, 31, 277, 27245, 288, 1377, 316, 18, 16508, 12, 6347, 2335, 397, 1384, 397, 576, 397, 2593, 380, 277, 1769, 1377, 509, 1047, 273, 1910, 10348, 18, 896, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 18559, 336, 5501, 40, 12, 8529, 1862, 1228, 316, 16, 565, 1525, 309, 72, 2578, 16, 1525, 2552, 2335, 16, 1525, 1384, 16, 1250, 328, 10609, 13, 565, 1216, 1860, 225, 288, 565, 18559, 309, 72, 273, 394, 18559, 5621, 565, 368, 1923, 12720, 17, 22910, 2982, 358, 2713, 511, 30972, 900, 67, 30597, 1047, 565, 309, 72, 18, 458, 12, 2704, 2144, 12, 15716, 56, 900, 67, 30597, 3631, 394, 3411, 12, 80, 10609, 10019, 565, 368, 855, 316, 1867, 3222, 364, 333, 11083, 40, 565, 309, 261, 9394, 13, 288, 1377, 1198, 2932, 588, 5501, 22831, 30, 6520, 310, 11083, 40, 31526, 397, 309, 72, 2578, 397, 315, 622, 315, 397, 3639, 261, 6347, 2 ]
throws IllegalAlphabetException {
throws IllegalResidueException {
public CrossProductResidue getResidue(List rList) throws IllegalAlphabetException { if(rList.size() != alphas.size()) { throw new IllegalAlphabetException( "List of residues is the wrong length (" + alphas.size() + ":" + rList.size() + ")" ); } Iterator ai = alphas.iterator(); Iterator ri = rList.iterator(); while(ai.hasNext() && ri.hasNext()) { Alphabet aa = (Alphabet) ai.next(); Residue rr = (Residue) ri.next(); if(!aa.contains(rr)) { throw new IllegalAlphabetException( "CrossProductAlphabet " + getName() + " does not accept " + rList + " as residue " + rr.getName() + " is not a member of the alphabet " + aa.getName() ); } } return new SimpleCrossProductResidue(rList, symbolSeed++); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/812f090c0e31259ef4204b53750c5a8b516bf12e/InfiniteCrossProductAlphabet.java/buggy/src/org/biojava/bio/seq/tools/InfiniteCrossProductAlphabet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 19742, 4133, 607, 23965, 31792, 23965, 12, 682, 436, 682, 13, 225, 1216, 2141, 607, 23965, 503, 288, 565, 309, 12, 86, 682, 18, 1467, 1435, 480, 524, 26377, 18, 1467, 10756, 288, 1377, 604, 394, 2141, 27316, 503, 12, 3639, 315, 682, 434, 25435, 353, 326, 7194, 769, 7566, 397, 524, 26377, 18, 1467, 1435, 397, 3639, 6153, 397, 436, 682, 18, 1467, 1435, 397, 7310, 1377, 11272, 565, 289, 3639, 4498, 14679, 273, 524, 26377, 18, 9838, 5621, 565, 4498, 12347, 273, 436, 682, 18, 9838, 5621, 3639, 1323, 12, 10658, 18, 5332, 2134, 1435, 597, 12347, 18, 5332, 2134, 10756, 288, 1377, 2262, 8907, 12391, 273, 261, 27316, 13, 14679, 18, 4285, 5621, 1377, 1124, 23965, 8354, 273, 261, 607, 23965, 13, 12347, 18, 4285, 5621, 1377, 309, 12, 5, 7598, 18, 12298, 12, 523, 3719, 288, 3639, 604, 394, 2141, 27316, 503, 12, 1850, 315, 13941, 4133, 27316, 315, 397, 1723, 1435, 397, 315, 1552, 486, 2791, 315, 397, 436, 682, 397, 1850, 315, 487, 14765, 315, 397, 8354, 18, 17994, 1435, 397, 315, 353, 486, 279, 3140, 434, 326, 10877, 315, 397, 1850, 12391, 18, 17994, 1435, 3639, 11272, 1377, 289, 565, 289, 3639, 327, 394, 4477, 13941, 4133, 607, 23965, 12, 86, 682, 16, 3273, 12702, 9904, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 19742, 4133, 607, 23965, 31792, 23965, 12, 682, 436, 682, 13, 225, 1216, 2141, 607, 23965, 503, 288, 565, 309, 12, 86, 682, 18, 1467, 1435, 480, 524, 26377, 18, 1467, 10756, 288, 1377, 604, 394, 2141, 27316, 503, 12, 3639, 315, 682, 434, 25435, 353, 326, 7194, 769, 7566, 397, 524, 26377, 18, 1467, 1435, 397, 3639, 6153, 397, 436, 682, 18, 1467, 1435, 397, 7310, 1377, 11272, 565, 289, 3639, 4498, 14679, 273, 524, 26377, 18, 9838, 5621, 565, 4498, 12347, 273, 436, 682, 18, 9838, 5621, 3639, 1323, 12, 10658, 18, 5332, 2134, 1435, 597, 12347, 18, 5332, 2134, 10756, 288, 1377, 2262, 8907, 12391, 273, 261, 27316, 13, 14679, 18, 4285, 5621, 1377, 2 ]