rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
public void trace(Object message) { debug(message);
public void trace (Object message) { debug (message);
public void trace(Object message) { debug(message); }
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/62d71000b6d84642b07f67c825f685d42190715c/LogKitLogger.java/buggy/src/java/org/logicalcobwebs/logging/impl/LogKitLogger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2606, 12, 921, 883, 13, 288, 3639, 1198, 12, 2150, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2606, 12, 921, 883, 13, 288, 3639, 1198, 12, 2150, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case Context.FEATURE_INTERPRETER_CONTINUATIONS: return false;
protected boolean hasFeature(Context cx, int featureIndex) { int version; switch (featureIndex) { case Context.FEATURE_NON_ECMA_GET_YEAR: /* * During the great date rewrite of 1.3, we tried to track the * evolving ECMA standard, which then had a definition of * getYear which always subtracted 1900. Which we * implemented, not realizing that it was incompatible with * the old behavior... now, rather than thrash the behavior * yet again, we've decided to leave it with the - 1900 * behavior and point people to the getFullYear method. But * we try to protect existing scripts that have specified a * version... */ version = cx.getLanguageVersion(); return (version == Context.VERSION_1_0 || version == Context.VERSION_1_1 || version == Context.VERSION_1_2); case Context.FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME: return false; case Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER: return false; case Context.FEATURE_TO_STRING_AS_SOURCE: version = cx.getLanguageVersion(); return version == Context.VERSION_1_2; case Context.FEATURE_PARENT_PROTO_PROPRTIES: return true; case Context.FEATURE_E4X: version = cx.getLanguageVersion(); return (version == Context.VERSION_DEFAULT || version >= Context.VERSION_1_6); case Context.FEATURE_DYNAMIC_SCOPE: return false; case Context.FEATURE_INTERPRETER_CONTINUATIONS: return false; case Context.FEATURE_STRICT_MODE: return false; } // It is a bug to call the method with unknown featureIndex throw new IllegalArgumentException(String.valueOf(featureIndex)); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/83a78ee629c31f859ea745ae77928090954c8027/ContextFactory.java/clean/js/rhino/src/org/mozilla/javascript/ContextFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 711, 4595, 12, 1042, 9494, 16, 509, 2572, 1016, 13, 565, 288, 3639, 509, 1177, 31, 3639, 1620, 261, 7238, 1016, 13, 288, 1850, 648, 1772, 18, 18257, 67, 3993, 67, 7228, 5535, 67, 3264, 67, 15137, 30, 6647, 1748, 5411, 380, 463, 4017, 326, 18825, 1509, 10738, 434, 404, 18, 23, 16, 732, 12928, 358, 3298, 326, 5411, 380, 2113, 355, 6282, 7773, 5535, 4529, 16, 1492, 1508, 9323, 279, 2379, 434, 5411, 380, 30071, 1492, 3712, 10418, 329, 5342, 713, 18, 225, 21918, 732, 5411, 380, 8249, 16, 486, 2863, 6894, 716, 518, 1703, 24430, 598, 5411, 380, 326, 1592, 6885, 2777, 225, 2037, 16, 9178, 2353, 29142, 961, 326, 6885, 5411, 380, 4671, 3382, 16, 732, 8081, 2109, 13898, 358, 8851, 518, 598, 326, 300, 5342, 713, 5411, 380, 6885, 471, 1634, 16951, 358, 326, 31955, 707, 18, 225, 12484, 5411, 380, 732, 775, 358, 17151, 2062, 8873, 716, 1240, 1269, 279, 5411, 380, 1177, 2777, 5411, 1195, 5411, 1177, 273, 9494, 18, 588, 3779, 1444, 5621, 5411, 327, 261, 1589, 422, 1772, 18, 5757, 67, 21, 67, 20, 10792, 747, 1177, 422, 1772, 18, 5757, 67, 21, 67, 21, 10792, 747, 1177, 422, 1772, 18, 5757, 67, 21, 67, 22, 1769, 1850, 648, 1772, 18, 18257, 67, 19630, 67, 2294, 8025, 67, 3033, 67, 7788, 67, 1985, 30, 5411, 327, 629, 31, 1850, 648, 1772, 18, 18257, 67, 28635, 67, 28813, 67, 3033, 67, 16606, 30, 5411, 327, 629, 31, 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, 1250, 711, 4595, 12, 1042, 9494, 16, 509, 2572, 1016, 13, 565, 288, 3639, 509, 1177, 31, 3639, 1620, 261, 7238, 1016, 13, 288, 1850, 648, 1772, 18, 18257, 67, 3993, 67, 7228, 5535, 67, 3264, 67, 15137, 30, 6647, 1748, 5411, 380, 463, 4017, 326, 18825, 1509, 10738, 434, 404, 18, 23, 16, 732, 12928, 358, 3298, 326, 5411, 380, 2113, 355, 6282, 7773, 5535, 4529, 16, 1492, 1508, 9323, 279, 2379, 434, 5411, 380, 30071, 1492, 3712, 10418, 329, 5342, 713, 18, 225, 21918, 732, 5411, 380, 8249, 16, 486, 2863, 6894, 716, 518, 1703, 24430, 598, 5411, 380, 326, 1592, 6885, 2777, 225, 2037, 16, 9178, 2353, 29142, 961, 326, 6885, 5411, 380, 4671, 2 ]
dumpResponse(System.err);
public void testAddExistingGateway() { GatewaysTestUi.addTestGateways(getTester(), 3); SiteTestHelper.home(getTester()); clickLink("FlexibleDialPlan"); SiteTestHelper.assertNoException(getTester()); clickLinkWithText("Emergency"); dumpResponse(System.err); //it's a submit link: uses java script, does not have id clickLinkWithText("Add Existing Gateway"); }
12962 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12962/07cc5e619ae637ba50e9f55d0c0420ce08a2377a/DialingRuleTestUi.java/clean/sipXconfig/web/test/org/sipfoundry/sipxconfig/site/dialplan/DialingRuleTestUi.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 986, 9895, 5197, 1435, 288, 3639, 31045, 3052, 4709, 13943, 18, 1289, 4709, 23598, 12, 588, 56, 7654, 9334, 890, 1769, 3639, 9063, 4709, 2276, 18, 8712, 12, 588, 56, 7654, 10663, 3639, 4682, 2098, 2932, 19667, 1523, 11885, 5365, 8863, 3639, 9063, 4709, 2276, 18, 11231, 2279, 503, 12, 588, 56, 7654, 10663, 3639, 4682, 2098, 1190, 1528, 2932, 1514, 24530, 8863, 9079, 368, 305, 1807, 279, 4879, 1692, 30, 4692, 2252, 2728, 16, 1552, 486, 1240, 612, 3639, 4682, 2098, 1190, 1528, 2932, 986, 28257, 11381, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 986, 9895, 5197, 1435, 288, 3639, 31045, 3052, 4709, 13943, 18, 1289, 4709, 23598, 12, 588, 56, 7654, 9334, 890, 1769, 3639, 9063, 4709, 2276, 18, 8712, 12, 588, 56, 7654, 10663, 3639, 4682, 2098, 2932, 19667, 1523, 11885, 5365, 8863, 3639, 9063, 4709, 2276, 18, 11231, 2279, 503, 12, 588, 56, 7654, 10663, 3639, 4682, 2098, 1190, 1528, 2932, 1514, 24530, 8863, 9079, 368, 305, 1807, 279, 4879, 1692, 30, 4692, 2252, 2728, 16, 1552, 486, 1240, 612, 3639, 4682, 2098, 1190, 1528, 2932, 986, 28257, 11381, 8863, 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 ]
char[] expansion, int offset) {
char[] expansion, int offset) {
public void enterFunctionStyleExpansion(char[] name, char[][] parameters, char[] expansion, int offset) { // TODO Auto-generated method stub }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/33390e2e03dc3a1dd0c3bedcc27e52231c6a907e/LocationMap.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/LocationMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 6103, 2083, 2885, 2966, 12162, 12, 3001, 8526, 508, 16, 1149, 63, 6362, 65, 1472, 16, 540, 1149, 8526, 17965, 16, 509, 1384, 13, 288, 1377, 368, 2660, 8064, 17, 11168, 707, 7168, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6103, 2083, 2885, 2966, 12162, 12, 3001, 8526, 508, 16, 1149, 63, 6362, 65, 1472, 16, 540, 1149, 8526, 17965, 16, 509, 1384, 13, 288, 1377, 368, 2660, 8064, 17, 11168, 707, 7168, 282, 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 ]
areaId = side; switch (side) { case SWT.LEFT: caretControl.setLocation(pos.x, pos.y - (size/2)); break; case SWT.RIGHT: caretControl.setLocation(pos.x-size, pos.y - (size/2)); break; case SWT.TOP: caretControl.setLocation(pos.x-(size/2), pos.y); break; case SWT.BOTTOM: caretControl.setLocation(pos.x-(size/2), pos.y - size); break; }
if (asBar) formatBarCaret(pos, side); else formatArrowCaret(pos, side);
public void showCaret(Point pos, int side) { areaId = side; switch (side) { case SWT.LEFT: caretControl.setLocation(pos.x, pos.y - (size/2)); break; case SWT.RIGHT: caretControl.setLocation(pos.x-size, pos.y - (size/2)); break; case SWT.TOP: caretControl.setLocation(pos.x-(size/2), pos.y); break; case SWT.BOTTOM: caretControl.setLocation(pos.x-(size/2), pos.y - size); break; } // Force the control into the client rect Rectangle bb = caretControl.getBounds(); Rectangle cr = clientControl.getClientArea(); Geometry.moveInside(bb,cr); caretControl.setBounds(bb); caretControl.moveAbove(null); caretControl.setVisible(true); caretControl.redraw(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/57587c0601ebfba91c008feeec5539d6718cd5a6/InsertCaret.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dnd/InsertCaret.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2405, 39, 20731, 12, 2148, 949, 16, 509, 4889, 13, 288, 202, 202, 5036, 548, 273, 4889, 31, 9506, 202, 9610, 261, 5564, 13, 288, 202, 202, 3593, 348, 8588, 18, 10066, 30, 1082, 202, 71, 20731, 3367, 18, 542, 2735, 12, 917, 18, 92, 16, 949, 18, 93, 300, 261, 1467, 19, 22, 10019, 1082, 202, 8820, 31, 202, 202, 3593, 348, 8588, 18, 11847, 30, 1082, 202, 71, 20731, 3367, 18, 542, 2735, 12, 917, 18, 92, 17, 1467, 16, 949, 18, 93, 300, 261, 1467, 19, 22, 10019, 1082, 202, 8820, 31, 202, 202, 3593, 348, 8588, 18, 10462, 30, 1082, 202, 71, 20731, 3367, 18, 542, 2735, 12, 917, 18, 92, 17, 12, 1467, 19, 22, 3631, 949, 18, 93, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 348, 8588, 18, 28891, 30, 1082, 202, 71, 20731, 3367, 18, 542, 2735, 12, 917, 18, 92, 17, 12, 1467, 19, 22, 3631, 949, 18, 93, 300, 963, 1769, 1082, 202, 8820, 31, 202, 202, 97, 9506, 202, 759, 11889, 326, 3325, 1368, 326, 1004, 4917, 202, 202, 19463, 7129, 273, 21683, 3367, 18, 588, 5694, 5621, 202, 202, 19463, 4422, 273, 1004, 3367, 18, 588, 1227, 5484, 5621, 202, 202, 9823, 18, 8501, 18619, 12, 9897, 16, 3353, 1769, 202, 202, 71, 20731, 3367, 18, 542, 5694, 12, 9897, 1769, 9506, 202, 71, 20731, 3367, 18, 8501, 25477, 12, 2011, 1769, 202, 202, 71, 20731, 3367, 18, 542, 6207, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2405, 39, 20731, 12, 2148, 949, 16, 509, 4889, 13, 288, 202, 202, 5036, 548, 273, 4889, 31, 9506, 202, 9610, 261, 5564, 13, 288, 202, 202, 3593, 348, 8588, 18, 10066, 30, 1082, 202, 71, 20731, 3367, 18, 542, 2735, 12, 917, 18, 92, 16, 949, 18, 93, 300, 261, 1467, 19, 22, 10019, 1082, 202, 8820, 31, 202, 202, 3593, 348, 8588, 18, 11847, 30, 1082, 202, 71, 20731, 3367, 18, 542, 2735, 12, 917, 18, 92, 17, 1467, 16, 949, 18, 93, 300, 261, 1467, 19, 22, 10019, 1082, 202, 8820, 31, 202, 202, 3593, 348, 8588, 18, 10462, 30, 1082, 202, 71, 20731, 3367, 18, 542, 2735, 12, 917, 18, 92, 2 ]
Iterator it = iterator(); while (it.hasNext()) { if (((OMGeometry) it.next()).isVisible()) { return true;
synchronized (graphics) { Iterator it = iterator(); while (it.hasNext()) { if (((OMGeometry) it.next()).isVisible()) { return true; }
public boolean isVisible() { Iterator it = iterator(); while (it.hasNext()) { if (((OMGeometry) it.next()).isVisible()) { return true; } } return false; }
47208 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47208/5c8becaa532b8787aab339fe2dead5d8a29304d4/OMGraphicList.java/buggy/src/openmap/com/bbn/openmap/omGraphics/OMGraphicList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 20453, 1435, 288, 202, 3198, 518, 273, 2775, 5621, 202, 17523, 261, 305, 18, 5332, 2134, 10756, 288, 202, 565, 309, 261, 12443, 1872, 9823, 13, 518, 18, 4285, 1435, 2934, 291, 6207, 10756, 288, 202, 202, 2463, 638, 31, 202, 565, 289, 202, 97, 202, 2463, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 20453, 1435, 288, 202, 3198, 518, 273, 2775, 5621, 202, 17523, 261, 305, 18, 5332, 2134, 10756, 288, 202, 565, 309, 261, 12443, 1872, 9823, 13, 518, 18, 4285, 1435, 2934, 291, 6207, 10756, 288, 202, 202, 2463, 638, 31, 202, 565, 289, 202, 97, 202, 2463, 629, 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 ]
domDb.remove(transaction, idx, null);
public Object start() { try { domDb.remove(transaction, idx, null); domDb.flush(); } catch (BTreeException e) { LOG.warn("start() - " + "error while removing doc", e); } catch (IOException e) { LOG.warn("start() - " + "error while removing doc", e); } catch (TerminatedException e) { LOG.warn("method terminated", e); } catch (DBException e) { LOG.warn("start() - " + "error while removing doc", e); } return null; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1cdc39f2b9425c3dfaa7151e69c631212332b046/NativeBroker.java/clean/src/org/exist/storage/NativeBroker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 1033, 787, 1435, 288, 10792, 775, 288, 4766, 9079, 4092, 4331, 18, 11330, 5621, 10792, 289, 1044, 261, 38, 2471, 503, 425, 13, 288, 13491, 2018, 18, 8935, 2932, 1937, 1435, 300, 315, 397, 315, 1636, 1323, 9427, 997, 3113, 425, 1769, 10792, 289, 1044, 261, 14106, 425, 13, 288, 13491, 2018, 18, 8935, 2932, 1937, 1435, 300, 315, 397, 315, 1636, 1323, 9427, 997, 3113, 425, 1769, 10792, 289, 1044, 261, 21888, 503, 425, 13, 288, 13491, 2018, 18, 8935, 2932, 2039, 14127, 3113, 425, 1769, 10792, 289, 1044, 261, 2290, 503, 425, 13, 288, 13491, 2018, 18, 8935, 2932, 1937, 1435, 300, 315, 397, 315, 1636, 1323, 9427, 997, 3113, 425, 1769, 10792, 289, 10792, 327, 446, 31, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 1033, 787, 1435, 288, 10792, 775, 288, 4766, 9079, 4092, 4331, 18, 11330, 5621, 10792, 289, 1044, 261, 38, 2471, 503, 425, 13, 288, 13491, 2018, 18, 8935, 2932, 1937, 1435, 300, 315, 397, 315, 1636, 1323, 9427, 997, 3113, 425, 1769, 10792, 289, 1044, 261, 14106, 425, 13, 288, 13491, 2018, 18, 8935, 2932, 1937, 1435, 300, 315, 397, 315, 1636, 1323, 9427, 997, 3113, 425, 1769, 10792, 289, 1044, 261, 21888, 503, 425, 13, 288, 13491, 2018, 18, 8935, 2932, 2039, 14127, 3113, 425, 1769, 10792, 289, 1044, 261, 2290, 503, 425, 13, 288, 13491, 2018, 18, 8935, 2932, 1937, 1435, 300, 315, 397, 315, 1636, 1323, 9427, 997, 3113, 425, 1769, 10792, 289, 10792, 2 ]
JavaType containingType = typeToJavaType(containingCType, false, machDesc);
JavaType containingType = typeToJavaType(containingCType, false, null);
public void emitStructImpl(CompoundType structType, String alternateName, MachineDescription md32, MachineDescription md64, boolean doBaseClass, boolean do32Bit) throws Exception { String name = structType.getName(); if (name == null && alternateName != null) { name = alternateName; } if (name == null) { System.err.println("WARNING: skipping emission of unnamed struct \"" + structType + "\""); return; } if (cfg.shouldIgnore(name)) { return; } Type containingCType = canonicalize(new PointerType(SizeThunk.POINTER, structType, 0)); JavaType containingType = typeToJavaType(containingCType, false, machDesc); if (!containingType.isCompoundTypeWrapper()) { return; } String containingTypeName = containingType.getName(); if ((md32 == null) || (md64 == null)) { throw new RuntimeException("Must supply both 32- and 64-bit MachineDescriptions to emitStructImpl"); } String suffix = ""; // The "external" MachineDescription is the one used to determine // the sizes of the primitive types seen in the public API. For // example, if a C long is an element of a struct, it is the size // of a Java int on a 32-bit machine but the size of a Java long // on a 64-bit machine. To support both of these sizes with the // same API, the abstract base class must take and return a Java // long from the setter and getter for this field. However the // implementation on a 32-bit platform must downcast this to an // int and set only an int's worth of data in the struct. The // "internal" MachineDescription is the one used to determine how // much data to set in or get from the struct and exactly from // where it comes. // // Note that the 64-bit MachineDescription is always used as the // external MachineDescription. MachineDescription extMachDesc = md64; MachineDescription intMachDesc = null; if (!doBaseClass) { if (do32Bit) { intMachDesc = md32; suffix = "32"; } else { intMachDesc = md64; suffix = "64"; } } boolean needsNativeCode = false; // Native code for calls through function pointers gets emitted // into the abstract base class; Java code which accesses fields // gets emitted into the concrete classes if (doBaseClass) { for (int i = 0; i < structType.getNumFields(); i++) { if (structType.getField(i).getType().isFunctionPointer()) { needsNativeCode = true; break; } } } String structClassPkg = cfg.packageForStruct(name); PrintWriter writer = null; PrintWriter cWriter = null; try { writer = openFile( cfg.javaOutputDir() + File.separator + CodeGenUtils.packageAsPath(structClassPkg) + File.separator + containingTypeName + suffix + ".java"); CodeGenUtils.emitAutogeneratedWarning(writer, this); if (needsNativeCode) { String nRoot = cfg.nativeOutputDir(); if (cfg.nativeOutputUsesJavaHierarchy()) { nRoot += File.separator + CodeGenUtils.packageAsPath(cfg.packageName()); } cWriter = openFile(nRoot + File.separator + containingTypeName + "_JNI.c"); CodeGenUtils.emitAutogeneratedWarning(cWriter, this); emitCHeader(cWriter, containingTypeName); } } catch(Exception e) { throw new RuntimeException( "Unable to open files for emission of struct class", e); } writer.println(); writer.println("package " + structClassPkg + ";"); writer.println(); writer.println("import java.nio.*;"); writer.println(); writer.println("import com.sun.gluegen.runtime.*;"); writer.println(); List/*<String>*/ imports = cfg.imports(); for (Iterator iter = imports.iterator(); iter.hasNext(); ) { writer.print("import "); writer.print(iter.next()); writer.println(";"); } List/*<String>*/ javadoc = cfg.javadocForClass(containingTypeName); for (Iterator iter = javadoc.iterator(); iter.hasNext(); ) { writer.println((String) iter.next()); } writer.println(); writer.print((doBaseClass ? "public " : "") + (doBaseClass ? "abstract " : "") + "class " + containingTypeName + suffix + " "); if (!doBaseClass) { writer.print("extends " + containingTypeName + " "); } boolean firstIteration = true; List/*<String>*/ userSpecifiedInterfaces = cfg.implementedInterfaces(containingTypeName); for (Iterator iter = userSpecifiedInterfaces.iterator(); iter.hasNext(); ) { if (firstIteration) { writer.print("implements "); } firstIteration = false; writer.print(iter.next()); writer.print(" "); } writer.println("{"); if (doBaseClass) { writer.println(" StructAccessor accessor;"); writer.println(); } writer.println(" public static int size() {"); if (doBaseClass) { writer.println(" if (CPU.is32Bit()) {"); writer.println(" return " + containingTypeName + "32" + ".size();"); writer.println(" } else {"); writer.println(" return " + containingTypeName + "64" + ".size();"); writer.println(" }"); } else { writer.println(" return " + structType.getSize(intMachDesc) + ";"); } writer.println(" }"); writer.println(); if (doBaseClass) { writer.println(" public static " + containingTypeName + " create() {"); writer.println(" return create(BufferFactory.newDirectByteBuffer(size()));"); writer.println(" }"); writer.println(); writer.println(" public static " + containingTypeName + " create(ByteBuffer buf) {"); writer.println(" if (CPU.is32Bit()) {"); writer.println(" return new " + containingTypeName + "32(buf);"); writer.println(" } else {"); writer.println(" return new " + containingTypeName + "64(buf);"); writer.println(" }"); writer.println(" }"); writer.println(); writer.println(" " + containingTypeName + "(ByteBuffer buf) {"); writer.println(" accessor = new StructAccessor(buf);"); writer.println(" }"); writer.println(); writer.println(" public ByteBuffer getBuffer() {"); writer.println(" return accessor.getBuffer();"); writer.println(" }"); } else { writer.println(" " + containingTypeName + suffix + "(ByteBuffer buf) {"); writer.println(" super(buf);"); writer.println(" }"); writer.println(); } for (int i = 0; i < structType.getNumFields(); i++) { Field field = structType.getField(i); Type fieldType = field.getType(); if (!cfg.shouldIgnore(name + " " + field.getName())) { if (fieldType.isFunctionPointer()) { if (doBaseClass) { try { // Emit method call and associated native code FunctionType funcType = fieldType.asPointer().getTargetType().asFunction(); FunctionSymbol funcSym = new FunctionSymbol(field.getName(), funcType); MethodBinding binding = bindFunction(funcSym, containingType, containingCType); binding.findThisPointer(); // FIXME: need to provide option to disable this on per-function basis writer.println(); // Emit public Java entry point for calling this function pointer JavaMethodBindingEmitter emitter = new JavaMethodBindingEmitter(binding, writer, machDesc, cfg.runtimeExceptionType(), true, false, true, // FIXME: should unify this with the general emission code false, false, // FIXME: should unify this with the general emission code false, // FIXME: should unify this with the general emission code false); emitter.addModifier(JavaMethodBindingEmitter.PUBLIC); emitter.emit(machDesc); // Emit private native Java entry point for calling this function pointer emitter = new JavaMethodBindingEmitter(binding, writer, machDesc, cfg.runtimeExceptionType(), false, true, true, // FIXME: should unify this with the general emission code true, true, // FIXME: should unify this with the general emission code false, // FIXME: should unify this with the general emission code false); emitter.addModifier(JavaMethodBindingEmitter.PRIVATE); emitter.addModifier(JavaMethodBindingEmitter.NATIVE); emitter.emit(machDesc); // Emit (private) C entry point for calling this function pointer CMethodBindingEmitter cEmitter = new CMethodBindingEmitter(binding, cWriter, machDesc, structClassPkg, containingTypeName, true, // FIXME: this is optional at this point false, true, false); // FIXME: should unify this with the general emission code cEmitter.emit(machDesc); } catch (Exception e) { System.err.println("While processing field " + field + " of type " + name + ":"); throw(e); } } } else if (fieldType.isCompound()) { // FIXME: will need to support this at least in order to // handle the union in jawt_Win32DrawingSurfaceInfo (fabricate // a name?) if (fieldType.getName() == null) { throw new RuntimeException("Anonymous structs as fields not supported yet (field \"" + field + "\" in type \"" + name + "\")"); } writer.println(); writer.print(" public " + (doBaseClass ? "abstract " : "") + fieldType.getName() + " " + field.getName() + "()"); if (doBaseClass) { writer.println(";"); } else { writer.println(" {"); writer.println(" return " + fieldType.getName() + ".create(accessor.slice(" + field.getOffset(intMachDesc) + ", " + fieldType.getSize(intMachDesc) + "));"); writer.println(" }"); } // FIXME: add setter by autogenerating "copyTo" for all compound type wrappers } else if (fieldType.isArray()) { if (!doBaseClass) { System.err.println("WARNING: Array fields (field \"" + field + "\" of type \"" + name + "\") not implemented yet"); } } else { JavaType internalJavaType = null; JavaType externalJavaType = null; try { externalJavaType = typeToJavaType(fieldType, false, extMachDesc); if (!doBaseClass) { internalJavaType = typeToJavaType(fieldType, false, intMachDesc); } } catch (Exception e) { System.err.println("Error occurred while creating accessor for field \"" + field.getName() + "\" in type \"" + name + "\""); e.printStackTrace(); throw(e); } if (externalJavaType.isPrimitive()) { // Primitive type String externalJavaTypeName = null; String internalJavaTypeName = null; externalJavaTypeName = externalJavaType.getName(); if (!doBaseClass) { internalJavaTypeName = internalJavaType.getName(); } if (isOpaque(fieldType)) { externalJavaTypeName = compatiblePrimitiveJavaTypeName(fieldType, externalJavaType, extMachDesc); if (!doBaseClass) { internalJavaTypeName = compatiblePrimitiveJavaTypeName(fieldType, internalJavaType, intMachDesc); } } String capitalized = null; if (!doBaseClass) { capitalized = "" + Character.toUpperCase(internalJavaTypeName.charAt(0)) + internalJavaTypeName.substring(1); } int slot = -1; if (!doBaseClass) { slot = slot(fieldType, (int) field.getOffset(intMachDesc), intMachDesc); } // Setter writer.println(); writer.print(" public " + (doBaseClass ? "abstract " : "") + containingTypeName + " " + field.getName() + "(" + externalJavaTypeName + " val)"); if (doBaseClass) { writer.println(";"); } else { writer.println(" {"); writer.print (" accessor.set" + capitalized + "At(" + slot + ", "); if (!externalJavaTypeName.equals(internalJavaTypeName)) { writer.print("(" + internalJavaTypeName + ") "); } writer.println("val);"); writer.println(" return this;"); writer.println(" }"); } writer.println(); // Getter writer.print(" public " + (doBaseClass ? "abstract " : "") + externalJavaTypeName + " " + field.getName() + "()"); if (doBaseClass) { writer.println(";"); } else { writer.println(" {"); writer.print (" return "); if (!externalJavaTypeName.equals(internalJavaTypeName)) { writer.print("(" + externalJavaTypeName + ") "); } writer.println("accessor.get" + capitalized + "At(" + slot + ");"); writer.println(" }"); } } else { // FIXME System.err.println("WARNING: Complicated fields (field \"" + field + "\" of type \"" + name + "\") not implemented yet"); // throw new RuntimeException("Complicated fields (field \"" + field + "\" of type \"" + t + // "\") not implemented yet"); } } } } if (doBaseClass) { emitCustomJavaCode(writer, containingTypeName); } writer.println("}"); writer.flush(); writer.close(); if (needsNativeCode) { cWriter.flush(); cWriter.close(); } }
47702 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47702/875a3de8f54704604d006badf0f0747347319025/JavaEmitter.java/buggy/src/classes/com/sun/gluegen/JavaEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3626, 3823, 2828, 12, 16835, 559, 1958, 559, 16, 11794, 514, 12184, 461, 16, 11794, 12026, 3291, 3481, 1578, 16, 11794, 12026, 3291, 3481, 1105, 16, 11794, 1250, 741, 2171, 797, 16, 11794, 1250, 741, 1578, 5775, 13, 1216, 1185, 288, 565, 514, 508, 273, 1958, 559, 18, 17994, 5621, 565, 309, 261, 529, 422, 446, 597, 12184, 461, 480, 446, 13, 288, 1377, 508, 273, 12184, 461, 31, 565, 289, 565, 309, 261, 529, 422, 446, 13, 288, 1377, 2332, 18, 370, 18, 8222, 2932, 9511, 30, 14195, 801, 19710, 434, 640, 13188, 1958, 11843, 397, 1958, 559, 397, 11143, 1769, 1377, 327, 31, 565, 289, 565, 309, 261, 7066, 18, 13139, 3777, 12, 529, 3719, 288, 1377, 327, 31, 565, 289, 565, 1412, 4191, 39, 559, 273, 25839, 12, 2704, 7107, 559, 12, 1225, 1315, 1683, 18, 2419, 9125, 16, 1958, 559, 16, 374, 10019, 565, 5110, 559, 4191, 559, 273, 618, 774, 31819, 12, 1213, 3280, 39, 559, 16, 629, 16, 446, 1769, 565, 309, 16051, 1213, 3280, 559, 18, 291, 16835, 559, 3611, 10756, 288, 1377, 327, 31, 565, 289, 565, 514, 4191, 7947, 273, 4191, 559, 18, 17994, 5621, 565, 309, 14015, 1264, 1578, 422, 446, 13, 747, 261, 1264, 1105, 422, 446, 3719, 288, 1377, 604, 394, 3235, 2932, 10136, 14467, 3937, 3847, 17, 471, 5178, 17, 3682, 12026, 16844, 358, 3626, 3823, 2828, 8863, 565, 289, 565, 514, 3758, 273, 1408, 31, 565, 368, 1021, 315, 9375, 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, 3626, 3823, 2828, 12, 16835, 559, 1958, 559, 16, 11794, 514, 12184, 461, 16, 11794, 12026, 3291, 3481, 1578, 16, 11794, 12026, 3291, 3481, 1105, 16, 11794, 1250, 741, 2171, 797, 16, 11794, 1250, 741, 1578, 5775, 13, 1216, 1185, 288, 565, 514, 508, 273, 1958, 559, 18, 17994, 5621, 565, 309, 261, 529, 422, 446, 597, 12184, 461, 480, 446, 13, 288, 1377, 508, 273, 12184, 461, 31, 565, 289, 565, 309, 261, 529, 422, 446, 13, 288, 1377, 2332, 18, 370, 18, 8222, 2932, 9511, 30, 14195, 801, 19710, 434, 640, 13188, 1958, 11843, 397, 1958, 559, 397, 11143, 1769, 1377, 327, 31, 565, 289, 565, 309, 261, 7066, 18, 13139, 3777, 12, 529, 2 ]
if ( fCurrent != null ) { cTmp.eAdapters( ).addAll( fCurrent.eAdapters( ) ); }
addAdapters( cTmp );
public void mouseDown( MouseEvent e ) { if ( !bEnabled ) { return; } fireHandleEvent( MOUSE_CLICKED_EVENT ); if ( e.getSource( ).equals( cnvSelection ) ) { if ( !cnvSelection.isDisposed( ) ) { toggleDropDown( ); } } else if ( e.getSource( ) instanceof ColorSelectionCanvas ) { ColorDefinition cTmp = AttributeFactory.eINSTANCE.createColorDefinition( ); Color clrTmp = ( (ColorSelectionCanvas) e.getSource( ) ).getColorAt( e.x, e.y ); cTmp.set( clrTmp.getRed( ), clrTmp.getGreen( ), clrTmp.getBlue( ) ); int iTransparency = 255; if ( fCurrent instanceof ColorDefinition && this.iTransparency != 0 ) { iTransparency = ( bTransparencyChanged ) ? this.iTransparency : ( (ColorDefinition) fCurrent ).getTransparency( ); } cTmp.setTransparency( iTransparency ); if ( fCurrent != null ) { cTmp.eAdapters( ).addAll( fCurrent.eAdapters( ) ); } setFill( cTmp ); fireHandleEvent( FillChooserComposite.FILL_CHANGED_EVENT ); cmpDropDown.getShell( ).dispose( ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/9d8486a7f0171324b11e48825eceffef31458cf9/FillChooserComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FillChooserComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7644, 4164, 12, 17013, 1133, 425, 262, 202, 95, 202, 202, 430, 261, 401, 70, 1526, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 12179, 3259, 1133, 12, 16070, 8001, 67, 7697, 3507, 2056, 67, 10454, 11272, 202, 202, 430, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 6227, 90, 6233, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 401, 10305, 90, 6233, 18, 291, 1669, 7423, 12, 262, 262, 1082, 202, 95, 9506, 202, 14401, 7544, 4164, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 425, 18, 588, 1830, 12, 262, 1276, 5563, 6233, 12971, 262, 202, 202, 95, 1082, 202, 2957, 1852, 276, 9161, 273, 3601, 1733, 18, 73, 13341, 18, 2640, 2957, 1852, 12, 11272, 1082, 202, 2957, 927, 86, 9161, 273, 261, 261, 2957, 6233, 12971, 13, 425, 18, 588, 1830, 12, 262, 262, 18, 588, 2957, 861, 12, 425, 18, 92, 16, 6862, 202, 73, 18, 93, 11272, 1082, 202, 71, 9161, 18, 542, 12, 927, 86, 9161, 18, 588, 3715, 12, 262, 16, 927, 86, 9161, 18, 588, 21453, 12, 262, 16, 927, 86, 9161, 18, 588, 27986, 12, 262, 11272, 1082, 202, 474, 277, 1429, 18258, 273, 4561, 31, 1082, 202, 430, 261, 284, 3935, 1276, 5563, 1852, 597, 333, 18, 77, 1429, 18258, 480, 374, 262, 1082, 202, 95, 9506, 202, 77, 1429, 18258, 273, 261, 324, 1429, 18258, 5033, 262, 692, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7644, 4164, 12, 17013, 1133, 425, 262, 202, 95, 202, 202, 430, 261, 401, 70, 1526, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 12179, 3259, 1133, 12, 16070, 8001, 67, 7697, 3507, 2056, 67, 10454, 11272, 202, 202, 430, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 6227, 90, 6233, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 401, 10305, 90, 6233, 18, 291, 1669, 7423, 12, 262, 262, 1082, 202, 95, 9506, 202, 14401, 7544, 4164, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 425, 18, 588, 1830, 12, 262, 1276, 5563, 6233, 12971, 262, 202, 202, 95, 1082, 202, 2 ]
getLocalVariableName(1)
getLocalVariableName(pc, 1)
public void _iload_1(int pc) { dumpPcNumber(pc); buffer.append(Util.bind("classformat.load", //$NON-NLS-1$ new String[] { OpcodeStringValues.BYTECODE_NAMES[IOpcodeMnemonics.ILOAD_1], getLocalVariableName(1) } )); writeNewLine(); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/ad8944ba8706757e37dc2af79b4fac14d5ba14dd/DefaultBytecodeVisitor.java/clean/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DefaultBytecodeVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 389, 330, 6189, 67, 21, 12, 474, 6125, 13, 288, 202, 202, 8481, 28136, 1854, 12, 2436, 1769, 202, 202, 4106, 18, 6923, 12, 1304, 18, 4376, 2932, 1106, 2139, 18, 945, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2704, 514, 8526, 288, 9506, 202, 22808, 780, 1972, 18, 15377, 5572, 67, 16257, 63, 45, 22808, 29668, 4758, 2102, 18, 45, 7783, 67, 21, 6487, 9506, 202, 588, 2042, 21519, 12, 21, 13, 1082, 202, 97, 202, 202, 10019, 202, 202, 2626, 31453, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 389, 330, 6189, 67, 21, 12, 474, 6125, 13, 288, 202, 202, 8481, 28136, 1854, 12, 2436, 1769, 202, 202, 4106, 18, 6923, 12, 1304, 18, 4376, 2932, 1106, 2139, 18, 945, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2704, 514, 8526, 288, 9506, 202, 22808, 780, 1972, 18, 15377, 5572, 67, 16257, 63, 45, 22808, 29668, 4758, 2102, 18, 45, 7783, 67, 21, 6487, 9506, 202, 588, 2042, 21519, 12, 21, 13, 1082, 202, 97, 202, 202, 10019, 202, 202, 2626, 31453, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!isStateless()) { Session.get().getSessionStore().getSessionId(RequestCycle.get().getRequest(), true); } getSession().touch(this);
public final void renderPage() { // first try to check if the page can be rendered: if (!isActionAuthorized(RENDER)) { if (log.isDebugEnabled()) { log.debug("Page not allowed to render: " + this); } throw new UnauthorizedActionException(this, Component.RENDER); } // Make sure it is really empty renderedComponents = null; // Reset it to stateless so that it can be tested again this.stateless = null; if (!isStateless()) { // trigger creation of the actual session in case it was deferred Session.get().getSessionStore().getSessionId(RequestCycle.get().getRequest(), true); } // Add/touch the response page in the session (its pagemap). getSession().touch(this); // Set form component values from cookies setFormComponentValuesFromCookies(); // First, give priority to IFeedback instances, as they have to // collect their messages before components like ListViews // remove any child components visitChildren(IFeedback.class, new IVisitor() { public Object component(Component component) { ((IFeedback)component).updateFeedback(); component.internalAttach(); return IVisitor.CONTINUE_TRAVERSAL; } }); if (this instanceof IFeedback) { ((IFeedback)this).updateFeedback(); } // Now, do the initialization for the other components internalAttach(); // Visit all this page's children to reset markup streams and check // rendering authorization, as appropriate. We set any result; positive // or negative as a temporary boolean in the components, and when a // authorization exception is thrown it will block the rendering of this // page visitChildren(new IVisitor() { public Object component(final Component component) { // Find out if this component can be rendered final boolean renderAllowed = component.isActionAuthorized(RENDER); // Authorize rendering component.setRenderAllowed(renderAllowed); return IVisitor.CONTINUE_TRAVERSAL; } }); // Handle request by rendering page onBeforeRender(); try { render(null); } finally { onAfterRender(); } // Check rendering if it happened fully checkRendering(this); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c0121c80dbb63ead59451d937f3a4e6cd66875f4/Page.java/buggy/wicket/src/java/wicket/Page.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1743, 1964, 1435, 202, 95, 202, 202, 759, 1122, 775, 358, 866, 309, 326, 1363, 848, 506, 7935, 30, 202, 202, 430, 16051, 291, 1803, 15341, 12, 25230, 3719, 202, 202, 95, 1082, 202, 430, 261, 1330, 18, 291, 2829, 1526, 10756, 1082, 202, 95, 9506, 202, 1330, 18, 4148, 2932, 1964, 486, 2935, 358, 1743, 30, 315, 397, 333, 1769, 1082, 202, 97, 1082, 202, 12849, 394, 15799, 1803, 503, 12, 2211, 16, 5435, 18, 25230, 1769, 202, 202, 97, 202, 202, 759, 4344, 3071, 518, 353, 8654, 1008, 202, 202, 26332, 7171, 273, 446, 31, 202, 202, 759, 7151, 518, 358, 610, 12617, 1427, 716, 518, 848, 506, 18432, 3382, 202, 202, 2211, 18, 5642, 12617, 273, 446, 31, 202, 202, 430, 16051, 291, 5000, 12617, 10756, 202, 202, 95, 1082, 202, 759, 3080, 6710, 434, 326, 3214, 1339, 316, 648, 518, 1703, 7045, 1082, 202, 2157, 18, 588, 7675, 588, 2157, 2257, 7675, 588, 18030, 12, 691, 13279, 18, 588, 7675, 588, 691, 9334, 638, 1769, 202, 202, 97, 202, 202, 759, 1436, 19, 14084, 326, 766, 1363, 316, 326, 1339, 261, 1282, 4262, 25248, 2934, 202, 202, 588, 2157, 7675, 14084, 12, 2211, 1769, 202, 202, 759, 1000, 646, 1794, 924, 628, 7237, 202, 202, 542, 1204, 1841, 1972, 1265, 16089, 5621, 202, 202, 759, 5783, 16, 8492, 4394, 358, 467, 15888, 3884, 16, 487, 2898, 1240, 358, 202, 202, 759, 3274, 3675, 2743, 1865, 4085, 3007, 987, 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, 1743, 1964, 1435, 202, 95, 202, 202, 759, 1122, 775, 358, 866, 309, 326, 1363, 848, 506, 7935, 30, 202, 202, 430, 16051, 291, 1803, 15341, 12, 25230, 3719, 202, 202, 95, 1082, 202, 430, 261, 1330, 18, 291, 2829, 1526, 10756, 1082, 202, 95, 9506, 202, 1330, 18, 4148, 2932, 1964, 486, 2935, 358, 1743, 30, 315, 397, 333, 1769, 1082, 202, 97, 1082, 202, 12849, 394, 15799, 1803, 503, 12, 2211, 16, 5435, 18, 25230, 1769, 202, 202, 97, 202, 202, 759, 4344, 3071, 518, 353, 8654, 1008, 202, 202, 26332, 7171, 273, 446, 31, 202, 202, 759, 7151, 518, 358, 610, 12617, 1427, 716, 518, 848, 506, 18432, 3382, 202, 202, 2 ]
return description;
return description;
public java.lang.String getDescription() { return description;}
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/4c34db578b77ba3c1f4c891c4e5bc40fe5d7a231/EntityGroupImpl.java/clean/source/org/jasig/portal/groups/EntityGroupImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2252, 18, 4936, 18, 780, 11056, 1435, 288, 202, 2463, 2477, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2252, 18, 4936, 18, 780, 11056, 1435, 288, 202, 2463, 2477, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
+ "WHERE c.relfilenode=t.tgrelid AND t.tgfoid = p.oid " + "AND p.proname LIKE 'RI_FKey_%_upd') as a,"
+ "WHERE c.relname like '"+table+"' AND c.relfilenode=t.tgrelid " + "AND t.tgfoid = p.oid AND p.proname LIKE 'RI_FKey_%_upd') as a, "
public java.sql.ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException { Field f[] = new Field[14]; f[0] = new Field(connection, "PKTABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "PKTABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "PKTABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "PKCOLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "FKTABLE_CAT", iVarcharOid, 32); f[5] = new Field(connection, "FKTABLE_SCHEM", iVarcharOid, 32); f[6] = new Field(connection, "FKTABLE_NAME", iVarcharOid, 32); f[7] = new Field(connection, "FKCOLUMN_NAME", iVarcharOid, 32); f[8] = new Field(connection, "KEY_SEQ", iInt2Oid, 2); f[9] = new Field(connection, "UPDATE_RULE", iInt2Oid, 2); f[10] = new Field(connection, "DELETE_RULE", iInt2Oid, 2); f[11] = new Field(connection, "FK_NAME", iVarcharOid, 32); f[12] = new Field(connection, "PK_NAME", iVarcharOid, 32); f[13] = new Field(connection, "DEFERRABILITY", iInt2Oid, 2); java.sql.ResultSet rs = connection.ExecSQL("SELECT a.tgargs," + "substring(a.proname from 9 for (char_length(a.proname)-12))," + "substring(b.proname from 9 for (char_length(b.proname)-12))," + "a.tgdeferrable," + "a.tginitdeferred " + "FROM " + "(SELECT t.tgargs, t.tgconstrname, p.proname, t.tgdeferrable," + "t.tginitdeferred " + "FROM pg_class as c, pg_proc as p, pg_trigger as t " + "WHERE c.relfilenode=t.tgrelid AND t.tgfoid = p.oid " + "AND p.proname LIKE 'RI_FKey_%_upd') as a," + "(SELECT t.tgconstrname, p.proname " + "FROM pg_class as c, pg_proc as p, pg_trigger as t " + "WHERE c.relfilenode=t.tgrelid AND t.tgfoid = p.oid " + "AND p.proname LIKE 'RI_FKey_%_del') as b," + "(SELECT t.tgconstrname FROM pg_class as c, pg_trigger as t " + "WHERE c.relname like '"+table+"' AND c.relfilenode=t.tgrelid) as c " + "WHERE a.tgconstrname=b.tgconstrname AND a.tgconstrname=c.tgconstrname" ); Vector tuples = new Vector(); while (rs.next()) { tuples.add(parseConstraint(rs)); } return new ResultSet(connection, f, tuples, "OK", 1); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/355cc69dfce59c417b24ce9957824dfb565bc0f7/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 26246, 1798, 2396, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 13, 1216, 6483, 202, 95, 7734, 2286, 284, 8526, 273, 394, 2286, 63, 3461, 15533, 7734, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 27, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 28, 65, 273, 394, 2286, 12, 4071, 16, 315, 3297, 67, 28114, 3113, 277, 1702, 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, 2252, 18, 4669, 18, 13198, 26246, 1798, 2396, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 13, 1216, 6483, 202, 95, 7734, 2286, 284, 8526, 273, 394, 2286, 63, 3461, 15533, 7734, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 7734, 284, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 2 ]
if (state.getSelf().getInstanceVariable(iVisited.getName()) != null) {
if (runtime.getCurrentContext().getFrameSelf().getInstanceVariable(iVisited.getName()) != null) {
public Instruction visitInstVarNode(InstVarNode iVisited) { if (state.getSelf().getInstanceVariable(iVisited.getName()) != null) { definition = "instance-variable"; } return null; }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/6e15491217631472c05c6928672f9c7064a978b3/DefinedVisitor.java/buggy/src/org/jruby/evaluator/DefinedVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 24605, 3757, 10773, 1537, 907, 12, 10773, 1537, 907, 277, 30019, 13, 288, 202, 202, 430, 261, 2019, 18, 588, 10084, 7675, 588, 1442, 3092, 12, 77, 30019, 18, 17994, 10756, 480, 446, 13, 288, 1082, 202, 6907, 273, 315, 1336, 17, 6105, 14432, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 24605, 3757, 10773, 1537, 907, 12, 10773, 1537, 907, 277, 30019, 13, 288, 202, 202, 430, 261, 2019, 18, 588, 10084, 7675, 588, 1442, 3092, 12, 77, 30019, 18, 17994, 10756, 480, 446, 13, 288, 1082, 202, 6907, 273, 315, 1336, 17, 6105, 14432, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
lblRangeLabel.setText( Messages.getString( "AxisMarkersSheet.Label.Label" ) );
lblRangeLabel.setText( Messages.getString("AxisMarkersSheet.Label.Label") );
protected Composite getComponent( Composite parent ) { // Layout for the main composite GridLayout glContent = new GridLayout( ); glContent.numColumns = 2; glContent.horizontalSpacing = 5; glContent.verticalSpacing = 5; glContent.marginHeight = 7; glContent.marginWidth = 7; cmpContent = new Composite( parent, SWT.NONE ); cmpContent.setLayout( glContent ); // Layout for the List composite GridLayout glList = new GridLayout( ); glList.numColumns = 3; glList.horizontalSpacing = 5; glList.verticalSpacing = 5; glList.marginHeight = 0; glList.marginWidth = 0; cmpList = new Composite( cmpContent, SWT.NONE ); GridData gdCMPList = new GridData( GridData.FILL_BOTH ); gdCMPList.horizontalSpan = 2; cmpList.setLayoutData( gdCMPList ); cmpList.setLayout( glList ); // Layout for the buttons composite GridLayout glButtons = new GridLayout( ); glButtons.numColumns = 3; glButtons.horizontalSpacing = 5; glButtons.verticalSpacing = 5; glButtons.marginHeight = 5; glButtons.marginWidth = 0; Composite cmpButtons = new Composite( cmpList, SWT.NONE ); GridData gdCMPButtons = new GridData( GridData.FILL_HORIZONTAL ); gdCMPButtons.horizontalSpan = 3; cmpButtons.setLayoutData( gdCMPButtons ); cmpButtons.setLayout( glButtons ); btnAddLine = new Button( cmpButtons, SWT.PUSH ); GridData gdBTNAddLine = new GridData( GridData.FILL_HORIZONTAL ); btnAddLine.setLayoutData( gdBTNAddLine ); btnAddLine.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.AddLine" ) ); //$NON-NLS-1$ btnAddLine.addSelectionListener( this ); btnAddRange = new Button( cmpButtons, SWT.PUSH ); GridData gdBTNAddRange = new GridData( GridData.FILL_HORIZONTAL ); btnAddRange.setLayoutData( gdBTNAddRange ); btnAddRange.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.AddRange" ) ); //$NON-NLS-1$ btnAddRange.addSelectionListener( this ); btnRemove = new Button( cmpButtons, SWT.PUSH ); GridData gdBTNRemove = new GridData( GridData.FILL_HORIZONTAL ); btnRemove.setLayoutData( gdBTNRemove ); btnRemove.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.RemoveEntry" ) ); //$NON-NLS-1$ btnRemove.addSelectionListener( this ); lstMarkers = new List( cmpList, SWT.BORDER | SWT.SINGLE | SWT.V_SCROLL ); GridData gdLSTMarkers = new GridData( GridData.FILL_HORIZONTAL ); gdLSTMarkers.horizontalSpan = 3; gdLSTMarkers.heightHint = 100; lstMarkers.setLayoutData( gdLSTMarkers ); lstMarkers.addSelectionListener( this ); // Layout for the general composite slMarkers = new StackLayout( ); slMarkers.marginHeight = 0; slMarkers.marginWidth = 0; grpGeneral = new Group( cmpContent, SWT.NONE ); GridData gdCMPGeneral = new GridData( GridData.VERTICAL_ALIGN_BEGINNING | GridData.FILL_HORIZONTAL ); gdCMPGeneral.widthHint = 180; grpGeneral.setLayoutData( gdCMPGeneral ); grpGeneral.setLayout( slMarkers ); grpGeneral.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.MarkerProperties" ) ); //$NON-NLS-1$ // Layout for the Marker Line composite GridLayout glMarkerLine = new GridLayout( ); glMarkerLine.numColumns = 3; glMarkerLine.horizontalSpacing = 5; glMarkerLine.verticalSpacing = 5; glMarkerLine.marginHeight = 7; glMarkerLine.marginWidth = 7; cmpLine = new Composite( grpGeneral, SWT.NONE ); GridData gdGRPLine = new GridData( GridData.FILL_HORIZONTAL ); cmpLine.setLayoutData( gdGRPLine ); cmpLine.setLayout( glMarkerLine ); lblLineLabel = new Label( cmpLine, SWT.NONE ); { GridData gd = new GridData( ); gd.horizontalIndent = 5; gd.widthHint = 38; lblLineLabel.setLayoutData( gd ); lblLineLabel.setText( Messages.getString( "AxisMarkersSheet.Label.Label" ) ); //$NON-NLS-1$ } txtLineEText = new ExternalizedTextEditorComposite( cmpLine, SWT.BORDER | SWT.SINGLE, -1, -1, getContext( ).getUIServiceProvider( ).getRegisteredKeys( ), getContext( ).getUIServiceProvider( ), "" ); //$NON-NLS-1$ { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.horizontalSpan = 2; txtLineEText.setLayoutData( gd ); txtLineEText.addListener( this ); } // Layout for Value composite GridLayout glValue = new GridLayout( ); glValue.numColumns = 3; glValue.horizontalSpacing = 5; glValue.verticalSpacing = 5; glValue.marginHeight = 0; glValue.marginWidth = 0; Composite cmpValue = new Composite( cmpLine, SWT.NONE ); GridData gdCMPValue = new GridData( GridData.FILL_HORIZONTAL ); gdCMPValue.horizontalSpan = 3; cmpValue.setLayoutData( gdCMPValue ); cmpValue.setLayout( glValue ); lblValue = new Label( cmpValue, SWT.NONE ); GridData gdLBLValue = new GridData( ); gdLBLValue.horizontalIndent = 5; gdLBLValue.widthHint = 38; lblValue.setLayoutData( gdLBLValue ); lblValue.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.Value" ) ); //$NON-NLS-1$ txtValue = new TextEditorComposite( cmpValue, SWT.BORDER | SWT.SINGLE, true ); GridData gdTXTValue = new GridData( GridData.FILL_HORIZONTAL ); txtValue.setLayoutData( gdTXTValue ); txtValue.addListener( this ); btnLineFormatSpecifier = new Button( cmpValue, SWT.PUSH ); GridData gdBTNLineFormatSpecifier = new GridData( ); gdBTNLineFormatSpecifier.heightHint = 18; gdBTNLineFormatSpecifier.widthHint = 18; btnLineFormatSpecifier.setLayoutData( gdBTNLineFormatSpecifier ); btnLineFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); //$NON-NLS-1$ btnLineFormatSpecifier.addSelectionListener( this ); btnLineFormatSpecifier.getImage( ) .setBackground( btnLineFormatSpecifier.getBackground( ) ); lblAnchor = new Label( cmpLine, SWT.NONE ); GridData gdLBLAnchor = new GridData( ); gdLBLAnchor.horizontalIndent = 5; lblAnchor.setLayoutData( gdLBLAnchor ); lblAnchor.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.Anchor" ) ); //$NON-NLS-1$ cmbLineAnchor = new Combo( cmpLine, SWT.DROP_DOWN | SWT.READ_ONLY ); GridData gdCMBAnchor = new GridData( GridData.FILL_HORIZONTAL ); gdCMBAnchor.horizontalSpan = 2; cmbLineAnchor.setLayoutData( gdCMBAnchor ); cmbLineAnchor.addSelectionListener( this ); grpMarkerLine = new Group( cmpLine, SWT.NONE ); GridData gdGRPMarkerLine = new GridData( GridData.FILL_HORIZONTAL ); gdGRPMarkerLine.horizontalSpan = 3; grpMarkerLine.setLayoutData( gdGRPMarkerLine ); grpMarkerLine.setLayout( new FillLayout( ) ); grpMarkerLine.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.MarkerLineAttributes" ) ); //$NON-NLS-1$ liacMarkerLine = new LineAttributesComposite( grpMarkerLine, SWT.NONE, getContext( ), null, true, true, true ); liacMarkerLine.addListener( this ); btnLineTriggers = new Button( cmpLine, SWT.PUSH ); { GridData gd = new GridData( ); gd.horizontalSpan = 2; btnLineTriggers.setLayoutData( gd ); btnLineTriggers.setText( Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ) ); //$NON-NLS-1$ btnLineTriggers.addSelectionListener( this ); } // Layout for the Marker Range composite GridLayout glMarkerRange = new GridLayout( ); glMarkerRange.numColumns = 3; glMarkerRange.horizontalSpacing = 5; glMarkerRange.verticalSpacing = 5; glMarkerRange.marginHeight = 7; glMarkerRange.marginWidth = 7; cmpRange = new Composite( grpGeneral, SWT.NONE ); GridData gdGRPRange = new GridData( GridData.FILL_HORIZONTAL ); cmpRange.setLayoutData( gdGRPRange ); cmpRange.setLayout( glMarkerRange ); lblRangeLabel = new Label( cmpRange, SWT.NONE ); { GridData gd = new GridData( ); gd.horizontalIndent = 5; gd.widthHint = 38; lblRangeLabel.setLayoutData( gd ); lblRangeLabel.setText( Messages.getString( "AxisMarkersSheet.Label.Label" ) ); //$NON-NLS-1$ } txtRangeEText = new ExternalizedTextEditorComposite( cmpRange, SWT.BORDER | SWT.SINGLE, -1, -1, getContext( ).getUIServiceProvider( ).getRegisteredKeys( ), getContext( ).getUIServiceProvider( ), "" ); //$NON-NLS-1$ { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.horizontalSpan = 2; txtRangeEText.setLayoutData( gd ); txtRangeEText.addListener( this ); } // Layout for Value composite GridLayout glRangeValue = new GridLayout( ); glRangeValue.numColumns = 3; glRangeValue.horizontalSpacing = 2; glRangeValue.verticalSpacing = 5; glRangeValue.marginHeight = 0; glRangeValue.marginWidth = 0; Composite cmpRangeValue = new Composite( cmpRange, SWT.NONE ); GridData gdCMPRangeValue = new GridData( GridData.FILL_HORIZONTAL ); gdCMPRangeValue.horizontalSpan = 3; cmpRangeValue.setLayoutData( gdCMPRangeValue ); cmpRangeValue.setLayout( glRangeValue ); lblStartValue = new Label( cmpRangeValue, SWT.NONE ); GridData gdLBLStartValue = new GridData( ); gdLBLStartValue.horizontalIndent = 5; lblStartValue.setLayoutData( gdLBLStartValue ); lblStartValue.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.StartValue" ) ); //$NON-NLS-1$ txtStartValue = new TextEditorComposite( cmpRangeValue, SWT.BORDER | SWT.SINGLE, true ); GridData gdTXTStartValue = new GridData( GridData.FILL_HORIZONTAL ); txtStartValue.setLayoutData( gdTXTStartValue ); txtStartValue.addListener( this ); btnStartFormatSpecifier = new Button( cmpRangeValue, SWT.PUSH ); GridData gdBTNStartFormatSpecifier = new GridData( ); gdBTNStartFormatSpecifier.heightHint = 18; gdBTNStartFormatSpecifier.widthHint = 18; btnStartFormatSpecifier.setLayoutData( gdBTNStartFormatSpecifier ); btnStartFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); //$NON-NLS-1$ btnStartFormatSpecifier.addSelectionListener( this ); btnStartFormatSpecifier.getImage( ) .setBackground( btnStartFormatSpecifier.getBackground( ) ); lblEndValue = new Label( cmpRangeValue, SWT.NONE ); GridData gdLBLEndValue = new GridData( ); gdLBLEndValue.horizontalIndent = 5; lblEndValue.setLayoutData( gdLBLEndValue ); lblEndValue.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.EndValue" ) ); //$NON-NLS-1$ txtEndValue = new TextEditorComposite( cmpRangeValue, SWT.BORDER | SWT.SINGLE, true ); GridData gdTXTEndValue = new GridData( GridData.FILL_HORIZONTAL ); txtEndValue.setLayoutData( gdTXTEndValue ); txtEndValue.addListener( this ); btnEndFormatSpecifier = new Button( cmpRangeValue, SWT.PUSH ); GridData gdBTNEndFormatSpecifier = new GridData( ); gdBTNEndFormatSpecifier.heightHint = 18; gdBTNEndFormatSpecifier.widthHint = 18; btnEndFormatSpecifier.setLayoutData( gdBTNEndFormatSpecifier ); btnEndFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); //$NON-NLS-1$ btnEndFormatSpecifier.addSelectionListener( this ); btnEndFormatSpecifier.getImage( ) .setBackground( btnEndFormatSpecifier.getBackground( ) ); lblRangeAnchor = new Label( cmpRange, SWT.NONE ); GridData gdLBLRangeAnchor = new GridData( ); gdLBLRangeAnchor.horizontalIndent = 5; gdLBLRangeAnchor.widthHint = 54; lblRangeAnchor.setLayoutData( gdLBLRangeAnchor ); lblRangeAnchor.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.Anchor" ) ); //$NON-NLS-1$ cmbRangeAnchor = new Combo( cmpRange, SWT.DROP_DOWN | SWT.READ_ONLY ); GridData gdCMBRangeAnchor = new GridData( GridData.FILL_HORIZONTAL ); gdCMBRangeAnchor.horizontalSpan = 2; cmbRangeAnchor.setLayoutData( gdCMBRangeAnchor ); cmbRangeAnchor.addSelectionListener( this ); lblRangeFill = new Label( cmpRange, SWT.NONE ); GridData gdLBLRangeFill = new GridData( ); gdLBLRangeFill.horizontalIndent = 5; gdLBLRangeFill.widthHint = 54; lblRangeFill.setLayoutData( gdLBLRangeFill ); lblRangeFill.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.Fill" ) ); //$NON-NLS-1$ fccRange = new FillChooserComposite( cmpRange, SWT.NONE, getContext( ), null, true, true ); GridData gdFCCRange = new GridData( GridData.FILL_HORIZONTAL ); gdFCCRange.horizontalSpan = 2; fccRange.setLayoutData( gdFCCRange ); fccRange.addListener( this ); grpMarkerRange = new Group( cmpRange, SWT.NONE ); GridData gdGRPMarkerRange = new GridData( GridData.FILL_HORIZONTAL ); gdGRPMarkerRange.horizontalSpan = 3; grpMarkerRange.setLayoutData( gdGRPMarkerRange ); grpMarkerRange.setLayout( new FillLayout( ) ); grpMarkerRange.setText( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.RangeOutline" ) ); //$NON-NLS-1$ liacMarkerRange = new LineAttributesComposite( grpMarkerRange, SWT.NONE, getContext( ), null, true, true, true ); liacMarkerRange.addListener( this ); btnRangeTriggers = new Button( cmpRange, SWT.PUSH ); { GridData gd = new GridData( ); gd.horizontalSpan = 2; btnRangeTriggers.setLayoutData( gd ); btnRangeTriggers.setText( Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ) ); //$NON-NLS-1$ btnRangeTriggers.addSelectionListener( this ); } lacLabel = new LabelAttributesComposite( cmpContent, SWT.NONE, Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.MarkerLabelProperties" ), //$NON-NLS-1$ Position.ABOVE_LITERAL, LabelImpl.create( ), getChart( ).getUnits( ), false, true, getContext( ), true ); GridData gdLACLabel = new GridData( GridData.VERTICAL_ALIGN_BEGINNING | GridData.FILL_HORIZONTAL ); lacLabel.setLayoutData( gdLACLabel ); lacLabel.addListener( this ); slMarkers.topControl = cmpLine; populateLists( ); refreshButtons( ); setAllEnabled( !getAxisForProcessing( ).isCategoryAxis( ) || getAxisForProcessing( ).getType( ) .equals( AxisType.TEXT_LITERAL ) ); return cmpContent; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/914e51508d3fcacb3ba0228e7fe9ccb6126251ba/AxisMarkersSheet.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/axis/AxisMarkersSheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 14728, 10322, 12, 14728, 982, 262, 202, 95, 202, 202, 759, 9995, 364, 326, 2774, 9635, 202, 202, 6313, 3744, 5118, 1350, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 1350, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 1350, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 1350, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 1350, 18, 10107, 2686, 273, 2371, 31, 202, 202, 7043, 1350, 18, 10107, 2384, 273, 2371, 31, 202, 202, 9625, 1350, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 9625, 1350, 18, 542, 3744, 12, 5118, 1350, 11272, 202, 202, 759, 9995, 364, 326, 987, 9635, 202, 202, 6313, 3744, 5118, 682, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 682, 18, 2107, 3380, 273, 890, 31, 202, 202, 7043, 682, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 682, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 682, 18, 10107, 2686, 273, 374, 31, 202, 202, 7043, 682, 18, 10107, 2384, 273, 374, 31, 202, 202, 9625, 682, 273, 394, 14728, 12, 9411, 1350, 16, 348, 8588, 18, 9826, 11272, 202, 202, 6313, 751, 15551, 39, 4566, 682, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 11272, 202, 202, 19016, 39, 4566, 682, 18, 18396, 6952, 273, 576, 31, 202, 202, 9625, 682, 18, 542, 3744, 751, 12, 15551, 39, 4566, 682, 11272, 202, 202, 9625, 682, 18, 542, 3744, 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, 14728, 10322, 12, 14728, 982, 262, 202, 95, 202, 202, 759, 9995, 364, 326, 2774, 9635, 202, 202, 6313, 3744, 5118, 1350, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 1350, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 1350, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 1350, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 1350, 18, 10107, 2686, 273, 2371, 31, 202, 202, 7043, 1350, 18, 10107, 2384, 273, 2371, 31, 202, 202, 9625, 1350, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 9625, 1350, 18, 542, 3744, 12, 5118, 1350, 11272, 202, 202, 759, 9995, 364, 326, 987, 9635, 202, 202, 6313, 3744, 2 ]
addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false);
addReferencedItem(tgtItem, ensemblDataSet, "evidence", true, "", false);
protected Collection translateItem(Item srcItem) throws ObjectStoreException, InterMineException { Collection result = new HashSet(); String srcNs = XmlUtil.getNamespaceFromURI(srcItem.getClassName()); String className = XmlUtil.getFragmentFromURI(srcItem.getClassName()); Collection translated = super.translateItem(srcItem); if (translated != null) { for (Iterator i = translated.iterator(); i.hasNext();) { boolean storeTgtItem = true; Item tgtItem = (Item) i.next(); if ("karyotype".equals(className)) { tgtItem.addReference(organismRef); addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false); if (tgtItem.hasAttribute("identifier")) { Item synonym = createSynonym(tgtItem.getIdentifier(), "name", tgtItem.getAttribute("identifier").getValue(), ensemblSourceRef); addReferencedItem(tgtItem, synonym, "synonyms", true, "subject", false); result.add(synonym); } Item location = createLocation(srcItem, tgtItem, "chromosome", "chr", true); location.addAttribute(new Attribute("strand", "0")); result.add(location); } else if ("exon".equals(className)) { tgtItem.addReference(organismRef); Item stableId = getStableId("exon", srcItem.getIdentifier(), srcNs); if (stableId != null) { moveField(stableId, tgtItem, "stable_id", "identifier"); } addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false); // more than one item representing same exon -> store up in map Item location = createLocation(srcItem, tgtItem, "contig", "contig", true); if (srcItem.hasAttribute("nonUniqueId")) { storeTgtItem = false; processExon(srcItem, tgtItem, location); } else { addToLocations(srcItem.getIdentifier(), location); } } else if ("simple_feature".equals(className)) { tgtItem.addReference(organismRef); tgtItem.addAttribute(new Attribute("identifier", srcItem.getIdentifier())); addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false); result.add(createAnalysisResult(srcItem, tgtItem)); result.add(createLocation(srcItem, tgtItem, "contig", "contig", true)); } else if ("repeat_feature".equals(className)) { tgtItem.addReference(organismRef); addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false); result.add(createAnalysisResult(srcItem, tgtItem)); result.add(createLocation(srcItem, tgtItem, "contig", "contig", true)); promoteField(tgtItem, srcItem, "consensus", "repeat_consensus", "repeat_consensus"); promoteField(tgtItem, srcItem, "type", "repeat_consensus", "repeat_class"); promoteField(tgtItem, srcItem, "identifier", "repeat_consensus", "repeat_name"); } else if ("gene".equals(className)) { tgtItem.addReference(organismRef); addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false); // gene name should be its stable id (or identifier if none) Item stableId = null; stableId = getStableId("gene", srcItem.getIdentifier(), srcNs); if (stableId != null) { moveField(stableId, tgtItem, "stable_id", "identifier"); } if (!tgtItem.hasAttribute("identifier")) { tgtItem.addAttribute(new Attribute("identifier", srcItem.getIdentifier())); } // display_xref is gene name (?) //promoteField(tgtItem, srcItem, "symbol", "display_xref", "display_label"); result.addAll(setGeneSynonyms(srcItem, tgtItem, srcNs)); // if no organismDbId set to be same as identifier if (!tgtItem.hasAttribute("organismDbId")) { tgtItem.addAttribute(new Attribute("organismDbId", tgtItem.getAttribute("identifier").getValue())); } } else if ("contig".equals(className)) { tgtItem.addReference(organismRef); addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false); if (tgtItem.hasAttribute("identifier")) { Item synonym = createSynonym(tgtItem.getIdentifier(), "identifier", tgtItem.getAttribute("identifier").getValue(), ensemblSourceRef); addReferencedItem(tgtItem, synonym, "synonyms", true, "subject", false); result.add(synonym); } } else if ("transcript".equals(className)) { tgtItem.addReference(organismRef); addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false); // SimpleRelation between Gene and Transcript result.add(createSimpleRelation(tgtItem.getReference("gene").getRefId(), tgtItem.getIdentifier())); // set transcript identifier to be ensembl stable id if (!tgtItem.hasAttribute("identifier")) { Item stableId = getStableId("transcript", srcItem.getIdentifier(), srcNs); if (stableId != null) { moveField(stableId, tgtItem, "stable_id", "identifier"); } else { tgtItem.addAttribute(new Attribute("identifier", srcItem.getIdentifier())); } } Item translation = ItemHelper.convert(srcItemReader.getItemById(srcItem .getReference("translation").getRefId())); // Transcript.translation is set by mapping file - add reference to protein // if no SwissProt or trembl accession found there will not be a protein String proteinId = getChosenProteinId(translation.getIdentifier(), srcNs); if (proteinId != null) { tgtItem.addReference(new Reference("protein", proteinId)); result.add(createSimpleRelation(tgtItem.getIdentifier(), proteinId)); } // need to fetch translation to get identifier for CDS // create CDS and reference from MRNA Item cds = createItem(tgtNs + "CDS", ""); if (translation != null) { Item stableId = getStableId("translation", translation.getIdentifier(), srcNs); cds.setAttribute("identifier", stableId.getAttribute("stable_id").getValue() + "_CDS"); cds.addToCollection("polypeptides", translation.getIdentifier()); result.add(createSimpleRelation(cds.getIdentifier(), translation.getIdentifier())); } cds.addReference(organismRef); addReferencedItem(cds, ensemblDb, "evidence", true, "", false); Item synonym = createSynonym(tgtItem.getIdentifier(), "identifier", cds.getAttribute("identifier").getValue(), ensemblSourceRef); result.add(synonym); if (proteinId != null) { cds.setReference("protein", proteinId); } tgtItem.addToCollection("CDSs", cds); result.add(createSimpleRelation(tgtItem.getIdentifier(), cds.getIdentifier())); result.add(cds); // stable_ids become syonyms, need ensembl DataSet as evidence } else if (className.endsWith("_stable_id")) { // TODO: should this be: // addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false); tgtItem.addToCollection("evidence", ensemblDb); tgtItem.addAttribute(new Attribute("type", "identifier")); } else if ("chromosome".equals(className)) { tgtItem.addReference(organismRef); addReferencedItem(tgtItem, ensemblDb, "evidence", true, "", false); if (tgtItem.hasAttribute("identifier")) { Item synonym = createSynonym(tgtItem.getIdentifier(), "name", tgtItem.getAttribute("identifier").getValue(), ensemblSourceRef); addReferencedItem(tgtItem, synonym, "synonyms", true, "subject", false); result.add(synonym); } } else if ("translation".equals(className)) { tgtItem.addReference(organismRef); // if protein can be created it will be put in proteins collection and stored // at end of translating Item protein = getProteinByPrimaryAccession(srcItem, srcNs); // Transcript.translation is set by mapping file - add reference to protein // if no SwissProt or trembl accession found there will not be a protein if (protein != null) { tgtItem.addReference(new Reference("protein", protein.getIdentifier())); result.add(createSimpleRelation(tgtItem.getIdentifier(), protein.getIdentifier())); } // set translation identifier to be ensembl stable id Item stableId = getStableId("translation", srcItem.getIdentifier(), srcNs); if (stableId != null) { moveField(stableId, tgtItem, "stable_id", "identifier"); } else { tgtItem.addAttribute(new Attribute("identifier", srcItem.getIdentifier())); } } if (storeTgtItem) { result.add(tgtItem); } } // assembly maps to null but want to create location on a supercontig } else if ("assembly".equals(className)) { Item sc = getSuperContig(srcItem.getAttribute("superctg_name").getValue(), srcItem.getReference("chromosome").getRefId(), Integer.parseInt(srcItem.getAttribute("chr_start").getValue()), Integer.parseInt(srcItem.getAttribute("chr_end").getValue()), srcItem.getAttribute("superctg_ori").getValue()); // locate contig on supercontig - for drosophila and anopheles strans is always 1 Item location = createLocation(srcItem, sc, "contig", "superctg", false); result.add(location); } return result; }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/55775efc5e7c6f4c46a538752004538f293c8c2a/EnsemblDataTranslator.java/buggy/flymine/model/ensembl/src/java/org/flymine/dataconversion/EnsemblDataTranslator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 2200, 4204, 1180, 12, 1180, 1705, 1180, 13, 3639, 1216, 1033, 21151, 16, 5294, 49, 558, 503, 288, 3639, 2200, 563, 273, 394, 6847, 5621, 3639, 514, 1705, 10386, 273, 5714, 1304, 18, 588, 3402, 1265, 3098, 12, 4816, 1180, 18, 588, 3834, 10663, 3639, 514, 2658, 273, 5714, 1304, 18, 588, 7456, 1265, 3098, 12, 4816, 1180, 18, 588, 3834, 10663, 3639, 2200, 9955, 273, 2240, 18, 13929, 1180, 12, 4816, 1180, 1769, 3639, 309, 261, 22899, 480, 446, 13, 288, 5411, 364, 261, 3198, 277, 273, 9955, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 7734, 1250, 1707, 56, 4521, 1180, 273, 638, 31, 7734, 4342, 11680, 1180, 273, 261, 1180, 13, 277, 18, 4285, 5621, 7734, 309, 7566, 79, 814, 10570, 9654, 14963, 12, 12434, 3719, 288, 10792, 11680, 1180, 18, 1289, 2404, 12, 22543, 6228, 1957, 1769, 10792, 527, 22344, 1180, 12, 29672, 1180, 16, 570, 5747, 80, 13676, 16, 315, 23431, 3113, 638, 16, 23453, 629, 1769, 10792, 309, 261, 29672, 1180, 18, 5332, 1499, 2932, 5644, 6, 3719, 288, 13491, 4342, 26308, 273, 752, 10503, 6435, 12, 29672, 1180, 18, 588, 3004, 9334, 315, 529, 3113, 27573, 11680, 1180, 18, 588, 1499, 2932, 5644, 20387, 24805, 9334, 570, 5747, 80, 1830, 1957, 1769, 13491, 527, 22344, 1180, 12, 29672, 1180, 16, 26308, 16, 315, 11982, 16968, 3113, 638, 16, 315, 7857, 3113, 629, 1769, 13491, 563, 18, 1289, 12, 11982, 6435, 1769, 10792, 289, 10792, 4342, 2117, 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, 2200, 4204, 1180, 12, 1180, 1705, 1180, 13, 3639, 1216, 1033, 21151, 16, 5294, 49, 558, 503, 288, 3639, 2200, 563, 273, 394, 6847, 5621, 3639, 514, 1705, 10386, 273, 5714, 1304, 18, 588, 3402, 1265, 3098, 12, 4816, 1180, 18, 588, 3834, 10663, 3639, 514, 2658, 273, 5714, 1304, 18, 588, 7456, 1265, 3098, 12, 4816, 1180, 18, 588, 3834, 10663, 3639, 2200, 9955, 273, 2240, 18, 13929, 1180, 12, 4816, 1180, 1769, 3639, 309, 261, 22899, 480, 446, 13, 288, 5411, 364, 261, 3198, 277, 273, 9955, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 7734, 1250, 1707, 56, 4521, 1180, 273, 638, 31, 7734, 4342, 11680, 1180, 273, 261, 1180, 13, 277, 2 ]
f[0] = new Field(connection,new String("TABLE_SCHEM"),iVarcharOid,32);
f[0] = new Field(connection,"TABLE_SCHEM",iVarcharOid,32);
public java.sql.ResultSet getSchemas() throws SQLException { // We don't use schemas, so we simply return a single schema name "". // Field f[] = new Field[1]; Vector v = new Vector(); byte[][] tuple = new byte[1][0]; f[0] = new Field(connection,new String("TABLE_SCHEM"),iVarcharOid,32); tuple[0] = "".getBytes(); v.addElement(tuple); return new ResultSet(connection,f,v,"OK",1); }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/7b09f310e38798eea75fcbaddeb1808940bf951c/DatabaseMetaData.java/clean/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 1322, 7753, 1435, 1216, 6483, 225, 288, 565, 368, 1660, 2727, 1404, 999, 12783, 16, 1427, 732, 8616, 327, 279, 2202, 1963, 508, 1408, 18, 565, 368, 565, 2286, 284, 8526, 273, 394, 2286, 63, 21, 15533, 565, 5589, 331, 273, 394, 5589, 5621, 565, 1160, 63, 6362, 65, 3193, 273, 394, 1160, 63, 21, 6362, 20, 15533, 565, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 10837, 7775, 67, 55, 10390, 3113, 77, 58, 22483, 19105, 16, 1578, 1769, 565, 3193, 63, 20, 65, 273, 1408, 18, 588, 2160, 5621, 565, 331, 18, 1289, 1046, 12, 8052, 1769, 565, 327, 394, 10842, 12, 4071, 16, 74, 16, 90, 10837, 3141, 3113, 21, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 1322, 7753, 1435, 1216, 6483, 225, 288, 565, 368, 1660, 2727, 1404, 999, 12783, 16, 1427, 732, 8616, 327, 279, 2202, 1963, 508, 1408, 18, 565, 368, 565, 2286, 284, 8526, 273, 394, 2286, 63, 21, 15533, 565, 5589, 331, 273, 394, 5589, 5621, 565, 1160, 63, 6362, 65, 3193, 273, 394, 1160, 63, 21, 6362, 20, 15533, 565, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 10837, 7775, 67, 55, 10390, 3113, 77, 58, 22483, 19105, 16, 1578, 1769, 565, 3193, 63, 20, 65, 273, 1408, 18, 588, 2160, 5621, 565, 331, 18, 1289, 1046, 12, 8052, 1769, 565, 327, 394, 10842, 12, 4071, 16, 74, 16, 90, 10837, 3141, 2 ]
mdrp[i] = input.popInt();
mdrp[i] = input.popShort();
public void work() { for (int i = 0; i < mLARc.length; i++) { mLARc[i] = input.popInt(); //fix inputs!! } for (int i = 0; i < mdrp.length; i++) { mdrp[i] = input.popInt(); } //Decoding of the coded Log-Area ratios: for (int i = 0; i < 8; i++) { int temp1 = (mLARc[i] + MIC[i]) << 10; int temp2 = B[i] << 10; temp1 = temp1 - temp2; temp1 = INVA[i] * temp1; mLARpp[i] = temp1 + temp1; } //Computation of the quantized reflection coefficients //Interpolation of mLARpp to get mLARp: for (int k = 0; k < 13; k++) { for(int i = 0; i < 8; i++) { mLARp[i] = (mprevLARpp[i] >> 2) + (mLARpp[i] >> 2); mLARp[i] = mLARp[i] + (mprevLARpp[i] >> 1); } } for (int k = 13; k < 27; k++) { for (int i = 0; i < 8; i++) { mLARp[i] = (mprevLARpp[i] >> 1) + (mLARpp[i] >> 1); } } for (int k = 27; k < 39; k++) { for (int i = 0; i < 8; i++) { mLARp[i] = (mprevLARpp[i] >> 2) + (mLARpp[i] >> 2); mLARp[i] = mLARp[i] + (mLARpp[i] >> 1); } } for (int k = 40; k < 160; k++) { for (int i = 0; i < 8; i++) { mLARp[i] = mLARpp[i]; } } //set current LARpp to previous: for (int j = 0; j < mprevLARpp.length; j++) { mprevLARpp[j] = mLARpp[j]; } //Compute mrrp[0..7] from mLARp[0...7] for (int i = 0; i < 8; i++) { int temp = Math.abs(mLARp[i]); if (temp < 11059) { temp = temp << 1; } else { if (temp < 20070) { temp = temp + 11059; } else { temp = (temp >> 2) + 26112; } } mrrp[i] = temp; if (mLARp[i] < 0) { mrrp[i] = 0 - mrrp[i]; } } //Short term synthesis filtering: uses drp[0..39] and rrp[0...7] // to produce sr[0...159]. A temporary array wt[0..159] is used. for (int k = 0; k < 40; k++) { wt[k] = mdrp[k]; } for (int k = 0; k < 40; k++) { wt[40+k] = mdrp[k]; } for (int k = 0; k < 40; k++) { wt[80+k] = mdrp[k]; } for (int k = 0; k < 40; k++) { wt[120+k] = mdrp[k]; } //below is supposed to be from index_start to index_end...how is //this different from just 0 to 159? for (int k = 0; k < 160; k++) { int sri = wt[k]; for (int i = 1; i < 8; i++) { sri = sri - (mrrp[8-i] * v[8-i]); v[9-i] = v[8-i] + (mrrp[8-i] * sri); } sr[k] = sri; v[0] = sri; } for (int j = 0; j < sr.length; j++) { output.pushInt(sr[j]); } }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/c5e91a6ec8a5659d8447a6e75ef238c33b98716a/StGsmDecoder.java/buggy/streams/apps/benchmarks/gsm/streamit/StGsmDecoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1440, 1435, 377, 288, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 48, 985, 71, 18, 2469, 31, 277, 27245, 202, 95, 202, 565, 312, 48, 985, 71, 63, 77, 65, 273, 810, 18, 5120, 1702, 5621, 282, 368, 904, 4540, 8548, 202, 97, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 3069, 84, 18, 2469, 31, 277, 27245, 202, 95, 202, 565, 312, 3069, 84, 63, 77, 65, 273, 810, 18, 5120, 1702, 5621, 202, 97, 202, 202, 759, 1799, 4751, 434, 326, 29512, 1827, 17, 5484, 25706, 30, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1725, 31, 277, 27245, 202, 95, 202, 565, 509, 1906, 21, 273, 261, 81, 48, 985, 71, 63, 77, 65, 397, 490, 2871, 63, 77, 5717, 2296, 1728, 31, 202, 565, 509, 1906, 22, 273, 605, 63, 77, 65, 2296, 1728, 31, 202, 565, 1906, 21, 273, 1906, 21, 300, 1906, 22, 31, 202, 565, 1906, 21, 273, 2120, 27722, 63, 77, 65, 380, 1906, 21, 31, 202, 565, 312, 48, 985, 11858, 63, 77, 65, 273, 1906, 21, 397, 1906, 21, 31, 202, 97, 202, 565, 368, 7703, 367, 434, 326, 10251, 1235, 5463, 14229, 202, 759, 31516, 434, 312, 48, 985, 11858, 358, 336, 312, 48, 985, 84, 30, 202, 1884, 261, 474, 417, 273, 374, 31, 417, 411, 5958, 31, 417, 27245, 202, 95, 202, 565, 364, 12, 474, 277, 273, 374, 31, 277, 411, 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, 1440, 1435, 377, 288, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 48, 985, 71, 18, 2469, 31, 277, 27245, 202, 95, 202, 565, 312, 48, 985, 71, 63, 77, 65, 273, 810, 18, 5120, 1702, 5621, 282, 368, 904, 4540, 8548, 202, 97, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 3069, 84, 18, 2469, 31, 277, 27245, 202, 95, 202, 565, 312, 3069, 84, 63, 77, 65, 273, 810, 18, 5120, 1702, 5621, 202, 97, 202, 202, 759, 1799, 4751, 434, 326, 29512, 1827, 17, 5484, 25706, 30, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1725, 31, 277, 27245, 202, 95, 202, 565, 509, 1906, 2 ]
while (isAnimated() && !monitor.isCanceled()) {
while (isAnimated() && !monitor.isCanceled() && (startErrorState == showingError)) {
void animateLoop(IProgressMonitor monitor) { // Create an off-screen image to draw on, and a GC to draw with. // Both are disposed after the animation. if (getControl().isDisposed()) return; Display display = imageCanvas.getDisplay(); ImageData[] imageDataArray = getImageData(); ImageData imageData = imageDataArray[0]; Image image = getImage(imageData); int imageDataIndex = 0; final Color[] backgrounds = new Color[1]; Image offScreenImage = new Image( display, loader.logicalScreenWidth, loader.logicalScreenHeight); GC offScreenImageGC = new GC(offScreenImage); try { final boolean[] disposed = { false }; // Use syncExec to get the background color of the imageCanvas. display.syncExec(new Runnable() { public void run() { if (imageCanvas.isDisposed()) { disposed[0] = true; return; } backgrounds[0] = imageCanvas.getBackground(); } }); //If we never got the background then leave. if (disposed[0]) return; // Fill the off-screen image with the background color of the canvas. offScreenImageGC.setBackground(backgrounds[0]); offScreenImageGC.fillRectangle( 0, 0, loader.logicalScreenWidth, loader.logicalScreenHeight); // Draw the current image onto the off-screen image. offScreenImageGC.drawImage( image, 0, 0, imageData.width, imageData.height, imageData.x, imageData.y, imageData.width, imageData.height); if (loader.repeatCount > 0) { while (isAnimated() && !monitor.isCanceled()) { if (getControl().isDisposed()) return; if (imageData.disposalMethod == SWT.DM_FILL_BACKGROUND) { // Fill with the background color before drawing. Color bgColor = null; int backgroundPixel = loader.backgroundPixel; if (backgroundPixel != -1) { // Fill with the background color. RGB backgroundRGB = imageData.palette.getRGB(backgroundPixel); bgColor = new Color(null, backgroundRGB); } try { offScreenImageGC.setBackground( bgColor != null ? bgColor : backgrounds[0]); offScreenImageGC.fillRectangle( imageData.x, imageData.y, imageData.width, imageData.height); } finally { if (bgColor != null) bgColor.dispose(); } } else if ( imageData.disposalMethod == SWT.DM_FILL_PREVIOUS) { // Restore the previous image before drawing. offScreenImageGC.drawImage( image, 0, 0, imageData.width, imageData.height, imageData.x, imageData.y, imageData.width, imageData.height); } // Get the next image data. imageDataIndex = (imageDataIndex + 1) % imageDataArray.length; imageData = imageDataArray[imageDataIndex]; image.dispose(); image = new Image(display, imageData); // Draw the new image data. offScreenImageGC.drawImage( image, 0, 0, imageData.width, imageData.height, imageData.x, imageData.y, imageData.width, imageData.height); // Draw the off-screen image to the screen. imageCanvasGC.drawImage(offScreenImage, 0, 0); // Sleep for the specified delay time before drawing again. try { Thread.sleep(visibleDelay(imageData.delayTime * 10)); } catch (InterruptedException e) { } } } } finally { image.dispose(); offScreenImage.dispose(); offScreenImageGC.dispose(); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cc72ec84df4d93cc632406d8e555ffcc65f0b1b1/AnimationItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 14671, 6452, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 759, 1788, 392, 3397, 17, 9252, 1316, 358, 3724, 603, 16, 471, 279, 15085, 358, 3724, 598, 18, 202, 202, 759, 19118, 854, 1015, 7423, 1839, 326, 8794, 18, 202, 202, 430, 261, 588, 3367, 7675, 291, 1669, 7423, 10756, 1082, 202, 2463, 31, 202, 202, 4236, 2562, 273, 1316, 12971, 18, 588, 4236, 5621, 202, 202, 2040, 751, 8526, 26229, 1076, 273, 10567, 751, 5621, 202, 202, 2040, 751, 26229, 273, 26229, 1076, 63, 20, 15533, 202, 202, 2040, 1316, 273, 10567, 12, 2730, 751, 1769, 202, 202, 474, 26229, 1016, 273, 374, 31, 202, 202, 6385, 5563, 8526, 5412, 87, 273, 394, 5563, 63, 21, 15533, 202, 202, 2040, 3397, 7956, 2040, 273, 1082, 202, 2704, 3421, 12, 9506, 202, 5417, 16, 9506, 202, 6714, 18, 20300, 7956, 2384, 16, 9506, 202, 6714, 18, 20300, 7956, 2686, 1769, 202, 202, 15396, 3397, 7956, 2040, 15396, 273, 394, 15085, 12, 3674, 7956, 2040, 1769, 202, 202, 698, 288, 1082, 202, 6385, 1250, 8526, 1015, 7423, 273, 288, 629, 289, 31, 1082, 202, 759, 2672, 3792, 1905, 358, 336, 326, 5412, 2036, 434, 326, 1316, 12971, 18, 1082, 202, 5417, 18, 8389, 1905, 12, 2704, 10254, 1435, 288, 9506, 202, 482, 918, 1086, 1435, 288, 6862, 202, 430, 261, 2730, 12971, 18, 291, 1669, 7423, 10756, 288, 25083, 202, 2251, 7423, 63, 20, 65, 273, 638, 31, 25083, 202, 2463, 31, 6862, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 14671, 6452, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 759, 1788, 392, 3397, 17, 9252, 1316, 358, 3724, 603, 16, 471, 279, 15085, 358, 3724, 598, 18, 202, 202, 759, 19118, 854, 1015, 7423, 1839, 326, 8794, 18, 202, 202, 430, 261, 588, 3367, 7675, 291, 1669, 7423, 10756, 1082, 202, 2463, 31, 202, 202, 4236, 2562, 273, 1316, 12971, 18, 588, 4236, 5621, 202, 202, 2040, 751, 8526, 26229, 1076, 273, 10567, 751, 5621, 202, 202, 2040, 751, 26229, 273, 26229, 1076, 63, 20, 15533, 202, 202, 2040, 1316, 273, 10567, 12, 2730, 751, 1769, 202, 202, 474, 26229, 1016, 273, 374, 31, 202, 202, 6385, 5563, 8526, 5412, 87, 273, 394, 5563, 2 ]
if ((available == null) || (defaults == null)) {
if ((available == null) || available.isEmpty()) {
public Locale getBestMatchingLocale(Locale requestedLocale, List defaults, Collection available) { if ((available == null) || (defaults == null)) { return null; } // the requested locale is the match we want to find most if (available.contains(requestedLocale)) { // check if the requested locale is directly available return requestedLocale; } if (requestedLocale.getVariant().length() > 0) { // locale has a variant like "en_EN_whatever", try only with language and country Locale check = new Locale(requestedLocale.getLanguage(), requestedLocale.getCountry(), ""); if (available.contains(check)) { return check; } } if (requestedLocale.getCountry().length() > 0) { // locale has a country like "en_EN", try only with language Locale check = new Locale(requestedLocale.getLanguage(), "", ""); if (available.contains(check)) { return check; } } // no match found for the requested locale, return the first match from the default locales return getFirstMatchingLocale(defaults, available); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/3894e60be8f5f1c93e1e50076f188eaff001ce33/CmsLocaleManager.java/buggy/src/org/opencms/i18n/CmsLocaleManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6458, 28782, 9517, 3916, 12, 3916, 3764, 3916, 16, 987, 3467, 16, 2200, 2319, 13, 288, 3639, 309, 14015, 5699, 422, 446, 13, 747, 2319, 18, 291, 1921, 10756, 288, 2398, 327, 446, 31, 3639, 289, 3639, 368, 326, 3764, 2573, 353, 326, 845, 732, 2545, 358, 1104, 4486, 3639, 309, 261, 5699, 18, 12298, 12, 19065, 3916, 3719, 288, 5411, 368, 866, 309, 326, 3764, 2573, 353, 5122, 2319, 5411, 327, 3764, 3916, 31, 3639, 289, 3639, 309, 261, 19065, 3916, 18, 588, 9356, 7675, 2469, 1435, 405, 374, 13, 288, 5411, 368, 2573, 711, 279, 5437, 3007, 315, 275, 67, 1157, 67, 3350, 14299, 3113, 775, 1338, 598, 2653, 471, 5251, 2398, 6458, 866, 273, 394, 6458, 12, 19065, 3916, 18, 588, 3779, 9334, 3764, 3916, 18, 588, 8142, 9334, 1408, 1769, 5411, 309, 261, 5699, 18, 12298, 12, 1893, 3719, 288, 7734, 327, 866, 31, 5411, 289, 3639, 289, 3639, 309, 261, 19065, 3916, 18, 588, 8142, 7675, 2469, 1435, 405, 374, 13, 288, 5411, 368, 2573, 711, 279, 5251, 3007, 315, 275, 67, 1157, 3113, 775, 1338, 598, 2653, 5411, 6458, 866, 273, 394, 6458, 12, 19065, 3916, 18, 588, 3779, 9334, 23453, 1408, 1769, 5411, 309, 261, 5699, 18, 12298, 12, 1893, 3719, 288, 7734, 327, 866, 31, 5411, 289, 3639, 289, 3639, 368, 1158, 845, 1392, 364, 326, 3764, 2573, 16, 327, 326, 1122, 845, 628, 326, 805, 6922, 3639, 327, 7521, 9517, 3916, 12, 7606, 16, 2319, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6458, 28782, 9517, 3916, 12, 3916, 3764, 3916, 16, 987, 3467, 16, 2200, 2319, 13, 288, 3639, 309, 14015, 5699, 422, 446, 13, 747, 2319, 18, 291, 1921, 10756, 288, 2398, 327, 446, 31, 3639, 289, 3639, 368, 326, 3764, 2573, 353, 326, 845, 732, 2545, 358, 1104, 4486, 3639, 309, 261, 5699, 18, 12298, 12, 19065, 3916, 3719, 288, 5411, 368, 866, 309, 326, 3764, 2573, 353, 5122, 2319, 5411, 327, 3764, 3916, 31, 3639, 289, 3639, 309, 261, 19065, 3916, 18, 588, 9356, 7675, 2469, 1435, 405, 374, 13, 288, 5411, 368, 2573, 711, 279, 5437, 3007, 315, 275, 67, 1157, 67, 3350, 14299, 3113, 775, 1338, 598, 2653, 471, 5251, 2398, 6458, 866, 273, 2 ]
public void startElement(String name, AttributeList atts) throws org.xml.sax.SAXException { //-- handle namespaces String namespace = null; if (hasNameSpace(name)) { name = getLocalPart(name); } UnmarshalState state = null; if (_stateInfo.empty()) { //-- Initialize since this is the first element if (_cdResolver == null) { if (_topClass == null) { String err = "The class for the root element '" + name + "' could not be found."; throw new SAXException(err); } else _cdResolver = new ClassDescriptorResolverImpl(_loader); } _topState = new UnmarshalState(); _topState.elementName = name; XMLClassDescriptor classDesc = null; //-- If _topClass is null, then we need to search //-- the resolver for one if (_topClass == null) { classDesc = _cdResolver.resolveByXMLName(name, null); if (classDesc != null) _topClass = classDesc.getJavaClass(); if (_topClass == null) { String err = "The class for the root element '" + name + "' could not be found."; throw new SAXException(err); } } //-- create a "fake" FieldDescriptor for the root element XMLFieldDescriptorImpl fieldDesc = new XMLFieldDescriptorImpl(_topClass, name, name, NodeType.Element); _topState.fieldDesc = fieldDesc; //-- look for XMLClassDescriptor if null if (classDesc == null) classDesc = getClassDescriptor(_topClass); fieldDesc.setClassDescriptor(classDesc); if (classDesc == null) { //-- report error if ((!_topClass.isPrimitive()) && (!Serializable.class.isAssignableFrom( _topClass ))) throw new SAXException(MarshalException.NON_SERIALIZABLE_ERR); else { String err = "unable to create XMLClassDescriptor " + "for class: " + _topClass.getName(); throw new SAXException(err); } } _topState.classDesc = classDesc; _topState.type = _topClass; // Retrieving the xsi:type attribute, if present String instanceClassname = getInstanceType(atts); if (instanceClassname != null) { Class instanceClass = null; Object instance = null; try { instanceClass = _cdResolver.resolve(instanceClassname) .getJavaClass(); if (!_topClass.isAssignableFrom(instanceClass)) { String err = instanceClass + " is not a subclass of " + _topClass; throw new SAXException(err); } } catch(Exception ex) { String msg = "unable to instantiate " + instanceClassname + "; "; throw new SAXException(msg + ex); } //-- try to create instance of the given Class try { _topState.object = instanceClass.newInstance(); } catch(Exception ex) { String msg = "unable to instantiate " + instanceClass.getName() + "; "; throw new SAXException(msg + ex); } } else { //-- try to create instance of the given Class try { _topState.object = _topClass.newInstance(); } catch(Exception ex) { String msg = "unable to instantiate " + _topClass.getName() + "; "; throw new SAXException(msg + ex); } } _stateInfo.push(_topState); processAttributes(atts, classDesc); return; } //-- get MarshalDescriptor for the given element UnmarshalState parentState = (UnmarshalState)_stateInfo.peek(); //-- create new state object state = new UnmarshalState(); state.elementName = name; _stateInfo.push(state); //-- make sure we should proceed if (parentState.object == null) return; Class _class = null; //-- Find ClassDescriptor for Parent XMLClassDescriptor classDesc = parentState.classDesc; if (classDesc == null) { classDesc = (XMLClassDescriptor)parentState.fieldDesc.getClassDescriptor(); if (classDesc == null) classDesc = getClassDescriptor(parentState.object.getClass()); } //-- Find FieldDescriptor for the element //-- we wish to unmarshal XMLFieldDescriptor descriptor = null; descriptor = classDesc.getFieldDescriptor(name, NodeType.Element); /* If descriptor is null, we need to handle possible inheritence, which might not be described in the current ClassDescriptor. This can be a slow process...for speed use the match attribute of the xml element in the mapping file. This logic might not be completely necessary, and perhaps we should remove it. */ XMLClassDescriptor cdInherited = null; if (descriptor == null) { cdInherited = _cdResolver.resolveByXMLName(name, null); if (cdInherited != null) { Class subclass = cdInherited.getJavaClass(); XMLFieldDescriptor[] descriptors = classDesc.getElementDescriptors(); for (int i = 0; i < descriptors.length; i++) { if (descriptors[i] == null) continue; Class superclass = descriptors[i].getFieldType(); if (superclass.isAssignableFrom(subclass)) { descriptor = descriptors[i]; break; } } } } /* end of additional inheritance logic */ if (descriptor == null) { String msg = "unable to find FieldDescriptor for '" + name; msg += "' in ClassDescriptor of " + classDesc.getXMLName(); message(msg); return; } //-- Find object type and create new Object of that type state.fieldDesc = descriptor; /* <update> * we need to add this code back in, to make sure * we have proper access rights. * if (!descriptor.getAccessRights().isWritable()) { if (debug) { buf.setLength(0); buf.append("The field for element '"); buf.append(name); buf.append("' is read-only."); message(buf.toString()); } return; } */ //-- Find class to instantiate //-- check xml names to see if we should look for a more specific //-- ClassDescriptor, otherwise just use the one found in the //-- descriptor classDesc = null; if (cdInherited != null) classDesc = cdInherited; else if (!name.equals(descriptor.getXMLName())) classDesc = _cdResolver.resolveByXMLName(name, null); if (classDesc == null) classDesc = (XMLClassDescriptor)descriptor.getClassDescriptor(); FieldHandler handler = descriptor.getHandler(); boolean useHandler = true; try { //-- Get Class type...first use ClassDescriptor, //-- since it could be more specific than //-- the FieldDescriptor if (classDesc != null) { _class = classDesc.getJavaClass(); //-- XXXX this is a hack I know...but we //-- XXXX can't use the handler in this case state.derived = true; } else _class = descriptor.getFieldType(); // Retrieving the xsi:type attribute, if present String instanceType = getInstanceType(atts); if (instanceType != null) { Class instanceClass = null; try { XMLClassDescriptor instanceDesc = getClassDescriptor(instanceType, _loader); if (instanceDesc != null) { instanceClass = instanceDesc.getJavaClass(); classDesc = instanceDesc; } else instanceClass = loadClass(instanceType, null); if (!_class.isAssignableFrom(instanceClass)) { String err = instanceClass + " is not a subclass of " + _class; throw new SAXException(err); } _class = instanceClass; useHandler = false; } catch(Exception ex) { String msg = "unable to instantiate " + instanceType; throw new SAXException(msg + "; " + ex); } } //-- Handle support for "Any" type if (_class == Object.class) { Class pClass = parentState.type; ClassLoader loader = pClass.getClassLoader(); //-- first look for a descriptor based //-- on the XML name classDesc = _cdResolver.resolveByXMLName(name, loader); //-- if null, create classname, and try resolving String cname = null; if (classDesc == null) { //-- create class name cname = JavaNaming.toJavaClassName(name); classDesc = getClassDescriptor(cname, loader); } //-- if still null, try using parents package if (classDesc == null) { //-- use parent to get package information String pkg = pClass.getName(); int idx = pkg.lastIndexOf('.'); if (idx > 0) { pkg = pkg.substring(0,idx+1); cname = pkg + cname; classDesc = getClassDescriptor(cname, loader); } } if (classDesc != null) { _class = classDesc.getJavaClass(); useHandler = false; } else { String err = "unable to determine class for " + "element: " + name; throw new SAXException(err); } } boolean byteArray = false; if (_class.isArray()) byteArray = (_class.getComponentType() == Byte.TYPE); //-- check for immutable if (isPrimitive(_class) || descriptor.isImmutable() || byteArray) { state.object = null; state.primitiveOrImmutable = true; } else { //-- XXXX should remove this test once we can //-- XXXX come up with a better solution if ((!state.derived) && useHandler) state.object = handler.newInstance(parentState.object); //-- reassign class in case there is a conflict //-- between descriptor#getFieldType and //-- handler#newInstance...I should hope not, but //-- who knows if (state.object != null) _class = state.object.getClass(); else { try { state.object = _class.newInstance(); } catch(java.lang.Exception ex) { String err = "unable to instantiate a new type of: "; err += className(_class); throw new SAXException(err); } } } state.type = _class; } catch (java.lang.IllegalStateException ise) { message(ise.toString()); throw new SAXException(ise); } //-- At this point we should have a new object, unless //-- we are dealing with a primitive type, or a special //-- case such as byte[] if (classDesc == null) { classDesc = getClassDescriptor(_class); } state.classDesc = classDesc; if ((state.object == null) && (!state.primitiveOrImmutable)) { String err = "unable to unmarshal: " + name + "\n"; err += " - unable to instantiate: " + className(_class); throw new SAXException(err); } //-- assign object, if incremental if (descriptor.isIncremental()) { if (debug) { buf.setLength(0); buf.append("debug: Processing incrementally for element: "); buf.append(name); message(buf.toString()); } try { handler.setValue(parentState.object, state.object); } catch(java.lang.IllegalStateException ise) { String err = "unable to add \"" + name + "\" to "; err += parentState.fieldDesc.getXMLName(); err += " due to the following error: " + ise; throw new SAXException(err); } } if (state.object != null) processAttributes(atts, classDesc); else if ((state.type != null) && (!state.primitiveOrImmutable)) { buf.setLength(0); buf.append("The current object for element '"); buf.append(name); buf.append("\' is null, ignoring attributes."); message(buf.toString()); } } //-- void startElement(String, AttributeList)
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/73afc2a946b3dca4a1ef937db80e79ce0cab6d1b/UnmarshalHandler.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/xml/UnmarshalHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 508, 16, 3601, 682, 15687, 13, 540, 1216, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 565, 288, 7734, 368, 413, 1640, 7728, 7734, 514, 1981, 273, 446, 31, 7734, 309, 261, 5332, 26857, 12, 529, 3719, 288, 5411, 508, 273, 6993, 1988, 12, 529, 1769, 3639, 289, 7734, 3814, 1119, 919, 273, 446, 31, 7734, 309, 261, 67, 2019, 966, 18, 5531, 10756, 288, 5411, 368, 413, 9190, 3241, 333, 353, 326, 1122, 930, 13491, 309, 261, 67, 4315, 4301, 422, 446, 13, 288, 27573, 309, 261, 67, 3669, 797, 422, 446, 13, 288, 10792, 514, 393, 273, 315, 1986, 667, 364, 326, 1365, 930, 2119, 397, 13491, 508, 397, 2491, 3377, 486, 506, 1392, 1199, 31, 10792, 604, 394, 14366, 12, 370, 1769, 7734, 289, 7734, 469, 5397, 389, 4315, 4301, 273, 394, 26641, 4301, 2828, 24899, 6714, 1769, 5411, 289, 13491, 389, 3669, 1119, 273, 394, 3814, 1119, 5621, 5411, 389, 3669, 1119, 18, 2956, 461, 273, 508, 31, 4766, 565, 3167, 797, 3187, 667, 4217, 273, 446, 31, 13491, 368, 413, 971, 389, 3669, 797, 353, 446, 16, 1508, 732, 1608, 358, 1623, 5411, 368, 413, 326, 5039, 364, 1245, 5411, 309, 261, 67, 3669, 797, 422, 446, 13, 288, 7734, 667, 4217, 273, 389, 4315, 4301, 18, 10828, 858, 4201, 461, 12, 529, 16, 446, 1769, 27573, 309, 261, 1106, 4217, 480, 446, 13, 5397, 389, 3669, 797, 273, 667, 4217, 18, 588, 5852, 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, 13591, 12, 780, 508, 16, 3601, 682, 15687, 13, 540, 1216, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 565, 288, 7734, 368, 413, 1640, 7728, 7734, 514, 1981, 273, 446, 31, 7734, 309, 261, 5332, 26857, 12, 529, 3719, 288, 5411, 508, 273, 6993, 1988, 12, 529, 1769, 3639, 289, 7734, 3814, 1119, 919, 273, 446, 31, 7734, 309, 261, 67, 2019, 966, 18, 5531, 10756, 288, 5411, 368, 413, 9190, 3241, 333, 353, 326, 1122, 930, 13491, 309, 261, 67, 4315, 4301, 422, 446, 13, 288, 27573, 309, 261, 67, 3669, 797, 422, 446, 13, 288, 10792, 514, 393, 273, 315, 1986, 667, 364, 326, 1365, 930, 2119, 397, 13491, 508, 397, 2 ]
} else if (jj_2_49(2147483647)) {
} else if (jj_2_53(2147483647)) {
final public void CastLookahead() throws ParseException { if (jj_2_48(2)) { jj_consume_token(LPAREN); PrimitiveType(); label_25: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: ; break; default: jj_la1[121] = jj_gen; break label_25; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } jj_consume_token(RPAREN); } else if (jj_2_49(2147483647)) { jj_consume_token(LPAREN); CompoundWord(); jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: jj_consume_token(LPAREN); CompoundWord(); jj_consume_token(RPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case TILDE: jj_consume_token(TILDE); break; case BANG: jj_consume_token(BANG); break; case LPAREN: jj_consume_token(LPAREN); break; case IDENTIFIER: jj_consume_token(IDENTIFIER); break; case THIS: jj_consume_token(THIS); break; case SUPER: jj_consume_token(SUPER); break; case NEW: jj_consume_token(NEW); break; case FALSE: case NULL: case TRUE: case DECIMAL_LITERAL: case HEX_LITERAL: case OCTAL_LITERAL: case LONG_DECIMAL_LITERAL: case LONG_HEX_LITERAL: case LONG_OCTAL_LITERAL: case DOUBLE_FLOATING_POINT_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: Literal(); break; default: jj_la1[122] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: jj_la1[123] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/8e9d6d4a3458f4fb8d197d118149328dfb2ae150/ACParser.java/clean/drjava/src/edu/rice/cs/drjava/model/autocomplete/parser/ACParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 19782, 9794, 11617, 1435, 1216, 10616, 288, 565, 309, 261, 78, 78, 67, 22, 67, 8875, 12, 22, 3719, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 48, 15111, 1769, 1377, 14488, 559, 5621, 1377, 1433, 67, 2947, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 511, 21217, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 26009, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 2947, 31, 3639, 289, 3639, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 3639, 10684, 67, 21224, 67, 2316, 12, 54, 21217, 1769, 1377, 289, 1377, 10684, 67, 21224, 67, 2316, 12, 54, 15111, 1769, 565, 289, 469, 309, 261, 78, 78, 67, 22, 67, 8643, 12, 22, 3461, 30623, 30792, 3719, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 48, 15111, 1769, 1377, 21327, 3944, 5621, 1377, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 1377, 10684, 67, 21224, 67, 2316, 12, 54, 21217, 1769, 565, 289, 469, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 511, 15111, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 48, 15111, 1769, 3639, 21327, 3944, 5621, 3639, 10684, 67, 21224, 67, 2316, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 19782, 9794, 11617, 1435, 1216, 10616, 288, 565, 309, 261, 78, 78, 67, 22, 67, 8875, 12, 22, 3719, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 48, 15111, 1769, 1377, 14488, 559, 5621, 1377, 1433, 67, 2947, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 511, 21217, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 26009, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 2947, 31, 3639, 289, 3639, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 3639, 2 ]
if( unLo > unHi )
if( unLo > unHi ) {
private void qSort3( int loSt, int hiSt, int dSt ) { int unLo; int unHi; int ltLo; int gtHi; int med; int n; int m; int sp; int lo; int hi; int d; StackElem[] stack = new StackElem[ QSORT_STACK_SIZE ]; for( int count = 0; count < QSORT_STACK_SIZE; count++ ) stack[ count ] = new StackElem(); sp = 0; stack[ sp ].ll = loSt; stack[ sp ].hh = hiSt; stack[ sp ].dd = dSt; sp++; while( sp > 0 ) { if( sp >= QSORT_STACK_SIZE ) panic(); sp--; lo = stack[ sp ].ll; hi = stack[ sp ].hh; d = stack[ sp ].dd; if( hi - lo < SMALL_THRESH || d > DEPTH_THRESH ) { simpleSort( lo, hi, d ); if( workDone > workLimit && firstAttempt ) return; continue; } med = med3( block[ zptr[ lo ] + d + 1 ], block[ zptr[ hi ] + d + 1 ], block[ zptr[ ( lo + hi ) >> 1 ] + d + 1 ] ); unLo = ltLo = lo; unHi = gtHi = hi; while( true ) { while( true ) { if( unLo > unHi ) break; n = ( (int)block[ zptr[ unLo ] + d + 1 ] ) - med; if( n == 0 ) { int temp = 0; temp = zptr[ unLo ]; zptr[ unLo ] = zptr[ ltLo ]; zptr[ ltLo ] = temp; ltLo++; unLo++; continue; } ; if( n > 0 ) break; unLo++; } while( true ) { if( unLo > unHi ) break; n = ( (int)block[ zptr[ unHi ] + d + 1 ] ) - med; if( n == 0 ) { int temp = 0; temp = zptr[ unHi ]; zptr[ unHi ] = zptr[ gtHi ]; zptr[ gtHi ] = temp; gtHi--; unHi--; continue; } ; if( n < 0 ) break; unHi--; } if( unLo > unHi ) break; int temp = 0; temp = zptr[ unLo ]; zptr[ unLo ] = zptr[ unHi ]; zptr[ unHi ] = temp; unLo++; unHi--; } if( gtHi < ltLo ) { stack[ sp ].ll = lo; stack[ sp ].hh = hi; stack[ sp ].dd = d + 1; sp++; continue; } n = ( ( ltLo - lo ) < ( unLo - ltLo ) ) ? ( ltLo - lo ) : ( unLo - ltLo ); vswap( lo, unLo - n, n ); m = ( ( hi - gtHi ) < ( gtHi - unHi ) ) ? ( hi - gtHi ) : ( gtHi - unHi ); vswap( unLo, hi - m + 1, m ); n = lo + unLo - ltLo - 1; m = hi - ( gtHi - unHi ) + 1; stack[ sp ].ll = lo; stack[ sp ].hh = n; stack[ sp ].dd = d; sp++; stack[ sp ].ll = n + 1; stack[ sp ].hh = m - 1; stack[ sp ].dd = d + 1; sp++; stack[ sp ].ll = m; stack[ sp ].hh = hi; stack[ sp ].dd = d; sp++; } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/8ce1de2178a0422105fa437c327b49fb5637ff28/CBZip2OutputStream.java/buggy/proposal/myrmidon/src/java/org/apache/aut/bzip2/CBZip2OutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1043, 4416, 23, 12, 509, 437, 510, 16, 509, 10118, 510, 16, 509, 302, 510, 262, 565, 288, 3639, 509, 640, 1504, 31, 3639, 509, 640, 25009, 31, 3639, 509, 13489, 1504, 31, 3639, 509, 9879, 25009, 31, 3639, 509, 6735, 31, 3639, 509, 290, 31, 3639, 509, 312, 31, 3639, 509, 1694, 31, 3639, 509, 437, 31, 3639, 509, 10118, 31, 3639, 509, 302, 31, 3639, 7283, 7498, 8526, 2110, 273, 394, 7283, 7498, 63, 2238, 23988, 67, 21971, 67, 4574, 308, 31, 3639, 364, 12, 509, 1056, 273, 374, 31, 1056, 411, 2238, 23988, 67, 21971, 67, 4574, 31, 1056, 9904, 262, 5411, 2110, 63, 1056, 308, 273, 394, 7283, 7498, 5621, 3639, 1694, 273, 374, 31, 3639, 2110, 63, 1694, 308, 18, 2906, 273, 437, 510, 31, 3639, 2110, 63, 1694, 308, 18, 21622, 273, 10118, 510, 31, 3639, 2110, 63, 1694, 308, 18, 449, 273, 302, 510, 31, 3639, 1694, 9904, 31, 3639, 1323, 12, 1694, 405, 374, 262, 3639, 288, 5411, 309, 12, 1694, 1545, 2238, 23988, 67, 21971, 67, 4574, 262, 7734, 3933, 5621, 5411, 1694, 413, 31, 5411, 437, 273, 2110, 63, 1694, 308, 18, 2906, 31, 5411, 10118, 273, 2110, 63, 1694, 308, 18, 21622, 31, 5411, 302, 273, 2110, 63, 1694, 308, 18, 449, 31, 5411, 309, 12, 10118, 300, 437, 411, 17918, 67, 2455, 14753, 747, 302, 405, 2030, 22561, 67, 2455, 14753, 262, 5411, 288, 7734, 4143, 4416, 12, 437, 16, 10118, 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, 3238, 918, 1043, 4416, 23, 12, 509, 437, 510, 16, 509, 10118, 510, 16, 509, 302, 510, 262, 565, 288, 3639, 509, 640, 1504, 31, 3639, 509, 640, 25009, 31, 3639, 509, 13489, 1504, 31, 3639, 509, 9879, 25009, 31, 3639, 509, 6735, 31, 3639, 509, 290, 31, 3639, 509, 312, 31, 3639, 509, 1694, 31, 3639, 509, 437, 31, 3639, 509, 10118, 31, 3639, 509, 302, 31, 3639, 7283, 7498, 8526, 2110, 273, 394, 7283, 7498, 63, 2238, 23988, 67, 21971, 67, 4574, 308, 31, 3639, 364, 12, 509, 1056, 273, 374, 31, 1056, 411, 2238, 23988, 67, 21971, 67, 4574, 31, 1056, 9904, 262, 5411, 2110, 63, 1056, 308, 273, 394, 7283, 7498, 5621, 3639, 1694, 2 ]
LinearPrinter.println(" resetting parent pointer for " + newChildPipe.get(0)); newChildPipe.get(0).setParent(parentPipe);
private static void doPipelineAdd(SIRPipeline parentPipe, SIRPipeline newChildPipe, HashMap linearRepMap) { LinearPrinter.println(" new child pipe: "); Iterator newKidIter = newChildPipe.getChildren().iterator(); while(newKidIter.hasNext()) {LinearPrinter.println(" " + newKidIter.next());} // if the new child pipe has 0-1 children, we are done if (newChildPipe.size() == 0) { LinearPrinter.println(" (no children)"); return; } else if (newChildPipe.size() == 1) { LinearPrinter.println(" (one child)"); LinearPrinter.println(" resetting parent pointer for " + newChildPipe.get(0)); newChildPipe.get(0).setParent(parentPipe); return; } // if the newChild pipeline contains all of the children of // the parent pipe, there is no need to do any replacing // (we would just be adding a pipeline with its only child a pipeline). if (parentPipe.size() != newChildPipe.size()) { // set the parent field of the child pipe to be the parent (duh) newChildPipe.setParent(parentPipe); newChildPipe.setInit(SIRStream.makeEmptyInit()); // set to empty init method // remember the location of the first wrapper pipe's child // in the original parent pipeline (so we can insert the wrapper // pipe at the appropriate place. int newPipeIndex = parentPipe.indexOf(newChildPipe.get(0)); if (newPipeIndex == -1) {throw new RuntimeException("unknown child in wrapper pipe");} // now, remove all of the streams that appear in the new child wrapper pipeline Iterator wrappedChildIter = newChildPipe.getChildren().iterator(); while(wrappedChildIter.hasNext()) { SIRStream removeKid = (SIRStream)wrappedChildIter.next() ; parentPipe.remove(removeKid); } // now, add the new child pipeline to the parent at the index of first wrapped child parentPipe.add(newPipeIndex,newChildPipe); } else { // no need to do wrap all of the children again. newChildPipe = parentPipe; } // now, calculate the overall linear rep of the child pipeline List repList = getLinearRepList(linearRepMap, newChildPipe.getChildren()); // list of linear reps LinearTransform pipeTransform = LinearTransformPipeline.calculate(repList); try { LinearFilterRepresentation newRep = pipeTransform.transform(); // add a mapping from child pipe to the new linear form. linearRepMap.put(newChildPipe, newRep); // write output for output parsing scripts (check output mode // because printing this takes a loooooong time for big matrices) if (LinearPrinter.getOutput()) { LinearPrinter.println("Linear pipeline found: " + newChildPipe + "\n-->Matrix:\n" + newRep.getA() + "\n-->Constant Vector:\n" + newRep.getb()); } } catch (NoTransformPossibleException e) { // otherwise something bad happened in the combination process. LinearPrinter.println(" can't combine transform reps: " + e.getMessage()); //throw new RuntimeException("Error combining pipeline!"); } return; }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/1a670b48be0096b5c596820b7105c86541a1e439/LinearAnalyzer.java/clean/streams/src/at/dms/kjc/sir/linear/LinearAnalyzer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 741, 8798, 986, 12, 2320, 54, 8798, 982, 11546, 16, 6862, 1377, 5705, 54, 8798, 19783, 11546, 16, 6862, 1377, 4317, 9103, 18933, 863, 13, 288, 202, 15982, 12149, 18, 8222, 2932, 394, 1151, 6010, 30, 315, 1769, 202, 3198, 394, 47, 350, 2360, 273, 19783, 11546, 18, 588, 4212, 7675, 9838, 5621, 202, 17523, 12, 2704, 47, 350, 2360, 18, 5332, 2134, 10756, 288, 15982, 12149, 18, 8222, 2932, 225, 315, 397, 394, 47, 350, 2360, 18, 4285, 10663, 97, 202, 202, 759, 309, 326, 394, 1151, 6010, 711, 374, 17, 21, 2325, 16, 732, 854, 2731, 202, 430, 261, 2704, 1763, 11546, 18, 1467, 1435, 422, 374, 13, 288, 202, 565, 13921, 12149, 18, 8222, 2932, 225, 261, 2135, 2325, 2225, 1769, 202, 565, 327, 31, 202, 97, 469, 309, 261, 2704, 1763, 11546, 18, 1467, 1435, 422, 404, 13, 288, 202, 565, 13921, 12149, 18, 8222, 2932, 225, 261, 476, 1151, 2225, 1769, 202, 565, 13921, 12149, 18, 8222, 2932, 225, 30691, 982, 4407, 364, 315, 397, 19783, 11546, 18, 588, 12, 20, 10019, 202, 565, 19783, 11546, 18, 588, 12, 20, 2934, 542, 3054, 12, 2938, 11546, 1769, 202, 565, 327, 31, 202, 97, 202, 202, 759, 309, 326, 19783, 5873, 1914, 777, 434, 326, 2325, 434, 202, 759, 326, 982, 6010, 16, 1915, 353, 1158, 1608, 358, 741, 1281, 13993, 202, 759, 261, 1814, 4102, 2537, 506, 6534, 279, 5873, 598, 2097, 1338, 1151, 279, 5873, 2934, 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, 377, 3238, 760, 918, 741, 8798, 986, 12, 2320, 54, 8798, 982, 11546, 16, 6862, 1377, 5705, 54, 8798, 19783, 11546, 16, 6862, 1377, 4317, 9103, 18933, 863, 13, 288, 202, 15982, 12149, 18, 8222, 2932, 394, 1151, 6010, 30, 315, 1769, 202, 3198, 394, 47, 350, 2360, 273, 19783, 11546, 18, 588, 4212, 7675, 9838, 5621, 202, 17523, 12, 2704, 47, 350, 2360, 18, 5332, 2134, 10756, 288, 15982, 12149, 18, 8222, 2932, 225, 315, 397, 394, 47, 350, 2360, 18, 4285, 10663, 97, 202, 202, 759, 309, 326, 394, 1151, 6010, 711, 374, 17, 21, 2325, 16, 732, 854, 2731, 202, 430, 261, 2704, 1763, 11546, 18, 1467, 1435, 422, 374, 13, 288, 202, 565, 13921, 12149, 2 ]
public final boolean hasLocalPropertiesForExtendedElements( ) { if ( !isSameType( ) ) return false; if ( !isExtendedElements( ) ) return false; List elements = getElements( ); for ( Iterator iter = elements.iterator( ); iter.hasNext( ); ) { DesignElementHandle elementHandle = (DesignElementHandle) iter .next( ); Iterator propIter = elementHandle.getPropertyIterator( ); while ( propIter.hasNext( ) ) { PropertyHandle propertyHandle = (PropertyHandle) propIter .next( ); String name = propertyHandle.getDefn( ).getName( ); if ( IDesignElementModel.EXTENDS_PROP.equals( name ) ) continue; if ( elementHandle.getElement( ).getLocalProperty( elementHandle.getModule( ), name ) != null ) return true; } } return false; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/7a8901e22a00fadf540ba238a22fb2a695b7644f/GroupElementHandle.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/GroupElementHandle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 1250, 711, 2042, 2297, 1290, 11456, 3471, 12, 262, 202, 95, 202, 202, 430, 261, 401, 291, 8650, 559, 12, 262, 262, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 401, 291, 11456, 3471, 12, 262, 262, 1082, 202, 2463, 629, 31, 202, 202, 682, 2186, 273, 8886, 12, 11272, 202, 202, 1884, 261, 4498, 1400, 273, 2186, 18, 9838, 12, 11272, 1400, 18, 5332, 2134, 12, 11272, 262, 202, 202, 95, 1082, 202, 15478, 1046, 3259, 930, 3259, 273, 261, 15478, 1046, 3259, 13, 1400, 6862, 202, 18, 4285, 12, 11272, 1082, 202, 3198, 2270, 2360, 273, 930, 3259, 18, 588, 1396, 3198, 12, 11272, 1082, 202, 17523, 261, 2270, 2360, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 1396, 3259, 1272, 3259, 273, 261, 1396, 3259, 13, 2270, 2360, 25083, 202, 18, 4285, 12, 11272, 9506, 202, 780, 508, 273, 1272, 3259, 18, 588, 3262, 82, 12, 262, 18, 17994, 12, 11272, 9506, 202, 430, 261, 1599, 281, 724, 1046, 1488, 18, 4142, 1157, 3948, 67, 15811, 18, 14963, 12, 508, 262, 262, 6862, 202, 17143, 31, 6862, 9506, 202, 430, 261, 930, 3259, 18, 21336, 12, 262, 18, 588, 2042, 1396, 12, 25083, 202, 2956, 3259, 18, 588, 3120, 12, 262, 16, 508, 262, 480, 446, 262, 6862, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 1250, 711, 2042, 2297, 1290, 11456, 3471, 12, 262, 202, 95, 202, 202, 430, 261, 401, 291, 8650, 559, 12, 262, 262, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 401, 291, 11456, 3471, 12, 262, 262, 1082, 202, 2463, 629, 31, 202, 202, 682, 2186, 273, 8886, 12, 11272, 202, 202, 1884, 261, 4498, 1400, 273, 2186, 18, 9838, 12, 11272, 1400, 18, 5332, 2134, 12, 11272, 262, 202, 202, 95, 1082, 202, 15478, 1046, 3259, 930, 3259, 273, 261, 15478, 1046, 3259, 13, 1400, 6862, 202, 18, 4285, 12, 11272, 1082, 202, 3198, 2270, 2360, 273, 930, 3259, 18, 588, 1396, 3198, 12, 11272, 1082, 202, 17523, 261, 2270, 2360, 18, 5332, 2 ]
GrailsDomainClass domainClass = this.grailsApplication.getGrailsDomainClass("org.codehaus.groovy.grails.orm.hibernate.PersistentMethodTestClass");
GrailsDomainClass domainClass = this.grailsApplication.getGrailsDomainClass("PersistentMethodTests"); GroovyObject obj = (GroovyObject)domainClass.newInstance(); obj.setProperty( "id", new Long(1) ); obj.setProperty( "firstName", "fred" ); obj.setProperty( "lastName", "flintstone" ); obj.setProperty( "age", new Integer(45)); obj.invokeMethod("save", null); GroovyObject obj2 = (GroovyObject)domainClass.newInstance(); obj2.setProperty( "id", new Long(2) ); obj2.setProperty( "firstName", "wilma" ); obj2.setProperty( "lastName", "flintstone" ); obj2.setProperty( "age", new Integer(42)); obj2.invokeMethod("save", null); GroovyObject obj3 = (GroovyObject)domainClass.newInstance(); obj3.setProperty( "id", new Long(3) ); obj3.setProperty( "firstName", "dino" ); obj3.setProperty( "lastName", "dinosaur" ); obj3.setProperty( "age", new Integer(12)); obj3.invokeMethod("save", null); Object returnValue = obj.getMetaClass().invokeStaticMethod(obj, "findAllByFirstName", new Object[] { "fred", new Integer(10) }); assertNotNull(returnValue); assertTrue(returnValue instanceof List); List returnList = (List)returnValue; assertEquals(1, returnList.size()); returnValue = obj.getMetaClass().invokeStaticMethod(obj, "findAllByFirstNameAndLastName", new Object[] { "fred", "flintstone" }); assertNotNull(returnValue); assertTrue(returnValue instanceof List); returnList = (List)returnValue; assertEquals(1, returnList.size()); /*returnValue = obj.getMetaClass().invokeStaticMethod(obj, "findByFirstNameOrLastName", new Object[] { "fred", "flintstone" }); assertNotNull(returnValue); assertTrue(returnValue instanceof List);
public void testFindByPersistentMethods() { GrailsDomainClass domainClass = this.grailsApplication.getGrailsDomainClass("org.codehaus.groovy.grails.orm.hibernate.PersistentMethodTestClass"); GroovyObject obj = (GroovyObject)domainClass.newInstance(); obj.setProperty( "id", new Long(1) ); obj.setProperty( "firstName", "fred" ); obj.setProperty( "lastName", "flintstone" ); obj.setProperty( "age", new Integer(45)); obj.invokeMethod("save", null); GroovyObject obj2 = (GroovyObject)domainClass.newInstance(); obj2.setProperty( "id", new Long(2) ); obj2.setProperty( "firstName", "wilma" ); obj2.setProperty( "lastName", "flintstone" ); obj2.setProperty( "age", new Integer(42)); obj2.invokeMethod("save", null); GroovyObject obj3 = (GroovyObject)domainClass.newInstance(); obj3.setProperty( "id", new Long(3) ); obj3.setProperty( "firstName", "dino" ); obj3.setProperty( "lastName", "dinosaur" ); obj3.setProperty( "age", new Integer(12)); obj3.invokeMethod("save", null); Object returnValue = obj.getMetaClass().invokeStaticMethod(obj, "findAllByFirstName", new Object[] { "fred", new Integer(10) }); assertNotNull(returnValue); assertTrue(returnValue instanceof List); List returnList = (List)returnValue; assertEquals(1, returnList.size()); returnValue = obj.getMetaClass().invokeStaticMethod(obj, "findAllByFirstNameAndLastName", new Object[] { "fred", "flintstone" }); assertNotNull(returnValue); assertTrue(returnValue instanceof List); returnList = (List)returnValue; assertEquals(1, returnList.size()); /*returnValue = obj.getMetaClass().invokeStaticMethod(obj, "findByFirstNameOrLastName", new Object[] { "fred", "flintstone" }); assertNotNull(returnValue); assertTrue(returnValue instanceof List); returnList = (List)returnValue; assertEquals(2, returnList.size());*/ returnList = (List)obj.getMetaClass().invokeStaticMethod(obj, "findAllByFirstNameNotEqual", new Object[] { "fred" }); assertEquals(2, returnList.size()); obj = (GroovyObject)returnList.get(0); obj2 = (GroovyObject)returnList.get(1); assertFalse("fred".equals( obj.getProperty("firstName"))); assertFalse("fred".equals( obj2.getProperty("firstName"))); returnList = (List)obj.getMetaClass().invokeStaticMethod(obj, "findAllByAgeLessThan", new Object[] { new Integer(20) }); assertEquals(1, returnList.size()); obj = (GroovyObject)returnList.get(0); assertEquals("dino", obj.getProperty("firstName")); returnList = (List)obj.getMetaClass().invokeStaticMethod(obj, "findAllByAgeGreaterThan", new Object[] { new Integer(20) }); assertEquals(2, returnList.size()); returnList = (List)obj.getMetaClass().invokeStaticMethod(obj, "findAllByAgeGreaterThanAndLastName", new Object[] { new Integer(20), "flintstone" }); assertEquals(2, returnList.size()); returnList = (List)obj.getMetaClass().invokeStaticMethod(obj, "findAllByLastNameLike", new Object[] { "flint%" }); assertEquals(2, returnList.size()); returnList = (List)obj.getMetaClass().invokeStaticMethod(obj, "findAllByAgeBetween", new Object[] { new Integer(10), new Integer(43) }); assertEquals(2, returnList.size()); Map queryMap = new HashMap(); queryMap.put("firstName", "wilma"); queryMap.put("lastName", "flintstone"); returnValue = obj.getMetaClass().invokeStaticMethod(obj, "findWhere", new Object[] { queryMap }); assertNotNull(returnValue); // now lets test out some junk and make sure we get errors! try { returnList = (List)obj.getMetaClass().invokeStaticMethod(obj, "findAllByLastNameLike", new Object[] { new Boolean(false) }); fail("Should have thrown an exception for invalid arguments"); } catch(MissingMethodException mme) { //great! } // and the wrong number of arguments! try { returnList = (List)obj.getMetaClass().invokeStaticMethod(obj, "findAllByAgeBetween", new Object[] { new Integer(10) }); fail("Should have thrown an exception for invalid argument count"); } catch(MissingMethodException mme) { //great! } }
26970 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26970/a5c9dcc1f634b2b34633f99a226b7a489931c458/PersistentMethodTests.java/clean/test/persistence/org/codehaus/groovy/grails/orm/hibernate/PersistentMethodTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3125, 858, 11906, 4712, 1435, 288, 202, 202, 14571, 14573, 3748, 797, 2461, 797, 273, 333, 18, 2752, 14573, 3208, 18, 588, 14571, 14573, 3748, 797, 2932, 3341, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 535, 18, 15769, 22828, 18, 11906, 1305, 4709, 797, 8863, 9506, 202, 43, 12859, 921, 1081, 273, 261, 43, 12859, 921, 13, 4308, 797, 18, 2704, 1442, 5621, 202, 202, 2603, 18, 542, 1396, 12, 315, 350, 3113, 394, 3407, 12, 21, 13, 11272, 202, 202, 2603, 18, 542, 1396, 12, 315, 3645, 461, 3113, 315, 74, 1118, 6, 11272, 202, 202, 2603, 18, 542, 1396, 12, 315, 2722, 461, 3113, 315, 2242, 474, 13925, 6, 11272, 202, 202, 2603, 18, 542, 1396, 12, 315, 410, 3113, 394, 2144, 12, 7950, 10019, 9506, 202, 2603, 18, 14407, 1305, 2932, 5688, 3113, 446, 1769, 9506, 202, 43, 12859, 921, 1081, 22, 273, 261, 43, 12859, 921, 13, 4308, 797, 18, 2704, 1442, 5621, 202, 202, 2603, 22, 18, 542, 1396, 12, 315, 350, 3113, 394, 3407, 12, 22, 13, 11272, 202, 202, 2603, 22, 18, 542, 1396, 12, 315, 3645, 461, 3113, 315, 91, 330, 2540, 6, 11272, 202, 202, 2603, 22, 18, 542, 1396, 12, 315, 2722, 461, 3113, 315, 2242, 474, 13925, 6, 11272, 202, 202, 2603, 22, 18, 542, 1396, 12, 315, 410, 3113, 394, 2144, 12, 9452, 10019, 202, 202, 2603, 22, 18, 14407, 1305, 2932, 5688, 3113, 446, 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, 918, 1842, 3125, 858, 11906, 4712, 1435, 288, 202, 202, 14571, 14573, 3748, 797, 2461, 797, 273, 333, 18, 2752, 14573, 3208, 18, 588, 14571, 14573, 3748, 797, 2932, 3341, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 535, 18, 15769, 22828, 18, 11906, 1305, 4709, 797, 8863, 9506, 202, 43, 12859, 921, 1081, 273, 261, 43, 12859, 921, 13, 4308, 797, 18, 2704, 1442, 5621, 202, 202, 2603, 18, 542, 1396, 12, 315, 350, 3113, 394, 3407, 12, 21, 13, 11272, 202, 202, 2603, 18, 542, 1396, 12, 315, 3645, 461, 3113, 315, 74, 1118, 6, 11272, 202, 202, 2603, 18, 542, 1396, 12, 315, 2722, 461, 3113, 315, 2242, 474, 13925, 2 ]
protected int checkVerticalKey(int key, String exception) { return 0; }
protected int checkVerticalKey(int key, String exception) { switch (key) { case SwingConstants.TOP: case SwingConstants.BOTTOM: case SwingConstants.CENTER: break; default: throw new IllegalArgumentException(exception); } return key; }
protected int checkVerticalKey(int key, String exception) { // Ensures that the key is a valid. return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/clean/core/src/classpath/javax/javax/swing/AbstractButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 509, 866, 15704, 653, 12, 474, 498, 16, 514, 1520, 13, 288, 202, 202, 759, 4202, 1374, 8421, 716, 326, 498, 353, 279, 923, 18, 202, 202, 2463, 374, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 509, 866, 15704, 653, 12, 474, 498, 16, 514, 1520, 13, 288, 202, 202, 759, 4202, 1374, 8421, 716, 326, 498, 353, 279, 923, 18, 202, 202, 2463, 374, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
tabbedPane.setTitleAt(index, title);
tabbedContentManager.setTitleAt(index, title);
public void setTitleAt(int index, String title) { tabbedPane.setTitleAt(index, title); }
51282 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51282/57a407dc329b3647060b6a1165a8a1233b1f2fee/MyDoggyWindowContentManager.java/clean/mydoggy-plaf/src/main/java/org/noos/xing/mydoggy/plaf/MyDoggyWindowContentManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 14109, 861, 12, 474, 770, 16, 514, 2077, 13, 288, 3639, 3246, 2992, 1350, 1318, 18, 542, 4247, 861, 12, 1615, 16, 2077, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 14109, 861, 12, 474, 770, 16, 514, 2077, 13, 288, 3639, 3246, 2992, 1350, 1318, 18, 542, 4247, 861, 12, 1615, 16, 2077, 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 ]
fCurrentElement.rawname = fElementTypeStack[fElementDepth];
public void callEndElement(int readerId) throws Exception { if ( DEBUG_SCHEMA_VALIDATION ) System.out.println("=======EndElement : " + fStringPool.toString(fCurrentElement.localpart)+"\n"); int prefixIndex = fCurrentElement.prefix; int elementType = fCurrentElement.rawname; if (fCurrentElementEntity != readerId) { fErrorReporter.reportError(fErrorReporter.getLocator(), XMLMessages.XML_DOMAIN, XMLMessages.MSG_ELEMENT_ENTITY_MISMATCH, XMLMessages.P78_NOT_WELLFORMED, new Object[] { fStringPool.toString(elementType) }, XMLErrorReporter.ERRORTYPE_FATAL_ERROR); } fElementDepth--; if (fValidating) { int elementIndex = fCurrentElementIndex; if (elementIndex != -1 && fCurrentContentSpecType != -1) { QName children[] = fElementChildren; int childrenOffset = fElementChildrenOffsetStack[fElementDepth + 1] + 1; int childrenLength = fElementChildrenLength - childrenOffset; if (DEBUG_ELEMENT_CHILDREN) { System.out.println("endElement("+fStringPool.toString(fCurrentElement.rawname)+')'); System.out.print("offset: "); System.out.print(childrenOffset); System.out.print(", length: "); System.out.print(childrenLength); System.out.println(); printChildren(); printStack(); } int result = checkContent(elementIndex, children, childrenOffset, childrenLength); if ( DEBUG_SCHEMA_VALIDATION ) System.out.println("!!!!!!!!In XMLValidator, the return value from checkContent : " + result); if (result != -1) { int majorCode = result != childrenLength ? XMLMessages.MSG_CONTENT_INVALID : XMLMessages.MSG_CONTENT_INCOMPLETE; fGrammar.getElementDecl(elementIndex, fTempElementDecl); if (fTempElementDecl.type == XMLElementDecl.TYPE_EMPTY) { reportRecoverableXMLError(majorCode, 0, fStringPool.toString(elementType), "EMPTY"); } else reportRecoverableXMLError(majorCode, 0, fStringPool.toString(elementType), XMLContentSpec.toString(fGrammar, fStringPool, fTempElementDecl.contentSpecIndex)); } } fElementChildrenLength = fElementChildrenOffsetStack[fElementDepth + 1] + 1; } fDocumentHandler.endElement(fCurrentElement); if (fNamespacesEnabled) { fNamespacesScope.decreaseDepth(); } // now pop this element off the top of the element stack //if (fElementDepth-- < 0) { if (fElementDepth < -1) { throw new RuntimeException("FWK008 Element stack underflow"); } if (fElementDepth < 0) { fCurrentElement.clear(); fCurrentElementEntity = -1; fCurrentElementIndex = -1; fCurrentContentSpecType = -1; fInElementContent = false; // // Check after document is fully parsed // (1) check that there was an element with a matching id for every // IDREF and IDREFS attr (V_IDREF0) // if (fValidating && fIdRefs != null) { checkIdRefs(); } return; } //restore enclosing element to all the "current" variables // REVISIT: Validation. This information needs to be stored. fCurrentElement.prefix = -1; if (fNamespacesEnabled) { //If Namespace enable then localName != rawName fCurrentElement.localpart = fElementLocalPartStack[fElementDepth]; } else {//REVISIT - jeffreyr - This is so we still do old behavior when namespace is off fCurrentElement.localpart = fElementTypeStack[fElementDepth]; } fCurrentElement.rawname = fElementTypeStack[fElementDepth]; fCurrentElementEntity = fElementEntityStack[fElementDepth]; fCurrentElementIndex = fElementIndexStack[fElementDepth]; fCurrentContentSpecType = fContentSpecTypeStack[fElementDepth]; fCurrentScope = fScopeStack[fElementDepth]; //if ( DEBUG_SCHEMA_VALIDATION ) { /****System.out.println("+++++ currentElement : " + fStringPool.toString(elementType)+ "\n fCurrentElementIndex : " + fCurrentElementIndex + "\n fCurrentScope : " + fCurrentScope + "\n fCurrentContentSpecType : " + fCurrentContentSpecType + "\n++++++++++++++++++++++++++++++++++++++++++++++++" );/****/ //} // if enclosing element's Schema is different, need to switch "context" if ( fGrammarNameSpaceIndex != fGrammarNameSpaceIndexStack[fElementDepth] ) { fGrammarNameSpaceIndex = fGrammarNameSpaceIndexStack[fElementDepth]; switchGrammar(fGrammarNameSpaceIndex); } if (fValidating) { fBufferDatatype = false; } fInElementContent = (fCurrentContentSpecType == XMLElementDecl.TYPE_CHILDREN); } // callEndElement(int)
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/c9b7cd65128a71bc17ef1e5e7ffbc8ba0363c727/XMLValidator.java/buggy/src/org/apache/xerces/validators/common/XMLValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 745, 1638, 1046, 12, 474, 2949, 548, 13, 1216, 1185, 288, 3639, 309, 261, 6369, 67, 14233, 67, 5063, 2689, 262, 5411, 2332, 18, 659, 18, 8222, 2932, 894, 12275, 1638, 1046, 294, 315, 397, 284, 780, 2864, 18, 10492, 12, 74, 3935, 1046, 18, 3729, 2680, 13, 9078, 64, 82, 8863, 3639, 509, 1633, 1016, 273, 284, 3935, 1046, 18, 3239, 31, 3639, 509, 21427, 273, 284, 3935, 1046, 18, 1899, 529, 31, 3639, 309, 261, 74, 3935, 1046, 1943, 480, 2949, 548, 13, 288, 5411, 284, 668, 13289, 18, 6006, 668, 12, 74, 668, 13289, 18, 588, 5786, 9334, 4766, 4202, 3167, 5058, 18, 4201, 67, 18192, 16, 4766, 4202, 3167, 5058, 18, 11210, 67, 10976, 67, 11101, 67, 30062, 11793, 16, 4766, 4202, 3167, 5058, 18, 52, 8285, 67, 4400, 67, 59, 21943, 7473, 25773, 16, 4766, 4202, 394, 1033, 8526, 288, 284, 780, 2864, 18, 10492, 12, 2956, 559, 13, 19879, 4766, 4202, 3167, 668, 13289, 18, 3589, 2399, 67, 29891, 67, 3589, 1769, 3639, 289, 3639, 284, 1046, 6148, 413, 31, 3639, 309, 261, 74, 31496, 13, 288, 5411, 509, 930, 1016, 273, 284, 3935, 1046, 1016, 31, 5411, 309, 261, 2956, 1016, 480, 300, 21, 597, 284, 3935, 1350, 1990, 559, 480, 300, 21, 13, 288, 7734, 16723, 2325, 8526, 273, 284, 1046, 4212, 31, 7734, 509, 2325, 2335, 273, 284, 1046, 4212, 2335, 2624, 63, 74, 1046, 6148, 397, 404, 65, 397, 404, 31, 7734, 509, 2325, 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, 745, 1638, 1046, 12, 474, 2949, 548, 13, 1216, 1185, 288, 3639, 309, 261, 6369, 67, 14233, 67, 5063, 2689, 262, 5411, 2332, 18, 659, 18, 8222, 2932, 894, 12275, 1638, 1046, 294, 315, 397, 284, 780, 2864, 18, 10492, 12, 74, 3935, 1046, 18, 3729, 2680, 13, 9078, 64, 82, 8863, 3639, 509, 1633, 1016, 273, 284, 3935, 1046, 18, 3239, 31, 3639, 509, 21427, 273, 284, 3935, 1046, 18, 1899, 529, 31, 3639, 309, 261, 74, 3935, 1046, 1943, 480, 2949, 548, 13, 288, 5411, 284, 668, 13289, 18, 6006, 668, 12, 74, 668, 13289, 18, 588, 5786, 9334, 4766, 4202, 3167, 5058, 18, 4201, 67, 18192, 16, 4766, 4202, 3167, 5058, 18, 11210, 2 ]
_log.info(((EOKeyValueQualifier)qualifier).selector());
private EOQualifierSQLGeneration.Support supportForQualifier(EOQualifier qualifier) { EOQualifierSQLGeneration.Support support = null; if(qualifier instanceof EOKeyValueQualifier) { synchronized (_qualifierKeys) { support = (Support) _qualifierKeys.get(((EOKeyValueQualifier)qualifier).selector().name()); _log.info(((EOKeyValueQualifier)qualifier).selector()); } } if(support == null) { support = _old; } return support; }
46145 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46145/cce270dafeb0638f7dc17f06b003ebf9f4fe1f66/ERXExtensions.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXExtensions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 3238, 512, 51, 16185, 3997, 13842, 18, 6289, 2865, 1290, 16185, 12, 41, 51, 16185, 12327, 13, 288, 7734, 512, 51, 16185, 3997, 13842, 18, 6289, 2865, 273, 446, 31, 7734, 309, 12, 28157, 1276, 512, 51, 13841, 16185, 13, 288, 10792, 3852, 261, 67, 28157, 2396, 13, 288, 13491, 2865, 273, 261, 6289, 13, 389, 28157, 2396, 18, 588, 12443, 12, 41, 51, 13841, 16185, 13, 28157, 2934, 9663, 7675, 529, 10663, 4766, 6647, 289, 7734, 289, 7734, 309, 12, 13261, 422, 446, 13, 288, 10792, 2865, 273, 389, 1673, 31, 7734, 289, 7734, 327, 2865, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 3238, 512, 51, 16185, 3997, 13842, 18, 6289, 2865, 1290, 16185, 12, 41, 51, 16185, 12327, 13, 288, 7734, 512, 51, 16185, 3997, 13842, 18, 6289, 2865, 273, 446, 31, 7734, 309, 12, 28157, 1276, 512, 51, 13841, 16185, 13, 288, 10792, 3852, 261, 67, 28157, 2396, 13, 288, 13491, 2865, 273, 261, 6289, 13, 389, 28157, 2396, 18, 588, 12443, 12, 41, 51, 13841, 16185, 13, 28157, 2934, 9663, 7675, 529, 10663, 4766, 6647, 289, 7734, 289, 7734, 309, 12, 13261, 422, 446, 13, 288, 10792, 2865, 273, 389, 1673, 31, 7734, 289, 7734, 327, 2865, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
source.println("\n" + indent + " return;");
source.println(indent + " return;");
public void generateCode(PrintStream header, PrintStream source, String context, String mapName, String stateName, String indent) throws ParseException { int guardCount; int guardIndex; int nullConditions; ListIterator paramIt; SmcParameter parameter; ListIterator guardIt; SmcGuard guard; source.print("\n" + indent + "protected void " + _name + "(" + context + "Context s"); // Add user-defined parameters. for (paramIt = _parameters.listIterator(); paramIt.hasNext() == true; ) { parameter = (SmcParameter) paramIt.next(); source.print(", "); parameter.generateCode(source); } source.println(")"); source.println(indent + "{"); // Output transtion to debug stream. if (Smc.isDebug() == true) { source.println(indent + " if (s.getDebugFlag() == true)"); source.println(indent + " {"); source.print(indent + " System.err.println(\"TRANSITION : " + mapName + "." + stateName + "." + _name); if (_parameters.size() > 0) { String separator; source.print("("); for (paramIt = _parameters.listIterator(), separator = ""; paramIt.hasNext() == true; separator = ", ") { parameter = (SmcParameter) paramIt.next(); source.print(separator); parameter.generateCode(source); } source.print(")"); } source.println("\");"); source.println(indent + " }\n"); } // Loop through the guards and print each one. for (guardIt = _guards.listIterator(), guardIndex = 0, guardCount = _guards.size(), nullConditions = 0; guardIt.hasNext() == true; ++guardIndex) { guard = (SmcGuard) guardIt.next(); // Count up the guards with no condition. if (guard.getCondition() == null) { ++nullConditions; } guard.generateCode(source, guardIndex, guardCount, context, mapName, stateName, indent); } // If all guards have a condition, then create a final // "else" clause which passes control to the default // transition. Pass all arguments into the default // transition. if (guardCount > 0 && nullConditions == 0) { source.println("}\n" + indent + " else"); source.println(indent + " {"); source.print(indent + " " + mapName + ".Default." + _name + "(s"); for (paramIt = _parameters.listIterator(); paramIt.hasNext() == true; ) { parameter = (SmcParameter) paramIt.next(); source.print(", " + parameter.getName()); } source.println(");"); source.println(indent + " }"); } else if (nullConditions > 1) { // If there are multiple transition with the same // name, then only one of them can be unguarded. ParseException e = new ParseException("State " + mapName + "::" + stateName + " has multiple transitions with the same name (\"" + _name + "\") and guard.", 0); throw(e); } // Need to add a final newline after a multiguard block. else if (guardCount > 0) { source.println(); } source.println("\n" + indent + " return;"); source.println(indent + "}"); return; }
50995 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50995/eb27700d8309435b1a9692fbf7cfa887d4d1fcd7/SmcTransitionJava.java/clean/bin/SmcTransitionJava.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2103, 1085, 12, 5108, 1228, 1446, 16, 11794, 21677, 1084, 16, 11794, 514, 819, 16, 11794, 514, 852, 461, 16, 11794, 514, 919, 461, 16, 11794, 514, 3504, 13, 3639, 1216, 10616, 565, 288, 3639, 509, 11026, 1380, 31, 3639, 509, 11026, 1016, 31, 3639, 509, 446, 8545, 31, 3639, 987, 3198, 579, 7193, 31, 3639, 9425, 71, 1662, 1569, 31, 3639, 987, 3198, 11026, 7193, 31, 3639, 9425, 71, 16709, 11026, 31, 3639, 1084, 18, 1188, 31458, 82, 6, 397, 5397, 3504, 397, 5397, 315, 1117, 918, 315, 397, 5397, 389, 529, 397, 5397, 12452, 397, 5397, 819, 397, 5397, 315, 1042, 272, 8863, 3639, 368, 1436, 729, 17, 2178, 1472, 18, 3639, 364, 261, 891, 7193, 273, 389, 3977, 18, 1098, 3198, 5621, 2398, 579, 7193, 18, 5332, 2134, 1435, 422, 638, 31, 5411, 262, 3639, 288, 5411, 1569, 273, 261, 9552, 71, 1662, 13, 579, 7193, 18, 4285, 5621, 5411, 1084, 18, 1188, 2932, 16, 315, 1769, 5411, 1569, 18, 7163, 1085, 12, 3168, 1769, 3639, 289, 3639, 1084, 18, 8222, 2932, 2225, 1769, 3639, 1084, 18, 8222, 12, 9355, 397, 4144, 8863, 3639, 368, 3633, 13637, 334, 285, 358, 1198, 1407, 18, 3639, 309, 261, 9552, 71, 18, 291, 2829, 1435, 422, 638, 13, 3639, 288, 5411, 1084, 18, 8222, 12, 9355, 397, 21821, 315, 565, 309, 261, 87, 18, 588, 2829, 4678, 1435, 422, 638, 2225, 1769, 5411, 1084, 18, 8222, 12, 9355, 397, 315, 565, 288, 8863, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2103, 1085, 12, 5108, 1228, 1446, 16, 11794, 21677, 1084, 16, 11794, 514, 819, 16, 11794, 514, 852, 461, 16, 11794, 514, 919, 461, 16, 11794, 514, 3504, 13, 3639, 1216, 10616, 565, 288, 3639, 509, 11026, 1380, 31, 3639, 509, 11026, 1016, 31, 3639, 509, 446, 8545, 31, 3639, 987, 3198, 579, 7193, 31, 3639, 9425, 71, 1662, 1569, 31, 3639, 987, 3198, 11026, 7193, 31, 3639, 9425, 71, 16709, 11026, 31, 3639, 1084, 18, 1188, 31458, 82, 6, 397, 5397, 3504, 397, 5397, 315, 1117, 918, 315, 397, 5397, 389, 529, 397, 5397, 12452, 397, 5397, 819, 397, 5397, 315, 1042, 272, 8863, 3639, 368, 1436, 729, 17, 2178, 1472, 18, 3639, 364, 261, 2 ]
public void drawRenderableImage(RenderableImage image, AffineTransform xform)
public void drawRenderableImage(RenderableImage image, AffineTransform xform)
public void drawRenderableImage(RenderableImage image, AffineTransform xform) { drawRenderedImage (image.createRendering (new RenderContext (xform)), xform); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/bef34bda2204726d6cecbf5422e100bc663abc3e/GdkGraphics2D.java/buggy/libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3724, 3420, 429, 2040, 12, 3420, 429, 2040, 1316, 16, 21394, 23906, 558, 4059, 619, 687, 13, 225, 288, 565, 3724, 19222, 2040, 261, 2730, 18, 2640, 14261, 261, 2704, 6987, 1042, 261, 92, 687, 13, 3631, 619, 687, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3724, 3420, 429, 2040, 12, 3420, 429, 2040, 1316, 16, 21394, 23906, 558, 4059, 619, 687, 13, 225, 288, 565, 3724, 19222, 2040, 261, 2730, 18, 2640, 14261, 261, 2704, 6987, 1042, 261, 92, 687, 13, 3631, 619, 687, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Activator.getLogger().log(Level.INFO, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Cannot load the nullable class to return a dependency object for " + m_metadata.getField() + " -> " + m_metadata.getServiceSpecification());
m_handler.getInstanceManager().getFactory().getLogger().log(Logger.INFO, "[" + m_handler.getInstanceManager().getClassName() + "] Cannot load the nullable class to return a dependency object for " + m_metadata.getField() + " -> " + m_metadata.getServiceSpecification());
protected Object get() { Activator.getLogger().log(Level.INFO, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Call get for a dependency on : " + m_metadata.getServiceSpecification() + " Multiple : " + m_metadata.isMultiple() + " Optional : " + m_metadata.isOptional()); try { // 1 : Test if there is any change in the reference list : if (!m_change) { if (!m_metadata.isMultiple()) { if (m_services.length > 0) { return m_services[0]; } } else { return m_services; } } // 2 : Else there is a change in the list -> recompute the m_services array Activator.getLogger().log(Level.INFO, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Create a service array of " + m_clazz.getName()); m_services = (Object[]) Array.newInstance(m_clazz, m_ref.length); for (int i = 0; i < m_ref.length; i++) { m_services[i] = m_handler.getComponentManager().getContext().getService(m_ref[i]); } m_change = false; Activator.getLogger().log(Level.INFO, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Create an array with the size " + m_services.length); // 3 : The service object list is populated, I return either the first service object, either the array. // Return null or an empty array if no service are found. if (!m_metadata.isMultiple()) { if (m_services.length > 0) { return m_services[0]; } else { // Load the nullable class String[] segment = m_metadata.getServiceSpecification().split("[.]"); String className = "org.apache.felix.ipojo." + segment[segment.length - 1] + "Nullable"; Activator.getLogger().log(Level.INFO, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Try to load the nullable class for " + getMetadata().getServiceSpecification() + " -> " + className); Class nullableClazz = m_handler.getNullableClass(className); if (nullableClazz == null) { Activator.getLogger().log(Level.INFO, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Cannot load the nullable class to return a dependency object for " + m_metadata.getField() + " -> " + m_metadata.getServiceSpecification()); return null; } // The nullable class is loaded, create the object and return it Object instance = nullableClazz.newInstance(); Activator.getLogger().log(Level.INFO, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Nullable object created for " + getMetadata().getServiceSpecification() + " -> " + instance); return instance; } } else { // Multiple dependency return m_services; } } catch (Exception e) { // There is a problem in the dependency resolving (like in stopping method) if (!m_metadata.isMultiple()) { Activator.getLogger().log(Level.SEVERE, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Return null, an exception was throwed in the get method -> " + e.getMessage()); return null; } else { Activator.getLogger().log(Level.SEVERE, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Return an empty array, an exception was throwed in the get method" + e.getMessage()); return Array.newInstance(m_clazz, 0); } } }
45948 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45948/d229001e440fb0347d56e6cc3a6e65308dcdb431/Dependency.java/buggy/ipojo/src/main/java/org/apache/felix/ipojo/handlers/dependency/Dependency.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 336, 1435, 288, 3639, 26939, 639, 18, 588, 3328, 7675, 1330, 12, 2355, 18, 5923, 16, 13626, 397, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 588, 1841, 12244, 270, 16524, 7675, 588, 3834, 1435, 397, 9850, 3049, 336, 364, 279, 4904, 603, 294, 315, 397, 312, 67, 4165, 18, 588, 1179, 8615, 1435, 7734, 397, 315, 13531, 294, 315, 397, 312, 67, 4165, 18, 291, 8438, 1435, 397, 315, 4055, 294, 315, 397, 312, 67, 4165, 18, 291, 6542, 10663, 3639, 775, 288, 5411, 368, 404, 294, 7766, 309, 1915, 353, 1281, 2549, 316, 326, 2114, 666, 294, 5411, 309, 16051, 81, 67, 3427, 13, 288, 7734, 309, 16051, 81, 67, 4165, 18, 291, 8438, 10756, 288, 10792, 309, 261, 81, 67, 8387, 18, 2469, 405, 374, 13, 288, 13491, 327, 312, 67, 8387, 63, 20, 15533, 289, 7734, 289, 7734, 469, 288, 10792, 327, 312, 67, 8387, 31, 7734, 289, 5411, 289, 5411, 368, 576, 294, 16289, 1915, 353, 279, 2549, 316, 326, 666, 317, 30067, 326, 312, 67, 8387, 526, 5411, 26939, 639, 18, 588, 3328, 7675, 1330, 12, 2355, 18, 5923, 16, 13626, 397, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 588, 1841, 12244, 270, 16524, 7675, 588, 3834, 1435, 397, 9850, 1788, 279, 1156, 526, 434, 315, 397, 312, 67, 830, 3638, 18, 17994, 10663, 5411, 312, 67, 8387, 273, 261, 921, 63, 5717, 1510, 18, 2704, 1442, 12, 81, 67, 830, 3638, 16, 312, 67, 1734, 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, 4750, 1033, 336, 1435, 288, 3639, 26939, 639, 18, 588, 3328, 7675, 1330, 12, 2355, 18, 5923, 16, 13626, 397, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 588, 1841, 12244, 270, 16524, 7675, 588, 3834, 1435, 397, 9850, 3049, 336, 364, 279, 4904, 603, 294, 315, 397, 312, 67, 4165, 18, 588, 1179, 8615, 1435, 7734, 397, 315, 13531, 294, 315, 397, 312, 67, 4165, 18, 291, 8438, 1435, 397, 315, 4055, 294, 315, 397, 312, 67, 4165, 18, 291, 6542, 10663, 3639, 775, 288, 5411, 368, 404, 294, 7766, 309, 1915, 353, 1281, 2549, 316, 326, 2114, 666, 294, 5411, 309, 16051, 81, 67, 3427, 13, 288, 7734, 309, 16051, 81, 67, 4165, 18, 291, 8438, 2 ]
listener.onMove( event.getX() - x, event.getY() + y, event.getX(), event.getY() );
listener.onMove( event.getX() - x, y - event.getY(), event.getX(), event.getY() );
public void update() { int x = lastEventX; int y = lastEventY; if ( listeners != null && !listeners.isEmpty() ) { while ( !swingEvents.isEmpty() ) { MouseEvent event = (MouseEvent) swingEvents.remove( 0 ); switch ( event.getID() ) { case MouseEvent.MOUSE_DRAGGED: case MouseEvent.MOUSE_MOVED: for ( int i = 0; i < listeners.size(); i++ ) { MouseInputListener listener = (MouseInputListener) listeners.get( i ); listener.onMove( event.getX() - x, event.getY() + y, event.getX(), event.getY() ); } x = event.getX(); y = event.getY(); break; case MouseEvent.MOUSE_PRESSED: case MouseEvent.MOUSE_RELEASED: for ( int i = 0; i < listeners.size(); i++ ) { MouseInputListener listener = (MouseInputListener) listeners.get( i ); listener.onButton( event.getButton(), event.getID() == MouseEvent.MOUSE_PRESSED, event.getX(), event.getY() ); } break; case MouseEvent.MOUSE_WHEEL: for ( int i = 0; i < listeners.size(); i++ ) { MouseInputListener listener = (MouseInputListener) listeners.get( i ); listener.onWheel( ((MouseWheelEvent)event).getUnitsToScroll()*WHEEL_AMP, event.getX(), event.getY() ); } break; default: } } } else { swingEvents.clear(); } lastEventX = x; lastEventY = y; wheelDelta = currentWheelDelta; currentWheelDelta = 0; deltaPoint.setLocation(0,0); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/48c3de9131a4b1326335327f33e92440ca9ac425/AWTMouseInput.java/clean/src/com/jmex/awt/input/AWTMouseInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1435, 288, 3639, 509, 619, 273, 1142, 1133, 60, 31, 3639, 509, 677, 273, 1142, 1133, 61, 31, 3639, 309, 261, 4679, 480, 446, 597, 401, 16072, 18, 291, 1921, 1435, 262, 3639, 288, 5411, 1323, 261, 401, 5328, 310, 3783, 18, 291, 1921, 1435, 262, 5411, 288, 7734, 17013, 1133, 871, 273, 261, 9186, 1133, 13, 9028, 3783, 18, 4479, 12, 374, 11272, 7734, 1620, 261, 871, 18, 588, 734, 1435, 262, 288, 10792, 648, 17013, 1133, 18, 5980, 8001, 67, 6331, 1781, 31602, 30, 10792, 648, 17013, 1133, 18, 5980, 8001, 67, 5980, 12135, 30, 13491, 364, 261, 509, 277, 273, 374, 31, 277, 411, 4679, 18, 1467, 5621, 277, 9904, 262, 288, 18701, 17013, 1210, 2223, 2991, 273, 261, 9186, 1210, 2223, 13, 4679, 18, 588, 12, 277, 11272, 18701, 2991, 18, 265, 7607, 12, 871, 18, 588, 60, 1435, 300, 619, 16, 677, 300, 871, 18, 588, 61, 9334, 871, 18, 588, 60, 9334, 871, 18, 588, 61, 1435, 11272, 13491, 289, 13491, 619, 273, 871, 18, 588, 60, 5621, 13491, 677, 273, 871, 18, 588, 61, 5621, 13491, 898, 31, 10792, 648, 17013, 1133, 18, 5980, 8001, 67, 27388, 30, 10792, 648, 17013, 1133, 18, 5980, 8001, 67, 30762, 40, 30, 13491, 364, 261, 509, 277, 273, 374, 31, 277, 411, 4679, 18, 1467, 5621, 277, 9904, 262, 288, 18701, 17013, 1210, 2223, 2991, 273, 261, 9186, 1210, 2223, 13, 4679, 18, 588, 12, 277, 11272, 18701, 2991, 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, 1089, 1435, 288, 3639, 509, 619, 273, 1142, 1133, 60, 31, 3639, 509, 677, 273, 1142, 1133, 61, 31, 3639, 309, 261, 4679, 480, 446, 597, 401, 16072, 18, 291, 1921, 1435, 262, 3639, 288, 5411, 1323, 261, 401, 5328, 310, 3783, 18, 291, 1921, 1435, 262, 5411, 288, 7734, 17013, 1133, 871, 273, 261, 9186, 1133, 13, 9028, 3783, 18, 4479, 12, 374, 11272, 7734, 1620, 261, 871, 18, 588, 734, 1435, 262, 288, 10792, 648, 17013, 1133, 18, 5980, 8001, 67, 6331, 1781, 31602, 30, 10792, 648, 17013, 1133, 18, 5980, 8001, 67, 5980, 12135, 30, 13491, 364, 261, 509, 277, 273, 374, 31, 277, 411, 4679, 18, 1467, 5621, 277, 9904, 262, 288, 2 ]
public org.quickfix.field.FundRenewWaiv getFundRenewWaiv() throws FieldNotFound { org.quickfix.field.FundRenewWaiv value = new org.quickfix.field.FundRenewWaiv();
public quickfix.field.FundRenewWaiv getFundRenewWaiv() throws FieldNotFound { quickfix.field.FundRenewWaiv value = new quickfix.field.FundRenewWaiv();
public org.quickfix.field.FundRenewWaiv getFundRenewWaiv() throws FieldNotFound { org.quickfix.field.FundRenewWaiv value = new org.quickfix.field.FundRenewWaiv(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/buggy/src/java/src/quickfix/fix44/NewOrderCross.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 42, 1074, 24058, 59, 69, 427, 2812, 1074, 24058, 59, 69, 427, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 42, 1074, 24058, 59, 69, 427, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 42, 1074, 24058, 59, 69, 427, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 42, 1074, 24058, 59, 69, 427, 2812, 1074, 24058, 59, 69, 427, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 42, 1074, 24058, 59, 69, 427, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 42, 1074, 24058, 59, 69, 427, 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 ]
case 43:
case 45:
public final java_cup.runtime.Symbol CUP$Parser$do_action( int CUP$Parser$act_num, java_cup.runtime.lr_parser CUP$Parser$parser, java.util.Stack CUP$Parser$stack, int CUP$Parser$top) throws java.lang.Exception { /* Symbol object for return from actions */ java_cup.runtime.Symbol CUP$Parser$result; /* select the action based on the action number */ switch (CUP$Parser$act_num) { /*. . . . . . . . . . . . . . . . . . . .*/ case 95: // new_non_term_id ::= ID { String RESULT = null; int idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Token id = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = (String) id.getValue(); CUP$Parser$result = new java_cup.runtime.Symbol(41/*new_non_term_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 94: // new_term_id ::= ID { String RESULT = null; int idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Token id = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = (String) id.getValue(); CUP$Parser$result = new java_cup.runtime.Symbol(42/*new_term_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 93: // type_id ::= type_id LBRACK RBRACK { String RESULT = null; int t_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int t_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; String t_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; RESULT = t_id + "[]"; CUP$Parser$result = new java_cup.runtime.Symbol(40/*type_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 92: // type_id ::= multipart_id { String RESULT = null; int m_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int m_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String m_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = m_id; CUP$Parser$result = new java_cup.runtime.Symbol(40/*type_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 91: // import_id ::= multipart_id { String RESULT = null; int m_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int m_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String m_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = m_id; CUP$Parser$result = new java_cup.runtime.Symbol(36/*import_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 90: // import_id ::= multipart_id DOT STAR { String RESULT = null; int m_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int m_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; String m_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; RESULT = m_id + ".*"; CUP$Parser$result = new java_cup.runtime.Symbol(36/*import_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 89: // multipart_id ::= robust_id { String RESULT = null; int r_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int r_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String r_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = r_id; CUP$Parser$result = new java_cup.runtime.Symbol(38/*multipart_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 88: // multipart_id ::= multipart_id DOT robust_id { String RESULT = null; int m_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int m_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; String m_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int r_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int r_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String r_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = m_id + "." + r_id; CUP$Parser$result = new java_cup.runtime.Symbol(38/*multipart_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 87: // start_spec ::= empty { String RESULT = null; RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(39/*start_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 86: // start_spec ::= START WITH nt_id SEMI { String RESULT = null; int start_nameleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int start_nameright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; String start_name = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = start_name; CUP$Parser$result = new java_cup.runtime.Symbol(39/*start_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 85: // term_id ::= symbol_id { String RESULT = null; int symleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int symright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String sym = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = sym; CUP$Parser$result = new java_cup.runtime.Symbol(33/*term_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 84: // terminal_id ::= term_id { String RESULT = null; int symleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int symright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String sym = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = sym; CUP$Parser$result = new java_cup.runtime.Symbol(32/*terminal_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 83: // terminal_list ::= terminal_id { Vector RESULT = null; int tleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int tright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String t = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Vector t_list = new Vector(); t_list.addElement(t); RESULT = t_list; CUP$Parser$result = new java_cup.runtime.Symbol(49/*terminal_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 82: // terminal_list ::= terminal_list COMMA terminal_id { Vector RESULT = null; int t_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int t_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; Vector t_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int tleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int tright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String t = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; t_list.addElement(t); RESULT = t_list; CUP$Parser$result = new java_cup.runtime.Symbol(49/*terminal_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 81: // preced ::= PRECEDENCE NONASSOC terminal_list SEMI { Object RESULT = null; int t_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int t_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector t_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new Precedence(Precedence.NONASSOC, t_list); CUP$Parser$result = new java_cup.runtime.Symbol(12/*preced*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 80: // preced ::= PRECEDENCE RIGHT terminal_list SEMI { Object RESULT = null; int t_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int t_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector t_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new Precedence(Precedence.RIGHT, t_list); CUP$Parser$result = new java_cup.runtime.Symbol(12/*preced*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 79: // preced ::= PRECEDENCE LEFT terminal_list SEMI { Object RESULT = null; int t_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int t_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector t_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new Precedence(Precedence.LEFT, t_list); CUP$Parser$result = new java_cup.runtime.Symbol(12/*preced*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 78: // precedence_l ::= preced { Vector RESULT = null; int pleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int pright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object p = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Vector p_l = new Vector(); p_l.addElement(p); RESULT = p_l; CUP$Parser$result = new java_cup.runtime.Symbol(50/*precedence_l*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 77: // precedence_l ::= precedence_l preced { Vector RESULT = null; int p_lleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int p_lright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector p_l = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int pleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int pright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object p = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; p_l.addElement(p); RESULT = p_l; CUP$Parser$result = new java_cup.runtime.Symbol(50/*precedence_l*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 76: // precedence_list ::= empty { Vector RESULT = null; RESULT = new Vector(); CUP$Parser$result = new java_cup.runtime.Symbol(51/*precedence_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 75: // precedence_list ::= precedence_l { Vector RESULT = null; int p_lleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int p_lright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector p_l = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = p_l; CUP$Parser$result = new java_cup.runtime.Symbol(51/*precedence_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 74: // non_term_name_list ::= new_non_term_id { Vector RESULT = null; int n_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int n_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String n_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Vector nnt_list = new Vector(); nnt_list.addElement(n_id); RESULT = nnt_list; CUP$Parser$result = new java_cup.runtime.Symbol(43/*non_term_name_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 73: // non_term_name_list ::= non_term_name_list COMMA new_non_term_id { Vector RESULT = null; int ntn_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int ntn_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; Vector ntn_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int n_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int n_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String n_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; ntn_list.addElement(n_id); RESULT = ntn_list; CUP$Parser$result = new java_cup.runtime.Symbol(43/*non_term_name_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 72: // term_name_list ::= new_term_id { Vector RESULT = null; int n_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int n_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String n_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Vector tn_list = new Vector(); tn_list.addElement(n_id); RESULT = tn_list; CUP$Parser$result = new java_cup.runtime.Symbol(45/*term_name_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 71: // term_name_list ::= term_name_list COMMA new_term_id { Vector RESULT = null; int tn_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int tn_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; Vector tn_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int n_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int n_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String n_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; tn_list.addElement(n_id); RESULT = tn_list; CUP$Parser$result = new java_cup.runtime.Symbol(45/*term_name_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 70: // declares_non_term ::= non_term_name_list SEMI { Vector RESULT = null; int ntn_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int ntn_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector ntn_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = ntn_list; CUP$Parser$result = new java_cup.runtime.Symbol(53/*declares_non_term*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 69: // declares_term ::= term_name_list SEMI { Vector RESULT = null; int tn_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int tn_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector tn_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = tn_list; CUP$Parser$result = new java_cup.runtime.Symbol(52/*declares_term*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 68: // symbol ::= non_terminal declares_non_term { SymbolList RESULT = null; int non_termleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int non_termright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector non_term = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = new SymbolList(SymbolList.NONTERMINAL, null, non_term); CUP$Parser$result = new java_cup.runtime.Symbol(54/*symbol*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 67: // symbol ::= non_terminal type_id declares_non_term { SymbolList RESULT = null; int typeleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int typeright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; String type = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int non_termleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int non_termright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector non_term = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = new SymbolList(SymbolList.NONTERMINAL, type, non_term); CUP$Parser$result = new java_cup.runtime.Symbol(54/*symbol*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 66: // symbol ::= TERMINAL declares_term { SymbolList RESULT = null; int termleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int termright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector term = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = new SymbolList(SymbolList.TERMINAL, null, term); CUP$Parser$result = new java_cup.runtime.Symbol(54/*symbol*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 65: // symbol ::= TERMINAL type_id declares_term { SymbolList RESULT = null; int typeleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int typeright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; String type = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int termleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int termright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector term = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = new SymbolList(SymbolList.TERMINAL, type, term); CUP$Parser$result = new java_cup.runtime.Symbol(54/*symbol*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 64: // symbol_list ::= symbol { Vector RESULT = null; int sleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int sright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; SymbolList s = (SymbolList)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Vector s_list = new Vector(); s_list.addElement(s); RESULT = s_list; CUP$Parser$result = new java_cup.runtime.Symbol(46/*symbol_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 63: // symbol_list ::= symbol_list symbol { Vector RESULT = null; int s_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int s_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector s_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int sleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int sright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; SymbolList s = (SymbolList)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; s_list.addElement(s); RESULT = s_list; CUP$Parser$result = new java_cup.runtime.Symbol(46/*symbol_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 62: // scan_code ::= SCAN WITH CODE_STR opt_semi { Object RESULT = null; int user_codeleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int user_coderight = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Token user_code = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new ScanCode((String) user_code.getValue()); CUP$Parser$result = new java_cup.runtime.Symbol(11/*scan_code*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 61: // init_code ::= INIT WITH CODE_STR opt_semi { Object RESULT = null; int user_codeleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int user_coderight = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Token user_code = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new InitCode((String) user_code.getValue()); CUP$Parser$result = new java_cup.runtime.Symbol(10/*init_code*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 60: // parser_code_part ::= PARSER CODE CODE_STR opt_semi { Object RESULT = null; int user_codeleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int user_coderight = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Token user_code = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new ParserCode((String) user_code.getValue()); CUP$Parser$result = new java_cup.runtime.Symbol(9/*parser_code_part*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 59: // action_code_part ::= ACTION CODE CODE_STR opt_semi { Object RESULT = null; int user_codeleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int user_coderight = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Token user_code = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new ActionCode((String) user_code.getValue()); CUP$Parser$result = new java_cup.runtime.Symbol(6/*action_code_part*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 58: // code_part ::= scan_code { Object RESULT = null; int sleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int sright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object s = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = s; CUP$Parser$result = new java_cup.runtime.Symbol(7/*code_part*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 57: // code_part ::= init_code { Object RESULT = null; int ileft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int iright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object i = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = i; CUP$Parser$result = new java_cup.runtime.Symbol(7/*code_part*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 56: // code_part ::= parser_code_part { Object RESULT = null; int pleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int pright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object p = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = p; CUP$Parser$result = new java_cup.runtime.Symbol(7/*code_part*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 55: // code_part ::= action_code_part { Object RESULT = null; int aleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int aright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object a = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = a; CUP$Parser$result = new java_cup.runtime.Symbol(7/*code_part*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 54: // code_parts ::= empty { Vector RESULT = null; RESULT = new Vector(); CUP$Parser$result = new java_cup.runtime.Symbol(48/*code_parts*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 53: // code_parts ::= code_parts code_part { Vector RESULT = null; int c_partsleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int c_partsright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector c_parts = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int cleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int cright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object c = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; c_parts.addElement(c); RESULT = c_parts; CUP$Parser$result = new java_cup.runtime.Symbol(48/*code_parts*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 52: // import_spec ::= IMPORT import_id SEMI { String RESULT = null; int ileft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int iright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; String i = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = i; CUP$Parser$result = new java_cup.runtime.Symbol(37/*import_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 51: // import_list ::= empty { Vector RESULT = null; RESULT = new Vector(); CUP$Parser$result = new java_cup.runtime.Symbol(44/*import_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 50: // import_list ::= import_list import_spec { Vector RESULT = null; int i_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int i_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector i_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int ileft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int iright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String i = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; i_list.addElement(i); RESULT = i_list; CUP$Parser$result = new java_cup.runtime.Symbol(44/*import_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 49: // package_spec ::= empty { String RESULT = null; RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(35/*package_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 48: // package_spec ::= PACKAGE multipart_id SEMI { String RESULT = null; int m_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int m_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; String m_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = m_id; CUP$Parser$result = new java_cup.runtime.Symbol(35/*package_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 47: // cup_spec ::= package_spec import_list code_parts symbol_list precedence_list start_spec production_list { Spec RESULT = null; int pkgleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-6)).left; int pkgright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-6)).right; String pkg = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-6)).value; int impleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-5)).left; int impright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-5)).right; Vector imp = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-5)).value; int codeleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-4)).left; int coderight = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-4)).right; Vector code = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-4)).value; int sym_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left; int sym_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).right; Vector sym_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-3)).value; int prec_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int prec_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; Vector prec_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int startleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int startright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; String start = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int prod_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int prod_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector prod_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = new CUPSpec(pkg, imp, code, sym_list, prec_list, start, prod_list); CUP$Parser$result = new java_cup.runtime.Symbol(15/*cup_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-6)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 46: // empty ::= { Object RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(4/*empty*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 45: // opt_semi ::= empty { Object RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(5/*opt_semi*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 44: // opt_semi ::= SEMI { Object RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(5/*opt_semi*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 43: // non_terminal ::= NONTERMINAL { Object RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(8/*non_terminal*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 42: // non_terminal ::= NON TERMINAL { Object RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(8/*non_terminal*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 41: // robust_id ::= ID { String RESULT = null; int the_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int the_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Token the_id = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = (String)the_id.getValue(); CUP$Parser$result = new java_cup.runtime.Symbol(34/*robust_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 40: // label_id ::= robust_id { String RESULT = null; int the_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int the_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String the_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = the_id; CUP$Parser$result = new java_cup.runtime.Symbol(30/*label_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 39: // opt_label ::= empty { String RESULT = null; RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(31/*opt_label*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 38: // opt_label ::= COLON label_id { String RESULT = null; int labidleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int labidright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String labid = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = labid; CUP$Parser$result = new java_cup.runtime.Symbol(31/*opt_label*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 37: // prod_part ::= CODE_STR { Object RESULT = null; int code_strleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int code_strright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Token code_str = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = new SemanticAction((String)code_str.getValue()); CUP$Parser$result = new java_cup.runtime.Symbol(2/*prod_part*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 36: // prod_part ::= symbol_id opt_label { Object RESULT = null; int symidleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int symidright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; String symid = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int labidleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int labidright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String labid = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = new Nonterminal(symid, labid); CUP$Parser$result = new java_cup.runtime.Symbol(2/*prod_part*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 35: // prod_part_list ::= empty { Vector RESULT = null; RESULT = new Vector(); CUP$Parser$result = new java_cup.runtime.Symbol(18/*prod_part_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 34: // prod_part_list ::= prod_part_list prod_part { Vector RESULT = null; int aleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int aright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector a = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int bleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int bright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object b = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; /* Vector a, (non)terminal/code b */ a.addElement(b); RESULT = a; CUP$Parser$result = new java_cup.runtime.Symbol(18/*prod_part_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 33: // rhs ::= prod_part_list { Object RESULT = null; int pleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int pright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector p = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = p; CUP$Parser$result = new java_cup.runtime.Symbol(3/*rhs*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 32: // rhs ::= prod_part_list PERCENT_PREC term_id { Object RESULT = null; int pleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int pright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; Vector p = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int term_nameleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int term_nameright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String term_name = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; /* ???? */ CUP$Parser$result = new java_cup.runtime.Symbol(3/*rhs*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 31: // rhs_list ::= rhs { Vector RESULT = null; int rleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int rright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object r = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Vector r_list = new Vector(); r_list.addElement(r); RESULT = r_list; CUP$Parser$result = new java_cup.runtime.Symbol(19/*rhs_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 30: // rhs_list ::= rhs_list BAR rhs { Vector RESULT = null; int r_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int r_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; Vector r_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int rleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int rright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Object r = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; r_list.addElement(r); RESULT = r_list; CUP$Parser$result = new java_cup.runtime.Symbol(19/*rhs_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 29: // symbol_id ::= ID { String RESULT = null; int the_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int the_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Token the_id = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = (String)the_id.getValue(); CUP$Parser$result = new java_cup.runtime.Symbol(29/*symbol_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 28: // nt_id ::= ID { String RESULT = null; int the_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int the_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Token the_id = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = (String)the_id.getValue(); CUP$Parser$result = new java_cup.runtime.Symbol(28/*nt_id*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 27: // production ::= nt_id COLON_COLON_EQUALS rhs_list SEMI { Production RESULT = null; int lhs_idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left; int lhs_idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).right; String lhs_id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-3)).value; int rhsleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int rhsright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector rhs = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new Production(new Nonterminal(lhs_id), rhs); CUP$Parser$result = new java_cup.runtime.Symbol(26/*production*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 26: // production_list ::= production { Vector RESULT = null; int pleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int pright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Production p = (Production)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Vector p_list = new Vector(); p_list.addElement(p); RESULT = p_list; CUP$Parser$result = new java_cup.runtime.Symbol(27/*production_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 25: // production_list ::= production_list production { Vector RESULT = null; int p_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int p_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector p_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int pleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int pright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Production p = (Production)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; p_list.addElement(p); RESULT = p_list; CUP$Parser$result = new java_cup.runtime.Symbol(27/*production_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 24: // transfer_list ::= TO nt_id LBRACE rhs_list RBRACE { Vector RESULT = null; int ntleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left; int ntright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).right; String nt = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-3)).value; int rhsleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int rhsright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector rhs = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; Vector v = new Vector(); Production p = new Production(new Nonterminal(nt), rhs); v.addElement(p); RESULT = v; CUP$Parser$result = new java_cup.runtime.Symbol(20/*transfer_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-4)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 23: // transfer_list ::= transfer_list TO nt_id LBRACE rhs_list RBRACE { Vector RESULT = null; int tlleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-5)).left; int tlright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-5)).right; Vector tl = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-5)).value; int ntleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left; int ntright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).right; String nt = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-3)).value; int rhsleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int rhsright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector rhs = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; Production p = new Production(new Nonterminal(nt), rhs); tl.addElement(p); RESULT = tl; CUP$Parser$result = new java_cup.runtime.Symbol(20/*transfer_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-5)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 22: // prod_modifier_opt ::= empty { Object RESULT = null; RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(1/*prod_modifier_opt*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 21: // prod_modifier_opt ::= OVERRIDE { Object RESULT = null; int aleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int aright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Token a = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = (String)a.getValue(); CUP$Parser$result = new java_cup.runtime.Symbol(1/*prod_modifier_opt*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 20: // prod_modifier_opt ::= EXTEND { Object RESULT = null; int aleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int aright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Token a = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = (String)a.getValue(); CUP$Parser$result = new java_cup.runtime.Symbol(1/*prod_modifier_opt*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 19: // nt_id_list ::= nt_id { Vector RESULT = null; int idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Vector list = new Vector(); list.addElement(id); RESULT = list; CUP$Parser$result = new java_cup.runtime.Symbol(24/*nt_id_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 18: // nt_id_list ::= nt_id_list COMMA nt_id { Vector RESULT = null; int listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; Vector list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int idleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int idright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; String id = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; list.addElement(id); RESULT = list; CUP$Parser$result = new java_cup.runtime.Symbol(24/*nt_id_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 17: // command ::= TRANSFER nt_id transfer_list { Command RESULT = null; int ntleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int ntright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; String nt = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int tlistleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int tlistright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector tlist = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = new TransferCmd(nt, tlist); CUP$Parser$result = new java_cup.runtime.Symbol(25/*command*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 16: // command ::= DROP LBRACE nt_id_list RBRACE { Command RESULT = null; int nt_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int nt_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector nt_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new DropCmd(nt_list); CUP$Parser$result = new java_cup.runtime.Symbol(25/*command*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 15: // command ::= DROP LBRACE production RBRACE { Command RESULT = null; int pleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int pright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Production p = (Production)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = new DropCmd(p); CUP$Parser$result = new java_cup.runtime.Symbol(25/*command*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 14: // command ::= prod_modifier_opt production { Command RESULT = null; int modleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int modright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Object mod = (Object)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int pleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int pright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Production p = (Production)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; if (mod == null) { /* no modifier, new command */ RESULT = new NewProdCmd(p); } else if (mod.equals("extend")) { RESULT = new ExtendCmd(p); } else /* if (mod.equals("override")) */ { RESULT = new OverrideCmd(p); } CUP$Parser$result = new java_cup.runtime.Symbol(25/*command*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 13: // command_list_opt ::= { Vector RESULT = null; RESULT = new Vector(); CUP$Parser$result = new java_cup.runtime.Symbol(17/*command_list_opt*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 12: // command_list_opt ::= command_list_opt command { Vector RESULT = null; int bleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int bright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector b = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int aleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int aright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Command a = (Command)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; /* b = Vector, a = command; */ b.addElement(a); RESULT = b; CUP$Parser$result = new java_cup.runtime.Symbol(17/*command_list_opt*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 11: // jlgen_start_spec_elt ::= START WITH ID ID ID SEMI { Vector RESULT = null; int startleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left; int startright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).right; Token start = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-3)).value; int methodleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int methodright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; Token method = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int tokenleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int tokenright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Token token = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; Vector m = new Vector(); m.addElement(start.getValue()); m.addElement(method.getValue()); m.addElement(token.getValue()); RESULT = m; CUP$Parser$result = new java_cup.runtime.Symbol(22/*jlgen_start_spec_elt*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-5)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 10: // jlgen_start_spec_list ::= jlgen_start_spec_elt { Vector RESULT = null; int eltleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int eltright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector elt = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = elt; CUP$Parser$result = new java_cup.runtime.Symbol(23/*jlgen_start_spec_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 9: // jlgen_start_spec_list ::= jlgen_start_spec_list jlgen_start_spec_elt { Vector RESULT = null; int listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int eltleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int eltright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector elt = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; list.addAll(elt); RESULT = list; CUP$Parser$result = new java_cup.runtime.Symbol(23/*jlgen_start_spec_list*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 8: // jlgen_start_spec ::= jlgen_start_spec_list { Vector RESULT = null; int mleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int mright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector m = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = m; CUP$Parser$result = new java_cup.runtime.Symbol(21/*jlgen_start_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 7: // jlgen_start_spec ::= START WITH nt_id SEMI { Vector RESULT = null; int startleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int startright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; String start = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; Vector v = new Vector(); v.addElement(start); RESULT = v; CUP$Parser$result = new java_cup.runtime.Symbol(21/*jlgen_start_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 6: // symbol_list_opt ::= { Vector RESULT = null; RESULT = null; CUP$Parser$result = new java_cup.runtime.Symbol(47/*symbol_list_opt*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 5: // symbol_list_opt ::= symbol_list { Vector RESULT = null; int sym_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int sym_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector sym_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = sym_list; CUP$Parser$result = new java_cup.runtime.Symbol(47/*symbol_list_opt*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 4: // include_spec ::= INCLUDE STRING_CONST { String RESULT = null; int aleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int aright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Token a = (Token)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = (String)a.getValue(); CUP$Parser$result = new java_cup.runtime.Symbol(16/*include_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 3: // jlgen_spec ::= include_spec package_spec import_list code_parts symbol_list_opt precedence_list jlgen_start_spec command_list_opt { Spec RESULT = null; int incleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-7)).left; int incright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-7)).right; String inc = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-7)).value; int pkgleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-6)).left; int pkgright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-6)).right; String pkg = (String)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-6)).value; int impleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-5)).left; int impright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-5)).right; Vector imp = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-5)).value; int codeleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-4)).left; int coderight = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-4)).right; Vector code = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-4)).value; int sym_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).left; int sym_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-3)).right; Vector sym_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-3)).value; int prec_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).left; int prec_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-2)).right; Vector prec_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-2)).value; int startleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int startright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Vector start = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; int cmd_listleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int cmd_listright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Vector cmd_list = (Vector)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; RESULT = new JLgenSpec(inc, pkg, imp, code, sym_list, prec_list, start, cmd_list); CUP$Parser$result = new java_cup.runtime.Symbol(14/*jlgen_spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-7)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 2: // spec ::= cup_spec { Spec RESULT = null; int sleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int sright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Spec s = (Spec)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Parser.setProgramNode(s); CUP$Parser$result = new java_cup.runtime.Symbol(13/*spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 1: // spec ::= jlgen_spec { Spec RESULT = null; int sleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left; int sright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right; Spec s = (Spec)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-0)).value; Parser.setProgramNode(s); CUP$Parser$result = new java_cup.runtime.Symbol(13/*spec*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } return CUP$Parser$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 0: // $START ::= spec EOF { Object RESULT = null; int start_valleft = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left; int start_valright = ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).right; Spec start_val = (Spec)((java_cup.runtime.Symbol) CUP$Parser$stack.elementAt(CUP$Parser$top-1)).value; RESULT = start_val; CUP$Parser$result = new java_cup.runtime.Symbol(0/*$START*/, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$Parser$stack.elementAt(CUP$Parser$top-0)).right, RESULT); } /* ACCEPT */ CUP$Parser$parser.done_parsing(); return CUP$Parser$result; /* . . . . . .*/ default: throw new Exception( "Invalid action number found in internal parse table"); } }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/26fc4d1a48a61b4891d4596c06f484a628c04cb1/Parser.java/buggy/tools/ppg/src/ppg/parse/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 2252, 67, 71, 416, 18, 9448, 18, 5335, 385, 3079, 8, 2678, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 2678, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 2678, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 2678, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 2678, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 8565, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 5335, 385, 3079, 8, 2678, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 1377, 1620, 261, 39, 3079, 8, 2678, 8, 621, 67, 2107, 13, 3639, 288, 1850, 1748, 18, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 5549, 1850, 648, 16848, 30, 368, 394, 67, 5836, 67, 6408, 67, 350, 493, 33, 1599, 2398, 288, 2868, 514, 17210, 273, 446, 31, 202, 202, 474, 612, 4482, 273, 14015, 6290, 67, 71, 416, 18, 9448, 18, 5335, 13, 39, 3079, 8, 2678, 8, 3772, 18, 2956, 861, 12, 39, 3079, 8, 2678, 8, 3669, 17, 20, 13, 2934, 4482, 31, 202, 202, 474, 612, 4083, 273, 14015, 6290, 67, 71, 416, 18, 9448, 18, 5335, 13, 39, 3079, 8, 2678, 8, 3772, 18, 2956, 861, 12, 39, 3079, 8, 2678, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 2252, 67, 71, 416, 18, 9448, 18, 5335, 385, 3079, 8, 2678, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 2678, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 2678, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 2678, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 2678, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 8565, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 5335, 385, 3079, 8, 2678, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 2 ]
SocketWriter.writing(sock, error.returnError( ServerConst.ERROR, "", tmp));
SocketWriter.writing(sock, error.returnError(ServerConst.ERROR, SocketServer.getBd(sock), valida.getId(), tmp));
public static void ValidClient(Document doc, SocketChannel sock) { /* * Obtenemos la raiz del documento si el documento tiene raiz */ Element raiz = doc.getRootElement(); String nom_raiz = raiz.getName(); /* * Validaci�n de solicitud de paquetes, se verifica si el socket ya fue * autenticado, si lo fue entonces se procede a validar la solicitud * del paquete requerido, si no se procede a validar un paquete CNX o la * solicitud de paquetes no autorizados (solicitud de paquetes sin previa * autentificaci�n) */ if (SocketServer.isLoged(sock)) { /* * Validaci�n de un paquete transaccion */ if (nom_raiz.equals("TRANSACTION")) { System.out.println("Paquete TRANSACCION"); XMLOutputter xmlOutputter = new XMLOutputter(); xmlOutputter.setFormat(Format.getPrettyFormat()); try { xmlOutputter.output(doc,System.out); new RunTransaction(sock,doc); } catch (IOException e) { e.printStackTrace(); } } /* * Validacion de una solicitud de consulta */ else if (nom_raiz.equals("QUERY")) { String bd = SocketServer.getBd(sock); ValidQuery valida = new ValidQuery(bd,SocketServer.getLoging(sock), raiz); String codigo = ""; if (valida.isValid()) { codigo = raiz.getChild("sql").getValue(); ResultSetToXML answer; if (valida.changeStructParam()) { answer = new ResultSetToXML(bd, codigo, valida.getArgs()); } else { answer = new ResultSetToXML(bd, codigo); } answer.transmition(sock,valida.getId()); } else { ErrorXML error = new ErrorXML(); String tmp = Language.getWord("SQL_ACCESS_DENIED") + " "+valida.getQuery()+" "+ sock.socket(); LogAdmin.setMessage(tmp, ServerConst.MESSAGE); SocketWriter.writing(sock, error.returnError( ServerConst.ERROR, "", tmp)); } } /* * Validacion de solicitud de paquetes de cache */ else if (nom_raiz.equals("CACHE-QUERY")) { String codigo = raiz.getValue(); System.out.println(codigo); String bd = SocketServer.getBd(sock); CacheXML cache_answer = new CacheXML(bd,codigo); cache_answer.transmition(sock); } /* * Validacion de solicitud de la fecha */ else if (nom_raiz.equals("DATE")) { SocketWriter.writing(sock,SendDATE.getPackage()); } /* * Validacion para totalizacion de cuentas contables */ else if (nom_raiz.endsWith("TOTALACCOUNT")) { new TotalizarCuentas(SocketServer.getBd(sock),raiz); } /* * Validacion de solicitud del codigo consecutivo de un documento */ else if (nom_raiz.equals("UPDATECODE")) { String bd = SocketServer.getBd(sock); String key = raiz.getChild("idDocument").getValue(); SocketWriter.writing(sock, SendUPDATECODE.getPackage(key, LinkingCache.getConsecutive(bd,key))); } /* * Recepcion de un paquete error */ else if (nom_raiz.equals("ERROR")) { System.out.println("Paquete ERROR"); } /* Recepcion de un paquete de solicitud de un reporte */ else if (nom_raiz.equals("REPORTREQUEST")) { System.out.println("Nueva solicitud de un reporte"); new MakeReport(raiz, sock); } else { ErrorXML error = new ErrorXML(); String tmp = Language.getWord("ERR_FORMAT_PROTOCOL") + " " + sock.socket(); LogAdmin.setMessage(tmp, ServerConst.ERROR); System.out.println("ERROR FORMATO PROTOCOLO"); XMLOutputter xmlOutputter = new XMLOutputter(); xmlOutputter.setFormat(Format.getPrettyFormat()); try { xmlOutputter.output(doc,System.out); } catch (IOException e) { e.printStackTrace(); } SocketWriter.writing(sock, error.returnError( ServerConst.ERROR, "", tmp)); } } /* * Validacion de una solicitud de un paquete conexi� */ else if (nom_raiz.equals("CNX")) { if (PoolConexiones.chekDataBase(raiz.getChild("db").getValue())) { LoginUser loguser = new LoginUser(raiz); if (loguser.valid()) { String bd = loguser.getBD(); String login = loguser.getLogin(); SocketServer.setLogin(sock, bd, login); SendACP docacp = new SendACP(sock,bd,login); docacp.start(); } else { SocketWriter.writing(sock, new AcpFailure(Language.getWord("ACPFAILURE"))); } } else { LogAdmin.setMessage(Language.getWord("DBNFEX") + raiz.getChild("db").getValue(), ServerConst.ERROR); SocketWriter.writing(sock, new AcpFailure(Language.getWord("ACPFAILURE"))); } } /* * Validaci�n de solicitud de paquetes no autorizados */ else { System.out.println("paquete no autorizado"); } }
55980 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55980/0d6f6dfc6efcdc45bdd4785b2f9a84fb75a0b65b/ValidHeaders.java/buggy/trunk/beta/Server/server/control/ValidHeaders.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2364, 1227, 12, 2519, 997, 16, 8758, 2909, 7313, 13, 288, 7734, 1748, 540, 380, 19659, 2253, 351, 538, 7125, 767, 452, 1464, 1668, 83, 7533, 415, 1668, 83, 11374, 4009, 767, 452, 540, 1195, 3639, 3010, 767, 452, 273, 997, 18, 588, 2375, 1046, 5621, 3639, 514, 12457, 67, 354, 452, 273, 767, 452, 18, 17994, 5621, 7734, 1748, 540, 380, 225, 2364, 1077, 77, 176, 128, 126, 82, 443, 272, 1415, 305, 1100, 443, 6790, 28357, 281, 16, 695, 1924, 1507, 69, 7533, 415, 2987, 27137, 284, 344, 540, 380, 225, 2059, 4499, 6821, 16, 7533, 437, 284, 344, 3281, 265, 764, 695, 450, 311, 323, 279, 923, 297, 7125, 272, 1415, 305, 1100, 1850, 380, 225, 1464, 6790, 372, 12865, 10780, 264, 22954, 16, 7533, 1158, 695, 450, 311, 323, 279, 923, 297, 640, 6790, 372, 12865, 13326, 60, 320, 7125, 540, 380, 225, 272, 1415, 305, 1100, 443, 6790, 28357, 281, 1158, 2059, 5331, 18739, 261, 87, 1415, 305, 1100, 443, 6790, 28357, 281, 5367, 675, 21985, 540, 380, 225, 2059, 319, 1507, 1077, 77, 176, 128, 126, 82, 13, 540, 1195, 7734, 309, 261, 4534, 2081, 18, 291, 1343, 329, 12, 15031, 3719, 288, 5411, 1748, 2398, 380, 225, 2364, 1077, 77, 176, 128, 126, 82, 443, 640, 6790, 372, 12865, 906, 8981, 285, 2398, 1195, 5411, 309, 261, 12306, 67, 354, 452, 18, 14963, 2932, 22364, 6, 3719, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 16507, 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, 2364, 1227, 12, 2519, 997, 16, 8758, 2909, 7313, 13, 288, 7734, 1748, 540, 380, 19659, 2253, 351, 538, 7125, 767, 452, 1464, 1668, 83, 7533, 415, 1668, 83, 11374, 4009, 767, 452, 540, 1195, 3639, 3010, 767, 452, 273, 997, 18, 588, 2375, 1046, 5621, 3639, 514, 12457, 67, 354, 452, 273, 767, 452, 18, 17994, 5621, 7734, 1748, 540, 380, 225, 2364, 1077, 77, 176, 128, 126, 82, 443, 272, 1415, 305, 1100, 443, 6790, 28357, 281, 16, 695, 1924, 1507, 69, 7533, 415, 2987, 27137, 284, 344, 540, 380, 225, 2059, 4499, 6821, 16, 7533, 437, 284, 344, 3281, 265, 764, 695, 450, 311, 323, 279, 923, 297, 7125, 272, 1415, 305, 2 ]
return typeBinding; } else { AllocationExpression allocationExpression = (AllocationExpression) astNode; return this.getTypeBinding(allocationExpression.resolvedType); } case ASTNode.SIMPLE_NAME : case ASTNode.QUALIFIED_NAME : return this.resolveTypeBindingForName((Name) expression); case ASTNode.ARRAY_INITIALIZER : case ASTNode.ARRAY_CREATION : case ASTNode.ASSIGNMENT : case ASTNode.POSTFIX_EXPRESSION : case ASTNode.PREFIX_EXPRESSION : case ASTNode.CAST_EXPRESSION : case ASTNode.TYPE_LITERAL : case ASTNode.INFIX_EXPRESSION : case ASTNode.INSTANCEOF_EXPRESSION : case ASTNode.FIELD_ACCESS : case ASTNode.SUPER_FIELD_ACCESS : case ASTNode.ARRAY_ACCESS : case ASTNode.METHOD_INVOCATION : case ASTNode.SUPER_METHOD_INVOCATION : case ASTNode.CONDITIONAL_EXPRESSION : case ASTNode.MARKER_ANNOTATION : case ASTNode.NORMAL_ANNOTATION : case ASTNode.SINGLE_MEMBER_ANNOTATION : org.eclipse.jdt.internal.compiler.ast.Expression compilerExpression = (org.eclipse.jdt.internal.compiler.ast.Expression) this.newAstToOldAst.get(expression); if (compilerExpression == null) { return null; } return this.getTypeBinding(compilerExpression.resolvedType); case ASTNode.STRING_LITERAL : if (this.scope == null) return null; return this.getTypeBinding(this.scope.getJavaLangString()); case ASTNode.BOOLEAN_LITERAL : case ASTNode.NULL_LITERAL : case ASTNode.CHARACTER_LITERAL : case ASTNode.NUMBER_LITERAL : Literal literal = (Literal) this.newAstToOldAst.get(expression); return this.getTypeBinding(literal.literalType(null)); case ASTNode.THIS_EXPRESSION : ThisReference thisReference = (ThisReference) this.newAstToOldAst.get(expression); BlockScope blockScope = (BlockScope) this.astNodesToBlockScope.get(expression); if (blockScope == null) { return null; } return this.getTypeBinding(thisReference.resolveType(blockScope)); case ASTNode.PARENTHESIZED_EXPRESSION : ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression) expression; return this.resolveExpressionType(parenthesizedExpression.getExpression()); case ASTNode.VARIABLE_DECLARATION_EXPRESSION : VariableDeclarationExpression variableDeclarationExpression = (VariableDeclarationExpression) expression; Type type = variableDeclarationExpression.getType(); if (type != null) { return type.resolveBinding(); } return null; default: return null;
break; case ASTNode.SIMPLE_NAME : case ASTNode.QUALIFIED_NAME : return this.resolveTypeBindingForName((Name) expression); case ASTNode.ARRAY_INITIALIZER : case ASTNode.ARRAY_CREATION : case ASTNode.ASSIGNMENT : case ASTNode.POSTFIX_EXPRESSION : case ASTNode.PREFIX_EXPRESSION : case ASTNode.CAST_EXPRESSION : case ASTNode.TYPE_LITERAL : case ASTNode.INFIX_EXPRESSION : case ASTNode.INSTANCEOF_EXPRESSION : case ASTNode.FIELD_ACCESS : case ASTNode.SUPER_FIELD_ACCESS : case ASTNode.ARRAY_ACCESS : case ASTNode.METHOD_INVOCATION : case ASTNode.SUPER_METHOD_INVOCATION : case ASTNode.CONDITIONAL_EXPRESSION : case ASTNode.MARKER_ANNOTATION : case ASTNode.NORMAL_ANNOTATION : case ASTNode.SINGLE_MEMBER_ANNOTATION : org.eclipse.jdt.internal.compiler.ast.Expression compilerExpression = (org.eclipse.jdt.internal.compiler.ast.Expression) this.newAstToOldAst.get(expression); if (compilerExpression != null) { return this.getTypeBinding(compilerExpression.resolvedType); } break; case ASTNode.STRING_LITERAL : if (this.scope != null) { return this.getTypeBinding(this.scope.getJavaLangString()); } break; case ASTNode.BOOLEAN_LITERAL : case ASTNode.NULL_LITERAL : case ASTNode.CHARACTER_LITERAL : case ASTNode.NUMBER_LITERAL : Literal literal = (Literal) this.newAstToOldAst.get(expression); return this.getTypeBinding(literal.literalType(null)); case ASTNode.THIS_EXPRESSION : ThisReference thisReference = (ThisReference) this.newAstToOldAst.get(expression); BlockScope blockScope = (BlockScope) this.astNodesToBlockScope.get(expression); if (blockScope != null) { return this.getTypeBinding(thisReference.resolveType(blockScope)); } break; case ASTNode.PARENTHESIZED_EXPRESSION : ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression) expression; return this.resolveExpressionType(parenthesizedExpression.getExpression()); case ASTNode.VARIABLE_DECLARATION_EXPRESSION : VariableDeclarationExpression variableDeclarationExpression = (VariableDeclarationExpression) expression; Type type = variableDeclarationExpression.getType(); if (type != null) { return type.resolveBinding(); } break; } } catch (AbortCompilation e) {
synchronized ITypeBinding resolveExpressionType(Expression expression) { switch(expression.getNodeType()) { case ASTNode.CLASS_INSTANCE_CREATION : org.eclipse.jdt.internal.compiler.ast.ASTNode astNode = (org.eclipse.jdt.internal.compiler.ast.ASTNode) this.newAstToOldAst.get(expression); if (astNode instanceof org.eclipse.jdt.internal.compiler.ast.TypeDeclaration) { // anonymous type case org.eclipse.jdt.internal.compiler.ast.TypeDeclaration typeDeclaration = (org.eclipse.jdt.internal.compiler.ast.TypeDeclaration) astNode; ITypeBinding typeBinding = this.getTypeBinding(typeDeclaration.binding); if (typeBinding == null) { return null; } return typeBinding; } else { // should be an AllocationExpression AllocationExpression allocationExpression = (AllocationExpression) astNode; return this.getTypeBinding(allocationExpression.resolvedType); } case ASTNode.SIMPLE_NAME : case ASTNode.QUALIFIED_NAME : return this.resolveTypeBindingForName((Name) expression); case ASTNode.ARRAY_INITIALIZER : case ASTNode.ARRAY_CREATION : case ASTNode.ASSIGNMENT : case ASTNode.POSTFIX_EXPRESSION : case ASTNode.PREFIX_EXPRESSION : case ASTNode.CAST_EXPRESSION : case ASTNode.TYPE_LITERAL : case ASTNode.INFIX_EXPRESSION : case ASTNode.INSTANCEOF_EXPRESSION : case ASTNode.FIELD_ACCESS : case ASTNode.SUPER_FIELD_ACCESS : case ASTNode.ARRAY_ACCESS : case ASTNode.METHOD_INVOCATION : case ASTNode.SUPER_METHOD_INVOCATION : case ASTNode.CONDITIONAL_EXPRESSION : case ASTNode.MARKER_ANNOTATION : case ASTNode.NORMAL_ANNOTATION : case ASTNode.SINGLE_MEMBER_ANNOTATION : org.eclipse.jdt.internal.compiler.ast.Expression compilerExpression = (org.eclipse.jdt.internal.compiler.ast.Expression) this.newAstToOldAst.get(expression); if (compilerExpression == null) { return null; } return this.getTypeBinding(compilerExpression.resolvedType); case ASTNode.STRING_LITERAL : if (this.scope == null) return null; return this.getTypeBinding(this.scope.getJavaLangString()); case ASTNode.BOOLEAN_LITERAL : case ASTNode.NULL_LITERAL : case ASTNode.CHARACTER_LITERAL : case ASTNode.NUMBER_LITERAL : Literal literal = (Literal) this.newAstToOldAst.get(expression); return this.getTypeBinding(literal.literalType(null)); case ASTNode.THIS_EXPRESSION : ThisReference thisReference = (ThisReference) this.newAstToOldAst.get(expression); BlockScope blockScope = (BlockScope) this.astNodesToBlockScope.get(expression); if (blockScope == null) { return null; } return this.getTypeBinding(thisReference.resolveType(blockScope)); case ASTNode.PARENTHESIZED_EXPRESSION : ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression) expression; return this.resolveExpressionType(parenthesizedExpression.getExpression()); case ASTNode.VARIABLE_DECLARATION_EXPRESSION : VariableDeclarationExpression variableDeclarationExpression = (VariableDeclarationExpression) expression; Type type = variableDeclarationExpression.getType(); if (type != null) { return type.resolveBinding(); } return null; default: return null; } }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/43c55ec0fd64bd306ef21c4d7e4780f0acc5640d/DefaultBindingResolver.java/clean/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 22043, 467, 559, 5250, 2245, 2300, 559, 12, 2300, 2652, 13, 288, 202, 202, 9610, 12, 8692, 18, 588, 15101, 10756, 288, 1082, 202, 3593, 9183, 907, 18, 5237, 67, 13341, 67, 5458, 2689, 294, 4697, 202, 3341, 18, 20416, 18, 78, 7510, 18, 7236, 18, 9576, 18, 689, 18, 9053, 907, 3364, 907, 273, 261, 3341, 18, 20416, 18, 78, 7510, 18, 7236, 18, 9576, 18, 689, 18, 9053, 907, 13, 333, 18, 2704, 21385, 774, 7617, 21385, 18, 588, 12, 8692, 1769, 9506, 202, 430, 261, 689, 907, 1276, 2358, 18, 20416, 18, 78, 7510, 18, 7236, 18, 9576, 18, 689, 18, 559, 6094, 13, 288, 6862, 202, 759, 13236, 618, 648, 6862, 202, 3341, 18, 20416, 18, 78, 7510, 18, 7236, 18, 9576, 18, 689, 18, 559, 6094, 618, 6094, 273, 261, 3341, 18, 20416, 18, 78, 7510, 18, 7236, 18, 9576, 18, 689, 18, 559, 6094, 13, 3364, 907, 31, 6862, 202, 45, 559, 5250, 618, 5250, 273, 333, 18, 588, 559, 5250, 12, 723, 6094, 18, 7374, 1769, 6862, 202, 430, 261, 723, 5250, 422, 446, 13, 288, 25083, 202, 2463, 446, 31, 6862, 202, 97, 6862, 202, 2463, 618, 5250, 31, 9506, 202, 97, 469, 288, 6862, 202, 759, 1410, 506, 392, 24242, 2300, 6862, 202, 17353, 2300, 13481, 2300, 273, 261, 17353, 2300, 13, 3364, 907, 31, 6862, 202, 2463, 333, 18, 588, 559, 5250, 12, 29299, 2300, 18, 11792, 559, 1769, 9506, 202, 97, 1082, 202, 3593, 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, 22043, 467, 559, 5250, 2245, 2300, 559, 12, 2300, 2652, 13, 288, 202, 202, 9610, 12, 8692, 18, 588, 15101, 10756, 288, 1082, 202, 3593, 9183, 907, 18, 5237, 67, 13341, 67, 5458, 2689, 294, 4697, 202, 3341, 18, 20416, 18, 78, 7510, 18, 7236, 18, 9576, 18, 689, 18, 9053, 907, 3364, 907, 273, 261, 3341, 18, 20416, 18, 78, 7510, 18, 7236, 18, 9576, 18, 689, 18, 9053, 907, 13, 333, 18, 2704, 21385, 774, 7617, 21385, 18, 588, 12, 8692, 1769, 9506, 202, 430, 261, 689, 907, 1276, 2358, 18, 20416, 18, 78, 7510, 18, 7236, 18, 9576, 18, 689, 18, 559, 6094, 13, 288, 6862, 202, 759, 13236, 618, 648, 6862, 202, 3341, 2 ]
public void clear() { setID(-1L); databases = new ArrayList(); steps = new ArrayList(); hops = new ArrayList(); notes = new ArrayList(); dependencies = new ArrayList(); variables = new Hashtable(); name = null; filename = null; readStep = null; writeStep = null; inputStep = null; outputStep = null; updateStep = null; logTable = null; logConnection = null; sizeRowset = Const.ROWS_IN_ROWSET; sleepTimeEmpty = Const.SLEEP_EMPTY_NANOS; sleepTimeFull = Const.SLEEP_FULL_NANOS; maxDateConnection = null; maxDateTable = null; maxDateField = null; maxDateOffset = 0.0; maxDateDifference = 0.0; undo = new ArrayList(); max_undo = Const.MAX_UNDO; undo_position = -1; counters = new Hashtable(); resultRows = null; clearUndo(); clearChanged(); useBatchId = true; // Make this one the default from now on... batchId = 0; logfieldUsed = false; // Don't use the log-field by default... modifiedUser = "-"; //$NON-NLS-1$ modifiedDate = new Value("modified_date", new Date()); //$NON-NLS-1$ // LOAD THE DATABASE CACHE! dbCache = DBCache.getInstance(); directoryTree = new RepositoryDirectory(); // Default directory: root directory = directoryTree; }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/e0f806b7a2aa0aecea379c4a5a9ae69885dd1e12/TransMeta.java/clean/src/be/ibridge/kettle/trans/TransMeta.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2424, 1435, 565, 288, 3639, 444, 734, 19236, 21, 48, 1769, 3639, 16358, 273, 394, 2407, 5621, 3639, 6075, 273, 394, 2407, 5621, 3639, 366, 4473, 273, 394, 2407, 5621, 3639, 10913, 273, 394, 2407, 5621, 3639, 5030, 273, 394, 2407, 5621, 3639, 3152, 273, 394, 18559, 5621, 3639, 508, 273, 446, 31, 3639, 1544, 273, 446, 31, 3639, 855, 4160, 273, 446, 31, 3639, 1045, 4160, 273, 446, 31, 3639, 810, 4160, 273, 446, 31, 3639, 876, 4160, 273, 446, 31, 3639, 1089, 4160, 273, 446, 31, 3639, 613, 1388, 273, 446, 31, 3639, 613, 1952, 273, 446, 31, 7734, 963, 1999, 542, 377, 273, 9333, 18, 28402, 67, 706, 67, 11226, 4043, 31, 3639, 5329, 950, 1921, 273, 9333, 18, 55, 900, 10541, 67, 13625, 67, 50, 1258, 4618, 31, 3639, 5329, 950, 5080, 225, 273, 9333, 18, 55, 900, 10541, 67, 18111, 67, 50, 1258, 4618, 31, 3639, 943, 1626, 1952, 273, 446, 31, 3639, 943, 1626, 1388, 273, 446, 31, 3639, 943, 1626, 974, 273, 446, 31, 3639, 943, 1626, 2335, 273, 374, 18, 20, 31, 3639, 943, 1626, 16220, 273, 374, 18, 20, 31, 3639, 15436, 273, 394, 2407, 5621, 3639, 943, 67, 31226, 273, 9333, 18, 6694, 67, 2124, 3191, 31, 3639, 15436, 67, 3276, 273, 300, 21, 31, 3639, 13199, 273, 394, 18559, 5621, 3639, 563, 4300, 273, 446, 31, 3639, 2424, 31224, 5621, 3639, 2424, 5033, 5621, 3639, 999, 4497, 548, 273, 638, 31, 368, 4344, 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, 2424, 1435, 565, 288, 3639, 444, 734, 19236, 21, 48, 1769, 3639, 16358, 273, 394, 2407, 5621, 3639, 6075, 273, 394, 2407, 5621, 3639, 366, 4473, 273, 394, 2407, 5621, 3639, 10913, 273, 394, 2407, 5621, 3639, 5030, 273, 394, 2407, 5621, 3639, 3152, 273, 394, 18559, 5621, 3639, 508, 273, 446, 31, 3639, 1544, 273, 446, 31, 3639, 855, 4160, 273, 446, 31, 3639, 1045, 4160, 273, 446, 31, 3639, 810, 4160, 273, 446, 31, 3639, 876, 4160, 273, 446, 31, 3639, 1089, 4160, 273, 446, 31, 3639, 613, 1388, 273, 446, 31, 3639, 613, 1952, 273, 446, 31, 7734, 963, 1999, 542, 377, 273, 9333, 18, 28402, 67, 706, 67, 11226, 4043, 31, 3639, 2 ]
boolean isSame) { assertEquals("schedule is wrong", schedule.isSameSession(time1, time2), isSame); assertEquals("schedule is wrong", schedule.isSameSession(time2, time1), isSame);
boolean isSameSession) { assertEquals("schedule is wrong", schedule.isSameSession(time1, time2), isSameSession); assertEquals("schedule is wrong", schedule.isSameSession(time2, time1), isSameSession);
private void doIsSameSessionTest(SessionSchedule schedule, Calendar time1, Calendar time2, boolean isSame) { assertEquals("schedule is wrong", schedule.isSameSession(time1, time2), isSame); assertEquals("schedule is wrong", schedule.isSameSession(time2, time1), isSame); }
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/df16b2519d9031521ec803d69871e43e71ba6447/SessionScheduleTest.java/clean/test/quickfix/SessionScheduleTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 2520, 8650, 2157, 4709, 12, 2157, 6061, 4788, 16, 5542, 813, 21, 16, 5542, 813, 22, 16, 5411, 1250, 23061, 13, 288, 3639, 1815, 8867, 2932, 10676, 353, 7194, 3113, 4788, 18, 291, 8650, 2157, 12, 957, 21, 16, 813, 22, 3631, 23061, 1769, 3639, 1815, 8867, 2932, 10676, 353, 7194, 3113, 4788, 18, 291, 8650, 2157, 12, 957, 22, 16, 813, 21, 3631, 23061, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 2520, 8650, 2157, 4709, 12, 2157, 6061, 4788, 16, 5542, 813, 21, 16, 5542, 813, 22, 16, 5411, 1250, 23061, 13, 288, 3639, 1815, 8867, 2932, 10676, 353, 7194, 3113, 4788, 18, 291, 8650, 2157, 12, 957, 21, 16, 813, 22, 3631, 23061, 1769, 3639, 1815, 8867, 2932, 10676, 353, 7194, 3113, 4788, 18, 291, 8650, 2157, 12, 957, 22, 16, 813, 21, 3631, 23061, 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 ]
public String getComponentName() { //return "VcsManagerPerModuleConfiguration"; return "VcsManagerConfiguration"; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/d2888516987b622d3961ab93a884c6ba0640caa3/VcsManagerPerModuleConfiguration.java/buggy/source/com/intellij/openapi/vcs/impl/VcsManagerPerModuleConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 780, 588, 1841, 461, 1435, 95, 759, 2463, 6, 58, 2143, 1318, 2173, 3120, 1750, 14432, 2463, 6, 58, 2143, 1318, 1750, 14432, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 780, 588, 1841, 461, 1435, 95, 759, 2463, 6, 58, 2143, 1318, 2173, 3120, 1750, 14432, 2463, 6, 58, 2143, 1318, 1750, 14432, 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 ]
ZimbraLog.ozserver.info("buffer pool name=" + mName + " inuse=" + mInUse + " allocated=" + mAllocatedBuffers.size());
mLog.info("buffer pool name=" + mName + " inuse=" + mInUse + " allocated=" + mAllocatedBuffers.size());
public void run() { ZimbraLog.ozserver.info("buffer pool name=" + mName + " inuse=" + mInUse + " allocated=" + mAllocatedBuffers.size()); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/81a5e1a9b45c0b2385e76a631dd21ec0e0792363/OzBufferPool.java/buggy/ZimbraServer/src/java/com/zimbra/cs/ozserver/OzBufferPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 312, 1343, 18, 1376, 2932, 4106, 2845, 508, 1546, 397, 312, 461, 397, 315, 316, 1202, 1546, 397, 312, 15435, 397, 315, 11977, 1546, 397, 312, 29392, 13699, 18, 1467, 10663, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 312, 1343, 18, 1376, 2932, 4106, 2845, 508, 1546, 397, 312, 461, 397, 315, 316, 1202, 1546, 397, 312, 15435, 397, 315, 11977, 1546, 397, 312, 29392, 13699, 18, 1467, 10663, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private int getLayoutID(int userId, int profileId) throws SQLException { String query = "SELECT LAYOUT_ID " + "FROM UP_USER_PROFILE " + "WHERE USER_ID=? AND PROFILE_ID=?"; Connection con = RDBMServices.getConnection(); PreparedStatement pstmt = con.prepareStatement(query); LogService.log(LogService.DEBUG, "RDBMUserLayoutStore::getLayoutID(userId=" + userId + ", profileId=" + profileId + " ): " + query); pstmt.setInt(1, userId); pstmt.setInt(2, profileId); ResultSet rs = pstmt.executeQuery(); int layoutId = 0; try { if (rs.next()) { layoutId = rs.getInt(1); if (rs.wasNull()) { layoutId = 0; } } } finally { rs.close(); } return layoutId; }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/d500d35accd8372052d9a6f8c177a8054d61c39a/RDBMUserLayoutStore.java/clean/source/org/jasig/portal/RDBMUserLayoutStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 17670, 734, 12, 474, 6249, 16, 509, 25903, 13, 1216, 6483, 288, 1377, 514, 843, 273, 1850, 315, 4803, 25239, 5069, 67, 734, 315, 397, 1850, 315, 11249, 7376, 67, 4714, 67, 22462, 315, 397, 1850, 315, 12299, 7443, 67, 734, 17282, 4116, 4629, 3776, 67, 734, 25501, 31, 1377, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 1377, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 12, 2271, 1769, 1377, 1827, 1179, 18, 1330, 12, 1343, 1179, 18, 9394, 16, 315, 54, 2290, 49, 1299, 3744, 2257, 2866, 588, 3744, 734, 12, 18991, 1546, 397, 6249, 397, 3104, 25903, 1546, 397, 25903, 397, 315, 262, 30, 315, 397, 843, 1769, 1377, 293, 10589, 18, 542, 1702, 12, 21, 16, 6249, 1769, 1377, 293, 10589, 18, 542, 1702, 12, 22, 16, 25903, 1769, 1377, 10842, 3597, 273, 293, 10589, 18, 8837, 1138, 5621, 1377, 509, 3511, 548, 273, 374, 31, 1377, 775, 288, 1850, 309, 261, 5453, 18, 4285, 10756, 288, 2868, 3511, 548, 273, 3597, 18, 588, 1702, 12, 21, 1769, 2868, 309, 261, 5453, 18, 17416, 2041, 10756, 288, 5375, 3511, 548, 273, 374, 31, 2868, 289, 1850, 289, 1377, 289, 1377, 3095, 288, 1850, 3597, 18, 4412, 5621, 1377, 289, 1377, 327, 3511, 548, 31, 225, 289, 282, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 17670, 734, 12, 474, 6249, 16, 509, 25903, 13, 1216, 6483, 288, 1377, 514, 843, 273, 1850, 315, 4803, 25239, 5069, 67, 734, 315, 397, 1850, 315, 11249, 7376, 67, 4714, 67, 22462, 315, 397, 1850, 315, 12299, 7443, 67, 734, 17282, 4116, 4629, 3776, 67, 734, 25501, 31, 1377, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 1377, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 12, 2271, 1769, 1377, 1827, 1179, 18, 1330, 12, 1343, 1179, 18, 9394, 16, 315, 54, 2290, 49, 1299, 3744, 2257, 2866, 588, 3744, 734, 12, 18991, 1546, 397, 6249, 397, 3104, 25903, 1546, 397, 25903, 397, 315, 262, 30, 315, 397, 843, 1769, 1377, 293, 2 ]
pomNeedsRewriting = false;
shouldRewritePom = false;
private void rewriteMetadata( Artifact artifact, RewriteTransaction transaction, File sourceBase, ArtifactRepository sourceRepo, File targetBase, ArtifactRepository targetRepo, Reporter artifactReporter, boolean reportOnly ) throws Exception { // SNAPSHOT metadata ArtifactMetadata snapshot = new SnapshotArtifactMetadata( artifact ); File snapshotSource = new File( sourceBase, sourceRepo.pathOfMetadata( snapshot ) ); File snapshotTarget = new File( targetBase, targetRepo.pathOfMetadata( snapshot ) ); freshenSupplementalMetadata( snapshot, snapshotSource, snapshotTarget, transaction, artifactReporter, reportOnly ); // RELEASE metadata ArtifactMetadata release = new ReleaseArtifactMetadata( artifact ); File releaseSource = new File( sourceBase, sourceRepo.pathOfMetadata( release ) ); File releaseTarget = new File( targetBase, targetRepo.pathOfMetadata( release ) ); freshenSupplementalMetadata( release, releaseSource, releaseTarget, transaction, artifactReporter, reportOnly ); // The rest is for POM metadata - translation and bridging of locations in the target repo may be required. ArtifactMetadata pom = new ProjectMetadata( artifact ); File sourcePom = new File( sourceBase, sourceRepo.pathOfMetadata( pom ) ); File targetPom = new File( targetBase, targetRepo.pathOfMetadata( pom ).replace( '+', '-' ) ); String pomContents = null; boolean pomNeedsRewriting = true; if ( sourcePom.exists() ) { pomContents = readPomContents( sourcePom ); if ( pomContents.indexOf( "modelVersion" ) > -1 ) { pomNeedsRewriting = false; freshenSupplementalMetadata( pom, sourcePom, targetPom, transaction, artifactReporter, reportOnly ); } } if ( pomNeedsRewriting ) { ArtifactPomRewriter artifactPomRewriter = null; try { artifactPomRewriter = (ArtifactPomRewriter) container.lookup( ArtifactPomRewriter.ROLE, ArtifactPomRewriter.V3_POM ); transaction.addFile( targetPom ); File bridgedTargetPom = new File( targetBase, bridgingLayout.pathOfMetadata( pom ).replace( '+', '-' ) ); transaction.addFile( bridgedTargetPom ); File targetPomParent = targetPom.getParentFile(); if ( !targetPomParent.exists() ) { targetPomParent.mkdirs(); } FileWriter to = null; try { StringReader from = null; if ( pomContents != null ) { from = new StringReader( pomContents ); } to = new FileWriter( targetPom ); artifactPomRewriter.rewrite( artifact, from, to, artifactReporter, reportOnly ); } finally { IOUtil.close( to ); } boolean wroteBridge = bridgePomLocations( pom, targetPom, bridgedTargetPom, artifactReporter, transaction, reportOnly ); digestVerifier.verifyDigest( sourcePom, targetPom, transaction, artifactReporter, reportOnly ); if ( wroteBridge ) { digestVerifier.verifyDigest( sourcePom, bridgedTargetPom, transaction, artifactReporter, reportOnly ); } } finally { if ( artifactPomRewriter != null ) { try { container.release( artifactPomRewriter ); } catch ( ComponentLifecycleException e ) { } } } } }
1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/d1e7f4d5ad3155cc9f1a4a5fdc0ece21f78df284/RewritePhase.java/clean/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 10738, 2277, 12, 14022, 6462, 16, 17851, 3342, 2492, 16, 1387, 1084, 2171, 16, 4766, 14022, 3305, 1084, 8791, 16, 1387, 1018, 2171, 16, 14022, 3305, 1018, 8791, 16, 4766, 25585, 6462, 13289, 16, 1250, 2605, 3386, 262, 3639, 1216, 1185, 565, 288, 3639, 368, 14204, 31667, 1982, 3639, 14022, 2277, 4439, 273, 394, 10030, 7581, 2277, 12, 6462, 11272, 3639, 1387, 4439, 1830, 273, 394, 1387, 12, 1084, 2171, 16, 1084, 8791, 18, 803, 951, 2277, 12, 4439, 262, 11272, 3639, 1387, 4439, 2326, 273, 394, 1387, 12, 1018, 2171, 16, 1018, 8791, 18, 803, 951, 2277, 12, 4439, 262, 11272, 3639, 12186, 275, 3088, 23026, 2277, 12, 4439, 16, 4439, 1830, 16, 4439, 2326, 16, 2492, 16, 6462, 13289, 16, 19694, 2605, 3386, 11272, 3639, 368, 2438, 22357, 1982, 3639, 14022, 2277, 3992, 273, 394, 10819, 7581, 2277, 12, 6462, 11272, 3639, 1387, 3992, 1830, 273, 394, 1387, 12, 1084, 2171, 16, 1084, 8791, 18, 803, 951, 2277, 12, 3992, 262, 11272, 3639, 1387, 3992, 2326, 273, 394, 1387, 12, 1018, 2171, 16, 1018, 8791, 18, 803, 951, 2277, 12, 3992, 262, 11272, 3639, 12186, 275, 3088, 23026, 2277, 12, 3992, 16, 3992, 1830, 16, 3992, 2326, 16, 2492, 16, 6462, 13289, 16, 2605, 3386, 11272, 3639, 368, 1021, 3127, 353, 364, 453, 1872, 1982, 300, 4794, 471, 324, 1691, 1998, 434, 7838, 316, 326, 1018, 3538, 2026, 506, 1931, 18, 3639, 14022, 2277, 21400, 273, 394, 5420, 2277, 12, 6462, 11272, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 10738, 2277, 12, 14022, 6462, 16, 17851, 3342, 2492, 16, 1387, 1084, 2171, 16, 4766, 14022, 3305, 1084, 8791, 16, 1387, 1018, 2171, 16, 14022, 3305, 1018, 8791, 16, 4766, 25585, 6462, 13289, 16, 1250, 2605, 3386, 262, 3639, 1216, 1185, 565, 288, 3639, 368, 14204, 31667, 1982, 3639, 14022, 2277, 4439, 273, 394, 10030, 7581, 2277, 12, 6462, 11272, 3639, 1387, 4439, 1830, 273, 394, 1387, 12, 1084, 2171, 16, 1084, 8791, 18, 803, 951, 2277, 12, 4439, 262, 11272, 3639, 1387, 4439, 2326, 273, 394, 1387, 12, 1018, 2171, 16, 1018, 8791, 18, 803, 951, 2277, 12, 4439, 262, 11272, 3639, 12186, 275, 3088, 23026, 2277, 12, 4439, 16, 4439, 1830, 16, 4439, 2326, 2 ]
setInitial(null);
setInitial(MIDDLENAME_DEFAULT);
public void resetPropertyValue(Object property) { if (P_ID_FIRSTNAME.equals(property)) { setFirstName(null); return; } if (P_ID_LASTNAME.equals(property)) { setLastName(null); return; } if (P_ID_MIDDLENAME.equals(property)) { setInitial(null); return; }}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/4693fc4466a3a7e80f54e8af70a459cc0947fc03/Name.java/clean/examples/org.eclipse.ui.examples.propertysheet/Eclipse UI Examples PropertySheet/org/eclipse/ui/examples/propertysheet/Name.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 2715, 16107, 12, 921, 1272, 13, 288, 202, 430, 261, 52, 67, 734, 67, 15354, 1985, 18, 14963, 12, 4468, 3719, 288, 202, 202, 542, 3759, 461, 12, 2011, 1769, 202, 202, 2463, 31, 202, 97, 202, 430, 261, 52, 67, 734, 67, 14378, 1985, 18, 14963, 12, 4468, 3719, 288, 202, 202, 542, 3024, 461, 12, 2011, 1769, 202, 202, 2463, 31, 202, 97, 202, 430, 261, 52, 67, 734, 67, 49, 25578, 1985, 18, 14963, 12, 4468, 3719, 288, 202, 202, 542, 4435, 12, 2011, 1769, 202, 202, 2463, 31, 202, 9090, 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, 1071, 918, 2715, 16107, 12, 921, 1272, 13, 288, 202, 430, 261, 52, 67, 734, 67, 15354, 1985, 18, 14963, 12, 4468, 3719, 288, 202, 202, 542, 3759, 461, 12, 2011, 1769, 202, 202, 2463, 31, 202, 97, 202, 430, 261, 52, 67, 734, 67, 14378, 1985, 18, 14963, 12, 4468, 3719, 288, 202, 202, 542, 3024, 461, 12, 2011, 1769, 202, 202, 2463, 31, 202, 97, 202, 430, 261, 52, 67, 734, 67, 49, 25578, 1985, 18, 14963, 12, 4468, 3719, 288, 202, 202, 542, 4435, 12, 2011, 1769, 202, 202, 2463, 31, 202, 9090, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
w.write( "( ARRAY INITIALIZER ");
w.write( "ARRAY INITIALIZER ");
public void dump( CodeWriter w) { w.write( "( ARRAY INITIALIZER "); dumpNodeInfo( w); w.write( ")"); }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/a09f0b7976561d3eee38c023d7cfbffad6a36a8b/ArrayInitializerExpression.java/buggy/src/polyglot/ast/ArrayInitializerExpression.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4657, 12, 3356, 2289, 341, 13, 225, 288, 565, 341, 18, 2626, 12, 315, 8552, 12584, 15154, 654, 315, 1769, 565, 4657, 25392, 12, 341, 1769, 565, 341, 18, 2626, 12, 7310, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4657, 12, 3356, 2289, 341, 13, 225, 288, 565, 341, 18, 2626, 12, 315, 8552, 12584, 15154, 654, 315, 1769, 565, 4657, 25392, 12, 341, 1769, 565, 341, 18, 2626, 12, 7310, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
byte[] tmp_state=null; switch(evt.getType()) {
byte[] tmp_state = null; switch (evt.getType()) {
public void passUp(Event evt) { byte[] tmp_state=null; switch(evt.getType()) { case Event.MSG: if(msg_listener != null) msg_listener.receive((Message)evt.getArg()); break; case Event.GET_APPLSTATE: // reply with GET_APPLSTATE_OK if(msg_listener != null) { try { tmp_state=msg_listener.getState(); } catch(Throwable t) { log.error("failed getting state from message listener (" + msg_listener + ")", t); } } channel.returnState(tmp_state); break; case Event.GET_STATE_OK: if(msg_listener != null) { try { msg_listener.setState((byte[])evt.getArg()); } catch(ClassCastException cast_ex) { if(log.isErrorEnabled()) log.error("received SetStateEvent, but argument " + evt.getArg() + " is not serializable. Discarding message."); } } break; case Event.VIEW_CHANGE: View v=(View)evt.getArg(); Vector new_mbrs=v.getMembers(); if(new_mbrs != null) { members.removeAllElements(); for(int i=0; i < new_mbrs.size(); i++) members.addElement(new_mbrs.elementAt(i)); } if(membership_listener != null) membership_listener.viewAccepted(v); break;//// case Event.SET_LOCAL_ADDRESS:// local_addr=(Address)evt.getArg();// break; case Event.SUSPECT: if(membership_listener != null) membership_listener.suspect((Address)evt.getArg()); break; case Event.BLOCK: if(membership_listener != null) membership_listener.block(); break; } }
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/9b133caccdd70cd06c1674ee2a42e75071fdc287/MessageDispatcher.java/buggy/src/org/jgroups/blocks/MessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1342, 1211, 12, 1133, 6324, 13, 288, 5411, 1160, 8526, 1853, 67, 2019, 33, 2011, 31, 5411, 1620, 12, 73, 11734, 18, 588, 559, 10756, 288, 7734, 648, 2587, 18, 11210, 30, 10792, 309, 12, 3576, 67, 12757, 480, 446, 13, 13491, 1234, 67, 12757, 18, 18149, 12443, 1079, 13, 73, 11734, 18, 588, 4117, 10663, 10792, 898, 31, 7734, 648, 2587, 18, 3264, 67, 2203, 6253, 7998, 30, 368, 4332, 598, 4978, 67, 2203, 6253, 7998, 67, 3141, 10792, 309, 12, 3576, 67, 12757, 480, 446, 13, 288, 13491, 775, 288, 18701, 1853, 67, 2019, 33, 3576, 67, 12757, 18, 588, 1119, 5621, 13491, 289, 13491, 1044, 12, 15155, 268, 13, 288, 18701, 613, 18, 1636, 2932, 7307, 8742, 919, 628, 883, 2991, 7566, 397, 1234, 67, 12757, 397, 7310, 16, 268, 1769, 13491, 289, 10792, 289, 10792, 1904, 18, 2463, 1119, 12, 5645, 67, 2019, 1769, 10792, 898, 31, 7734, 648, 2587, 18, 3264, 67, 7998, 67, 3141, 30, 10792, 309, 12, 3576, 67, 12757, 480, 446, 13, 288, 13491, 775, 288, 18701, 1234, 67, 12757, 18, 542, 1119, 12443, 7229, 63, 5717, 73, 11734, 18, 588, 4117, 10663, 13491, 289, 13491, 1044, 12, 797, 22768, 4812, 67, 338, 13, 288, 18701, 309, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 15213, 1000, 1119, 1133, 16, 1496, 1237, 315, 397, 4766, 565, 6324, 18, 588, 4117, 1435, 397, 315, 353, 486, 15635, 18, 21643, 310, 883, 1199, 1769, 13491, 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, 1342, 1211, 12, 1133, 6324, 13, 288, 5411, 1160, 8526, 1853, 67, 2019, 33, 2011, 31, 5411, 1620, 12, 73, 11734, 18, 588, 559, 10756, 288, 7734, 648, 2587, 18, 11210, 30, 10792, 309, 12, 3576, 67, 12757, 480, 446, 13, 13491, 1234, 67, 12757, 18, 18149, 12443, 1079, 13, 73, 11734, 18, 588, 4117, 10663, 10792, 898, 31, 7734, 648, 2587, 18, 3264, 67, 2203, 6253, 7998, 30, 368, 4332, 598, 4978, 67, 2203, 6253, 7998, 67, 3141, 10792, 309, 12, 3576, 67, 12757, 480, 446, 13, 288, 13491, 775, 288, 18701, 1853, 67, 2019, 33, 3576, 67, 12757, 18, 588, 1119, 5621, 13491, 289, 13491, 1044, 12, 15155, 268, 13, 288, 18701, 613, 18, 2 ]
FoodItemManager.instance().add(item);
itemManager.add(item);
private void addNewItem() { final FoodItem item = new FoodItem(); boolean canceled = openEditor(item); if (!canceled) { FoodItemManager.instance().add(item); } }
13936 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13936/fb2bbf9d4379206ed10cec29ce94c3e1ebbc1f8d/SupplyPanel.java/buggy/Housekeeper/trunk/housekeeper/src/java/net/sf/housekeeper/swing/SupplyPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 20973, 1180, 1435, 565, 288, 3639, 727, 478, 4773, 1180, 761, 273, 394, 478, 4773, 1180, 5621, 3639, 1250, 17271, 273, 1696, 6946, 12, 1726, 1769, 3639, 309, 16051, 10996, 329, 13, 3639, 288, 5411, 761, 1318, 18, 1289, 12, 1726, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 20973, 1180, 1435, 565, 288, 3639, 727, 478, 4773, 1180, 761, 273, 394, 478, 4773, 1180, 5621, 3639, 1250, 17271, 273, 1696, 6946, 12, 1726, 1769, 3639, 309, 16051, 10996, 329, 13, 3639, 288, 5411, 761, 1318, 18, 1289, 12, 1726, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
options = VM_RuntimeCompiler.options; optimizationPlan = VM_RuntimeCompiler.optimizationPlan;
options = (OPT_Options)VM_RuntimeCompiler.options; optimizationPlan = (OPT_OptimizationPlanElement[])VM_RuntimeCompiler.optimizationPlan;
public void process() { VM_CompiledMethod compiledMethod = VM_CompiledMethods.getCompiledMethod(CMID); VM_NormalMethod todoMethod = (VM_NormalMethod)compiledMethod.getMethod(); double priority; OPT_Options options; OPT_OptimizationPlanElement[] optimizationPlan; VM_ControllerPlan oldPlan = VM_ControllerMemory.findLatestPlan(todoMethod); if (oldPlan != null) { OPT_CompilationPlan oldCompPlan = oldPlan.getCompPlan(); priority = oldPlan.getPriority(); options = oldCompPlan.options; optimizationPlan = oldCompPlan.optimizationPlan; } else { priority = 5.0; options = VM_RuntimeCompiler.options; optimizationPlan = VM_RuntimeCompiler.optimizationPlan; } OPT_CompilationPlan compPlan = new OPT_CompilationPlan(todoMethod, optimizationPlan, null, options); OSR_OnStackReplacementPlan plan = new OSR_OnStackReplacementPlan(this.suspendedThread, compPlan, this.CMID, this.whereFrom, this.tsFromFPoff, this.ypTakenFPoff, priority); VM_Controller.compilationQueue.insert(priority, plan); VM_AOSLogging.logOsrEvent("OSR inserts compilation plan successfully!"); // do not hold the reference anymore. suspendedThread = null; CMID = 0; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3244bbe4a4a879b815f1721d3b48595e84349cc5/OSR_OnStackReplacementEvent.java/clean/rvm/src/com/ibm/jikesrvm/adaptive/OSR_OnStackReplacementEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1207, 1435, 288, 3639, 8251, 67, 20733, 1305, 7743, 1305, 273, 8251, 67, 20733, 4712, 18, 588, 20733, 1305, 12, 9611, 734, 1769, 3639, 8251, 67, 5506, 1305, 10621, 1305, 273, 261, 7397, 67, 5506, 1305, 13, 19397, 1305, 18, 588, 1305, 5621, 565, 1645, 4394, 31, 565, 16456, 67, 1320, 702, 31, 565, 16456, 67, 13930, 1588, 5365, 1046, 8526, 14850, 5365, 31, 1377, 8251, 67, 2933, 5365, 1592, 5365, 273, 8251, 67, 2933, 6031, 18, 4720, 18650, 5365, 12, 9012, 1305, 1769, 565, 309, 261, 1673, 5365, 480, 446, 13, 288, 1377, 16456, 67, 19184, 5365, 1592, 2945, 5365, 273, 1592, 5365, 18, 588, 2945, 5365, 5621, 1377, 4394, 273, 1592, 5365, 18, 588, 8183, 5621, 1377, 702, 273, 1592, 2945, 5365, 18, 2116, 31, 1377, 14850, 5365, 273, 1592, 2945, 5365, 18, 16689, 1588, 5365, 31, 565, 289, 469, 288, 1377, 4394, 273, 1381, 18, 20, 31, 1377, 702, 273, 8251, 67, 5576, 9213, 18, 2116, 31, 1377, 14850, 5365, 273, 8251, 67, 5576, 9213, 18, 16689, 1588, 5365, 31, 565, 289, 565, 16456, 67, 19184, 5365, 1161, 5365, 273, 4202, 394, 16456, 67, 19184, 5365, 12, 9012, 1305, 16, 17311, 14850, 5365, 16, 17311, 446, 16, 17311, 702, 1769, 1377, 5932, 54, 67, 1398, 2624, 15201, 5365, 4995, 273, 4202, 394, 5932, 54, 67, 1398, 2624, 15201, 5365, 12, 2211, 18, 87, 22942, 3830, 16, 19694, 1161, 5365, 16, 19694, 333, 18, 9611, 734, 16, 19694, 333, 18, 6051, 1265, 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, 1207, 1435, 288, 3639, 8251, 67, 20733, 1305, 7743, 1305, 273, 8251, 67, 20733, 4712, 18, 588, 20733, 1305, 12, 9611, 734, 1769, 3639, 8251, 67, 5506, 1305, 10621, 1305, 273, 261, 7397, 67, 5506, 1305, 13, 19397, 1305, 18, 588, 1305, 5621, 565, 1645, 4394, 31, 565, 16456, 67, 1320, 702, 31, 565, 16456, 67, 13930, 1588, 5365, 1046, 8526, 14850, 5365, 31, 1377, 8251, 67, 2933, 5365, 1592, 5365, 273, 8251, 67, 2933, 6031, 18, 4720, 18650, 5365, 12, 9012, 1305, 1769, 565, 309, 261, 1673, 5365, 480, 446, 13, 288, 1377, 16456, 67, 19184, 5365, 1592, 2945, 5365, 273, 1592, 5365, 18, 588, 2945, 5365, 5621, 1377, 4394, 273, 1592, 5365, 18, 588, 2 ]
if (getContentService().isActive(visibleExtensions[i].getId()))
if (getContentService().isActive(visibleExtensions[i].getId())) {
private void updateCheckedState() { INavigatorContentDescriptor[] visibleExtensions = getContentService() .getVisibleExtensions(); for (int i = 0; i < visibleExtensions.length; i++) { if (getContentService().isActive(visibleExtensions[i].getId())) getTableViewer().setChecked(visibleExtensions[i], true); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ContentExtensionsTab.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/filters/ContentExtensionsTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 11454, 1119, 1435, 288, 202, 202, 706, 13061, 1350, 3187, 8526, 6021, 7513, 273, 5154, 1179, 1435, 9506, 202, 18, 588, 6207, 7513, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 6021, 7513, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 588, 1350, 1179, 7675, 291, 3896, 12, 8613, 7513, 63, 77, 8009, 26321, 1435, 3719, 9506, 202, 588, 1388, 18415, 7675, 542, 11454, 12, 8613, 7513, 63, 77, 6487, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 11454, 1119, 1435, 288, 202, 202, 706, 13061, 1350, 3187, 8526, 6021, 7513, 273, 5154, 1179, 1435, 9506, 202, 18, 588, 6207, 7513, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 6021, 7513, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 588, 1350, 1179, 7675, 291, 3896, 12, 8613, 7513, 63, 77, 8009, 26321, 1435, 3719, 9506, 202, 588, 1388, 18415, 7675, 542, 11454, 12, 8613, 7513, 63, 77, 6487, 638, 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 ]
formattedStr );
formattedStr, content );
private void evaluateEmbeddedExpression( Node node, TextItemDesign text, TextItemContent content, HTMLProcessor htmlProcessor ) { if ( node.getNodeType( ) == Node.ELEMENT_NODE ) { Element ele = (Element) node; if ( node.getNodeName( ).equals( "img" ) ) //$NON-NLS-1$ { String src = ele.getAttribute( "src" ); //$NON-NLS-1$ if ( FileUtil.isLocalResource( src ) ) { src = FileUtil.getAbsolutePath( context.getReport( ) .getBasePath( ), src ); ele.removeAttribute( "src" ); //$NON-NLS-1$ ImageItemContent imgContent = (ImageItemContent)ContentFactory .createImageContent( null, content ); content.addImageContent( node, imgContent ); imgContent.setImageSource( ImageItemDesign.IMAGE_FILE ); imgContent.setUri( src ); imgContent.setExtension( FileUtil.getExtFromFileName( src, FileUtil.SEPARATOR_PATH ) ); } } else if ( node.getNodeName( ).equals( "value-of" ) ) //$NON-NLS-1$ { String strExpr = node.getFirstChild( ).getNodeValue( ); IBaseExpression expr = text.getExpression( strExpr ); Object value; if ( expr != null ) { value = context.evaluate( expr ); } else { value = context.evaluate( strExpr ); } if ( value != null ) { String format = ( (Element) ( node ) ) .getAttribute( "format" ); //$NON-NLS-1$ //TODO Only the type string and blob are done in the format // of HTML, or else only string type. if ( "html".equals( format ) ) //$NON-NLS-1$ { //parse the value to get the DOM tree Document doc = null; if ( value.getClass( ).isArray( ) && value.getClass( ).getComponentType( ) == byte.class ) { byte[] blob = (byte[]) value; doc = new TextParser( ).parse( new ByteArrayInputStream( blob ), "html" ); //$NON-NLS-1$ } else { doc = new TextParser( ).parse( value.toString( ), "html" ); //$NON-NLS-1$ } if ( doc != null ) { Element body = null; if ( doc.getFirstChild( ) instanceof Element ) { body = (Element) doc.getFirstChild( ); } if ( body != null ) { htmlProcessor.execute( body, content ); content.addExpressionVal( node, doc ); } } } else { StringBuffer formattedStr = new StringBuffer( ); //Uses the ROM style of design because the // format-related styles are constant, which are the // same as those of the content. formatValue( value, format, text.getStyle( ), formattedStr ); Element appendedNode = null; Document textDoc; try { textDoc = DocumentBuilderFactory.newInstance( ) .newDocumentBuilder( ).newDocument( ); if ( textDoc != null && textDoc.getFirstChild( ) != null && textDoc.getFirstChild( ) instanceof Element ) { ( (Element) ( textDoc.getFirstChild( ) ) ) .setAttribute( "text-type", //$NON-NLS-1$ TextParser.TEXT_TYPE_PLAIN ); } appendedNode = textDoc.createElement( "body" ); //$NON-NLS-1$ textDoc.appendChild( appendedNode ); appendedNode .appendChild( textDoc .createTextNode( formattedStr .toString( ) ) ); content.addExpressionVal( node, textDoc ); } catch ( ParserConfigurationException e ) { logger .log( Level.SEVERE, "[TextItemExecutor] Fails to create document for value-of", //$NON-NLS-1$ e ); } catch ( FactoryConfigurationError e ) { logger .log( Level.SEVERE, "[TextItemExecutor] Fails to create document for value-of", //$NON-NLS-1$ e ); } } } return; } else if ( node.getNodeName( ).equals( "image" ) ) //$NON-NLS-1$ { ImageItemContent image = (ImageItemContent)ContentFactory .createImageContent( null, content ); //Get the image content String imageType = ( (Element) ( node ) ).getAttribute( "type" ); //$NON-NLS-1$ if ( "expr".equalsIgnoreCase( imageType ) ) //$NON-NLS-1$ { image.setImageSource( ImageItemDesign.IMAGE_EXPRESSION ); //The image is from data source String strExpression = node.getFirstChild( ).getNodeValue( ); Object value = context.evaluate( text .getExpression( strExpression ) ); if ( value != null && value.getClass( ).isArray( ) && value.getClass( ).getComponentType( ) == byte.class ) { image.setData( (byte[]) value ); } } else { //The image is an embedded one. String name = ( (Element) ( node ) ).getAttribute( "name" ); //$NON-NLS-1$ EmbeddedImage embeddedImage = context.getReport( ) .getReportDesign( ).findImage( name ); if ( embeddedImage != null ) { image.setData( embeddedImage.getData( ) ); image.setImageSource( ImageItemDesign.IMAGE_NAME ); image.setUri( name ); String extension = FileUtil .getExtFromType( embeddedImage.getType( ) ); if ( extension == null ) { extension = FileUtil.getExtFromFileName( name, FileUtil.SEPARATOR_PATH ); } image.setExtension( extension ); } } if ( image.getData( ) != null ) { try { Document imgDoc; imgDoc = DocumentBuilderFactory.newInstance( ) .newDocumentBuilder( ).newDocument( ); Element body = imgDoc.createElement( "body" ); //$NON-NLS-1$ Element imgNode = imgDoc.createElement( "img" ); //$NON-NLS-1$ content.addImageContent( imgNode, image ); // add image node to DOM tree body.appendChild( imgNode ); imgDoc.appendChild( body ); content.addExpressionVal( node, imgDoc ); } catch ( ParserConfigurationException e ) { logger .log( Level.SEVERE, "[TextItemExecutor] Fails to create document for img", //$NON-NLS-1$ e ); } catch ( FactoryConfigurationError e ) { logger .log( Level.SEVERE, "[TextItemExecutor] Fails to create document for img", //$NON-NLS-1$ e ); } } else { logger.log( Level.SEVERE, "can't handle image element in HTML" ); //$NON-NLS-1$ } return; } // call recursively for ( Node child = node.getFirstChild( ); child != null; child = child .getNextSibling( ) ) { evaluateEmbeddedExpression( child, text, content, htmlProcessor ); } } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/46b3013f64d73accec44cdf5a1a0af7dcd5513b7/TextItemExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/TextItemExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 5956, 14980, 2300, 12, 2029, 756, 16, 3867, 1180, 15478, 977, 16, 1082, 202, 1528, 1180, 1350, 913, 16, 3982, 5164, 1729, 5164, 262, 202, 95, 202, 202, 430, 261, 756, 18, 588, 15101, 12, 262, 422, 2029, 18, 10976, 67, 8744, 262, 202, 202, 95, 1082, 202, 1046, 5043, 273, 261, 1046, 13, 756, 31, 1082, 202, 430, 261, 756, 18, 588, 18948, 12, 262, 18, 14963, 12, 315, 6081, 6, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 95, 9506, 202, 780, 1705, 273, 5043, 18, 588, 1499, 12, 315, 4816, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 430, 261, 1387, 1304, 18, 291, 2042, 1420, 12, 1705, 262, 262, 9506, 202, 95, 6862, 202, 4816, 273, 1387, 1304, 18, 588, 10368, 743, 12, 819, 18, 588, 4820, 12, 262, 6862, 1082, 202, 18, 588, 15912, 12, 262, 16, 1705, 11272, 6862, 202, 6516, 18, 4479, 1499, 12, 315, 4816, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2040, 1180, 1350, 3774, 1350, 273, 261, 2040, 1180, 1350, 13, 1350, 1733, 6862, 1082, 202, 18, 2640, 2040, 1350, 12, 446, 16, 913, 11272, 6862, 202, 1745, 18, 1289, 2040, 1350, 12, 756, 16, 3774, 1350, 11272, 6862, 202, 6081, 1350, 18, 542, 2040, 1830, 12, 3421, 1180, 15478, 18, 13603, 67, 3776, 11272, 6862, 202, 6081, 1350, 18, 542, 3006, 12, 1705, 11272, 6862, 202, 6081, 1350, 18, 542, 3625, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 5956, 14980, 2300, 12, 2029, 756, 16, 3867, 1180, 15478, 977, 16, 1082, 202, 1528, 1180, 1350, 913, 16, 3982, 5164, 1729, 5164, 262, 202, 95, 202, 202, 430, 261, 756, 18, 588, 15101, 12, 262, 422, 2029, 18, 10976, 67, 8744, 262, 202, 202, 95, 1082, 202, 1046, 5043, 273, 261, 1046, 13, 756, 31, 1082, 202, 430, 261, 756, 18, 588, 18948, 12, 262, 18, 14963, 12, 315, 6081, 6, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 95, 9506, 202, 780, 1705, 273, 5043, 18, 588, 1499, 12, 315, 4816, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 430, 261, 1387, 1304, 18, 291, 2042, 1420, 2 ]
Point newSize = composite.computeSize(SWT.DEFAULT, SWT.DEFAULT, true); Point oldSize = composite.getSize(); int widthDelta = Math.max(newSize.x - oldSize.x, 0); int heightDelta = Math.max(newSize.y - oldSize.y, 0); if (widthDelta > 0 || heightDelta > 0) { Point shellSize = shell.getSize(); shell.setSize(shellSize.x + widthDelta, shellSize.y + heightDelta); }
protected void handleAdvancedButtonSelect() { Shell shell = getShell(); if (linkedResourceGroup != null) { Composite composite = (Composite) getControl(); linkedResourceGroup.dispose(); linkedResourceGroup = null; setPageComplete(validatePage()); advancedButton.setText(WorkbenchMessages.getString("WizardNewFileCreationPage.advancedButtonCollapsed")); Point newSize = composite.computeSize(SWT.DEFAULT, SWT.DEFAULT, true); Point oldSize = composite.getSize(); int heightDelta = newSize.y - oldSize.y; if (heightDelta < 0) { Point shellSize = shell.getSize(); shell.setSize(shellSize.x, shellSize.y + heightDelta); } } else { Composite composite = (Composite) getControl(); linkedResourceGroup = new CreateLinkedResourceGroup( IResource.FILE, new Listener() { public void handleEvent(Event e) { setPageComplete(validatePage()); } }); linkedResourceGroup.createContents(composite); advancedButton.setText(WorkbenchMessages.getString("WizardNewFileCreationPage.advancedButtonExpanded")); Point newSize = composite.computeSize(SWT.DEFAULT, SWT.DEFAULT, true); Point oldSize = composite.getSize(); int widthDelta = Math.max(newSize.x - oldSize.x, 0); int heightDelta = Math.max(newSize.y - oldSize.y, 0); if (widthDelta > 0 || heightDelta > 0) { Point shellSize = shell.getSize(); shell.setSize(shellSize.x + widthDelta, shellSize.y + heightDelta); } }}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/6d5fe7c7ed2841b60cc1545330ed4994c212b177/WizardNewFileCreationPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 1640, 23618, 3616, 3391, 1435, 288, 202, 13220, 5972, 273, 7932, 1165, 5621, 202, 202, 430, 261, 17738, 18860, 480, 446, 13, 288, 202, 202, 9400, 9635, 273, 261, 9400, 13, 27174, 5621, 202, 202, 17738, 18860, 18, 2251, 4150, 5621, 202, 202, 17738, 18860, 273, 446, 31, 202, 202, 542, 1964, 6322, 12, 5662, 1964, 10663, 202, 202, 27080, 3616, 18, 542, 1528, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 27130, 1908, 812, 9906, 1964, 18, 27080, 3616, 28084, 7923, 1769, 9506, 202, 2148, 21402, 273, 9635, 18, 9200, 1225, 12, 55, 8588, 18, 5280, 16, 348, 8588, 18, 5280, 16, 638, 1769, 202, 202, 2148, 1592, 1225, 273, 9635, 18, 588, 1225, 5621, 202, 202, 474, 2072, 9242, 273, 21402, 18, 93, 300, 1592, 1225, 18, 93, 31, 3196, 202, 430, 261, 4210, 9242, 411, 374, 13, 288, 1082, 202, 2148, 5972, 1225, 273, 5972, 18, 588, 1225, 5621, 1082, 202, 10304, 18, 542, 1225, 12, 10304, 1225, 18, 92, 16, 5972, 1225, 18, 93, 397, 2072, 9242, 1769, 202, 202, 97, 202, 97, 469, 288, 202, 202, 9400, 9635, 273, 261, 9400, 13, 27174, 5621, 202, 202, 17738, 18860, 273, 394, 1788, 13174, 18860, 12, 1082, 202, 45, 1420, 18, 3776, 16, 1082, 202, 2704, 10652, 1435, 288, 9506, 202, 482, 918, 1640, 1133, 12, 1133, 425, 13, 288, 6862, 202, 542, 1964, 6322, 12, 5662, 1964, 10663, 9506, 202, 97, 1082, 202, 22938, 202, 202, 17738, 18860, 18, 2640, 6323, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 1640, 23618, 3616, 3391, 1435, 288, 202, 13220, 5972, 273, 7932, 1165, 5621, 202, 202, 430, 261, 17738, 18860, 480, 446, 13, 288, 202, 202, 9400, 9635, 273, 261, 9400, 13, 27174, 5621, 202, 202, 17738, 18860, 18, 2251, 4150, 5621, 202, 202, 17738, 18860, 273, 446, 31, 202, 202, 542, 1964, 6322, 12, 5662, 1964, 10663, 202, 202, 27080, 3616, 18, 542, 1528, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 27130, 1908, 812, 9906, 1964, 18, 27080, 3616, 28084, 7923, 1769, 9506, 202, 2148, 21402, 273, 9635, 18, 9200, 1225, 12, 55, 8588, 18, 5280, 16, 348, 8588, 18, 5280, 16, 638, 1769, 202, 202, 2148, 1592, 1225, 273, 9635, 18, 588, 1225, 5621, 202, 2 ]
if (element != null) element.delete(-1);
if (element == sentinel) { debug("maxSelect() ERROR chose sentinel??????!!! size="+ size); Thread.dumpStack(); } else if (element != null) element.delete(-1);
public synchronized FloatSetElement maxSelect(int halfGcThreshold) { if ((halfGcThreshold > 0) && (size >= 2 * halfGcThreshold)) gc(halfGcThreshold); Thread.yield(); FloatSetElement element = maxSelect(); if (element != null) element.delete(-1); return element; }
51914 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51914/2d22535cabb0d2d42e320337caf0050b735964fd/FloatWeightSet.java/buggy/ecologylab/collections/FloatWeightSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 3852, 5450, 694, 1046, 943, 3391, 12, 474, 8816, 43, 71, 7614, 13, 282, 288, 1377, 309, 14015, 20222, 43, 71, 7614, 405, 374, 13, 597, 261, 1467, 1545, 576, 380, 8816, 43, 71, 7614, 3719, 202, 225, 202, 13241, 12, 20222, 43, 71, 7614, 1769, 1377, 4884, 18, 23604, 5621, 1377, 5450, 694, 1046, 930, 202, 33, 943, 3391, 5621, 1377, 309, 261, 2956, 480, 446, 13, 202, 225, 202, 2956, 18, 3733, 19236, 21, 1769, 1377, 327, 930, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3852, 5450, 694, 1046, 943, 3391, 12, 474, 8816, 43, 71, 7614, 13, 282, 288, 1377, 309, 14015, 20222, 43, 71, 7614, 405, 374, 13, 597, 261, 1467, 1545, 576, 380, 8816, 43, 71, 7614, 3719, 202, 225, 202, 13241, 12, 20222, 43, 71, 7614, 1769, 1377, 4884, 18, 23604, 5621, 1377, 5450, 694, 1046, 930, 202, 33, 943, 3391, 5621, 1377, 309, 261, 2956, 480, 446, 13, 202, 225, 202, 2956, 18, 3733, 19236, 21, 1769, 1377, 327, 930, 31, 282, 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 ]
void newGame() { clearFlags(); turnNumber = 1; phase = Constants.SPLIT; caretaker.resetAllCounts(); players.clear(); options.saveOptions(); VariantSupport.loadVariant(options.getStringOption(Options.variant), true); Log.event("Starting new game"); CustomRecruitBase.resetAllInstances(); CustomRecruitBase.setCaretaker(caretaker); CustomRecruitBase.setGame(this); addPlayersFromOptions(); history = new History(); initServer(); }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/0da497aad0d3b9e59e2d73dcb5418a314284e9ee/Game.java/clean/Colossus/net/sf/colossus/server/Game.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 394, 12496, 1435, 565, 288, 3639, 2424, 5094, 5621, 7734, 7005, 1854, 273, 404, 31, 3639, 6855, 273, 5245, 18, 17482, 31, 3639, 21683, 6388, 18, 6208, 1595, 9211, 5621, 3639, 18115, 18, 8507, 5621, 7734, 702, 18, 5688, 1320, 5621, 7734, 17122, 6289, 18, 945, 9356, 12, 2116, 18, 588, 780, 1895, 12, 1320, 18, 8688, 3631, 4766, 282, 638, 1769, 7734, 1827, 18, 2575, 2932, 11715, 394, 7920, 8863, 7734, 6082, 426, 3353, 14945, 2171, 18, 6208, 1595, 5361, 5621, 3639, 6082, 426, 3353, 14945, 2171, 18, 542, 39, 20731, 6388, 12, 71, 20731, 6388, 1769, 3639, 6082, 426, 3353, 14945, 2171, 18, 542, 12496, 12, 2211, 1769, 7734, 527, 1749, 3907, 1265, 1320, 5621, 7734, 4927, 273, 394, 16058, 5621, 7734, 1208, 2081, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 394, 12496, 1435, 565, 288, 3639, 2424, 5094, 5621, 7734, 7005, 1854, 273, 404, 31, 3639, 6855, 273, 5245, 18, 17482, 31, 3639, 21683, 6388, 18, 6208, 1595, 9211, 5621, 3639, 18115, 18, 8507, 5621, 7734, 702, 18, 5688, 1320, 5621, 7734, 17122, 6289, 18, 945, 9356, 12, 2116, 18, 588, 780, 1895, 12, 1320, 18, 8688, 3631, 4766, 282, 638, 1769, 7734, 1827, 18, 2575, 2932, 11715, 394, 7920, 8863, 7734, 6082, 426, 3353, 14945, 2171, 18, 6208, 1595, 5361, 5621, 3639, 6082, 426, 3353, 14945, 2171, 18, 542, 39, 20731, 6388, 12, 71, 20731, 6388, 1769, 3639, 6082, 426, 3353, 14945, 2171, 18, 542, 12496, 12, 2211, 1769, 7734, 527, 1749, 3907, 1265, 1320, 5621, 2 ]
treeViewer.cancelEditing(); treeViewer.remove(removals.toArray());
treeViewer.cancelEditing(); treeViewer.remove(removals.toArray());
protected void updateViewer(ArrayList additions, ArrayList removals, ArrayList changes) { // perform removals if (removals.size() > 0) { treeViewer.cancelEditing(); treeViewer.remove(removals.toArray()); } // perform additions if (additions.size() > 0) { for (int i=0; i<additions.size(); i++) { AbstractPMDRecord addedRec = (AbstractPMDRecord) additions.get(i); if (addedRec instanceof FileRecord) treeViewer.add(addedRec.getParent(), addedRec); else treeViewer.add(root, addedRec); } } // perform changes if (changes.size() > 0) { treeViewer.update(changes.toArray(), null); } violationView.refresh(); }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/a71f46c4f6b1195d02582581aa74424aff607ebb/ViolationOverviewContentProvider.java/clean/pmd-eclipse-ui/src/net/sourceforge/pmd/ui/views/ViolationOverviewContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1089, 18415, 12, 19558, 26260, 16, 2407, 2797, 1031, 16, 1082, 202, 19558, 3478, 13, 288, 1082, 3639, 368, 3073, 2797, 1031, 3639, 309, 261, 2764, 1527, 1031, 18, 1467, 1435, 405, 374, 13, 288, 540, 202, 3413, 18415, 18, 10996, 28029, 5621, 540, 202, 3413, 18415, 18, 4479, 12, 2764, 1527, 1031, 18, 31447, 10663, 3639, 289, 3639, 368, 3073, 26260, 3639, 309, 261, 1289, 5029, 18, 1467, 1435, 405, 374, 13, 288, 540, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 1289, 5029, 18, 1467, 5621, 277, 27245, 288, 540, 202, 202, 7469, 52, 6188, 2115, 3096, 5650, 273, 261, 7469, 52, 6188, 2115, 13, 26260, 18, 588, 12, 77, 1769, 540, 202, 202, 430, 261, 9665, 5650, 1276, 1387, 2115, 13, 540, 1082, 202, 3413, 18415, 18, 1289, 12, 9665, 5650, 18, 588, 3054, 9334, 3096, 5650, 1769, 540, 202, 202, 12107, 540, 1082, 202, 3413, 18415, 18, 1289, 12, 3085, 16, 3096, 5650, 1769, 540, 202, 97, 3639, 289, 3639, 368, 3073, 3478, 3639, 309, 261, 6329, 18, 1467, 1435, 405, 374, 13, 288, 540, 202, 3413, 18415, 18, 2725, 12, 6329, 18, 31447, 9334, 446, 1769, 3639, 289, 7734, 17893, 1767, 18, 9144, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1089, 18415, 12, 19558, 26260, 16, 2407, 2797, 1031, 16, 1082, 202, 19558, 3478, 13, 288, 1082, 3639, 368, 3073, 2797, 1031, 3639, 309, 261, 2764, 1527, 1031, 18, 1467, 1435, 405, 374, 13, 288, 540, 202, 3413, 18415, 18, 10996, 28029, 5621, 540, 202, 3413, 18415, 18, 4479, 12, 2764, 1527, 1031, 18, 31447, 10663, 3639, 289, 3639, 368, 3073, 26260, 3639, 309, 261, 1289, 5029, 18, 1467, 1435, 405, 374, 13, 288, 540, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 1289, 5029, 18, 1467, 5621, 277, 27245, 288, 540, 202, 202, 7469, 52, 6188, 2115, 3096, 5650, 273, 261, 7469, 52, 6188, 2115, 13, 26260, 18, 588, 12, 77, 1769, 2 ]
{ out.write(Integer.toString(i).getBytes()); }
{ out.write(Integer.toString(i).getBytes()); }
private void writeInt(OutputStream out, int i) throws IOException { out.write(Integer.toString(i).getBytes()); }
6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/0b04663d2974e5a85037d82e2f9e0613ea48178b/RtfRow.java/clean/src/com/lowagie/text/rtf/RtfRow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 13682, 12, 4632, 596, 16, 509, 277, 13, 1216, 1860, 225, 288, 565, 596, 18, 2626, 12, 4522, 18, 10492, 12, 77, 2934, 588, 2160, 10663, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13682, 12, 4632, 596, 16, 509, 277, 13, 1216, 1860, 225, 288, 565, 596, 18, 2626, 12, 4522, 18, 10492, 12, 77, 2934, 588, 2160, 10663, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (isEditable()) {
if (hasWritePermissions()) {
public String deleteButton() { try { if (isEditable()) { return button("javascript:deleteResource(\'" + getParamResourcePath() + "\');", null, "deletecontent", "title.delete", 0); } } catch (CmsException e) { // ignore } return button(null, null, "deletecontent_in", "", 0); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/1468a6164e585db9e0d1549c3215f8cb7eab0073/CmsGallery.java/clean/src/org/opencms/workplace/commons/CmsGallery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1430, 3616, 1435, 288, 3639, 775, 288, 5411, 309, 261, 5332, 3067, 6521, 10756, 288, 7734, 327, 3568, 2932, 11242, 30, 3733, 1420, 21923, 6, 397, 9027, 29906, 1435, 397, 1548, 8284, 3113, 446, 16, 315, 19003, 31313, 319, 3113, 315, 2649, 18, 3733, 3113, 374, 1769, 5411, 289, 4766, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 368, 2305, 3639, 289, 2398, 327, 3568, 12, 2011, 16, 446, 16, 315, 19003, 31313, 319, 67, 267, 3113, 23453, 374, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 514, 1430, 3616, 1435, 288, 3639, 775, 288, 5411, 309, 261, 5332, 3067, 6521, 10756, 288, 7734, 327, 3568, 2932, 11242, 30, 3733, 1420, 21923, 6, 397, 9027, 29906, 1435, 397, 1548, 8284, 3113, 446, 16, 315, 19003, 31313, 319, 3113, 315, 2649, 18, 3733, 3113, 374, 1769, 5411, 289, 4766, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 368, 2305, 3639, 289, 2398, 327, 3568, 12, 2011, 16, 446, 16, 315, 19003, 31313, 319, 67, 267, 3113, 23453, 374, 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 ]
handleManagePreviewValidations(errors,request); errors.add(super.validate(mapping, request));
handleManagePreviewValidations(errors, request);
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); String method = request.getParameter("method"); if (method.equals(Methods.preview.toString())) { handleCreatePreviewValidations(errors,request); errors.add(super.validate(mapping, request)); } if (method.equals(Methods.previewManage.toString())) { handleManagePreviewValidations(errors,request); errors.add(super.validate(mapping, request)); } if (null != errors && !errors.isEmpty()) { request.setAttribute(Globals.ERROR_KEY, errors); request.setAttribute("methodCalled", method); request.setAttribute(Constants.CURRENTFLOWKEY, request .getParameter(Constants.CURRENTFLOWKEY)); //update the role list also try{ updateRoleLists(request); } catch (PageExpiredException e) { // TODO: do we need to ingnore it ? } } return errors; }
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/9cd26c56978cf78f76664a8772fc60c61df014c7/PersonActionForm.java/clean/mifos/src/org/mifos/application/personnel/struts/actionforms/PersonActionForm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4382, 4229, 1954, 12, 1803, 3233, 2874, 16, 1082, 202, 2940, 18572, 590, 13, 288, 202, 202, 1803, 4229, 1334, 273, 394, 4382, 4229, 5621, 202, 202, 780, 707, 273, 590, 18, 588, 1662, 2932, 2039, 8863, 202, 202, 430, 261, 2039, 18, 14963, 12, 4712, 18, 12102, 18, 10492, 1435, 3719, 288, 1082, 202, 4110, 1684, 11124, 1556, 1012, 12, 4324, 16, 2293, 1769, 1082, 202, 4324, 18, 1289, 12, 9565, 18, 5662, 12, 6770, 16, 590, 10019, 202, 202, 97, 202, 202, 430, 261, 2039, 18, 14963, 12, 4712, 18, 12102, 21258, 18, 10492, 1435, 3719, 288, 1082, 202, 4110, 21258, 11124, 1556, 1012, 12, 4324, 16, 2293, 1769, 1082, 202, 4324, 18, 1289, 12, 9565, 18, 5662, 12, 6770, 16, 590, 10019, 202, 202, 97, 202, 202, 430, 261, 2011, 480, 1334, 597, 401, 4324, 18, 291, 1921, 10756, 288, 1082, 202, 2293, 18, 542, 1499, 12, 19834, 18, 3589, 67, 3297, 16, 1334, 1769, 1082, 202, 2293, 18, 542, 1499, 2932, 2039, 8185, 3113, 707, 1769, 1082, 202, 2293, 18, 542, 1499, 12, 2918, 18, 15487, 17430, 3297, 16, 590, 6862, 202, 18, 588, 1662, 12, 2918, 18, 15487, 17430, 3297, 10019, 1082, 202, 759, 2725, 326, 2478, 666, 2546, 25083, 202, 698, 95, 1082, 202, 2725, 2996, 7432, 12, 2293, 1769, 1082, 202, 97, 1082, 202, 14683, 261, 1964, 10556, 503, 425, 13, 288, 9506, 202, 759, 2660, 30, 225, 741, 732, 1608, 358, 12152, 82, 479, 518, 692, 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, 4382, 4229, 1954, 12, 1803, 3233, 2874, 16, 1082, 202, 2940, 18572, 590, 13, 288, 202, 202, 1803, 4229, 1334, 273, 394, 4382, 4229, 5621, 202, 202, 780, 707, 273, 590, 18, 588, 1662, 2932, 2039, 8863, 202, 202, 430, 261, 2039, 18, 14963, 12, 4712, 18, 12102, 18, 10492, 1435, 3719, 288, 1082, 202, 4110, 1684, 11124, 1556, 1012, 12, 4324, 16, 2293, 1769, 1082, 202, 4324, 18, 1289, 12, 9565, 18, 5662, 12, 6770, 16, 590, 10019, 202, 202, 97, 202, 202, 430, 261, 2039, 18, 14963, 12, 4712, 18, 12102, 21258, 18, 10492, 1435, 3719, 288, 1082, 202, 4110, 21258, 11124, 1556, 1012, 12, 4324, 16, 2293, 1769, 1082, 202, 4324, 18, 1289, 2 ]
public org.quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityID value = new org.quickfix.field.UnderlyingSecurityID();
public quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { quickfix.field.UnderlyingSecurityID value = new quickfix.field.UnderlyingSecurityID();
public org.quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityID value = new org.quickfix.field.UnderlyingSecurityID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderStatusRequest.java/clean/src/java/src/quickfix/fix44/OrderStatusRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 734, 10833, 765, 6291, 4368, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 734, 10833, 765, 6291, 4368, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 734, 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 ]
field_1_flag = LittleEndian.getShort(data, 0 + offset);
field_1_flag = in.readShort();
protected void fillFields(byte [] data, short size, int offset) { field_1_flag = LittleEndian.getShort(data, 0 + offset); }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/ada69333b277a95ccfc608144b991cfd8d1a9d37/UseSelFSRecord.java/buggy/src/java/org/apache/poi/hssf/record/UseSelFSRecord.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3636, 2314, 12, 7229, 5378, 501, 16, 3025, 963, 16, 509, 1384, 13, 565, 288, 3639, 652, 67, 21, 67, 6420, 273, 316, 18, 896, 4897, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 918, 3636, 2314, 12, 7229, 5378, 501, 16, 3025, 963, 16, 509, 1384, 13, 565, 288, 3639, 652, 67, 21, 67, 6420, 273, 316, 18, 896, 4897, 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 ]
SimpleToadletServer server = new SimpleToadletServer(1111, "127.0.0.1", "127.0.0.1", new TempBucketFactory(new FilenameGenerator(new DummyRandomSource(), true, new File("temp-test"), "test-temp-")), "aqua");
SimpleToadletServer server = new SimpleToadletServer(1111, "127.0.0.1", "127.0.0.1", new TempBucketFactory(new FilenameGenerator(new DummyRandomSource(), true, new File("temp-test"), "test-temp-")), "aqua", null);
public static void main(String[] args) throws IOException, IntervalParseException { File logDir = new File("logs-toadlettest"); logDir.mkdir(); FileLoggerHook logger = new FileLoggerHook(true, new File(logDir, "test-1111").getAbsolutePath(), "d (c, t, p): m", "MMM dd, yyyy HH:mm:ss:SSS", Logger.MINOR, false, true, 1024*1024*1024 /* 1GB of old compressed logfiles */); logger.setInterval("5MINUTES"); Logger.setupChain(); Logger.globalSetThreshold(Logger.MINOR); Logger.globalAddHook(logger); logger.start(); SimpleToadletServer server = new SimpleToadletServer(1111, "127.0.0.1", "127.0.0.1", new TempBucketFactory(new FilenameGenerator(new DummyRandomSource(), true, new File("temp-test"), "test-temp-")), "aqua"); server.register(new TrivialToadlet(null), "", true); server.start(); System.out.println("Bound to port 1111."); while(true) { try { Thread.sleep(100000); } catch (InterruptedException e) { // Ignore } } }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/7b992ac7b46f4eaaf97e9e0e1b7e5c18e1c89deb/SimpleToadletServer.java/clean/src/freenet/clients/http/SimpleToadletServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 16, 10803, 13047, 288, 3639, 1387, 31101, 273, 394, 1387, 2932, 10011, 17, 869, 361, 1810, 3813, 8863, 3639, 31101, 18, 26686, 5621, 3639, 1387, 3328, 5394, 1194, 273, 394, 1387, 3328, 5394, 12, 3767, 16, 394, 1387, 12, 1330, 1621, 16, 315, 3813, 17, 23680, 20387, 588, 10368, 743, 9334, 1850, 202, 202, 6, 72, 261, 71, 16, 268, 16, 293, 4672, 312, 3113, 315, 8206, 49, 6957, 16, 24025, 20842, 30, 7020, 30, 1049, 30, 1260, 55, 3113, 4242, 18, 6236, 916, 16, 629, 16, 638, 16, 1850, 202, 202, 2163, 3247, 14, 2163, 3247, 14, 2163, 3247, 1748, 404, 5887, 434, 1592, 8968, 613, 2354, 1195, 1769, 3639, 1194, 18, 542, 4006, 2932, 25, 6236, 24080, 8863, 3639, 4242, 18, 8401, 3893, 5621, 3639, 4242, 18, 6347, 694, 7614, 12, 3328, 18, 6236, 916, 1769, 3639, 4242, 18, 6347, 986, 5394, 12, 4901, 1769, 3639, 1194, 18, 1937, 5621, 202, 202, 5784, 774, 361, 1810, 2081, 1438, 273, 394, 4477, 774, 361, 1810, 2081, 12, 23680, 16, 315, 14260, 18, 20, 18, 20, 18, 21, 3113, 315, 14260, 18, 20, 18, 20, 18, 21, 3113, 394, 16380, 4103, 1733, 12, 2704, 16671, 3908, 12, 2704, 28622, 8529, 1830, 9334, 638, 16, 394, 1387, 2932, 5814, 17, 3813, 6, 3631, 315, 3813, 17, 5814, 17, 7923, 3631, 315, 69, 372, 69, 8863, 202, 202, 3567, 18, 4861, 12, 2704, 840, 20109, 774, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 16, 10803, 13047, 288, 3639, 1387, 31101, 273, 394, 1387, 2932, 10011, 17, 869, 361, 1810, 3813, 8863, 3639, 31101, 18, 26686, 5621, 3639, 1387, 3328, 5394, 1194, 273, 394, 1387, 3328, 5394, 12, 3767, 16, 394, 1387, 12, 1330, 1621, 16, 315, 3813, 17, 23680, 20387, 588, 10368, 743, 9334, 1850, 202, 202, 6, 72, 261, 71, 16, 268, 16, 293, 4672, 312, 3113, 315, 8206, 49, 6957, 16, 24025, 20842, 30, 7020, 30, 1049, 30, 1260, 55, 3113, 4242, 18, 6236, 916, 16, 629, 16, 638, 16, 1850, 202, 202, 2163, 3247, 14, 2163, 3247, 14, 2163, 3247, 1748, 404, 5887, 434, 1592, 8968, 2 ]
int flags = Modifiers.PARAM; if ("def".equals(token)) { nextToken(); flags |= Modifiers.DEF; }
int flags = Modifiers.PARAM; if ("def".equals(token)) { nextToken(); flags |= Modifiers.DEF; }
protected Type parseMetaMethod() { locals = new Scope(); try { nextToken(); Symbol[] smbls = null; //System.out.println("parse meta method " + token); if ("[".equals(token)) { Vector syms = new Vector(); do { nextToken(); if ("]".equals(token)) break; assert token.startsWith("?"); Symbol s = getTVar(token, owner); if (s == Symbol.NONE) return defaultType; nextToken(); //System.out.println("new var " + s + ", " + token); if (token.equals("<")) { nextToken(); s.setInfo(parseType(), parser.phaseId); } syms.add(s); } while (token.equals(",")); assert "]".equals(token); nextToken(); smbls = (Symbol[])syms.toArray(new Symbol[syms.size()]); } if ("(".equals(token)) { int i = 0; Vector params = new Vector(); do { nextToken(); if (")".equals(token)) break; int flags = Modifiers.PARAM; if ("def".equals(token)) { nextToken(); flags |= Modifiers.DEF; } params.add(new TermSymbol( Position.NOPOS, Name.fromString("x" + (i++)), owner, flags).setInfo(parseType(), parser.phaseId)); //System.out.println(" + " + token); } while (token.equals(",")); assert ")".equals(token); nextToken(); //System.out.println("+++ method " + token); Type restpe = parseType(); assert ";".equals(token); if (smbls == null) return Type.MethodType( (Symbol[])params.toArray(new Symbol[params.size()]), restpe); else return Type.PolyType( smbls, Type.MethodType( (Symbol[])params.toArray(new Symbol[params.size()]), restpe)); } else { Type res = parseType(); assert ";".equals(token); if (smbls == null) return Type.PolyType(Symbol.EMPTY_ARRAY, res); else return Type.PolyType(smbls, res); } } catch (NoSuchElementException e) { return defaultType; } finally { locals = null; } }
10130 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10130/964d33ca593138a52648af5b10f0fb7a9ea7aceb/AttributeParser.java/buggy/sources/scalac/symtab/classfile/AttributeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 1412, 1109, 2781, 1305, 1435, 288, 5411, 8985, 273, 394, 5468, 5621, 5411, 775, 288, 7734, 9617, 5621, 7734, 8565, 8526, 272, 1627, 3251, 273, 446, 31, 7734, 368, 3163, 18, 659, 18, 8222, 2932, 2670, 2191, 707, 315, 397, 1147, 1769, 7734, 309, 7566, 9614, 18, 14963, 12, 2316, 3719, 288, 10792, 5589, 24367, 273, 394, 5589, 5621, 10792, 741, 288, 13491, 9617, 5621, 13491, 309, 7566, 4279, 18, 14963, 12, 2316, 3719, 18701, 898, 31, 13491, 1815, 1147, 18, 17514, 1190, 2932, 7225, 1769, 13491, 8565, 272, 273, 3181, 1537, 12, 2316, 16, 3410, 1769, 13491, 309, 261, 87, 422, 8565, 18, 9826, 13, 18701, 327, 805, 559, 31, 13491, 9617, 5621, 13491, 368, 3163, 18, 659, 18, 8222, 2932, 2704, 569, 315, 397, 272, 397, 3104, 315, 397, 1147, 1769, 13491, 309, 261, 2316, 18, 14963, 2932, 32, 6, 3719, 288, 18701, 9617, 5621, 18701, 272, 18, 542, 966, 12, 2670, 559, 9334, 2082, 18, 13961, 548, 1769, 13491, 289, 13491, 24367, 18, 1289, 12, 87, 1769, 10792, 289, 1323, 261, 2316, 18, 14963, 2932, 16, 7923, 1769, 10792, 1815, 9870, 18, 14963, 12, 2316, 1769, 10792, 9617, 5621, 10792, 272, 1627, 3251, 273, 261, 5335, 63, 5717, 9009, 959, 18, 31447, 12, 2704, 8565, 63, 9009, 959, 18, 1467, 1435, 19226, 7734, 289, 7734, 309, 7566, 2932, 18, 14963, 12, 2316, 3719, 288, 10792, 509, 277, 273, 374, 31, 10792, 5589, 859, 273, 394, 5589, 5621, 10792, 741, 288, 13491, 9617, 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, 4750, 1412, 1109, 2781, 1305, 1435, 288, 5411, 8985, 273, 394, 5468, 5621, 5411, 775, 288, 7734, 9617, 5621, 7734, 8565, 8526, 272, 1627, 3251, 273, 446, 31, 7734, 368, 3163, 18, 659, 18, 8222, 2932, 2670, 2191, 707, 315, 397, 1147, 1769, 7734, 309, 7566, 9614, 18, 14963, 12, 2316, 3719, 288, 10792, 5589, 24367, 273, 394, 5589, 5621, 10792, 741, 288, 13491, 9617, 5621, 13491, 309, 7566, 4279, 18, 14963, 12, 2316, 3719, 18701, 898, 31, 13491, 1815, 1147, 18, 17514, 1190, 2932, 7225, 1769, 13491, 8565, 272, 273, 3181, 1537, 12, 2316, 16, 3410, 1769, 13491, 309, 261, 87, 422, 8565, 18, 9826, 13, 18701, 327, 805, 559, 31, 13491, 9617, 5621, 13491, 368, 3163, 2 ]
List values = getPropertyValues(prop_token);
List values = getPropertyValues(propToken);
protected void firePropertyValueChanged(String prop_token, int index, Object old_value) { // Get the new value of the changed property. List values = getPropertyValues(prop_token); Object new_value = values.get(index); if (new_value instanceof ConfigElementPointer) { new_value = ((ConfigElementPointer)new_value).getTarget(); } // If the value did not actually change, then do not fire the change // event. if ( ! old_value.equals(new_value) ) { ConfigElementEvent evt = null; Object[] listeners = listenerList.getListenerList(); for (int i=listeners.length-2; i>=0; i-=2) { if (listeners[i] == ConfigElementListener.class) { if (evt == null) { evt = new ConfigElementEvent(this, prop_token, index, old_value); } ((ConfigElementListener)listeners[i+1]).propertyValueChanged(evt); } } } }
7933 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7933/f9aac3be4f9e99aff0002d0cca791c2c8ee9a20c/ConfigElement.java/buggy/modules/jackal/config/org/vrjuggler/jccl/config/ConfigElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 918, 4452, 16107, 5033, 12, 780, 2270, 67, 2316, 16, 509, 770, 16, 4766, 6647, 1033, 1592, 67, 1132, 13, 282, 288, 1377, 368, 968, 326, 394, 460, 434, 326, 3550, 1272, 18, 1377, 987, 924, 273, 3911, 1972, 12, 5986, 1345, 1769, 1377, 1033, 394, 67, 1132, 273, 924, 18, 588, 12, 1615, 1769, 5411, 309, 261, 2704, 67, 1132, 1276, 1903, 1046, 4926, 13, 1377, 288, 540, 394, 67, 1132, 273, 14015, 809, 1046, 4926, 13, 2704, 67, 1132, 2934, 588, 2326, 5621, 1377, 289, 1377, 368, 971, 326, 460, 5061, 486, 6013, 2549, 16, 1508, 741, 486, 4452, 326, 2549, 1377, 368, 871, 18, 1377, 309, 261, 401, 1592, 67, 1132, 18, 14963, 12, 2704, 67, 1132, 13, 262, 1377, 288, 540, 1903, 1046, 1133, 6324, 273, 446, 31, 540, 1033, 8526, 4679, 273, 2991, 682, 18, 588, 2223, 682, 5621, 540, 364, 261, 474, 277, 33, 16072, 18, 2469, 17, 22, 31, 277, 34, 33, 20, 31, 277, 17, 33, 22, 13, 540, 288, 5411, 309, 261, 16072, 63, 77, 65, 422, 1903, 1046, 2223, 18, 1106, 13, 5411, 288, 9079, 309, 261, 73, 11734, 422, 446, 13, 9079, 288, 5375, 6324, 273, 394, 1903, 1046, 1133, 12, 2211, 16, 2270, 67, 2316, 16, 770, 16, 4766, 9079, 1592, 67, 1132, 1769, 9079, 289, 9079, 14015, 809, 1046, 2223, 13, 16072, 63, 77, 15, 21, 65, 2934, 4468, 620, 5033, 12, 73, 11734, 1769, 5411, 289, 540, 289, 1377, 289, 282, 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, 4750, 918, 4452, 16107, 5033, 12, 780, 2270, 67, 2316, 16, 509, 770, 16, 4766, 6647, 1033, 1592, 67, 1132, 13, 282, 288, 1377, 368, 968, 326, 394, 460, 434, 326, 3550, 1272, 18, 1377, 987, 924, 273, 3911, 1972, 12, 5986, 1345, 1769, 1377, 1033, 394, 67, 1132, 273, 924, 18, 588, 12, 1615, 1769, 5411, 309, 261, 2704, 67, 1132, 1276, 1903, 1046, 4926, 13, 1377, 288, 540, 394, 67, 1132, 273, 14015, 809, 1046, 4926, 13, 2704, 67, 1132, 2934, 588, 2326, 5621, 1377, 289, 1377, 368, 971, 326, 460, 5061, 486, 6013, 2549, 16, 1508, 741, 486, 4452, 326, 2549, 1377, 368, 871, 18, 1377, 309, 261, 401, 1592, 67, 1132, 18, 14963, 12, 2 ]
eDynamicSet( eFeature, newValue );
super.eSet( featureID, newValue );
public void eSet( EStructuralFeature eFeature, Object newValue ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.DATA_POINT_COMPONENT__TYPE : setType( (DataPointComponentType) newValue ); return; case AttributePackage.DATA_POINT_COMPONENT__FORMAT_SPECIFIER : setFormatSpecifier( (FormatSpecifier) newValue ); return; } eDynamicSet( eFeature, newValue ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/DataPointComponentImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/DataPointComponentImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20199, 12, 512, 14372, 4595, 425, 4595, 16, 1033, 6129, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 4883, 67, 8941, 67, 22922, 972, 2399, 294, 9506, 202, 542, 559, 12, 261, 751, 2148, 28116, 13, 6129, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 4883, 67, 8941, 67, 22922, 972, 7254, 67, 13847, 10591, 294, 9506, 202, 542, 1630, 21416, 12, 261, 1630, 21416, 13, 6129, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 694, 12, 425, 4595, 16, 6129, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20199, 12, 512, 14372, 4595, 425, 4595, 16, 1033, 6129, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 4883, 67, 8941, 67, 22922, 972, 2399, 294, 9506, 202, 542, 559, 12, 261, 751, 2148, 28116, 13, 6129, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 4883, 67, 8941, 67, 22922, 972, 7254, 67, 13847, 10591, 294, 9506, 202, 542, 1630, 21416, 12, 261, 1630, 21416, 13, 6129, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 694, 12, 425, 4595, 16, 6129, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100 ]
assertEquals("Test7_blah.txt", result);
assertEquals("Test7_originalName.txt", result);
public void testAntStyleParsing() { SimpleFilenameParser parser = new SimpleFilenameParser(); DefaultMessageAdapter adapter = new DefaultMessageAdapter("hello"); adapter.setProperty("foo", "bar"); adapter.setProperty(FileConnector.PROPERTY_FILENAME, "blah"); String result = parser.getFilename(adapter, "Test1_${COUNT}.txt"); assertEquals("Test1_0.txt", result); result = parser.getFilename(adapter, "Test2_${DATE:yyMMdd}.txt"); assertEquals(16, result.length()); result = parser.getFilename(adapter, "Test3_${DATE}.txt"); assertEquals(31, result.length()); result = parser.getFilename(adapter, "Test4_${SYSTIME}.txt"); assertFalse(result.equals("Test4_${SYSTIME}.txt")); result = parser.getFilename(adapter, "Test5_${UUID}.txt"); assertFalse(result.equals("Test5_${UUID}.txt")); result = parser.getFilename(adapter, "Test6_${COUNT}.txt"); assertEquals("Test6_1.txt", result); result = parser.getFilename(adapter, "Test7_${ORIGINALNAME}.txt"); assertEquals("Test7_blah.txt", result); result = parser.getFilename(adapter, "Test8_${foo}.txt"); assertEquals("Test8_bar.txt", result); result = parser.getFilename(adapter, "Test9_${xxx}.txt"); assertEquals("Test9_${xxx}.txt", result); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/ba2375ddd42c8e3be84abe679c90e77253717357/SimpleFilenameParserTestCase.java/buggy/transports/file/src/test/java/org/mule/test/providers/file/SimpleFilenameParserTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 14925, 2885, 13963, 1435, 565, 288, 3639, 4477, 5359, 2678, 2082, 273, 394, 4477, 5359, 2678, 5621, 3639, 2989, 1079, 4216, 4516, 273, 394, 2989, 1079, 4216, 2932, 23711, 8863, 3639, 4516, 18, 542, 1396, 2932, 11351, 3113, 315, 3215, 8863, 3639, 4516, 18, 542, 1396, 12, 812, 7487, 18, 9900, 67, 16080, 16, 315, 3083, 9795, 8863, 3639, 514, 563, 273, 2082, 18, 588, 5359, 12, 10204, 16, 315, 4709, 21, 67, 18498, 7240, 5496, 5830, 8863, 3639, 1815, 8867, 2932, 4709, 21, 67, 20, 18, 5830, 3113, 563, 1769, 3639, 563, 273, 2082, 18, 588, 5359, 12, 10204, 16, 315, 4709, 22, 67, 18498, 4594, 30, 6795, 8206, 449, 5496, 5830, 8863, 3639, 1815, 8867, 12, 2313, 16, 563, 18, 2469, 10663, 3639, 563, 273, 2082, 18, 588, 5359, 12, 10204, 16, 315, 4709, 23, 67, 18498, 4594, 5496, 5830, 8863, 3639, 1815, 8867, 12, 6938, 16, 563, 18, 2469, 10663, 3639, 563, 273, 2082, 18, 588, 5359, 12, 10204, 16, 315, 4709, 24, 67, 18498, 7474, 882, 3114, 5496, 5830, 8863, 3639, 1815, 8381, 12, 2088, 18, 14963, 2932, 4709, 24, 67, 18498, 7474, 882, 3114, 5496, 5830, 7923, 1769, 3639, 563, 273, 2082, 18, 588, 5359, 12, 10204, 16, 315, 4709, 25, 67, 18498, 5562, 5496, 5830, 8863, 3639, 1815, 8381, 12, 2088, 18, 14963, 2932, 4709, 25, 67, 18498, 5562, 5496, 5830, 7923, 1769, 3639, 563, 273, 2082, 18, 588, 5359, 12, 10204, 16, 315, 4709, 26, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 14925, 2885, 13963, 1435, 565, 288, 3639, 4477, 5359, 2678, 2082, 273, 394, 4477, 5359, 2678, 5621, 3639, 2989, 1079, 4216, 4516, 273, 394, 2989, 1079, 4216, 2932, 23711, 8863, 3639, 4516, 18, 542, 1396, 2932, 11351, 3113, 315, 3215, 8863, 3639, 4516, 18, 542, 1396, 12, 812, 7487, 18, 9900, 67, 16080, 16, 315, 3083, 9795, 8863, 3639, 514, 563, 273, 2082, 18, 588, 5359, 12, 10204, 16, 315, 4709, 21, 67, 18498, 7240, 5496, 5830, 8863, 3639, 1815, 8867, 2932, 4709, 21, 67, 20, 18, 5830, 3113, 563, 1769, 3639, 563, 273, 2082, 18, 588, 5359, 12, 10204, 16, 315, 4709, 22, 67, 18498, 4594, 30, 6795, 8206, 449, 5496, 5830, 8863, 3639, 2 ]
if (len > NATIVE_THRESHOLD) { memcopy(VM_Magic.objectAsAddress(dst) + dstPos, VM_Magic.objectAsAddress(src) + srcPos, len);
if (len > (NATIVE_THRESHOLD>>1)) { memcopy(VM_Magic.objectAsAddress(dst) + (dstPos<<1), VM_Magic.objectAsAddress(src) + (srcPos<<1), len<<1);
static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int len) { VM_Magic.pragmaInline(); if (len > NATIVE_THRESHOLD) { memcopy(VM_Magic.objectAsAddress(dst) + dstPos, VM_Magic.objectAsAddress(src) + srcPos, len); } else { if ((srcPos & 0x3) == (dstPos & 0x3)) { // alignment is the same int byteStart = srcPos; int wordStart = (srcPos + 3) & ~0x3; int wordEnd = (srcPos + len) & ~0x3; int byteEnd = srcPos + len; int startDiff = wordStart - byteStart; int endDiff = byteEnd - wordEnd; int wordLen = wordEnd - wordStart; if (startDiff == 3) { dst[dstPos++] = src[srcPos++]; dst[dstPos++] = src[srcPos++]; dst[dstPos++] = src[srcPos++]; } else if (startDiff == 2) { dst[dstPos++] = src[srcPos++]; dst[dstPos++] = src[srcPos++]; } else if (startDiff == 1) { dst[dstPos++] = src[srcPos++]; } internalAligned32Copy(VM_Magic.objectAsAddress(dst) + dstPos, VM_Magic.objectAsAddress(src) + srcPos, wordLen); srcPos += wordLen; dstPos += wordLen; if (endDiff == 3) { dst[dstPos++] = src[srcPos++]; dst[dstPos++] = src[srcPos++]; dst[dstPos++] = src[srcPos++]; } else if (endDiff == 2) { dst[dstPos++] = src[srcPos++]; dst[dstPos++] = src[srcPos++]; } else if (endDiff == 1) { dst[dstPos++] = src[srcPos++]; } } else { for (int i=0; i<len; i++) { dst[dstPos+i] = src[srcPos+i]; } } } }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/b09fd073fbb2b0118a623dc0fb0e36b4f044e392/VM_Memory.java/buggy/rvm/src/vm/runtime/VM_Memory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 8817, 12, 7229, 8526, 1705, 16, 509, 1705, 1616, 16, 1160, 8526, 3046, 16, 509, 3046, 1616, 16, 509, 562, 13, 288, 565, 8251, 67, 19289, 18, 683, 9454, 10870, 5621, 565, 309, 261, 1897, 405, 423, 12992, 67, 23840, 13, 288, 1377, 1663, 3530, 12, 7397, 67, 19289, 18, 1612, 1463, 1887, 12, 11057, 13, 397, 3046, 1616, 16, 3196, 1377, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 4816, 13, 397, 1705, 1616, 16, 3196, 1377, 562, 1769, 565, 289, 469, 288, 1377, 309, 14015, 4816, 1616, 473, 374, 92, 23, 13, 422, 261, 11057, 1616, 473, 374, 92, 23, 3719, 288, 202, 759, 8710, 353, 326, 1967, 202, 474, 1160, 1685, 273, 1705, 1616, 31, 202, 474, 2076, 1685, 273, 261, 4816, 1616, 397, 890, 13, 473, 4871, 20, 92, 23, 31, 202, 474, 2076, 1638, 273, 261, 4816, 1616, 397, 562, 13, 473, 4871, 20, 92, 23, 31, 202, 474, 1160, 1638, 273, 1705, 1616, 397, 562, 31, 202, 474, 787, 5938, 273, 2076, 1685, 300, 1160, 1685, 31, 202, 474, 679, 5938, 273, 1160, 1638, 300, 2076, 1638, 31, 202, 474, 2076, 2891, 273, 2076, 1638, 300, 2076, 1685, 31, 202, 430, 261, 1937, 5938, 422, 890, 13, 288, 202, 225, 3046, 63, 11057, 1616, 9904, 65, 273, 1705, 63, 4816, 1616, 9904, 15533, 202, 225, 3046, 63, 11057, 1616, 9904, 65, 273, 1705, 63, 4816, 1616, 9904, 15533, 202, 225, 3046, 63, 11057, 1616, 9904, 65, 273, 1705, 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, 760, 918, 8817, 12, 7229, 8526, 1705, 16, 509, 1705, 1616, 16, 1160, 8526, 3046, 16, 509, 3046, 1616, 16, 509, 562, 13, 288, 565, 8251, 67, 19289, 18, 683, 9454, 10870, 5621, 565, 309, 261, 1897, 405, 423, 12992, 67, 23840, 13, 288, 1377, 1663, 3530, 12, 7397, 67, 19289, 18, 1612, 1463, 1887, 12, 11057, 13, 397, 3046, 1616, 16, 3196, 1377, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 4816, 13, 397, 1705, 1616, 16, 3196, 1377, 562, 1769, 565, 289, 469, 288, 1377, 309, 14015, 4816, 1616, 473, 374, 92, 23, 13, 422, 261, 11057, 1616, 473, 374, 92, 23, 3719, 288, 202, 759, 8710, 353, 326, 1967, 202, 474, 1160, 1685, 273, 1705, 2 ]
return (ClassInfo) m_repository.get(className);
return info;
public ClassInfo getClassInfo(final String className) { ClassInfo info = (ClassInfo) m_repository.get(className); if (info == null) { return checkParentClassRepository(className, (ClassLoader) m_loaderRef.get()); } return (ClassInfo) m_repository.get(className); }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/b828990c07063cdd2f80d43b5ca4b651a929b9b8/AsmClassInfoRepository.java/clean/aspectwerkz3/src/main/org/codehaus/aspectwerkz/reflect/impl/asm/AsmClassInfoRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19010, 2900, 966, 12, 6385, 514, 2658, 13, 288, 3639, 19010, 1123, 273, 261, 19455, 13, 312, 67, 9071, 18, 588, 12, 12434, 1769, 3639, 309, 261, 1376, 422, 446, 13, 288, 5411, 327, 866, 3054, 797, 3305, 12, 12434, 16, 261, 7805, 13, 312, 67, 6714, 1957, 18, 588, 10663, 3639, 289, 3639, 327, 1123, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19010, 2900, 966, 12, 6385, 514, 2658, 13, 288, 3639, 19010, 1123, 273, 261, 19455, 13, 312, 67, 9071, 18, 588, 12, 12434, 1769, 3639, 309, 261, 1376, 422, 446, 13, 288, 5411, 327, 866, 3054, 797, 3305, 12, 12434, 16, 261, 7805, 13, 312, 67, 6714, 1957, 18, 588, 10663, 3639, 289, 3639, 327, 1123, 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 ]
case LDAPTransformer.STATE_INSIDE_ATTRIBUTE_ELEMENT:
case LDAPTransformer.STATE_INSIDE_ATTRIBUTE_ELEMENT :
protected void endAttributeElement() { switch (current_state) { case LDAPTransformer.STATE_INSIDE_ATTRIBUTE_ELEMENT: getCurrentQuery().addAttrList(current_value.toString()); current_state = getCurrentQuery().toDo; break; default: throwIllegalStateException("Not expecting a end attribute element"); } }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/52ffdd8b732294554bcca0d4e0574ce6a20c35bc/LDAPTransformer.java/buggy/src/blocks/naming/java/org/apache/cocoon/transformation/LDAPTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 679, 1499, 1046, 1435, 288, 3639, 1620, 261, 2972, 67, 2019, 13, 288, 5411, 648, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 11616, 67, 10976, 294, 7734, 5175, 1138, 7675, 1289, 3843, 682, 12, 2972, 67, 1132, 18, 10492, 10663, 7734, 783, 67, 2019, 273, 5175, 1138, 7675, 869, 3244, 31, 7734, 898, 31, 5411, 805, 30, 7734, 604, 12195, 5060, 2932, 1248, 17012, 279, 679, 1566, 930, 8863, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 679, 1499, 1046, 1435, 288, 3639, 1620, 261, 2972, 67, 2019, 13, 288, 5411, 648, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 11616, 67, 10976, 294, 7734, 5175, 1138, 7675, 1289, 3843, 682, 12, 2972, 67, 1132, 18, 10492, 10663, 7734, 783, 67, 2019, 273, 5175, 1138, 7675, 869, 3244, 31, 7734, 898, 31, 5411, 805, 30, 7734, 604, 12195, 5060, 2932, 1248, 17012, 279, 679, 1566, 930, 8863, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case 47: break;
case 50: break;
public Yytoken yylex() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS; int [] zzRowMapL = ZZ_ROWMAP; int [] zzAttrL = ZZ_ATTRIBUTE; while (true) { zzMarkedPosL = zzMarkedPos; zzAction = -1; zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; zzState = zzLexicalState; zzForAction: { while (true) { if (zzCurrentPosL < zzEndReadL) zzInput = zzBufferL[zzCurrentPosL++]; else if (zzAtEOF) { zzInput = YYEOF; break zzForAction; } else { // store back cached positions zzCurrentPos = zzCurrentPosL; zzMarkedPos = zzMarkedPosL; boolean eof = zzRefill(); // get translated positions and possibly new buffer zzCurrentPosL = zzCurrentPos; zzMarkedPosL = zzMarkedPos; zzBufferL = zzBuffer; zzEndReadL = zzEndRead; if (eof) { zzInput = YYEOF; break zzForAction; } else { zzInput = zzBufferL[zzCurrentPosL++]; } } int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; if (zzNext == -1) break zzForAction; zzState = zzNext; int zzAttributes = zzAttrL[zzState]; if ( (zzAttributes & 1) == 1 ) { zzAction = zzState; zzMarkedPosL = zzCurrentPosL; if ( (zzAttributes & 8) == 8 ) break zzForAction; } } } // store back cached position zzMarkedPos = zzMarkedPosL; switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { case 23: { // This is horrible. However it seems that there is no other way to do it with either jflex or CUP, as {URL} cannot be an unambiguous token :( String s = yytext(); if(debug) log("Recognized URL: "+s); DecodedStringThingy dst = new DecodedStringThingy(s); if(!dst.url) { throw new IllegalStateException("parsing url().. isn't a url()"); } if(dst.suffix.length() > 0) { yypushback(dst.suffix.length()); dst.suffix = ""; } s = dst.data; if(debug) log("URL now: "+s); try { s = processURL(s); dst.data = s; if(s == null || s.equals("")) { if(debug) log("URL invalid"); w.write("url()"); } else { s = dst.toString(); if(debug) log("Writing: "+s); w.write(s); } } catch (CommentException e) { w.write("/* "+commentEncode(e.getMessage())+" */"); } } case 31: break; case 18: { String s = yytext(); w.write(s); if(debug) log("Matched unicode: "+s); } case 32: break; case 8: { String s = yytext(); w.write(s); if(debug) log("Matched close braces: "+s); } case 33: break; case 22: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 34: break; case 16: { String s = yytext(); w.write(s); if(debug) log("Matched ~=: "+s); } case 35: break; case 12: { String s = yytext(); if(debug) log("Matched string: "+s); if(paranoidStringCheck && s.indexOf(':') != -1) { w.write("/* Deleted disallowed string */"); log("Deleted disallowed string: "+s); } else { w.write(s); } } case 36: break; case 25: { String s = yytext(); w.write(s); if(debug) log("Matched @page: "+s); } case 37: break; case 13: { String s = yytext(); w.write(s); if(debug) log("Matched number: "+s); } case 38: break; case 1: { String s = yytext(); char c = s.charAt(0); log("Matched anything: "+yytext()+" - ignoring"); w.write("/* ignored unmatched char: "+c+" */"); // single char cannot break out of comment } case 39: break; case 6: { String s = yytext(); w.write(s); if(debug) log("Matched semicolon: "+s); } case 40: break; case 20: { String s = yytext(); if(debug) log("Got hexcolor: "+s); w.write(s); } case 41: break; case 7: { String s = yytext(); w.write(s); if(debug) log("Matched open braces: "+s); } case 42: break; case 26: { String s = yytext(); s = s.substring("@media".length()).trim(); w.write("@media "+s+ ' '); if(debug) log("Matched @media: "+s); } case 43: break; case 2: { String s = yytext(); w.write(s); if(debug) log("Matched ident: "+s); } case 44: break; case 24: { String s = yytext(); w.write(s); if(debug) log("Matched unicode range: "+s); } case 45: break; case 28: { String s = yytext(); w.write(s); if(debug) log("Matched @font-face: "+s); } case 46: break; case 19: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 47: break; case 9: { String s = yytext(); if(s.startsWith("url")) throwError("Invalid contents of url()"); w.write(s); if(debug) log("Matched function start: "+s); } case 48: break; case 27: { String s = yytext(); if(debug) log("Found @import: "+s); s = s.substring("@import".length()); s = s.trim(); DecodedStringThingy dst = new DecodedStringThingy(s); s = dst.data; if(debug) log("URL: "+s); try { s = processImportURL(s); dst.data = s; if(debug) log("Processed URL: "+s); if(dst.quote == ' ') dst.quote = '\"'; if (!(s == null || s.equals(""))) { if(debug) log("URL now: "+s); s = "@import "+dst.toString(); if(debug) log("Writing: "+s); w.write(s); } else if(debug) log("Dropped @import"); } catch (CommentException e) { w.write("/* " + commentEncode(e.getMessage()) + " */"); } } case 49: break; case 3: { String s = yytext(); w.write(s); if(debug) log("Matched whitespace: "+s); } case 50: break; case 29: { String s = yytext(); w.write(s); if(debug) log("Matched important: "+s); } case 51: break; case 21: { String s = yytext(); StringBuffer sb = new StringBuffer(s.length()); sb.append("/* "); boolean inPrefix = true; for(int i=2;i<s.length()-2;i++) { char c = s.charAt(i); if(inPrefix && Character.isWhitespace(c)) { continue; } inPrefix = false; if(Character.isDigit(c) || Character.isWhitespace(c) || Character.isLetter(c) || c == '.' || c == '_' || c == '-') { // No @, no !, etc; IE has been known to do things with comments // in CSS, and other browsers may too sb.append(c); } } while(Character.isWhitespace(sb.charAt(sb.length()-1))) sb.deleteCharAt(sb.length()-1); sb.append(" */"); w.write(sb.toString()); if(debug) log("Matched comment: "+s+" -> "+sb.toString()); } case 52: break; case 15: { if(!deleteErrors) { throwError("Unknown @identifier "+yytext()); } else { String s = yytext(); if(debug) log("Discarded identifier: "+s); // Ignore } } case 53: break; case 11: { String s = yytext(); w.write(s); if(debug) log("Matched measurement: "+s); } case 54: break; case 17: { String s = yytext(); w.write(s); if(debug) log("Matched |=: "+s); } case 55: break; case 30: { String s = yytext(); detectedCharset = s; if(debug) log("Matched and ignoring charset: "+s); // Ignore } case 56: break; case 10: { if(postBadImportFlag) { // Ignore postBadImportFlag = false; if(debug) log("Ignoring mediums list because after bad import: "+ yytext()); } else { String s = yytext(); w.write(s); if(debug) log("Matched and passing on mediums list: "+s); } } case 57: break; case 4: { String s = yytext(); w.write(s); if(debug) log("Matched single char: "+s); } case 58: break; case 14: { String s = yytext(); w.write(s); if(debug) log("Matched #name: "+s); } case 59: break; case 5: { String s = yytext(); w.write(s); if(debug) log("Matched function end: "+s); } case 60: break; default: if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { zzAtEOF = true; return null; } else { zzScanError(ZZ_NO_MATCH); } } } }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/58e844dc77aa5d1ee9f4952f22f0f7b6b8469457/CSSTokenizerFilter.java/buggy/src/freenet/clients/http/filter/CSSTokenizerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1624, 93, 2316, 677, 1362, 92, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 11273, 1210, 31, 565, 509, 11273, 1803, 31, 565, 368, 3472, 1466, 30, 565, 509, 11273, 3935, 1616, 48, 31, 565, 509, 11273, 21486, 1616, 48, 31, 565, 509, 11273, 1638, 1994, 48, 273, 11273, 1638, 1994, 31, 565, 1149, 5378, 11273, 1892, 48, 273, 11273, 1892, 31, 565, 1149, 5378, 11273, 39, 863, 48, 273, 2285, 62, 67, 39, 8352, 31, 565, 509, 5378, 11273, 1429, 48, 273, 2285, 62, 67, 16596, 31, 565, 509, 5378, 11273, 1999, 863, 48, 273, 2285, 62, 67, 11226, 8352, 31, 565, 509, 5378, 11273, 3843, 48, 273, 2285, 62, 67, 11616, 31, 565, 1323, 261, 3767, 13, 288, 1377, 11273, 21486, 1616, 48, 273, 11273, 21486, 1616, 31, 1377, 11273, 1803, 273, 300, 21, 31, 1377, 11273, 3935, 1616, 48, 273, 11273, 3935, 1616, 273, 11273, 1685, 1994, 273, 11273, 21486, 1616, 48, 31, 3639, 11273, 1119, 273, 11273, 14756, 1706, 1119, 31, 1377, 11273, 1290, 1803, 30, 288, 3639, 1323, 261, 3767, 13, 288, 2868, 309, 261, 6378, 3935, 1616, 48, 411, 11273, 1638, 1994, 48, 13, 5411, 11273, 1210, 273, 11273, 1892, 48, 63, 6378, 3935, 1616, 48, 9904, 15533, 1850, 469, 309, 261, 6378, 861, 12706, 13, 288, 5411, 11273, 1210, 273, 1624, 61, 12706, 31, 5411, 898, 11273, 1290, 1803, 31, 1850, 289, 1850, 469, 288, 5411, 368, 1707, 1473, 3472, 6865, 5411, 11273, 3935, 1616, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1624, 93, 2316, 677, 1362, 92, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 11273, 1210, 31, 565, 509, 11273, 1803, 31, 565, 368, 3472, 1466, 30, 565, 509, 11273, 3935, 1616, 48, 31, 565, 509, 11273, 21486, 1616, 48, 31, 565, 509, 11273, 1638, 1994, 48, 273, 11273, 1638, 1994, 31, 565, 1149, 5378, 11273, 1892, 48, 273, 11273, 1892, 31, 565, 1149, 5378, 11273, 39, 863, 48, 273, 2285, 62, 67, 39, 8352, 31, 565, 509, 5378, 11273, 1429, 48, 273, 2285, 62, 67, 16596, 31, 565, 509, 5378, 11273, 1999, 863, 48, 273, 2285, 62, 67, 11226, 8352, 31, 565, 509, 5378, 11273, 3843, 48, 273, 2285, 62, 67, 11616, 31, 565, 2 ]
new MulticastReceiverThread().start();
receiverThread = new MulticastReceiverThread(); receiverThread.start();
public void activateOptions() { InetAddress addr = null; try { Class c = Class.forName(decoder); Object o = c.newInstance(); if (o instanceof Decoder) { this.decoderImpl = (Decoder) o; } } catch (ClassNotFoundException cnfe) { LogLog.warn("Unable to find decoder", cnfe); } catch (IllegalAccessException iae) { LogLog.warn("Could not construct decoder", iae); } catch (InstantiationException ie) { LogLog.warn("Could not construct decoder", ie); } try { addr = InetAddress.getByName(address); } catch (UnknownHostException uhe) { uhe.printStackTrace(); } try { socket = new MulticastSocket(port); socket.joinGroup(addr); new MulticastReceiverThread().start(); handlerThread = new MulticastHandlerThread(); handlerThread.start(); setActive(true); } catch (IOException ioe) { ioe.printStackTrace(); } }
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/437a2a9f957072af18835320b886c5fa565ea8d7/MulticastReceiver.java/buggy/src/java/org/apache/log4j/net/MulticastReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10235, 1320, 1435, 288, 565, 14218, 3091, 273, 446, 31, 565, 775, 288, 1377, 1659, 276, 273, 1659, 18, 1884, 461, 12, 21070, 1769, 1377, 1033, 320, 273, 276, 18, 2704, 1442, 5621, 1377, 309, 261, 83, 1276, 15138, 13, 288, 3639, 333, 18, 21070, 2828, 273, 261, 7975, 13, 320, 31, 1377, 289, 565, 289, 1044, 261, 797, 3990, 6227, 3030, 13, 288, 377, 202, 1343, 1343, 18, 8935, 2932, 3370, 358, 1104, 8320, 3113, 6227, 3030, 1769, 565, 289, 1044, 261, 12195, 9773, 30905, 13, 288, 377, 202, 1343, 1343, 18, 8935, 2932, 4445, 486, 4872, 8320, 3113, 30905, 1769, 565, 289, 1044, 261, 10675, 7072, 503, 9228, 13, 288, 377, 202, 1343, 1343, 18, 8935, 2932, 4445, 486, 4872, 8320, 3113, 9228, 1769, 565, 289, 565, 775, 288, 1377, 3091, 273, 14218, 18, 588, 5911, 12, 2867, 1769, 565, 289, 1044, 261, 4874, 29776, 582, 580, 13, 288, 1377, 582, 580, 18, 1188, 6332, 5621, 565, 289, 565, 775, 288, 1377, 2987, 273, 394, 7778, 12544, 4534, 12, 655, 1769, 1377, 2987, 18, 5701, 1114, 12, 4793, 1769, 1377, 5971, 3830, 273, 394, 7778, 12544, 12952, 3830, 5621, 5971, 3830, 18, 1937, 5621, 1377, 1838, 3830, 273, 394, 7778, 12544, 1503, 3830, 5621, 1377, 1838, 3830, 18, 1937, 5621, 1377, 20669, 12, 3767, 1769, 565, 289, 1044, 261, 14106, 10847, 13, 288, 1377, 10847, 18, 1188, 6332, 5621, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10235, 1320, 1435, 288, 565, 14218, 3091, 273, 446, 31, 565, 775, 288, 1377, 1659, 276, 273, 1659, 18, 1884, 461, 12, 21070, 1769, 1377, 1033, 320, 273, 276, 18, 2704, 1442, 5621, 1377, 309, 261, 83, 1276, 15138, 13, 288, 3639, 333, 18, 21070, 2828, 273, 261, 7975, 13, 320, 31, 1377, 289, 565, 289, 1044, 261, 797, 3990, 6227, 3030, 13, 288, 377, 202, 1343, 1343, 18, 8935, 2932, 3370, 358, 1104, 8320, 3113, 6227, 3030, 1769, 565, 289, 1044, 261, 12195, 9773, 30905, 13, 288, 377, 202, 1343, 1343, 18, 8935, 2932, 4445, 486, 4872, 8320, 3113, 30905, 1769, 565, 289, 1044, 261, 10675, 7072, 503, 9228, 13, 288, 377, 202, 1343, 1343, 2 ]
public void init( IWorkbench workbench, IStructuredSelection selection ) { // TODO Auto-generated method stub }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/5ff652fd83c8ea5a8c067e89f8bca825e5fa73fd/NewReportTemplateWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui.rcp/src/org/eclipse/birt/report/designer/ui/internal/rcp/wizards/NewReportTemplateWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 467, 2421, 22144, 1440, 22144, 16, 467, 30733, 6233, 4421, 262, 202, 95, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 467, 2421, 22144, 1440, 22144, 16, 467, 30733, 6233, 4421, 262, 202, 95, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (first && pack) { window.pack(); if (LookUtils.IS_OS_LINUX) { Dimension size = window.getSize(); size.height += 10; window.setSize(size); } }
if (first && pack) SwingUtil.pack(window);
public void showWindow() { if (first && pack) { window.pack(); // HACK - work around a layout issue where panel is slightly too short // this hack also appears in loci.visbio.view.DisplayWindow.repack() if (LookUtils.IS_OS_LINUX) { Dimension size = window.getSize(); size.height += 10; window.setSize(size); } } // arrange window in cascade formation Dimension ss = Toolkit.getDefaultToolkit().getScreenSize(); Rectangle scr = new Rectangle(0, 0, ss.width, ss.height); Rectangle win = window.getBounds(); boolean offscreen = !win.intersects(scr); if (first || offscreen) { gap += GAP; if (gap + win.width > scr.width || gap + win.height > scr.height) { gap = 0; } window.setLocation(gap, gap); } window.setVisible(true); }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/541846d970043d0d493ef71920701f21b228ba7d/WindowInfo.java/buggy/loci/visbio/WindowInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2405, 3829, 1435, 288, 565, 309, 261, 3645, 597, 2298, 13, 288, 1377, 2742, 18, 2920, 5621, 1377, 368, 670, 3649, 300, 1440, 6740, 279, 3511, 5672, 1625, 6594, 353, 21980, 4885, 3025, 1377, 368, 333, 11769, 2546, 14606, 316, 1515, 77, 18, 3516, 21010, 18, 1945, 18, 4236, 3829, 18, 266, 2920, 1435, 1377, 309, 261, 9794, 1989, 18, 5127, 67, 4618, 67, 20663, 57, 60, 13, 288, 3639, 13037, 963, 273, 2742, 18, 588, 1225, 5621, 3639, 963, 18, 4210, 1011, 1728, 31, 3639, 2742, 18, 542, 1225, 12, 1467, 1769, 1377, 289, 565, 289, 565, 368, 2454, 726, 2742, 316, 17599, 646, 367, 565, 13037, 5202, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 7956, 1225, 5621, 565, 13264, 11991, 273, 394, 13264, 12, 20, 16, 374, 16, 5202, 18, 2819, 16, 5202, 18, 4210, 1769, 565, 13264, 5657, 273, 2742, 18, 588, 5694, 5621, 565, 1250, 3397, 9252, 273, 401, 8082, 18, 12288, 87, 12, 24638, 1769, 565, 309, 261, 3645, 747, 3397, 9252, 13, 288, 1377, 9300, 1011, 611, 2203, 31, 1377, 309, 261, 14048, 397, 5657, 18, 2819, 405, 11991, 18, 2819, 747, 9300, 397, 5657, 18, 4210, 405, 11991, 18, 4210, 13, 288, 3639, 9300, 273, 374, 31, 1377, 289, 1377, 2742, 18, 542, 2735, 12, 14048, 16, 9300, 1769, 565, 289, 565, 2742, 18, 542, 6207, 12, 3767, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2405, 3829, 1435, 288, 565, 309, 261, 3645, 597, 2298, 13, 288, 1377, 2742, 18, 2920, 5621, 1377, 368, 670, 3649, 300, 1440, 6740, 279, 3511, 5672, 1625, 6594, 353, 21980, 4885, 3025, 1377, 368, 333, 11769, 2546, 14606, 316, 1515, 77, 18, 3516, 21010, 18, 1945, 18, 4236, 3829, 18, 266, 2920, 1435, 1377, 309, 261, 9794, 1989, 18, 5127, 67, 4618, 67, 20663, 57, 60, 13, 288, 3639, 13037, 963, 273, 2742, 18, 588, 1225, 5621, 3639, 963, 18, 4210, 1011, 1728, 31, 3639, 2742, 18, 542, 1225, 12, 1467, 1769, 1377, 289, 565, 289, 565, 368, 2454, 726, 2742, 316, 17599, 646, 367, 565, 13037, 5202, 273, 13288, 8691, 18, 588, 1868, 6364, 2 ]
metadataBucket = ah.getMetadata(actx, null, null, recursionLevel+1, true);
metadataBucket = ah.getMetadata(actx, null, recursionLevel+1, true);
private void handleMetadata() throws FetchException, MetadataParseException, ArchiveFailureException, ArchiveRestartException { while(true) { if(metadata.isSimpleManifest()) { String name; if(metaStrings.isEmpty()) name = null; else name = (String) metaStrings.removeFirst(); // Since metadata is a document, we just replace metadata here if(name == null) { metadata = metadata.getDefaultDocument(); if(metadata == null) throw new FetchException(FetchException.NOT_ENOUGH_METASTRINGS); } else { metadata = metadata.getDocument(name); thisKey = thisKey.pushMetaString(name); if(metadata == null) throw new FetchException(FetchException.NOT_IN_ARCHIVE); } continue; // loop } else if(metadata.isArchiveManifest()) { if(metaStrings.isEmpty() && ctx.returnZIPManifests) { // Just return the archive, whole. metadata.setSimpleRedirect(); continue; } // First we need the archive metadata. // Then parse it. // Then we may need to fetch something from inside the archive. ah = (ArchiveStoreContext) ctx.archiveManager.makeHandler(thisKey, metadata.getArchiveType(), false); // ah is set. This means we are currently handling an archive. Bucket metadataBucket; metadataBucket = ah.getMetadata(actx, null, null, recursionLevel+1, true); if(metadataBucket != null) { try { metadata = Metadata.construct(metadataBucket); } catch (IOException e) { // Bucket error? throw new FetchException(FetchException.BUCKET_ERROR, e); } } else { fetchArchive(); // will result in this function being called again return; } continue; } else if(metadata.isArchiveInternalRedirect()) { clientMetadata.mergeNoOverwrite(metadata.getClientMetadata()); // even splitfiles can have mime types! // Fetch it from the archive if(ah == null) throw new FetchException(FetchException.UNKNOWN_METADATA, "Archive redirect not in an archive"); if(metaStrings.isEmpty()) throw new FetchException(FetchException.NOT_ENOUGH_METASTRINGS); Bucket dataBucket = ah.get((String) metaStrings.removeFirst(), actx, null, null, recursionLevel+1, true); if(dataBucket != null) { // Return the data onSuccess(new FetchResult(this.clientMetadata, dataBucket)); return; } else { // Metadata cannot contain pointers to files which don't exist. // We enforce this in ArchiveHandler. // Therefore, the archive needs to be fetched. fetchArchive(); // Will call back into this function when it has been fetched. return; } } else if(metadata.isMultiLevelMetadata()) { // Fetch on a second SingleFileFetcher, like with archives. Metadata newMeta = (Metadata) metadata.clone(); metadata.setSimpleRedirect(); SingleFileFetcher f = new SingleFileFetcher(this, newMeta, new MultiLevelMetadataCallback(), ctx); f.handleMetadata(); return; } else if(metadata.isSingleFileRedirect()) { clientMetadata.mergeNoOverwrite(metadata.getClientMetadata()); // even splitfiles can have mime types! // FIXME implement implicit archive support // Simple redirect // Just create a new SingleFileFetcher // Which will then fetch the target URI, and call the rcd.success // Hopefully! FreenetURI uri = metadata.getSingleTarget(); ClientKey key; try { key = ClientKey.getBaseKey(uri); } catch (MalformedURLException e) { throw new FetchException(FetchException.INVALID_URI, e); } LinkedList newMetaStrings = uri.listMetaStrings(); // Move any new meta strings to beginning of our list of remaining meta strings while(!newMetaStrings.isEmpty()) { Object o = newMetaStrings.removeLast(); metaStrings.addFirst(o); } SingleFileFetcher f = new SingleFileFetcher(parent, rcb, clientMetadata, key, metaStrings, ctx, actx, maxRetries, recursionLevel, false, null); if(metadata.isCompressed()) { Compressor codec = Compressor.getCompressionAlgorithmByMetadataID(metadata.getCompressionCodec()); f.addDecompressor(codec); } f.schedule(); // All done! No longer our problem! return; } else if(metadata.isSplitfile()) { // FIXME implicit archive support clientMetadata.mergeNoOverwrite(metadata.getClientMetadata()); // even splitfiles can have mime types! // Splitfile (possibly compressed) if(metadata.isCompressed()) { Compressor codec = Compressor.getCompressionAlgorithmByMetadataID(metadata.getCompressionCodec()); addDecompressor(codec); } SplitFileFetcher sf = new SplitFileFetcher(metadata, rcb, parent, ctx, decompressors, clientMetadata, actx, recursionLevel); // SplitFile will now run. // Then it will return data to rcd. // We are now out of the loop. Yay! return; } else { Logger.error(this, "Don't know what to do with metadata: "+metadata); throw new FetchException(FetchException.UNKNOWN_METADATA); } } }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/d32229c02576d531c915059f111c468591f30e84/SingleFileFetcher.java/buggy/src/freenet/client/async/SingleFileFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1640, 2277, 1435, 1216, 8065, 503, 16, 6912, 13047, 16, 13124, 14389, 16, 13124, 15057, 503, 288, 202, 202, 17523, 12, 3767, 13, 288, 1082, 202, 430, 12, 4165, 18, 291, 5784, 9121, 10756, 288, 9506, 202, 780, 508, 31, 9506, 202, 430, 12, 3901, 7957, 18, 291, 1921, 10756, 6862, 202, 529, 273, 446, 31, 9506, 202, 12107, 6862, 202, 529, 273, 261, 780, 13, 2191, 7957, 18, 4479, 3759, 5621, 9506, 202, 759, 7897, 1982, 353, 279, 1668, 16, 732, 2537, 1453, 1982, 2674, 9506, 202, 430, 12, 529, 422, 446, 13, 288, 6862, 202, 4165, 273, 1982, 18, 588, 1868, 2519, 5621, 6862, 202, 430, 12, 4165, 422, 446, 13, 25083, 202, 12849, 394, 8065, 503, 12, 5005, 503, 18, 4400, 67, 1157, 26556, 16715, 67, 19294, 5804, 55, 1769, 9506, 202, 97, 469, 288, 6862, 202, 4165, 273, 1982, 18, 588, 2519, 12, 529, 1769, 6862, 202, 2211, 653, 273, 333, 653, 18, 6206, 2781, 780, 12, 529, 1769, 6862, 202, 430, 12, 4165, 422, 446, 13, 25083, 202, 12849, 394, 8065, 503, 12, 5005, 503, 18, 4400, 67, 706, 67, 10586, 5354, 1769, 9506, 202, 97, 9506, 202, 17143, 31, 368, 2798, 1082, 202, 97, 469, 309, 12, 4165, 18, 291, 7465, 9121, 10756, 288, 9506, 202, 430, 12, 3901, 7957, 18, 291, 1921, 1435, 597, 1103, 18, 2463, 13951, 9121, 87, 13, 288, 6862, 202, 759, 12526, 327, 326, 5052, 16, 7339, 18, 6862, 202, 4165, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1640, 2277, 1435, 1216, 8065, 503, 16, 6912, 13047, 16, 13124, 14389, 16, 13124, 15057, 503, 288, 202, 202, 17523, 12, 3767, 13, 288, 1082, 202, 430, 12, 4165, 18, 291, 5784, 9121, 10756, 288, 9506, 202, 780, 508, 31, 9506, 202, 430, 12, 3901, 7957, 18, 291, 1921, 10756, 6862, 202, 529, 273, 446, 31, 9506, 202, 12107, 6862, 202, 529, 273, 261, 780, 13, 2191, 7957, 18, 4479, 3759, 5621, 9506, 202, 759, 7897, 1982, 353, 279, 1668, 16, 732, 2537, 1453, 1982, 2674, 9506, 202, 430, 12, 529, 422, 446, 13, 288, 6862, 202, 4165, 273, 1982, 18, 588, 1868, 2519, 5621, 6862, 202, 430, 12, 4165, 422, 446, 13, 25083, 202, 2 ]
error(XSLTErrorResources.ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME, new Object[]{ piName });
transformer.getMsgMgr().warn( this, XSLTErrorResources.WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME, new Object[]{ Constants.ATTRNAME_NAME, piName }); return;
public void execute( TransformerImpl transformer) throws TransformerException { if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEvent(this); XPathContext xctxt = transformer.getXPathContext(); int sourceNode = xctxt.getCurrentNode(); String piName = m_name_atv.evaluate(xctxt, sourceNode, this); if (piName.equalsIgnoreCase("xml")) { error(XSLTErrorResources.ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML); //"processing-instruction name can not be 'xml'"); } // Only check if an avt was used (ie. this wasn't checked at compose time.) else if ((!m_name_atv.isSimple()) && (!isValidNCName(piName))) { error(XSLTErrorResources.ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME, new Object[]{ piName }); //"processing-instruction name must be a valid NCName: "+piName); } // Note the content model is: // <!ENTITY % instructions " // %char-instructions; // | xsl:processing-instruction // | xsl:comment // | xsl:element // | xsl:attribute // "> String data = transformer.transformToString(this); try { transformer.getResultTreeHandler().processingInstruction(piName, data); } catch(org.xml.sax.SAXException se) { throw new TransformerException(se); } if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEndEvent(this); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/18fa4318bc003a5458d08aaa955c4777a73e15cd/ElemPI.java/buggy/src/org/apache/xalan/templates/ElemPI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1836, 12, 1850, 11519, 2828, 8360, 13, 5411, 1216, 21684, 225, 288, 565, 309, 261, 8319, 2828, 18, 55, 67, 9394, 13, 1377, 8360, 18, 588, 3448, 1318, 7675, 12179, 3448, 1133, 12, 2211, 1769, 565, 10172, 1042, 25465, 273, 8360, 18, 588, 14124, 1042, 5621, 565, 509, 26799, 273, 25465, 18, 588, 3935, 907, 5621, 565, 514, 4790, 461, 273, 312, 67, 529, 67, 270, 90, 18, 21024, 12, 92, 20364, 16, 26799, 16, 333, 1769, 565, 309, 261, 7259, 461, 18, 14963, 5556, 2932, 2902, 6, 3719, 565, 288, 1377, 555, 12, 60, 4559, 56, 668, 3805, 18, 654, 67, 16560, 1360, 706, 3902, 27035, 67, 1985, 67, 39, 6856, 67, 5948, 67, 4201, 1769, 225, 368, 6, 10632, 17, 19116, 508, 848, 486, 506, 296, 2902, 4970, 1769, 565, 289, 3639, 368, 5098, 866, 309, 392, 1712, 88, 1703, 1399, 261, 1385, 18, 333, 14487, 1404, 5950, 622, 11458, 813, 12998, 565, 469, 309, 14015, 5, 81, 67, 529, 67, 270, 90, 18, 291, 5784, 10756, 597, 16051, 26810, 10346, 461, 12, 7259, 461, 20349, 565, 288, 1377, 555, 12, 60, 4559, 56, 668, 3805, 18, 654, 67, 16560, 1360, 706, 3902, 27035, 67, 4400, 5063, 67, 10346, 1985, 16, 5411, 394, 1033, 63, 7073, 4790, 461, 15549, 225, 368, 6, 10632, 17, 19116, 508, 1297, 506, 279, 923, 423, 39, 461, 30, 13773, 7259, 461, 1769, 565, 289, 565, 368, 3609, 326, 913, 938, 353, 30, 565, 368, 5719, 11101, 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, 1836, 12, 1850, 11519, 2828, 8360, 13, 5411, 1216, 21684, 225, 288, 565, 309, 261, 8319, 2828, 18, 55, 67, 9394, 13, 1377, 8360, 18, 588, 3448, 1318, 7675, 12179, 3448, 1133, 12, 2211, 1769, 565, 10172, 1042, 25465, 273, 8360, 18, 588, 14124, 1042, 5621, 565, 509, 26799, 273, 25465, 18, 588, 3935, 907, 5621, 565, 514, 4790, 461, 273, 312, 67, 529, 67, 270, 90, 18, 21024, 12, 92, 20364, 16, 26799, 16, 333, 1769, 565, 309, 261, 7259, 461, 18, 14963, 5556, 2932, 2902, 6, 3719, 565, 288, 1377, 555, 12, 60, 4559, 56, 668, 3805, 18, 654, 67, 16560, 1360, 706, 3902, 27035, 67, 1985, 67, 39, 6856, 67, 5948, 67, 4201, 2 ]
log( "<< TARGET FINISHED -- " + event.getTarget(), Project.MSG_DEBUG );
log("<< TARGET FINISHED -- " + event.getTarget(), Project.MSG_DEBUG);
public void targetFinished(BuildEvent event) { log( "<< TARGET FINISHED -- " + event.getTarget(), Project.MSG_DEBUG ); String time = formatTime(System.currentTimeMillis() - targetStartTime); log( event.getTarget() + ": duration " + time, Project.MSG_VERBOSE ); out.flush(); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/c6c232893c39257745a8f7a618bcdb5c59791cae/RecorderEntry.java/buggy/src/main/org/apache/tools/ant/taskdefs/RecorderEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1018, 10577, 12, 3116, 1133, 871, 13, 288, 3639, 613, 2932, 17685, 16964, 25768, 2056, 1493, 315, 397, 871, 18, 588, 2326, 9334, 5420, 18, 11210, 67, 9394, 1769, 540, 514, 813, 273, 740, 950, 12, 3163, 18, 2972, 28512, 1435, 300, 1018, 13649, 1769, 3639, 613, 12, 871, 18, 588, 2326, 1435, 397, 6398, 225, 3734, 315, 397, 813, 16, 5420, 18, 11210, 67, 21900, 11272, 3639, 596, 18, 11330, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1018, 10577, 12, 3116, 1133, 871, 13, 288, 3639, 613, 2932, 17685, 16964, 25768, 2056, 1493, 315, 397, 871, 18, 588, 2326, 9334, 5420, 18, 11210, 67, 9394, 1769, 540, 514, 813, 273, 740, 950, 12, 3163, 18, 2972, 28512, 1435, 300, 1018, 13649, 1769, 3639, 613, 12, 871, 18, 588, 2326, 1435, 397, 6398, 225, 3734, 315, 397, 813, 16, 5420, 18, 11210, 67, 21900, 11272, 3639, 596, 18, 11330, 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 ]
if (currentResourceSelection.getType() == IResource.FILE) currentResourceSelection = currentResourceSelection.getParent();
if (currentResourceSelection.getType() == IResource.FILE) { currentResourceSelection = currentResourceSelection.getParent(); }
protected WizardResourceImportPage(String name, IStructuredSelection selection) { super(name); //Initialize to null currentResourceSelection = null; if (selection.size() == 1) { Object firstElement = selection.getFirstElement(); if (firstElement instanceof IAdaptable) { Object resource = ((IAdaptable) firstElement) .getAdapter(IResource.class); if (resource != null) currentResourceSelection = (IResource) resource; } } if (currentResourceSelection != null) { if (currentResourceSelection.getType() == IResource.FILE) currentResourceSelection = currentResourceSelection.getParent(); if (!currentResourceSelection.isAccessible()) currentResourceSelection = null; } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WizardResourceImportPage.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardResourceImportPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 678, 13412, 1420, 5010, 1964, 12, 780, 508, 16, 5411, 467, 30733, 6233, 4421, 13, 288, 3639, 2240, 12, 529, 1769, 3639, 368, 7520, 358, 446, 3639, 783, 1420, 6233, 273, 446, 31, 3639, 309, 261, 10705, 18, 1467, 1435, 422, 404, 13, 288, 5411, 1033, 1122, 1046, 273, 4421, 18, 588, 3759, 1046, 5621, 5411, 309, 261, 3645, 1046, 1276, 467, 13716, 429, 13, 288, 7734, 1033, 1058, 273, 14015, 45, 13716, 429, 13, 1122, 1046, 13, 13491, 263, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 7734, 309, 261, 3146, 480, 446, 13, 10792, 783, 1420, 6233, 273, 261, 45, 1420, 13, 1058, 31, 5411, 289, 3639, 289, 3639, 309, 261, 2972, 1420, 6233, 480, 446, 13, 288, 5411, 309, 261, 2972, 1420, 6233, 18, 588, 559, 1435, 422, 467, 1420, 18, 3776, 13, 7734, 783, 1420, 6233, 273, 783, 1420, 6233, 18, 588, 3054, 5621, 5411, 309, 16051, 2972, 1420, 6233, 18, 291, 10451, 10756, 7734, 783, 1420, 6233, 273, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 678, 13412, 1420, 5010, 1964, 12, 780, 508, 16, 5411, 467, 30733, 6233, 4421, 13, 288, 3639, 2240, 12, 529, 1769, 3639, 368, 7520, 358, 446, 3639, 783, 1420, 6233, 273, 446, 31, 3639, 309, 261, 10705, 18, 1467, 1435, 422, 404, 13, 288, 5411, 1033, 1122, 1046, 273, 4421, 18, 588, 3759, 1046, 5621, 5411, 309, 261, 3645, 1046, 1276, 467, 13716, 429, 13, 288, 7734, 1033, 1058, 273, 14015, 45, 13716, 429, 13, 1122, 1046, 13, 13491, 263, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 7734, 309, 261, 3146, 480, 446, 13, 10792, 783, 1420, 6233, 273, 261, 45, 1420, 13, 1058, 31, 5411, 289, 3639, 289, 3639, 309, 261, 2972, 1420, 6233, 480, 2 ]
iCodeTop = generateICode(child, iCodeTop);
String property = child.getString();
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; int savedStackDepth = itsStackDepth; int stackDelta = 0; // expected stack change for subtree code boolean stackShouldBeZero = false; switch (type) { case Token.FUNCTION : { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); FunctionNode fn = scriptOrFn.getFunctionNode(fnIndex); if (fn.getFunctionType() != FunctionNode.FUNCTION_STATEMENT) { stackDelta = 1; // Only function expressions or function expression // statements needs closure code creating new function // object on stack as function statements are initialized // at script/function start iCodeTop = addIndexOp(Icode_CLOSURE, fnIndex, iCodeTop); stackChange(1); } else { stackShouldBeZero = true; } break; } case Token.SCRIPT : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != Token.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.CASE : // Skip case condition child = child.getNext(); // fallthrough case Token.LABEL : case Token.LOOP : case Token.DEFAULT : case Token.BLOCK : case Token.EMPTY : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.WITH : ++itsWithDepth; stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsWithDepth; break; case Token.LOCAL_BLOCK : stackShouldBeZero = true; if ((itsLocalTop & ~0xFF) != 0) { throw Context.reportRuntimeError( "Program too complex (out of locals)"); } node.putIntProp(Node.LOCAL_PROP, itsLocalTop); ++itsLocalTop; if (itsLocalTop > itsData.itsMaxLocals) { itsData.itsMaxLocals = itsLocalTop; } iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsLocalTop; break; case Token.LOCAL_LOAD : { stackDelta = 1; int localIndex = getLocalBlockRef(node); iCodeTop = addIndexOp(Token.LOCAL_LOAD, localIndex, iCodeTop); stackChange(1); break; } case Token.COMMA : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { if (1 != itsStackDepth - savedStackDepth) Kit.codeBug(); iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; iCodeTop = generateICode(child, iCodeTop); } break; case Token.INIT_LIST : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { if (1 != itsStackDepth - savedStackDepth) Kit.codeBug(); iCodeTop = addIcode(Icode_DUP, iCodeTop); // No stack adjusting: USE_STACK in subtree will do it iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; } break; case Token.USE_STACK: // Indicates that stack was modified externally, // like placed catch object stackDelta = 1; itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.SWITCH : { stackShouldBeZero = true; Node.Jump switchNode = (Node.Jump)node; iCodeTop = updateLineNumber(switchNode, iCodeTop); iCodeTop = generateICode(child, iCodeTop); ObjArray cases = (ObjArray) switchNode.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.get(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.SHEQ, iCodeTop); itsStackDepth--; Node.Target target = new Node.Target(); thisCase.addChildAfter(target, first); // If true, Icode_IFEQ_POP will jump and remove case value // from stack iCodeTop = addGoto(target, Icode_IFEQ_POP, iCodeTop); itsStackDepth--; } iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; Node defaultNode = (Node) switchNode.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node.Target defaultTarget = new Node.Target(); defaultNode.getFirstChild(). addChildToFront(defaultTarget); iCodeTop = addGoto(defaultTarget, Token.GOTO, iCodeTop); } Node.Target breakTarget = switchNode.target; iCodeTop = addGoto(breakTarget, Token.GOTO, iCodeTop); break; } case Token.TARGET : stackShouldBeZero = true; markTargetLabel((Node.Target)node, iCodeTop); break; case Token.NEW : case Token.CALL : { stackDelta = 1; if (type == Token.NEW) { iCodeTop = generateICode(child, iCodeTop); } else { iCodeTop = generateCallFunAndThis(child, iCodeTop); if (itsStackDepth - savedStackDepth != 2) Kit.codeBug(); } int argCount = 0; while ((child = child.getNext()) != null) { iCodeTop = generateICode(child, iCodeTop); ++argCount; } int callType = node.getIntProp(Node.SPECIALCALL_PROP, Node.NON_SPECIALCALL); if (callType != Node.NON_SPECIALCALL) { // embed line number and source filename iCodeTop = addIndexOp(Icode_CALLSPECIAL, argCount, iCodeTop); iCodeTop = addByte(callType, iCodeTop); iCodeTop = addByte(type == Token.NEW ? 1 : 0, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); } else { iCodeTop = addIndexOp(type, argCount, iCodeTop); } // adjust stack if (type == Token.NEW) { // f, args -> results itsStackDepth -= argCount; } else { // f, thisObj, args -> results itsStackDepth -= (argCount + 1); } if (argCount > itsData.itsMaxCalleeArgs) itsData.itsMaxCalleeArgs = argCount; break; } case Token.IFEQ : case Token.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case Token.GOTO : { stackShouldBeZero = true; Node.Target target = ((Node.Jump)node).target; iCodeTop = addGoto(target, (byte) type, iCodeTop); break; } case Token.JSR : { stackShouldBeZero = true; Node.Target target = ((Node.Jump)node).target; iCodeTop = addGoto(target, Icode_GOSUB, iCodeTop); break; } case Token.FINALLY : { stackShouldBeZero = true; // Account for incomming exception or GOTOSUB address ++itsStackDepth; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int finallyRegister = getLocalBlockRef(node); iCodeTop = addIndexOp(Token.LOCAL_SAVE, finallyRegister, iCodeTop); itsStackDepth--; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (itsStackDepth != 0) Kit.codeBug(); child = child.getNext(); } iCodeTop = addIndexOp(Icode_RETSUB, finallyRegister, iCodeTop); break; } case Token.AND : case Token.OR : { stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addIcode(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int afterSecondJumpStart = iCodeTop; int jump = (type == Token.AND) ? Token.IFNE : Token.IFEQ; iCodeTop = addForwardGoto(jump, iCodeTop); itsStackDepth--; iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(afterSecondJumpStart, iCodeTop); break; } case Token.HOOK : { stackDelta = 1; Node ifThen = child.getNext(); Node ifElse = ifThen.getNext(); iCodeTop = generateICode(child, iCodeTop); int elseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFNE, iCodeTop); itsStackDepth--; iCodeTop = generateICode(ifThen, iCodeTop); int afterElseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.GOTO, iCodeTop); resolveForwardGoto(elseJumpStart, iCodeTop); itsStackDepth = savedStackDepth; iCodeTop = generateICode(ifElse, iCodeTop); resolveForwardGoto(afterElseJumpStart, iCodeTop); break; } case Token.GETPROP : stackDelta = 1; iCodeTop = visitGetProp(iCodeTop, node, child, false); break; case Token.GETELEM : stackDelta = 1; iCodeTop = visitGetElem(iCodeTop, node, child, false); break; case Token.DELPROP : case Token.BITAND : case Token.BITOR : case Token.BITXOR : case Token.LSH : case Token.RSH : case Token.URSH : case Token.ADD : case Token.SUB : case Token.MOD : case Token.DIV : case Token.MUL : case Token.EQ: case Token.NE: case Token.SHEQ: case Token.SHNE: case Token.IN : case Token.INSTANCEOF : case Token.LE : case Token.LT : case Token.GE : case Token.GT : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); itsStackDepth--; break; case Token.POS : case Token.NEG : case Token.NOT : case Token.BITNOT : case Token.TYPEOF : case Token.VOID : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); if (type == Token.VOID) { iCodeTop = addToken(Token.POP, iCodeTop); iCodeTop = addToken(Token.UNDEFINED, iCodeTop); } else { iCodeTop = addToken(type, iCodeTop); } break; case Token.SETPROP : case Token.SETPROP_OP : { stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); int special = node.getIntProp(Node.SPECIAL_PROP_PROP, 0); if (special != 0) { if (type == Token.SETPROP_OP) { iCodeTop = addIcode(Icode_DUP, iCodeTop); if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; if (special == Node.SPECIAL_PROP_PROTO) { iCodeTop = addIcode(Icode_GETPROTO, iCodeTop); } else if (special == Node.SPECIAL_PROP_PARENT) { iCodeTop = addIcode(Icode_GETSCOPEPARENT, iCodeTop); } else { throw badTree(node); } // Compensate for the following USE_STACK itsStackDepth--; } iCodeTop = generateICode(child, iCodeTop); if (special == Node.SPECIAL_PROP_PROTO) { iCodeTop = addIcode(Icode_SETPROTO, iCodeTop); } else if (special == Node.SPECIAL_PROP_PARENT) { iCodeTop = addIcode(Icode_SETPARENT, iCodeTop); } else { throw badTree(node); } itsStackDepth--; } else { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); if (type == Token.SETPROP_OP) { iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETPROP, iCodeTop); itsStackDepth--; // Compensate for the following USE_STACK itsStackDepth--; } iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.SETPROP, iCodeTop); itsStackDepth -= 2; } break; } case Token.SETELEM : case Token.SETELEM_OP : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); if (type == Token.SETELEM_OP) { iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETELEM, iCodeTop); itsStackDepth--; // Compensate for the following USE_STACK itsStackDepth--; } iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.SETELEM, iCodeTop); itsStackDepth -= 2; break; case Token.SETNAME : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addStringOp(Token.SETNAME, firstChild.getString(), iCodeTop); itsStackDepth--; break; case Token.TYPEOFNAME : { stackDelta = 1; String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = scriptOrFn.getParamOrVarIndex(name); if (index == -1) { iCodeTop = addStringOp(Icode_TYPEOFNAME, name, iCodeTop); stackChange(1); } else { iCodeTop = addToken(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); stackChange(1); iCodeTop = addToken(Token.TYPEOF, iCodeTop); } break; } case Token.BINDNAME : case Token.NAME : case Token.STRING : stackDelta = 1; iCodeTop = addStringOp(type, node.getString(), iCodeTop); stackChange(1); break; case Token.INC : case Token.DEC : { stackDelta = 1; int childType = child.getType(); switch (childType) { case Token.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addIcode(Icode_SCOPE, iCodeTop); iCodeTop = addStringOp(Token.STRING, name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addIcode(type == Token.INC ? Icode_PROPINC : Icode_PROPDEC, iCodeTop); itsStackDepth--; } else { int i = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addIcode(type == Token.INC ? Icode_VARINC : Icode_VARDEC, iCodeTop); iCodeTop = addByte(i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.GETPROP : case Token.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNext(); iCodeTop = generateICode(getPropChild, iCodeTop); int icode; if (childType == Token.GETPROP) { icode = (type == Token.INC) ? Icode_PROPINC : Icode_PROPDEC; } else { icode = (type == Token.INC) ? Icode_ELEMINC : Icode_ELEMDEC; } iCodeTop = addIcode(icode, iCodeTop); itsStackDepth--; break; } default : { iCodeTop = addStringOp(type == Token.INC ? Icode_NAMEINC : Icode_NAMEDEC, child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } } break; } case Token.NUMBER : { stackDelta = 1; double num = node.getDouble(); int inum = (int)num; if (inum == num) { if (inum == 0) { iCodeTop = addToken(Token.ZERO, iCodeTop); // Check for negative zero if (1.0 / num < 0.0) { iCodeTop = addToken(Token.NEG, iCodeTop); } } else if (inum == 1) { iCodeTop = addToken(Token.ONE, iCodeTop); } else if ((short)inum == inum) { iCodeTop = addIcode(Icode_SHORTNUMBER, iCodeTop); iCodeTop = addShort(inum, iCodeTop); } else { iCodeTop = addIcode(Icode_INTNUMBER, iCodeTop); iCodeTop = addInt(inum, iCodeTop); } } else { int index = getDoubleIndex(num); iCodeTop = addIndexOp(Token.NUMBER, index, iCodeTop); } stackChange(1); break; } case Token.POPV : stackShouldBeZero = true; // fallthrough case Token.POP : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); itsStackDepth--; break; case Token.ENTERWITH : stackShouldBeZero = true; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.ENTERWITH, iCodeTop); itsStackDepth--; break; case Token.CATCH_SCOPE : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addStringOp(Token.CATCH_SCOPE, node.getString(), iCodeTop); break; case Token.LEAVEWITH : stackShouldBeZero = true; iCodeTop = addToken(Token.LEAVEWITH, iCodeTop); break; case Token.TRY : { stackShouldBeZero = true; Node.Jump tryNode = (Node.Jump)node; int exceptionObjectLocal = getLocalBlockRef(tryNode); Node catchTarget = tryNode.target; Node finallyTarget = tryNode.getFinally(); int tryStart = iCodeTop; int tryEnd = -1; int catchStart = -1; int finallyStart = -1; while (child != null) { boolean generated = false; if (child == catchTarget) { if (tryEnd >= 0) Kit.codeBug(); tryEnd = iCodeTop; catchStart = iCodeTop; markTargetLabel((Node.Target)child, iCodeTop); generated = true; } else if (child == finallyTarget) { if (tryEnd < 0) { tryEnd = iCodeTop; } finallyStart = iCodeTop; markTargetLabel((Node.Target)child, iCodeTop); generated = true; } if (!generated) { iCodeTop = generateICode(child, iCodeTop); } child = child.getNext(); } // [tryStart, tryEnd) contains GOSUB to call finally when it // presents at the end of try code and before return, break // continue that transfer control outside try. // After finally is executed the control will be // transfered back into [tryStart, tryEnd) and exception // handling assumes that the only code executed after // finally returns will be a jump outside try which could not // trigger exceptions. // It does not hold if instruction observer throws during // goto. Currently it may lead to double execution of finally. addExceptionHandler(tryStart, tryEnd, catchStart, finallyStart, itsWithDepth, exceptionObjectLocal); break; } case Token.THROW : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.THROW, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); itsStackDepth--; break; case Token.RETURN : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.RETURN, iCodeTop); itsStackDepth--; } else { iCodeTop = addIcode(Icode_RETUNDEF, iCodeTop); } break; case Token.RETURN_POPV : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = addToken(Token.RETURN_POPV, iCodeTop); break; case Token.GETVAR : { stackDelta = 1; String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addIcode(Icode_SCOPE, iCodeTop); iCodeTop = addStringOp(Token.STRING, name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETPROP, iCodeTop); itsStackDepth--; } else { int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addToken(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SETVAR : { stackDelta = 1; if (itsData.itsNeedsActivation) { child.setType(Token.BINDNAME); node.setType(Token.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addToken(Token.SETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); } break; } case Token.NULL: case Token.THIS: case Token.THISFN: case Token.FALSE: case Token.TRUE: case Token.UNDEFINED: stackDelta = 1; iCodeTop = addToken(type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.ENUM_INIT : stackShouldBeZero = true; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addIndexOp(Token.ENUM_INIT, getLocalBlockRef(node), iCodeTop); stackChange(-1); break; case Token.ENUM_NEXT : case Token.ENUM_ID : stackDelta = 1; iCodeTop = addIndexOp(type, getLocalBlockRef(node), iCodeTop); stackChange(1); break; case Token.REGEXP : { stackDelta = 1; int index = node.getExistingIntProp(Node.REGEXP_PROP); iCodeTop = addIndexOp(Token.REGEXP, index, iCodeTop); stackChange(1); break; } case Token.ARRAYLIT: case Token.OBJECTLIT: stackDelta = 1; iCodeTop = visitLiteral(iCodeTop, node, child); break; default : throw badTree(node); } if (stackDelta != itsStackDepth - savedStackDepth) { //System.out.println("Bad stack delta: type="+Token.name(type)+" expected="+stackDelta+" real="+ (itsStackDepth - savedStackDepth)); Kit.codeBug(); } if (stackShouldBeZero && !(stackDelta == 0 && itsStackDepth == 0)) { Kit.codeBug(); } return iCodeTop; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/bf289c63543f0cc34416017db6f071919cda9b64/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 509, 5198, 2624, 6148, 273, 2097, 2624, 6148, 31, 3639, 509, 2110, 9242, 273, 374, 31, 368, 2665, 2110, 2549, 364, 12773, 981, 3639, 1250, 2110, 14309, 1919, 7170, 273, 629, 31, 3639, 1620, 261, 723, 13, 288, 5411, 648, 3155, 18, 7788, 294, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 4293, 1016, 1769, 7734, 309, 261, 4293, 18, 588, 2083, 559, 1435, 480, 4284, 907, 18, 7788, 67, 28411, 13, 288, 10792, 2110, 9242, 273, 404, 31, 10792, 368, 5098, 445, 8041, 578, 445, 2652, 10792, 368, 6317, 4260, 7213, 981, 4979, 394, 445, 10792, 368, 733, 603, 2110, 487, 445, 6317, 854, 6454, 10792, 368, 622, 2728, 19, 915, 787, 10792, 277, 1085, 3401, 273, 26794, 3817, 12, 45, 710, 67, 22693, 55, 4830, 16, 2295, 1016, 16, 277, 1085, 3401, 1769, 10792, 2110, 3043, 12, 21, 1769, 7734, 289, 469, 288, 10792, 2110, 14309, 1919, 7170, 273, 638, 31, 7734, 289, 7734, 898, 31, 5411, 289, 5411, 648, 3155, 18, 10885, 294, 7734, 2110, 14309, 1919, 7170, 273, 638, 31, 7734, 277, 1085, 3401, 273, 1089, 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, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 509, 5198, 2624, 6148, 273, 2097, 2624, 6148, 31, 3639, 509, 2110, 9242, 273, 374, 31, 368, 2665, 2110, 2549, 364, 12773, 981, 3639, 1250, 2110, 14309, 1919, 7170, 273, 629, 31, 3639, 1620, 261, 723, 13, 288, 5411, 648, 3155, 18, 7788, 294, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 2 ]
NativeArray h = global.history; h.put((int)h.getLength(), h, source);
public static void processSource(Context cx, String filename) { if (filename == null || filename.equals("-")) { if (filename == null) { // print implementation version getOut().println(cx.getImplementationVersion()); } // Use the interpreter for interactive input cx.setOptimizationLevel(-1); BufferedReader in = new BufferedReader (new InputStreamReader(global.getIn())); int lineno = 1; boolean hitEOF = false; while (!hitEOF) { int startline = lineno; if (filename == null) global.getErr().print("js> "); global.getErr().flush(); String source = ""; // Collect lines of source to compile. while (true) { String newline; try { newline = in.readLine(); } catch (IOException ioe) { global.getErr().println(ioe.toString()); break; } if (newline == null) { hitEOF = true; break; } source = source + newline + "\n"; lineno++; if (cx.stringIsCompilableUnit(source)) break; } Object result = evaluateScript(cx, global, null, source, "<stdin>", startline, null); if (result != cx.getUndefinedValue()) { try { global.getErr().println(cx.toString(result)); } catch (RhinoException rex) { errorReporter.reportException(rex); } } NativeArray h = global.history; h.put((int)h.getLength(), h, source); } global.getErr().println(); } else { processFile(cx, global, filename); } System.gc(); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/12199852d5fcaa82430cdfb4712a2f716538c607/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, 1207, 1830, 12, 1042, 9494, 16, 514, 1544, 13, 565, 288, 3639, 309, 261, 3459, 422, 446, 747, 1544, 18, 14963, 2932, 10951, 3719, 288, 5411, 309, 261, 3459, 422, 446, 13, 288, 7734, 368, 1172, 4471, 1177, 7734, 23141, 7675, 8222, 12, 71, 92, 18, 588, 13621, 1444, 10663, 5411, 289, 5411, 368, 2672, 326, 16048, 364, 12625, 810, 5411, 9494, 18, 542, 13930, 1588, 2355, 19236, 21, 1769, 5411, 10633, 316, 273, 394, 10633, 7734, 261, 2704, 15322, 12, 6347, 18, 588, 382, 1435, 10019, 5411, 509, 7586, 273, 404, 31, 5411, 1250, 6800, 12706, 273, 629, 31, 5411, 1323, 16051, 15989, 12706, 13, 288, 7734, 509, 787, 1369, 273, 7586, 31, 7734, 309, 261, 3459, 422, 446, 13, 10792, 2552, 18, 588, 2524, 7675, 1188, 2932, 2924, 34, 315, 1769, 7734, 2552, 18, 588, 2524, 7675, 11330, 5621, 7734, 514, 1084, 273, 1408, 31, 7734, 368, 9302, 2362, 434, 1084, 358, 4074, 18, 7734, 1323, 261, 3767, 13, 288, 10792, 514, 9472, 31, 10792, 775, 288, 13491, 9472, 273, 316, 18, 896, 1670, 5621, 10792, 289, 10792, 1044, 261, 14106, 10847, 13, 288, 13491, 2552, 18, 588, 2524, 7675, 8222, 12, 1594, 73, 18, 10492, 10663, 13491, 898, 31, 10792, 289, 10792, 309, 261, 22861, 422, 446, 13, 288, 13491, 6800, 12706, 273, 638, 31, 13491, 898, 31, 10792, 289, 10792, 1084, 273, 1084, 397, 9472, 397, 1548, 82, 14432, 10792, 7586, 9904, 31, 10792, 309, 261, 71, 92, 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, 760, 918, 1207, 1830, 12, 1042, 9494, 16, 514, 1544, 13, 565, 288, 3639, 309, 261, 3459, 422, 446, 747, 1544, 18, 14963, 2932, 10951, 3719, 288, 5411, 309, 261, 3459, 422, 446, 13, 288, 7734, 368, 1172, 4471, 1177, 7734, 23141, 7675, 8222, 12, 71, 92, 18, 588, 13621, 1444, 10663, 5411, 289, 5411, 368, 2672, 326, 16048, 364, 12625, 810, 5411, 9494, 18, 542, 13930, 1588, 2355, 19236, 21, 1769, 5411, 10633, 316, 273, 394, 10633, 7734, 261, 2704, 15322, 12, 6347, 18, 588, 382, 1435, 10019, 5411, 509, 7586, 273, 404, 31, 5411, 1250, 6800, 12706, 273, 629, 31, 5411, 1323, 16051, 15989, 12706, 13, 288, 7734, 509, 787, 1369, 273, 7586, 31, 7734, 2 ]
private AnAction processGroupElement(Element element, final ClassLoader loader, PluginId pluginId) { final Application app = ApplicationManager.getApplication(); final IdeaPluginDescriptor plugin = app.getPlugin(pluginId); @NonNls final String resBundleName = plugin != null ? plugin.getResourceBundleBaseName() : ACTIONS_BUNDLE; ResourceBundle bundle = null; if (resBundleName != null) { bundle = ResourceBundle.getBundle(resBundleName, Locale.getDefault(), loader); } if (LOG.isDebugEnabled()) { LOG.debug("enter: processGroupElement(" + element.getName() + ")"); } if (!GROUP_ELEMENT_NAME.equals(element.getName())) { LOG.error("unexpected name of element \"" + element.getName() + "\""); return null; } String className = element.getAttributeValue(CLASS_ATTR_NAME); if (className == null) { // use default group if class isn't specified className = DefaultActionGroup.class.getName(); } try { Class aClass = Class.forName(className, true, loader); Object obj = new ConstructorInjectionComponentAdapter(className, aClass).getComponentInstance(ApplicationManager.getApplication().getPicoContainer()); if (!(obj instanceof ActionGroup)) { LOG.error("class with name \"" + className + "\" should be instance of " + ActionGroup.class.getName()); return null; } if (element.getChildren().size() != element.getChildren(ADD_TO_GROUP_ELEMENT_NAME).size() ) { // if (!(obj instanceof DefaultActionGroup)) { LOG.error("class with name \"" + className + "\" should be instance of " + DefaultActionGroup.class.getName() + " because there are children specified"); return null; } } ActionGroup group = (ActionGroup)obj; // read ID and register loaded group String id = element.getAttributeValue(ID_ATTR_NAME); if (id != null && id.length() == 0) { LOG.error("ID of the group cannot be an empty string"); return null; } if (Boolean.valueOf(element.getAttributeValue(INTERNAL_ATTR_NAME)).booleanValue() && !ApplicationManagerEx.getApplicationEx().isInternal()) { myNotRegisteredInternalActionIds.add(id); return null; } if (id != null) { registerAction(id, group); } // text Presentation presentation = group.getTemplatePresentation(); String text = loadTextForElement(element, bundle, id, GROUP_ELEMENT_NAME); presentation.setText(text); // description String description = loadDescriptionForElement(element, bundle, id, GROUP_ELEMENT_NAME); presentation.setDescription(description); // icon setIcon(element.getAttributeValue(ICON_ATTR_NAME), className, loader, presentation); // popup String popup = element.getAttributeValue(POPAP_ATTR_NAME); if (popup != null) { group.setPopup(Boolean.valueOf(popup).booleanValue()); } // process all group's children. There are other groups, actions, references and links for (final Object o : element.getChildren()) { Element child = (Element)o; String name = child.getName(); if (ACTION_ELEMENT_NAME.equals(name)) { AnAction action = processActionElement(child, loader, pluginId); if (action != null) { assertActionIsGroupOrStub(action); ((DefaultActionGroup)group).add(action, this); } } else if (SEPARATOR_ELEMENT_NAME.equals(name)) { processSeparatorNode((DefaultActionGroup)group, child); } else if (GROUP_ELEMENT_NAME.equals(name)) { AnAction action = processGroupElement(child, loader, pluginId); if (action != null) { ((DefaultActionGroup)group).add(action, this); } } else if (ADD_TO_GROUP_ELEMENT_NAME.equals(name)) { processAddToGroupNode(group, child); } else if (REFERENCE_ELEMENT_NAME.equals(name)) { AnAction action = processReferenceElement(child); if (action != null) { ((DefaultActionGroup)group).add(action, this); } } else { LOG.error("unexpected name of element \"" + name + "\n"); return null; } } return group; } catch (ClassNotFoundException e) { LOG.error("class with name \"" + className + "\" not found"); return null; } catch (Exception e) { LOG.error("cannot create class \"" + className + "\"", e); return null; } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 979, 1803, 2567, 1114, 1046, 12, 1046, 2956, 16, 6385, 7805, 6714, 16, 3773, 548, 4094, 548, 15329, 6385, 3208, 2910, 33, 3208, 1318, 18, 588, 3208, 5621, 6385, 45, 323, 69, 3773, 3187, 4094, 33, 2910, 18, 588, 3773, 12, 4094, 548, 1769, 36, 3989, 50, 3251, 6385, 780, 455, 3405, 461, 33, 4094, 5, 33, 2011, 35, 4094, 18, 588, 18731, 29907, 13332, 12249, 55, 67, 30245, 31, 18731, 9991, 33, 2011, 31, 430, 12, 455, 3405, 461, 5, 33, 2011, 15329, 9991, 33, 18731, 18, 588, 3405, 12, 455, 3405, 461, 16, 3916, 18, 588, 1868, 9334, 6714, 1769, 97, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 2567, 1114, 1046, 2932, 15, 2956, 18, 17994, 1435, 9078, 2225, 1769, 97, 430, 12, 5, 8468, 67, 10976, 67, 1985, 18, 14963, 12, 2956, 18, 17994, 1435, 3719, 95, 4842, 18, 1636, 2932, 21248, 529, 792, 2956, 8530, 15, 2956, 18, 17994, 1435, 9078, 8530, 1769, 2463, 2011, 31, 97, 780, 12434, 33, 2956, 18, 588, 14942, 12, 5237, 67, 12043, 67, 1985, 1769, 430, 12, 12434, 631, 2011, 15329, 759, 1202, 1886, 1655, 430, 1106, 291, 82, 1404, 13827, 12434, 33, 1868, 1803, 1114, 18, 1106, 18, 17994, 5621, 97, 698, 95, 797, 69, 797, 33, 797, 18, 1884, 461, 12, 12434, 16, 3767, 16, 6714, 1769, 921, 2603, 33, 2704, 6293, 12039, 1841, 4216, 12, 12434, 16, 69, 797, 2934, 588, 1841, 1442, 12, 3208, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 979, 1803, 2567, 1114, 1046, 12, 1046, 2956, 16, 6385, 7805, 6714, 16, 3773, 548, 4094, 548, 15329, 6385, 3208, 2910, 33, 3208, 1318, 18, 588, 3208, 5621, 6385, 45, 323, 69, 3773, 3187, 4094, 33, 2910, 18, 588, 3773, 12, 4094, 548, 1769, 36, 3989, 50, 3251, 6385, 780, 455, 3405, 461, 33, 4094, 5, 33, 2011, 35, 4094, 18, 588, 18731, 29907, 13332, 12249, 55, 67, 30245, 31, 18731, 9991, 33, 2011, 31, 430, 12, 455, 3405, 461, 5, 33, 2011, 15329, 9991, 33, 18731, 18, 588, 3405, 12, 455, 3405, 461, 16, 3916, 18, 588, 1868, 9334, 6714, 1769, 97, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 2 ]
return s39;
return s43;
public DFA.State transition(IntStream input) throws RecognitionException { switch ( input.LA(1) ) { case 23: return s30; case 22: return s39; case EOL: case 15: return s63; case ID: return s67; default: NoViableAltException nvae = new NoViableAltException("", 4, 63, input); throw nvae; } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/31d63bcc9d3d8766c62d2c237554a38462a57456/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 7734, 648, 10213, 30, 10792, 327, 272, 5082, 31, 7734, 648, 11201, 30, 10792, 327, 272, 8942, 31, 7734, 648, 19995, 30, 7734, 648, 4711, 30, 10792, 327, 272, 4449, 31, 7734, 648, 1599, 30, 10792, 327, 272, 9599, 31, 7734, 805, 30, 10792, 17114, 15077, 273, 13491, 394, 17114, 2932, 3113, 1059, 16, 13746, 16, 810, 1769, 10792, 604, 15077, 31, 3639, 289, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 7734, 648, 10213, 30, 10792, 327, 272, 5082, 31, 7734, 648, 11201, 30, 10792, 327, 272, 8942, 31, 7734, 648, 19995, 30, 7734, 648, 4711, 30, 10792, 327, 272, 4449, 31, 7734, 648, 1599, 30, 10792, 327, 272, 9599, 31, 7734, 805, 30, 10792, 17114, 15077, 273, 13491, 394, 17114, 2932, 3113, 1059, 16, 13746, 16, 810, 1769, 10792, 604, 15077, 31, 3639, 289, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
applyBuildingDamage();
private void endCurrentPhase() { switch (game.getPhase()) { case Game.PHASE_LOUNGE : changePhase(Game.PHASE_EXCHANGE); break; case Game.PHASE_EXCHANGE : changePhase(Game.PHASE_SET_ARTYAUTOHITHEXES); break; case Game.PHASE_STARTING_SCENARIO : changePhase(Game.PHASE_SET_ARTYAUTOHITHEXES); break; case Game.PHASE_SET_ARTYAUTOHITHEXES : Enumeration e = game.getPlayers(); boolean mines = false; while (e.hasMoreElements()) { Player p = (Player) e.nextElement(); if (p.hasMinefields()) { mines = true; } } if (mines) { changePhase(Game.PHASE_DEPLOY_MINEFIELDS); } else { changePhase(Game.PHASE_INITIATIVE); } break; case Game.PHASE_DEPLOY_MINEFIELDS : changePhase(Game.PHASE_INITIATIVE); break; case Game.PHASE_DEPLOYMENT : game.clearDeploymentThisRound(); game.checkForCompleteDeployment(); changePhase(Game.PHASE_INITIATIVE); break; case Game.PHASE_INITIATIVE : boolean doDeploy = game.shouldDeployThisRound() && (game.getLastPhase() != Game.PHASE_DEPLOYMENT); if ( doDeploy ) { changePhase(Game.PHASE_DEPLOYMENT); } else { changePhase(Game.PHASE_TARGETING); } break; case Game.PHASE_MOVEMENT : addMovementHeat(); checkFor20Damage(); resolveCrewDamage(); resolvePilotingRolls(); // Skids cause damage in movement phase resolveCrewDamage(); // again, I guess checkForFlamingDeath(); applyBuildingDamage(); // check phase report if (phaseReport.length() > 0) { roundReport.append(phaseReport.toString()); changePhase(Game.PHASE_MOVEMENT_REPORT); } else { roundReport.append("<nothing>\n"); changePhase(Game.PHASE_OFFBOARD); } break; case Game.PHASE_MOVEMENT_REPORT : changePhase(Game.PHASE_OFFBOARD); break; case Game.PHASE_FIRING : resolveAllButWeaponAttacks(); assignAMS(); resolveOnlyWeaponAttacks(); checkFor20Damage(); resolveCrewDamage(); resolvePilotingRolls(); resolveCrewDamage(); // again, I guess applyBuildingDamage(); // check phase report if (phaseReport.length() > 0) { roundReport.append(phaseReport.toString()); changePhase(Game.PHASE_FIRING_REPORT); } else { roundReport.append("<nothing>\n"); changePhase(Game.PHASE_PHYSICAL); } break; case Game.PHASE_FIRING_REPORT : changePhase(Game.PHASE_PHYSICAL); break; case Game.PHASE_PHYSICAL : resolvePhysicalAttacks(); checkFor20Damage(); resolveCrewDamage(); resolvePilotingRolls(); resolveCrewDamage(); // again, I guess resolveSinkVees(); applyBuildingDamage(); // check phase report if (phaseReport.length() > 0) { roundReport.append(phaseReport.toString()); } else { roundReport.append("<nothing>\n"); } changePhase(Game.PHASE_END); break; case Game.PHASE_TARGETING : enqueueIndirectArtilleryAttacks(); changePhase(Game.PHASE_MOVEMENT); break; case Game.PHASE_OFFBOARD : roundReport.append("\nOffboard Attack Phase\n-----------------\n"); resolveIndirectArtilleryAttacks(); checkFor20Damage(); resolveCrewDamage(); resolvePilotingRolls(); resolveCrewDamage(); // again, I guess applyBuildingDamage(); if (phaseReport.length() > 0) { roundReport.append(phaseReport.toString()); changePhase(Game.PHASE_OFFBOARD_REPORT); } else { roundReport.append("<nothing>\n"); changePhase(Game.PHASE_FIRING); } break; case Game.PHASE_OFFBOARD_REPORT: changePhase(Game.PHASE_FIRING); break; case Game.PHASE_END : if (victory()) { changePhase(Game.PHASE_VICTORY); } else { changePhase(Game.PHASE_INITIATIVE); } break; case Game.PHASE_VICTORY : resetGame(); break; } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/71c2d3a74bad0db9b4aeb419b8c16c88b6e96c3f/Server.java/clean/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 679, 3935, 11406, 1435, 288, 3639, 1620, 261, 13957, 18, 588, 11406, 10756, 288, 5411, 648, 14121, 18, 8939, 4429, 67, 1502, 2124, 7113, 294, 7734, 2549, 11406, 12, 12496, 18, 8939, 4429, 67, 2294, 14473, 1769, 7734, 898, 31, 5411, 648, 14121, 18, 8939, 4429, 67, 2294, 14473, 294, 7734, 2549, 11406, 12, 12496, 18, 8939, 4429, 67, 4043, 67, 4928, 61, 18909, 44, 6379, 2294, 3991, 1769, 7734, 898, 31, 5411, 648, 14121, 18, 8939, 4429, 67, 7570, 1360, 67, 2312, 1157, 985, 4294, 294, 7734, 2549, 11406, 12, 12496, 18, 8939, 4429, 67, 4043, 67, 4928, 61, 18909, 44, 6379, 2294, 3991, 1769, 7734, 898, 31, 5411, 648, 14121, 18, 8939, 4429, 67, 4043, 67, 4928, 61, 18909, 44, 6379, 2294, 3991, 294, 7734, 13864, 425, 273, 7920, 18, 588, 1749, 3907, 5621, 7734, 1250, 1131, 281, 273, 629, 31, 7734, 1323, 261, 73, 18, 5332, 7417, 3471, 10756, 288, 10792, 19185, 293, 273, 261, 12148, 13, 425, 18, 4285, 1046, 5621, 10792, 309, 261, 84, 18, 5332, 49, 558, 2821, 10756, 288, 7682, 1131, 281, 273, 638, 31, 10792, 289, 7734, 289, 7734, 309, 261, 1154, 281, 13, 288, 10792, 2549, 11406, 12, 12496, 18, 8939, 4429, 67, 1639, 22971, 67, 49, 3740, 12683, 1769, 7734, 289, 469, 288, 10792, 2549, 11406, 12, 12496, 18, 8939, 4429, 67, 12919, 45, 12992, 1769, 7734, 289, 7734, 898, 31, 5411, 648, 14121, 18, 8939, 4429, 67, 1639, 22971, 67, 49, 3740, 12683, 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, 679, 3935, 11406, 1435, 288, 3639, 1620, 261, 13957, 18, 588, 11406, 10756, 288, 5411, 648, 14121, 18, 8939, 4429, 67, 1502, 2124, 7113, 294, 7734, 2549, 11406, 12, 12496, 18, 8939, 4429, 67, 2294, 14473, 1769, 7734, 898, 31, 5411, 648, 14121, 18, 8939, 4429, 67, 2294, 14473, 294, 7734, 2549, 11406, 12, 12496, 18, 8939, 4429, 67, 4043, 67, 4928, 61, 18909, 44, 6379, 2294, 3991, 1769, 7734, 898, 31, 5411, 648, 14121, 18, 8939, 4429, 67, 7570, 1360, 67, 2312, 1157, 985, 4294, 294, 7734, 2549, 11406, 12, 12496, 18, 8939, 4429, 67, 4043, 67, 4928, 61, 18909, 44, 6379, 2294, 3991, 1769, 7734, 898, 31, 5411, 648, 14121, 18, 8939, 4429, 67, 2 ]
if (nameName.equals(name))
if (nameName.equalsIgnoreCase(name))
public int getNameIndex(String name) { int retval = -1; for (int k = 0; k < names.size(); k++) { String nameName = getNameName(k); if (nameName.equals(name)) { retval = k; break; } } return retval; }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/2ece1574eb34bcb764a4dba87c174b9891cd4f6f/HSSFWorkbook.java/clean/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1723, 1016, 12, 780, 508, 13, 565, 288, 3639, 509, 5221, 273, 300, 21, 31, 3639, 364, 261, 474, 417, 273, 374, 31, 417, 411, 1257, 18, 1467, 5621, 417, 27245, 3639, 288, 5411, 514, 508, 461, 273, 1723, 461, 12, 79, 1769, 5411, 309, 261, 529, 461, 18, 14963, 5556, 12, 529, 3719, 5411, 288, 7734, 5221, 273, 417, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 327, 5221, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1723, 1016, 12, 780, 508, 13, 565, 288, 3639, 509, 5221, 273, 300, 21, 31, 3639, 364, 261, 474, 417, 273, 374, 31, 417, 411, 1257, 18, 1467, 5621, 417, 27245, 3639, 288, 5411, 514, 508, 461, 273, 1723, 461, 12, 79, 1769, 5411, 309, 261, 529, 461, 18, 14963, 5556, 12, 529, 3719, 5411, 288, 7734, 5221, 273, 417, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 327, 5221, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testUpgradeRevision3952ToCurrent() throws Exception { if (!isDBTestEnabled()) { return; } String newCreate = m_installer.m_create_sql; URL sql = getClass().getResource("/create.sql-revision-3952"); assertNotNull("Could not find create.sql", sql); m_installer.m_create_sql = sql.getFile(); // First pass. m_installer.createSequences(); m_installer.createTables(); m_installer.m_create_sql = newCreate; // Second pass. m_installer.createSequences(); m_installer.createTables(); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/28ec8d0f53c305460681fe922d064c060141774d/InstallerDBTest.java/buggy/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10784, 7939, 5520, 9401, 774, 3935, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 514, 394, 1684, 273, 312, 67, 20163, 18, 81, 67, 2640, 67, 4669, 31, 7734, 1976, 1847, 273, 2900, 7675, 588, 1420, 2932, 19, 2640, 18, 4669, 17, 13057, 17, 5520, 9401, 8863, 3639, 25395, 2932, 4445, 486, 1104, 752, 18, 4669, 3113, 1847, 1769, 3639, 312, 67, 20163, 18, 81, 67, 2640, 67, 4669, 273, 1847, 18, 29925, 5621, 10792, 368, 5783, 1342, 18, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 312, 67, 20163, 18, 2640, 6905, 5621, 7734, 312, 67, 20163, 18, 81, 67, 2640, 67, 4669, 273, 394, 1684, 31, 7734, 368, 7631, 1342, 18, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 312, 67, 20163, 18, 2640, 6905, 5621, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1842, 10784, 7939, 5520, 9401, 774, 3935, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 514, 394, 1684, 273, 312, 67, 20163, 18, 81, 67, 2640, 67, 4669, 31, 7734, 1976, 1847, 273, 2900, 7675, 588, 1420, 2932, 19, 2640, 18, 4669, 17, 13057, 17, 5520, 9401, 8863, 3639, 25395, 2932, 4445, 486, 1104, 752, 18, 4669, 3113, 1847, 1769, 3639, 312, 67, 20163, 18, 81, 67, 2640, 67, 4669, 273, 1847, 18, 29925, 5621, 10792, 368, 5783, 1342, 18, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 312, 67, 20163, 18, 2640, 6905, 5621, 7734, 312, 67, 20163, 18, 81, 67, 2640, 67, 2 ]
public void loadPage(String url_text) throws Exception { logger.info("Loading Page: " + url_text); current_url = url_text; DocumentBuilderFactory fact = DocumentBuilderFactory.newInstance(); fact.setValidating(true); DocumentBuilder builder = fact.newDocumentBuilder(); builder.setErrorHandler(root.error_handler);/* new ErrorHandler() { public void warning(SAXParseException ex) throws SAXException { logger.info("warning: " + ex); } public void error(SAXParseException ex) throws SAXException { logger.info("error: " + ex); logger.info("error on line: " + ex.getLineNumber() + " column: " + ex.getColumnNumber()); setStatus("Error Loading Document"); } public void fatalError(SAXParseException ex) throws SAXException { logger.info("fatal error: " + ex); logger.info("error on line: " + ex.getLineNumber() + " column: " + ex.getColumnNumber()); setStatus("Error Loading Document"); } }); */ Document doc = null; URL ref = null; if(url_text.startsWith("demo:")) { DemoMarker marker = new DemoMarker(); String short_url = url_text.substring(5); if(!short_url.startsWith("/")) { short_url = "/" + short_url; } doc = builder.parse(marker.getClass().getResourceAsStream(short_url)); ref = marker.getClass().getResource(short_url); } else if(url_text.startsWith("http")) { doc = builder.parse(url_text); ref = new File(url_text).toURL(); } else if(url_text.startsWith("file: File file = new File(new URI(url_text)); if(file.isDirectory()) { doc = new DirectoryLister().list(file); ref = file.toURL(); } else { doc = builder.parse(file); ref = file.toURL(); } } else { doc = builder.parse(url_text); ref = new File(url_text).toURL(); } loadPage(doc,ref); setStatus("Successfully loaded: " + url_text); if ( listener != null ) { listener.pageLoadSuccess(url_text, view.getDocumentTitle()); }
public void loadPage(Document doc, URL url) throws Exception { view.setDocument(doc,url); view.addDocumentListener(this); root.history.goNewDocument(doc); updateButtons();
public void loadPage(String url_text) throws Exception { logger.info("Loading Page: " + url_text); current_url = url_text; DocumentBuilderFactory fact = DocumentBuilderFactory.newInstance(); fact.setValidating(true); DocumentBuilder builder = fact.newDocumentBuilder(); builder.setErrorHandler(root.error_handler);/* new ErrorHandler() { public void warning(SAXParseException ex) throws SAXException { logger.info("warning: " + ex); } public void error(SAXParseException ex) throws SAXException { logger.info("error: " + ex); logger.info("error on line: " + ex.getLineNumber() + " column: " + ex.getColumnNumber()); setStatus("Error Loading Document"); } public void fatalError(SAXParseException ex) throws SAXException { logger.info("fatal error: " + ex); logger.info("error on line: " + ex.getLineNumber() + " column: " + ex.getColumnNumber()); setStatus("Error Loading Document"); } }); */ Document doc = null; URL ref = null; if(url_text.startsWith("demo:")) { DemoMarker marker = new DemoMarker(); //u.p("marker = " + marker); String short_url = url_text.substring(5); //u.p("sub = " + short_url); if(!short_url.startsWith("/")) { short_url = "/" + short_url; } doc = builder.parse(marker.getClass().getResourceAsStream(short_url)); ref = marker.getClass().getResource(short_url); } else if(url_text.startsWith("http")) { doc = builder.parse(url_text); ref = new File(url_text).toURL(); } else if(url_text.startsWith("file://")) { File file = new File(new URI(url_text)); if(file.isDirectory()) { doc = new DirectoryLister().list(file); ref = file.toURL(); } else { doc = builder.parse(file); ref = file.toURL(); } } else { doc = builder.parse(url_text); ref = new File(url_text).toURL(); } loadPage(doc,ref); setStatus("Successfully loaded: " + url_text); if ( listener != null ) { listener.pageLoadSuccess(url_text, view.getDocumentTitle()); } }
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/26f5d912c90d7e3336b7d1b0aa076c1e30cf293e/BrowserPanel.java/buggy/src/java/org/joshy/html/app/browser/BrowserPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 1964, 12, 780, 880, 67, 955, 13, 1216, 1185, 288, 3639, 1194, 18, 1376, 2932, 10515, 3460, 30, 315, 397, 880, 67, 955, 1769, 3639, 783, 67, 718, 273, 880, 67, 955, 31, 13491, 30236, 5410, 273, 30236, 18, 2704, 1442, 5621, 3639, 5410, 18, 542, 31496, 12, 3767, 1769, 3639, 4319, 1263, 2089, 273, 5410, 18, 2704, 2519, 1263, 5621, 3639, 2089, 18, 542, 17729, 12, 3085, 18, 1636, 67, 4176, 1769, 20308, 225, 394, 26406, 1435, 288, 5411, 1071, 918, 3436, 12, 55, 2501, 13047, 431, 13, 1216, 14366, 288, 7734, 1194, 18, 1376, 2932, 8551, 30, 315, 397, 431, 1769, 5411, 289, 5411, 1071, 918, 555, 12, 55, 2501, 13047, 431, 13, 1216, 14366, 288, 7734, 1194, 18, 1376, 2932, 1636, 30, 315, 397, 431, 1769, 7734, 1194, 18, 1376, 2932, 1636, 603, 980, 30, 315, 397, 431, 18, 588, 31063, 1435, 397, 315, 1057, 30, 315, 397, 431, 18, 588, 1494, 1854, 10663, 7734, 9433, 2932, 668, 4444, 310, 4319, 8863, 5411, 289, 5411, 1071, 918, 10081, 668, 12, 55, 2501, 13047, 431, 13, 1216, 14366, 288, 7734, 1194, 18, 1376, 2932, 30709, 555, 30, 315, 397, 431, 1769, 7734, 1194, 18, 1376, 2932, 1636, 603, 980, 30, 315, 397, 431, 18, 588, 31063, 1435, 397, 315, 1057, 30, 315, 397, 431, 18, 588, 1494, 1854, 10663, 7734, 9433, 2932, 668, 4444, 310, 4319, 8863, 5411, 289, 3639, 15549, 3639, 1195, 3639, 4319, 997, 273, 446, 31, 13491, 1976, 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, 1262, 1964, 12, 780, 880, 67, 955, 13, 1216, 1185, 288, 3639, 1194, 18, 1376, 2932, 10515, 3460, 30, 315, 397, 880, 67, 955, 1769, 3639, 783, 67, 718, 273, 880, 67, 955, 31, 13491, 30236, 5410, 273, 30236, 18, 2704, 1442, 5621, 3639, 5410, 18, 542, 31496, 12, 3767, 1769, 3639, 4319, 1263, 2089, 273, 5410, 18, 2704, 2519, 1263, 5621, 3639, 2089, 18, 542, 17729, 12, 3085, 18, 1636, 67, 4176, 1769, 20308, 225, 394, 26406, 1435, 288, 5411, 1071, 918, 3436, 12, 55, 2501, 13047, 431, 13, 1216, 14366, 288, 7734, 1194, 18, 1376, 2932, 8551, 30, 315, 397, 431, 1769, 5411, 289, 5411, 1071, 918, 555, 12, 55, 2501, 13047, 431, 13, 2 ]
protected void addPages() { try { MenuManager manager = new MenuManager(); IMenuListener listener = new IMenuListener() { public void menuAboutToShow(IMenuManager manager) { contextMenuAboutToShow(manager); } }; manager.setRemoveAllWhenShown(true); manager.addMenuListener(listener); contextMenu = manager.createContextMenu(getContainer()); getContainer().setMenu(contextMenu); int index = -1; if (getEditorInput() instanceof TaskEditorInput) { addPage(taskPlanningEditor); index++; taskEditorInput = (TaskEditorInput) getEditorInput(); task = taskEditorInput.getTask(); setPartName(taskEditorInput.getLabel()); } int selectedIndex = index; for (ITaskEditorFactory factory : TasksUiPlugin.getDefault().getTaskEditorFactories()) { if ((task != null && factory.canCreateEditorFor(task)) || factory.canCreateEditorFor(getEditorInput())) { try { IEditorPart editor = factory.createEditor(this); IEditorInput input = task != null ? factory.createEditorInput(task) : getEditorInput(); if (editor != null && input != null) { if (editor instanceof AbstractRepositoryTaskEditor) { TaskFormPage repositoryTaskEditor = (TaskFormPage) editor; // repositoryTaskEditor.setParentEditor(this); editor.init(getEditorSite(), input); repositoryTaskEditor.createPartControl(getContainer()); index = addPage(repositoryTaskEditor); if(getEditorInput() instanceof ExistingBugEditorInput) { ExistingBugEditorInput existingInput = (ExistingBugEditorInput)getEditorInput(); setPartName(existingInput.getId()+": "+existingInput.getName()); } } else { index = addPage(editor, input); } selectedIndex = index; setPageText(index++, factory.getTitle()); } // HACK: overwrites if multiple present if (factory.providesOutline()) { contentOutlineProvider = editor; } } catch (Exception e) { MylarStatusHandler.fail(e, "Could not create editor via factory: " + factory, true); } } } String urlToOpen = getUrl(); if (urlToOpen != null && !urlToOpen.equals("")) { browserPageIndex = createBrowserPage(urlToOpen); if (selectedIndex == 0 && taskEditorInput != null && !taskEditorInput.isNewTask()) { selectedIndex = browserPageIndex; } } if (selectedIndex != -1) { setActivePage(selectedIndex); } if (task instanceof AbstractRepositoryTask) { setTitleImage(TaskListImages.getImage(TaskListImages.TASK_REPOSITORY)); } else if(getEditorInput() instanceof AbstractBugEditorInput) { this.setTitleImage(TaskListImages.getImage(TaskListImages.TASK_REMOTE)); } else if (getUrl() != null) { setTitleImage(TaskListImages.getImage(TaskListImages.TASK_WEB)); } } catch (PartInitException e) { MylarStatusHandler.fail(e, "failed to create task editor pages", false); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f8c6bd688afb67785eb13bd8202c8bde35912ccb/MylarTaskEditor.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/MylarTaskEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 527, 5716, 1435, 288, 202, 202, 698, 288, 1082, 202, 4599, 1318, 3301, 273, 394, 9809, 1318, 5621, 1082, 202, 3445, 2104, 2223, 2991, 273, 394, 467, 4599, 2223, 1435, 288, 9506, 202, 482, 918, 3824, 24813, 774, 5706, 12, 3445, 2104, 1318, 3301, 13, 288, 6862, 202, 2472, 4599, 24813, 774, 5706, 12, 4181, 1769, 9506, 202, 97, 1082, 202, 20451, 1082, 202, 4181, 18, 542, 3288, 1595, 9434, 27042, 12, 3767, 1769, 1082, 202, 4181, 18, 1289, 4599, 2223, 12, 12757, 1769, 1082, 202, 2472, 4599, 273, 3301, 18, 2640, 27315, 12, 588, 2170, 10663, 1082, 202, 588, 2170, 7675, 542, 4599, 12, 2472, 4599, 1769, 1082, 202, 474, 770, 273, 300, 21, 31, 1082, 202, 430, 261, 588, 6946, 1210, 1435, 1276, 3837, 6946, 1210, 13, 288, 9506, 202, 1289, 1964, 12, 4146, 1749, 10903, 6946, 1769, 9506, 202, 1615, 9904, 31, 9506, 202, 4146, 6946, 1210, 273, 261, 2174, 6946, 1210, 13, 336, 6946, 1210, 5621, 9506, 202, 4146, 273, 1562, 6946, 1210, 18, 588, 2174, 5621, 9506, 202, 542, 1988, 461, 12, 4146, 6946, 1210, 18, 588, 2224, 10663, 6862, 9506, 202, 97, 25083, 202, 474, 29244, 273, 770, 31, 1082, 202, 1884, 261, 1285, 835, 6946, 1733, 3272, 294, 20350, 13943, 3773, 18, 588, 1868, 7675, 588, 2174, 6946, 19271, 10756, 288, 9506, 202, 430, 14015, 4146, 480, 446, 597, 3272, 18, 4169, 1684, 6946, 1290, 12, 4146, 3719, 747, 3272, 18, 4169, 1684, 6946, 1290, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 527, 5716, 1435, 288, 202, 202, 698, 288, 1082, 202, 4599, 1318, 3301, 273, 394, 9809, 1318, 5621, 1082, 202, 3445, 2104, 2223, 2991, 273, 394, 467, 4599, 2223, 1435, 288, 9506, 202, 482, 918, 3824, 24813, 774, 5706, 12, 3445, 2104, 1318, 3301, 13, 288, 6862, 202, 2472, 4599, 24813, 774, 5706, 12, 4181, 1769, 9506, 202, 97, 1082, 202, 20451, 1082, 202, 4181, 18, 542, 3288, 1595, 9434, 27042, 12, 3767, 1769, 1082, 202, 4181, 18, 1289, 4599, 2223, 12, 12757, 1769, 1082, 202, 2472, 4599, 273, 3301, 18, 2640, 27315, 12, 588, 2170, 10663, 1082, 202, 588, 2170, 7675, 542, 4599, 12, 2472, 4599, 1769, 1082, 202, 474, 770, 273, 300, 21, 2 ]
errors.inc(new Integer(e.mode), ((SingleFileFetcher)state).getRetryCount());
errors.inc(new Integer(e.mode), state == null ? 1 : ((SingleFileFetcher)state).getRetryCount());
public synchronized void onFailure(FetchException e, ClientGetState state) { Integer token = (Integer) ((SingleFileFetcher)state).getToken(); int blockNo = token.intValue(); if(blockNo < dataBlocks.length) { if(dataBlocks[blockNo] == null) { Logger.error(this, "Block already finished: "+blockNo); return; } dataBlocks[blockNo] = null; } else if(blockNo < checkBlocks.length) { if(checkBlocks[blockNo-dataBlocks.length] == null) { Logger.error(this, "Block already finished: "+blockNo); return; } checkBlocks[blockNo-dataBlocks.length] = null; } else Logger.error(this, "Unrecognized block number: "+blockNo, new Exception("error")); // :( Logger.minor(this, "Permanently failed: "+state+" on "+this); if(e.isFatal()) fatallyFailedBlocks++; else failedBlocks++; // FIXME this may not be accurate across all the retries? if(e.errorCodes != null) errors.merge(e.errorCodes); else errors.inc(new Integer(e.mode), ((SingleFileFetcher)state).getRetryCount()); if(failedBlocks + fatallyFailedBlocks > (dataBlocks.length + checkBlocks.length - minFetched)) { fail(new FetchException(FetchException.SPLITFILE_ERROR, errors)); } }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/f1e1ccfc4cacd0065808ad5458fabedc486f2ca2/SplitFileFetcherSegment.java/clean/src/freenet/client/async/SplitFileFetcherSegment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 27748, 12, 5005, 503, 425, 16, 2445, 967, 1119, 919, 13, 288, 202, 202, 4522, 1147, 273, 261, 4522, 13, 14015, 5281, 812, 16855, 13, 2019, 2934, 588, 1345, 5621, 202, 202, 474, 1203, 2279, 273, 1147, 18, 474, 620, 5621, 202, 202, 430, 12, 2629, 2279, 411, 501, 6450, 18, 2469, 13, 288, 1082, 202, 430, 12, 892, 6450, 63, 2629, 2279, 65, 422, 446, 13, 288, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 1768, 1818, 6708, 30, 13773, 2629, 2279, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 892, 6450, 63, 2629, 2279, 65, 273, 446, 31, 202, 202, 97, 469, 309, 12, 2629, 2279, 411, 866, 6450, 18, 2469, 13, 288, 1082, 202, 430, 12, 1893, 6450, 63, 2629, 2279, 17, 892, 6450, 18, 2469, 65, 422, 446, 13, 288, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 1768, 1818, 6708, 30, 13773, 2629, 2279, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 1893, 6450, 63, 2629, 2279, 17, 892, 6450, 18, 2469, 65, 273, 446, 31, 202, 202, 97, 469, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 19648, 1203, 1300, 30, 13773, 2629, 2279, 16, 394, 1185, 2932, 1636, 7923, 1769, 202, 202, 759, 294, 12, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 24159, 715, 2535, 30, 13773, 2019, 9078, 603, 13773, 2211, 1769, 202, 202, 430, 12, 73, 18, 291, 19593, 10756, 1082, 202, 74, 270, 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, 3852, 918, 27748, 12, 5005, 503, 425, 16, 2445, 967, 1119, 919, 13, 288, 202, 202, 4522, 1147, 273, 261, 4522, 13, 14015, 5281, 812, 16855, 13, 2019, 2934, 588, 1345, 5621, 202, 202, 474, 1203, 2279, 273, 1147, 18, 474, 620, 5621, 202, 202, 430, 12, 2629, 2279, 411, 501, 6450, 18, 2469, 13, 288, 1082, 202, 430, 12, 892, 6450, 63, 2629, 2279, 65, 422, 446, 13, 288, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 1768, 1818, 6708, 30, 13773, 2629, 2279, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 892, 6450, 63, 2629, 2279, 65, 273, 446, 31, 202, 202, 97, 469, 309, 12, 2629, 2279, 411, 866, 6450, 2 ]
public void translate(ClassGenerator classGen, MethodGenerator methodGen) { final Stylesheet stylesheet = classGen.getStylesheet(); final ConstantPoolGen cpg = classGen.getConstantPool(); final InstructionList il = methodGen.getInstructionList(); // Push a new parameter frame if (stylesheet.hasLocalParams() || hasContents()) { il.append(classGen.loadTranslet()); // push param frame il.append(new INVOKEVIRTUAL(cpg.addMethodref(TRANSLET_CLASS, PUSH_PARAM_FRAME, PUSH_PARAM_FRAME_SIG) )); // translate with-params translateContents(classGen, methodGen); } final String className = stylesheet.getClassName(); // Generate a valid Java method name String methodName = _name.toString(); methodName = methodName.replace('.', '$'); methodName = methodName.replace('-', '$'); il.append(classGen.loadTranslet()); il.append(methodGen.loadDOM()); il.append(methodGen.loadIterator()); il.append(methodGen.loadHandler()); il.append(methodGen.loadCurrentNode()); il.append(new INVOKEVIRTUAL(cpg.addMethodref(className, methodName, "(" + DOM_INTF_SIG + NODE_ITERATOR_SIG + TRANSLET_OUTPUT_SIG + NODE_SIG +")V"))); // Pop parameter frame if (stylesheet.hasLocalParams() || hasContents()) { il.append(classGen.loadTranslet()); // pop param frame il.append(new INVOKEVIRTUAL(cpg.addMethodref(TRANSLET_CLASS, POP_PARAM_FRAME, POP_PARAM_FRAME_SIG) )); } }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/e3296098c50df9e4a5c3e7109a406fe731973984/CallTemplate.java/clean/src/org/apache/xalan/xsltc/compiler/CallTemplate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4204, 12, 797, 3908, 667, 7642, 16, 2985, 3908, 707, 7642, 13, 288, 202, 6385, 29483, 2963, 13820, 273, 667, 7642, 18, 588, 24656, 5621, 202, 6385, 10551, 2864, 7642, 3283, 75, 273, 667, 7642, 18, 588, 6902, 2864, 5621, 202, 6385, 24605, 682, 14254, 273, 707, 7642, 18, 588, 11983, 682, 5621, 202, 759, 8547, 279, 394, 1569, 2623, 202, 430, 261, 19403, 18, 5332, 2042, 1370, 1435, 747, 711, 6323, 10756, 288, 202, 565, 14254, 18, 6923, 12, 1106, 7642, 18, 945, 1429, 1810, 10663, 368, 1817, 579, 2623, 202, 565, 14254, 18, 6923, 12, 2704, 29666, 26854, 12, 4057, 75, 18, 1289, 1305, 1734, 12, 16596, 15146, 67, 5237, 16, 20982, 28591, 67, 8388, 67, 15072, 16, 6862, 9506, 28591, 67, 8388, 67, 15072, 67, 18513, 13, 6862, 202, 10019, 202, 565, 368, 4204, 598, 17, 2010, 202, 565, 4204, 6323, 12, 1106, 7642, 16, 707, 7642, 1769, 202, 97, 202, 6385, 514, 2658, 273, 13820, 18, 588, 3834, 5621, 202, 759, 6654, 279, 923, 5110, 707, 508, 202, 780, 4918, 273, 389, 529, 18, 10492, 5621, 202, 2039, 461, 273, 4918, 18, 2079, 2668, 1093, 16, 3365, 8284, 202, 2039, 461, 273, 4918, 18, 2079, 2668, 17, 2187, 3365, 8284, 202, 330, 18, 6923, 12, 1106, 7642, 18, 945, 1429, 1810, 10663, 202, 330, 18, 6923, 12, 2039, 7642, 18, 945, 8168, 10663, 202, 330, 18, 6923, 12, 2039, 7642, 18, 945, 3198, 10663, 202, 330, 18, 6923, 12, 2039, 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, 4204, 12, 797, 3908, 667, 7642, 16, 2985, 3908, 707, 7642, 13, 288, 202, 6385, 29483, 2963, 13820, 273, 667, 7642, 18, 588, 24656, 5621, 202, 6385, 10551, 2864, 7642, 3283, 75, 273, 667, 7642, 18, 588, 6902, 2864, 5621, 202, 6385, 24605, 682, 14254, 273, 707, 7642, 18, 588, 11983, 682, 5621, 202, 759, 8547, 279, 394, 1569, 2623, 202, 430, 261, 19403, 18, 5332, 2042, 1370, 1435, 747, 711, 6323, 10756, 288, 202, 565, 14254, 18, 6923, 12, 1106, 7642, 18, 945, 1429, 1810, 10663, 368, 1817, 579, 2623, 202, 565, 14254, 18, 6923, 12, 2704, 29666, 26854, 12, 4057, 75, 18, 1289, 1305, 1734, 12, 16596, 15146, 67, 5237, 16, 20982, 28591, 67, 2 ]
Float loadValue = SystemCollections.getLoadInfo().getLoadScoreValue(loadScore); String formula = SystemCollections.getLoadInfo().getLoadModifierFormula(); if (formula.length() != 0) { formula = CoreUtility.replaceAll(formula, "$$SCORE$$", new Float(loadValue.doubleValue() * getLoadMultForSize(aPC)).toString()); return new Float(aPC.getVariableValue(formula, "").intValue()); } return new Float(loadValue.doubleValue() * getLoadMultForSize(aPC));
return maxLoadForLoadScore(loadScore, aPC, new Float(1.0));
public static Float maxLoadForLoadScore(final int loadScore, final PlayerCharacter aPC) { Float loadValue = SystemCollections.getLoadInfo().getLoadScoreValue(loadScore); String formula = SystemCollections.getLoadInfo().getLoadModifierFormula(); if (formula.length() != 0) { formula = CoreUtility.replaceAll(formula, "$$SCORE$$", new Float(loadValue.doubleValue() * getLoadMultForSize(aPC)).toString()); return new Float(aPC.getVariableValue(formula, "").intValue()); } return new Float(loadValue.doubleValue() * getLoadMultForSize(aPC)); }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/Globals.java/clean/code/src/java/pcgen/core/Globals.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 5450, 943, 2563, 1290, 2563, 7295, 12, 6385, 509, 1262, 7295, 16, 727, 19185, 7069, 279, 3513, 13, 202, 95, 202, 202, 4723, 1262, 620, 273, 2332, 15150, 18, 588, 2563, 966, 7675, 588, 2563, 7295, 620, 12, 945, 7295, 1769, 202, 202, 780, 8013, 273, 2332, 15150, 18, 588, 2563, 966, 7675, 588, 2563, 9829, 14972, 5621, 202, 202, 430, 261, 18203, 18, 2469, 1435, 480, 374, 13, 202, 202, 95, 1082, 202, 18203, 273, 4586, 6497, 18, 2079, 1595, 12, 18203, 16, 4662, 8, 28520, 16547, 3113, 394, 5450, 12, 945, 620, 18, 9056, 620, 1435, 380, 336, 2563, 5049, 1290, 1225, 12, 69, 3513, 13, 2934, 10492, 10663, 1082, 202, 2463, 394, 5450, 12, 69, 3513, 18, 588, 3092, 620, 12, 18203, 16, 1408, 2934, 474, 620, 10663, 202, 202, 97, 202, 202, 2463, 394, 5450, 12, 945, 620, 18, 9056, 620, 1435, 380, 336, 2563, 5049, 1290, 1225, 12, 69, 3513, 10019, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 5450, 943, 2563, 1290, 2563, 7295, 12, 6385, 509, 1262, 7295, 16, 727, 19185, 7069, 279, 3513, 13, 202, 95, 202, 202, 4723, 1262, 620, 273, 2332, 15150, 18, 588, 2563, 966, 7675, 588, 2563, 7295, 620, 12, 945, 7295, 1769, 202, 202, 780, 8013, 273, 2332, 15150, 18, 588, 2563, 966, 7675, 588, 2563, 9829, 14972, 5621, 202, 202, 430, 261, 18203, 18, 2469, 1435, 480, 374, 13, 202, 202, 95, 1082, 202, 18203, 273, 4586, 6497, 18, 2079, 1595, 12, 18203, 16, 4662, 8, 28520, 16547, 3113, 394, 5450, 12, 945, 620, 18, 9056, 620, 1435, 380, 336, 2563, 5049, 1290, 1225, 12, 69, 3513, 13, 2934, 10492, 10663, 1082, 202, 2463, 394, 2 ]
public int seek(int n, int whence) throws IOException { switch(whence) { case SEEK_SET: break; case SEEK_CUR: n += data.pos(); break; case SEEK_END: n += data.length(); break; default: return -1;
public int seek(int n, int whence) throws ErrnoException { try { switch(whence) { case SEEK_SET: break; case SEEK_CUR: n += data.pos(); break; case SEEK_END: n += data.length(); break; default: return -1; } data.seek(n); return n; } catch(IOException e) { throw new ErrnoException(ESPIPE);
public int seek(int n, int whence) throws IOException { switch(whence) { case SEEK_SET: break; case SEEK_CUR: n += data.pos(); break; case SEEK_END: n += data.length(); break; default: return -1; } data.seek(n); return n; }
34858 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/34858/98f786ce8ee1fcd9568d1c367160851d32e1c786/Runtime.java/buggy/src/org/ibex/nestedvm/Runtime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 509, 6520, 12, 474, 290, 16, 509, 23692, 13, 1216, 1860, 288, 5411, 1620, 12, 3350, 802, 13, 288, 7734, 648, 19201, 67, 4043, 30, 898, 31, 7734, 648, 19201, 67, 7509, 30, 290, 1011, 501, 18, 917, 5621, 898, 31, 7734, 648, 19201, 67, 4415, 30, 290, 1011, 501, 18, 2469, 5621, 898, 31, 7734, 805, 30, 327, 300, 21, 31, 5411, 289, 5411, 501, 18, 16508, 12, 82, 1769, 5411, 327, 290, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 509, 6520, 12, 474, 290, 16, 509, 23692, 13, 1216, 1860, 288, 5411, 1620, 12, 3350, 802, 13, 288, 7734, 648, 19201, 67, 4043, 30, 898, 31, 7734, 648, 19201, 67, 7509, 30, 290, 1011, 501, 18, 917, 5621, 898, 31, 7734, 648, 19201, 67, 4415, 30, 290, 1011, 501, 18, 2469, 5621, 898, 31, 7734, 805, 30, 327, 300, 21, 31, 5411, 289, 5411, 501, 18, 16508, 12, 82, 1769, 5411, 327, 290, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
handleMessage(ms.getMessage(), ms.getSeverity(), provider);
handleMessage(ms.fMessage, ms.fSeverity, ms.fShowField, provider);
private static boolean imageEntryInternalValidate(IEditorValidationProvider provider, IProduct product, ValidationInfo info, int validationType) { if (containsEmptyField(provider)) return true; ImageData[] idata = getImageData(provider, product); if (idata == null) return false; ValidationMessage ms = null; switch(validationType) { case F_MAX_IMAGE_SIZE: ms = getMS_maxImageSize(idata[0], info.maxWidth, info.maxHeight, info.warningWidth, info.warningHeight); break; case F_ICO_IMAGE: ms = getMS_icoImage(idata); break; case F_IMAGE_DEPTH: // do not break after F_IMAGEDEPTH since we are also checking exact size ms = getMS_imageDepth(idata[0], info.requiredDepth); case F_EXACT_IMAGE_SIZE: if (ms == null) ms = getMS_exactImageSize(idata[0], info.maxWidth, info.maxHeight); break; } if (ms != null) handleMessage(ms.getMessage(), ms.getSeverity(), provider); return ms == null; }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/fb8c4ef1d26d1835feb42f13714640021ce078d5/EditorUtilities.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/EditorUtilities.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 1316, 1622, 3061, 4270, 12, 45, 6946, 4354, 2249, 2893, 16, 467, 4133, 3017, 16, 5684, 966, 1123, 16, 509, 3379, 559, 13, 288, 202, 202, 430, 261, 12298, 1921, 974, 12, 6778, 3719, 1082, 202, 2463, 638, 31, 202, 202, 2040, 751, 8526, 612, 396, 273, 10567, 751, 12, 6778, 16, 3017, 1769, 202, 202, 430, 261, 350, 396, 422, 446, 13, 1082, 202, 2463, 629, 31, 9506, 202, 4354, 1079, 4086, 273, 446, 31, 202, 202, 9610, 12, 8685, 559, 13, 288, 202, 202, 3593, 478, 67, 6694, 67, 13603, 67, 4574, 30, 1082, 202, 959, 273, 2108, 55, 67, 1896, 28576, 12, 350, 396, 63, 20, 6487, 1123, 18, 1896, 2384, 16, 1123, 18, 1896, 2686, 16, 1123, 18, 8551, 2384, 16, 1123, 18, 8551, 2686, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 478, 67, 2871, 51, 67, 13603, 30, 1082, 202, 959, 273, 2108, 55, 67, 10764, 2040, 12, 350, 396, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 478, 67, 13603, 67, 27479, 30, 368, 741, 486, 898, 1839, 478, 67, 13603, 27479, 3241, 732, 854, 2546, 6728, 5565, 963, 1082, 202, 959, 273, 2108, 55, 67, 2730, 6148, 12, 350, 396, 63, 20, 6487, 1123, 18, 4718, 6148, 1769, 202, 202, 3593, 478, 67, 2294, 6526, 67, 13603, 67, 4574, 30, 1082, 202, 430, 261, 959, 422, 446, 13, 9506, 202, 959, 273, 2108, 55, 67, 17165, 28576, 12, 350, 396, 63, 20, 6487, 1123, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 1316, 1622, 3061, 4270, 12, 45, 6946, 4354, 2249, 2893, 16, 467, 4133, 3017, 16, 5684, 966, 1123, 16, 509, 3379, 559, 13, 288, 202, 202, 430, 261, 12298, 1921, 974, 12, 6778, 3719, 1082, 202, 2463, 638, 31, 202, 202, 2040, 751, 8526, 612, 396, 273, 10567, 751, 12, 6778, 16, 3017, 1769, 202, 202, 430, 261, 350, 396, 422, 446, 13, 1082, 202, 2463, 629, 31, 9506, 202, 4354, 1079, 4086, 273, 446, 31, 202, 202, 9610, 12, 8685, 559, 13, 288, 202, 202, 3593, 478, 67, 6694, 67, 13603, 67, 4574, 30, 1082, 202, 959, 273, 2108, 55, 67, 1896, 28576, 12, 350, 396, 63, 20, 6487, 1123, 18, 1896, 2384, 2 ]
InteractionEvent interactionEvent = InteractionEvent.makeCommand(getWindowOrigin(window), WINDOW_DEACTIVATED); MylarPlugin.getDefault().notifyInteractionObserved(interactionEvent);
public void windowDeactivated(IWorkbenchWindow window) { // Do nothing }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/e5dab796c6efd0dc2b845a7eaada8eb3254ee0c8/WindowChangeMonitor.java/buggy/org.eclipse.mylyn.monitor.ui/src/org/eclipse/mylyn/internal/monitor/monitors/WindowChangeMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 17419, 1133, 13581, 1133, 273, 5294, 1128, 1133, 18, 6540, 2189, 12, 588, 3829, 7571, 12, 5668, 3631, 24482, 7306, 67, 1639, 22271, 6344, 1769, 8005, 7901, 3773, 18, 588, 1868, 7675, 12336, 17419, 9013, 2155, 12, 30303, 1133, 1769, 918, 17419, 1133, 13581, 1133, 273, 5294, 1128, 1133, 18, 6540, 2189, 12, 588, 3829, 7571, 12, 5668, 3631, 24482, 7306, 67, 1639, 22271, 6344, 1769, 8005, 7901, 3773, 18, 588, 1868, 7675, 12336, 17419, 9013, 2155, 12, 30303, 1133, 1769, 2742, 758, 18836, 12, 45, 2421, 22144, 3829, 17419, 1133, 13581, 1133, 273, 5294, 1128, 1133, 18, 6540, 2189, 12, 588, 3829, 7571, 12, 5668, 3631, 24482, 7306, 67, 1639, 22271, 6344, 1769, 8005, 7901, 3773, 18, 588, 1868, 7675, 12336, 17419, 9013, 2155, 12, 30303, 1133, 1769, 2742, 13, 17419, 1133, 13581, 1133, 273, 5294, 1128, 1133, 18, 6540, 2189, 12, 588, 3829, 7571, 12, 5668, 3631, 24482, 7306, 67, 1639, 22271, 6344, 1769, 8005, 7901, 3773, 18, 588, 1868, 7675, 12336, 17419, 9013, 2155, 12, 30303, 1133, 1769, 288, 202, 202, 759, 17419, 1133, 13581, 1133, 273, 5294, 1128, 1133, 18, 6540, 2189, 12, 588, 3829, 7571, 12, 5668, 3631, 24482, 7306, 67, 1639, 22271, 6344, 1769, 8005, 7901, 3773, 18, 588, 1868, 7675, 12336, 17419, 9013, 2155, 12, 30303, 1133, 1769, 2256, 17419, 1133, 13581, 1133, 273, 5294, 1128, 1133, 18, 6540, 2189, 12, 588, 3829, 7571, 12, 5668, 3631, 24482, 7306, 67, 1639, 22271, 6344, 1769, 8005, 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, 482, 17419, 1133, 13581, 1133, 273, 5294, 1128, 1133, 18, 6540, 2189, 12, 588, 3829, 7571, 12, 5668, 3631, 24482, 7306, 67, 1639, 22271, 6344, 1769, 8005, 7901, 3773, 18, 588, 1868, 7675, 12336, 17419, 9013, 2155, 12, 30303, 1133, 1769, 918, 17419, 1133, 13581, 1133, 273, 5294, 1128, 1133, 18, 6540, 2189, 12, 588, 3829, 7571, 12, 5668, 3631, 24482, 7306, 67, 1639, 22271, 6344, 1769, 8005, 7901, 3773, 18, 588, 1868, 7675, 12336, 17419, 9013, 2155, 12, 30303, 1133, 1769, 2742, 758, 18836, 12, 45, 2421, 22144, 3829, 17419, 1133, 13581, 1133, 273, 5294, 1128, 1133, 18, 6540, 2189, 12, 588, 3829, 7571, 12, 5668, 3631, 24482, 7306, 67, 1639, 22271, 6344, 1769, 8005, 7901, 2 ]
rv.addLast(pnick);
rv.addLast(pnick);
public LinkedList nickCompleteAll(String pnick, String channel) { LinkedList rv = new LinkedList(); if (getChannel(channel) != null) { Set users = getChannel(channel).getAllUsers(); Iterator i = users.iterator(); while (i.hasNext()) { User temp = (User)i.next(); if (temp.getNick().length() >= pnick.length()) { if (temp.getNick().toLowerCase().substring(0, pnick.length()).equals(pnick.toLowerCase())) { rv.addFirst(temp.getNick()); } else if (temp.getNick().toLowerCase().indexOf(pnick.toLowerCase()) > -1 && (!temp.getNick().toLowerCase().equals(getMyNick().toLowerCase()))) { rv.addLast(temp.getNick()); } } } } rv.addLast(pnick); return rv; }
12160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12160/40a96df91c6aa5499068a15d7923454620c58a1f/InternalDataList.java/clean/rero/src/rero/ircfw/InternalDataList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10688, 10909, 6322, 1595, 12, 780, 11059, 1200, 16, 514, 1904, 13, 565, 288, 4202, 10688, 5633, 273, 394, 10688, 5621, 4202, 309, 261, 588, 2909, 12, 4327, 13, 480, 446, 13, 4202, 288, 1850, 1000, 3677, 273, 16454, 12, 4327, 2934, 588, 1595, 6588, 5621, 1850, 4498, 277, 273, 3677, 18, 9838, 5621, 1850, 1323, 261, 77, 18, 5332, 2134, 10756, 1850, 288, 2398, 2177, 1906, 273, 261, 1299, 13, 77, 18, 4285, 5621, 2398, 309, 261, 5814, 18, 588, 29756, 7675, 2469, 1435, 1545, 11059, 1200, 18, 2469, 10756, 2398, 288, 7734, 309, 261, 5814, 18, 588, 29756, 7675, 869, 5630, 7675, 28023, 12, 20, 16, 11059, 1200, 18, 2469, 1435, 2934, 14963, 12, 7449, 1200, 18, 869, 5630, 1435, 3719, 7734, 288, 10402, 5633, 18, 1289, 3759, 12, 5814, 18, 588, 29756, 10663, 7734, 289, 7734, 469, 309, 261, 5814, 18, 588, 29756, 7675, 869, 5630, 7675, 31806, 12, 7449, 1200, 18, 869, 5630, 10756, 405, 300, 21, 597, 16051, 5814, 18, 588, 29756, 7675, 869, 5630, 7675, 14963, 12, 588, 12062, 29756, 7675, 869, 5630, 1435, 20349, 7734, 288, 10402, 5633, 18, 1289, 3024, 12, 5814, 18, 588, 29756, 10663, 7734, 289, 2398, 289, 1850, 289, 4202, 289, 4202, 5633, 18, 1289, 3024, 12, 7449, 1200, 1769, 4202, 327, 5633, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10688, 10909, 6322, 1595, 12, 780, 11059, 1200, 16, 514, 1904, 13, 565, 288, 4202, 10688, 5633, 273, 394, 10688, 5621, 4202, 309, 261, 588, 2909, 12, 4327, 13, 480, 446, 13, 4202, 288, 1850, 1000, 3677, 273, 16454, 12, 4327, 2934, 588, 1595, 6588, 5621, 1850, 4498, 277, 273, 3677, 18, 9838, 5621, 1850, 1323, 261, 77, 18, 5332, 2134, 10756, 1850, 288, 2398, 2177, 1906, 273, 261, 1299, 13, 77, 18, 4285, 5621, 2398, 309, 261, 5814, 18, 588, 29756, 7675, 2469, 1435, 1545, 11059, 1200, 18, 2469, 10756, 2398, 288, 7734, 309, 261, 5814, 18, 588, 29756, 7675, 869, 5630, 7675, 28023, 12, 20, 16, 11059, 1200, 18, 2469, 1435, 2934, 14963, 12, 7449, 2 ]
protected IStatus computeMoveOrCopyStatus() { // Check for error conditions first so that we do not prompt the user // on warnings that eventually will not matter anyway. if (resources == null || !hasDestinationPath()) { markInvalid(); return getErrorStatus(UndoMessages.AbstractResourcesOperation_NotEnoughInfo); } for (int i = 0; i < resources.length; i++) { IResource resource = resources[i]; // Does the resource still exist? if (!resource.exists()) { markInvalid(); return getErrorStatus(UndoMessages.MoveOrCopyResourceOperation_ResourceDoesNotExist); } // Are we really trying to move it to a different name? IPath proposedPath = getDestinationPath(resource, i, false); if (resource.getFullPath().equals(proposedPath)) { markInvalid(); return getErrorStatus(UndoMessages.MoveOrCopyResourceOperation_SameNameOrLocation); } // Is the proposed name valid? IStatus status = getWorkspace().validateName( proposedPath.lastSegment(), resource.getType()); if (status.getSeverity() == IStatus.ERROR) { markInvalid(); } if (!status.isOK()) { return status; } } for (int i = 0; i < resources.length; i++) { // No error conditions. Check and warn for any overwrites that may // occur. IResource newResource = null; if (resources[i].getType() == IResource.PROJECT) { // Projects may be moved to a new location or copied to a new // name. To cover both cases, we consider matching location // paths, including name, to represent an overwrite. IPath proposedPath = getDestinationPath(resources[i], i, true); IPath existingPath = resources[i].getLocation().append( resources[i].getName()); if (proposedPath.equals(existingPath)) { newResource = resources[i]; } } else { IPath proposedPath = getDestinationPath(resources[i], i, false); newResource = getWorkspace().getRoot().findMember(proposedPath); } if (newResource != null) { int result = queryOverwrite(newResource, null); if (result == IDialogConstants.YES_TO_ALL_ID) { return Status.OK_STATUS; } else if (result == IDialogConstants.CANCEL_ID) { return Status.CANCEL_STATUS; } else if (result == IDialogConstants.NO_ID) { markInvalid(); return getErrorStatus(UndoMessages.AbstractResourcesOperation_overwriteError); } // Otherwise (YES_ID) we continue checking each one // individually. } } return Status.OK_STATUS; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/97ef6dcf33ba5bdca2e9f1069bc34ae96b207337/AbstractCopyOrMoveResourcesOperation.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/undo/AbstractCopyOrMoveResourcesOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 1482, 3671, 7607, 1162, 2951, 1482, 1435, 288, 202, 202, 759, 2073, 364, 555, 4636, 1122, 1427, 716, 732, 741, 486, 6866, 326, 729, 202, 202, 759, 603, 5599, 716, 18011, 903, 486, 15177, 13466, 18, 202, 202, 430, 261, 4683, 422, 446, 747, 401, 5332, 5683, 743, 10756, 288, 1082, 202, 3355, 1941, 5621, 1082, 202, 2463, 7926, 1482, 12, 31224, 5058, 18, 7469, 3805, 2988, 67, 1248, 664, 4966, 966, 1769, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2703, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 1420, 1058, 273, 2703, 63, 77, 15533, 1082, 202, 759, 9637, 326, 1058, 4859, 1005, 35, 1082, 202, 430, 16051, 3146, 18, 1808, 10756, 288, 9506, 202, 3355, 1941, 5621, 9506, 202, 2463, 7926, 1482, 12, 31224, 5058, 18, 7607, 1162, 2951, 1420, 2988, 67, 1420, 15264, 1769, 1082, 202, 97, 1082, 202, 759, 12520, 732, 8654, 8374, 358, 3635, 518, 358, 279, 3775, 508, 35, 1082, 202, 45, 743, 20084, 743, 273, 17611, 743, 12, 3146, 16, 277, 16, 629, 1769, 1082, 202, 430, 261, 3146, 18, 588, 24173, 7675, 14963, 12, 685, 7423, 743, 3719, 288, 9506, 202, 3355, 1941, 5621, 9506, 202, 2463, 7926, 1482, 12, 31224, 5058, 18, 7607, 1162, 2951, 1420, 2988, 67, 8650, 461, 1162, 2735, 1769, 1082, 202, 97, 1082, 202, 759, 2585, 326, 20084, 508, 923, 35, 1082, 202, 45, 1482, 1267, 273, 20280, 7675, 5662, 461, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 1482, 3671, 7607, 1162, 2951, 1482, 1435, 288, 202, 202, 759, 2073, 364, 555, 4636, 1122, 1427, 716, 732, 741, 486, 6866, 326, 729, 202, 202, 759, 603, 5599, 716, 18011, 903, 486, 15177, 13466, 18, 202, 202, 430, 261, 4683, 422, 446, 747, 401, 5332, 5683, 743, 10756, 288, 1082, 202, 3355, 1941, 5621, 1082, 202, 2463, 7926, 1482, 12, 31224, 5058, 18, 7469, 3805, 2988, 67, 1248, 664, 4966, 966, 1769, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2703, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 1420, 1058, 273, 2703, 63, 77, 15533, 1082, 202, 759, 9637, 326, 1058, 4859, 1005, 35, 1082, 202, 2 ]
break;
continue Loop;
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; String[] strings = idata.itsStringTable; int pc = 0; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; Loop: for (;;) { try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); int pcNew = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcNew >= 0) { // Has catch block doCatch = true; } } if (pcNew < 0) { pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcNew < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // Notify instruction observer if necessary // and point pc and pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = pcNew; continue Loop; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); javaException = new JavaScriptException(value, idata.itsSourceFile, sourceLine); exceptionPC = pc - 1; if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getJavaCatchPC(iCode); continue Loop; } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); stack[stackTop--] = null; continue Loop; } pc += 2; break; } case Token.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_RETSUB : { int slot = (iCode[pc] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 1 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } int newPC; Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; newPC = getJavaCatchPC(iCode); } else { // Normal return from GOSUB newPC = (int)sDbl[LOCAL_SHFT + slot]; } pcPrevBranch = pc = newPC; continue Loop; } case Token.POP : stack[stackTop] = null; stackTop--; break; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; break; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; break; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; break; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; break; } case Token.BINDNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; } case Token.SETNAME : { String name = strings[getIndex(iCode, pc)]; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, name); pc += 2; break; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); break; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case Icode_PROPINC : case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, name, scope, op == Icode_PROPINC); break; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); break; } case Token.LOCAL_SAVE : { int slot = (iCode[pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; --stackTop; ++pc; break; } case Token.LOCAL_LOAD : { int slot = (iCode[pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; ++pc; break; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); int count = getIndex(iCode, pc + 4); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 6; break; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; } case Icode_TYPEOFNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; } case Icode_NAME_AND_THIS : { String name = strings[getIndex(iCode, pc)]; boolean skipGetThis = (0 != iCode[pc + 2]); stackTop = do_nameAndThis(stack, stackTop, scope, name, skipGetThis); pc += 3; break; } case Token.STRING : stack[++stackTop] = strings[getIndex(iCode, pc)]; pc += 2; break; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; break; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; break; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc)]; pc += 2; break; case Token.NAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.name(scope, name); pc += 2; break; } case Icode_NAMEINC : case Icode_NAMEDEC : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, name, op == Icode_NAMEINC); pc += 2; break; } case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; break; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case Token.NULL : stack[++stackTop] = null; break; case Token.THIS : stack[++stackTop] = thisObj; break; case Token.THISFN : stack[++stackTop] = fnOrScript; break; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; break; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; break; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; break; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; break; case Token.CATCH_SCOPE : { String name = strings[getIndex(iCode, pc)]; stack[stackTop] = ScriptRuntime.newCatchScope(name, stack[stackTop]); pc += 2; break; } case Token.ENUM_INIT : { int slot = (iCode[pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.enumInit(lhs, scope); ++pc; break; } case Token.ENUM_NEXT : case Token.ENUM_ID : { int slot = (iCode[pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); ++pc; break; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); break; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; break; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; break; } case Icode_SCOPE : stack[++stackTop] = scope; break; case Icode_CLOSURE : { int i = getIndex(iCode, pc); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; break; } case Token.REGEXP : { int i = getIndex(iCode, pc); Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[i]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[i]; } stack[++stackTop] = regexp; pc += 2; break; } case Icode_LITERAL_NEW : { int i = getInt(iCode, pc); ++stackTop; stack[stackTop] = new Object[i]; sDbl[stackTop] = 0; pc += 4; break; } case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; break; } case Token.ARRAYLIT : case Token.OBJECTLIT : { int offset = getInt(iCode, pc); Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.ARRAYLIT) { int[] skipIndexces = null; if (offset >= 0) { skipIndexces = (int[])idata.literalIds[offset]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } else { Object[] ids = (Object[])idata.literalIds[offset]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } stack[stackTop] = val; pc += 4; break; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; break; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } // end of interpreter switch } } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } javaException = ex; exceptionPC = pc; pc = getJavaCatchPC(iCode); continue Loop; } } cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/34e9dc56b7553f450b9015c8f4135584139686cf/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
long[] data = new long[170];
long[] data = new long[18];
private static final long[] mk_tokenSet_22() { long[] data = new long[170]; data[0]=-9223372036854775294L; data[5]=281474976710656L; data[7]=4611686018427392000L; return data; }
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, 1152, 760, 727, 1525, 8526, 5028, 67, 2316, 694, 67, 3787, 1435, 288, 202, 202, 5748, 8526, 501, 273, 394, 1525, 63, 31779, 15533, 202, 202, 892, 63, 20, 65, 29711, 29, 3787, 3707, 27, 3462, 5718, 28, 6564, 27714, 5540, 24, 48, 31, 202, 202, 892, 63, 25, 65, 33, 6030, 3461, 5608, 29, 6669, 27, 22135, 4313, 48, 31, 202, 202, 892, 63, 27, 65, 33, 8749, 20562, 14181, 5193, 5324, 5520, 17172, 48, 31, 202, 202, 2463, 501, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1152, 760, 727, 1525, 8526, 5028, 67, 2316, 694, 67, 3787, 1435, 288, 202, 202, 5748, 8526, 501, 273, 394, 1525, 63, 31779, 15533, 202, 202, 892, 63, 20, 65, 29711, 29, 3787, 3707, 27, 3462, 5718, 28, 6564, 27714, 5540, 24, 48, 31, 202, 202, 892, 63, 25, 65, 33, 6030, 3461, 5608, 29, 6669, 27, 22135, 4313, 48, 31, 202, 202, 892, 63, 27, 65, 33, 8749, 20562, 14181, 5193, 5324, 5520, 17172, 48, 31, 202, 202, 2463, 501, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
parent = t.getParentNCBITaxID(); } else parent = null;
if (t.getParentNCBITaxID().equals(new Integer(t.getNCBITaxID()))) parent = null; else parent = t.getParentNCBITaxID(); } else parent = null;
public String getNameHierarchy() { StringBuffer sb = new StringBuffer(); boolean first = true; Integer parent = this.getParentNCBITaxID(); while (parent!=null) { NCBITaxon t = (NCBITaxon)RichObjectFactory.getObject(SimpleNCBITaxon.class, new Object[]{parent}); Set sciNames = t.getNames(NCBITaxon.SCIENTIFIC); if (sciNames.size()>0) { if (!first) sb.insert(0,"; "); else first = false; sb.insert(0,(String)sciNames.iterator().next()); parent = t.getParentNCBITaxID(); } else parent = null; } sb.append("."); return sb.toString(); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/2819559b91c6b4ed4b7a67b612652a35b5e87937/SimpleNCBITaxon.java/buggy/src/org/biojavax/bio/taxa/SimpleNCBITaxon.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 12074, 1435, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 1250, 1122, 273, 638, 31, 3639, 2144, 982, 273, 333, 18, 588, 3054, 50, 8876, 1285, 651, 734, 5621, 3639, 1323, 261, 2938, 5, 33, 2011, 13, 288, 5411, 423, 8876, 1285, 651, 265, 268, 273, 261, 50, 8876, 1285, 651, 265, 13, 22591, 921, 1733, 18, 588, 921, 12, 5784, 50, 8876, 1285, 651, 265, 18, 1106, 16, 394, 1033, 63, 7073, 2938, 22938, 5411, 1000, 31363, 1557, 273, 268, 18, 588, 1557, 12, 50, 8876, 1285, 651, 265, 18, 2312, 45, 2222, 22183, 1769, 5411, 309, 261, 1017, 77, 1557, 18, 1467, 1435, 34, 20, 13, 288, 7734, 309, 16051, 3645, 13, 2393, 18, 6387, 12, 20, 10837, 31, 315, 1769, 7734, 469, 1122, 273, 629, 31, 7734, 2393, 18, 6387, 12, 20, 16, 12, 780, 13, 1017, 77, 1557, 18, 9838, 7675, 4285, 10663, 7734, 982, 273, 268, 18, 588, 3054, 50, 8876, 1285, 651, 734, 5621, 5411, 289, 469, 982, 273, 446, 31, 3639, 289, 3639, 2393, 18, 6923, 2932, 1199, 1769, 3639, 327, 2393, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 12074, 1435, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 1250, 1122, 273, 638, 31, 3639, 2144, 982, 273, 333, 18, 588, 3054, 50, 8876, 1285, 651, 734, 5621, 3639, 1323, 261, 2938, 5, 33, 2011, 13, 288, 5411, 423, 8876, 1285, 651, 265, 268, 273, 261, 50, 8876, 1285, 651, 265, 13, 22591, 921, 1733, 18, 588, 921, 12, 5784, 50, 8876, 1285, 651, 265, 18, 1106, 16, 394, 1033, 63, 7073, 2938, 22938, 5411, 1000, 31363, 1557, 273, 268, 18, 588, 1557, 12, 50, 8876, 1285, 651, 265, 18, 2312, 45, 2222, 22183, 1769, 5411, 309, 261, 1017, 77, 1557, 18, 1467, 1435, 34, 20, 13, 288, 7734, 309, 16051, 3645, 13, 2 ]
for (Iterator iterator = exceptionsList.iterator(); iterator.hasNext();) { if (first) {
for(Object aExceptionsList : exceptionsList){ if(first){
private void formatCallCheckString() { final StringBuffer buffer = new StringBuffer(); boolean first = true; for (Iterator iterator = exceptionsList.iterator(); iterator.hasNext();) { if (first) { first = false; } else { buffer.append(','); } final String exceptionName = (String) iterator.next(); buffer.append(exceptionName); } exceptionCheckString = buffer.toString(); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/2d46d291193579a7564649b4881c7ea8e02eda5b/BadExceptionThrownInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/errorhandling/BadExceptionThrownInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 740, 1477, 1564, 780, 1435, 288, 3639, 727, 6674, 1613, 273, 394, 6674, 5621, 3639, 1250, 1122, 273, 638, 31, 3639, 364, 261, 3198, 2775, 273, 4798, 682, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 5411, 309, 261, 3645, 13, 288, 7734, 1122, 273, 629, 31, 5411, 289, 469, 288, 7734, 1613, 18, 6923, 12, 2187, 8284, 5411, 289, 5411, 727, 514, 1520, 461, 273, 261, 780, 13, 2775, 18, 4285, 5621, 5411, 1613, 18, 6923, 12, 4064, 461, 1769, 3639, 289, 3639, 1520, 1564, 780, 273, 1613, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 740, 1477, 1564, 780, 1435, 288, 3639, 727, 6674, 1613, 273, 394, 6674, 5621, 3639, 1250, 1122, 273, 638, 31, 3639, 364, 261, 3198, 2775, 273, 4798, 682, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 5411, 309, 261, 3645, 13, 288, 7734, 1122, 273, 629, 31, 5411, 289, 469, 288, 7734, 1613, 18, 6923, 12, 2187, 8284, 5411, 289, 5411, 727, 514, 1520, 461, 273, 261, 780, 13, 2775, 18, 4285, 5621, 5411, 1613, 18, 6923, 12, 4064, 461, 1769, 3639, 289, 3639, 1520, 1564, 780, 273, 1613, 18, 10492, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (omitCheck || !canSee(p, game.getEntity(r.subject))) {
if (omitCheck || !canSee(p, entity)) {
private Report filterReport(Report r, Player p, boolean omitCheck) { if (r.subject == Entity.NONE && r.type != Report.PUBLIC) { //Reports that don't have a subject should be public. System.err.println("Error: Attempting to filter a Report object that is not public yet has no subject.\n\t\tmessageId: " + r.messageId); return r; } if (r.type == Report.PUBLIC || (p == null && !omitCheck)) { return r; } Report copy = new Report(r); for (int j = 0; j < copy.dataCount(); j++) { if (omitCheck || !canSee(p, game.getEntity(r.subject))) { if (r.isValueObscured(j)) { copy.hideData(j); //Mark the original report to indicate which players // received an obscured version of it. if (p != null) r.addObscuredRecipient(p.getName()); } //simulate hiding the report for *true* double-blind play //***DEBUG*** TESTING ONLY //copy.markForTesting(); } } return copy; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/2ae3038249bd69f4221ebe1ec60b58de618849a9/Server.java/clean/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 8706, 1034, 4820, 12, 4820, 436, 16, 19185, 293, 16, 1250, 14088, 1564, 13, 288, 3639, 309, 261, 86, 18, 7857, 422, 3887, 18, 9826, 597, 436, 18, 723, 480, 8706, 18, 14939, 13, 288, 5411, 368, 18631, 716, 2727, 1404, 1240, 279, 3221, 1410, 506, 1071, 18, 5411, 2332, 18, 370, 18, 8222, 2932, 668, 30, 12864, 310, 358, 1034, 279, 8706, 733, 716, 353, 486, 1071, 4671, 711, 1158, 3221, 8403, 82, 64, 88, 64, 88, 2150, 548, 30, 315, 397, 436, 18, 2150, 548, 1769, 5411, 327, 436, 31, 3639, 289, 3639, 309, 261, 86, 18, 723, 422, 8706, 18, 14939, 747, 261, 84, 422, 446, 597, 401, 362, 305, 1564, 3719, 288, 5411, 327, 436, 31, 3639, 289, 3639, 8706, 1610, 273, 394, 8706, 12, 86, 1769, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 1610, 18, 892, 1380, 5621, 525, 27245, 288, 5411, 309, 261, 362, 305, 1564, 747, 401, 4169, 9704, 12, 84, 16, 1522, 3719, 288, 7734, 309, 261, 86, 18, 291, 620, 10516, 1017, 2862, 12, 78, 3719, 288, 10792, 1610, 18, 11248, 751, 12, 78, 1769, 10792, 368, 3882, 326, 2282, 2605, 358, 10768, 1492, 18115, 10792, 368, 5079, 392, 3768, 1017, 2862, 1177, 434, 518, 18, 10792, 309, 261, 84, 480, 446, 13, 13491, 436, 18, 1289, 10516, 1017, 2862, 18241, 12, 84, 18, 17994, 10663, 7734, 289, 7734, 368, 9812, 6243, 366, 10415, 326, 2605, 364, 380, 3767, 14, 1645, 17, 3083, 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, 8706, 1034, 4820, 12, 4820, 436, 16, 19185, 293, 16, 1250, 14088, 1564, 13, 288, 3639, 309, 261, 86, 18, 7857, 422, 3887, 18, 9826, 597, 436, 18, 723, 480, 8706, 18, 14939, 13, 288, 5411, 368, 18631, 716, 2727, 1404, 1240, 279, 3221, 1410, 506, 1071, 18, 5411, 2332, 18, 370, 18, 8222, 2932, 668, 30, 12864, 310, 358, 1034, 279, 8706, 733, 716, 353, 486, 1071, 4671, 711, 1158, 3221, 8403, 82, 64, 88, 64, 88, 2150, 548, 30, 315, 397, 436, 18, 2150, 548, 1769, 5411, 327, 436, 31, 3639, 289, 3639, 309, 261, 86, 18, 723, 422, 8706, 18, 14939, 747, 261, 84, 422, 446, 597, 401, 362, 305, 1564, 3719, 288, 5411, 2 ]
while ( restart )
while ( restart && n < max_loop )
protected void overlapSwap( List rtList ) { for ( int i = 0; i < rtList.size( ); i++ ) { Object event = rtList.get( i ); Object3D far = getObjectFromEvent( event ); if ( far.getViewerVectors( ).length < 3 ) continue; boolean restart = true; while ( restart ) { restart = false; event = rtList.get( i ); far = getObjectFromEvent( event ); for ( int j = i; j < rtList.size( ); j++ ) { Object event2 = rtList.get( j ); Object3D near = getObjectFromEvent( event2 ); if ( near.getViewerVectors( ).length < 3 ) continue; if ( far.testZOverlap( near ) ) { if ( far.testSwap( near ) ) { rtList.set( i, event2 ); rtList.set( j, event ); restart = true; break; } } else { continue; } } } } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/d084af14717299b1ad7672061fcb59f86002265e/Engine3D.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/Engine3D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 7227, 12521, 12, 987, 8253, 682, 262, 202, 95, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 8253, 682, 18, 1467, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 921, 871, 273, 8253, 682, 18, 588, 12, 277, 11272, 1082, 202, 921, 23, 40, 10247, 273, 6455, 1265, 1133, 12, 871, 11272, 1082, 202, 430, 261, 10247, 18, 588, 18415, 21680, 12, 262, 18, 2469, 411, 890, 262, 9506, 202, 17143, 31, 1082, 202, 6494, 7870, 273, 638, 31, 1082, 202, 17523, 261, 7870, 262, 1082, 202, 95, 9506, 202, 19164, 273, 629, 31, 9506, 202, 2575, 273, 8253, 682, 18, 588, 12, 277, 11272, 9506, 202, 31246, 273, 6455, 1265, 1133, 12, 871, 11272, 9506, 202, 1884, 261, 509, 525, 273, 277, 31, 525, 411, 8253, 682, 18, 1467, 12, 11272, 525, 9904, 262, 9506, 202, 95, 6862, 202, 921, 871, 22, 273, 8253, 682, 18, 588, 12, 525, 11272, 6862, 202, 921, 23, 40, 13378, 273, 6455, 1265, 1133, 12, 871, 22, 11272, 6862, 202, 430, 261, 13378, 18, 588, 18415, 21680, 12, 262, 18, 2469, 411, 890, 262, 25083, 202, 17143, 31, 6862, 202, 430, 261, 10247, 18, 3813, 62, 17411, 12, 13378, 262, 262, 6862, 202, 95, 25083, 202, 430, 261, 10247, 18, 3813, 12521, 12, 13378, 262, 262, 25083, 202, 95, 6862, 1082, 202, 3797, 682, 18, 542, 12, 277, 16, 871, 22, 11272, 6862, 1082, 202, 3797, 682, 18, 542, 12, 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, 1117, 918, 7227, 12521, 12, 987, 8253, 682, 262, 202, 95, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 8253, 682, 18, 1467, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 921, 871, 273, 8253, 682, 18, 588, 12, 277, 11272, 1082, 202, 921, 23, 40, 10247, 273, 6455, 1265, 1133, 12, 871, 11272, 1082, 202, 430, 261, 10247, 18, 588, 18415, 21680, 12, 262, 18, 2469, 411, 890, 262, 9506, 202, 17143, 31, 1082, 202, 6494, 7870, 273, 638, 31, 1082, 202, 17523, 261, 7870, 262, 1082, 202, 95, 9506, 202, 19164, 273, 629, 31, 9506, 202, 2575, 273, 8253, 682, 18, 588, 12, 277, 11272, 9506, 202, 31246, 273, 6455, 2 ]
if (result[0] instanceof IWorkbenchPage)
if (result[0] instanceof IWorkbenchPage) {
public IWorkbenchPage openPage(final String perspId, final IAdaptable input) throws WorkbenchException { Assert.isNotNull(perspId); // Run op in busy cursor. final Object[] result = new Object[1]; BusyIndicator.showWhile(null, new Runnable() { public void run() { try { result[0] = busyOpenPage(perspId, input); } catch (WorkbenchException e) { result[0] = e; } } }); if (result[0] instanceof IWorkbenchPage) return (IWorkbenchPage) result[0]; else if (result[0] instanceof WorkbenchException) throw (WorkbenchException) result[0]; else throw new WorkbenchException( WorkbenchMessages.WorkbenchWindow_exceptionMessage); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkbenchWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2421, 22144, 1964, 1696, 1964, 12, 6385, 514, 13508, 84, 548, 16, 727, 467, 13716, 429, 810, 13, 1082, 202, 15069, 4147, 22144, 503, 288, 202, 202, 8213, 18, 291, 5962, 12, 10422, 84, 548, 1769, 202, 202, 759, 1939, 1061, 316, 21697, 3347, 18, 202, 202, 6385, 1033, 8526, 563, 273, 394, 1033, 63, 21, 15533, 202, 202, 29289, 13140, 18, 4500, 15151, 12, 2011, 16, 394, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 2088, 63, 20, 65, 273, 21697, 3678, 1964, 12, 10422, 84, 548, 16, 810, 1769, 9506, 202, 97, 1044, 261, 2421, 22144, 503, 425, 13, 288, 6862, 202, 2088, 63, 20, 65, 273, 425, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 22938, 202, 202, 430, 261, 2088, 63, 20, 65, 1276, 467, 2421, 22144, 1964, 13, 1082, 202, 2463, 261, 45, 2421, 22144, 1964, 13, 563, 63, 20, 15533, 202, 202, 12107, 309, 261, 2088, 63, 20, 65, 1276, 4147, 22144, 503, 13, 1082, 202, 12849, 261, 2421, 22144, 503, 13, 563, 63, 20, 15533, 202, 202, 12107, 1082, 202, 12849, 394, 4147, 22144, 503, 12, 6862, 202, 2421, 22144, 5058, 18, 2421, 22144, 3829, 67, 4064, 1079, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2421, 22144, 1964, 1696, 1964, 12, 6385, 514, 13508, 84, 548, 16, 727, 467, 13716, 429, 810, 13, 1082, 202, 15069, 4147, 22144, 503, 288, 202, 202, 8213, 18, 291, 5962, 12, 10422, 84, 548, 1769, 202, 202, 759, 1939, 1061, 316, 21697, 3347, 18, 202, 202, 6385, 1033, 8526, 563, 273, 394, 1033, 63, 21, 15533, 202, 202, 29289, 13140, 18, 4500, 15151, 12, 2011, 16, 394, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 2088, 63, 20, 65, 273, 21697, 3678, 1964, 12, 10422, 84, 548, 16, 810, 1769, 9506, 202, 97, 1044, 261, 2421, 22144, 503, 425, 13, 288, 6862, 202, 2088, 63, 20, 2 ]