rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
return onMatch;
return on_match;
public int decide(Object event) { // let us not throw an exception // see also bug #17. if(!isStarted()) { return NEUTRAL; } try { if (evaluator.evaluate(event)) { return onMatch; } else { return onMismatch; } } catch (EvaluationException e) { addError("Evaluator "+evaluator.getName()+" threw an exception", e); return NEUTRAL; } }
47463 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47463/7e755b8978a294df3e6d9708c2e25dcac0c5d6c8/EvaluatorFilter.java/buggy/logback-core/src/main/java/ch/qos/logback/core/filter/EvaluatorFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 16288, 12, 921, 871, 13, 288, 565, 368, 2231, 584, 486, 604, 392, 1520, 565, 368, 2621, 2546, 7934, 468, 4033, 18, 565, 309, 12, 5, 291, 9217, 10756, 288, 1377, 327, 12901, 1693, 54, 1013, 31, 565, 289, 565, 775, 288, 1377, 309, 261, 14168, 639, 18, 21024, 12, 2575, 3719, 288, 3639, 327, 603, 67, 1916, 31, 1377, 289, 469, 288, 3639, 327, 603, 16901, 31, 1377, 289, 565, 289, 1044, 261, 13468, 503, 425, 13, 288, 1377, 9501, 2932, 15876, 13773, 14168, 639, 18, 17994, 1435, 9078, 21146, 392, 1520, 3113, 425, 1769, 1377, 327, 12901, 1693, 54, 1013, 31, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 18, 565, 309, 12, 5, 291, 9217, 10756, 288, 1377, 327, 12901, 1693, 54, 1013, 31, 565, 289, 565, 775, 288, 1377, 309, 261, 14168, 639, 18, 21024, 12, 2575, 3719, 288, 3639, 327, 603, 67, 1916, 31, 1377, 289, 469, 288, 3639, 327, 603, 16901, 31, 1377, 289, 565, 289, 1044, 261, 13468, 503, 425, 13, 288, 1377, 9501, 2932, 15876, 13773, 14168, 639, 18, 17994, 1435, 9078, 21146, 392, 1520, 3113, 425, 1769, 1377, 327, 12901, 1693, 54, 1013, 31, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (debug) logger.debug("<" + raw + "> -> " + xpath);
if (debug) logger.debug("<", raw, "> -> ", xpath);
public void startElement(String uri, String local, String raw, Attributes atts) { xpath.push(local); if (debug) logger.debug("<" + raw + "> -> " + xpath); // Detect CML modules, like CRML and CCML if (local.startsWith("reaction")) { // e.g. reactionList, reaction -> CRML module logger.info("Detected CRML module"); conv = new CMLReactionModule(conv); conventionStack.push(conventionStack.current()); } else { // assume CML Core // Detect conventions String convName = ""; for (int i = 0; i < atts.getLength(); i++) { if (atts.getQName(i).equals("convention")) { convName = atts.getValue(i); } } if (convName.length() > 0) { conventionStack.push(convName); if (convName.equals(conventionStack.current())) { logger.debug("Same convention as parent"); } else { logger.info("New Convention: " + convName); if (convName.equals("CML")) { conv = new CMLCoreModule(conv); } else if (convName.equals("PDB")) { conv = new PDBConvention(conv); } else if (convName.equals("PMP")) { conv = new PMPConvention(conv); } else if (convName.equals("MDLMol")) { if (debug) logger.debug("MDLMolConvention instantiated..."); conv = new MDLMolConvention(conv); } else if (convName.equals("JMOL-ANIMATION")) { conv = new JMOLANIMATIONConvention(conv); } else { //unknown convention. userConvention? if (userConventions.containsKey(convName)) { ConventionInterface newconv = (ConventionInterface)userConventions.get(convName); newconv.inherit(conv); conv = newconv; } } } } else { // no convention set/reset: take convention of parent conventionStack.push(conventionStack.current()); } } if (debug) logger.debug("Conventions -> " + conventionStack); conv.startElement(xpath, uri, local, raw, atts); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/bbeef9e56c9fda56c154c99294fb490aaa5557cb/CMLHandler.java/clean/src/org/openscience/cdk/io/cml/CMLHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 2003, 16, 514, 1191, 16, 514, 1831, 16, 9055, 15687, 13, 288, 3639, 6748, 18, 6206, 12, 3729, 1769, 3639, 309, 261, 4148, 13, 1194, 18, 4148, 2932, 32, 3113, 1831, 16, 14402, 317, 3104, 6748, 1769, 3639, 368, 13796, 385, 1495, 4381, 16, 3007, 6732, 1495, 471, 16525, 1495, 3639, 309, 261, 3729, 18, 17514, 1190, 2932, 266, 1128, 6, 3719, 288, 5411, 368, 425, 18, 75, 18, 12836, 682, 16, 12836, 317, 6732, 1495, 1605, 5411, 1194, 18, 1376, 2932, 22614, 6732, 1495, 1605, 8863, 5411, 6292, 273, 394, 385, 1495, 21581, 3120, 12, 4896, 1769, 5411, 15797, 2624, 18, 6206, 12, 591, 11111, 2624, 18, 2972, 10663, 3639, 289, 469, 288, 5411, 368, 6750, 385, 1495, 4586, 18701, 368, 13796, 356, 24862, 5411, 514, 6292, 461, 273, 1408, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 15687, 18, 588, 1782, 5621, 277, 27245, 288, 7734, 309, 261, 270, 3428, 18, 588, 13688, 12, 77, 2934, 14963, 2932, 591, 11111, 6, 3719, 288, 10792, 6292, 461, 273, 15687, 18, 24805, 12, 77, 1769, 7734, 289, 5411, 289, 5411, 309, 261, 4896, 461, 18, 2469, 1435, 405, 374, 13, 288, 7734, 15797, 2624, 18, 6206, 12, 4896, 461, 1769, 7734, 309, 261, 4896, 461, 18, 14963, 12, 591, 11111, 2624, 18, 2972, 1435, 3719, 288, 10792, 1194, 18, 4148, 2932, 8650, 15797, 487, 982, 8863, 7734, 289, 469, 288, 10792, 1194, 18, 1376, 2932, 1908, 735, 11111, 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, 2003, 16, 514, 1191, 16, 514, 1831, 16, 9055, 15687, 13, 288, 3639, 6748, 18, 6206, 12, 3729, 1769, 3639, 309, 261, 4148, 13, 1194, 18, 4148, 2932, 32, 3113, 1831, 16, 14402, 317, 3104, 6748, 1769, 3639, 368, 13796, 385, 1495, 4381, 16, 3007, 6732, 1495, 471, 16525, 1495, 3639, 309, 261, 3729, 18, 17514, 1190, 2932, 266, 1128, 6, 3719, 288, 5411, 368, 425, 18, 75, 18, 12836, 682, 16, 12836, 317, 6732, 1495, 1605, 5411, 1194, 18, 1376, 2932, 22614, 6732, 1495, 1605, 8863, 5411, 6292, 273, 394, 385, 1495, 21581, 3120, 12, 4896, 1769, 5411, 15797, 2624, 18, 6206, 12, 591, 11111, 2624, 18, 2972, 10663, 3639, 289, 469, 2 ]
scoreMap.put(key, String.valueOf(score));
s = scoreMap.put(key, String.valueOf(score));
public double setStoredScore(String key, double score) { Object s = null; scoreMap.put(key, String.valueOf(score)); if (s == null) { return 0; } else { return Double.parseDouble(s.toString()); } }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/5e00f3360a80274d2424ca56fc9ca8f0ec52aeea/JunkScoreImpl.java/buggy/src/java/org/apache/james/util/junkscore/JunkScoreImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 444, 18005, 7295, 12, 780, 498, 16, 1645, 4462, 13, 288, 3639, 1033, 272, 273, 446, 31, 540, 272, 273, 4462, 863, 18, 458, 12, 856, 16, 514, 18, 1132, 951, 12, 6355, 10019, 7734, 309, 261, 87, 422, 446, 13, 288, 5411, 327, 374, 31, 3639, 289, 469, 288, 5411, 327, 3698, 18, 2670, 5265, 12, 87, 18, 10492, 10663, 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,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398, 316, 326, 981, 30, 377, 1071, 1645, 444, 18005, 7295, 12, 780, 498, 16, 1645, 4462, 13, 288, 3639, 1033, 272, 273, 446, 31, 540, 272, 273, 4462, 863, 18, 458, 12, 856, 16, 514, 18, 1132, 951, 12, 6355, 10019, 7734, 309, 261, 87, 422, 446, 13, 288, 5411, 327, 374, 31, 3639, 289, 469, 288, 5411, 327, 3698, 18, 2670, 5265, 12, 87, 18, 10492, 10663, 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 ]
public static HttpBasicAuthentication getAuthentication(String challenge) {
public static HttpBasicAuthentication getAuthentication(String challenge, NutchConf conf) {
public static HttpBasicAuthentication getAuthentication(String challenge) { if (challenge == null) return null; Matcher basicMatcher = basic.matcher(challenge); if (basicMatcher.matches()) { String realm = basicMatcher.group(1); Object auth = authMap.get(realm); if (auth == null) { HttpBasicAuthentication newAuth = null; try { newAuth = new HttpBasicAuthentication(realm); } catch (HttpAuthenticationException hae) { LOG.fine("HttpBasicAuthentication failed for " + challenge); } authMap.put(realm, newAuth); return newAuth; } else { return (HttpBasicAuthentication) auth; } } return null; }
50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/329ff64e9d7295aff108f85e9a8103f5e5f8f398/HttpBasicAuthentication.java/clean/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/HttpBasicAuthentication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2541, 8252, 6492, 25275, 12, 780, 12948, 16, 423, 322, 343, 3976, 2195, 13, 288, 3639, 309, 261, 25092, 422, 446, 13, 327, 446, 31, 3639, 9757, 5337, 6286, 273, 5337, 18, 22761, 12, 25092, 1769, 3639, 309, 261, 13240, 6286, 18, 8436, 10756, 288, 540, 202, 780, 11319, 273, 5337, 6286, 18, 1655, 12, 21, 1769, 202, 3639, 1033, 1357, 273, 1357, 863, 18, 588, 12, 24056, 1769, 202, 3639, 309, 261, 1944, 422, 446, 13, 288, 202, 5411, 2541, 8252, 6492, 394, 1730, 273, 446, 31, 202, 5411, 775, 288, 202, 2398, 202, 2704, 1730, 273, 394, 2541, 8252, 6492, 12, 24056, 1769, 202, 5411, 289, 1044, 261, 2940, 6492, 503, 366, 8906, 13, 288, 3196, 2398, 202, 4842, 18, 74, 558, 2932, 2940, 8252, 6492, 2535, 364, 315, 397, 12948, 1769, 202, 5411, 289, 202, 5411, 1357, 863, 18, 458, 12, 24056, 16, 394, 1730, 1769, 202, 5411, 327, 394, 1730, 31, 202, 3639, 289, 469, 288, 202, 5411, 327, 261, 2940, 8252, 6492, 13, 1357, 31, 202, 3639, 289, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2541, 8252, 6492, 25275, 12, 780, 12948, 16, 423, 322, 343, 3976, 2195, 13, 288, 3639, 309, 261, 25092, 422, 446, 13, 327, 446, 31, 3639, 9757, 5337, 6286, 273, 5337, 18, 22761, 12, 25092, 1769, 3639, 309, 261, 13240, 6286, 18, 8436, 10756, 288, 540, 202, 780, 11319, 273, 5337, 6286, 18, 1655, 12, 21, 1769, 202, 3639, 1033, 1357, 273, 1357, 863, 18, 588, 12, 24056, 1769, 202, 3639, 309, 261, 1944, 422, 446, 13, 288, 202, 5411, 2541, 8252, 6492, 394, 1730, 273, 446, 31, 202, 5411, 775, 288, 202, 2398, 202, 2704, 1730, 273, 394, 2541, 8252, 6492, 12, 24056, 1769, 202, 5411, 289, 1044, 261, 2940, 6492, 503, 366, 8906, 13, 2 ]
if (address == null) {
if(address==null) {
public UMOEndpointURI build(URI uri) throws MalformedEndpointException { Properties props = getPropertiesForURI(uri); if (address == null) { setEndpoint(uri, props); } UMOEndpointURI ep = new MuleEndpointURI(address, endpointName, connectorName, transformers, createConnector, props, uri, userInfo); address = null; endpointName = null; connectorName = null; transformers = null; createConnector = ConnectorFactory.GET_OR_CREATE_CONNECTOR; return ep; }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/f819b891d2a8b1909fdd663ef2ac20b94d2f172c/AbstractEndpointBuilder.java/clean/src/java/org/mule/impl/endpoint/AbstractEndpointBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 5980, 3293, 3098, 1361, 12, 3098, 2003, 13, 1216, 13311, 3293, 503, 565, 288, 3639, 6183, 3458, 273, 9392, 1290, 3098, 12, 1650, 1769, 3639, 309, 12, 2867, 631, 2011, 13, 288, 5411, 444, 3293, 12, 1650, 16, 3458, 1769, 3639, 289, 3639, 587, 5980, 3293, 3098, 5529, 273, 394, 490, 725, 3293, 3098, 12, 2867, 16, 4766, 7734, 2494, 461, 16, 4766, 7734, 8703, 461, 16, 4766, 7734, 20522, 16, 4766, 7734, 752, 7487, 16, 4766, 7734, 3458, 16, 4766, 7734, 2003, 16, 4766, 7734, 16753, 1769, 3639, 1758, 273, 446, 31, 3639, 2494, 461, 273, 446, 31, 3639, 8703, 461, 273, 446, 31, 3639, 20522, 273, 446, 31, 3639, 752, 7487, 273, 15779, 1733, 18, 3264, 67, 916, 67, 9344, 67, 29788, 31, 3639, 327, 5529, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 5980, 3293, 3098, 1361, 12, 3098, 2003, 13, 1216, 13311, 3293, 503, 565, 288, 3639, 6183, 3458, 273, 9392, 1290, 3098, 12, 1650, 1769, 3639, 309, 12, 2867, 631, 2011, 13, 288, 5411, 444, 3293, 12, 1650, 16, 3458, 1769, 3639, 289, 3639, 587, 5980, 3293, 3098, 5529, 273, 394, 490, 725, 3293, 3098, 12, 2867, 16, 4766, 7734, 2494, 461, 16, 4766, 7734, 8703, 461, 16, 4766, 7734, 20522, 16, 4766, 7734, 752, 7487, 16, 4766, 7734, 3458, 16, 4766, 7734, 2003, 16, 4766, 7734, 16753, 1769, 3639, 1758, 273, 446, 31, 3639, 2494, 461, 273, 446, 31, 3639, 8703, 461, 273, 446, 31, 3639, 20522, 273, 446, 31, 3639, 752, 7487, 273, 15779, 1733, 2 ]
getDoneButton().setEnabled(shouldDoneButtonBeEnabled());
public void keyTyped(KeyEvent e) { // deliberately does nothing }
51637 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51637/54bc0b19e86a0247f4f79b9ac907713afc5d6a8e/ParameterUpdateDialog.java/clean/yawleditor/trunk/source/au/edu/qut/yawl/editor/swing/data/ParameterUpdateDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 1071, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 918, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 498, 11985, 12, 653, 1133, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 425, 13, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 288, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 368, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 1464, 14776, 5173, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 1552, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 5083, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 2343, 476, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 1071, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 918, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 498, 11985, 12, 653, 1133, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 425, 13, 588, 7387, 3616, 7675, 542, 1526, 12, 13139, 7387, 3616, 1919, 1526, 10663, 288, 588, 7387, 3616, 7675, 542, 2 ]
localSeismogram.appendChild(propertyElement);
localSeismogram.appendChild(seismogramAttr); Element data = doc.createElement("data"); data.setAttributeNS(xlinkNS, "xlink:type", "simple"); data.setAttributeNS(xlinkNS, "xlink:href", seisStr); data.setAttribute("seisType", "sac");
public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { seismogramNameCache = null; String baseStr = base.toString(); String seisStr = seisURL.toString(); if (seisStr.startsWith(baseStr)) { // use relative URL seisStr = seisStr.substring(baseStr.length()); } // end of if (seisStr.startsWith(baseStr)) Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createElement("localSeismogram"); Element seismogramAttr = doc.createElement("seismogramAttr"); XMLSeismogramAttr.insert(seismogramAttr, (LocalSeismogram)seis); localSeismogram.appendChild(seismogramAttr); Element data = doc.createElement("data"); data.setAttributeNS(xlinkNS, "xlink:type", "simple"); data.setAttributeNS(xlinkNS, "xlink:href", seisStr); data.setAttribute("seisType", "sac"); name = getUniqueName(name); Element propertyElement = doc.createElement("property"); propertyElement.appendChild(XMLUtil.createTextElement(doc, "name", "Name")); propertyElement.appendChild(XMLUtil.createTextElement(doc, "value", name)); localSeismogram.appendChild(propertyElement); //Element nameE = doc.createElement("name"); // Text text = doc.createTextNode(name); //nameE.appendChild(text); //localSeismogram.appendChild(nameE); localSeismogram.appendChild(data); /* Element propE, propNameE, propValueE; for (int i=0; i<props.length; i++) { if (props[i].name != seisNameKey) { propE = doc.createElement("property"); propNameE = doc.createElement("name"); text = doc.createTextNode(props[i].name); propNameE.appendChild(text); propValueE = doc.createElement("value"); text = doc.createTextNode(props[i].value); propValueE.appendChild(text); propE.appendChild(propNameE); propE.appendChild(propValueE); sac.appendChild(propE); } }*/ config.appendChild(localSeismogram); }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/caf867055024df305afafa76e586a90f89ef53e5/XMLDataSet.java/buggy/src/edu/sc/seis/fissuresUtil/xml/XMLDataSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 1761, 6228, 5553, 1957, 12, 2042, 1761, 6228, 5553, 2828, 695, 291, 16, 6862, 1976, 695, 291, 1785, 16, 21394, 514, 508, 16, 21394, 4276, 8526, 3458, 16, 21394, 5498, 1957, 8526, 19924, 67, 2232, 16, 4766, 12975, 966, 8526, 8215, 13, 288, 202, 307, 6228, 5553, 461, 1649, 273, 446, 31, 3639, 514, 1026, 1585, 273, 1026, 18, 10492, 5621, 3639, 514, 695, 291, 1585, 273, 695, 291, 1785, 18, 10492, 5621, 3639, 309, 261, 307, 291, 1585, 18, 17514, 1190, 12, 1969, 1585, 3719, 288, 5411, 368, 999, 3632, 1976, 5411, 695, 291, 1585, 273, 695, 291, 1585, 18, 28023, 12, 1969, 1585, 18, 2469, 10663, 3639, 289, 368, 679, 434, 309, 261, 307, 291, 1585, 18, 17514, 1190, 12, 1969, 1585, 3719, 202, 3639, 4319, 997, 273, 642, 18, 588, 5541, 2519, 5621, 202, 1046, 1191, 1761, 6228, 5553, 273, 997, 18, 2640, 1046, 2932, 3729, 1761, 6228, 5553, 8863, 202, 1046, 695, 6228, 5553, 3843, 273, 997, 18, 2640, 1046, 2932, 307, 6228, 5553, 3843, 8863, 202, 4201, 1761, 6228, 5553, 3843, 18, 6387, 12, 307, 6228, 5553, 3843, 16, 261, 2042, 1761, 6228, 5553, 13, 307, 291, 1769, 202, 3729, 1761, 6228, 5553, 18, 6923, 1763, 12, 307, 6228, 5553, 3843, 1769, 202, 1046, 501, 273, 997, 18, 2640, 1046, 2932, 892, 8863, 3639, 501, 18, 542, 1499, 3156, 12, 92, 1232, 3156, 16, 315, 92, 1232, 30, 723, 3113, 315, 9647, 8863, 3639, 501, 18, 542, 1499, 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, 527, 1761, 6228, 5553, 1957, 12, 2042, 1761, 6228, 5553, 2828, 695, 291, 16, 6862, 1976, 695, 291, 1785, 16, 21394, 514, 508, 16, 21394, 4276, 8526, 3458, 16, 21394, 5498, 1957, 8526, 19924, 67, 2232, 16, 4766, 12975, 966, 8526, 8215, 13, 288, 202, 307, 6228, 5553, 461, 1649, 273, 446, 31, 3639, 514, 1026, 1585, 273, 1026, 18, 10492, 5621, 3639, 514, 695, 291, 1585, 273, 695, 291, 1785, 18, 10492, 5621, 3639, 309, 261, 307, 291, 1585, 18, 17514, 1190, 12, 1969, 1585, 3719, 288, 5411, 368, 999, 3632, 1976, 5411, 695, 291, 1585, 273, 695, 291, 1585, 18, 28023, 12, 1969, 1585, 18, 2469, 10663, 3639, 289, 368, 679, 434, 309, 261, 2 ]
return getGroup().isMember(new GroupContextFromFunctionality(context), person);
return getGroup().allows(new GroupContextFromFunctionality(context), context.getUserView());
public boolean isAvailable(FunctionalityContext context, Person person) { try { return getGroup().isMember(new GroupContextFromFunctionality(context), person); } catch (GroupDynamicExpressionException e) { throw e; } catch (Exception e) { throw new GroupDynamicExpressionException(e, "accessControl.group.expression.evaluation.error"); } }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/2c036bcbd9842c9e709dd73aea7a13e88d45f3bd/GroupAvailability.java/clean/src/net/sourceforge/fenixedu/domain/functionalities/GroupAvailability.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 28293, 12, 2083, 7919, 1042, 819, 16, 11573, 6175, 13, 288, 3639, 775, 288, 5411, 327, 11751, 7675, 5965, 87, 12, 2704, 3756, 1042, 1265, 2083, 7919, 12, 2472, 3631, 819, 18, 588, 1299, 1767, 10663, 3639, 289, 1044, 261, 1114, 9791, 2300, 503, 425, 13, 288, 5411, 604, 425, 31, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 3756, 9791, 2300, 503, 12, 73, 16, 10792, 315, 3860, 3367, 18, 1655, 18, 8692, 18, 14168, 367, 18, 1636, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 28293, 12, 2083, 7919, 1042, 819, 16, 11573, 6175, 13, 288, 3639, 775, 288, 5411, 327, 11751, 7675, 5965, 87, 12, 2704, 3756, 1042, 1265, 2083, 7919, 12, 2472, 3631, 819, 18, 588, 1299, 1767, 10663, 3639, 289, 1044, 261, 1114, 9791, 2300, 503, 425, 13, 288, 5411, 604, 425, 31, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 3756, 9791, 2300, 503, 12, 73, 16, 10792, 315, 3860, 3367, 18, 1655, 18, 8692, 18, 14168, 367, 18, 1636, 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 ]
System.out.println("BAD PATTERN: " + e.getPattern());
public String[] getNames() { try { getFiles(); } catch (PatternSyntaxException e) { System.out.println("BAD PATTERN: " + e.getPattern()); // This can happen if someone does Dir.glob("{") or similiar. return new String[] {}; } Collection allMatchedNames = new TreeSet(); for (Iterator iter = patterns.iterator(); iter.hasNext();) { GlobPattern pattern = (GlobPattern) iter.next(); allMatchedNames.addAll(pattern.getMatchedFiles()); } return (String[]) allMatchedNames.toArray(new String[allMatchedNames.size()]); }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/b4a189a27604d62c317938f16a124fb9dab1e94a/Glob.java/buggy/src/org/jruby/util/Glob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 336, 1557, 1435, 288, 3639, 775, 288, 5411, 18262, 5621, 3639, 289, 1044, 261, 3234, 14714, 425, 13, 288, 540, 202, 6647, 368, 1220, 848, 5865, 309, 18626, 1552, 8446, 18, 10581, 2932, 95, 7923, 578, 3142, 15700, 297, 18, 5411, 327, 394, 514, 8526, 2618, 31, 3639, 289, 9506, 202, 2532, 777, 15400, 1557, 273, 394, 19461, 5621, 202, 202, 1884, 261, 3198, 1400, 273, 6884, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 13499, 3234, 1936, 273, 261, 13499, 3234, 13, 1400, 18, 4285, 5621, 25083, 202, 454, 15400, 1557, 18, 1289, 1595, 12, 4951, 18, 588, 15400, 2697, 10663, 202, 202, 97, 1082, 3639, 327, 261, 780, 63, 5717, 777, 15400, 1557, 18, 31447, 12, 2704, 514, 63, 454, 15400, 1557, 18, 1467, 1435, 19226, 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, 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, 327, 394, 514, 8526, 2618, 31, 3639, 289, 9506, 202, 2532, 777, 15400, 1557, 273, 394, 19461, 5621, 202, 202, 1884, 261, 3198, 1400, 273, 6884, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 13499, 3234, 1936, 273, 261, 13499, 3234, 13, 1400, 18, 4285, 5621, 25083, 202, 454, 15400, 1557, 18, 1289, 1595, 12, 4951, 18, 588, 15400, 2697, 10663, 202, 202, 97, 1082, 3639, 327, 261, 780, 63, 2 ]
public RubyNumeric op_minus(RubyNumeric other) {
public IRubyObject op_minus(IRubyObject other) {
public RubyNumeric op_minus(RubyNumeric other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_minus(other); } return bigNorm(getRuntime(), getValue().subtract(bigIntValue(other))); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyBignum.java/clean/src/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 1061, 67, 19601, 12, 7937, 10340, 921, 1308, 13, 288, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 556, 67, 19601, 12, 3011, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 2366, 7675, 1717, 1575, 12, 14002, 1702, 620, 12, 3011, 3719, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 1061, 67, 19601, 12, 7937, 10340, 921, 1308, 13, 288, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 556, 67, 19601, 12, 3011, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 2366, 7675, 1717, 1575, 12, 14002, 1702, 620, 12, 3011, 3719, 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 ]
m_inspectionClasses.add(UnnecessaryFinalOnParameterInspection.class); m_inspectionClasses.add(UnnecessaryFinalOnLocalVariableInspection.class);
m_inspectionClasses.add(com.siyeh.ig.verbose.UnnecessaryFinalOnParameterInspection.class); m_inspectionClasses.add(com.siyeh.ig.verbose.UnnecessaryFinalOnLocalVariableInspection.class);
private void registerVerboseInspections(){ m_inspectionClasses.add(UnnecessaryLabelOnBreakStatementInspection.class); m_inspectionClasses.add(UnnecessaryLabelOnContinueStatementInspection.class); m_inspectionClasses.add(PointlessBooleanExpressionInspection.class); m_inspectionClasses.add(ReplaceAssignmentWithOperatorAssignmentInspection.class); m_inspectionClasses.add(TrivialIfInspection.class); m_inspectionClasses.add(UnnecessaryConditionalExpressionInspection.class); m_inspectionClasses.add(ConstantConditionalExpressionInspection.class); m_inspectionClasses.add(ConstantIfStatementInspection.class); m_inspectionClasses.add(UnnecessaryParenthesesInspection.class); m_inspectionClasses.add(UnnecessaryLocalVariableInspection.class); m_inspectionClasses.add(UnnecessaryThisInspection.class); m_inspectionClasses.add(UnnecessaryBlockStatementInspection.class); m_inspectionClasses.add(UnnecessaryInterfaceModifierInspection.class); m_inspectionClasses.add(UnnecessaryEnumModifierInspection.class); m_inspectionClasses.add(UnnecessaryReturnInspection.class); m_inspectionClasses.add(UnnecessaryContinueInspection.class); m_inspectionClasses.add(UnnecessarySemicolonInspection.class); m_inspectionClasses.add(UnnecessaryFullyQualifiedNameInspection.class); m_inspectionClasses.add(UnnecessaryQualifierForThisInspection.class); m_inspectionClasses.add(UnusedLabelInspection.class); m_inspectionClasses.add(RedundantFieldInitializationInspection.class); m_inspectionClasses.add(RedundantImplementsInspection.class); m_inspectionClasses.add(ExtendsObjectInspection.class); m_inspectionClasses.add(TypeParameterExtendsObjectInspection.class); m_inspectionClasses.add(PointlessArithmeticExpressionInspection.class); m_inspectionClasses.add(PointlessBitwiseExpressionInspection.class); m_inspectionClasses.add(UnnecessarySuperConstructorInspection.class); m_inspectionClasses.add(UnnecessaryConstructorInspection.class); m_inspectionClasses.add(ForLoopReplaceableByWhileInspection.class); m_inspectionClasses.add(UnnecessaryDefaultInspection.class); m_inspectionClasses.add(UnnecessaryBoxingInspection.class); m_inspectionClasses.add(UnnecessaryUnboxingInspection.class); m_inspectionClasses.add(UnnecessaryFinalOnParameterInspection.class); m_inspectionClasses.add(UnnecessaryFinalOnLocalVariableInspection.class); m_inspectionClasses.add(ForCanBeForeachInspection.class); m_inspectionClasses.add(WhileCanBeForeachInspection.class); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/6ba145fb0f240b22c23ab071ce546e5d315606f1/InspectionGadgetsPlugin.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/InspectionGadgetsPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1744, 14489, 14985, 87, 1435, 95, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 2224, 1398, 7634, 3406, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 2224, 1398, 12378, 3406, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 2148, 2656, 5507, 2300, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 5729, 7729, 1190, 5592, 7729, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 1070, 20109, 2047, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 14132, 2300, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 6902, 14132, 2300, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 6902, 2047, 3406, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 17880, 281, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 2042, 3092, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 2503, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 1768, 3406, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 1358, 9829, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 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, 1744, 14489, 14985, 87, 1435, 95, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 2224, 1398, 7634, 3406, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 2224, 1398, 12378, 3406, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 2148, 2656, 5507, 2300, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 5729, 7729, 1190, 5592, 7729, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 1070, 20109, 2047, 14985, 18, 1106, 1769, 3639, 312, 67, 2679, 7017, 4818, 18, 1289, 12, 984, 82, 4128, 14132, 2300, 14985, 18, 1106, 1769, 3639, 2 ]
}
}
public void runInUI(final IRunnableContext context, final IRunnableWithProgress runnable, final ISchedulingRule rule) throws InvocationTargetException, InterruptedException { final IJobManager manager = Platform.getJobManager(); final InvocationTargetException[] exception = new InvocationTargetException[1]; final InterruptedException[] canceled = new InterruptedException[1]; BusyIndicator.showWhile(Display.getDefault(), new Runnable() { public void run() { try { manager.beginRule(rule, ((Workbench) PlatformUI.getWorkbench()) .isStarting() ? new NullProgressMonitor() : getEventLoopMonitor()); context.run(false, false, runnable); } catch (InvocationTargetException e) { exception[0] = e; } catch (InterruptedException e) { canceled[0] = e; } catch (OperationCanceledException e) { canceled[0] = new InterruptedException(e.getMessage()); } finally { manager.endRule(rule); } } /** * Get a progress monitor that forwards to an event loop monitor. * Override #setBlocked() so that we always open the blocked dialog. * * @return the monitor on the event loop */ private IProgressMonitor getEventLoopMonitor() { return new EventLoopProgressMonitor(new NullProgressMonitor()) { /* * (non-Javadoc) * * @see org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor#setBlocked(org.eclipse.core.runtime.IStatus) */ public void setBlocked(IStatus reason) { // Set a shell to open with as we want to create this // even if there is a modal shell. Dialog.getBlockedHandler().showBlocked( ProgressManagerUtil.getDefaultParent(), this, reason, getTaskName()); } }; } }); if (exception[0] != null) { throw exception[0]; } if (canceled[0] != null) { throw canceled[0]; } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/82e45bfb168fa5c37a8ced4976d2cc8fef6ce0f2/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 382, 5370, 12, 6385, 467, 20013, 1042, 819, 16, 1082, 202, 6385, 467, 20013, 1190, 5491, 14685, 16, 727, 4437, 13252, 2175, 1720, 13, 1082, 202, 15069, 15342, 16, 7558, 288, 202, 202, 6385, 467, 2278, 1318, 3301, 273, 11810, 18, 588, 2278, 1318, 5621, 202, 202, 6385, 15342, 8526, 1520, 273, 394, 15342, 63, 21, 15533, 202, 202, 6385, 7558, 8526, 17271, 273, 394, 7558, 63, 21, 15533, 202, 202, 29289, 13140, 18, 4500, 15151, 12, 4236, 18, 588, 1868, 9334, 394, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 4181, 18, 10086, 2175, 12, 5345, 16, 6862, 1082, 202, 12443, 2421, 22144, 13, 11810, 5370, 18, 588, 2421, 22144, 10756, 6862, 6862, 202, 18, 291, 11715, 1435, 692, 394, 4112, 5491, 7187, 1435, 6862, 6862, 202, 30, 9832, 6452, 7187, 10663, 6862, 202, 2472, 18, 2681, 12, 5743, 16, 629, 16, 14685, 1769, 9506, 202, 97, 1044, 261, 9267, 14950, 425, 13, 288, 6862, 202, 4064, 63, 20, 65, 273, 425, 31, 9506, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 6862, 202, 10996, 329, 63, 20, 65, 273, 425, 31, 9506, 202, 97, 1044, 261, 2988, 23163, 503, 425, 13, 288, 6862, 202, 10996, 329, 63, 20, 65, 273, 394, 7558, 12, 73, 18, 24906, 10663, 9506, 202, 97, 3095, 288, 6862, 202, 4181, 18, 409, 2175, 12, 5345, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 26873, 9506, 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, 1086, 382, 5370, 12, 6385, 467, 20013, 1042, 819, 16, 1082, 202, 6385, 467, 20013, 1190, 5491, 14685, 16, 727, 4437, 13252, 2175, 1720, 13, 1082, 202, 15069, 15342, 16, 7558, 288, 202, 202, 6385, 467, 2278, 1318, 3301, 273, 11810, 18, 588, 2278, 1318, 5621, 202, 202, 6385, 15342, 8526, 1520, 273, 394, 15342, 63, 21, 15533, 202, 202, 6385, 7558, 8526, 17271, 273, 394, 7558, 63, 21, 15533, 202, 202, 29289, 13140, 18, 4500, 15151, 12, 4236, 18, 588, 1868, 9334, 394, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 4181, 18, 10086, 2175, 12, 5345, 16, 6862, 1082, 202, 12443, 2421, 22144, 13, 11810, 2 ]
assertEquals("The number of entries in conn2 should be 1", 1, conn2.getRoster().getEntryCount()); assertEquals("The number of groups in conn2 should be 0", 0, conn2.getRoster().getGroupCount());
assertEquals("The number of entries in conn2 should be 0", 0, conn2.getRoster().getEntryCount()); assertEquals("The number of groups in conn2 should be 0", 0, conn2.getRoster().getGroupCount());
public void testDeleteAllRosterGroupEntries() { try { // Add a new roster entry conn1.getRoster().createEntry("gato11@localhost", "gato11", new String[] {"Friends", "Family"}); conn1.getRoster().createEntry("gato12@localhost", "gato12", new String[] {"Family"}); Thread.sleep(200); Iterator it = conn1.getRoster().getEntries(); while (it.hasNext()) { RosterEntry entry = (RosterEntry) it.next(); Iterator groups = entry.getGroups(); while (groups.hasNext()) { RosterGroup rosterGroup = (RosterGroup) groups.next(); rosterGroup.removeEntry(entry); Thread.sleep(250); } } assertEquals("The number of entries in conn1 should be 2", 2, conn1.getRoster().getEntryCount()); assertEquals("The number of groups in conn1 should be 0", 0, conn1.getRoster().getGroupCount()); assertEquals("The number of entries in conn2 should be 1", 1, conn2.getRoster().getEntryCount()); assertEquals("The number of groups in conn2 should be 0", 0, conn2.getRoster().getGroupCount()); assertEquals("The number of entries in conn3 should be 1", 1, conn3.getRoster().getEntryCount()); assertEquals("The number of groups in conn3 should be 0", 0, conn3.getRoster().getGroupCount()); cleanUpRoster(); } catch (Exception e) { fail(e.getMessage()); } }
7665 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7665/a837f10a0b1188983c8e6738e9c77ec8d785c87f/RosterTest.java/buggy/test/org/jivesoftware/smack/RosterTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2613, 1595, 54, 29811, 1114, 5400, 1435, 288, 3639, 775, 288, 5411, 368, 1436, 279, 394, 721, 8190, 1241, 5411, 1487, 21, 18, 588, 54, 29811, 7675, 2640, 1622, 2932, 75, 31093, 2499, 36, 13014, 3113, 315, 75, 31093, 2499, 3113, 394, 514, 8526, 12528, 42, 22259, 3113, 315, 9203, 6, 22938, 5411, 1487, 21, 18, 588, 54, 29811, 7675, 2640, 1622, 2932, 75, 31093, 2138, 36, 13014, 3113, 315, 75, 31093, 2138, 3113, 394, 514, 8526, 12528, 9203, 6, 22938, 5411, 4884, 18, 19607, 12, 6976, 1769, 5411, 4498, 518, 273, 1487, 21, 18, 588, 54, 29811, 7675, 588, 5400, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 7734, 534, 29811, 1622, 1241, 273, 261, 54, 29811, 1622, 13, 518, 18, 4285, 5621, 7734, 4498, 3252, 273, 1241, 18, 588, 3621, 5621, 7734, 1323, 261, 4650, 18, 5332, 2134, 10756, 288, 10792, 534, 29811, 1114, 721, 8190, 1114, 273, 261, 54, 29811, 1114, 13, 3252, 18, 4285, 5621, 10792, 721, 8190, 1114, 18, 4479, 1622, 12, 4099, 1769, 10792, 4884, 18, 19607, 12, 26520, 1769, 7734, 289, 5411, 289, 5411, 1815, 8867, 2932, 1986, 1300, 434, 3222, 316, 1487, 21, 1410, 506, 576, 3113, 576, 16, 1487, 21, 18, 588, 54, 29811, 7675, 588, 1622, 1380, 10663, 5411, 1815, 8867, 2932, 1986, 1300, 434, 3252, 316, 1487, 21, 1410, 506, 374, 3113, 374, 16, 1487, 21, 18, 588, 54, 29811, 7675, 588, 1114, 1380, 10663, 5411, 1815, 8867, 2932, 1986, 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, 2613, 1595, 54, 29811, 1114, 5400, 1435, 288, 3639, 775, 288, 5411, 368, 1436, 279, 394, 721, 8190, 1241, 5411, 1487, 21, 18, 588, 54, 29811, 7675, 2640, 1622, 2932, 75, 31093, 2499, 36, 13014, 3113, 315, 75, 31093, 2499, 3113, 394, 514, 8526, 12528, 42, 22259, 3113, 315, 9203, 6, 22938, 5411, 1487, 21, 18, 588, 54, 29811, 7675, 2640, 1622, 2932, 75, 31093, 2138, 36, 13014, 3113, 315, 75, 31093, 2138, 3113, 394, 514, 8526, 12528, 9203, 6, 22938, 5411, 4884, 18, 19607, 12, 6976, 1769, 5411, 4498, 518, 273, 1487, 21, 18, 588, 54, 29811, 7675, 588, 5400, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 7734, 534, 29811, 1622, 2 ]
this.currentElementRecoder.put(parentPath+Constants.XPATH_SLASH+elementName, new Integer(((Integer)this.currentElementRecoder.get(parentPath+Constants.XPATH_SLASH+elementName)).intValue()+1 ));
this.currentElementRecoder.put(parentPath+UtilConstants.XPATH_SLASH+elementName, new Integer(((Integer)this.currentElementRecoder.get(parentPath+UtilConstants.XPATH_SLASH+elementName)).intValue()+1 ));
public void startElement( String uri, String name, String qName, Attributes atts ) { String elementName = getElementName( uri, qName, name ); String parentPath = pathHolder.getPath(); //Record the occurance of elements if(this.currentElementRecoder.get(parentPath+Constants.XPATH_SLASH+elementName)==null) { this.currentElementRecoder.put(parentPath+Constants.XPATH_SLASH+elementName,new Integer(1)); }else { this.currentElementRecoder.put(parentPath+Constants.XPATH_SLASH+elementName, new Integer(((Integer)this.currentElementRecoder.get(parentPath+Constants.XPATH_SLASH+elementName)).intValue()+1 )); } pathHolder.push( elementName+"["+((Integer)this.currentElementRecoder.get(parentPath+Constants.XPATH_SLASH+elementName)).intValue()+"]" ); for ( int i = 0; i < atts.getLength( ); i++ ) { spConsumer.manipulateData( getAttributePath( atts, i ), atts.getValue( i ) ); spConsumer.detectNewRow( getAttributePath( atts, i ) ); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/14ebd25d60158712e98274eae10182535e95f3a3/SaxParser.java/clean/data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/SaxParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13591, 12, 514, 2003, 16, 514, 508, 16, 514, 22914, 16, 1082, 202, 2498, 15687, 262, 202, 95, 202, 202, 780, 14453, 273, 7426, 461, 12, 2003, 16, 22914, 16, 508, 11272, 202, 202, 780, 17743, 273, 589, 6064, 18, 588, 743, 5621, 202, 202, 759, 2115, 326, 3334, 1359, 434, 2186, 202, 202, 430, 12, 2211, 18, 2972, 1046, 426, 3396, 18, 588, 12, 2938, 743, 15, 2918, 18, 60, 4211, 67, 24079, 15, 2956, 461, 13, 631, 2011, 13, 202, 202, 95, 1082, 202, 2211, 18, 2972, 1046, 426, 3396, 18, 458, 12, 2938, 743, 15, 2918, 18, 60, 4211, 67, 24079, 15, 2956, 461, 16, 2704, 2144, 12, 21, 10019, 202, 202, 97, 12107, 202, 202, 95, 1082, 202, 2211, 18, 2972, 1046, 426, 3396, 18, 458, 12, 2938, 743, 15, 1304, 2918, 18, 60, 4211, 67, 24079, 15, 2956, 461, 16, 394, 2144, 12443, 12, 4522, 13, 2211, 18, 2972, 1046, 426, 3396, 18, 588, 12, 2938, 743, 15, 1304, 2918, 18, 60, 4211, 67, 24079, 15, 2956, 461, 13, 2934, 474, 620, 1435, 15, 21, 262, 1769, 3196, 202, 97, 202, 202, 803, 6064, 18, 6206, 12, 14453, 9078, 9614, 15, 12443, 4522, 13, 2211, 18, 2972, 1046, 426, 3396, 18, 588, 12, 2938, 743, 15, 2918, 18, 60, 4211, 67, 24079, 15, 2956, 461, 13, 2934, 474, 620, 1435, 9078, 4279, 11272, 9506, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 15687, 18, 588, 1782, 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, 13591, 12, 514, 2003, 16, 514, 508, 16, 514, 22914, 16, 1082, 202, 2498, 15687, 262, 202, 95, 202, 202, 780, 14453, 273, 7426, 461, 12, 2003, 16, 22914, 16, 508, 11272, 202, 202, 780, 17743, 273, 589, 6064, 18, 588, 743, 5621, 202, 202, 759, 2115, 326, 3334, 1359, 434, 2186, 202, 202, 430, 12, 2211, 18, 2972, 1046, 426, 3396, 18, 588, 12, 2938, 743, 15, 2918, 18, 60, 4211, 67, 24079, 15, 2956, 461, 13, 631, 2011, 13, 202, 202, 95, 1082, 202, 2211, 18, 2972, 1046, 426, 3396, 18, 458, 12, 2938, 743, 15, 2918, 18, 60, 4211, 67, 24079, 15, 2956, 461, 16, 2704, 2144, 12, 21, 10019, 202, 202, 2 ]
if ( objectClasses.contains( SUBENTRY_OBJECTCLASS ) || objectClasses.contains( SUBENTRY_OBJECTCLASS_OID ) ) { return false; } return true;
return !( objectClasses.contains(SUBENTRY_OBJECTCLASS) || objectClasses.contains(SUBENTRY_OBJECTCLASS_OID) );
public boolean accept( LdapContext ctx, SearchResult result, SearchControls controls ) { Attribute objectClasses = result.getAttributes().get( "objectClass" ); if ( objectClasses == null ) { return true; } if ( objectClasses.contains( SUBENTRY_OBJECTCLASS ) || objectClasses.contains( SUBENTRY_OBJECTCLASS_OID ) ) { return false; } return true; }
17035 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17035/0a4e276dc33982ba994abc23dfea44d061c4f96a/SubentryService.java/clean/core/src/main/java/org/apache/ldap/server/subtree/SubentryService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 2791, 12, 18053, 1042, 1103, 16, 29740, 563, 16, 5167, 16795, 11022, 262, 3639, 288, 5411, 3601, 733, 4818, 273, 563, 18, 588, 2498, 7675, 588, 12, 315, 1612, 797, 6, 11272, 5411, 309, 261, 733, 4818, 422, 446, 262, 5411, 288, 7734, 327, 638, 31, 5411, 289, 5411, 309, 261, 733, 4818, 18, 12298, 12, 10025, 19083, 67, 9422, 5237, 262, 747, 733, 4818, 18, 12298, 12, 10025, 19083, 67, 9422, 5237, 67, 12945, 262, 262, 5411, 288, 7734, 327, 629, 31, 5411, 289, 5411, 327, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 2791, 12, 18053, 1042, 1103, 16, 29740, 563, 16, 5167, 16795, 11022, 262, 3639, 288, 5411, 3601, 733, 4818, 273, 563, 18, 588, 2498, 7675, 588, 12, 315, 1612, 797, 6, 11272, 5411, 309, 261, 733, 4818, 422, 446, 262, 5411, 288, 7734, 327, 638, 31, 5411, 289, 5411, 309, 261, 733, 4818, 18, 12298, 12, 10025, 19083, 67, 9422, 5237, 262, 747, 733, 4818, 18, 12298, 12, 10025, 19083, 67, 9422, 5237, 67, 12945, 262, 262, 5411, 288, 7734, 327, 629, 31, 5411, 289, 5411, 327, 638, 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 ]
this.authContext.setXML('/' + path, fragment);
this.authContext.setXML(path, fragment);
public void setXML(String path, DocumentFragment fragment) throws ProcessingException { if (path == null) { throw new ProcessingException("setXML: Path is required"); } if (!path.startsWith("/")) path = '/' + path; final String applicationName = RequestState.getState().getApplicationName(); if ( path.equals("/") ) { // set all is not allowed with "/" throw new ProcessingException("Path '/' is not allowed"); } else if ( path.startsWith("/authentication") ) { this.cleanParametersCache(); this.authContext.setXML('/' + path, fragment); } else if (path.equals("/application") || path.startsWith("/application/") ) { if (applicationName == null) { throw new ProcessingException("Application is required"); } String appPath; if (path.equals("/application")) { appPath = "/"; } else { appPath = path.substring("/application".length()); } this.authContext.setXML("/applications/" + applicationName + appPath, fragment); } else { this.authContext.setXML("/" + path, fragment); } }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/357cface2a7a05d9693cd4e913044883d90b1145/AuthenticationContext.java/buggy/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/context/AuthenticationContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 4201, 12, 780, 589, 16, 4319, 7456, 5481, 13, 565, 1216, 19652, 503, 288, 3639, 309, 261, 803, 422, 446, 13, 288, 5411, 604, 394, 19652, 503, 2932, 542, 4201, 30, 2666, 353, 1931, 8863, 3639, 289, 3639, 309, 16051, 803, 18, 17514, 1190, 2932, 4898, 3719, 589, 273, 2023, 397, 589, 31, 3639, 727, 514, 21080, 273, 1567, 1119, 18, 588, 1119, 7675, 588, 3208, 461, 5621, 3639, 309, 261, 589, 18, 14963, 2932, 4898, 13, 262, 288, 5411, 368, 444, 777, 353, 486, 2935, 598, 4016, 5411, 604, 394, 19652, 503, 2932, 743, 2023, 353, 486, 2935, 8863, 3639, 289, 469, 309, 261, 589, 18, 17514, 1190, 2932, 19, 12293, 7923, 262, 288, 5411, 333, 18, 6200, 2402, 1649, 5621, 5411, 333, 18, 1944, 1042, 18, 542, 4201, 12, 803, 16, 5481, 1769, 3639, 289, 469, 309, 261, 803, 18, 14963, 2932, 19, 3685, 7923, 10792, 747, 589, 18, 17514, 1190, 2932, 19, 3685, 4898, 13, 262, 288, 5411, 309, 261, 3685, 461, 422, 446, 13, 288, 7734, 604, 394, 19652, 503, 2932, 3208, 353, 1931, 8863, 5411, 289, 5411, 514, 28563, 31, 5411, 309, 261, 803, 18, 14963, 2932, 19, 3685, 6, 3719, 288, 7734, 28563, 273, 4016, 31, 5411, 289, 469, 288, 7734, 28563, 273, 589, 18, 28023, 2932, 19, 3685, 9654, 2469, 10663, 5411, 289, 5411, 333, 18, 1944, 1042, 18, 542, 4201, 2932, 19, 3685, 87, 4898, 397, 21080, 397, 28563, 16, 5481, 1769, 3639, 289, 469, 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, 444, 4201, 12, 780, 589, 16, 4319, 7456, 5481, 13, 565, 1216, 19652, 503, 288, 3639, 309, 261, 803, 422, 446, 13, 288, 5411, 604, 394, 19652, 503, 2932, 542, 4201, 30, 2666, 353, 1931, 8863, 3639, 289, 3639, 309, 16051, 803, 18, 17514, 1190, 2932, 4898, 3719, 589, 273, 2023, 397, 589, 31, 3639, 727, 514, 21080, 273, 1567, 1119, 18, 588, 1119, 7675, 588, 3208, 461, 5621, 3639, 309, 261, 589, 18, 14963, 2932, 4898, 13, 262, 288, 5411, 368, 444, 777, 353, 486, 2935, 598, 4016, 5411, 604, 394, 19652, 503, 2932, 743, 2023, 353, 486, 2935, 8863, 3639, 289, 469, 309, 261, 589, 18, 17514, 1190, 2932, 19, 12293, 7923, 262, 288, 2 ]
setOnchange(null);
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setIndexed(false); } try { setMaxlength((String) evalAttr("maxlength", getMaxlength(), String.class)); } catch (NullAttributeException ex) { setMaxlength(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setReadonly(((Boolean) evalAttr("readonly", getReadonlyExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setReadonly(false); } try { setRedisplay(((Boolean) evalAttr("redisplay", getRedisplayExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setRedisplay(false); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setSize((String) evalAttr("size", getSize(), String.class)); } catch (NullAttributeException ex) { setSize(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELPasswordTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELPasswordTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 1862, 856, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 653, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 8853, 12443, 12, 5507, 13, 5302, 3843, 2932, 9278, 3113, 336, 8853, 4742, 9334, 4766, 5411, 3411, 18, 1106, 13, 2934, 13491, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 8853, 12, 5743, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 15034, 12, 5743, 1769, 3639, 289, 3639, 775, 288, 5411, 10851, 2469, 12443, 780, 13, 5302, 3843, 2932, 27875, 3113, 7288, 2469, 9334, 4766, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 1862, 856, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 2 ]
TickStyle tsGrid = TickStyle.get( cmbTickStyle.getText( ) );
TickStyle tsGrid = TickStyle.get( LiteralHelper.fullTickStyleSet.getNameByDisplayName( cmbTickStyle.getText( ) ) );
public void widgetSelected( SelectionEvent e ) { if ( e.getSource( ).equals( cmbTickStyle ) ) { Event eGrid = new Event( ); eGrid.widget = this; eGrid.type = TICK_STYLE_CHANGED_EVENT; TickStyle tsGrid = TickStyle.get( cmbTickStyle.getText( ) ); eGrid.data = tsGrid; fireEvent( eGrid ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/35e5ac52b1d08645abccb0fa32df6279923b4897/GridAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/GridAttributesComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 202, 95, 202, 202, 430, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 276, 1627, 6264, 2885, 262, 262, 202, 202, 95, 1082, 202, 1133, 425, 6313, 273, 394, 2587, 12, 11272, 1082, 202, 73, 6313, 18, 6587, 273, 333, 31, 1082, 202, 73, 6313, 18, 723, 273, 399, 16656, 67, 15066, 67, 24435, 67, 10454, 31, 1082, 202, 6264, 2885, 3742, 6313, 273, 13588, 2885, 18, 588, 12, 276, 1627, 6264, 2885, 18, 588, 1528, 12, 262, 11272, 1082, 202, 73, 6313, 18, 892, 273, 3742, 6313, 31, 1082, 202, 12179, 1133, 12, 425, 6313, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 202, 95, 202, 202, 430, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 276, 1627, 6264, 2885, 262, 262, 202, 202, 95, 1082, 202, 1133, 425, 6313, 273, 394, 2587, 12, 11272, 1082, 202, 73, 6313, 18, 6587, 273, 333, 31, 1082, 202, 73, 6313, 18, 723, 273, 399, 16656, 67, 15066, 67, 24435, 67, 10454, 31, 1082, 202, 6264, 2885, 3742, 6313, 273, 13588, 2885, 18, 588, 12, 276, 1627, 6264, 2885, 18, 588, 1528, 12, 262, 11272, 1082, 202, 73, 6313, 18, 892, 273, 3742, 6313, 31, 1082, 202, 12179, 1133, 12, 425, 6313, 11272, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100 ]
buf.append(" node=");
buf.append(" node=\"");
public String getChildElementXML() { StringBuffer buf = new StringBuffer(); buf.append("<query xmlns=\"http://jabber.org/protocol/disco#info"); if (getNode() != null) { buf.append(" node="); buf.append(getNode()); } buf.append("\">"); synchronized (identities) { for (int i = 0; i < identities.size(); i++) { Identity identity = (Identity) identities.get(i); buf.append(identity.toXML()); } } synchronized (features) { for (int i = 0; i < features.size(); i++) { Feature feature = (Feature) features.get(i); buf.append(feature.toXML()); } } buf.append("</query>"); return buf.toString(); }
7665 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7665/110a1f8d44b0502c45368aa129570009ed579374/DiscoverInfo.java/clean/source/org/jivesoftware/smackx/packet/DiscoverInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8154, 1046, 4201, 1435, 288, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 1681, 18, 6923, 2932, 32, 2271, 12302, 5189, 2505, 2207, 78, 378, 744, 18, 3341, 19, 8373, 19, 2251, 2894, 7, 1376, 8863, 3639, 309, 261, 588, 907, 1435, 480, 446, 13, 288, 5411, 1681, 18, 6923, 2932, 756, 5189, 8863, 5411, 1681, 18, 6923, 12, 588, 907, 10663, 3639, 289, 3639, 1681, 18, 6923, 2932, 21121, 1769, 3639, 3852, 261, 6392, 1961, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 17230, 18, 1467, 5621, 277, 27245, 288, 7734, 7808, 4215, 273, 261, 4334, 13, 17230, 18, 588, 12, 77, 1769, 7734, 1681, 18, 6923, 12, 10781, 18, 869, 4201, 10663, 5411, 289, 3639, 289, 3639, 3852, 261, 7139, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4467, 18, 1467, 5621, 277, 27245, 288, 7734, 7881, 2572, 273, 261, 4595, 13, 4467, 18, 588, 12, 77, 1769, 7734, 1681, 18, 6923, 12, 7238, 18, 869, 4201, 10663, 5411, 289, 3639, 289, 3639, 1681, 18, 6923, 2932, 1757, 2271, 2984, 1769, 3639, 327, 1681, 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, 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1681, 18, 6923, 2932, 756, 5189, 8863, 5411, 1681, 18, 6923, 12, 588, 907, 10663, 3639, 289, 3639, 1681, 18, 6923, 2932, 21121, 1769, 3639, 3852, 261, 6392, 1961, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 17230, 18, 1467, 5621, 277, 27245, 288, 7734, 7808, 4215, 273, 261, 4334, 13, 17230, 18, 588, 12, 77, 1769, 7734, 1681, 18, 6923, 12, 10781, 18, 869, 2 ]
if (selectedResource != null && !enum.hasNext()) {
if (selectedResource != null) {
protected void initializePage() { Iterator enum = currentSelection.iterator(); if (enum.hasNext()) { Object next = enum.next(); IResource selectedResource = null; if (next instanceof IResource) { selectedResource = (IResource)next; } else if (next instanceof IAdaptable) { selectedResource = (IResource)((IAdaptable)next).getAdapter(IResource.class); } if (selectedResource != null && !enum.hasNext()) { // ie.- not a multi-selection if (selectedResource.getType() == IResource.FILE) selectedResource = selectedResource.getParent(); if (selectedResource.isAccessible()) resourceGroup.setContainerFullPath(selectedResource.getFullPath()); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/4115861b160d5af961b67ed97875076f151bf8d4/WizardNewFolderMainPage.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 4046, 1964, 1435, 288, 202, 3198, 2792, 273, 783, 6233, 18, 9838, 5621, 202, 430, 261, 7924, 18, 5332, 2134, 10756, 288, 202, 202, 921, 1024, 273, 2792, 18, 4285, 5621, 202, 202, 45, 1420, 3170, 1420, 273, 446, 31, 202, 202, 430, 261, 4285, 1276, 467, 1420, 13, 288, 1082, 202, 8109, 1420, 273, 261, 45, 1420, 13, 4285, 31, 202, 202, 97, 469, 309, 261, 4285, 1276, 467, 13716, 429, 13, 288, 1082, 202, 8109, 1420, 273, 261, 45, 1420, 13, 12443, 45, 13716, 429, 13, 4285, 2934, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 202, 202, 97, 202, 202, 430, 261, 8109, 1420, 480, 446, 597, 401, 7924, 18, 5332, 2134, 10756, 288, 202, 759, 9228, 18, 17, 486, 279, 3309, 17, 10705, 1082, 202, 430, 261, 8109, 1420, 18, 588, 559, 1435, 422, 467, 1420, 18, 3776, 13, 9506, 202, 8109, 1420, 273, 3170, 1420, 18, 588, 3054, 5621, 1082, 202, 430, 261, 8109, 1420, 18, 291, 10451, 10756, 9506, 202, 3146, 1114, 18, 542, 2170, 24173, 12, 8109, 1420, 18, 588, 24173, 10663, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 4046, 1964, 1435, 288, 202, 3198, 2792, 273, 783, 6233, 18, 9838, 5621, 202, 430, 261, 7924, 18, 5332, 2134, 10756, 288, 202, 202, 921, 1024, 273, 2792, 18, 4285, 5621, 202, 202, 45, 1420, 3170, 1420, 273, 446, 31, 202, 202, 430, 261, 4285, 1276, 467, 1420, 13, 288, 1082, 202, 8109, 1420, 273, 261, 45, 1420, 13, 4285, 31, 202, 202, 97, 469, 309, 261, 4285, 1276, 467, 13716, 429, 13, 288, 1082, 202, 8109, 1420, 273, 261, 45, 1420, 13, 12443, 45, 13716, 429, 13, 4285, 2934, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 202, 202, 97, 202, 202, 430, 261, 8109, 1420, 480, 446, 597, 401, 7924, 18, 5332, 2134, 10756, 288, 2 ]
generateRegExpLiterals(cx, scope); itsData.itsNeedsActivation = theFunction.requiresActivation(); generateICodeFromTree(theFunction.getLastChild()); itsData.itsName = theFunction.getFunctionName(); itsData.itsSource = theFunction.getEncodedSource(); if (Token.printICode) dumpICode(itsData); if (cx.debugger != null) { cx.debugger.handleCompilationDone(cx, itsData, debugSource); } debugSource = savedSource;
generateICodeFromTree(cx, scope, theFunction.getLastChild());
private void generateFunctionICode(Context cx, Scriptable scope) { FunctionNode theFunction = (FunctionNode)scriptOrFn; itsData.itsFunctionType = theFunction.getFunctionType(); // check if function has own source, which is the case // with Function(...) String savedSource = debugSource; debugSource = theFunction.getOriginalSource(); if (debugSource == null) { debugSource = savedSource; } generateNestedFunctions(cx, scope); generateRegExpLiterals(cx, scope); itsData.itsNeedsActivation = theFunction.requiresActivation(); generateICodeFromTree(theFunction.getLastChild()); itsData.itsName = theFunction.getFunctionName(); itsData.itsSource = theFunction.getEncodedSource(); if (Token.printICode) dumpICode(itsData); if (cx.debugger != null) { cx.debugger.handleCompilationDone(cx, itsData, debugSource); } debugSource = savedSource; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/666483b96d42790e5a2f946a7e7ced4a018638b3/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2083, 45, 1085, 12, 1042, 9494, 16, 22780, 2146, 13, 565, 288, 3639, 4284, 907, 326, 2083, 273, 261, 2083, 907, 13, 4263, 1162, 5372, 31, 3639, 2097, 751, 18, 1282, 2083, 559, 273, 326, 2083, 18, 588, 2083, 559, 5621, 3639, 368, 866, 309, 445, 711, 4953, 1084, 16, 1492, 353, 326, 648, 3639, 368, 598, 4284, 5825, 13, 3639, 514, 5198, 1830, 273, 1198, 1830, 31, 3639, 1198, 1830, 273, 326, 2083, 18, 588, 8176, 1830, 5621, 3639, 309, 261, 4148, 1830, 422, 446, 13, 288, 5411, 1198, 1830, 273, 5198, 1830, 31, 3639, 289, 3639, 2103, 8649, 7503, 12, 71, 92, 16, 2146, 1769, 3639, 2103, 13673, 48, 11235, 12, 71, 92, 16, 2146, 1769, 3639, 2097, 751, 18, 1282, 26419, 14857, 273, 326, 2083, 18, 18942, 14857, 5621, 3639, 2103, 45, 1085, 1265, 2471, 12, 5787, 2083, 18, 588, 3024, 1763, 10663, 3639, 2097, 751, 18, 1282, 461, 273, 326, 2083, 18, 588, 25258, 5621, 3639, 2097, 751, 18, 1282, 1830, 273, 326, 2083, 18, 588, 10397, 1830, 5621, 3639, 309, 261, 1345, 18, 1188, 45, 1085, 13, 4657, 45, 1085, 12, 1282,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042, 9494, 16, 22780, 2146, 13, 565, 288, 3639, 4284, 907, 326, 2083, 273, 261, 2083, 907, 13, 4263, 1162, 5372, 31, 3639, 2097, 751, 18, 1282, 2083, 559, 273, 326, 2083, 18, 588, 2083, 559, 5621, 3639, 368, 866, 309, 445, 711, 4953, 1084, 16, 1492, 353, 326, 648, 3639, 368, 598, 4284, 5825, 13, 3639, 514, 5198, 1830, 273, 1198, 1830, 31, 3639, 1198, 1830, 273, 326, 2083, 18, 588, 8176, 1830, 5621, 3639, 309, 261, 4148, 1830, 422, 446, 13, 288, 5411, 1198, 1830, 273, 5198, 1830, 31, 3639, 289, 3639, 2103, 8649, 7503, 12, 71, 92, 16, 2146, 1769, 3639, 2103, 13673, 48, 11235, 12, 71, 92, 2 ]
return tag.getName().startsWith("testng."); }
return tag.getName().startsWith("testng."); }
private static boolean isTestNGTag(DocletTag tag) { return tag.getName().startsWith("testng."); }
46463 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46463/75c0741cfb0fc75ef79c70ec78da0a1cd8144089/AnnotationTestConverter.java/buggy/src/main/org/testng/internal/AnnotationTestConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 353, 4709, 4960, 1805, 12, 1759, 1810, 1805, 1047, 13, 288, 202, 202, 2463, 1047, 18, 17994, 7675, 17514, 1190, 2932, 3813, 3368, 1199, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 353, 4709, 4960, 1805, 12, 1759, 1810, 1805, 1047, 13, 288, 202, 202, 2463, 1047, 18, 17994, 7675, 17514, 1190, 2932, 3813, 3368, 1199, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return xmppBackup.readDocumentVersions(userId, uniqueId, versionId, documentUniqueId);
final JabberId userId, final UUID uniqueId, final Long versionId) { return xmppBackup.readDocumentVersions(userId, uniqueId, versionId);
public List<DocumentVersion> readBackupDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return xmppBackup.readDocumentVersions(userId, uniqueId, versionId, documentUniqueId); }
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/b5545567eecffc0b5a8848cd56f89e81cec7d935/XMPPSessionImpl.java/buggy/client-model/src/main/java/com/thinkparity/ophelia/model/util/xmpp/XMPPSessionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 32, 2519, 1444, 34, 855, 6248, 2519, 5940, 12, 5411, 727, 804, 378, 744, 548, 6249, 16, 727, 5866, 22345, 16, 727, 3407, 15287, 16, 5411, 727, 5866, 1668, 24174, 13, 288,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 32, 2519, 1444, 34, 855, 6248, 2519, 5940, 12, 5411, 727, 804, 378, 744, 548, 6249, 16, 727, 5866, 22345, 16, 727, 3407, 15287, 16, 5411, 727, 5866, 1668, 24174, 13, 288, 3639, 327, 619, 24109, 6248, 18, 896, 2519, 5940, 12, 18991, 16, 22345, 16, 15287, 16, 7734, 1668, 24174, 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 ]
throw new ProjectBuildingException( "Missing version element from parent element" );
throw new ProjectBuildingException( projectId, "Missing version element from parent element" );
private MavenProject assembleLineage( Model model, LinkedList lineage, ArtifactRepository localRepository, File projectDir, List parentSearchRepositories, Set aggregatedRemoteWagonRepositories, ProfileManager externalProfileManager ) throws ProjectBuildingException { if ( !model.getRepositories().isEmpty() ) { List respositories = buildArtifactRepositories( model ); for ( Iterator it = respositories.iterator(); it.hasNext(); ) { ArtifactRepository repository = (ArtifactRepository) it.next(); if ( !aggregatedRemoteWagonRepositories.contains( repository ) ) { aggregatedRemoteWagonRepositories.add( repository ); } } } ProfileManager profileManager = new DefaultProfileManager( container ); if ( externalProfileManager != null ) { profileManager.explicitlyActivate( externalProfileManager.getExplicitlyActivatedIds() ); profileManager.explicitlyDeactivate( externalProfileManager.getExplicitlyDeactivatedIds() ); } List activeProfiles; try { profileManager.addProfiles( model.getProfiles() ); loadProjectExternalProfiles( profileManager, projectDir ); activeProfiles = injectActiveProfiles( profileManager, model ); } catch ( ProfileActivationException e ) { throw new ProjectBuildingException( "Failed to activate local (project-level) build profiles.", e ); } MavenProject project = new MavenProject( model ); project.setActiveProfiles( activeProfiles ); lineage.addFirst( project ); Parent parentModel = model.getParent(); if ( parentModel != null ) { if ( StringUtils.isEmpty( parentModel.getGroupId() ) ) { throw new ProjectBuildingException( "Missing groupId element from parent element" ); } else if ( StringUtils.isEmpty( parentModel.getArtifactId() ) ) { throw new ProjectBuildingException( "Missing artifactId element from parent element" ); } else if ( StringUtils.isEmpty( parentModel.getVersion() ) ) { throw new ProjectBuildingException( "Missing version element from parent element" ); } // the only way this will have a value is if we find the parent on disk... File parentDescriptor = null; MavenProject p = getCachedProject( parentModel.getGroupId(), parentModel.getArtifactId(), parentModel.getVersion() ); if ( p != null ) { model = p.getModel(); parentDescriptor = p.getFile(); } else { model = null; } String parentRelativePath = parentModel.getRelativePath(); // if we can't find a cached model matching the parent spec, then let's try to look on disk using // <relativePath/> if ( model == null && projectDir != null && StringUtils.isNotEmpty( parentRelativePath ) ) { parentDescriptor = new File( projectDir, parentRelativePath ); try { parentDescriptor = parentDescriptor.getCanonicalFile(); } catch ( IOException e ) { getLogger().debug( "Failed to canonicalize potential parent POM: \'" + parentDescriptor + "\'", e ); parentDescriptor = null; } if ( parentDescriptor != null && parentDescriptor.exists() ) { Model candidateParent = readModel( parentDescriptor ); String candidateParentGroupId = candidateParent.getGroupId(); if ( candidateParentGroupId == null && candidateParent.getParent() != null ) { candidateParentGroupId = candidateParent.getParent().getGroupId(); } String candidateParentVersion = candidateParent.getVersion(); if ( candidateParentVersion == null && candidateParent.getParent() != null ) { candidateParentVersion = candidateParent.getParent().getVersion(); } if ( parentModel.getGroupId().equals( candidateParentGroupId ) && parentModel.getArtifactId().equals( candidateParent.getArtifactId() ) && parentModel.getVersion().equals( candidateParentVersion ) ) { model = candidateParent; getLogger().debug( "Using parent-POM from the project hierarchy at: \'" + parentModel.getRelativePath() + "\' for project: " + project.getId() ); } else { getLogger().debug( "Invalid parent-POM referenced by relative path '" + parentModel.getRelativePath() + "' in parent specification in " + project.getId() + ":" + "\n Specified: " + parentModel.getId() + "\n Found: " + candidateParent.getId() ); } } } Artifact parentArtifact = null; // only resolve the parent model from the repository system if we didn't find it on disk... if ( model == null ) { //!! (**) // ---------------------------------------------------------------------- // Do we have the necessary information to actually find the parent // POMs here?? I don't think so ... Say only one remote repository is // specified and that is ibiblio then this model that we just read doesn't // have any repository information ... I think we might have to inherit // as we go in order to do this. // ---------------------------------------------------------------------- getLogger().debug( "Retrieving parent-POM from the repository for project: " + project.getId() ); parentArtifact = artifactFactory.createParentArtifact( parentModel.getGroupId(), parentModel.getArtifactId(), parentModel.getVersion() ); // we must add the repository this POM was found in too, by chance it may be located where the parent is // we can't query the parent to ask where it is :) List remoteRepositories = new ArrayList( aggregatedRemoteWagonRepositories ); remoteRepositories.addAll( parentSearchRepositories ); model = findModelFromRepository( parentArtifact, remoteRepositories, localRepository, false ); } File parentProjectDir = null; if ( parentDescriptor != null ) { parentProjectDir = parentDescriptor.getParentFile(); } MavenProject parent = assembleLineage( model, lineage, localRepository, parentProjectDir, parentSearchRepositories, aggregatedRemoteWagonRepositories, externalProfileManager ); parent.setFile( parentDescriptor ); project.setParent( parent ); project.setParentArtifact( parentArtifact ); } return project; }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/f685d8605d2680e70b1ff2895947d2d11787e3c9/DefaultMavenProjectBuilder.java/buggy/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 17176, 4109, 19540, 1670, 410, 12, 3164, 938, 16, 10688, 31766, 16, 14022, 3305, 1191, 3305, 16, 4766, 1850, 1387, 1984, 1621, 16, 987, 982, 2979, 18429, 16, 4766, 1850, 1000, 16165, 5169, 59, 346, 265, 18429, 16, 11357, 1318, 3903, 4029, 1318, 262, 3639, 1216, 5420, 16713, 503, 565, 288, 3639, 309, 261, 401, 2284, 18, 588, 18429, 7675, 291, 1921, 1435, 262, 3639, 288, 5411, 987, 400, 8768, 273, 1361, 7581, 18429, 12, 938, 11272, 5411, 364, 261, 4498, 518, 273, 400, 8768, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 14022, 3305, 3352, 273, 261, 7581, 3305, 13, 518, 18, 4285, 5621, 7734, 309, 261, 401, 10751, 690, 5169, 59, 346, 265, 18429, 18, 12298, 12, 3352, 262, 262, 7734, 288, 10792, 16165, 5169, 59, 346, 265, 18429, 18, 1289, 12, 3352, 11272, 7734, 289, 5411, 289, 3639, 289, 3639, 11357, 1318, 3042, 1318, 273, 394, 2989, 4029, 1318, 12, 1478, 11272, 3639, 309, 261, 3903, 4029, 1318, 480, 446, 262, 3639, 288, 5411, 3042, 1318, 18, 16511, 715, 21370, 12, 3903, 4029, 1318, 18, 588, 17186, 715, 28724, 2673, 1435, 11272, 5411, 3042, 1318, 18, 16511, 715, 758, 10014, 12, 3903, 4029, 1318, 18, 588, 17186, 715, 758, 18836, 2673, 1435, 11272, 3639, 289, 3639, 987, 2695, 12450, 31, 3639, 775, 3639, 288, 5411, 3042, 1318, 18, 1289, 12450, 12, 938, 18, 588, 12450, 1435, 11272, 5411, 1262, 4109, 6841, 12450, 12, 3042, 1318, 16, 1984, 1621, 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, 17176, 4109, 19540, 1670, 410, 12, 3164, 938, 16, 10688, 31766, 16, 14022, 3305, 1191, 3305, 16, 4766, 1850, 1387, 1984, 1621, 16, 987, 982, 2979, 18429, 16, 4766, 1850, 1000, 16165, 5169, 59, 346, 265, 18429, 16, 11357, 1318, 3903, 4029, 1318, 262, 3639, 1216, 5420, 16713, 503, 565, 288, 3639, 309, 261, 401, 2284, 18, 588, 18429, 7675, 291, 1921, 1435, 262, 3639, 288, 5411, 987, 400, 8768, 273, 1361, 7581, 18429, 12, 938, 11272, 5411, 364, 261, 4498, 518, 273, 400, 8768, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 14022, 3305, 3352, 273, 261, 7581, 3305, 13, 518, 18, 4285, 5621, 7734, 309, 261, 401, 10751, 690, 5169, 59, 2 ]
add(newPersp, newPersp.getPluginId());
add(newPersp);
private void loadCustom() { Reader reader = null; /* Get the entries from the Preference store */ IPreferenceStore store = WorkbenchPlugin.getDefault() .getPreferenceStore(); /* Get the space-delimited list of custom perspective ids */ String customPerspectives = store .getString(IPreferenceConstants.PERSPECTIVES); String[] perspectivesList = StringConverter.asArray(customPerspectives); for (int i = 0; i < perspectivesList.length; i++) { try { String xmlString = store.getString(perspectivesList[i] + PERSP); if (xmlString != null && xmlString.length() != 0) reader = new StringReader(xmlString); // Restore the layout state. XMLMemento memento = XMLMemento.createReadRoot(reader); PerspectiveDescriptor newPersp = new PerspectiveDescriptor( null, null, null); newPersp.restoreState(memento); String id = newPersp.getId(); IPerspectiveDescriptor oldPersp = findPerspectiveWithId(id); if (oldPersp == null) add(newPersp, newPersp.getPluginId()); reader.close(); } catch (IOException e) { unableToLoadPerspective(null); } catch (WorkbenchException e) { unableToLoadPerspective(e.getStatus()); } } // bug 69387: don't look for state location if there is no instance // area, i.e., -data @none if (Platform.getInstanceLocation() == null) return; /* Get the entries from files, if any */ IPath path = WorkbenchPlugin.getDefault().getStateLocation(); File folder = path.toFile(); if (folder.isDirectory()) { File[] fileList = folder.listFiles(); int nSize = fileList.length; for (int nX = 0; nX < nSize; nX++) { File file = fileList[nX]; if (file.getName().endsWith(EXT)) { //get the memento InputStream stream = null; try { stream = new FileInputStream(file); reader = new BufferedReader(new InputStreamReader( stream, "utf-8")); //$NON-NLS-1$ // Restore the layout state. XMLMemento memento = XMLMemento.createReadRoot(reader); PerspectiveDescriptor newPersp = new PerspectiveDescriptor( null, null, null); newPersp.restoreState(memento); IPerspectiveDescriptor oldPersp = findPerspectiveWithId(newPersp .getId()); if (oldPersp == null) add(newPersp, newPersp.getPluginId()); //save to the preference store saveCustomPersp(newPersp, memento); //delete the file file.delete(); reader.close(); stream.close(); } catch (IOException e) { unableToLoadPerspective(null); } catch (WorkbenchException e) { unableToLoadPerspective(e.getStatus()); } } } } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/2643ca655274ae30e4ba0c9a52f2b6c959f1f3e8/PerspectiveRegistry.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 3802, 1435, 288, 3639, 5393, 2949, 273, 446, 31, 3639, 1748, 968, 326, 3222, 628, 326, 29125, 1707, 1195, 3639, 467, 9624, 2257, 1707, 273, 4147, 22144, 3773, 18, 588, 1868, 1435, 7734, 263, 588, 9624, 2257, 5621, 3639, 1748, 968, 326, 3476, 17, 3771, 1038, 329, 666, 434, 1679, 26651, 3258, 1195, 3639, 514, 1679, 14781, 1181, 3606, 273, 1707, 7734, 263, 588, 780, 12, 45, 9624, 2918, 18, 3194, 23810, 1268, 5354, 55, 1769, 3639, 514, 8526, 13508, 1181, 3606, 682, 273, 514, 5072, 18, 345, 1076, 12, 3662, 14781, 1181, 3606, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 13508, 1181, 3606, 682, 18, 2469, 31, 277, 27245, 288, 5411, 775, 288, 7734, 514, 2025, 780, 273, 1707, 18, 588, 780, 12, 10422, 1181, 3606, 682, 63, 77, 65, 397, 10950, 3118, 1769, 7734, 309, 261, 2902, 780, 480, 446, 597, 2025, 780, 18, 2469, 1435, 480, 374, 13, 10792, 2949, 273, 394, 26227, 12, 2902, 780, 1769, 7734, 368, 11197, 326, 3511, 919, 18, 7734, 3167, 49, 820, 83, 312, 820, 83, 273, 3167, 49, 820, 83, 18, 2640, 1994, 2375, 12, 10530, 1769, 7734, 453, 414, 16772, 3187, 394, 14781, 84, 273, 394, 453, 414, 16772, 3187, 12, 13491, 446, 16, 446, 16, 446, 1769, 7734, 394, 14781, 84, 18, 13991, 1119, 12, 81, 820, 83, 1769, 7734, 514, 612, 273, 394, 14781, 84, 18, 26321, 5621, 7734, 2971, 414, 16772, 3187, 1592, 14781, 84, 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, 1262, 3802, 1435, 288, 3639, 5393, 2949, 273, 446, 31, 3639, 1748, 968, 326, 3222, 628, 326, 29125, 1707, 1195, 3639, 467, 9624, 2257, 1707, 273, 4147, 22144, 3773, 18, 588, 1868, 1435, 7734, 263, 588, 9624, 2257, 5621, 3639, 1748, 968, 326, 3476, 17, 3771, 1038, 329, 666, 434, 1679, 26651, 3258, 1195, 3639, 514, 1679, 14781, 1181, 3606, 273, 1707, 7734, 263, 588, 780, 12, 45, 9624, 2918, 18, 3194, 23810, 1268, 5354, 55, 1769, 3639, 514, 8526, 13508, 1181, 3606, 682, 273, 514, 5072, 18, 345, 1076, 12, 3662, 14781, 1181, 3606, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 13508, 1181, 3606, 682, 18, 2469, 31, 277, 27245, 288, 2 ]
else if (sSubType.equalsIgnoreCase("Overlay"))
else if (sSubType.equalsIgnoreCase("Overlay"))
public Chart getModel(String sSubType, Orientation orientation, String sDimension, Chart currentChart) { ChartWithAxes newChart = null; if (currentChart != null) { newChart = (ChartWithAxes) getConvertedChart(currentChart, sSubType, orientation, sDimension); if (newChart != null) { return newChart; } } newChart = ChartWithAxesImpl.create(); newChart.setType(sType); newChart.setSubType(sSubType); newChart.setOrientation(orientation); newChart.setDimension(getDimensionFor(sDimension)); newChart.setUnits("Points"); ((Axis) newChart.getAxes().get(0)).setOrientation(Orientation.HORIZONTAL_LITERAL); ((Axis) newChart.getAxes().get(0)).setType(AxisType.TEXT_LITERAL); ((Axis) newChart.getAxes().get(0)).setCategoryAxis(true); SeriesDefinition sdX = SeriesDefinitionImpl.create(); Series categorySeries = SeriesImpl.create(); sdX.getSeries().add(categorySeries); ((Axis) newChart.getAxes().get(0)).getSeriesDefinitions().add(sdX); newChart.getTitle().getLabel().getCaption().setValue("Line Chart Title"); if (sSubType.equalsIgnoreCase("Stacked")) { ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)) .setOrientation(Orientation.VERTICAL_LITERAL); ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)).setType(AxisType.LINEAR_LITERAL); SeriesDefinition sdY = SeriesDefinitionImpl.create(); sdY.getSeriesPalette().update(0); Series valueSeries = LineSeriesImpl.create(); valueSeries.getLabel().setVisible(true); ((LineSeries) valueSeries).getMarker().setVisible(true); ((LineSeries) valueSeries).setStacked(true); sdY.getSeries().add(valueSeries); ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)).getSeriesDefinitions().add(sdY); } else if (sSubType.equalsIgnoreCase("Percent Stacked")) { ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)) .setOrientation(Orientation.VERTICAL_LITERAL); ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)).setType(AxisType.LINEAR_LITERAL); ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)).setPercent(true); SeriesDefinition sdY = SeriesDefinitionImpl.create(); sdY.getSeriesPalette().update(0); Series valueSeries = LineSeriesImpl.create(); valueSeries.getLabel().setVisible(true); ((LineSeries) valueSeries).getMarker().setVisible(true); ((LineSeries) valueSeries).setStacked(true); sdY.getSeries().add(valueSeries); ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)).getSeriesDefinitions().add(sdY); } else if (sSubType.equalsIgnoreCase("Overlay")) { ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)) .setOrientation(Orientation.VERTICAL_LITERAL); ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)).setType(AxisType.LINEAR_LITERAL); SeriesDefinition sdY = SeriesDefinitionImpl.create(); sdY.getSeriesPalette().update(0); Series valueSeries = LineSeriesImpl.create(); valueSeries.getLabel().setVisible(true); ((LineSeries) valueSeries).getMarker().setVisible(true); ((LineSeries) valueSeries).setStacked(false); sdY.getSeries().add(valueSeries); ((Axis) ((Axis) newChart.getAxes().get(0)).getAssociatedAxes().get(0)).getSeriesDefinitions().add(sdY); } addSampleData(newChart); return newChart; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/7793e94b4d7fab5891f226c6c937e37d85bebad8/LineChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/LineChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14804, 7454, 12, 780, 272, 30511, 16, 531, 12556, 9820, 16, 514, 272, 8611, 16, 14804, 783, 7984, 13, 565, 288, 3639, 14804, 1190, 26494, 394, 7984, 273, 446, 31, 3639, 309, 261, 2972, 7984, 480, 446, 13, 3639, 288, 5411, 394, 7984, 273, 261, 7984, 1190, 26494, 13, 336, 22063, 7984, 12, 2972, 7984, 16, 272, 30511, 16, 9820, 16, 272, 8611, 1769, 5411, 309, 261, 2704, 7984, 480, 446, 13, 5411, 288, 7734, 327, 394, 7984, 31, 5411, 289, 3639, 289, 3639, 394, 7984, 273, 14804, 1190, 26494, 2828, 18, 2640, 5621, 3639, 394, 7984, 18, 542, 559, 12, 87, 559, 1769, 3639, 394, 7984, 18, 542, 30511, 12, 87, 30511, 1769, 3639, 394, 7984, 18, 542, 14097, 12, 19235, 1769, 3639, 394, 7984, 18, 542, 8611, 12, 588, 8611, 1290, 12, 87, 8611, 10019, 3639, 394, 7984, 18, 542, 7537, 2932, 5636, 8863, 3639, 14015, 6558, 13, 394, 7984, 18, 588, 26494, 7675, 588, 12, 20, 13, 2934, 542, 14097, 12, 14097, 18, 44, 20344, 67, 23225, 1769, 3639, 14015, 6558, 13, 394, 7984, 18, 588, 26494, 7675, 588, 12, 20, 13, 2934, 542, 559, 12, 6558, 559, 18, 5151, 67, 23225, 1769, 3639, 14015, 6558, 13, 394, 7984, 18, 588, 26494, 7675, 588, 12, 20, 13, 2934, 542, 4457, 6558, 12, 3767, 1769, 3639, 9225, 1852, 8349, 60, 273, 9225, 1852, 2828, 18, 2640, 5621, 3639, 9225, 3150, 6485, 273, 9225, 2828, 18, 2640, 5621, 3639, 8349, 60, 18, 588, 6485, 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, 14804, 7454, 12, 780, 272, 30511, 16, 531, 12556, 9820, 16, 514, 272, 8611, 16, 14804, 783, 7984, 13, 565, 288, 3639, 14804, 1190, 26494, 394, 7984, 273, 446, 31, 3639, 309, 261, 2972, 7984, 480, 446, 13, 3639, 288, 5411, 394, 7984, 273, 261, 7984, 1190, 26494, 13, 336, 22063, 7984, 12, 2972, 7984, 16, 272, 30511, 16, 9820, 16, 272, 8611, 1769, 5411, 309, 261, 2704, 7984, 480, 446, 13, 5411, 288, 7734, 327, 394, 7984, 31, 5411, 289, 3639, 289, 3639, 394, 7984, 273, 14804, 1190, 26494, 2828, 18, 2640, 5621, 3639, 394, 7984, 18, 542, 559, 12, 87, 559, 1769, 3639, 394, 7984, 18, 542, 30511, 12, 87, 30511, 1769, 3639, 394, 7984, 2 ]
if(!readyARKFetchers.contains(arkFetcher)) {
if(!hasReadyARKFetcher(arkFetcher)) {
public void removeReadyARKFetcher(ARKFetcher arkFetcher) { synchronized(readyARKFetchers) { if(!readyARKFetchers.contains(arkFetcher)) { return; } readyARKFetchers.remove(arkFetcher); } }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/77822d0009bc5b3740e79cc63928f02870726049/ARKFetchManager.java/buggy/src/freenet/node/ARKFetchManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 8367, 9584, 16855, 12, 9584, 16855, 419, 79, 16855, 13, 288, 202, 202, 22043, 12, 1672, 9584, 5005, 414, 13, 288, 1082, 202, 430, 12, 5, 1672, 9584, 5005, 414, 18, 12298, 12, 1313, 16855, 3719, 288, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 1672, 9584, 5005, 414, 18, 4479, 12, 1313, 16855, 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,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918, 1206, 8367, 9584, 16855, 12, 9584, 16855, 419, 79, 16855, 13, 288, 202, 202, 22043, 12, 1672, 9584, 5005, 414, 13, 288, 1082, 202, 430, 12, 5, 1672, 9584, 5005, 414, 18, 12298, 12, 1313, 16855, 3719, 288, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 1672, 9584, 5005, 414, 18, 4479, 12, 1313, 16855, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ResultSet rs = stmt.executeQuery( "select BOARD_ID, NAME, CREATOR, SCENARIOS, " + "PLAYERS, PLAYS from BOARDS"); while (rs.next()) { BoardRecord brec = new BoardRecord(); brec.boardId = rs.getInt(1); brec.name = rs.getString(2); brec.creator = rs.getString(3); brec.scenarios = rs.getString(4); brec.players = rs.getInt(5); brec.plays = rs.getInt(6); blist.add(brec);
stmt.setInt(1, brec.boardId); ResultSet rs = stmt.executeQuery(); if (rs.next()) { brec.data = (byte[])rs.getObject(1); brec.dataHash = (byte[])rs.getObject(2); } else { log.warning("Couldn't find board data! [brec=" + brec + "].");
public Object invoke (Connection conn, DatabaseLiaison liaison) throws SQLException, PersistenceException { Statement stmt = conn.createStatement(); try { ResultSet rs = stmt.executeQuery( "select BOARD_ID, NAME, CREATOR, SCENARIOS, " + "PLAYERS, PLAYS from BOARDS"); while (rs.next()) { BoardRecord brec = new BoardRecord(); brec.boardId = rs.getInt(1); brec.name = rs.getString(2); brec.creator = rs.getString(3); brec.scenarios = rs.getString(4); brec.players = rs.getInt(5); brec.plays = rs.getInt(6); blist.add(brec); } } finally { JDBCUtil.close(stmt); } return null; }
8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/b3bbc3947b36bdbed23c5589423c3d5ec9d104a9/BoardRepository.java/buggy/src/java/com/threerings/bang/server/persist/BoardRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 4356, 261, 1952, 1487, 16, 5130, 48, 1155, 4530, 328, 1155, 4530, 13, 7734, 1216, 6483, 16, 13381, 503, 5411, 288, 7734, 8056, 3480, 273, 1487, 18, 2640, 3406, 5621, 7734, 775, 288, 10792, 10842, 3597, 273, 3480, 18, 8837, 1138, 12, 13491, 315, 4025, 9784, 8085, 67, 734, 16, 6048, 16, 9666, 3575, 16, 8795, 1157, 985, 30520, 16, 315, 397, 13491, 315, 52, 7868, 11367, 16, 453, 7868, 55, 628, 9784, 985, 3948, 8863, 10792, 1323, 261, 5453, 18, 4285, 10756, 288, 13491, 17980, 1060, 2115, 324, 3927, 273, 394, 17980, 1060, 2115, 5621, 13491, 324, 3927, 18, 3752, 548, 273, 3597, 18, 588, 1702, 12, 21, 1769, 13491, 324, 3927, 18, 529, 273, 3597, 18, 588, 780, 12, 22, 1769, 13491, 324, 3927, 18, 20394, 273, 3597, 18, 588, 780, 12, 23, 1769, 13491, 324, 3927, 18, 1017, 18087, 273, 3597, 18, 588, 780, 12, 24, 1769, 13491, 324, 3927, 18, 1601, 414, 273, 3597, 18, 588, 1702, 12, 25, 1769, 13491, 324, 3927, 18, 1601, 87, 273, 3597, 18, 588, 1702, 12, 26, 1769, 13491, 324, 1098, 18, 1289, 12, 70, 3927, 1769, 10792, 289, 4766, 565, 289, 3095, 288, 10792, 16364, 1304, 18, 4412, 12, 10589, 1769, 7734, 289, 7734, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 4356, 261, 1952, 1487, 16, 5130, 48, 1155, 4530, 328, 1155, 4530, 13, 7734, 1216, 6483, 16, 13381, 503, 5411, 288, 7734, 8056, 3480, 273, 1487, 18, 2640, 3406, 5621, 7734, 775, 288, 10792, 10842, 3597, 273, 3480, 18, 8837, 1138, 12, 13491, 315, 4025, 9784, 8085, 67, 734, 16, 6048, 16, 9666, 3575, 16, 8795, 1157, 985, 30520, 16, 315, 397, 13491, 315, 52, 7868, 11367, 16, 453, 7868, 55, 628, 9784, 985, 3948, 8863, 10792, 1323, 261, 5453, 18, 4285, 10756, 288, 13491, 17980, 1060, 2115, 324, 3927, 273, 394, 17980, 1060, 2115, 5621, 13491, 324, 3927, 18, 3752, 548, 273, 3597, 18, 588, 1702, 12, 21, 1769, 13491, 324, 3927, 18, 529, 273, 2 ]
int oldIndex = attributesNode.getIndex(selected); Attribute attribute = query.getAttributes()[oldIndex]; query.removeAttribute(attribute);
int oldIndex = attributesNode.getIndex(selected); Attribute attribute = query.getAttributes()[oldIndex]; query.removeAttribute(attribute);
public void drop(DropTargetDropEvent dtde) { TreeNode target = getNodeForLocation(dtde.getLocation()); // remove node from old position int oldIndex = attributesNode.getIndex(selected); Attribute attribute = query.getAttributes()[oldIndex]; query.removeAttribute(attribute); // insert selected node into the tree by adding to the query in the // correct position. int newIndex = -1; if (target == attributesNode) newIndex = 0; else if (attributesNode.isNodeChild(target)) newIndex = attributesNode.getIndex(target) + 1; query.addAttribute(newIndex, attribute); dtde.getDropTargetContext().dropComplete(true); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/5c72748ff7bd84ebeffdd775a53d50146c100f76/QueryTreeView.java/buggy/src/java/org/ensembl/mart/explorer/QueryTreeView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3640, 12, 7544, 2326, 7544, 1133, 3681, 323, 13, 288, 1377, 20270, 1018, 273, 5973, 1290, 2735, 12, 7510, 323, 18, 588, 2735, 10663, 1377, 368, 1206, 756, 628, 1592, 1754, 1377, 509, 1592, 1016, 273, 1677, 907, 18, 588, 1016, 12, 8109, 1769, 1377, 3601, 1566, 273, 843, 18, 588, 2498, 1435, 63, 1673, 1016, 15533, 1377, 843, 18, 4479, 1499, 12, 4589, 1769, 1377, 368, 2243, 3170, 756, 1368, 326, 2151, 635, 6534, 358, 326, 843, 316, 326, 1377, 368, 3434, 1754, 18, 1377, 509, 21309, 273, 300, 21, 31, 1377, 309, 261, 3299, 422, 1677, 907, 13, 3639, 21309, 273, 374, 31, 1377, 469, 309, 261, 4350, 907, 18,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3640, 12, 7544, 2326, 7544, 1133, 3681, 323, 13, 288, 1377, 20270, 1018, 273, 5973, 1290, 2735, 12, 7510, 323, 18, 588, 2735, 10663, 1377, 368, 1206, 756, 628, 1592, 1754, 1377, 509, 1592, 1016, 273, 1677, 907, 18, 588, 1016, 12, 8109, 1769, 1377, 3601, 1566, 273, 843, 18, 588, 2498, 1435, 63, 1673, 1016, 15533, 1377, 843, 18, 4479, 1499, 12, 4589, 1769, 1377, 368, 2243, 3170, 756, 1368, 326, 2151, 635, 6534, 358, 326, 843, 316, 326, 1377, 368, 3434, 1754, 18, 1377, 509, 21309, 273, 300, 21, 31, 1377, 309, 261, 3299, 422, 1677, 907, 13, 3639, 21309, 273, 374, 31, 1377, 469, 309, 261, 4350, 907, 18, 291, 907, 1763, 12, 2 ]
if (gotModel && gotControl)
if (gotModel && gotControl) {
public void readImpl(PipelineContext pipelineContext, ContentHandler contentHandler) { readInputAsSAX(pipelineContext, INPUT_DATA, new ForwardingContentHandler(contentHandler) { private final String HTML_QNAME = Dom4jUtils.buildExplodedQName(XMLConstants.XHTML_NAMESPACE_URI, "html"); private final String HEAD_QNAME = Dom4jUtils.buildExplodedQName(XMLConstants.XHTML_NAMESPACE_URI, "head"); private final String BODY_QNAME = Dom4jUtils.buildExplodedQName(XMLConstants.XHTML_NAMESPACE_URI, "body"); private int level; private String element0; private String element1; private NamespaceSupport2 namespaceSupport = new NamespaceSupport2(); private boolean gotModel; private boolean gotControl; private boolean inModel; private int modelLevel; private boolean inControl; private int controlLevel; public void startDocument() throws SAXException { super.startDocument(); super.startElement("", "static-state", "static-state", XMLUtils.EMPTY_ATTRIBUTES); } public void endDocument() throws SAXException { // Close elements if (gotModel && gotControl) super.endElement("", "controls", "controls"); else if (gotModel) super.endElement("", "models", "models"); super.endElement("", "static-state", "static-state"); super.endDocument(); } public void startElement(String uri, String localname, String qName, Attributes attributes) throws SAXException { namespaceSupport.pushContext(); // Remember first two levels of elements if (level == 0) { element0 = Dom4jUtils.buildExplodedQName(uri, localname); } else if (level == 1) { element1 = Dom4jUtils.buildExplodedQName(uri, localname); } else if (level >= 2 && HTML_QNAME.equals(element0)) { // We are under /xhtml:html if (XFormsConstants.XFORMS_NAMESPACE_URI.equals(uri)) { // This is an XForms element if (!inModel && !inControl && localname.equals("model") && HEAD_QNAME.equals(element1)) { // Start extracting model inModel = true; modelLevel = level; if (gotControl) throw new OXFException("/xhtml:html/xhtml:head//xforms:model occurred after /xhtml:html/xhtml:body//xforms:*"); if (!gotModel) super.startElement("", "models", "models", XMLUtils.EMPTY_ATTRIBUTES); gotModel = true; sendStartPrefixMappings(); } else if (!inModel && !inControl && BODY_QNAME.equals(element1)) { // Start extracting controls inControl = true; controlLevel = level; if (gotModel && !gotControl) super.endElement("", "models", "models"); if (!gotControl) super.startElement("", "controls", "controls", XMLUtils.EMPTY_ATTRIBUTES); gotControl = true; sendStartPrefixMappings(); } if (inControl) { super.startElement(uri, localname, qName, attributes); } } if (inModel) { super.startElement(uri, localname, qName, attributes); } } level++; } private void sendStartPrefixMappings() throws SAXException { for (Enumeration e = namespaceSupport.getPrefixes(); e.hasMoreElements();) { final String namespacePrefix = (String) e.nextElement(); final String namespaceURI = namespaceSupport.getURI(namespacePrefix); super.startPrefixMapping(namespacePrefix, namespaceURI); } } private void sendEndPrefixMappings() throws SAXException { for (Enumeration e = namespaceSupport.getPrefixes(); e.hasMoreElements();) { final String namespacePrefix = (String) e.nextElement(); super.endPrefixMapping(namespacePrefix); } } public void endElement(String uri, String localname, String qName) throws SAXException { level--; if (inModel) { super.endElement(uri, localname, qName); } else if (inControl && XFormsConstants.XFORMS_NAMESPACE_URI.equals(uri)) { super.endElement(uri, localname, qName); } namespaceSupport.popContext(); if (inModel && level == modelLevel) { // Leaving model inModel = false; sendEndPrefixMappings(); } else if (inControl && level == controlLevel) { // Leaving control inControl = false; sendEndPrefixMappings(); } } public void characters(char[] chars, int start, int length) throws SAXException { if (inModel || inControl) super.characters(chars, start, length); } public void startPrefixMapping(String prefix, String uri) throws SAXException { namespaceSupport.declarePrefix(prefix, uri); if (inModel || inControl) super.startPrefixMapping(prefix, uri); } public void endPrefixMapping(String s) throws SAXException { if (inModel || inControl) super.endPrefixMapping(s); } }); }
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/91a9ce19696e982f5e643975e325dae503dd6666/XFormsExtractor.java/clean/src/java/org/orbeon/oxf/xforms/processor/XFormsExtractor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 855, 2828, 12, 8798, 1042, 5873, 1042, 16, 3697, 1503, 913, 1503, 13, 288, 7734, 855, 1210, 1463, 55, 2501, 12, 14511, 1042, 16, 12943, 67, 4883, 16, 394, 17206, 310, 1350, 1503, 12, 1745, 1503, 13, 288, 10792, 3238, 727, 514, 3982, 67, 16032, 273, 12965, 24, 78, 1989, 18, 3510, 2966, 383, 785, 13688, 12, 4201, 2918, 18, 60, 4870, 67, 11368, 67, 3098, 16, 315, 2620, 8863, 10792, 3238, 727, 514, 14792, 67, 16032, 273, 12965, 24, 78, 1989, 18, 3510, 2966, 383, 785, 13688, 12, 4201, 2918, 18, 60, 4870, 67, 11368, 67, 3098, 16, 315, 1978, 8863, 10792, 3238, 727, 514, 30580, 67, 16032, 273, 12965, 24, 78, 1989, 18, 3510, 2966, 383, 785, 13688, 12, 4201, 2918, 18, 60, 4870, 67, 11368, 67, 3098, 16, 315, 3432, 8863, 10792, 3238, 509, 1801, 31, 10792, 3238, 514, 930, 20, 31, 10792, 3238, 514, 930, 21, 31, 10792, 3238, 6005, 6289, 22, 1981, 6289, 273, 394, 6005, 6289, 22, 5621, 10792, 3238, 1250, 2363, 1488, 31, 10792, 3238, 1250, 2363, 3367, 31, 10792, 3238, 1250, 316, 1488, 31, 10792, 3238, 509, 938, 2355, 31, 10792, 3238, 1250, 316, 3367, 31, 10792, 3238, 509, 3325, 2355, 31, 10792, 1071, 918, 787, 2519, 1435, 1216, 14366, 288, 13491, 2240, 18, 1937, 2519, 5621, 13491, 2240, 18, 1937, 1046, 2932, 3113, 315, 3845, 17, 2019, 3113, 315, 3845, 17, 2019, 3113, 3167, 1989, 18, 13625, 67, 22308, 1769, 10792, 289, 10792, 1071, 918, 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, 2398, 1071, 918, 855, 2828, 12, 8798, 1042, 5873, 1042, 16, 3697, 1503, 913, 1503, 13, 288, 7734, 855, 1210, 1463, 55, 2501, 12, 14511, 1042, 16, 12943, 67, 4883, 16, 394, 17206, 310, 1350, 1503, 12, 1745, 1503, 13, 288, 10792, 3238, 727, 514, 3982, 67, 16032, 273, 12965, 24, 78, 1989, 18, 3510, 2966, 383, 785, 13688, 12, 4201, 2918, 18, 60, 4870, 67, 11368, 67, 3098, 16, 315, 2620, 8863, 10792, 3238, 727, 514, 14792, 67, 16032, 273, 12965, 24, 78, 1989, 18, 3510, 2966, 383, 785, 13688, 12, 4201, 2918, 18, 60, 4870, 67, 11368, 67, 3098, 16, 315, 1978, 8863, 10792, 3238, 727, 514, 30580, 67, 16032, 273, 12965, 24, 78, 1989, 18, 3510, 2 ]
int oldPosition = mEditor.getCaretPosition();
public void actionPerformed(ActionEvent event) { int ident = mAddressBar.getOptionsPanel().getSelectedIdentity(); Preferences prefs = PreferencesFactory.Get(); String sigFileName = prefs.getString("mail.identity-" + ident + ".signature", ""); Document doc = mEditor.getDocument(); //int position = mEditor.getCaretPosition(); int position = doc.getEndPosition().getOffset() - 1; try { BufferedReader sigReader = new BufferedReader(new FileReader(sigFileName)); String s = "-- "; while (s != null) { System.out.println(s); s = s + "\n"; doc.insertString(position, s, null); position += s.length(); s = sigReader.readLine(); } } catch (FileNotFoundException fnfe) { fnfe.printStackTrace(); } catch (IOException ioe) { ioe.printStackTrace(); } catch (BadLocationException ble) { ble.printStackTrace(); } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/019b50da906656cdaf8ad6cfb5459202f3965ee1/CompositionPanel.java/buggy/grendel/composition/CompositionPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 1071, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 918, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 26100, 12, 1803, 1133, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 871, 13, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 288, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 3390, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 273, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 312, 1887, 5190, 18, 588, 1320, 5537, 7675, 588, 7416, 4334, 5621, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 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, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 1071, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 918, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 26100, 12, 1803, 1133, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 871, 13, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 288, 474, 1592, 2555, 273, 312, 6946, 18, 588, 39, 20731, 2555, 5621, 509, 1592, 2 ]
super(URL_ROOT);
super(HANDLE_ROOT);
public WebRoot() { super(URL_ROOT); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/0a2cd48ae47ad1ece009a1ad397645a7f8e96c58/WebRoot.java/buggy/sandbox/org.eclipse.mylyn.web.ui/src/org/eclipse/mylyn/internal/hypertext/WebRoot.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2999, 2375, 1435, 288, 202, 202, 9565, 12, 1785, 67, 9185, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2999, 2375, 1435, 288, 202, 202, 9565, 12, 1785, 67, 9185, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Asserts.notReached();
assert false;
private static void addVisibility() { final Field[] fields = Visibility.class.getFields(); delegates.put(loadClass("org.jruby.runtime.Visibility"), new PersistenceDelegate() { /** * @see java.beans.PersistenceDelegate#instantiate(Object, Encoder) */ protected Expression instantiate(Object oldInstance, Encoder out) { for (int i = 0; i < 4; i++) { try { if (fields[i].get(null) == oldInstance) { return new Expression(fields[i], "get", new Object[] {null}); } } catch (IllegalAccessException e) { Asserts.notReached("IllegalAccessException: " + e.getMessage()); } } Asserts.notReached(); return null; } }); }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/AstPersistenceDelegates.java/clean/src/org/jruby/ast/util/AstPersistenceDelegates.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 527, 10135, 1435, 288, 3639, 727, 2286, 8526, 1466, 273, 27791, 18, 1106, 18, 588, 2314, 5621, 3639, 22310, 18, 458, 12, 945, 797, 2932, 3341, 18, 78, 27768, 18, 9448, 18, 10135, 6, 3631, 394, 13381, 9586, 1435, 288, 5411, 1783, 2398, 380, 632, 5946, 2252, 18, 2196, 634, 18, 13182, 9586, 7, 24628, 3840, 12, 921, 16, 13554, 13, 2398, 1195, 5411, 4750, 5371, 10275, 12, 921, 1592, 1442, 16, 13554, 596, 13, 288, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1059, 31, 277, 27245, 288, 10792, 775, 288, 13491, 309, 261, 2821, 63, 77, 8009, 588, 12, 2011, 13, 422, 1592, 1442, 13, 288, 18701, 327, 394, 5371, 12, 2821, 63, 77, 6487, 315, 588, 3113, 394, 1033, 8526, 288, 2011, 22938, 13491, 289, 10792, 289, 1044, 261, 12195, 9773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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 527, 10135, 1435, 288, 3639, 727, 2286, 8526, 1466, 273, 27791, 18, 1106, 18, 588, 2314, 5621, 3639, 22310, 18, 458, 12, 945, 797, 2932, 3341, 18, 78, 27768, 18, 9448, 18, 10135, 6, 3631, 394, 13381, 9586, 1435, 288, 5411, 1783, 2398, 380, 632, 5946, 2252, 18, 2196, 634, 18, 13182, 9586, 7, 24628, 3840, 12, 921, 16, 13554, 13, 2398, 1195, 5411, 4750, 5371, 10275, 12, 921, 1592, 1442, 16, 13554, 596, 13, 288, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1059, 31, 277, 27245, 288, 10792, 775, 288, 13491, 309, 261, 2821, 63, 77, 8009, 588, 12, 2011, 13, 422, 1592, 1442, 13, 288, 18701, 327, 394, 5371, 12, 2 ]
if (jj_3R_260()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_276()) jj_scanpos = xsp;
if (jj_scan_token(IDENTIFIER)) return true;
final private boolean jj_3R_254() { if (jj_3R_260()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_276()) jj_scanpos = xsp; return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/3e3034d7566b0047ef2bf5af2e29ce51f94a2d2e/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 26261, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 22, 4848, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5324, 26, 10756, 10684, 67, 9871, 917, 273, 619,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 26261, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 22, 4848, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5324, 26, 10756, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
RubyInteger depth = RubyFixnum.newFixnum(ruby, depthLimit);
RubyInteger depth = RubyFixnum.newFixnum(runtime, depthLimit);
private void userMarshal(IRubyObject value) throws IOException { out.write('u'); dumpObject(RubySymbol.newSymbol(ruby, value.getInternalClass().getClassname())); RubyInteger depth = RubyFixnum.newFixnum(ruby, depthLimit); RubyString marshaled = (RubyString) value.callMethod("_dump", depth); dumpString(marshaled.getValue()); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/034747585fcabe56272dd07acab0ab42ce8450d5/MarshalStream.java/buggy/org/jruby/runtime/marshal/MarshalStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 729, 8105, 12, 7937, 10340, 921, 460, 13, 1216, 1860, 288, 3639, 596, 18, 2626, 2668, 89, 8284, 3639, 4657, 921, 12, 54, 10340, 5335, 18, 2704, 5335, 12, 27768, 16, 460, 18, 588, 3061, 797, 7675, 588, 20531, 1435, 10019, 3639, 19817, 4522, 3598, 273, 19817, 8585, 2107, 18, 2704, 8585, 2107, 12, 9448, 16, 3598, 3039, 1769, 3639, 19817, 780, 27957, 273, 261, 54, 10340, 780, 13, 460, 18, 1991, 1305, 2932, 67, 8481, 3113, 3598, 1769, 3639, 4657, 780, 12, 3108, 329, 18, 24805, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 918, 729, 8105, 12, 7937, 10340, 921, 460, 13, 1216, 1860, 288, 3639, 596, 18, 2626, 2668, 89, 8284, 3639, 4657, 921, 12, 54, 10340, 5335, 18, 2704, 5335, 12, 27768, 16, 460, 18, 588, 3061, 797, 7675, 588, 20531, 1435, 10019, 3639, 19817, 4522, 3598, 273, 19817, 8585, 2107, 18, 2704, 8585, 2107, 12, 9448, 16, 3598, 3039, 1769, 3639, 19817, 780, 27957, 273, 261, 54, 10340, 780, 13, 460, 18, 1991, 1305, 2932, 67, 8481, 3113, 3598, 1769, 3639, 4657, 780, 12, 3108, 329, 18, 24805, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
phase = Constants.SUMMON;
phase = Constants.BattlePhase.SUMMON;
public void advanceTurn() { if (isOver()) { return; } // Active legion is the one that was striking back. if (activeLegionNum == Constants.ATTACKER) { phase = Constants.SUMMON; Log.event(getActivePlayerName() + "'s battle turn, number " + turnNumber); again = setupSummon(); } else { turnNumber++; if (turnNumber > 7) { timeLoss(); } else { phase = Constants.RECRUIT; again = setupRecruit(); if (getActivePlayer() != null) { Log.event(getActivePlayerName() + "'s battle turn, number " + turnNumber); } } } }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/95fc8b283c4733fb9e761ead12f639e8da0ea57c/Battle.java/buggy/Colossus/core/src/main/java/net/sf/colossus/server/Battle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 8312, 15858, 1435, 3639, 288, 5411, 309, 261, 291, 4851, 10756, 5411, 288, 7734, 327, 31, 5411, 289, 5411, 368, 8857, 4553, 285, 353, 326, 1245, 716, 1703, 609, 1766, 310, 1473, 18, 5411, 309, 261, 3535, 8329, 285, 2578, 422, 5245, 18, 789, 56, 3649, 654, 13, 5411, 288, 7734, 6855, 273, 5245, 18, 38, 4558, 298, 11406, 18, 14020, 17667, 31, 7734, 1827, 18, 2575, 12, 588, 3896, 12148, 461, 1435, 397, 2491, 87, 324, 4558, 298, 7005, 16, 1300, 315, 397, 13491, 7005, 1854, 1769, 7734, 3382, 273, 3875, 3495, 2586, 5621, 5411, 289, 5411, 469, 5411, 288, 7734, 7005, 1854, 9904, 31, 7734, 309, 261, 20922, 1854, 405, 2371, 13, 7734, 288, 10792, 813, 20527, 5621, 7734, 289, 7734, 469, 7734, 288, 10792, 6855, 273, 5245, 18, 862, 5093, 57, 1285, 31, 10792, 3382, 273, 3875, 426, 3353, 14945, 5621, 10792, 309, 261, 588, 3896, 12148, 1435, 480, 446, 13, 10792, 288, 13491, 1827, 18, 2575, 12, 588, 3896, 12148, 461, 1435, 397, 27573, 2491, 87, 324, 4558, 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, 981, 30, 540, 1071, 918, 8312, 15858, 1435, 3639, 288, 5411, 309, 261, 291, 4851, 10756, 5411, 288, 7734, 327, 31, 5411, 289, 5411, 368, 8857, 4553, 285, 353, 326, 1245, 716, 1703, 609, 1766, 310, 1473, 18, 5411, 309, 261, 3535, 8329, 285, 2578, 422, 5245, 18, 789, 56, 3649, 654, 13, 5411, 288, 7734, 6855, 273, 5245, 18, 38, 4558, 298, 11406, 18, 14020, 17667, 31, 7734, 1827, 18, 2575, 12, 588, 3896, 12148, 461, 1435, 397, 2491, 87, 324, 4558, 298, 7005, 16, 1300, 315, 397, 13491, 7005, 1854, 1769, 7734, 3382, 273, 3875, 3495, 2586, 5621, 5411, 289, 5411, 469, 5411, 288, 7734, 7005, 1854, 9904, 31, 7734, 309, 261, 20922, 1854, 405, 2371, 13, 7734, 288, 2 ]
iVisited.accept(_Payload);
_Payload.visitOpAsgnAndNode(iVisited);
public void visitOpAsgnAndNode(OpAsgnAndNode iVisited) { iVisited.accept(_Payload); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 3817, 37, 1055, 82, 1876, 907, 12, 3817, 37, 1055, 82, 1876, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 3817, 37, 1055, 82, 1876, 907, 12, 3817, 37, 1055, 82, 1876, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new MessageInvalidException(ProtocolErrorMessage.INVALID_MESSAGE, "PersistentGet goes from server to client not the other way around", identifier);
throw new MessageInvalidException(ProtocolErrorMessage.INVALID_MESSAGE, "PersistentGet goes from server to client not the other way around", identifier, global);
public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_MESSAGE, "PersistentGet goes from server to client not the other way around", identifier); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/PersistentGet.java/clean/src/freenet/node/fcp/PersistentGet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 12, 42, 4258, 1952, 1503, 1838, 16, 2029, 756, 13, 1082, 202, 15069, 2350, 1941, 503, 288, 202, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 9347, 67, 8723, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1086, 12, 42, 4258, 1952, 1503, 1838, 16, 2029, 756, 13, 1082, 202, 15069, 2350, 1941, 503, 288, 202, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 9347, 67, 8723, 16, 315, 11906, 967, 13998, 628, 1438, 358, 1004, 486, 326, 1308, 4031, 6740, 3113, 2756, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private long getMaxRecentlyUsed() {
private long getMaxRecentlyUsed() {
private long getMaxRecentlyUsed() { long maxRecentlyUsed = 0; try{ Cursor c = chkDB_accessTime.openCursor(null,null); DatabaseEntry keyDBE = new DatabaseEntry(); DatabaseEntry dataDBE = new DatabaseEntry(); if(c.getLast(keyDBE,dataDBE,null)==OperationStatus.SUCCESS) { StoreBlock storeBlock = (StoreBlock) storeBlockTupleBinding.entryToObject(dataDBE); maxRecentlyUsed = storeBlock.getRecentlyUsed(); } c.close(); }catch(DatabaseException ex){ex.printStackTrace();} return maxRecentlyUsed; }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/79d31585331089fa241bcabc60a642461fd7972a/BerkeleyDBFreenetStore.java/clean/src/freenet/store/BerkeleyDBFreenetStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1525, 7288, 17076, 715, 6668, 1435, 565, 288, 377, 202, 5748, 943, 17076, 715, 6668, 273, 374, 31, 377, 202, 377, 202, 698, 95, 202, 377, 202, 6688, 276, 273, 15000, 2290, 67, 3860, 950, 18, 3190, 6688, 12, 2011, 16, 2011, 1769, 1082, 202, 4254, 1622, 498, 2290, 41, 273, 394, 5130, 1622, 5621, 1082, 202, 4254, 1622, 501, 2290, 41, 273, 394, 5130, 1622, 5621, 1082, 202, 430, 12, 71, 18, 588, 3024, 12, 856, 2290, 41, 16, 892, 2290, 41, 16, 2011, 13, 631, 2988, 1482, 18, 12778, 13, 288, 9506, 202, 2257, 1768, 1707, 1768, 273, 261, 2257, 1768, 13, 1707, 1768, 9038, 5250, 18, 4099, 19121, 12, 892, 2290, 41, 1769, 9506, 202, 1896, 17076, 715, 6668, 273, 1707, 1768, 18, 588, 17076, 715, 6668, 5621, 1082, 202, 97, 1082, 202, 71, 18, 4412, 5621, 377, 202, 97, 14683, 12, 4254, 503, 431, 15329, 338, 18, 1188, 6332, 5621, 97, 377, 202, 377, 202, 2463, 943, 17076, 715, 6668, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1525, 7288, 17076, 715, 6668, 1435, 565, 288, 377, 202, 5748, 943, 17076, 715, 6668, 273, 374, 31, 377, 202, 377, 202, 698, 95, 202, 377, 202, 6688, 276, 273, 15000, 2290, 67, 3860, 950, 18, 3190, 6688, 12, 2011, 16, 2011, 1769, 1082, 202, 4254, 1622, 498, 2290, 41, 273, 394, 5130, 1622, 5621, 1082, 202, 4254, 1622, 501, 2290, 41, 273, 394, 5130, 1622, 5621, 1082, 202, 430, 12, 71, 18, 588, 3024, 12, 856, 2290, 41, 16, 892, 2290, 41, 16, 2011, 13, 631, 2988, 1482, 18, 12778, 13, 288, 9506, 202, 2257, 1768, 1707, 1768, 273, 261, 2257, 1768, 13, 1707, 1768, 9038, 5250, 18, 4099, 19121, 12, 892, 2290, 41, 1769, 9506, 2 ]
declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_RESOURCEWORKINGSET_WIZ, PATH_WIZBAN + "workset_wiz.gif", false); declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_DLGBAN_SAVEAS_DLG, PATH_WIZBAN + "saveas_wiz.gif", false);
declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_RESOURCEWORKINGSET_WIZ, PATH_WIZBAN + "workset_wiz.gif", false);
private void declareWorkbenchImages() { final String ICONS_PATH = "$nl$/icons/full/";//$NON-NLS-1$ final String PATH_ELOCALTOOL = ICONS_PATH + "elcl16/"; //Enabled toolbar icons.//$NON-NLS-1$ final String PATH_ETOOL = ICONS_PATH + "etool16/"; //Enabled toolbar icons.//$NON-NLS-1$ final String PATH_DTOOL = ICONS_PATH + "dtool16/"; //Disabled toolbar icons.//$NON-NLS-1$ final String PATH_OBJECT = ICONS_PATH + "obj16/"; //Model object icons//$NON-NLS-1$ final String PATH_WIZBAN = ICONS_PATH + "wizban/"; //Wizard icons//$NON-NLS-1$ Bundle ideBundle = Platform.getBundle(IDEWorkbenchPlugin.IDE_WORKBENCH); declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_BUILD_EXEC, PATH_ETOOL + "build_exec.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_BUILD_EXEC_HOVER, PATH_ETOOL + "build_exec.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_BUILD_EXEC_DISABLED, PATH_DTOOL + "build_exec.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_SEARCH_SRC, PATH_ETOOL + "search_src.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_SEARCH_SRC_HOVER, PATH_ETOOL + "search_src.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_SEARCH_SRC_DISABLED, PATH_DTOOL + "search_src.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_NEXT_NAV, PATH_ETOOL + "next_nav.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_PREVIOUS_NAV, PATH_ETOOL + "prev_nav.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_NEWPRJ_WIZ, PATH_WIZBAN + "newprj_wiz.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_NEWFOLDER_WIZ, PATH_WIZBAN + "newfolder_wiz.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_NEWFILE_WIZ, PATH_WIZBAN + "newfile_wiz.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_IMPORTDIR_WIZ, PATH_WIZBAN + "importdir_wiz.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_IMPORTZIP_WIZ, PATH_WIZBAN + "importzip_wiz.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_EXPORTDIR_WIZ, PATH_WIZBAN + "exportdir_wiz.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_EXPORTZIP_WIZ, PATH_WIZBAN + "exportzip_wiz.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_WIZBAN_RESOURCEWORKINGSET_WIZ, PATH_WIZBAN + "workset_wiz.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_DLGBAN_SAVEAS_DLG, PATH_WIZBAN + "saveas_wiz.gif", false); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT, PATH_OBJECT + "prj_obj.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED, PATH_OBJECT + "cprj_obj.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OPEN_MARKER, PATH_ELOCALTOOL + "gotoobj_tsk.gif", true); //$NON-NLS-1$ // task objects //declareRegistryImage(IDEInternalWorkbenchImages.IMG_OBJS_HPRIO_TSK, PATH_OBJECT+"hprio_tsk.gif"); //declareRegistryImage(IDEInternalWorkbenchImages.IMG_OBJS_MPRIO_TSK, PATH_OBJECT+"mprio_tsk.gif"); //declareRegistryImage(IDEInternalWorkbenchImages.IMG_OBJS_LPRIO_TSK, PATH_OBJECT+"lprio_tsk.gif"); declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJS_TASK_TSK, PATH_OBJECT + "taskmrk_tsk.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDE.SharedImages.IMG_OBJS_BKMRK_TSK, PATH_OBJECT + "bkmrk_tsk.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_COMPLETE_TSK, PATH_OBJECT + "complete_tsk.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_INCOMPLETE_TSK, PATH_OBJECT + "incomplete_tsk.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_WELCOME_ITEM, PATH_OBJECT + "welcome_item.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_OBJS_WELCOME_BANNER, PATH_OBJECT + "welcome_banner.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_LCL_FLAT_LAYOUT, PATH_ELOCALTOOL + "flatLayout.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_LCL_HIERARCHICAL_LAYOUT, PATH_ELOCALTOOL + "hierarchicalLayout.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_ETOOL_PROBLEM_CATEGORY, PATH_ETOOL + "problem_category.gif", true); //$NON-NLS-1$ declareWorkbenchImage(ideBundle, IDEInternalWorkbenchImages.IMG_LCL_LINKTO_HELP, PATH_ELOCALTOOL + "linkto_help.gif", false); //$NON-NLS-1$ // synchronization indicator objects //declareRegistryImage(IDEInternalWorkbenchImages.IMG_OBJS_WBET_STAT, PATH_OVERLAY+"wbet_stat.gif"); //declareRegistryImage(IDEInternalWorkbenchImages.IMG_OBJS_SBET_STAT, PATH_OVERLAY+"sbet_stat.gif"); //declareRegistryImage(IDEInternalWorkbenchImages.IMG_OBJS_CONFLICT_STAT, PATH_OVERLAY+"conflict_stat.gif"); // content locality indicator objects //declareRegistryImage(IDEInternalWorkbenchImages.IMG_OBJS_NOTLOCAL_STAT, PATH_STAT+"notlocal_stat.gif"); //declareRegistryImage(IDEInternalWorkbenchImages.IMG_OBJS_LOCAL_STAT, PATH_STAT+"local_stat.gif"); //declareRegistryImage(IDEInternalWorkbenchImages.IMG_OBJS_FILLLOCAL_STAT, PATH_STAT+"filllocal_stat.gif"); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fdc0bfc5b2792369a886e670b7c019c9a9664acb/IDEWorkbenchAdvisor.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 14196, 2421, 22144, 8946, 1435, 288, 3639, 727, 514, 467, 2248, 55, 67, 4211, 273, 4662, 14039, 13209, 14516, 19, 2854, 4898, 31, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 727, 514, 7767, 67, 41, 14922, 26263, 273, 467, 2248, 55, 67, 4211, 397, 315, 292, 830, 2313, 4898, 31, 368, 1526, 12748, 17455, 18, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 727, 514, 7767, 67, 1584, 51, 1741, 273, 467, 2248, 55, 67, 4211, 397, 315, 278, 1371, 2313, 4898, 31, 368, 1526, 12748, 17455, 18, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 727, 514, 7767, 67, 19792, 1741, 273, 467, 2248, 55, 67, 4211, 397, 315, 72, 6738, 2313, 4898, 31, 368, 8853, 12748, 17455, 18, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 727, 514, 7767, 67, 9422, 273, 467, 2248, 55, 67, 4211, 397, 315, 2603, 2313, 4898, 31, 368, 1488, 733, 17455, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 727, 514, 7767, 67, 59, 6867, 38, 1258, 273, 467, 2248, 55, 67, 4211, 397, 315, 91, 452, 21515, 4898, 31, 368, 27130, 17455, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 8539, 10572, 3405, 273, 11810, 18, 588, 3405, 12, 10385, 2421, 22144, 3773, 18, 10385, 67, 10566, 38, 1157, 1792, 1769, 3639, 14196, 2421, 22144, 2040, 12, 831, 3405, 16, 7734, 1599, 41, 3061, 2421, 22144, 8946, 18, 3445, 43, 67, 1584, 51, 1741, 67, 20215, 67, 15271, 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, 14196, 2421, 22144, 8946, 1435, 288, 3639, 727, 514, 467, 2248, 55, 67, 4211, 273, 4662, 14039, 13209, 14516, 19, 2854, 4898, 31, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 727, 514, 7767, 67, 41, 14922, 26263, 273, 467, 2248, 55, 67, 4211, 397, 315, 292, 830, 2313, 4898, 31, 368, 1526, 12748, 17455, 18, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 727, 514, 7767, 67, 1584, 51, 1741, 273, 467, 2248, 55, 67, 4211, 397, 315, 278, 1371, 2313, 4898, 31, 368, 1526, 12748, 17455, 18, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 727, 514, 7767, 67, 19792, 1741, 273, 467, 2248, 55, 67, 4211, 397, 315, 72, 6738, 2 ]
public org.quickfix.field.Text getText() throws FieldNotFound { org.quickfix.field.Text value = new org.quickfix.field.Text();
public quickfix.field.Text getText() throws FieldNotFound { quickfix.field.Text value = new quickfix.field.Text();
public org.quickfix.field.Text getText() throws FieldNotFound { org.quickfix.field.Text value = new org.quickfix.field.Text(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/clean/src/java/src/quickfix/fix40/NewOrderList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1528, 6701, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1528, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1528, 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,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
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1528, 6701, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1528, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1528, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Handler getProvider();
public Provider getProvider();
public Handler getProvider();
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/e3d2304c8033291e4333ef6a97cac9b228cba19b/Service.java/clean/dev/scratch/prototype1/src/java/org/apache/axis/engine/Service.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4663, 16137, 5621, 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,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, 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, 4663, 16137, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_req=new GroupRequest(msg, corr, real_dests, mode, timeout, 0); _req.execute();
_req = new GroupRequest(msg, corr, real_dests, mode, timeout, 0); _req.execute();
public RspList castMessage(final Vector dests, Message msg, int mode, long timeout) { GroupRequest _req=null; Vector real_dests; Channel tmp; // we need to clone because we don't want to modify the original // (we remove ourselves if LOCAL is false, see below) ! real_dests=dests != null ? (Vector)dests.clone() : (members != null? (Vector)members.clone() : null); // if local delivery is off, then we should not wait for the message from the local member. // therefore remove it from the membership tmp=channel; if(tmp == null) { if(adapter != null && adapter.getTransport() instanceof Channel) tmp=(Channel)adapter.getTransport(); } if(tmp != null && tmp.getOpt(Channel.LOCAL).equals(Boolean.FALSE)) { if(local_addr == null) local_addr=tmp.getLocalAddress(); if(local_addr != null && real_dests != null) real_dests.removeElement(local_addr); } // don't even send the message if the destination list is empty if(log.isDebugEnabled()) log.debug("real_dests=" + real_dests); if(real_dests == null || real_dests.size() == 0) { { if(log.isInfoEnabled()) log.info("destination list is empty, won't send message"); return new RspList(); // return empty response list } } _req=new GroupRequest(msg, corr, real_dests, mode, timeout, 0); _req.execute(); return _req.getResults(); }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/1c1c7d103f9cfeff6928cd868bac88a3edc0eecf/MessageDispatcher.java/buggy/src/org/jgroups/blocks/MessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 534, 1752, 682, 4812, 1079, 12, 6385, 5589, 1570, 87, 16, 2350, 1234, 16, 509, 1965, 16, 1525, 2021, 13, 288, 4202, 3756, 691, 225, 389, 3658, 33, 2011, 31, 4202, 5589, 3639, 2863, 67, 10488, 87, 31, 4202, 5307, 4202, 1853, 31, 4202, 368, 732, 1608, 358, 3236, 2724, 732, 2727, 1404, 2545, 358, 5612, 326, 2282, 4202, 368, 261, 1814, 1206, 19801, 309, 15234, 353, 629, 16, 2621, 5712, 13, 401, 4202, 2863, 67, 10488, 87, 33, 10488, 87, 480, 446, 692, 261, 5018, 13, 10488, 87, 18, 14056, 1435, 294, 261, 7640, 480, 446, 35, 261, 5018, 13, 7640, 18, 14056, 1435, 294, 446, 1769, 4202, 368, 309, 1191, 7912, 353, 3397, 16, 1508, 732, 1410, 486, 2529, 364, 326, 883, 628, 326, 1191, 3140, 18, 4202, 368, 13526, 1206, 518, 628, 326, 12459, 4202, 1853, 33, 4327, 31, 4202, 309, 12, 5645, 422, 446, 13, 288, 6647, 309, 12, 10204, 480, 446, 597, 4516, 18, 588, 6568, 1435, 1276, 5307, 13, 9079, 1853, 28657, 2909, 13, 10204, 18, 588, 6568, 5621, 4202, 289, 4202, 309, 12, 5645, 480, 446, 597, 1853, 18, 588, 6179, 12, 2909, 18, 14922, 2934, 14963, 12, 5507, 18, 21053, 3719, 288, 6647, 309, 12, 3729, 67, 4793, 422, 446, 13, 9079, 1191, 67, 4793, 33, 5645, 18, 588, 2042, 1887, 5621, 6647, 309, 12, 3729, 67, 4793, 480, 446, 597, 2863, 67, 10488, 87, 480, 446, 13, 9079, 2863, 67, 10488, 87, 18, 4479, 1046, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 534, 1752, 682, 4812, 1079, 12, 6385, 5589, 1570, 87, 16, 2350, 1234, 16, 509, 1965, 16, 1525, 2021, 13, 288, 4202, 3756, 691, 225, 389, 3658, 33, 2011, 31, 4202, 5589, 3639, 2863, 67, 10488, 87, 31, 4202, 5307, 4202, 1853, 31, 4202, 368, 732, 1608, 358, 3236, 2724, 732, 2727, 1404, 2545, 358, 5612, 326, 2282, 4202, 368, 261, 1814, 1206, 19801, 309, 15234, 353, 629, 16, 2621, 5712, 13, 401, 4202, 2863, 67, 10488, 87, 33, 10488, 87, 480, 446, 692, 261, 5018, 13, 10488, 87, 18, 14056, 1435, 294, 261, 7640, 480, 446, 35, 261, 5018, 13, 7640, 18, 14056, 1435, 294, 446, 1769, 4202, 368, 309, 1191, 7912, 353, 3397, 16, 1508, 2 ]
} else {
} else {
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request) { // fill the parameter values in the get/set methods fillParamValues(request); // set the dialog type setParamDialogtype(DIALOG_TYPE); // set the action for the JSP switch if (DIALOG_TYPE.equals(getParamAction())) { setAction(ACTION_COPYTOPROJECT); } else if (DIALOG_CANCEL.equals(getParamAction())) { setAction(ACTION_CANCEL); } else { setAction(ACTION_DEFAULT); // build title for copy to project dialog setParamTitle(key(Messages.GUI_COPYTOPROJECT_TITLE_0)); } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/2fa0efcae8f9aa5971c7763269a3b033e9256d4b/CmsCopyToProject.java/clean/src/org/opencms/workplace/commons/CmsCopyToProject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1208, 16514, 691, 1972, 12, 4747, 16514, 2628, 1947, 16, 9984, 590, 13, 288, 3639, 368, 3636, 326, 1569, 924, 316, 326, 336, 19, 542, 2590, 3639, 3636, 786, 1972, 12, 2293, 1769, 3639, 368, 444, 326, 6176, 618, 3639, 22911, 6353, 723, 12, 2565, 18683, 67, 2399, 1769, 3639, 368, 444, 326, 1301, 364, 326, 804, 3118, 1620, 540, 309, 261, 2565, 18683, 67, 2399, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 5411, 22517, 12, 12249, 67, 24875, 4296, 17147, 1769, 4766, 565, 289, 469, 309, 261, 2565, 18683, 67, 25268, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 8227, 22517, 12, 12249, 67, 25268, 1769, 3639, 289, 469, 288, 4766, 565, 22517, 12, 12249, 67, 5280, 1769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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1208, 16514, 691, 1972, 12, 4747, 16514, 2628, 1947, 16, 9984, 590, 13, 288, 3639, 368, 3636, 326, 1569, 924, 316, 326, 336, 19, 542, 2590, 3639, 3636, 786, 1972, 12, 2293, 1769, 3639, 368, 444, 326, 6176, 618, 3639, 22911, 6353, 723, 12, 2565, 18683, 67, 2399, 1769, 3639, 368, 444, 326, 1301, 364, 326, 804, 3118, 1620, 540, 309, 261, 2565, 18683, 67, 2399, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 5411, 22517, 12, 12249, 67, 24875, 4296, 17147, 1769, 4766, 565, 289, 469, 309, 261, 2565, 18683, 67, 25268, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 8227, 22517, 12, 12249, 67, 25268, 1769, 3639, 289, 469, 288, 4766, 565, 2 ]
initialized = true;
public void init(Segment seg, TabExpander expander, float x, SyntaxStyle[] styles, FontRenderContext fontRenderContext, byte defaultID) { initialized = true; style = styles[(id == Token.WHITESPACE || id == Token.TAB) ? defaultID : id]; if(length == 1 && seg.array[seg.offset + offset] == '\t') { float newX = expander.nextTabStop(x,offset + length); width = newX - x; } else { str = new String(seg.array,seg.offset + offset,length); gv = style.getFont().createGlyphVector( fontRenderContext,str); width = (float)gv.getLogicalBounds().getWidth(); positions = gv.getGlyphPositions(0,length,null); } } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/faac45fa04c4f138247a7abce92bd13f4e438ef7/Chunk.java/clean/org/gjt/sp/jedit/syntax/Chunk.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 4131, 2291, 16, 9483, 12271, 264, 4542, 264, 16, 1431, 619, 16, 202, 202, 8070, 2885, 8526, 5687, 16, 10063, 3420, 1042, 3512, 3420, 1042, 16, 202, 202, 7229, 805, 734, 13, 202, 95, 202, 202, 13227, 273, 638, 31, 202, 202, 4060, 273, 5687, 63, 12, 350, 422, 3155, 18, 20767, 747, 612, 422, 3155, 18, 28899, 13, 1082, 202, 35, 805, 734, 294, 612, 15533, 202, 202, 430, 12, 2469, 422, 404, 597, 2291, 18, 1126, 63, 5680, 18, 3348, 397, 1384, 65, 422, 2337, 88, 6134, 202, 202, 95, 1082, 202, 5659, 394, 60, 273, 4542, 264, 18, 4285, 5661, 4947, 12, 92, 16, 3348, 397, 769, 1769, 1082, 202, 2819, 273, 394, 60, 300, 619, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 701, 273, 394, 514, 12, 5680, 18, 1126, 16, 5680, 18, 3348, 397, 1384, 16, 2469, 1769, 1082, 202, 75, 90, 273, 2154, 18, 588, 5711, 7675, 2640, 15141, 5018, 12, 9506, 202, 5776, 3420, 1042, 16, 701, 1769, 1082, 202, 2819, 273, 261, 5659, 13, 75, 90, 18, 588, 17955, 5694, 7675, 588, 2384, 5621, 1082, 202, 12388, 273, 11404, 18, 588, 15141, 11024, 12, 20, 16, 2469, 16, 2011, 1769, 202, 202, 97, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 918, 1208, 12, 4131, 2291, 16, 9483, 12271, 264, 4542, 264, 16, 1431, 619, 16, 202, 202, 8070, 2885, 8526, 5687, 16, 10063, 3420, 1042, 3512, 3420, 1042, 16, 202, 202, 7229, 805, 734, 13, 202, 95, 202, 202, 13227, 273, 638, 31, 202, 202, 4060, 273, 5687, 63, 12, 350, 422, 3155, 18, 20767, 747, 612, 422, 3155, 18, 28899, 13, 1082, 202, 35, 805, 734, 294, 612, 15533, 202, 202, 430, 12, 2469, 422, 404, 597, 2291, 18, 1126, 63, 5680, 18, 3348, 397, 1384, 65, 422, 2337, 88, 6134, 202, 202, 95, 1082, 202, 5659, 394, 60, 273, 4542, 264, 18, 4285, 5661, 4947, 12, 92, 16, 3348, 397, 769, 1769, 1082, 202, 2 ]
RolapMember parentMember, RolapLevel level, String name, String formatString) { super(parentMember, level, name); if (formatString == null) { formatString = ""; } setProperty(Property.PROPERTY_FORMAT_EXP, Literal.createString(formatString)); }
RolapMember parentMember, RolapLevel level, String name, String formatString) { super(parentMember, level, name); if (formatString == null) { formatString = ""; } setProperty(Property.PROPERTY_FORMAT_EXP, Literal.createString(formatString)); }
RolapMeasure( RolapMember parentMember, RolapLevel level, String name, String formatString) { super(parentMember, level, name); if (formatString == null) { formatString = ""; } setProperty(Property.PROPERTY_FORMAT_EXP, Literal.createString(formatString)); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/RolapMeasure.java/clean/src/main/mondrian/rolap/RolapMeasure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 4984, 438, 7197, 12, 1082, 202, 4984, 438, 4419, 982, 4419, 16, 11714, 438, 2355, 1801, 16, 514, 508, 16, 1082, 202, 780, 27107, 13, 288, 202, 202, 9565, 12, 2938, 4419, 16, 1801, 16, 508, 1769, 202, 202, 430, 261, 2139, 780, 422, 446, 13, 288, 1082, 202, 2139, 780, 273, 1408, 31, 202, 202, 97, 202, 202, 542, 1396, 12, 1396, 18, 9900, 67, 7254, 67, 16109, 16, 14392, 18, 2640, 780, 12, 2139, 780, 10019, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 202, 9565, 12, 2938, 4419, 16, 1801, 16, 508, 1769, 202, 202, 430, 261, 2139, 780, 422, 446, 13, 288, 1082, 202, 2139, 780, 273, 1408, 31, 202, 202, 97, 202, 202, 542, 1396, 12, 1396, 18, 9900, 67, 7254, 67, 16109, 16, 14392, 18, 2640, 780, 12, 2139, 780, 10019, 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 ]
System.setProperty("org.xml.sax.driver","org.apache.crimson.parser.XMLReaderImpl");
String newDefault = "org.apache.crimson.parser.XMLReaderImpl"; XRLog.load(Level.WARNING, "No value for system property 'org.xml.sax.driver'.");
public static final XMLReader newXMLReader() { XMLReader saxParser = null; String xmlReaderClass = Configuration.valueFor("xr.load.xml-reader"); try { if ( xmlReaderClass != null && !xmlReaderClass.toLowerCase().equals("default")) { saxParser = XMLReaderFactory.createXMLReader( xmlReaderClass ); } } catch ( Exception ex ) { XRLog.load(Level.WARNING, "Could not instantiate XMLReader class for XML parsing: " + xmlReaderClass +". Please check classpath. Use value 'default' in " + "FS configuration if necessary. Will now try JDK default.", ex); } if ( saxParser == null ) { try { // JDK default // HACK: if if ( System.getProperty("org.xml.sax.driver") == null ) { System.setProperty("org.xml.sax.driver","org.apache.crimson.parser.XMLReaderImpl"); } saxParser = XMLReaderFactory.createXMLReader(); xmlReaderClass = "{JDK default}"; } catch ( Exception ex ) { XRLog.general(ex.getMessage()); } } if ( saxParser == null ) { throw new XRRuntimeException("Could not instantiate any SAX 2 parser, including JDK default. " + "The name of the class to use should have been read from the org.xml.sax.driver System " + "property, which is set to: " + System.getProperty("org.xml.sax.driver")); } XRLog.load( "SAX XMLReader in use (parser): " + saxParser.getClass().getName() ); return saxParser; }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/a0b19138bfb30ab90dc9cb58bfc2b4dadda06949/XMLResource.java/clean/src/java/org/xhtmlrenderer/resource/XMLResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 3167, 2514, 394, 4201, 2514, 1435, 288, 3639, 3167, 2514, 20319, 2678, 273, 446, 31, 3639, 514, 2025, 2514, 797, 273, 4659, 18, 1132, 1290, 2932, 92, 86, 18, 945, 18, 2902, 17, 10530, 8863, 3639, 775, 288, 5411, 309, 261, 2025, 2514, 797, 480, 446, 597, 401, 2902, 2514, 797, 18, 869, 5630, 7675, 14963, 2932, 1886, 6, 3719, 288, 7734, 20319, 2678, 273, 3167, 2514, 1733, 18, 2640, 4201, 2514, 12, 2025, 2514, 797, 11272, 5411, 289, 3639, 289, 1044, 261, 1185, 431, 262, 288, 5411, 1139, 54, 1343, 18, 945, 12, 2355, 18, 9511, 16, 10792, 315, 4445, 486, 10275, 3167, 2514, 667, 364, 3167, 5811, 30, 315, 10792, 397, 2025, 2514, 797, 397, 9654, 7801, 866, 10006, 18, 2672, 460, 296, 1886, 11, 316, 315, 397, 10792, 315, 4931, 1664, 309, 4573, 18, 9980, 2037, 775, 24387, 805, 1199, 16, 431, 1769, 3639, 289, 3639, 309, 261, 20319, 2678, 422, 446, 262, 288, 5411, 775, 288, 7734, 368, 24387, 805, 7734, 368, 670, 3649, 30, 309, 1171, 309, 261, 2332, 18, 588, 1396, 2932, 3341, 18, 2902, 18, 87, 651, 18, 7407, 7923, 422, 446, 262, 288, 10792, 514, 394, 1868, 273, 315, 3341, 18, 19211, 18, 9496, 816, 18, 4288, 18, 4201, 2514, 2828, 14432, 1139, 54, 1343, 18, 945, 12, 2355, 18, 9511, 16, 315, 2279, 460, 364, 2619, 1272, 296, 3341, 18, 2902, 18, 87, 651, 18, 7407, 14550, 1769, 7734, 289, 7734, 20319, 2678, 273, 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, 727, 3167, 2514, 394, 4201, 2514, 1435, 288, 3639, 3167, 2514, 20319, 2678, 273, 446, 31, 3639, 514, 2025, 2514, 797, 273, 4659, 18, 1132, 1290, 2932, 92, 86, 18, 945, 18, 2902, 17, 10530, 8863, 3639, 775, 288, 5411, 309, 261, 2025, 2514, 797, 480, 446, 597, 401, 2902, 2514, 797, 18, 869, 5630, 7675, 14963, 2932, 1886, 6, 3719, 288, 7734, 20319, 2678, 273, 3167, 2514, 1733, 18, 2640, 4201, 2514, 12, 2025, 2514, 797, 11272, 5411, 289, 3639, 289, 1044, 261, 1185, 431, 262, 288, 5411, 1139, 54, 1343, 18, 945, 12, 2355, 18, 9511, 16, 10792, 315, 4445, 486, 10275, 3167, 2514, 667, 364, 3167, 5811, 30, 315, 10792, 397, 2025, 2514, 2 ]
_t = __t181;
_t = __t182;
public final Expression nodeComp(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; org.exist.xquery.parser.XQueryAST nodeComp_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t; org.exist.xquery.parser.XQueryAST is = null; org.exist.xquery.parser.XQueryAST isnot = null; org.exist.xquery.parser.XQueryAST before = null; org.exist.xquery.parser.XQueryAST after = null; step= null; PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_is: { AST __t179 = _t; is = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_is); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step = new NodeComparison(context, left, right, Constants.IS); step.setASTNode(is); path.add(step); _t = __t179; _t = _t.getNextSibling(); break; } case LITERAL_isnot: { AST __t180 = _t; isnot = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_isnot); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step = new NodeComparison(context, left, right, Constants.ISNOT); step.setASTNode(isnot); path.add(step); _t = __t180; _t = _t.getNextSibling(); break; } case BEFORE: { AST __t181 = _t; before = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,BEFORE); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step = new NodeComparison(context, left, right, Constants.BEFORE); step.setASTNode(before); path.add(step); _t = __t181; _t = _t.getNextSibling(); break; } case AFTER: { AST __t182 = _t; after = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,AFTER); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step = new NodeComparison(context, left, right, Constants.AFTER); step.setASTNode(after); path.add(step); _t = __t182; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/10544e5ec103a411822c6180ed81ef38eab15de8/XQueryTreeParser.java/buggy/src/org/exist/xquery/parser/XQueryTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 756, 2945, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 756, 2945, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 67, 88, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 353, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 353, 902, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1865, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1839, 273, 446, 31, 6862, 202, 4119, 33, 446, 31, 1082, 202, 743, 4742, 2002, 33, 394, 2666, 4742, 12, 2472, 1769, 1082, 202, 743, 4742, 2145, 33, 394, 2666, 4742, 12, 2472, 1769, 25083, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 511, 18454, 67, 291, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 28814, 273, 389, 88, 31, 1082, 202, 291, 273, 389, 88, 631, 9053, 8560, 692, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 756, 2945, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 756, 2945, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 67, 88, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 353, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 353, 2 ]
if (kind > 122) kind = 122; jjstateSet[jjnewStateCnt++] = 58; break; case 60: if ((0x3ff000000000000L & l) == 0L) break;
static private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 82; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 32: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 5); else if (curChar == 34) jjCheckNAddStates(6, 8); else if (curChar == 39) jjAddStates(9, 10); else if (curChar == 46) jjCheckNAdd(1); if ((0x3fe000000000000L & l) != 0L) { if (kind > 118) kind = 118; jjCheckNAddStates(11, 18); } else if (curChar == 48) jjAddStates(19, 22); if (curChar == 48) { if (kind > 114) kind = 114; jjCheckNAddStates(23, 30); } break; case 0: if (curChar == 46) jjCheckNAdd(1); break; case 1: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 126) kind = 126; jjCheckNAddStates(31, 33); break; case 3: if ((0x280000000000L & l) != 0L) jjCheckNAdd(4); break; case 4: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 126) kind = 126; jjCheckNAddTwoStates(4, 5); break; case 6: if (curChar == 39) jjAddStates(9, 10); break; case 7: if ((0xffffff7fffffdbffL & l) != 0L) jjCheckNAdd(8); break; case 8: if (curChar == 39 && kind > 128) kind = 128; break; case 10: if ((0x8000008400000000L & l) != 0L) jjCheckNAdd(8); break; case 11: if (curChar == 48) jjCheckNAddTwoStates(12, 8); break; case 12: if ((0xff000000000000L & l) != 0L) jjCheckNAddTwoStates(12, 8); break; case 13: if ((0x3fe000000000000L & l) != 0L) jjCheckNAddTwoStates(14, 8); break; case 14: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(14, 8); break; case 15: if (curChar == 48) jjAddStates(34, 35); break; case 17: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(17, 8); break; case 19: if (curChar == 34) jjCheckNAddStates(6, 8); break; case 20: if ((0xfffffffbffffdbffL & l) != 0L) jjCheckNAddStates(6, 8); break; case 22: if ((0x8000008400000000L & l) != 0L) jjCheckNAddStates(6, 8); break; case 23: if (curChar == 34 && kind > 129) kind = 129; break; case 24: if (curChar == 48) jjCheckNAddStates(36, 39); break; case 25: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(36, 39); break; case 26: if ((0x3fe000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; case 27: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; case 28: if (curChar == 48) jjAddStates(44, 45); break; case 30: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(46, 49); break; case 33: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 131) kind = 131; jjstateSet[jjnewStateCnt++] = 33; break; case 34: if (curChar != 48) break; if (kind > 114) kind = 114; jjCheckNAddStates(23, 30); break; case 35: if ((0xff000000000000L & l) == 0L) break; if (kind > 114) kind = 114; jjCheckNAdd(35); break; case 36: if ((0xff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 38: if ((0xff000000000000L & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(50, 52); break; case 45: if ((0x3fe000000000000L & l) == 0L) break; if (kind > 118) kind = 118; jjCheckNAddStates(11, 18); break; case 46: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 118) kind = 118; jjCheckNAdd(46); break; case 47: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(47, 48); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 51: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(53, 55); break; case 56: if (curChar == 48) jjAddStates(19, 22); break; case 58: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 122) kind = 122; jjstateSet[jjnewStateCnt++] = 58; break; case 60: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 123) kind = 123; jjAddStates(56, 57); break; case 63: if ((0x3ff000000000000L & l) != 0L) jjAddStates(58, 59); break; case 66: if ((0x3ff000000000000L & l) != 0L) jjAddStates(60, 62); break; case 71: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 5); break; case 72: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(72, 73); break; case 73: if (curChar != 46) break; if (kind > 126) kind = 126; jjCheckNAddStates(63, 65); break; case 74: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 126) kind = 126; jjCheckNAddStates(63, 65); break; case 75: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(75, 0); break; case 76: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(76, 77); break; case 78: if ((0x280000000000L & l) != 0L) jjCheckNAdd(79); break; case 79: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 127) kind = 127; jjCheckNAddTwoStates(79, 80); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 32: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 131) kind = 131; jjCheckNAdd(33); } if (curChar == 76) jjAddStates(66, 67); break; case 2: if ((0x2000000020L & l) != 0L) jjAddStates(68, 69); break; case 5: if ((0x104000001040L & l) != 0L && kind > 126) kind = 126; break; case 7: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAdd(8); break; case 9: if (curChar == 92) jjAddStates(70, 73); break; case 10: if ((0x54404610000000L & l) != 0L) jjCheckNAdd(8); break; case 16: if (curChar == 120) jjCheckNAdd(17); break; case 17: if ((0x7e0000007eL & l) != 0L) jjCheckNAddTwoStates(17, 8); break; case 18: if (curChar == 88) jjCheckNAdd(17); break; case 20: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(6, 8); break; case 21: if (curChar == 92) jjAddStates(74, 77); break; case 22: if ((0x54404610000000L & l) != 0L) jjCheckNAddStates(6, 8); break; case 29: if (curChar == 120) jjCheckNAdd(30); break; case 30: if ((0x7e0000007eL & l) != 0L) jjCheckNAddStates(46, 49); break; case 31: if (curChar == 88) jjCheckNAdd(30); break; case 33: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 131) kind = 131; jjCheckNAdd(33); break; case 37: if ((0x100000001000L & l) != 0L && kind > 115) kind = 115; break; case 39: if ((0x20000000200000L & l) != 0L && kind > 116) kind = 116; break; case 41: if ((0x100000001000L & l) != 0L && kind > 117) kind = 117; break; case 42: if ((0x20000000200000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 41; break; case 43: if ((0x20000000200000L & l) != 0L && kind > 117) kind = 117; break; case 44: if ((0x100000001000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 43; break; case 48: if ((0x20100000201000L & l) != 0L && kind > 119) kind = 119; break; case 50: if ((0x20000000200000L & l) != 0L && kind > 120) kind = 120; break; case 52: if ((0x100000001000L & l) != 0L && kind > 121) kind = 121; break; case 53: if ((0x20000000200000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 52; break; case 54: if ((0x20000000200000L & l) != 0L && kind > 121) kind = 121; break; case 55: if ((0x100000001000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 54; break; case 57: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(58); break; case 58: if ((0x7e0000007eL & l) == 0L) break; if (kind > 122) kind = 122; jjCheckNAdd(58); break; case 59: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(60); break; case 60: if ((0x7e0000007eL & l) == 0L) break; if (kind > 123) kind = 123; jjCheckNAddTwoStates(60, 61); break; case 61: if ((0x20100000201000L & l) != 0L && kind > 123) kind = 123; break; case 62: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(63); break; case 63: if ((0x7e0000007eL & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 64: if ((0x20000000200000L & l) != 0L && kind > 124) kind = 124; break; case 65: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(66); break; case 66: if ((0x7e0000007eL & l) != 0L) jjCheckNAddStates(60, 62); break; case 67: if ((0x100000001000L & l) != 0L && kind > 125) kind = 125; break; case 68: if ((0x20000000200000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 67; break; case 69: if ((0x20000000200000L & l) != 0L && kind > 125) kind = 125; break; case 70: if ((0x100000001000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 69; break; case 77: if ((0x2000000020L & l) != 0L) jjAddStates(78, 79); break; case 80: if ((0x104000001040L & l) != 0L && kind > 127) kind = 127; break; case 81: if (curChar == 76) jjAddStates(66, 67); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L) jjstateSet[jjnewStateCnt++] = 8; break; case 20: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(6, 8); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 82 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/380243817238f20dded6aa323a249c33dbaceae3/CPPParserTokenManager.java/buggy/pmd/src/net/sourceforge/pmd/cpd/cppast/CPPParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 760, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 28024, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 3847, 30, 5375, 309, 14015, 20, 92, 23, 1403, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5397, 10684, 1564, 50, 986, 7629, 12, 20, 16, 1381, 1769, 5375, 469, 309, 261, 1397, 2156, 422, 13438, 13, 5397, 10684, 1564, 50, 986, 7629, 12, 26, 16, 1725, 1769, 5375, 469, 309, 261, 1397, 2156, 422, 16977, 13, 5397, 10684, 986, 7629, 12, 29, 16, 1728, 1769, 5375, 469, 309, 261, 1397, 2156, 422, 17077, 13, 5397, 10684, 1564, 50, 986, 12, 21, 1769, 5375, 309, 14015, 20, 92, 23, 3030, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 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, 760, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 28024, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 2 ]
InputStream in = cl.getResourceAsStream(packagePrefix + "/" + filename);
InputStream in = new FileInputStream(regClass.getResource(filename).getFile());
private Properties loadProperty(String filename, Class regClass) throws InternalEVerlageError { Properties newProps = new Properties(); try { ClassLoader cl = regClass.getClassLoader(); String packagePrefix = regClass.getPackage().getName(); packagePrefix = packagePrefix.replace('.', '/'); if (CAGlobal.log.isDebugEnabled()) { CAGlobal.log.debug("try to load " + packagePrefix + "/" + filename); } InputStream in = cl.getResourceAsStream(packagePrefix + "/" + filename); newProps.load(in); in.close(); } catch (FileNotFoundException e) { CAGlobal.log.error(e); throw new InternalEVerlageError(e); } catch (IOException e) { CAGlobal.log.error(e); throw new InternalEVerlageError(e); } return newProps; }
10993 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10993/d2a95e86e2395f17503a1be5204ed4a42ac850dc/PropertyHandler.java/buggy/everlage/src/de/everlage/ca/core/PropertyHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 6183, 1262, 1396, 12, 780, 1544, 16, 1659, 960, 797, 13, 1216, 3186, 41, 3945, 80, 410, 668, 288, 202, 202, 2297, 394, 5047, 273, 394, 6183, 5621, 202, 202, 698, 288, 1082, 202, 7805, 927, 273, 960, 797, 18, 588, 7805, 5621, 1082, 202, 780, 2181, 2244, 273, 960, 797, 18, 588, 2261, 7675, 17994, 5621, 1082, 202, 5610, 2244, 273, 2181, 2244, 18, 2079, 2668, 1093, 16, 2023, 1769, 1082, 202, 430, 261, 39, 1781, 1820, 18, 1330, 18, 291, 2829, 1526, 10756, 288, 9506, 202, 39, 1781, 1820, 18, 1330, 18, 4148, 2932, 698, 358, 1262, 315, 397, 2181, 2244, 397, 4016, 397, 1544, 1769, 1082, 202, 97, 1082, 202, 4348, 316, 273, 927, 18, 588, 1420, 17052, 12, 5610, 2244, 397, 4016, 397, 1544, 1769, 1082, 202, 2704, 5047, 18, 945, 12, 267, 1769, 1082, 202, 267, 18, 4412, 5621, 202, 202, 97, 1044, 261, 812, 3990, 425, 13, 288, 1082, 202, 39, 1781, 1820, 18, 1330, 18, 1636, 12, 73, 1769, 1082, 202, 12849, 394, 3186, 41, 3945, 80, 410, 668, 12, 73, 1769, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 1082, 202, 39, 1781, 1820, 18, 1330, 18, 1636, 12, 73, 1769, 1082, 202, 12849, 394, 3186, 41, 3945, 80, 410, 668, 12, 73, 1769, 202, 202, 97, 202, 202, 2463, 394, 5047, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6183, 1262, 1396, 12, 780, 1544, 16, 1659, 960, 797, 13, 1216, 3186, 41, 3945, 80, 410, 668, 288, 202, 202, 2297, 394, 5047, 273, 394, 6183, 5621, 202, 202, 698, 288, 1082, 202, 7805, 927, 273, 960, 797, 18, 588, 7805, 5621, 1082, 202, 780, 2181, 2244, 273, 960, 797, 18, 588, 2261, 7675, 17994, 5621, 1082, 202, 5610, 2244, 273, 2181, 2244, 18, 2079, 2668, 1093, 16, 2023, 1769, 1082, 202, 430, 261, 39, 1781, 1820, 18, 1330, 18, 291, 2829, 1526, 10756, 288, 9506, 202, 39, 1781, 1820, 18, 1330, 18, 4148, 2932, 698, 358, 1262, 315, 397, 2181, 2244, 397, 4016, 397, 1544, 1769, 1082, 202, 97, 1082, 202, 4348, 316, 273, 2 ]
debug = "openNextFile : set all kinds of parameters";
private boolean openNextFile() { try { lineNumberInFile = 0; debug = "openNextFile : close last file"; if (!closeLastFile()) return false; if (data.files.nrOfFiles() == 0) return false; // Is this the last file? data.isLastFile = (data.filenr == data.files.nrOfFiles() - 1); data.file = data.files.getFile(data.filenr); data.filename = data.file.getPath(); // Add this files to the result of this transformation. // ResultFile resultFile = new ResultFile(ResultFile.FILE_TYPE_GENERAL, data.file, getTransMeta().getName(), toString()); addResultFile(resultFile); debug = "openNextFile : open file"; logBasic("Opening file: " + data.filename); data.fr = new FileInputStream(data.file); data.dataErrorLineHandler.handleFile(data.file); if (meta.isZipped()) { data.zi = new ZipInputStream(data.fr); data.zi.getNextEntry(); if (meta.getEncoding() != null && meta.getEncoding().length() > 0) { data.isr = new InputStreamReader(new BufferedInputStream(data.zi), meta.getEncoding()); } else { data.isr = new InputStreamReader(new BufferedInputStream(data.zi)); } } else { if (meta.getEncoding() != null && meta.getEncoding().length() > 0) { data.isr = new InputStreamReader(new BufferedInputStream(data.fr), meta.getEncoding()); } else { data.isr = new InputStreamReader(new BufferedInputStream(data.fr)); } } debug = "openNextFile : set all kinds of parameters"; // Move file pointer ahead! data.filenr++; // ///////////////////////////////////////////////////////////////////////////// // Read the first lines... /* Keep track of the status of the file: are there any lines left to read? */ data.doneReading = false; /* OK, read a number of lines in the buffer: The header rows The nr rows in the page : optional The footer rows */ int bufferSize = 1; // try to read at least one line. bufferSize += meta.hasHeader() ? meta.getNrHeaderLines() : 0; bufferSize += meta.isLayoutPaged() ? meta.getNrLinesPerPage() : 0; bufferSize += meta.hasFooter() ? meta.getNrFooterLines() : 0; // See if we need to skip the document header lines... if (meta.isLayoutPaged()) { for (int i = 0; i < meta.getNrLinesDocHeader(); i++) { // Just skip these... getLine(log, data.isr, meta.getFileFormat()); // header and footer: not wrapped lineNumberInFile++; } } String line; for (int i = 0; i < bufferSize && !data.doneReading; i++) { line = getLine(log, data.isr, meta.getFileFormat()); if (line != null) { // logRowlevel("LINE READ: "+line); linesInput++; lineNumberInFile++; // when there is no header, check the filter for the first line if (!meta.hasHeader()) { // Filter row? boolean isFilterLastLine = false; boolean filterOK = checkFilterRow(line, isFilterLastLine); if (filterOK) { data.lineBuffer.add(new TextFileLine(line, lineNumberInFile, data.file)); // Store it in the // line buffer... } else { if (isFilterLastLine) { data.doneReading = true; } bufferSize++; // grab another line, this one got filtered } } else //there is a header, so don�t checkFilterRow { data.lineBuffer.add(new TextFileLine(line, lineNumberInFile, data.file)); // Store it in the // line buffer... } } else { data.doneReading = true; } } // Reset counters etc. data.headerLinesRead = 0; data.footerLinesRead = 0; data.pageLinesRead = 0; // Set a flags data.doneWithHeader = !meta.hasHeader(); } catch (Exception e) { logError("Couldn't open file #" + data.filenr + " : " + data.filename + " (" + debug + ") --> " + e.toString()); stopAll(); setErrors(1); return false; } return true; }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/3f39d037ba2ddf06fc422d6ae1f3add16df6eae5/TextFileInput.java/clean/src/be/ibridge/kettle/trans/step/textfileinput/TextFileInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1696, 2134, 812, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 1369, 1854, 382, 812, 273, 374, 31, 1082, 202, 4148, 273, 315, 3190, 2134, 812, 294, 1746, 1142, 585, 14432, 1082, 202, 430, 16051, 4412, 3024, 812, 10756, 327, 629, 31, 1082, 202, 430, 261, 892, 18, 2354, 18, 11611, 951, 2697, 1435, 422, 374, 13, 327, 629, 31, 1082, 202, 759, 2585, 333, 326, 1142, 585, 35, 1082, 202, 892, 18, 291, 3024, 812, 273, 261, 892, 18, 7540, 275, 86, 422, 501, 18, 2354, 18, 11611, 951, 2697, 1435, 300, 404, 1769, 1082, 202, 892, 18, 768, 273, 501, 18, 2354, 18, 29925, 12, 892, 18, 7540, 275, 86, 1769, 1082, 202, 892, 18, 3459, 273, 501, 18, 768, 18, 588, 743, 5621, 9506, 5411, 368, 1436, 333, 1390, 358, 326, 563, 434, 333, 8620, 18, 5411, 368, 1082, 202, 1253, 812, 563, 812, 273, 394, 3438, 812, 12, 1253, 812, 18, 3776, 67, 2399, 67, 13990, 1013, 16, 501, 18, 768, 16, 336, 1429, 2781, 7675, 17994, 9334, 1762, 10663, 1082, 202, 1289, 1253, 812, 12, 2088, 812, 1769, 1082, 202, 4148, 273, 315, 3190, 2134, 812, 294, 1696, 585, 14432, 1082, 202, 1330, 8252, 2932, 21378, 585, 30, 315, 397, 501, 18, 3459, 1769, 1082, 202, 892, 18, 4840, 273, 394, 11907, 12, 892, 18, 768, 1769, 1082, 202, 892, 18, 892, 668, 1670, 1503, 18, 4110, 812, 12, 892, 18, 768, 1769, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1696, 2134, 812, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 1369, 1854, 382, 812, 273, 374, 31, 1082, 202, 4148, 273, 315, 3190, 2134, 812, 294, 1746, 1142, 585, 14432, 1082, 202, 430, 16051, 4412, 3024, 812, 10756, 327, 629, 31, 1082, 202, 430, 261, 892, 18, 2354, 18, 11611, 951, 2697, 1435, 422, 374, 13, 327, 629, 31, 1082, 202, 759, 2585, 333, 326, 1142, 585, 35, 1082, 202, 892, 18, 291, 3024, 812, 273, 261, 892, 18, 7540, 275, 86, 422, 501, 18, 2354, 18, 11611, 951, 2697, 1435, 300, 404, 1769, 1082, 202, 892, 18, 768, 273, 501, 18, 2354, 18, 29925, 12, 892, 18, 7540, 275, 86, 2 ]
c.kind == Kinds.ERROR ||
c.isError() ||
public boolean isSubClass(Symbol c) { return this == c || c.kind == Kinds.ERROR || closurePos(c) >= 0 || this == Global.instance.definitions.ALL_CLASS || (this == Global.instance.definitions.ALLREF_CLASS && c != Global.instance.definitions.ALL_CLASS && c.isSubClass(Global.instance.definitions.ANYREF_CLASS)); }
1156 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1156/789d2abd99fe20c9502260d2bda4b7d05b282b36/Symbol.java/clean/sources/scalac/symtab/Symbol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 16523, 797, 12, 5335, 276, 13, 288, 3639, 327, 333, 422, 276, 747, 5411, 276, 18, 291, 668, 1435, 747, 5411, 7213, 1616, 12, 71, 13, 1545, 374, 747, 5411, 333, 422, 8510, 18, 1336, 18, 13314, 18, 4685, 67, 5237, 747, 5411, 261, 2211, 422, 8510, 18, 1336, 18, 13314, 18, 4685, 10771, 67, 5237, 597, 2398, 276, 480, 8510, 18, 1336, 18, 13314, 18, 4685, 67, 5237, 597, 2398, 276, 18, 291, 1676, 797, 12, 5160, 18, 1336, 18, 13314, 18, 15409, 10771, 67, 5237, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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411, 276, 18, 291, 668, 1435, 747, 5411, 7213, 1616, 12, 71, 13, 1545, 374, 747, 5411, 333, 422, 8510, 18, 1336, 18, 13314, 18, 4685, 67, 5237, 747, 5411, 261, 2211, 422, 8510, 18, 1336, 18, 13314, 18, 4685, 10771, 67, 5237, 597, 2398, 276, 480, 8510, 18, 1336, 18, 13314, 18, 4685, 67, 5237, 597, 2398, 276, 18, 291, 1676, 797, 12, 5160, 18, 1336, 18, 13314, 18, 15409, 10771, 67, 5237, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
b.setBorderPainted(false);
setButtonProperties(b);
private JToolBar createManagementBar() { JToolBar bar = new JToolBar(); bar.setFloatable(false); bar.setRollover(true); bar.setBorder(null); JButton b = new JButton(controller.getAction(TreeViewerControl.VIEW)); b.setBorderPainted(false); bar.add(b); TreeViewerAction a = controller.getAction(TreeViewerControl.MANAGER); b = new JButton(a); b.setBorderPainted(false); b.addMouseListener((ManagerAction) a); bar.add(b); bar.add(new JSeparator(SwingConstants.VERTICAL)); return bar; }
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/83e42c21eb5c1f3394496ff33c72723a58274a2a/ToolBar.java/clean/SRC/org/openmicroscopy/shoola/agents/treeviewer/view/ToolBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 6364, 5190, 752, 10998, 5190, 1435, 565, 288, 3639, 804, 6364, 5190, 4653, 273, 394, 804, 6364, 5190, 5621, 3639, 4653, 18, 542, 4723, 429, 12, 5743, 1769, 3639, 4653, 18, 542, 4984, 21896, 12, 3767, 1769, 3639, 4653, 18, 542, 8107, 12, 2011, 1769, 3639, 28804, 324, 273, 394, 28804, 12, 5723, 18, 588, 1803, 12, 2471, 18415, 3367, 18, 12145, 10019, 3639, 444, 3616, 2297, 12, 70, 1769, 3639, 4653, 18, 1289, 12, 70, 1769, 3639, 4902, 18415, 1803, 279, 273, 2596, 18, 588, 1803, 12, 2471, 18415, 3367, 18, 19402, 1769, 3639, 324, 273, 394, 28804, 12, 69, 1769, 3639, 444, 3616, 2297, 12, 70, 1769, 3639, 324, 18, 1289, 9186, 2223, 12443, 1318, 1803, 13, 279, 1769, 3639, 4653, 18, 1289, 12, 70, 1769, 3639, 4653, 18, 1289, 12, 2704, 804, 6581, 12, 6050, 310, 2918, 18, 21654, 10109, 10019, 3639, 327, 4653, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 6364, 5190, 752, 10998, 5190, 1435, 565, 288, 3639, 804, 6364, 5190, 4653, 273, 394, 804, 6364, 5190, 5621, 3639, 4653, 18, 542, 4723, 429, 12, 5743, 1769, 3639, 4653, 18, 542, 4984, 21896, 12, 3767, 1769, 3639, 4653, 18, 542, 8107, 12, 2011, 1769, 3639, 28804, 324, 273, 394, 28804, 12, 5723, 18, 588, 1803, 12, 2471, 18415, 3367, 18, 12145, 10019, 3639, 444, 3616, 2297, 12, 70, 1769, 3639, 4653, 18, 1289, 12, 70, 1769, 3639, 4902, 18415, 1803, 279, 273, 2596, 18, 588, 1803, 12, 2471, 18415, 3367, 18, 19402, 1769, 3639, 324, 273, 394, 28804, 12, 69, 1769, 3639, 444, 3616, 2297, 12, 70, 1769, 3639, 324, 18, 1289, 9186, 2223, 12443, 2 ]
MessageFilter mf = MessageFilter.create().setType(DMT.missingPacketNotification).setField(DMT.UID, _uid).setTimeout(SEND_TIMEOUT).setSource(_destination). or(MessageFilter.create().setType(DMT.allReceived).setField(DMT.UID, _uid).setTimeout(SEND_TIMEOUT).setSource(_destination)). or(MessageFilter.create().setType(DMT.sendAborted).setField(DMT.UID, _uid).setTimeout(SEND_TIMEOUT).setSource(_destination)); msg = _usm.waitFor(mf);
MessageFilter mfMissingPacketNotification = MessageFilter.create().setType(DMT.missingPacketNotification).setField(DMT.UID, _uid).setTimeout(SEND_TIMEOUT).setSource(_destination); MessageFilter mfAllReceived = MessageFilter.create().setType(DMT.allReceived).setField(DMT.UID, _uid).setTimeout(SEND_TIMEOUT).setSource(_destination); MessageFilter mfSendAborted = MessageFilter.create().setType(DMT.sendAborted).setField(DMT.UID, _uid).setTimeout(SEND_TIMEOUT).setSource(_destination); msg = _usm.waitFor(mfMissingPacketNotification.or(mfAllReceived.or(mfSendAborted)));
public boolean send() { _receiverThread = Thread.currentThread(); PartiallyReceivedBlock.PacketReceivedListener myListener; try { _unsent = _prb.addListener(myListener = new PartiallyReceivedBlock.PacketReceivedListener() {; public void packetReceived(int packetNo) { _unsent.addLast(new Integer(packetNo)); _sentPackets.setBit(packetNo, false); synchronized(_senderThread) { _senderThread.notify(); } } public void receiveAborted(int reason, String description) { try { ((PeerNode)_destination).sendAsync(DMT.createSendAborted(_uid, reason, description), null); } catch (NotConnectedException e) { Logger.minor(this, "Receive aborted and receiver is not connected"); } } }); _senderThread.start(); while (true) { if (_prb.isAborted()) { synchronized(_senderThread) { _sendComplete = true; _senderThread.notifyAll(); } return false; } Message msg; try { MessageFilter mf = MessageFilter.create().setType(DMT.missingPacketNotification).setField(DMT.UID, _uid).setTimeout(SEND_TIMEOUT).setSource(_destination). or(MessageFilter.create().setType(DMT.allReceived).setField(DMT.UID, _uid).setTimeout(SEND_TIMEOUT).setSource(_destination)). or(MessageFilter.create().setType(DMT.sendAborted).setField(DMT.UID, _uid).setTimeout(SEND_TIMEOUT).setSource(_destination)); msg = _usm.waitFor(mf); } catch (DisconnectedException e) { // Ignore, see below msg = null; } if(!_destination.isConnected()) { Logger.normal(this, "Terminating send "+_uid+" to "+_destination+" from "+_usm.getPortNumber()+" because node disconnected while waiting"); synchronized(_senderThread) { _sendComplete = true; _senderThread.notifyAll(); } return false; } if(_sendComplete) return false; if (msg == null) { if(timeAllSent > 0 && (System.currentTimeMillis() - timeAllSent) > SEND_TIMEOUT && getNumSent() == _prb.getNumPackets()) { synchronized(_senderThread) { _sendComplete = true; _senderThread.notifyAll(); } Logger.error(this, "Terminating send "+_uid+" to "+_destination+" from "+_usm.getPortNumber()+" as we haven't heard from receiver in "+SEND_TIMEOUT+"ms."); return false; } else { Logger.minor(this, "Ignoring timeout: timeAllSent="+timeAllSent+" ("+(System.currentTimeMillis() - timeAllSent)+"), getNumSent="+getNumSent()+"/"+_prb.getNumPackets()); continue; } } else if (msg.getSpec().equals(DMT.missingPacketNotification)) { LinkedList missing = (LinkedList) msg.getObject(DMT.MISSING); for (Iterator i = missing.iterator(); i.hasNext();) { Integer packetNo = (Integer) i.next(); if (_prb.isReceived(packetNo.intValue())) { synchronized(_unsent) { _unsent.addFirst(packetNo); } _sentPackets.setBit(packetNo.intValue(), false); synchronized(_senderThread) { _senderThread.notify(); } } } } else if (msg.getSpec().equals(DMT.allReceived)) { synchronized(_senderThread) { _sendComplete = true; _senderThread.notifyAll(); } return true; } else if (msg.getSpec().equals(DMT.sendAborted)) { // Overloaded: receiver no longer wants the data // Do NOT abort PRB, it's none of its business. // And especially, we don't want a downstream node to // be able to abort our sends to all the others! _prb.removeListener(myListener); synchronized(_senderThread) { _sendComplete = true; _senderThread.notifyAll(); } return false; } else if(_sendComplete) { // Terminated abnormally return false; } } } catch (AbortedException e) { // Terminate synchronized(_senderThread) { _sendComplete = true; _senderThread.notifyAll(); } return false; } }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/507be95bac7f2ea2c3e7628c8932949b10568ffd/BlockTransmitter.java/buggy/src/freenet/io/xfer/BlockTransmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1366, 1435, 288, 202, 202, 67, 24454, 3830, 273, 4884, 18, 2972, 3830, 5621, 9506, 202, 1988, 6261, 8872, 1768, 18, 6667, 8872, 2223, 3399, 2223, 31, 9506, 202, 698, 288, 202, 202, 67, 318, 7569, 273, 389, 683, 70, 18, 1289, 2223, 12, 4811, 2223, 273, 394, 6393, 6261, 8872, 1768, 18, 6667, 8872, 2223, 1435, 288, 31, 1082, 202, 482, 918, 4414, 8872, 12, 474, 4414, 2279, 13, 288, 9506, 202, 67, 318, 7569, 18, 1289, 3024, 12, 2704, 2144, 12, 11482, 2279, 10019, 9506, 202, 67, 7569, 27328, 18, 542, 5775, 12, 11482, 2279, 16, 629, 1769, 9506, 202, 22043, 24899, 15330, 3830, 13, 288, 6862, 202, 67, 15330, 3830, 18, 12336, 5621, 9506, 202, 97, 1082, 202, 97, 1082, 202, 482, 918, 6798, 27821, 12, 474, 3971, 16, 514, 2477, 13, 288, 9506, 202, 698, 288, 6862, 202, 12443, 6813, 907, 13, 67, 10590, 2934, 4661, 2771, 12, 40, 6152, 18, 2640, 3826, 27821, 24899, 1911, 16, 3971, 16, 2477, 3631, 446, 1769, 7734, 289, 1044, 261, 1248, 8932, 503, 425, 13, 288, 10792, 4242, 18, 17364, 12, 2211, 16, 315, 11323, 18166, 471, 5971, 353, 486, 5840, 8863, 7734, 289, 1082, 202, 97, 15549, 202, 202, 67, 15330, 3830, 18, 1937, 5621, 9506, 202, 17523, 261, 3767, 13, 288, 1082, 202, 430, 261, 67, 683, 70, 18, 291, 27821, 10756, 288, 9506, 202, 22043, 24899, 15330, 3830, 13, 288, 6862, 202, 67, 4661, 6322, 273, 638, 31, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1366, 1435, 288, 202, 202, 67, 24454, 3830, 273, 4884, 18, 2972, 3830, 5621, 9506, 202, 1988, 6261, 8872, 1768, 18, 6667, 8872, 2223, 3399, 2223, 31, 9506, 202, 698, 288, 202, 202, 67, 318, 7569, 273, 389, 683, 70, 18, 1289, 2223, 12, 4811, 2223, 273, 394, 6393, 6261, 8872, 1768, 18, 6667, 8872, 2223, 1435, 288, 31, 1082, 202, 482, 918, 4414, 8872, 12, 474, 4414, 2279, 13, 288, 9506, 202, 67, 318, 7569, 18, 1289, 3024, 12, 2704, 2144, 12, 11482, 2279, 10019, 9506, 202, 67, 7569, 27328, 18, 542, 5775, 12, 11482, 2279, 16, 629, 1769, 9506, 202, 22043, 24899, 15330, 3830, 13, 288, 6862, 202, 67, 15330, 3830, 18, 12336, 2 ]
display.asyncExec(uiRunnable);
if(!table.getControl().isDisposed()) table.getControl().getDisplay().asyncExec(uiRunnable);
private void scheduleUIUpdate() { synchronized(this) { if (!updateScheduled) { updateScheduled = true; display.asyncExec(uiRunnable); } } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/174a6cdbe07aba0cc77d88fd5b7455741270174d/ConcurrentTableUpdator.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/deferred/ConcurrentTableUpdator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4788, 5370, 1891, 1435, 288, 3639, 3852, 12, 2211, 13, 288, 202, 3639, 309, 16051, 2725, 10660, 13, 288, 202, 5411, 1089, 10660, 273, 638, 31, 202, 5411, 2562, 18, 3810, 1905, 12, 4881, 20013, 1769, 202, 3639, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4788, 5370, 1891, 1435, 288, 3639, 3852, 12, 2211, 13, 288, 202, 3639, 309, 16051, 2725, 10660, 13, 288, 202, 5411, 1089, 10660, 273, 638, 31, 202, 5411, 2562, 18, 3810, 1905, 12, 4881, 20013, 1769, 202, 3639, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); /* resolved by ContentUtil if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; }*/ List contentList = box.getContent().getChildContent(c); if (contentList.size() == 0) return box;//we can do this if there is no content, right? //TODO: unravel the mysteries of the layout hierarchy. Perhaps the Context should know if we are block-laying out or inline laying-out? if (!box.isAnonymous()) {//this check should really be unnecessary when content layout is completed. tobe 2004-12-09 //This where the magic decision of creating AnonymousBlockBox is //if (LayoutUtil.isBlockLayout(box.getElement(), c)) { Object last = contentList.get(contentList.size() - 1); if (last instanceof AnonymousBlockContent || last instanceof BlockContent) {//this should be block layed out return super.layoutChildren(c, box); } } // calculate the initial position and dimensions Box block = (Box) box; Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.margin.right; validateBounds(bounds); bounds.x = 0; bounds.y = 0; bounds.height = 0; // prepare remaining width and first linebox int remaining_width = bounds.width; LineBox curr_line = newLine(box, bounds, null); c.setFirstLine(true); // account for text-indent CalculatedStyle parentStyle = box.getContent().getStyle();//this should work already remaining_width = TextIndent.doTextIndent(parentStyle, remaining_width, curr_line); // more setup LineBox prev_line = new LineBox(); prev_line.setParent(box); prev_line.y = bounds.y; prev_line.height = 0; InlineBox prev_inline = null; InlineBox prev_align_inline = null; // adjust the first line for float tabs remaining_width = FloatUtil.adjustForTab(c, prev_line, remaining_width); CalculatedStyle currentStyle = parentStyle; CascadedStyle firstLineStyle = null; CascadedStyle firstLetterStyle = null; boolean isFirstLetter = true; // loop until no more nodes while (contentList.size() > 0) { Object o = contentList.get(0); contentList.remove(0); //TODO: can we do this? contentIterator.remove();//chop it off, no need to keep it? if (o instanceof FirstLineStyle) {//can actually only be the first object in list firstLineStyle = ((FirstLineStyle) o).getStyle(); continue; } if (o instanceof FirstLetterStyle) {//can actually only be the first or second object in list firstLetterStyle = ((FirstLetterStyle) o).getStyle(); continue; } Content currentContent = (Content) o; // loop until no more text in this node while (true) { // debugging check if (bounds.width < 0) { u.p("bounds width = " + bounds.width); u.dump_stack(); System.exit(-1); } // the crash warning code if (bounds.width < 1) { u.p("warning. width < 1 " + bounds.width); } // test if there is no more text in the current text node // if there is a prev, and if the prev was part of this current node if (prev_inline != null && prev_inline.getContent() == currentContent) { if (isEndOfBlock(prev_inline, currentContent)) { break; } } currentStyle = currentContent.getStyle(); // look at current inline // break off the longest section that will fit InlineBox new_inline = calculateInline(c, currentContent, remaining_width, bounds.width, prev_inline, prev_align_inline, isFirstLetter, firstLetterStyle, firstLineStyle); // u.p("got back inline: " + new_inline); isFirstLetter = false; firstLetterStyle = null; // if this inline needs to be on a new line if (new_inline.break_before && !new_inline.floated) { remaining_width = bounds.width; saveLine(curr_line, currentStyle, prev_line, bounds.width, bounds.x, c, block, false); firstLineStyle = null; bounds.height += curr_line.height; prev_line = curr_line; curr_line = newLine(box, bounds, prev_line); remaining_width = FloatUtil.adjustForTab(c, curr_line, remaining_width); } // save the new inline to the list curr_line.addChild(new_inline); // calc new height of the line // don't count the inline towards the line height and // line baseline if it's a floating inline. if (!(currentContent instanceof ReplacedContent)) { if (!(currentContent instanceof FloatedBlockContent)) { adjustLineHeight(curr_line, new_inline); } } // handle float //FloatUtil.handleFloated( c, new_inline, curr_line, bounds.width, elem ); // calc new width of the line curr_line.width += new_inline.width; // reduce the available width remaining_width = remaining_width - new_inline.width; // if the last inline was at the end of a line, then go to next line if (new_inline.break_after) { // then remaining_width = max_width remaining_width = bounds.width; // save the line saveLine(curr_line, currentStyle, prev_line, bounds.width, bounds.x, c, block, false); firstLineStyle = null; // increase bounds height to account for the new line bounds.height += curr_line.height; prev_line = curr_line; curr_line = newLine(box, bounds, prev_line); remaining_width = FloatUtil.adjustForTab(c, curr_line, remaining_width); } // set the inline to use for left alignment if (!(currentContent instanceof FloatedBlockContent)) { prev_align_inline = new_inline; } prev_inline = new_inline; } } // save the final line saveLine(curr_line, currentStyle, prev_line, bounds.width, bounds.x, c, block, true); finishBlock(block, curr_line, bounds); return block; }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/c2c5341af3eb3938df77711aeca7bb46a2332118/InlineLayout.java/buggy/src/java/org/xhtmlrenderer/layout/InlineLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3514, 6741, 4212, 12, 1042, 71, 16, 3514, 2147, 15329, 759, 89, 18, 84, 2932, 18526, 3490, 2012, 5787, 5906, 8863, 20308, 11792, 1637, 1350, 1304, 430, 12, 3744, 1304, 18, 291, 9345, 907, 12, 2147, 18, 21336, 9334, 71, 3719, 95, 2463, 2147, 31, 97, 5549, 682, 1745, 682, 33, 2147, 18, 588, 1350, 7675, 588, 1763, 1350, 12, 71, 1769, 430, 12, 1745, 682, 18, 1467, 1435, 631, 20, 13, 2463, 2147, 31, 759, 91, 557, 464, 10370, 291, 430, 18664, 291, 31470, 1580, 319, 16, 4083, 35, 759, 6241, 30, 318, 354, 941, 451, 351, 1094, 3924, 792, 451, 292, 2012, 17937, 18, 2173, 76, 438, 334, 580, 1042, 13139, 79, 3338, 430, 1814, 834, 2629, 17, 5544, 310, 659, 280, 267, 7511, 292, 528, 310, 17, 659, 35, 430, 12, 5, 2147, 18, 291, 18792, 10756, 95, 759, 2211, 1893, 13139, 266, 1230, 2196, 318, 82, 4128, 13723, 1745, 6741, 291, 13615, 18, 869, 2196, 6976, 24, 17, 2138, 17, 5908, 759, 2503, 91, 1614, 546, 351, 346, 335, 4924, 1951, 792, 23799, 18792, 1768, 3514, 291, 759, 430, 12, 3744, 1304, 18, 291, 1768, 3744, 12, 2147, 18, 21336, 9334, 71, 3719, 95, 921, 2722, 33, 1745, 682, 18, 588, 12, 1745, 682, 18, 1467, 1435, 17, 21, 1769, 430, 12, 2722, 1336, 792, 18792, 1768, 1350, 20081, 2722, 1336, 792, 1768, 1350, 15329, 759, 2211, 13139, 2196, 2629, 5544, 329, 659, 2463, 9565, 18, 6741, 4212, 12, 71, 16, 2147, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3514, 6741, 4212, 12, 1042, 71, 16, 3514, 2147, 15329, 759, 89, 18, 84, 2932, 18526, 3490, 2012, 5787, 5906, 8863, 20308, 11792, 1637, 1350, 1304, 430, 12, 3744, 1304, 18, 291, 9345, 907, 12, 2147, 18, 21336, 9334, 71, 3719, 95, 2463, 2147, 31, 97, 5549, 682, 1745, 682, 33, 2147, 18, 588, 1350, 7675, 588, 1763, 1350, 12, 71, 1769, 430, 12, 1745, 682, 18, 1467, 1435, 631, 20, 13, 2463, 2147, 31, 759, 91, 557, 464, 10370, 291, 430, 18664, 291, 31470, 1580, 319, 16, 4083, 35, 759, 6241, 30, 318, 354, 941, 451, 351, 1094, 3924, 792, 451, 292, 2012, 17937, 18, 2173, 76, 438, 334, 580, 1042, 13139, 79, 3338, 430, 1814, 834, 2 ]
WordRelation wordRelation) {
WordRelation wordRelation,Item tokenItem) {
public static void expandOrdinal(String rawNumberString, WordRelation wordRelation) { // remove all ','s from the raw number string String numberString = Utilities.deleteChar(rawNumberString, ','); expandNumber(numberString, wordRelation); // get the last in the list of number strings Item lastItem = wordRelation.getTail(); if (lastItem != null) { FeatureSet featureSet = lastItem.getFeatures(); String lastNumber = featureSet.getString("name"); String ordinal = findMatchInArray(lastNumber, digit2num, ord2num); if (ordinal == null) { ordinal = findMatchInArray(lastNumber, digit2teen, ord2teen); } if (ordinal == null) { ordinal = findMatchInArray(lastNumber, digit2enty, ord2enty); } if (lastNumber.equals("hundred")) { ordinal = "hundredth"; } else if (lastNumber.equals("thousand")) { ordinal = "thousandth"; } else if (lastNumber.equals("billion")) { ordinal = "billionth"; } // if there was an ordinal, set the last element of the list // to that ordinal; otherwise, don't do anything if (ordinal != null) { wordRelation.setLastWord(ordinal); } } }
18648 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/18648/460d07833503253a5c476790f8921bd1e3c702a9/NumberExpander.java/buggy/java/de/dfki/lt/mary/modules/en/NumberExpander.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 4542, 22830, 12, 780, 1831, 1854, 780, 16, 6862, 377, 9926, 3963, 2076, 3963, 13, 288, 202, 759, 1206, 777, 3316, 87, 628, 326, 1831, 1300, 533, 202, 780, 1300, 780, 273, 26703, 18, 3733, 2156, 12, 1899, 1854, 780, 16, 3316, 1769, 202, 202, 12320, 1854, 12, 2696, 780, 16, 2076, 3963, 1769, 202, 759, 336, 326, 1142, 316, 326, 666, 434, 1300, 2064, 202, 1180, 1142, 1180, 273, 2076, 3963, 18, 588, 12363, 5621, 202, 430, 261, 2722, 1180, 480, 446, 13, 288, 202, 565, 7881, 694, 2572, 694, 273, 1142, 1180, 18, 588, 8696, 5621, 202, 565, 514, 1142, 1854, 273, 2572, 694, 18, 588, 780, 2932, 529, 8863, 202, 565, 514, 12675, 273, 1104, 2060, 382, 1076, 12, 2722, 1854, 16, 8035, 22, 2107, 16, 4642, 22, 2107, 1769, 202, 565, 309, 261, 517, 1490, 422, 446, 13, 288, 202, 202, 517, 1490, 273, 1104, 2060, 382, 1076, 12, 2722, 1854, 16, 8035, 22, 736, 275, 16, 4642, 22, 736, 275, 1769, 202, 565, 289, 202, 565, 309, 261, 517, 1490, 422, 446, 13, 288, 202, 202, 517, 1490, 273, 1104, 2060, 382, 1076, 12, 2722, 1854, 16, 8035, 22, 319, 93, 16, 4642, 22, 319, 93, 1769, 202, 565, 289, 202, 565, 309, 261, 2722, 1854, 18, 14963, 2932, 76, 1074, 1118, 6, 3719, 288, 202, 202, 517, 1490, 273, 315, 76, 1074, 1118, 451, 14432, 202, 565, 289, 469, 309, 261, 2722, 1854, 18, 14963, 2932, 451, 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, 4542, 22830, 12, 780, 1831, 1854, 780, 16, 6862, 377, 9926, 3963, 2076, 3963, 13, 288, 202, 759, 1206, 777, 3316, 87, 628, 326, 1831, 1300, 533, 202, 780, 1300, 780, 273, 26703, 18, 3733, 2156, 12, 1899, 1854, 780, 16, 3316, 1769, 202, 202, 12320, 1854, 12, 2696, 780, 16, 2076, 3963, 1769, 202, 759, 336, 326, 1142, 316, 326, 666, 434, 1300, 2064, 202, 1180, 1142, 1180, 273, 2076, 3963, 18, 588, 12363, 5621, 202, 430, 261, 2722, 1180, 480, 446, 13, 288, 202, 565, 7881, 694, 2572, 694, 273, 1142, 1180, 18, 588, 8696, 5621, 202, 565, 514, 1142, 1854, 273, 2572, 694, 18, 588, 780, 2932, 529, 8863, 202, 565, 514, 2 ]
for (i=0;i<subframeSize;i++) target[i]-=res[i];
for (i = 0; i < subframeSize; i++) target[i] -= res[i];
public int encode(final Bits bits, final float[] in) { int i; float[] res, target, mem; float[] syn_resp; float[] orig; /* Copy new data in input buffer */ System.arraycopy(frmBuf, frameSize, frmBuf, 0, bufSize-frameSize); frmBuf[bufSize-frameSize] = in[0] - preemph*pre_mem; for (i=1; i<frameSize; i++) frmBuf[bufSize-frameSize+i] = in[i] - preemph*in[i-1]; pre_mem = in[frameSize-1]; /* Move signals 1 frame towards the past */ System.arraycopy(exc2Buf, frameSize, exc2Buf, 0, bufSize-frameSize); System.arraycopy(excBuf, frameSize, excBuf, 0, bufSize-frameSize); System.arraycopy(swBuf, frameSize, swBuf, 0, bufSize-frameSize); /* Window for analysis */ for (i=0; i<windowSize; i++) buf2[i] = frmBuf[i+frmIdx] * window[i]; /* Compute auto-correlation */ Lpc.autocorr(buf2, autocorr, lpcSize+1, windowSize); autocorr[0] += 10; /* prevents NANs */ autocorr[0] *= lpc_floor; /* Noise floor in auto-correlation domain */ /* Lag windowing: equivalent to filtering in the power-spectrum domain */ for (i=0; i<lpcSize+1; i++) autocorr[i] *= lagWindow[i]; /* Levinson-Durbin */ Lpc.wld(lpc, autocorr, rc, lpcSize); // tmperr System.arraycopy(lpc, 0, lpc, 1, lpcSize); lpc[0]=1; /* LPC to LSPs (x-domain) transform */ int roots=Lsp.lpc2lsp (lpc, lpcSize, lsp, 15, 0.2f); /* Check if we found all the roots */ if (roots==lpcSize) { /* LSP x-domain to angle domain*/ for (i=0;i<lpcSize;i++) lsp[i] = (float)Math.acos(lsp[i]); } else { /* Search again if we can afford it */ if (complexity>1) roots = Lsp.lpc2lsp (lpc, lpcSize, lsp, 11, 0.05f); if (roots==lpcSize) { /* LSP x-domain to angle domain*/ for (i=0;i<lpcSize;i++) lsp[i] = (float)Math.acos(lsp[i]); } else { /*If we can't find all LSP's, do some damage control and use previous filter*/ for (i=0;i<lpcSize;i++) { lsp[i]=old_lsp[i]; } } } float lsp_dist=0; for (i=0;i<lpcSize;i++) lsp_dist += (old_lsp[i] - lsp[i])*(old_lsp[i] - lsp[i]); /* Whole frame analysis (open-loop estimation of pitch and excitation gain) */ float ol_gain; int ol_pitch; float ol_pitch_coef; { if (first != 0) for (i=0; i<lpcSize;i++) interp_lsp[i] = lsp[i]; else for (i=0;i<lpcSize;i++) interp_lsp[i] = .375f*old_lsp[i] + .625f*lsp[i]; Lsp.enforce_margin(interp_lsp, lpcSize, .002f); /* Compute interpolated LPCs (unquantized) for whole frame*/ for (i=0; i<lpcSize; i++) interp_lsp[i] = (float)Math.cos(interp_lsp[i]); m_lsp.lsp2lpc(interp_lsp, interp_lpc, lpcSize); /*Open-loop pitch*/ if (submodes[submodeID] == null || vbr_enabled != 0 || vad_enabled != 0 || submodes[submodeID].forced_pitch_gain != 0 || submodes[submodeID].lbr_pitch != -1) { int[] nol_pitch = new int[6]; float[] nol_pitch_coef = new float[6]; Filters.bw_lpc(gamma1, interp_lpc, bw_lpc1, lpcSize); Filters.bw_lpc(gamma2, interp_lpc, bw_lpc2, lpcSize); Filters.filter_mem2(frmBuf, frmIdx, bw_lpc1, bw_lpc2, swBuf, swIdx, frameSize, lpcSize, mem_sw_whole, 0); Ltp.open_loop_nbest_pitch(swBuf, swIdx, min_pitch, max_pitch, frameSize, nol_pitch, nol_pitch_coef, 6); ol_pitch=nol_pitch[0]; ol_pitch_coef = nol_pitch_coef[0]; /*Try to remove pitch multiples*/ for (i=1;i<6;i++) { if ((nol_pitch_coef[i]>.85*ol_pitch_coef) && (Math.abs(nol_pitch[i]-ol_pitch/2.0)<=1 || Math.abs(nol_pitch[i]-ol_pitch/3.0)<=1 || Math.abs(nol_pitch[i]-ol_pitch/4.0)<=1 || Math.abs(nol_pitch[i]-ol_pitch/5.0)<=1)) { /*ol_pitch_coef=nol_pitch_coef[i];*/ ol_pitch = nol_pitch[i]; } } /*if (ol_pitch>50) ol_pitch/=2;*/ /*ol_pitch_coef = sqrt(ol_pitch_coef);*/ } else { ol_pitch=0; ol_pitch_coef=0; } /*Compute "real" excitation*/ Filters.fir_mem2(frmBuf, frmIdx, interp_lpc, excBuf, excIdx, frameSize, lpcSize, mem_exc); /* Compute open-loop excitation gain */ ol_gain=0; for (i=0;i<frameSize;i++) ol_gain += excBuf[excIdx+i]*excBuf[excIdx+i]; ol_gain=(float)Math.sqrt(1+ol_gain/frameSize); } /*VBR stuff*/ if (vbr != null && (vbr_enabled != 0 || vad_enabled != 0)) { if (abr_enabled != 0) { float qual_change=0; if (abr_drift2 * abr_drift > 0) { /* Only adapt if long-term and short-term drift are the same sign */ qual_change = -.00001f*abr_drift/(1+abr_count); if (qual_change>.05f) qual_change=.05f; if (qual_change<-.05f) qual_change=-.05f; } vbr_quality += qual_change; if (vbr_quality>10) vbr_quality=10; if (vbr_quality<0) vbr_quality=0; } relative_quality = vbr.analysis(in, frameSize, ol_pitch, ol_pitch_coef); /*if (delta_qual<0)*/ /* delta_qual*=.1*(3+st->vbr_quality);*/ if (vbr_enabled != 0) { int mode; int choice=0; float min_diff=100; mode = 8; while (mode > 0) { int v1; float thresh; v1=(int)Math.floor(vbr_quality); if (v1==10) thresh = Vbr.nb_thresh[mode][v1]; else thresh = (vbr_quality-v1)*Vbr.nb_thresh[mode][v1+1] + (1+v1-vbr_quality)*Vbr.nb_thresh[mode][v1]; if (relative_quality > thresh && relative_quality-thresh<min_diff) { choice = mode; min_diff = relative_quality-thresh; } mode--; } mode=choice; if (mode==0) { if (dtx_count==0 || lsp_dist>.05 || dtx_enabled==0 || dtx_count>20) { mode=1; dtx_count=1; } else { mode=0; dtx_count++; } } else { dtx_count=0; } setMode(mode); if (abr_enabled != 0) { int bitrate; bitrate = getBitRate(); abr_drift+=(bitrate-abr_enabled); abr_drift2 = .95f*abr_drift2 + .05f*(bitrate-abr_enabled); abr_count += 1.0; } } else { /*VAD only case*/ int mode; if (relative_quality<2) { if (dtx_count==0 || lsp_dist>.05 || dtx_enabled == 0 || dtx_count>20) { dtx_count=1; mode=1; } else { mode=0; dtx_count++; } } else { dtx_count = 0; mode=submodeSelect; } /*speex_encoder_ctl(state, SPEEX_SET_MODE, &mode);*/ submodeID=mode; } } else { relative_quality = -1; } /* First, transmit a zero for narrowband */ bits.pack(0, 1); /* Transmit the sub-mode we use for this frame */ bits.pack(submodeID, NB_SUBMODE_BITS); /* If null mode (no transmission), just set a couple things to zero*/ if (submodes[submodeID] == null) { for (i=0;i<frameSize;i++) excBuf[excIdx+i]=exc2Buf[exc2Idx+i]=swBuf[swIdx+i]=VERY_SMALL; for (i=0;i<lpcSize;i++) mem_sw[i]=0; first=1; bounded_pitch = 1; /* Final signal synthesis from excitation */ Filters.iir_mem2(excBuf, excIdx, interp_qlpc, frmBuf, frmIdx, frameSize, lpcSize, mem_sp); in[0] = frmBuf[frmIdx] + preemph*pre_mem2; for (i=1;i<frameSize;i++) in[i]=frmBuf[frmIdx=i] + preemph*in[i-1]; pre_mem2=in[frameSize-1]; return 0; } /* LSP Quantization */ if (first != 0) { for (i=0; i<lpcSize;i++) old_lsp[i] = lsp[i]; } /*Quantize LSPs*///#if 1 /*0 for unquantized*/ submodes[submodeID].lsqQuant.quant(lsp, qlsp, lpcSize, bits);//#else// for (i=0;i<lpcSize;i++)// qlsp[i]=lsp[i];//#endif /*If we use low bit-rate pitch mode, transmit open-loop pitch*/ if (submodes[submodeID].lbr_pitch!=-1) { bits.pack(ol_pitch-min_pitch, 7); } if (submodes[submodeID].forced_pitch_gain != 0) { int quant; quant = (int)Math.floor(.5+15*ol_pitch_coef); if (quant>15) quant=15; if (quant<0) quant=0; bits.pack(quant, 4); ol_pitch_coef=(float) 0.066667*quant; } /*Quantize and transmit open-loop excitation gain*/ { int qe = (int)(Math.floor(0.5+3.5*Math.log(ol_gain))); if (qe<0) qe=0; if (qe>31) qe=31; ol_gain = (float) Math.exp(qe/3.5); bits.pack(qe, 5); } /* Special case for first frame */ if (first != 0) { for (i=0;i<lpcSize;i++) old_qlsp[i] = qlsp[i]; } /* Filter response */ res = new float[subframeSize]; /* Target signal */ target = new float[subframeSize]; syn_resp = new float[subframeSize]; mem = new float[lpcSize]; orig = new float[frameSize]; for (i=0;i<frameSize;i++) orig[i]=frmBuf[frmIdx+i]; /* Loop on sub-frames */ for (int sub=0;sub<nbSubframes;sub++) { float tmp; int offset; int sp, sw, exc, exc2; int pitchval; /* Offset relative to start of frame */ offset = subframeSize*sub; /* Original signal */ sp=frmIdx+offset; /* Excitation */ exc=excIdx+offset; /* Weighted signal */ sw=swIdx+offset; exc2=exc2Idx+offset; /* LSP interpolation (quantized and unquantized) */ tmp = (float) (1.0 + sub)/nbSubframes; for (i=0;i<lpcSize;i++) interp_lsp[i] = (1-tmp)*old_lsp[i] + tmp*lsp[i]; for (i=0;i<lpcSize;i++) interp_qlsp[i] = (1-tmp)*old_qlsp[i] + tmp*qlsp[i]; /* Make sure the filters are stable */ Lsp.enforce_margin(interp_lsp, lpcSize, .002f); Lsp.enforce_margin(interp_qlsp, lpcSize, .002f); /* Compute interpolated LPCs (quantized and unquantized) */ for (i=0;i<lpcSize;i++) interp_lsp[i] = (float) Math.cos(interp_lsp[i]); m_lsp.lsp2lpc(interp_lsp, interp_lpc, lpcSize); for (i=0;i<lpcSize;i++) interp_qlsp[i] = (float) Math.cos(interp_qlsp[i]); m_lsp.lsp2lpc(interp_qlsp, interp_qlpc, lpcSize); /* Compute analysis filter gain at w=pi (for use in SB-CELP) */ tmp=1; pi_gain[sub]=0; for (i=0;i<=lpcSize;i++) { pi_gain[sub] += tmp*interp_qlpc[i]; tmp = -tmp; } /* Compute bandwidth-expanded (unquantized) LPCs for perceptual weighting */ Filters.bw_lpc(gamma1, interp_lpc, bw_lpc1, lpcSize); if (gamma2>=0) Filters.bw_lpc(gamma2, interp_lpc, bw_lpc2, lpcSize); else { bw_lpc2[0]=1; bw_lpc2[1]=-preemph; for (i=2;i<=lpcSize;i++) bw_lpc2[i]=0; } /* Compute impulse response of A(z/g1) / ( A(z)*A(z/g2) )*/ for (i=0;i<subframeSize;i++) excBuf[exc+i]=0; excBuf[exc]=1; Filters.syn_percep_zero(excBuf, exc, interp_qlpc, bw_lpc1, bw_lpc2, syn_resp, subframeSize, lpcSize); /* Reset excitation */ for (i=0;i<subframeSize;i++) excBuf[exc+i]=0; for (i=0;i<subframeSize;i++) exc2Buf[exc2+i]=0; /* Compute zero response of A(z/g1) / ( A(z/g2) * A(z) ) */ for (i=0;i<lpcSize;i++) mem[i]=mem_sp[i]; Filters.iir_mem2(excBuf, exc, interp_qlpc, excBuf, exc, subframeSize, lpcSize, mem); for (i=0;i<lpcSize;i++) mem[i]=mem_sw[i]; Filters.filter_mem2(excBuf, exc, bw_lpc1, bw_lpc2, res, 0, subframeSize, lpcSize, mem, 0); /* Compute weighted signal */ for (i=0;i<lpcSize;i++) mem[i]=mem_sw[i]; Filters.filter_mem2(frmBuf, sp, bw_lpc1, bw_lpc2, swBuf, sw, subframeSize, lpcSize, mem, 0); /* Compute target signal */ for (i=0;i<subframeSize;i++) target[i]=swBuf[sw+i]-res[i]; for (i=0;i<subframeSize;i++) excBuf[exc+i]=exc2Buf[exc2+i]=0; /* If we have a long-term predictor (otherwise, something's wrong) */// if (submodes[submodeID].ltp.quant)// { int pit_min, pit_max; /* Long-term prediction */ if (submodes[submodeID].lbr_pitch != -1) { /* Low bit-rate pitch handling */ int margin; margin = submodes[submodeID].lbr_pitch; if (margin != 0) { if (ol_pitch < min_pitch+margin-1) ol_pitch=min_pitch+margin-1; if (ol_pitch > max_pitch-margin) ol_pitch=max_pitch-margin; pit_min = ol_pitch-margin+1; pit_max = ol_pitch+margin; } else { pit_min=pit_max=ol_pitch; } } else { pit_min = min_pitch; pit_max = max_pitch; } /* Force pitch to use only the current frame if needed */ if (bounded_pitch != 0 && pit_max>offset) pit_max=offset; /* Perform pitch search */ pitchval = submodes[submodeID].ltp.quant(target, swBuf, sw, interp_qlpc, bw_lpc1, bw_lpc2, excBuf, exc, pit_min, pit_max, ol_pitch_coef, lpcSize, subframeSize, bits, exc2Buf, exc2, syn_resp, complexity); pitch[sub]=pitchval;// } else {// speex_error ("No pitch prediction, what's wrong");// } /* Update target for adaptive codebook contribution */ Filters.syn_percep_zero(excBuf, exc, interp_qlpc, bw_lpc1, bw_lpc2, res, subframeSize, lpcSize); for (i=0;i<subframeSize;i++) target[i]-=res[i]; /* Quantization of innovation */ { int innovptr; float ener=0, ener_1; innovptr = sub*subframeSize; for (i=0;i<subframeSize;i++) innov[innovptr+i]=0; Filters.residue_percep_zero(target, 0, interp_qlpc, bw_lpc1, bw_lpc2, buf2, subframeSize, lpcSize); for (i=0;i<subframeSize;i++) ener+=buf2[i]*buf2[i]; ener=(float)Math.sqrt(.1f+ener/subframeSize); /*for (i=0;i<subframeSize;i++) System.out.print(buf2[i]/ener + "\t"); */ ener /= ol_gain; /* Calculate gain correction for the sub-frame (if any) */ if (submodes[submodeID].have_subframe_gain != 0) { int qe; ener=(float)Math.log(ener); if (submodes[submodeID].have_subframe_gain==3) { qe = VQ.index(ener, exc_gain_quant_scal3, 8); bits.pack(qe, 3); ener=exc_gain_quant_scal3[qe]; } else { qe = VQ.index(ener, exc_gain_quant_scal1, 2); bits.pack(qe, 1); ener=exc_gain_quant_scal1[qe]; } ener=(float)Math.exp(ener); } else { ener=1; } ener*=ol_gain; /*System.out.println(ener + " " + ol_gain);*/ ener_1 = 1/ener; /* Normalize innovation */ for (i=0;i<subframeSize;i++) target[i]*=ener_1; /* Quantize innovation */// if (submodes[submodeID].innovation != null)// { /* Codebook search */ submodes[submodeID].innovation.quant(target, interp_qlpc, bw_lpc1, bw_lpc2, lpcSize, subframeSize, innov, innovptr, syn_resp, bits, complexity); /* De-normalize innovation and update excitation */ for (i=0;i<subframeSize;i++) innov[innovptr+i]*=ener; for (i=0;i<subframeSize;i++) excBuf[exc+i] += innov[innovptr+i];// } else {// speex_error("No fixed codebook");// } /* In some (rare) modes, we do a second search (more bits) to reduce noise even more */ if (submodes[submodeID].double_codebook != 0) { float[] innov2 = new float[subframeSize];// for (i=0;i<subframeSize;i++)// innov2[i]=0; for (i=0;i<subframeSize;i++) target[i]*=2.2; submodes[submodeID].innovation.quant(target, interp_qlpc, bw_lpc1, bw_lpc2, lpcSize, subframeSize, innov2, 0, syn_resp, bits, complexity); for (i=0;i<subframeSize;i++) innov2[i]*=ener*(1/2.2); for (i=0;i<subframeSize;i++) excBuf[exc+i] += innov2[i]; } for (i=0;i<subframeSize;i++) target[i]*=ener; } /*Keep the previous memory*/ for (i=0;i<lpcSize;i++) mem[i]=mem_sp[i]; /* Final signal synthesis from excitation */ Filters.iir_mem2(excBuf, exc, interp_qlpc, frmBuf, sp, subframeSize, lpcSize, mem_sp); /* Compute weighted signal again, from synthesized speech (not sure it's the right thing) */ Filters.filter_mem2(frmBuf, sp, bw_lpc1, bw_lpc2, swBuf, sw, subframeSize, lpcSize, mem_sw, 0); for (i=0;i<subframeSize;i++) exc2Buf[exc2+i]=excBuf[exc+i]; } /* Store the LSPs for interpolation in the next frame */ if (submodeID>=1) { for (i=0;i<lpcSize;i++) old_lsp[i] = lsp[i]; for (i=0;i<lpcSize;i++) old_qlsp[i] = qlsp[i]; } if (submodeID==1) { if (dtx_count != 0) { bits.pack(15, 4); } else { bits.pack(0, 4); } } /* The next frame will not be the first (Duh!) */ first = 0; { float ener=0, err=0; float snr; for (i=0;i<frameSize;i++) { ener+=frmBuf[frmIdx+i]*frmBuf[frmIdx+i]; err += (frmBuf[frmIdx+i]-orig[i])*(frmBuf[frmIdx+i]-orig[i]); } snr = (float) (10*Math.log((ener+1)/(err+1))); /*System.out.println("Frame result: SNR="+snr+" E="+ener+" Err="+err+"\r\n");*/ } /* Replace input by synthesized speech */ in[0] = frmBuf[frmIdx] + preemph*pre_mem2; for (i=1;i<frameSize;i++) in[i]=frmBuf[frmIdx+i] + preemph*in[i-1]; pre_mem2=in[frameSize-1]; if (submodes[submodeID].innovation instanceof NoiseSearch || submodeID==0) bounded_pitch = 1; else bounded_pitch = 0; return 1; }
6221 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6221/81112208859292bc5ef5f9b0033ab2ea6dab38c0/NbEncoder.java/buggy/main/trunk/codec/src/main/java/org/xiph/speex/NbEncoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 2017, 12, 6385, 18690, 4125, 16, 727, 1431, 8526, 316, 13, 225, 288, 565, 509, 277, 31, 565, 1431, 8526, 400, 16, 1018, 16, 1663, 31, 565, 1431, 8526, 6194, 67, 12243, 31, 565, 1431, 8526, 1647, 31, 565, 1748, 5631, 394, 501, 316, 810, 1613, 1195, 565, 2332, 18, 1126, 3530, 12, 4840, 81, 5503, 16, 2623, 1225, 16, 31074, 5503, 16, 374, 16, 1681, 1225, 17, 3789, 1225, 1769, 565, 31074, 5503, 63, 4385, 1225, 17, 3789, 1225, 65, 273, 316, 63, 20, 65, 300, 675, 351, 844, 14, 1484, 67, 3917, 31, 565, 364, 261, 77, 33, 21, 31, 277, 32, 3789, 1225, 31, 277, 27245, 1377, 31074, 5503, 63, 4385, 1225, 17, 3789, 1225, 15, 77, 65, 273, 316, 63, 77, 65, 300, 675, 351, 844, 14, 267, 63, 77, 17, 21, 15533, 565, 675, 67, 3917, 273, 316, 63, 3789, 1225, 17, 21, 15533, 565, 1748, 9933, 11505, 404, 2623, 23248, 326, 8854, 1195, 565, 2332, 18, 1126, 3530, 12, 10075, 22, 5503, 16, 2623, 1225, 16, 3533, 22, 5503, 16, 374, 16, 1681, 1225, 17, 3789, 1225, 1769, 565, 2332, 18, 1126, 3530, 12, 10075, 5503, 16, 2623, 1225, 16, 3533, 5503, 16, 374, 16, 1681, 1225, 17, 3789, 1225, 1769, 565, 2332, 18, 1126, 3530, 12, 5328, 5503, 16, 2623, 1225, 16, 1352, 5503, 16, 374, 16, 1681, 1225, 17, 3789, 1225, 1769, 565, 1748, 6076, 364, 6285, 1195, 565, 364, 261, 77, 33, 20, 31, 277, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 2017, 12, 6385, 18690, 4125, 16, 727, 1431, 8526, 316, 13, 225, 288, 565, 509, 277, 31, 565, 1431, 8526, 400, 16, 1018, 16, 1663, 31, 565, 1431, 8526, 6194, 67, 12243, 31, 565, 1431, 8526, 1647, 31, 565, 1748, 5631, 394, 501, 316, 810, 1613, 1195, 565, 2332, 18, 1126, 3530, 12, 4840, 81, 5503, 16, 2623, 1225, 16, 31074, 5503, 16, 374, 16, 1681, 1225, 17, 3789, 1225, 1769, 565, 31074, 5503, 63, 4385, 1225, 17, 3789, 1225, 65, 273, 316, 63, 20, 65, 300, 675, 351, 844, 14, 1484, 67, 3917, 31, 565, 364, 261, 77, 33, 21, 31, 277, 32, 3789, 1225, 31, 277, 27245, 1377, 31074, 5503, 63, 4385, 1225, 17, 2 ]
List constantNames = new ArrayList();
ArrayList constantNames = new ArrayList();
public RubyArray constants() { List constantNames = new ArrayList(); Iterator iter = getRuby().getClasses().nameIterator(); while (iter.hasNext()) { String name = (String) iter.next(); if (IdUtil.isConstant(name)) { constantNames.add(RubyString.newString(getRuby(), name)); } } return RubyArray.newArray(getRuby(), constantNames); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/a42a5780d9d19f5b3f27bdc079684319c5596e54/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 6810, 1435, 288, 3639, 2407, 5381, 1557, 273, 394, 2407, 5621, 3639, 4498, 1400, 273, 4170, 10340, 7675, 588, 4818, 7675, 529, 3198, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 5411, 514, 508, 273, 261, 780, 13, 1400, 18, 4285, 5621, 5411, 309, 261, 548, 1304, 18, 291, 6902, 12, 529, 3719, 288, 7734, 5381, 1557, 18, 1289, 12, 54, 10340, 780, 18, 2704, 780, 12, 588, 54, 10340, 9334, 508, 10019, 5411, 289, 3639, 289, 3639, 327, 19817, 1076, 18, 2704, 1076, 12, 588, 54, 10340, 9334, 5381, 1557, 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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, 261, 780, 13, 1400, 18, 4285, 5621, 5411, 309, 261, 548, 1304, 18, 291, 6902, 12, 529, 3719, 288, 7734, 5381, 1557, 18, 1289, 12, 54, 10340, 780, 18, 2704, 780, 12, 588, 54, 10340, 9334, 508, 10019, 5411, 289, 3639, 289, 3639, 327, 19817, 1076, 18, 2704, 1076, 12, 588, 54, 10340, 9334, 5381, 1557, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (familyValue == null) {
if ( familyValue == null ) {
private void updatePreview() { if (sample != null) { String fontFamily = name.getValueForName(name.getComboBoxControl( null).getText()); if (fontFamily == null) { fontFamily = "Times New Roman"; //$NON-NLS-1$ } String familyValue = (String) DesignerConstants.familyMap .get(fontFamily); if (familyValue == null) { familyValue = fontFamily; } // set default font size. String fontSize = DesignChoiceConstants.FONT_SIZE_MEDIUM; int sizeValue = Integer.valueOf( (String) DesignerConstants.fontMap.get(fontSize)) .intValue(); if (size.InComboNamesList(size.getComboBoxControl( getFieldEditorParent()).getText())) { fontSize = size.getBoxValueForName(size.getComboBoxControl( getFieldEditorParent()).getText()); if (DesignChoiceConstants.FONT_SIZE_LARGER.equals(fontSize)) { fontSize = DesignChoiceConstants.FONT_SIZE_LARGE; } else if (DesignChoiceConstants.FONT_SIZE_SMALLER .equals(fontSize)) { fontSize = DesignChoiceConstants.FONT_SIZE_SMALL; } sizeValue = Integer.valueOf( (String) DesignerConstants.fontMap.get(fontSize)) .intValue(); } else { String text = size.getComboBoxControl(getFieldEditorParent()) .getText(); String pre = size.getMeasureValueForName(size .getMeasureControl(getFieldEditorParent()).getText()); if (DEUtil.isValidNumber(text)) { sizeValue = (int) CSSUtil .convertToPoint(new DimensionValue(Double .parseDouble(text), pre)); } } boolean italic = false; String fontStyle = style.getValueForName(style.getComboBoxControl( getFieldEditorParent()).getText()); if (DesignChoiceConstants.FONT_STYLE_ITALIC.equals(fontStyle)) { italic = true; } String fontWeight = weight.getValueForName(weight .getComboBoxControl(null).getText()); boolean bold = false; int fw = 400; if (DesignChoiceConstants.FONT_WEIGHT_NORMAL.equals(fontWeight)) { // no change. } else if (DesignChoiceConstants.FONT_WEIGHT_BOLD .equals(fontWeight)) { bold = true; fw = 700; } else if (DesignChoiceConstants.FONT_WEIGHT_BOLDER .equals(fontWeight)) { bold = true; fw = 1000; } else if (DesignChoiceConstants.FONT_WEIGHT_LIGHTER .equals(fontWeight)) { fw = 100; } else { try { fw = Integer.parseInt(fontWeight); } catch (NumberFormatException e) { fw = 400; } if (fw > 700) { bold = true; } } sample.setFontFamily(familyValue); sample.setFontSize(sizeValue); sample.setBold(bold); sample.setItalic(italic); sample.setFontWeight(fw); // sample.setForeground( new Color( Display.getCurrent( ), // color.getColorSelector( ).getColorValue( ) ) ); sample.setForeground(ColorManager.getColor(color.getColorSelector() .getRGB())); sample.setUnderline(docoration.getUnderLinePropControl(null) .getSelection()); sample.setLinethrough(docoration.getLineThroughPropControl(null) .getSelection()); sample.setOverline(docoration.getOverLinePropControl(null) .getSelection()); sample.updateView(); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/9a44d88745cf69dac1395f41e7c3c7bf8bdeb1e6/FontPreferencePage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FontPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 11124, 1435, 288, 202, 202, 430, 261, 6358, 480, 446, 13, 288, 1082, 202, 780, 3512, 9203, 273, 508, 18, 24805, 1290, 461, 12, 529, 18, 588, 22199, 3367, 12, 6862, 202, 2011, 2934, 588, 1528, 10663, 1082, 202, 430, 261, 5776, 9203, 422, 446, 13, 288, 9506, 202, 5776, 9203, 273, 315, 10694, 1166, 534, 362, 304, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 780, 6755, 620, 273, 261, 780, 13, 29703, 264, 2918, 18, 9309, 863, 6862, 202, 18, 588, 12, 5776, 9203, 1769, 1082, 202, 430, 261, 9309, 620, 422, 446, 13, 288, 9506, 202, 9309, 620, 273, 3512, 9203, 31, 1082, 202, 97, 1082, 202, 759, 444, 805, 3512, 963, 18, 1082, 202, 780, 16746, 273, 29703, 10538, 2918, 18, 25221, 67, 4574, 67, 15971, 2799, 31, 1082, 202, 474, 963, 620, 273, 2144, 18, 1132, 951, 12, 6862, 202, 12, 780, 13, 29703, 264, 2918, 18, 5776, 863, 18, 588, 12, 5776, 1225, 3719, 6862, 202, 18, 474, 620, 5621, 1082, 202, 430, 261, 1467, 18, 382, 16156, 1557, 682, 12, 1467, 18, 588, 22199, 3367, 12, 6862, 202, 588, 974, 6946, 3054, 1435, 2934, 588, 1528, 1435, 3719, 288, 9506, 202, 5776, 1225, 273, 963, 18, 588, 3514, 620, 1290, 461, 12, 1467, 18, 588, 22199, 3367, 12, 25083, 202, 588, 974, 6946, 3054, 1435, 2934, 588, 1528, 10663, 9506, 202, 430, 261, 15478, 10538, 2918, 18, 25221, 67, 4574, 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, 1089, 11124, 1435, 288, 202, 202, 430, 261, 6358, 480, 446, 13, 288, 1082, 202, 780, 3512, 9203, 273, 508, 18, 24805, 1290, 461, 12, 529, 18, 588, 22199, 3367, 12, 6862, 202, 2011, 2934, 588, 1528, 10663, 1082, 202, 430, 261, 5776, 9203, 422, 446, 13, 288, 9506, 202, 5776, 9203, 273, 315, 10694, 1166, 534, 362, 304, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 780, 6755, 620, 273, 261, 780, 13, 29703, 264, 2918, 18, 9309, 863, 6862, 202, 18, 588, 12, 5776, 9203, 1769, 1082, 202, 430, 261, 9309, 620, 422, 446, 13, 288, 9506, 202, 9309, 620, 273, 3512, 9203, 31, 1082, 202, 97, 1082, 2 ]
public org.quickfix.field.BenchmarkSecurityIDSource getBenchmarkSecurityIDSource() throws FieldNotFound { org.quickfix.field.BenchmarkSecurityIDSource value = new org.quickfix.field.BenchmarkSecurityIDSource();
public quickfix.field.BenchmarkSecurityIDSource getBenchmarkSecurityIDSource() throws FieldNotFound { quickfix.field.BenchmarkSecurityIDSource value = new quickfix.field.BenchmarkSecurityIDSource();
public org.quickfix.field.BenchmarkSecurityIDSource getBenchmarkSecurityIDSource() throws FieldNotFound { org.quickfix.field.BenchmarkSecurityIDSource value = new org.quickfix.field.BenchmarkSecurityIDSource(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteStatusReport.java/clean/src/java/src/quickfix/fix44/QuoteStatusReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 4368, 734, 1830, 2882, 9737, 4368, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 4368, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 4368, 734, 1830, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 30672, 4368, 734, 1830, 2882, 9737, 4368, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 4368, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 4368, 734, 1830, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fGrammar = null; fGrammarNameSpaceIndex = -1; if (fGrammarResolver != null) { fGrammarResolver.clearGrammarResolver(); } fGrammarIsDTDGrammar = false; fGrammarIsSchemaGrammar = false;
fGrammar = null; fGrammarNameSpaceIndex = -1; if (fGrammarResolver != null) { fGrammarResolver.clearGrammarResolver(); } fGrammarIsDTDGrammar = false; fGrammarIsSchemaGrammar = false;
private void resetCommon(StringPool stringPool) throws Exception { fStringPool = stringPool; fValidating = fValidationEnabled; fValidationEnabledByDynamic = false; fDynamicDisabledByValidation = false; poolReset(); fCalledStartDocument = false; fStandaloneReader = -1; fElementChildrenLength = 0; fElementDepth = -1; fSeenRootElement = false; fSeenDoctypeDecl = false; fNamespacesScope = null; fNamespacesPrefix = -1; fRootElement.clear(); fAttrListHandle = -1; fCheckedForSchema = false; fCurrentScope = TOP_LEVEL_SCOPE; fCurrentSchemaURI = -1; fEmptyURI = - 1; fXsiPrefix = - 1; fXsiTypeValidator = null; fGrammar = null; fGrammarNameSpaceIndex = -1; //fGrammarResolver = null; if (fGrammarResolver != null) { fGrammarResolver.clearGrammarResolver(); } fGrammarIsDTDGrammar = false; fGrammarIsSchemaGrammar = false; init(); } // resetCommon(StringPool)
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/f2b9ad84920b2015a53c9a67b4dfb5460fa0465e/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2715, 6517, 12, 780, 2864, 533, 2864, 13, 1216, 1185, 288, 3639, 284, 780, 2864, 273, 533, 2864, 31, 3639, 284, 31496, 273, 284, 4354, 1526, 31, 3639, 284, 4354, 1526, 858, 9791, 273, 629, 31, 3639, 284, 9791, 8853, 858, 4354, 273, 629, 31, 3639, 2845, 7013, 5621, 3639, 284, 8185, 1685, 2519, 273, 629, 31, 3639, 284, 20612, 12451, 2514, 273, 300, 21, 31, 3639, 284, 1046, 4212, 1782, 273, 374, 31, 3639, 284, 1046, 6148, 273, 300, 21, 31, 3639, 284, 15160, 2375, 1046, 273, 629, 31, 3639, 284, 15160, 3244, 12387, 3456, 273, 629, 31, 3639, 284, 13180, 3876, 273, 446, 31, 3639, 284, 13180, 2244, 273, 300, 21, 31, 3639, 284, 2375, 1046, 18, 8507, 5621, 3639, 284, 3843, 682, 3259, 273, 300, 21, 31, 3639, 284, 11454, 1290, 3078, 273, 629, 31, 3639, 284, 3935, 3876, 273, 18680, 67, 10398, 67, 19444, 31, 3639, 284, 3935, 3078, 3098, 273, 300, 21, 31, 3639, 284, 1921, 3098, 273, 300, 404, 31, 540, 284, 60, 7722, 2244, 273, 300, 404, 31, 3639, 284, 60, 7722, 559, 5126, 273, 446, 31, 3639, 284, 18576, 273, 446, 31, 3639, 284, 18576, 26857, 1016, 273, 300, 21, 31, 3639, 368, 74, 18576, 4301, 273, 446, 31, 3639, 309, 261, 74, 18576, 4301, 480, 446, 13, 288, 5411, 284, 18576, 4301, 18, 8507, 18576, 4301, 5621, 3639, 289, 3639, 284, 18576, 2520, 25728, 18576, 273, 629, 31, 3639, 284, 18576, 2520, 3078, 18576, 273, 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, 2715, 6517, 12, 780, 2864, 533, 2864, 13, 1216, 1185, 288, 3639, 284, 780, 2864, 273, 533, 2864, 31, 3639, 284, 31496, 273, 284, 4354, 1526, 31, 3639, 284, 4354, 1526, 858, 9791, 273, 629, 31, 3639, 284, 9791, 8853, 858, 4354, 273, 629, 31, 3639, 2845, 7013, 5621, 3639, 284, 8185, 1685, 2519, 273, 629, 31, 3639, 284, 20612, 12451, 2514, 273, 300, 21, 31, 3639, 284, 1046, 4212, 1782, 273, 374, 31, 3639, 284, 1046, 6148, 273, 300, 21, 31, 3639, 284, 15160, 2375, 1046, 273, 629, 31, 3639, 284, 15160, 3244, 12387, 3456, 273, 629, 31, 3639, 284, 13180, 3876, 273, 446, 31, 3639, 284, 13180, 2244, 273, 300, 21, 31, 3639, 284, 2 ]
VFSManager.error(view,"vfs.not-supported.load",new String[] { name });
VFSManager.error(view,path,"vfs.not-supported.load",new String[] { name });
public boolean load(View view, Buffer buffer, String path) { if((getCapabilities() & READ_CAP) == 0) { VFSManager.error(view,"vfs.not-supported.load",new String[] { name }); return false; } Object session = createVFSSession(path,view); if(session == null) return false; BufferIORequest request = new BufferIORequest( BufferIORequest.LOAD,view,buffer,session,this,path); if(buffer.isTemporary()) // this makes HyperSearch much faster request.run(); else VFSManager.runInWorkThread(request); return true; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/405da7c11efa90794c214a90f5780f9e43d28d6a/VFS.java/clean/org/gjt/sp/jedit/io/VFS.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1262, 12, 1767, 1476, 16, 3525, 1613, 16, 514, 589, 13, 202, 95, 202, 202, 430, 12443, 588, 14012, 1435, 473, 10746, 67, 17296, 13, 422, 374, 13, 202, 202, 95, 1082, 202, 58, 4931, 1318, 18, 1636, 12, 1945, 10837, 90, 2556, 18, 902, 17, 4127, 18, 945, 3113, 2704, 514, 8526, 288, 508, 15549, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 921, 1339, 273, 752, 58, 42, 1260, 893, 12, 803, 16, 1945, 1769, 202, 202, 430, 12, 3184, 422, 446, 13, 1082, 202, 2463, 629, 31, 202, 202, 1892, 4294, 691, 590, 273, 394, 3525, 4294, 691, 12, 1082, 202, 1892, 4294, 691, 18, 7783, 16, 1945, 16, 4106, 16, 3184, 16, 2211, 16, 803, 1769, 202, 202, 430, 12, 4106, 18, 291, 11685, 10756, 1082, 202, 759, 333, 7297, 18274, 2979, 9816, 12063, 1082, 202, 2293, 18, 2681, 5621, 202, 202, 12107, 1082, 202, 58, 4931, 1318, 18, 2681, 382, 2421, 3830, 12, 2293, 1769, 202, 202, 2463, 638, 31, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1262, 12, 1767, 1476, 16, 3525, 1613, 16, 514, 589, 13, 202, 95, 202, 202, 430, 12443, 588, 14012, 1435, 473, 10746, 67, 17296, 13, 422, 374, 13, 202, 202, 95, 1082, 202, 58, 4931, 1318, 18, 1636, 12, 1945, 10837, 90, 2556, 18, 902, 17, 4127, 18, 945, 3113, 2704, 514, 8526, 288, 508, 15549, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 921, 1339, 273, 752, 58, 42, 1260, 893, 12, 803, 16, 1945, 1769, 202, 202, 430, 12, 3184, 422, 446, 13, 1082, 202, 2463, 629, 31, 202, 202, 1892, 4294, 691, 590, 273, 394, 3525, 4294, 691, 12, 1082, 202, 1892, 4294, 691, 18, 7783, 16, 1945, 16, 4106, 2 ]
public boolean isRGB(String id)
boolean isRGB(String id)
public boolean isRGB(String id) throws FormatException, IOException;
49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/5601d0fdf7c2300f9d63c82179cfb05d9ddcf080/IFormatReader.java/clean/loci/formats/IFormatReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1250, 353, 11343, 12, 780, 612, 13, 565, 1216, 4077, 503, 16, 1860, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
GroupData g = (GroupData) it.next(); e.linkExperimenterGroup((ExperimenterGroup) mapper.map(g));
GroupData gd = (GroupData) it.next(); ExperimenterGroup g = (ExperimenterGroup) mapper.map( gd ); if ( ! linked( g.findGroupExperimenterMap( e ))) e.linkExperimenterGroup( g );
public IObject fillIObject( IObject obj, ReverseModelMapper mapper) { if ( obj instanceof Experimenter) { Experimenter e = (Experimenter) obj; if (super.fill(e)) { e.setFirstName(this.getFirstName()); e.setLastName(this.getLastName()); e.setEmail(this.getEmail()); e.setInstitution(this.getInstitution()); if (this.getGroups() != null) { for (Iterator it = this.getGroups().iterator(); it.hasNext();) { GroupData g = (GroupData) it.next(); e.linkExperimenterGroup((ExperimenterGroup) mapper.map(g)); } } } return e; } else { throw new IllegalArgumentException( "ExperimenterData can only fill Experimenter."); } }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/b7d44d4a82558acd2336a661072dda1f38cfc0b3/ExperimenterData.java/clean/components/shoola-adapter/src/pojos/ExperimenterData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 921, 3636, 45, 921, 12, 467, 921, 1081, 16, 18469, 1488, 4597, 5815, 13, 565, 288, 3639, 309, 261, 1081, 1276, 1312, 457, 381, 2328, 13, 3639, 288, 5411, 1312, 457, 381, 2328, 425, 273, 261, 424, 457, 381, 2328, 13, 1081, 31, 8227, 309, 261, 9565, 18, 5935, 12, 73, 3719, 288, 7734, 425, 18, 542, 3759, 461, 12, 2211, 18, 588, 3759, 461, 10663, 7734, 425, 18, 542, 3024, 461, 12, 2211, 18, 588, 3024, 461, 10663, 7734, 425, 18, 542, 4134, 12, 2211, 18, 588, 4134, 10663, 7734, 425, 18, 542, 382, 14278, 12, 2211, 18, 588, 382, 14278, 10663, 7682, 309, 261, 2211, 18, 588, 3621, 1435, 480, 446, 13, 288, 10792, 364, 261, 3198, 518, 273, 333, 18, 588, 3621, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 10792, 288, 13491, 3756, 751, 314, 273, 261, 1114, 751, 13, 518, 18, 4285, 5621, 13491, 425, 18, 1232, 424, 457, 381, 2328, 1114, 12443, 424, 457, 381, 2328, 1114, 13, 5815, 18, 1458, 12, 75, 10019, 10792, 289, 7734, 289, 18701, 289, 5411, 327, 425, 31, 10792, 289, 469, 288, 13491, 604, 394, 2754, 12, 10792, 315, 424, 457, 381, 2328, 751, 848, 1338, 3636, 1312, 457, 381, 2328, 1199, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 921, 3636, 45, 921, 12, 467, 921, 1081, 16, 18469, 1488, 4597, 5815, 13, 565, 288, 3639, 309, 261, 1081, 1276, 1312, 457, 381, 2328, 13, 3639, 288, 5411, 1312, 457, 381, 2328, 425, 273, 261, 424, 457, 381, 2328, 13, 1081, 31, 8227, 309, 261, 9565, 18, 5935, 12, 73, 3719, 288, 7734, 425, 18, 542, 3759, 461, 12, 2211, 18, 588, 3759, 461, 10663, 7734, 425, 18, 542, 3024, 461, 12, 2211, 18, 588, 3024, 461, 10663, 7734, 425, 18, 542, 4134, 12, 2211, 18, 588, 4134, 10663, 7734, 425, 18, 542, 382, 14278, 12, 2211, 18, 588, 382, 14278, 10663, 7682, 309, 261, 2211, 18, 588, 3621, 1435, 480, 446, 13, 288, 10792, 2 ]
MessageFormat mf = new MessageFormat(message, locale);
MessageFormat mf = buildMessageFormat(message, locale);
private static String getMessage(String bundleName, Locale locale, String key, OgnlValueStack valueStack, Object[] args) { try { ResourceBundle bundle = findResourceBundle(bundleName, locale); reloadBundles(bundle); String message = TextParseUtil.translateVariables(bundle.getString(key), valueStack); MessageFormat mf = new MessageFormat(message, locale); return mf.format(args); } catch (MissingResourceException ex) { return null; } }
16468 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/16468/a72f31078369301abd184757828fc006489b8e54/LocalizedTextUtil.java/clean/src/java/com/opensymphony/xwork/util/LocalizedTextUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 2381, 12, 780, 20052, 16, 6458, 2573, 16, 514, 498, 16, 531, 1600, 80, 620, 2624, 460, 2624, 16, 1033, 8526, 833, 13, 288, 3639, 775, 288, 5411, 19198, 3440, 273, 1104, 18731, 12, 9991, 461, 16, 2573, 1769, 5411, 7749, 16151, 12, 9991, 1769, 5411, 514, 883, 273, 3867, 3201, 1304, 18, 13929, 6158, 12, 9991, 18, 588, 780, 12, 856, 3631, 460, 2624, 1769, 5411, 17377, 14749, 273, 1361, 1079, 1630, 12, 2150, 16, 2573, 1769, 5411, 327, 14749, 18, 2139, 12, 1968, 1769, 3639, 289, 1044, 261, 4841, 14785, 431, 13, 288, 5411, 327, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 2381, 12, 780, 20052, 16, 6458, 2573, 16, 514, 498, 16, 531, 1600, 80, 620, 2624, 460, 2624, 16, 1033, 8526, 833, 13, 288, 3639, 775, 288, 5411, 19198, 3440, 273, 1104, 18731, 12, 9991, 461, 16, 2573, 1769, 5411, 7749, 16151, 12, 9991, 1769, 5411, 514, 883, 273, 3867, 3201, 1304, 18, 13929, 6158, 12, 9991, 18, 588, 780, 12, 856, 3631, 460, 2624, 1769, 5411, 17377, 14749, 273, 1361, 1079, 1630, 12, 2150, 16, 2573, 1769, 5411, 327, 14749, 18, 2139, 12, 1968, 1769, 3639, 289, 1044, 261, 4841, 14785, 431, 13, 288, 5411, 327, 446, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
.getString("Workbench.propertiesToolTip"));
.getString("Workbench.printToolTip"));
public IWorkbenchAction create(IWorkbenchWindow window) { if (window == null) { throw new IllegalArgumentException(); } RetargetAction action = new RetargetAction(getId(), WorkbenchMessages.getString("Workbench.properties")); //$NON-NLS-1$ //$NON-NLS-2$ action.setToolTipText(WorkbenchMessages .getString("Workbench.propertiesToolTip")); //$NON-NLS-1$ window.getPartService().addPartListener(action); action.setActionDefinitionId("org.eclipse.ui.file.properties"); //$NON-NLS-1$ return action; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/a068a7b2f086dec18f37d899ac6f919caaf29048/ActionFactory.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/ActionFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 467, 2421, 22144, 1803, 752, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 5411, 309, 261, 5668, 422, 446, 13, 288, 7734, 604, 394, 2754, 5621, 5411, 289, 5411, 17100, 826, 1803, 1301, 273, 394, 17100, 826, 1803, 12, 26321, 9334, 10792, 4147, 22144, 5058, 18, 588, 780, 2932, 2421, 22144, 18, 4738, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 225, 4329, 3993, 17, 5106, 17, 22, 8, 5411, 1301, 18, 542, 29250, 1528, 12, 2421, 22144, 5058, 10792, 263, 588, 780, 2932, 2421, 22144, 18, 1188, 29250, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 2742, 18, 588, 1988, 1179, 7675, 1289, 1988, 2223, 12, 1128, 1769, 5411, 1301, 18, 542, 1803, 21768, 2932, 3341, 18, 20416, 18, 4881, 18, 768, 18, 4738, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 327, 1301, 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, 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, 467, 2421, 22144, 1803, 752, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 5411, 309, 261, 5668, 422, 446, 13, 288, 7734, 604, 394, 2754, 5621, 5411, 289, 5411, 17100, 826, 1803, 1301, 273, 394, 17100, 826, 1803, 12, 26321, 9334, 10792, 4147, 22144, 5058, 18, 588, 780, 2932, 2421, 22144, 18, 4738, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 225, 4329, 3993, 17, 5106, 17, 22, 8, 5411, 1301, 18, 542, 29250, 1528, 12, 2421, 22144, 5058, 10792, 263, 588, 780, 2932, 2421, 22144, 18, 1188, 29250, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 2742, 18, 588, 1988, 1179, 7675, 1289, 1988, 2223, 12, 1128, 1769, 5411, 1301, 18, 542, 1803, 2 ]
log.println("Removing " + key.toString(true, 0) + "\t" + value);
log.println("Removing " + key.toString(true, 0, Integer.MAX_VALUE) + "\t" + value);
private GenerateSidewaysView(String filename, boolean validating) throws SAXException, IOException { this.filename = filename; xmlReader = createXMLReader(validating); // make sure the parents are loaded into cache before we are String parentName = getParentFilename(filename); if (parentName != null) { parent = getCLDR(parentName, validating); } //System.out.println("Creating " + filename); xmlReader.setContentHandler(DEFAULT_HANDLER); xmlReader.setProperty("http://xml.org/sax/properties/lexical-handler",DEFAULT_HANDLER); readFrom(options[SOURCEDIR].value, filename); // walk through the map removing anything that is inherited from a parent. // changed so that we stop when the parent has an element if (parent != null) { Parent parentOut = new Parent(); Map toRemove = new TreeMap(); for (Iterator it = data.iterator(); it.hasNext();) { Object key = it.next(); if (((ElementChain)key).containsElement("identity")) continue; EndNode value = (EndNode) data.get(key); Object inheritedValue = getInheritedValue(key, parentOut); if (value.equals(inheritedValue)) { // debugging: data.get(key); //getInheritedValue(key); //value.equals(inheritedValue); toRemove.put(key, parentOut.parent); } } for (Iterator it = toRemove.keySet().iterator(); it.hasNext();) { ElementChain key = (ElementChain)it.next(); EndNode value = (EndNode) data.get(key); GenerateSidewaysView parent = (GenerateSidewaysView) toRemove.get(key); EndNode parentValue = (EndNode) parent.data.get(key); log.println("Removing " + key.toString(true, 0) + "\t" + value); ElementChain parentKey = (ElementChain) parent.data.getKeyFor(key); log.println("\tIn " + parent.filename + ":\t" + parentKey.toString(true, 0) + "\t"+ parentValue); data.remove(key); } } }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/0a3710fa7a2f36b8fabfad37f7c25e6054e186d8/GenerateSidewaysView.java/clean/icu4j/src/com/ibm/icu/dev/tool/cldr/GenerateSidewaysView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 6654, 8895, 3052, 1767, 12, 780, 1544, 16, 1250, 18075, 13, 1216, 14366, 16, 1860, 288, 3639, 333, 18, 3459, 273, 1544, 31, 3639, 2025, 2514, 273, 752, 4201, 2514, 12, 877, 1776, 1769, 3639, 368, 1221, 3071, 326, 6298, 854, 4203, 1368, 1247, 1865, 732, 854, 3639, 514, 26119, 273, 5089, 5359, 12, 3459, 1769, 3639, 309, 261, 2938, 461, 480, 446, 13, 288, 5411, 982, 273, 1927, 48, 6331, 12, 2938, 461, 16, 18075, 1769, 3639, 289, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 11092, 315, 397, 1544, 1769, 3639, 2025, 2514, 18, 542, 1350, 1503, 12, 5280, 67, 19937, 1769, 3639, 2025, 2514, 18, 542, 1396, 2932, 2505, 2207, 2902, 18, 3341, 19, 87, 651, 19, 4738, 19, 4149, 1706, 17, 4176, 3113, 5280, 67, 19937, 1769, 3639, 20876, 12, 2116, 63, 6537, 4537, 8009, 1132, 16, 1544, 1769, 3639, 368, 5442, 3059, 326, 852, 9427, 6967, 716, 353, 12078, 628, 279, 982, 18, 3639, 368, 3550, 1427, 716, 732, 2132, 1347, 326, 982, 711, 392, 930, 3639, 309, 261, 2938, 480, 446, 13, 288, 5411, 9520, 982, 1182, 273, 394, 9520, 5621, 5411, 1635, 23511, 273, 394, 16381, 5621, 5411, 364, 261, 3198, 518, 273, 501, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 7734, 1033, 498, 273, 518, 18, 4285, 5621, 7734, 309, 261, 12443, 1046, 3893, 13, 856, 2934, 12298, 1046, 2932, 10781, 6, 3719, 1324, 31, 7734, 4403, 907, 460, 273, 261, 1638, 907, 13, 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, 6654, 8895, 3052, 1767, 12, 780, 1544, 16, 1250, 18075, 13, 1216, 14366, 16, 1860, 288, 3639, 333, 18, 3459, 273, 1544, 31, 3639, 2025, 2514, 273, 752, 4201, 2514, 12, 877, 1776, 1769, 3639, 368, 1221, 3071, 326, 6298, 854, 4203, 1368, 1247, 1865, 732, 854, 3639, 514, 26119, 273, 5089, 5359, 12, 3459, 1769, 3639, 309, 261, 2938, 461, 480, 446, 13, 288, 5411, 982, 273, 1927, 48, 6331, 12, 2938, 461, 16, 18075, 1769, 3639, 289, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 11092, 315, 397, 1544, 1769, 3639, 2025, 2514, 18, 542, 1350, 1503, 12, 5280, 67, 19937, 1769, 3639, 2025, 2514, 18, 542, 1396, 2932, 2505, 2207, 2902, 18, 3341, 19, 2 ]
if (r.getForeignKey().getTable().equals(this.centralTable)) { containsM1 = true; break; }
if (r.getForeignKey().getTable().equals(this.centralTable)) containsM1 = true;
public void flagSubclassRelation(Relation relation) throws AssociationException { // Sanity check. if (!(relation.getPrimaryKey().getTable().equals(this.centralTable) || relation.getForeignKey().getTable().equals(this.centralTable))) throw new AssociationException(BuilderBundle.getString("subclassNotOnCentralTable")); if (relation.getPrimaryKey().getTable().equals(relation.getForeignKey().getTable())) throw new AssociationException(BuilderBundle.getString("subclassNotBetweenTwoTables")); // Check validity. boolean containsM1 = false; for (Iterator i = this.subclassedRelations.iterator(); i.hasNext(); ) { Relation r = (Relation)i.next(); if (r.getForeignKey().getTable().equals(this.centralTable)) { containsM1 = true; break; // no need to look any further. } } if (containsM1 && (relation.getPrimaryKey().getTable().equals(this.centralTable) || this.subclassedRelations.size()!=0)) throw new AssociationException(BuilderBundle.getString("mixedCardinalitySubclasses")); // Do it. this.subclassedRelations.add(relation); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/d62084730dd4815e88fd51af28f27b0ea2a251b0/DataSet.java/clean/src/java/org/biomart/builder/model/DataSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2982, 1676, 1106, 3963, 12, 3963, 2533, 13, 1216, 18400, 503, 288, 3639, 368, 23123, 866, 18, 3639, 309, 16051, 12, 5488, 18, 588, 11575, 7675, 588, 1388, 7675, 14963, 12, 2211, 18, 71, 12839, 1388, 13, 747, 7734, 2533, 18, 588, 15420, 7675, 588, 1388, 7675, 14963, 12, 2211, 18, 71, 12839, 1388, 20349, 5411, 604, 394, 18400, 503, 12, 1263, 3405, 18, 588, 780, 2932, 10678, 1248, 1398, 39, 12839, 1388, 7923, 1769, 3639, 309, 261, 5488, 18, 588, 11575, 7675, 588, 1388, 7675, 14963, 12, 5488, 18, 588, 15420, 7675, 588, 1388, 1435, 3719, 5411, 604, 394, 18400, 503, 12, 1263, 3405, 18, 588, 780, 2932, 10678, 1248, 11831, 11710, 6905, 7923, 1769, 3639, 368, 2073, 13800, 18, 3639, 1250, 1914, 49, 21, 273, 629, 31, 3639, 364, 261, 3198, 277, 273, 333, 18, 1717, 830, 2185, 10666, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 5411, 7317, 436, 273, 261, 3963, 13, 77, 18, 4285, 5621, 5411, 309, 261, 86, 18, 588, 15420, 7675, 588, 1388, 7675, 14963, 12, 2211, 18, 71, 12839, 1388, 3719, 288, 7734, 1914, 49, 21, 273, 638, 31, 7734, 898, 31, 368, 1158, 1608, 358, 2324, 1281, 9271, 18, 5411, 289, 3639, 289, 3639, 309, 261, 12298, 49, 21, 597, 261, 5488, 18, 588, 11575, 7675, 588, 1388, 7675, 14963, 12, 2211, 18, 71, 12839, 1388, 13, 747, 333, 18, 1717, 830, 2185, 10666, 18, 1467, 1435, 5, 33, 20, 3719, 5411, 604, 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, 2982, 1676, 1106, 3963, 12, 3963, 2533, 13, 1216, 18400, 503, 288, 3639, 368, 23123, 866, 18, 3639, 309, 16051, 12, 5488, 18, 588, 11575, 7675, 588, 1388, 7675, 14963, 12, 2211, 18, 71, 12839, 1388, 13, 747, 7734, 2533, 18, 588, 15420, 7675, 588, 1388, 7675, 14963, 12, 2211, 18, 71, 12839, 1388, 20349, 5411, 604, 394, 18400, 503, 12, 1263, 3405, 18, 588, 780, 2932, 10678, 1248, 1398, 39, 12839, 1388, 7923, 1769, 3639, 309, 261, 5488, 18, 588, 11575, 7675, 588, 1388, 7675, 14963, 12, 5488, 18, 588, 15420, 7675, 588, 1388, 1435, 3719, 5411, 604, 394, 18400, 503, 12, 1263, 3405, 18, 588, 780, 2932, 10678, 1248, 11831, 11710, 6905, 7923, 1769, 2 ]
int lastQuestion = uri.lastIndexOf("?"); String actualQuery = ""; if(lastQuestion != -1) { uri = actual.substring(0,lastQuestion); actualQuery = actual.substring(lastQuestion+1); } if(query != null) assertEquals(assertID, query, actualQuery);
int lastQuestion = uri.lastIndexOf("?"); String actualQuery = ""; if (lastQuestion != -1) { uri = actual.substring(0, lastQuestion); actualQuery = actual.substring(lastQuestion + 1); } if (query != null) assertEquals(assertID, query, actualQuery);
public void assertURIEquals(String assertID, String scheme, String path, String host, String file, String name, String query, String fragment, Boolean isAbsolute, String actual) { // // URI must be non-null assertNotNull(assertID, actual); String uri = actual; int lastPound = actual.lastIndexOf("#"); String actualFragment = ""; if(lastPound != -1) { // // substring before pound // uri = actual.substring(0,lastPound); actualFragment = actual.substring(lastPound+1); } if(fragment != null) assertEquals(assertID,fragment, actualFragment); int lastQuestion = uri.lastIndexOf("?"); String actualQuery = ""; if(lastQuestion != -1) { // // substring before pound // uri = actual.substring(0,lastQuestion); actualQuery = actual.substring(lastQuestion+1); } if(query != null) assertEquals(assertID, query, actualQuery); int firstColon = uri.indexOf(":"); int firstSlash = uri.indexOf("/"); String actualPath = uri; String actualScheme = ""; if(firstColon != -1 && firstColon < firstSlash) { actualScheme = uri.substring(0,firstColon); actualPath = uri.substring(firstColon + 1); } if(scheme != null) { assertEquals(assertID, scheme, actualScheme); } if(path != null) { assertEquals(assertID, path, actualPath); } if(host != null) { String actualHost = ""; if(actualPath.startsWith("//")) { int termSlash = actualPath.indexOf("/",2); actualHost = actualPath.substring(0,termSlash); } assertEquals(assertID, host, actualHost); } String actualFile = actualPath; if(file != null || name != null) { int finalSlash = actualPath.lastIndexOf("/"); if(finalSlash != -1) { actualFile = actualPath.substring(finalSlash+1); } if (file != null) { assertEquals(assertID, file, actualFile); } } if(name != null) { String actualName = actualFile; int finalPeriod = actualFile.lastIndexOf("."); if(finalPeriod != -1) { actualName = actualFile.substring(0, finalPeriod); } assertEquals(assertID, name, actualName); } if(isAbsolute != null) { // // Jar URL's will have any actual path like file:/c:/somedrive... assertEquals(assertID, isAbsolute.booleanValue(), actualPath.startsWith("/") || actualPath.startsWith("file:/")); } }
55441 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55441/1c337c060f06f2e58a7fb72c742255c663809b9c/DOMTestCase.java/clean/java/org/w3c/domts/DOMTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1815, 3098, 8867, 12, 780, 1815, 734, 16, 514, 4355, 16, 514, 589, 16, 514, 1479, 16, 514, 585, 16, 514, 508, 16, 514, 843, 16, 514, 5481, 16, 3411, 20082, 16, 514, 3214, 13, 288, 202, 759, 202, 759, 225, 3699, 1297, 506, 1661, 17, 2011, 202, 11231, 5962, 12, 11231, 734, 16, 3214, 1769, 202, 780, 2003, 273, 3214, 31, 202, 474, 1142, 52, 772, 273, 3214, 18, 2722, 31985, 2932, 7, 8863, 202, 780, 3214, 7456, 273, 1408, 31, 202, 430, 12, 2722, 52, 772, 480, 300, 21, 13, 288, 202, 202, 759, 202, 202, 759, 282, 3019, 1865, 293, 772, 202, 202, 759, 202, 202, 1650, 273, 3214, 18, 28023, 12, 20, 16, 2722, 52, 772, 1769, 202, 202, 18672, 7456, 273, 3214, 18, 28023, 12, 2722, 52, 772, 15, 21, 1769, 202, 97, 202, 430, 12, 11956, 480, 446, 13, 1815, 8867, 12, 11231, 734, 16, 11956, 16, 3214, 7456, 1769, 202, 474, 1142, 11665, 273, 2003, 18, 2722, 31985, 2932, 7225, 1769, 202, 780, 3214, 1138, 273, 1408, 31, 202, 430, 12, 2722, 11665, 480, 300, 21, 13, 288, 202, 202, 759, 202, 202, 759, 282, 3019, 1865, 293, 772, 202, 202, 759, 202, 202, 1650, 273, 3214, 18, 28023, 12, 20, 16, 2722, 11665, 1769, 202, 202, 18672, 1138, 273, 3214, 18, 28023, 12, 2722, 11665, 15, 21, 1769, 202, 97, 202, 430, 12, 2271, 480, 446, 13, 1815, 8867, 12, 11231, 734, 16, 843, 16, 3214, 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, 1815, 3098, 8867, 12, 780, 1815, 734, 16, 514, 4355, 16, 514, 589, 16, 514, 1479, 16, 514, 585, 16, 514, 508, 16, 514, 843, 16, 514, 5481, 16, 3411, 20082, 16, 514, 3214, 13, 288, 202, 759, 202, 759, 225, 3699, 1297, 506, 1661, 17, 2011, 202, 11231, 5962, 12, 11231, 734, 16, 3214, 1769, 202, 780, 2003, 273, 3214, 31, 202, 474, 1142, 52, 772, 273, 3214, 18, 2722, 31985, 2932, 7, 8863, 202, 780, 3214, 7456, 273, 1408, 31, 202, 430, 12, 2722, 52, 772, 480, 300, 21, 13, 288, 202, 202, 759, 202, 202, 759, 282, 3019, 1865, 293, 772, 202, 202, 759, 202, 202, 1650, 273, 3214, 18, 28023, 12, 20, 2 ]
lightVo = cache.getServiceLight(servicePK.getId());
lightVo = cache.getServiceLight(servicePK);
private AppdefResourceValue getServiceValueImpl(ServicePK servicePK, boolean getLightVO) throws NamingException { ServiceValue vo; ServiceLightValue lightVo; synchronized (cache.getServiceLock()) { if (getLightVO) { lightVo = cache.getServiceLight(servicePK.getId()); if (lightVo != null) { log.debug("Returning cached service light: " + lightVo.getId()); return lightVo; } // lightVo = ejb.getServiceLightValue(); lightVo = (ServiceLightValue) getServiceValueDirectSQL(servicePK, true); // add to cache cache.put(lightVo.getId(), lightVo); return lightVo; } else { vo = cache.getService(servicePK.getId()); if (vo != null) { log.debug("Returning cached service: " + vo.getId()); return vo; } // vo = ejb.getServiceValue(); vo = (ServiceValue) getServiceValueDirectSQL(servicePK, false); // add to cache cache.put(vo.getId(), vo); return vo; } } }
52591 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52591/5b5340cb0d18f5736d423826ddf9afcd22ec015f/ServiceVOHelperEJBImpl.java/clean/src/org/hyperic/hq/appdef/server/session/ServiceVOHelperEJBImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4677, 536, 1420, 620, 6373, 620, 2828, 12, 1179, 8784, 1156, 8784, 16, 4766, 10792, 1250, 9014, 750, 16169, 13, 5411, 1216, 26890, 288, 3639, 1956, 620, 19993, 31, 3639, 1956, 12128, 620, 9052, 24481, 31, 3639, 3852, 261, 2493, 18, 588, 1179, 2531, 10756, 288, 5411, 309, 261, 588, 12128, 16169, 13, 288, 7734, 9052, 24481, 273, 1247, 18, 588, 1179, 12128, 12, 3278, 8784, 1769, 7734, 309, 261, 5099, 24481, 480, 446, 13, 288, 10792, 613, 18, 4148, 2932, 28365, 3472, 1156, 9052, 30, 315, 18701, 397, 9052, 24481, 18, 26321, 10663, 10792, 327, 9052, 24481, 31, 7734, 289, 7734, 368, 9052, 24481, 273, 18024, 18, 588, 1179, 12128, 620, 5621, 7734, 9052, 24481, 273, 261, 1179, 12128, 620, 13, 10792, 6373, 620, 5368, 3997, 12, 3278, 8784, 16, 638, 1769, 7734, 368, 527, 358, 1247, 7734, 1247, 18, 458, 12, 5099, 24481, 18, 26321, 9334, 9052, 24481, 1769, 7734, 327, 9052, 24481, 31, 5411, 289, 469, 288, 7734, 19993, 273, 1247, 18, 588, 1179, 12, 3278, 8784, 18, 26321, 10663, 7734, 309, 261, 12307, 480, 446, 13, 288, 10792, 613, 18, 4148, 2932, 28365, 3472, 1156, 30, 315, 397, 19993, 18, 26321, 10663, 10792, 327, 19993, 31, 7734, 289, 7734, 368, 19993, 273, 18024, 18, 588, 1179, 620, 5621, 7734, 19993, 273, 261, 1179, 620, 13, 6373, 620, 5368, 3997, 12, 3278, 8784, 16, 629, 1769, 7734, 368, 527, 358, 1247, 7734, 1247, 18, 458, 12, 12307, 18, 26321, 9334, 19993, 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, 3238, 4677, 536, 1420, 620, 6373, 620, 2828, 12, 1179, 8784, 1156, 8784, 16, 4766, 10792, 1250, 9014, 750, 16169, 13, 5411, 1216, 26890, 288, 3639, 1956, 620, 19993, 31, 3639, 1956, 12128, 620, 9052, 24481, 31, 3639, 3852, 261, 2493, 18, 588, 1179, 2531, 10756, 288, 5411, 309, 261, 588, 12128, 16169, 13, 288, 7734, 9052, 24481, 273, 1247, 18, 588, 1179, 12128, 12, 3278, 8784, 1769, 7734, 309, 261, 5099, 24481, 480, 446, 13, 288, 10792, 613, 18, 4148, 2932, 28365, 3472, 1156, 9052, 30, 315, 18701, 397, 9052, 24481, 18, 26321, 10663, 10792, 327, 9052, 24481, 31, 7734, 289, 7734, 368, 9052, 24481, 273, 18024, 18, 588, 1179, 12128, 620, 5621, 7734, 9052, 24481, 273, 2 ]
if (TIMEDEBUG || DEBUG) { long classSetupTime = System.currentTimeMillis() - entireClassAnalysisStart; if (classSetupTime > TIMEQUANTUM) System.out.println("TIME: setup " + className + " " + classSetupTime); }
private void examineClass(AnalysisPass analysisPass, String className) throws InterruptedException { if (DEBUG) System.out.println("Examining class " + className); this.currentClass = className; Detector[] detectors = analysisPass.getDetectorList(); try { JavaClass javaClass = Repository.lookupClass(className); // Notify ClassObservers for (Iterator<ClassObserver> i = classObserverList.iterator(); i.hasNext();) { i.next().observeClass(javaClass); } // Create a ClassContext for the class ClassContext classContext = analysisContext.getClassContext(javaClass); // Run the Detectors for (int i = 0; i < detectors.length; ++i) { if (Thread.interrupted()) throw new InterruptedException(); Detector detector = detectors[i]; if (detector instanceof StatelessDetector) { try { detector = (Detector)((StatelessDetector)detector).clone(); } catch (CloneNotSupportedException cnfe) { detector = detectors[i]; // this shouldn't happen } } try { long start = 0, end; if (DEBUG) { System.out.println(" running " + detector.getClass().getName()); start = System.currentTimeMillis(); } detector.visitClassContext(classContext); if (DEBUG) { end = System.currentTimeMillis(); long delta = end - start; String detectorName = detector.getClass().getName(); Long total = detectorTimings.get(detectorName); if (total == null) total = new Long(delta); else total = new Long(total.longValue() + delta); detectorTimings.put(detectorName, total); } } catch (AnalysisException e) { reportRecoverableDetectorException(className, detector, e); } catch (ArrayIndexOutOfBoundsException e) { reportRecoverableDetectorException(className, detector, e); } catch (ClassCastException e) { reportRecoverableDetectorException(className, detector, e); } } } catch (ClassNotFoundException e) { // This should never happen unless there are bugs in BCEL. bugReporter.reportMissingClass(e); reportRecoverableException(className, e); } catch (ClassFormatException e) { reportRecoverableException(className, e); } catch (RuntimeException re) { RuntimeException annotatedEx; try { String sep = System.getProperty("line.separator"); Constructor<? extends RuntimeException> c = re.getClass().getConstructor(new Class[] { String.class }); String msg = re.getMessage(); msg = sep + "While finding bugs in class: " + className + ((msg == null) ? "" : (sep + msg)); annotatedEx = c.newInstance(new Object[] {msg}); annotatedEx.setStackTrace(re.getStackTrace()); } catch (Exception e) { throw re; } throw annotatedEx; } progressCallback.finishClass(); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/9bb94262e1f51c2ddcf5c741adecf904ba395f70/FindBugs.java/clean/findbugs/src/java/edu/umd/cs/findbugs/FindBugs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 430, 261, 4684, 9394, 747, 6369, 13, 288, 1525, 667, 7365, 950, 273, 2332, 18, 2972, 28512, 1435, 300, 7278, 797, 9418, 1685, 31, 309, 261, 1106, 7365, 950, 405, 8721, 3500, 6856, 2799, 13, 2332, 18, 659, 18, 8222, 2932, 4684, 30, 225, 3875, 315, 397, 2658, 397, 315, 315, 397, 667, 7365, 950, 1769, 289, 918, 430, 261, 4684, 9394, 747, 6369, 13, 288, 1525, 667, 7365, 950, 273, 2332, 18, 2972, 28512, 1435, 300, 7278, 797, 9418, 1685, 31, 309, 261, 1106, 7365, 950, 405, 8721, 3500, 6856, 2799, 13, 2332, 18, 659, 18, 8222, 2932, 4684, 30, 225, 3875, 315, 397, 2658, 397, 315, 315, 397, 667, 7365, 950, 1769, 289, 19707, 558, 797, 12, 9418, 6433, 430, 261, 4684, 9394, 747, 6369, 13, 288, 1525, 667, 7365, 950, 273, 2332, 18, 2972, 28512, 1435, 300, 7278, 797, 9418, 1685, 31, 309, 261, 1106, 7365, 950, 405, 8721, 3500, 6856, 2799, 13, 2332, 18, 659, 18, 8222, 2932, 4684, 30, 225, 3875, 315, 397, 2658, 397, 315, 315, 397, 667, 7365, 950, 1769, 289, 6285, 6433, 16, 430, 261, 4684, 9394, 747, 6369, 13, 288, 1525, 667, 7365, 950, 273, 2332, 18, 2972, 28512, 1435, 300, 7278, 797, 9418, 1685, 31, 309, 261, 1106, 7365, 950, 405, 8721, 3500, 6856, 2799, 13, 2332, 18, 659, 18, 8222, 2932, 4684, 30, 225, 3875, 315, 397, 2658, 397, 315, 315, 397, 667, 7365, 950, 1769, 289, 514, 430, 261, 4684, 9394, 747, 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, 430, 261, 4684, 9394, 747, 6369, 13, 288, 1525, 667, 7365, 950, 273, 2332, 18, 2972, 28512, 1435, 300, 7278, 797, 9418, 1685, 31, 309, 261, 1106, 7365, 950, 405, 8721, 3500, 6856, 2799, 13, 2332, 18, 659, 18, 8222, 2932, 4684, 30, 225, 3875, 315, 397, 2658, 397, 315, 315, 397, 667, 7365, 950, 1769, 289, 918, 430, 261, 4684, 9394, 747, 6369, 13, 288, 1525, 667, 7365, 950, 273, 2332, 18, 2972, 28512, 1435, 300, 7278, 797, 9418, 1685, 31, 309, 261, 1106, 7365, 950, 405, 8721, 3500, 6856, 2799, 13, 2332, 18, 659, 18, 8222, 2932, 4684, 30, 225, 3875, 315, 397, 2658, 397, 315, 315, 397, 667, 7365, 950, 1769, 289, 19707, 2 ]
double _cs = af;
System.out.println("."); int startcandle = candles.size()-2; for ( int i = startcandle; i>=skipdays;i--){
public double SAR(double af, double max, Vector candles, int skipdays) { double value = 0.0; double hi; double low; hi = low = 0; // find the first boolean uptrend = true; // check first trend Candle cref0 = (Candle) candles.elementAt(candles.size() - 1 - skipdays); Candle cref1 = (Candle) candles.elementAt(candles.size() - 1 - skipdays - 1); if (cref1.close > cref0.close) { uptrend = true; } else { uptrend = false; } // find first extreme point. boolean extremefound = false; int index = 0; while (!extremefound) { cref0 = (Candle) candles.elementAt(candles.size() - 1 - skipdays - index); cref1 = (Candle) candles.elementAt(candles.size() - 1 - skipdays - index - 1); if (uptrend) { if (cref1.close > cref0.close) { } else { extremefound = true; break; } } else { if (cref1.close < cref0.close) { } else { extremefound = true; break; } } index++; } if (cref1.close > cref0.close) { uptrend = true; } else { uptrend = false; } double currentstop = 0.0; double previousstop = 0.0; double extreme = 0.0; double currentacc = af; // set initial values if (uptrend) { extreme = cref0.close; } else { extreme = cref1.close; } // System.out.println("Starting at candle:" + startcandle); double _cs = af; for (int i = 0; i >= skipdays; i--) { Candle c = (Candle) candles.elementAt(i); if (uptrend) { value = value + (_cs * (c.hi - value)); if (c.low < value) { low = c.low; uptrend = false; _cs = af; } else { if (c.hi > hi) { hi = c.hi; if (_cs < max) { _cs += af; } } } } else { value = value + (_cs * (c.low - value)); if (c.hi > value) { hi = c.hi; uptrend = true; _cs = af; } else { if (c.low < low) { low = c.low; if (_cs < max) { _cs += af; } } } } } // System.out.println( // "Break - trend is at the start is in an up:" + uptrend); return value; }
9106 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9106/daa0f4c551496489f4785682a29d9b9394f50be3/FinancialLibrary.java/buggy/CCAPI/src/CCAPI/FinancialLibrary.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 348, 985, 12, 9056, 10073, 16, 1645, 943, 16, 5589, 15350, 1040, 16, 509, 2488, 9810, 13, 288, 3639, 1645, 460, 273, 374, 18, 20, 31, 3639, 1645, 10118, 31, 3639, 1645, 4587, 31, 3639, 10118, 273, 4587, 273, 374, 31, 3639, 368, 1104, 326, 1122, 3639, 1250, 582, 337, 20262, 273, 638, 31, 3639, 368, 866, 1122, 268, 20262, 3639, 385, 464, 298, 1519, 74, 20, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 1467, 1435, 300, 404, 300, 7734, 2488, 9810, 1769, 3639, 385, 464, 298, 1519, 74, 21, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 1467, 1435, 300, 404, 300, 7734, 2488, 9810, 300, 404, 1769, 3639, 309, 261, 71, 1734, 21, 18, 4412, 405, 1519, 74, 20, 18, 4412, 13, 288, 5411, 582, 337, 20262, 273, 638, 31, 3639, 289, 469, 288, 5411, 582, 337, 20262, 273, 629, 31, 3639, 289, 3639, 368, 1104, 1122, 23755, 73, 1634, 18, 3639, 1250, 23755, 73, 7015, 273, 629, 31, 3639, 509, 770, 273, 374, 31, 3639, 1323, 16051, 408, 2764, 73, 7015, 13, 288, 5411, 1519, 74, 20, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 1467, 1435, 300, 404, 300, 2488, 9810, 300, 10792, 770, 1769, 5411, 1519, 74, 21, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 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, 1645, 348, 985, 12, 9056, 10073, 16, 1645, 943, 16, 5589, 15350, 1040, 16, 509, 2488, 9810, 13, 288, 3639, 1645, 460, 273, 374, 18, 20, 31, 3639, 1645, 10118, 31, 3639, 1645, 4587, 31, 3639, 10118, 273, 4587, 273, 374, 31, 3639, 368, 1104, 326, 1122, 3639, 1250, 582, 337, 20262, 273, 638, 31, 3639, 368, 866, 1122, 268, 20262, 3639, 385, 464, 298, 1519, 74, 20, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 1467, 1435, 300, 404, 300, 7734, 2488, 9810, 1769, 3639, 385, 464, 298, 1519, 74, 21, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 1467, 2 ]
AspectJUIPlugin .getResourceString("AutoPluginRemoveDialog.noEditor.title"), AspectJUIPlugin .getResourceString("AutoPluginRemoveDialog.noEditor.message"));
UIMessages.AutoPluginRemoveDialog_noEditor_title, UIMessages.AutoPluginRemoveDialog_noEditor_message);
private void removeAJDEPluginDependency(IProject project) { IWorkbenchWindow window = AspectJUIPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow(); // Attempt to get hold of the open manifest editor // for the current project. //ManifestEditor manEd = AJDTUtils.getPDEManifestEditor(project); ManifestEditor manEd = AJDTUtils.getAndPrepareToChangePDEModel(project); if (manEd != null) { IPluginModel model = (IPluginModel) manEd.getAggregateModel(); try { AJDTUtils.removeImportFromPDEModel(model, "org.aspectj.ajde"); // $NON-NLS-1$ manEd.doSave(new NullProgressMonitor()); } catch (CoreException e) { AspectJUIPlugin .getDefault() .getErrorHandler() .handleError( AspectJUIPlugin .getResourceString("AutoPluginRemoveErrorDialog.title"), AspectJUIPlugin .getResourceString("AutoPluginRemoveErrorDialog.message"), e); } }// end if we got a reference to the manifest editor else { MessageDialog .openError( AspectJUIPlugin.getDefault().getWorkbench() .getActiveWorkbenchWindow().getShell(), AspectJUIPlugin .getResourceString("AutoPluginRemoveDialog.noEditor.title"), AspectJUIPlugin .getResourceString("AutoPluginRemoveDialog.noEditor.message")); } }
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/db7704a16405007af064b9eaf64639d601bcfc7c/PluginDependencyMigrationPage.java/clean/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/ui/wizards/migration/PluginDependencyMigrationPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1206, 37, 46, 1639, 3773, 7787, 12, 45, 4109, 1984, 13, 288, 202, 202, 45, 2421, 22144, 3829, 2742, 273, 2970, 1181, 46, 5370, 3773, 18, 588, 1868, 7675, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 5621, 202, 202, 759, 12864, 358, 336, 6887, 434, 326, 1696, 5643, 4858, 202, 202, 759, 364, 326, 783, 1984, 18, 202, 202, 759, 9121, 6946, 3161, 2671, 273, 432, 46, 9081, 1989, 18, 588, 52, 1639, 9121, 6946, 12, 4406, 1769, 202, 202, 9121, 6946, 3161, 2671, 273, 432, 46, 9081, 1989, 18, 588, 1876, 7543, 774, 3043, 52, 1639, 1488, 12, 4406, 1769, 202, 202, 430, 261, 4728, 2671, 480, 446, 13, 288, 1082, 202, 45, 3773, 1488, 938, 273, 261, 45, 3773, 1488, 13, 3161, 2671, 18, 588, 11490, 1488, 5621, 1082, 202, 698, 288, 9506, 202, 37, 46, 9081, 1989, 18, 4479, 5010, 1265, 52, 1639, 1488, 12, 2284, 16, 315, 3341, 18, 23579, 78, 18, 4365, 323, 8863, 368, 271, 3993, 17, 5106, 17, 21, 8, 9506, 202, 4728, 2671, 18, 2896, 4755, 12, 2704, 4112, 5491, 7187, 10663, 1082, 202, 97, 1044, 261, 25341, 425, 13, 288, 9506, 202, 17468, 46, 5370, 3773, 25083, 202, 18, 588, 1868, 1435, 25083, 202, 18, 588, 17729, 1435, 25083, 202, 18, 4110, 668, 12, 6862, 9506, 202, 17468, 46, 5370, 3773, 6862, 25083, 202, 18, 588, 1420, 780, 2932, 4965, 3773, 3288, 668, 6353, 18, 2649, 6, 3631, 6862, 9506, 202, 17468, 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, 1206, 37, 46, 1639, 3773, 7787, 12, 45, 4109, 1984, 13, 288, 202, 202, 45, 2421, 22144, 3829, 2742, 273, 2970, 1181, 46, 5370, 3773, 18, 588, 1868, 7675, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 5621, 202, 202, 759, 12864, 358, 336, 6887, 434, 326, 1696, 5643, 4858, 202, 202, 759, 364, 326, 783, 1984, 18, 202, 202, 759, 9121, 6946, 3161, 2671, 273, 432, 46, 9081, 1989, 18, 588, 52, 1639, 9121, 6946, 12, 4406, 1769, 202, 202, 9121, 6946, 3161, 2671, 273, 432, 46, 9081, 1989, 18, 588, 1876, 7543, 774, 3043, 52, 1639, 1488, 12, 4406, 1769, 202, 202, 430, 261, 4728, 2671, 480, 446, 13, 288, 1082, 202, 2 ]
messageImage = new Label(messageArea, SWT.LEFT); messageImage.setBackground(bg); messageImage.setVisible(false);
messageImageLabel = new Label(messageArea, SWT.LEFT); messageImageLabel.setBackground(bg); messageImageLabel.setVisible(false);
private Composite createTitleArea(Composite parent) { // Create the title area which will contain // a title, message, and image. titleArea = new Composite(parent, SWT.NONE); titleArea.setLayout(new TitleAreaLayout()); titleArea.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); // add a dispose listener titleArea.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { if (titleAreaColor != null) titleAreaColor.dispose(); if (errorMsgAreaBackground != null) errorMsgAreaBackground.dispose(); if (errorMsgAreaBorderColor != null) errorMsgAreaBorderColor.dispose(); } }); // Determine the background color of the title bar Display display = parent.getDisplay(); Color bg; if (titleAreaRGB != null) { titleAreaColor = new Color(display, titleAreaRGB); bg = titleAreaColor; } else { bg = JFaceColors.getBannerBackground(display); } titleArea.setBackground(bg); // Title label @ top, left titleLabel = new Label(titleArea, SWT.LEFT); titleLabel.setBackground(bg); titleLabel.setFont(JFaceResources.getBannerFont()); titleLabel.setText(" ");//$NON-NLS-1$ // Composite to hold message label & icon // Need it to draw background color box when error msg messageArea = new Composite(titleArea, SWT.NONE); messageArea.setBackground(bg); // Draw a border for the top and right side of the msg area messageArea.addPaintListener(new PaintListener() { public void paintControl(PaintEvent event) { if (messageImage.getVisible()) { Rectangle area = messageArea.getClientArea(); GC gc = event.gc; if (errorMsgAreaBorderColor == null) errorMsgAreaBorderColor = JFaceColors.getErrorBorder(messageArea.getDisplay()); gc.setForeground(errorMsgAreaBorderColor); gc.setLineWidth(1); gc.drawLine(area.x, area.y, area.x + area.width - 1, area.y); gc.drawLine(area.x + area.width - 1, area.y, area.x + area.width - 1, area.y + area.height - 1); } } }); // Message image @ bottom, left messageImage = new Label(messageArea, SWT.LEFT); messageImage.setBackground(bg); messageImage.setVisible(false); // Message label @ bottom, center messageLabel = new Label(messageArea, SWT.WRAP); messageLabel.setBackground(bg); messageLabel.setText(" \n "); // two lines//$NON-NLS-1$ messageLabel.setFont(JFaceResources.getDialogFont()); // Dialog image @ right titleImage = new Label(titleArea, SWT.CENTER); titleImage.setBackground(bg); titleImage.setImage(JFaceResources.getImage(DLG_IMG_TITLE_BANNER)); GridData gd = new GridData(); gd.horizontalAlignment = gd.END; titleImage.setLayoutData(gd); return titleArea;}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c4f6eea0242519035d1255fb52958492b9739dbf/TitleAreaDialog.java/buggy/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/dialogs/TitleAreaDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 14728, 752, 4247, 5484, 12, 9400, 982, 13, 288, 202, 759, 1788, 326, 2077, 5091, 1492, 903, 912, 202, 759, 279, 2077, 16, 883, 16, 471, 1316, 18, 202, 2649, 5484, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 2649, 5484, 18, 542, 3744, 12, 2704, 10984, 5484, 3744, 10663, 202, 2649, 5484, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 759, 527, 279, 15825, 2991, 202, 2649, 5484, 18, 1289, 1669, 4150, 2223, 12, 2704, 3035, 4150, 2223, 1435, 288, 202, 202, 482, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 1082, 202, 430, 261, 2649, 5484, 2957, 480, 446, 13, 9506, 202, 2649, 5484, 2957, 18, 2251, 4150, 5621, 1082, 202, 430, 261, 1636, 3332, 5484, 8199, 480, 446, 13, 9506, 202, 1636, 3332, 5484, 8199, 18, 2251, 4150, 5621, 1082, 202, 430, 261, 1636, 3332, 5484, 8107, 2957, 480, 446, 13, 9506, 202, 1636, 3332, 5484, 8107, 2957, 18, 2251, 4150, 5621, 202, 202, 97, 202, 22938, 202, 202, 759, 10229, 326, 5412, 2036, 434, 326, 2077, 4653, 202, 4236, 2562, 273, 982, 18, 588, 4236, 5621, 202, 2957, 7611, 31, 202, 430, 261, 2649, 5484, 11343, 480, 446, 13, 288, 202, 202, 2649, 5484, 2957, 273, 394, 5563, 12, 5417, 16, 2077, 5484, 11343, 1769, 202, 202, 12370, 273, 2077, 5484, 2957, 31, 202, 97, 469, 288, 202, 202, 12370, 273, 804, 11824, 12570, 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, 3238, 14728, 752, 4247, 5484, 12, 9400, 982, 13, 288, 202, 759, 1788, 326, 2077, 5091, 1492, 903, 912, 202, 759, 279, 2077, 16, 883, 16, 471, 1316, 18, 202, 2649, 5484, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 2649, 5484, 18, 542, 3744, 12, 2704, 10984, 5484, 3744, 10663, 202, 2649, 5484, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 759, 527, 279, 15825, 2991, 202, 2649, 5484, 18, 1289, 1669, 4150, 2223, 12, 2704, 3035, 4150, 2223, 1435, 288, 202, 202, 482, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 1082, 202, 430, 261, 2649, 5484, 2957, 480, 446, 2 ]
else
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen; boolean negative = isNegative() && (exponent & 1) != 0; int[] pow2 = new int [blen]; int[] rwords = new int [blen]; int[] work = new int [blen]; getAbsolute(pow2); // pow2 = abs(this); int rlen = 1; rwords[0] = 1; // rwords = 1; for (;;) // for (i = 0; ; i++) { // pow2 == this**(2**i) // prod = this**(sum(j=0..i-1, (exponent>>j)&1)) if ((exponent & 1) != 0) { // r *= pow2 MPN.mul(work, pow2, plen, rwords, rlen); int[] temp = work; work = rwords; rwords = temp; rlen += plen; while (rwords[rlen - 1] == 0) rlen--; } exponent >>= 1; if (exponent == 0) break; // pow2 *= pow2; MPN.mul(work, pow2, plen, pow2, plen); int[] temp = work; work = pow2; pow2 = temp; // swap to avoid a copy plen *= 2; while (pow2[plen - 1] == 0) plen--; } if (rwords[rlen - 1] < 0) rlen++; if (negative) negate(rwords, rwords, rlen); return BigInteger.make(rwords, rlen); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/49e488b8530051383b90b1357fa767c87c9ff7f5/BigInteger.java/buggy/core/src/classpath/java/java/math/BigInteger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10246, 7602, 12, 474, 9100, 13, 225, 288, 565, 309, 261, 24045, 1648, 374, 13, 1377, 288, 202, 430, 261, 24045, 422, 374, 13, 202, 225, 327, 15623, 31, 202, 12107, 202, 225, 604, 394, 27443, 503, 2932, 13258, 9100, 8863, 1377, 289, 565, 309, 261, 291, 7170, 10756, 1377, 327, 333, 31, 565, 509, 886, 275, 273, 4511, 422, 446, 692, 404, 294, 277, 1125, 31, 225, 368, 11311, 434, 7602, 22, 18, 565, 509, 324, 1897, 273, 14015, 3682, 1782, 1435, 380, 9100, 13, 1671, 1381, 13, 397, 576, 380, 886, 275, 31, 565, 1250, 6092, 273, 29886, 1435, 597, 261, 24045, 473, 404, 13, 480, 374, 31, 565, 509, 8526, 7602, 22, 273, 394, 509, 306, 70, 1897, 15533, 565, 509, 8526, 436, 3753, 273, 394, 509, 306, 70, 1897, 15533, 565, 509, 8526, 1440, 273, 394, 509, 306, 70, 1897, 15533, 565, 8469, 12, 23509, 22, 1769, 202, 759, 7602, 22, 273, 2417, 12, 2211, 1769, 565, 509, 436, 1897, 273, 404, 31, 565, 436, 3753, 63, 20, 65, 273, 404, 31, 368, 436, 3753, 273, 404, 31, 565, 364, 261, 25708, 13, 225, 368, 364, 261, 77, 273, 374, 31, 225, 274, 277, 27245, 1377, 288, 202, 759, 7602, 22, 422, 333, 636, 12, 22, 636, 77, 13, 202, 759, 10791, 273, 333, 636, 12, 1364, 12, 78, 33, 20, 838, 77, 17, 21, 16, 261, 24045, 9778, 78, 13, 10, 21, 3719, 202, 430, 14015, 24045, 473, 404, 13, 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, 10246, 7602, 12, 474, 9100, 13, 225, 288, 565, 309, 261, 24045, 1648, 374, 13, 1377, 288, 202, 430, 261, 24045, 422, 374, 13, 202, 225, 327, 15623, 31, 202, 12107, 202, 225, 604, 394, 27443, 503, 2932, 13258, 9100, 8863, 1377, 289, 565, 309, 261, 291, 7170, 10756, 1377, 327, 333, 31, 565, 509, 886, 275, 273, 4511, 422, 446, 692, 404, 294, 277, 1125, 31, 225, 368, 11311, 434, 7602, 22, 18, 565, 509, 324, 1897, 273, 14015, 3682, 1782, 1435, 380, 9100, 13, 1671, 1381, 13, 397, 576, 380, 886, 275, 31, 565, 1250, 6092, 273, 29886, 1435, 597, 261, 24045, 473, 404, 13, 480, 374, 31, 565, 509, 8526, 7602, 22, 273, 394, 2 ]
assertEquals( "2", rowData.getExpressionValue( "row[\"test\"]" ) );
public void testWithQuotes( ) throws ScriptException { assertEquals( "2", rowData.getExpressionValue( "row[\"test\"]" ) ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/2fb2d1f0c772873d250e1d25d021730e300b5489/RowDataTest.java/buggy/engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/api/script/RowDataTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1190, 14292, 12, 262, 1216, 7739, 503, 202, 95, 202, 202, 11231, 8867, 12, 315, 22, 3113, 24124, 18, 588, 2300, 620, 12, 315, 492, 63, 2412, 3813, 2412, 4279, 262, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1190, 14292, 12, 262, 1216, 7739, 503, 202, 95, 202, 202, 11231, 8867, 12, 315, 22, 3113, 24124, 18, 588, 2300, 620, 12, 315, 492, 63, 2412, 3813, 2412, 4279, 262, 11272, 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 ]
if (session.getAddress() != null && routingTable != null && session.getAddress().toBareJID().trim().length() != 0) { routingTable.removeRoute(session.getAddress()); if (sessionMap != null) { if (sessionMap.isEmpty()) { routingTable.removeRoute(new JID(session.getAddress().getNode(), session.getAddress().getDomain(), "")); } else { Session defaultSession = sessionMap.getDefaultSession(); routingTable.addRoute(new JID(defaultSession.getAddress().getNode(), defaultSession.getAddress().getDomain(), ""), defaultSession); } } }
public void removeSession(Session session) throws UnauthorizedException { if (session == null) { return; } SessionMap sessionMap = null; if (anonymousSessions.containsValue(session)) { anonymousSessions.remove(session.getAddress().getResource()); sessionCount--; } else { if (session.getAddress() != null && session.getAddress().getNode() != null) { String username = session.getAddress().getNode().toLowerCase(); synchronized (username.intern()) { sessionMap = sessions.get(username); if (sessionMap != null) { sessionMap.removeSession(session); sessionCount--; if (sessionMap.isEmpty()) { sessions.remove(username); } } } } } Presence presence = session.getPresence(); if (presence == null || presence.isAvailable()) { Presence offline = new Presence(); offline.setFrom(session.getAddress()); offline.setTo(new JID(null, serverName, null)); offline.setType(Presence.Type.unavailable); router.route(offline); } if (session.getAddress() != null && routingTable != null && session.getAddress().toBareJID().trim().length() != 0) { // Remove route to the removed session routingTable.removeRoute(session.getAddress()); if (sessionMap != null) { // If all the user sessions are gone then remove the route to the default session if (sessionMap.isEmpty()) { // Remove the route for the session's BARE address routingTable.removeRoute(new JID(session.getAddress().getNode(), session.getAddress().getDomain(), "")); } else { // Update the route for the session's BARE address Session defaultSession = sessionMap.getDefaultSession(); routingTable.addRoute(new JID(defaultSession.getAddress().getNode(), defaultSession.getAddress().getDomain(), ""), defaultSession); } } } }
6312 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6312/ae0aba652838857ab76efa35bdc8f3e05dd67b28/SessionManager.java/clean/src/java/org/jivesoftware/messenger/SessionManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 2157, 12, 2157, 1339, 13, 1216, 24830, 288, 3639, 309, 261, 3184, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 3877, 863, 1339, 863, 273, 446, 31, 3639, 309, 261, 19070, 13566, 18, 12298, 620, 12, 3184, 3719, 288, 5411, 13236, 13566, 18, 4479, 12, 3184, 18, 588, 1887, 7675, 588, 1420, 10663, 5411, 1339, 1380, 413, 31, 3639, 289, 3639, 469, 288, 5411, 309, 261, 3184, 18, 588, 1887, 1435, 480, 446, 597, 1339, 18, 588, 1887, 7675, 588, 907, 1435, 480, 446, 13, 288, 7734, 514, 2718, 273, 1339, 18, 588, 1887, 7675, 588, 907, 7675, 869, 5630, 5621, 7734, 3852, 261, 5053, 18, 267, 798, 10756, 288, 10792, 1339, 863, 273, 8856, 18, 588, 12, 5053, 1769, 10792, 309, 261, 3184, 863, 480, 446, 13, 288, 13491, 1339, 863, 18, 4479, 2157, 12, 3184, 1769, 13491, 1339, 1380, 413, 31, 13491, 309, 261, 3184, 863, 18, 291, 1921, 10756, 288, 18701, 8856, 18, 4479, 12, 5053, 1769, 13491, 289, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 3639, 31517, 9805, 273, 1339, 18, 588, 22590, 5621, 3639, 309, 261, 21731, 422, 446, 747, 9805, 18, 291, 5268, 10756, 288, 5411, 31517, 13493, 273, 394, 31517, 5621, 5411, 13493, 18, 542, 1265, 12, 3184, 18, 588, 1887, 10663, 5411, 13493, 18, 542, 774, 12, 2704, 804, 734, 12, 2011, 16, 10926, 16, 446, 10019, 5411, 13493, 18, 542, 559, 12, 22590, 18, 559, 18, 318, 5699, 1769, 5411, 4633, 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, 1206, 2157, 12, 2157, 1339, 13, 1216, 24830, 288, 3639, 309, 261, 3184, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 3877, 863, 1339, 863, 273, 446, 31, 3639, 309, 261, 19070, 13566, 18, 12298, 620, 12, 3184, 3719, 288, 5411, 13236, 13566, 18, 4479, 12, 3184, 18, 588, 1887, 7675, 588, 1420, 10663, 5411, 1339, 1380, 413, 31, 3639, 289, 3639, 469, 288, 5411, 309, 261, 3184, 18, 588, 1887, 1435, 480, 446, 597, 1339, 18, 588, 1887, 7675, 588, 907, 1435, 480, 446, 13, 288, 7734, 514, 2718, 273, 1339, 18, 588, 1887, 7675, 588, 907, 7675, 869, 5630, 5621, 7734, 3852, 261, 5053, 18, 267, 798, 10756, 288, 10792, 1339, 863, 2 ]
setRating(getSelectedTrack(), 0);
setRating(getSelectedTrack(), 5);
public void widgetSelected(SelectionEvent e) { setRating(getSelectedTrack(), 0); }
11635 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11635/81ff79b34cf34b3c59d32a6d086c23c59ca830c5/Client.java/buggy/trunk/irate/irate/swt/Client.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 3639, 444, 20388, 12, 588, 7416, 4402, 9334, 1381, 1769, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 3639, 444, 20388, 12, 588, 7416, 4402, 9334, 1381, 1769, 1377, 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 ]
{ CritterMove cm1 = (CritterMove)o1; CritterMove cm2 = (CritterMove)o2; return cm2.getValue() - cm1.getValue(); }
{ CritterMove cm1 = (CritterMove)o1; CritterMove cm2 = (CritterMove)o2; return cm2.getValue() - cm1.getValue(); }
public int compare(Object o1, Object o2) { CritterMove cm1 = (CritterMove)o1; CritterMove cm2 = (CritterMove)o2; return cm2.getValue() - cm1.getValue(); }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/ff5ea6c1922887595037f5fc301d6137efa9472e/SimpleAI.java/clean/Colossus/net/sf/colossus/client/SimpleAI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 7734, 288, 10792, 385, 583, 387, 7607, 5003, 21, 273, 261, 39, 583, 387, 7607, 13, 83, 21, 31, 10792, 385, 583, 387, 7607, 5003, 22, 273, 261, 39, 583, 387, 7607, 13, 83, 22, 31, 10792, 327, 5003, 22, 18, 24805, 1435, 300, 5003, 21, 18, 24805, 5621, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 7734, 288, 10792, 385, 583, 387, 7607, 5003, 21, 273, 261, 39, 583, 387, 7607, 13, 83, 21, 31, 10792, 385, 583, 387, 7607, 5003, 22, 273, 261, 39, 583, 387, 7607, 13, 83, 22, 31, 10792, 327, 5003, 22, 18, 24805, 1435, 300, 5003, 21, 18, 24805, 5621, 7734, 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 ]
return (String[])result.toArray (new String[result.size ()]);
return result;
public String[] getArgs () { List result = this.getAttribute (INPUT_PARAMETERS); return (String[])result.toArray (new String[result.size ()]); }
52706 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52706/b195f83dc0d8521d623a7e2220879bd37a2009cd/JobTemplateImpl.java/buggy/source/classes/com/sun/grid/drmaa/JobTemplateImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 514, 8526, 30169, 1832, 288, 1377, 987, 563, 273, 333, 18, 588, 1499, 261, 15934, 67, 20103, 1769, 5411, 327, 563, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 514, 8526, 30169, 1832, 288, 1377, 987, 563, 273, 333, 18, 588, 1499, 261, 15934, 67, 20103, 1769, 5411, 327, 563, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
renWin.GetRenderer().GetCullers().RemoveAllItems();
GetRenderer().GetCullers().RemoveAllItems();
public void setImageData(vtkImageData id) { //The shared picker enables us to use 3 planes at one time //and gets the picking order right vtkCellPicker picker = new vtkCellPicker(); picker.SetTolerance(0.005); //The 3 image plane widgets are used to probe the dataset. vtkImagePlaneWidget planeWidgetX = new vtkImagePlaneWidget(); planeWidgetX.DisplayTextOn(); planeWidgetX.SetInput(id); planeWidgetX.SetInteractor(renWin.getIren()); planeWidgetX.SetPlaneOrientationToXAxes(); planeWidgetX.SetSliceIndex(32); planeWidgetX.SetPicker(picker); planeWidgetX.SetKeyPressActivationValue('x'); planeWidgetX.GetPlaneProperty().SetColor(1, 0, 0); planeWidgetX.On(); vtkImagePlaneWidget planeWidgetY = new vtkImagePlaneWidget(); planeWidgetY.DisplayTextOn(); planeWidgetY.SetInput(id); planeWidgetY.SetInteractor(renWin.getIren()); planeWidgetY.SetPlaneOrientationToYAxes(); planeWidgetY.SetSliceIndex(32); planeWidgetY.SetPicker(picker); planeWidgetY.SetKeyPressActivationValue('y'); planeWidgetY.GetPlaneProperty().SetColor(1, 1, 0); planeWidgetY.SetLookupTable(planeWidgetX.GetLookupTable()); planeWidgetY.On(); //for the z-slice, turn off texture interpolation: //interpolation is now nearest neighbour, to demonstrate //cross-hair cursor snapping to pixel centers vtkImagePlaneWidget planeWidgetZ = new vtkImagePlaneWidget(); planeWidgetZ.DisplayTextOn(); planeWidgetZ.SetInput(id); planeWidgetZ.TextureInterpolateOff(); planeWidgetZ.SetInteractor(renWin.getIren()); planeWidgetZ.SetPlaneOrientationToZAxes(); planeWidgetZ.SetSliceIndex(46); planeWidgetZ.SetPicker(picker); planeWidgetZ.SetKeyPressActivationValue('z'); planeWidgetZ.GetPlaneProperty().SetColor (0, 0, 1); planeWidgetZ.SetLookupTable(planeWidgetX.GetLookupTable()); planeWidgetZ.On(); //An outline is shown for context. vtkOutlineFilter outline = new vtkOutlineFilter(); outline.SetInput (id); vtkPolyDataMapper outlineMapper = new vtkPolyDataMapper(); outlineMapper.SetInput ( outline.GetOutput() ); vtkActor outlineActor = new vtkActor(); outlineActor.SetMapper(outlineMapper); renWin.GetRenderer().AddActor(outlineActor); //Add the outline actor to the renderer, set the background and size renWin.GetRenderer().GetCullers().RemoveAllItems(); renWin.GetRenderer().SetBackground(0.1, 0.1, 0.2); }
45205 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45205/a498c4a24d08be9a14ecb583bfc09eb98abb52e8/ImagePlaneWidget.java/buggy/Wrapping/Java/ImagePlaneWidget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18893, 751, 12, 11734, 79, 2040, 751, 612, 13, 288, 565, 368, 1986, 5116, 18141, 19808, 584, 358, 999, 890, 31634, 622, 1245, 813, 565, 368, 464, 5571, 326, 6002, 310, 1353, 2145, 565, 13659, 4020, 13194, 18141, 273, 394, 13659, 4020, 13194, 5621, 565, 18141, 18, 694, 22678, 12, 20, 18, 28564, 1769, 565, 368, 1986, 890, 1316, 11017, 10965, 854, 1399, 358, 10695, 326, 3709, 18, 565, 13659, 2040, 19505, 4609, 11017, 4609, 60, 273, 394, 13659, 2040, 19505, 4609, 5621, 565, 11017, 4609, 60, 18, 4236, 1528, 1398, 5621, 565, 11017, 4609, 60, 18, 28299, 12, 350, 1769, 565, 11017, 4609, 60, 18, 694, 2465, 3362, 12, 1187, 18049, 18, 588, 45, 1187, 10663, 565, 11017, 4609, 60, 18, 694, 19505, 14097, 14955, 26494, 5621, 565, 11017, 4609, 60, 18, 694, 5959, 1016, 12, 1578, 1769, 565, 11017, 4609, 60, 18, 694, 13194, 12, 10569, 1769, 565, 11017, 4609, 60, 18, 30267, 11840, 14857, 620, 2668, 92, 8284, 565, 11017, 4609, 60, 18, 967, 19505, 1396, 7675, 694, 2957, 12, 21, 16, 374, 16, 374, 1769, 565, 11017, 4609, 60, 18, 1398, 5621, 565, 13659, 2040, 19505, 4609, 11017, 4609, 61, 273, 394, 13659, 2040, 19505, 4609, 5621, 565, 11017, 4609, 61, 18, 4236, 1528, 1398, 5621, 565, 11017, 4609, 61, 18, 28299, 12, 350, 1769, 565, 11017, 4609, 61, 18, 694, 2465, 3362, 12, 1187, 18049, 18, 588, 45, 1187, 10663, 565, 11017, 4609, 61, 18, 694, 19505, 14097, 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, 282, 1071, 918, 18893, 751, 12, 11734, 79, 2040, 751, 612, 13, 288, 565, 368, 1986, 5116, 18141, 19808, 584, 358, 999, 890, 31634, 622, 1245, 813, 565, 368, 464, 5571, 326, 6002, 310, 1353, 2145, 565, 13659, 4020, 13194, 18141, 273, 394, 13659, 4020, 13194, 5621, 565, 18141, 18, 694, 22678, 12, 20, 18, 28564, 1769, 565, 368, 1986, 890, 1316, 11017, 10965, 854, 1399, 358, 10695, 326, 3709, 18, 565, 13659, 2040, 19505, 4609, 11017, 4609, 60, 273, 394, 13659, 2040, 19505, 4609, 5621, 565, 11017, 4609, 60, 18, 4236, 1528, 1398, 5621, 565, 11017, 4609, 60, 18, 28299, 12, 350, 1769, 565, 11017, 4609, 60, 18, 694, 2465, 3362, 12, 1187, 18049, 18, 588, 45, 1187, 2 ]
File ttDir = new File(localDir, Integer.toString(taskTrackerPort));
String mapredDir = ""; File ttDir = new File(localDir, Integer.toString(taskTrackerPort) + "_" + 0);
public void run() { try { JobConf jc = new JobConf(); jc.set("fs.name.node", namenode); jc.set("mapred.job.tracker", "localhost:"+jobTrackerPort); // this timeout seems to control the minimum time for the test, so // set it down at 2 seconds. jc.setInt("ipc.client.timeout", 1000); jc.setInt("mapred.task.tracker.info.port", taskTrackerPort++); jc.setInt("mapred.task.tracker.report.port", taskTrackerPort++); File localDir = new File(jc.get("mapred.local.dir")); File ttDir = new File(localDir, Integer.toString(taskTrackerPort)); ttDir.mkdirs(); this.localDir = ttDir.getAbsolutePath(); jc.set("mapred.local.dir", ttDir.getAbsolutePath()); tt = new TaskTracker(jc); isInitialized = true; tt.run(); } catch (Throwable e) { isDead = true; tt = null; System.err.println("Task tracker crashed:"); e.printStackTrace(); } }
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/f275441011ba314856e2f75dc39fb3be3c074603/MiniMRCluster.java/clean/src/test/org/apache/hadoop/mapred/MiniMRCluster.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 775, 288, 7734, 3956, 3976, 19807, 273, 394, 3956, 3976, 5621, 7734, 19807, 18, 542, 2932, 2556, 18, 529, 18, 2159, 3113, 15135, 20680, 1769, 7734, 19807, 18, 542, 2932, 1458, 1118, 18, 4688, 18, 16543, 3113, 315, 13014, 2773, 15, 4688, 8135, 2617, 1769, 7734, 368, 333, 2021, 12001, 358, 3325, 326, 5224, 813, 364, 326, 1842, 16, 1427, 7734, 368, 444, 518, 2588, 622, 576, 3974, 18, 7734, 19807, 18, 542, 1702, 2932, 625, 71, 18, 2625, 18, 4538, 3113, 4336, 1769, 7734, 19807, 18, 542, 1702, 2932, 1458, 1118, 18, 4146, 18, 16543, 18, 1376, 18, 655, 3113, 1562, 8135, 2617, 9904, 1769, 7734, 19807, 18, 542, 1702, 2932, 1458, 1118, 18, 4146, 18, 16543, 18, 6006, 18, 655, 3113, 1562, 8135, 2617, 9904, 1769, 7734, 1387, 1191, 1621, 273, 394, 1387, 12, 78, 71, 18, 588, 2932, 1458, 1118, 18, 3729, 18, 1214, 7923, 1769, 7734, 514, 852, 1118, 1621, 273, 1408, 31, 1387, 3574, 1621, 273, 394, 1387, 12, 3729, 1621, 16, 2144, 18, 10492, 12, 4146, 8135, 2617, 13, 397, 8802, 397, 374, 1769, 7734, 3574, 1621, 18, 24816, 8291, 5621, 7734, 333, 18, 3729, 1621, 273, 3574, 1621, 18, 588, 10368, 743, 5621, 7734, 19807, 18, 542, 2932, 1458, 1118, 18, 3729, 18, 1214, 3113, 3574, 1621, 18, 588, 10368, 743, 10663, 7734, 3574, 273, 394, 3837, 8135, 12, 78, 71, 1769, 7734, 25359, 273, 638, 31, 7734, 3574, 18, 2681, 5621, 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, 540, 1071, 918, 1086, 1435, 288, 5411, 775, 288, 7734, 3956, 3976, 19807, 273, 394, 3956, 3976, 5621, 7734, 19807, 18, 542, 2932, 2556, 18, 529, 18, 2159, 3113, 15135, 20680, 1769, 7734, 19807, 18, 542, 2932, 1458, 1118, 18, 4688, 18, 16543, 3113, 315, 13014, 2773, 15, 4688, 8135, 2617, 1769, 7734, 368, 333, 2021, 12001, 358, 3325, 326, 5224, 813, 364, 326, 1842, 16, 1427, 7734, 368, 444, 518, 2588, 622, 576, 3974, 18, 7734, 19807, 18, 542, 1702, 2932, 625, 71, 18, 2625, 18, 4538, 3113, 4336, 1769, 7734, 19807, 18, 542, 1702, 2932, 1458, 1118, 18, 4146, 18, 16543, 18, 1376, 18, 655, 3113, 1562, 8135, 2617, 9904, 1769, 7734, 19807, 18, 542, 1702, 2932, 2 ]
if (logger.isDebugEnabled()) { logger.debug("P2P node manager is running at " + this.p2pServiceNode.getNodeInformation().getURL()); try { logger.debug("ProActiveRuntime at " + this.proactiveRuntime.getURL()); } catch (ProActiveException e1) { logger.debug("Coudln't get the ProActiveRuntime URL", e1); }
logger.debug("P2P node manager is running at " + this.p2pServiceNode.getNodeInformation().getURL()); try { logger.debug("ProActiveRuntime at " + this.proactiveRuntime.getURL()); } catch (ProActiveException e1) { logger.debug("Coudln't get the ProActiveRuntime URL", e1);
public void initActivity(Body body) { if (logger.isDebugEnabled()) { logger.debug("Entering initActivity"); } try { // Getting reference to the P2P node this.p2pServiceNode = NodeFactory.getNode(body.getNodeURL()); // Getting ProActive runtime this.proactiveRuntime = this.p2pServiceNode.getProActiveRuntime(); } catch (NodeException e) { logger.fatal("Couldn't get reference to the local p2pServiceNode", e); } if (logger.isDebugEnabled()) { logger.debug("P2P node manager is running at " + this.p2pServiceNode.getNodeInformation().getURL()); try { logger.debug("ProActiveRuntime at " + this.proactiveRuntime.getURL()); } catch (ProActiveException e1) { logger.debug("Coudln't get the ProActiveRuntime URL", e1); } } // Creating default shared node this.deployingDefaultSharedNodes(); if (logger.isDebugEnabled()) { logger.debug("Exiting initActivity"); } }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/1279458d52679339839158611daec34b4baf800a/P2PNodeManager.java/clean/src/org/objectweb/proactive/p2p/service/node/P2PNodeManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 6193, 12, 2250, 1417, 13, 288, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 2932, 10237, 310, 1208, 6193, 8863, 3639, 289, 3639, 775, 288, 5411, 368, 26602, 2114, 358, 326, 453, 22, 52, 756, 5411, 333, 18, 84, 22, 84, 1179, 907, 273, 2029, 1733, 18, 588, 907, 12, 3432, 18, 588, 907, 1785, 10663, 5411, 368, 26602, 1186, 3896, 3099, 5411, 333, 18, 685, 3535, 5576, 273, 333, 18, 84, 22, 84, 1179, 907, 18, 588, 626, 3896, 5576, 5621, 3639, 289, 1044, 261, 907, 503, 425, 13, 288, 5411, 1194, 18, 30709, 2932, 16342, 1404, 336, 2114, 358, 326, 1191, 293, 22, 84, 1179, 907, 3113, 425, 1769, 3639, 289, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 2932, 52, 22, 52, 756, 3301, 353, 3549, 622, 315, 397, 7734, 333, 18, 84, 22, 84, 1179, 907, 18, 588, 907, 5369, 7675, 588, 1785, 10663, 5411, 775, 288, 7734, 1194, 18, 4148, 2932, 626, 3896, 5576, 622, 315, 397, 10792, 333, 18, 685, 3535, 5576, 18, 588, 1785, 10663, 5411, 289, 1044, 261, 626, 3896, 503, 425, 21, 13, 288, 7734, 1194, 18, 4148, 2932, 4249, 1100, 2370, 1404, 336, 326, 1186, 3896, 5576, 1976, 3113, 425, 21, 1769, 5411, 289, 3639, 289, 3639, 368, 21837, 805, 5116, 756, 3639, 333, 18, 12411, 310, 1868, 7887, 3205, 5621, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 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, 1208, 6193, 12, 2250, 1417, 13, 288, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 2932, 10237, 310, 1208, 6193, 8863, 3639, 289, 3639, 775, 288, 5411, 368, 26602, 2114, 358, 326, 453, 22, 52, 756, 5411, 333, 18, 84, 22, 84, 1179, 907, 273, 2029, 1733, 18, 588, 907, 12, 3432, 18, 588, 907, 1785, 10663, 5411, 368, 26602, 1186, 3896, 3099, 5411, 333, 18, 685, 3535, 5576, 273, 333, 18, 84, 22, 84, 1179, 907, 18, 588, 626, 3896, 5576, 5621, 3639, 289, 1044, 261, 907, 503, 425, 13, 288, 5411, 1194, 18, 30709, 2932, 16342, 1404, 336, 2114, 358, 326, 1191, 293, 22, 84, 1179, 907, 3113, 2 ]
case 'E': if ( errorMessage == null ) errorMessage = new StringBuffer(); errorMessage.append(stream.ReceiveString(conn.getEncoding())); break; case 'N': conn.addWarning(stream.ReceiveString(conn.getEncoding())); break;
case 'V': int l_nextChar = stream.ReceiveChar(); if (l_nextChar == 'G') { int sz = stream.ReceiveIntegerR(4); if (resulttype) result = new Integer(stream.ReceiveIntegerR(sz)); else { byte buf[] = new byte[sz]; stream.Receive(buf, 0, sz); result = buf; } int l_endChar = stream.ReceiveChar(); } else { } break;
public Object fastpath(int fnid, boolean resulttype, FastpathArg[] args) throws SQLException { // added Oct 7 1998 to give us thread safety synchronized (stream) { // send the function call try { // 70 is 'F' in ASCII. Note: don't use SendChar() here as it adds padding // that confuses the backend. The 0 terminates the command line. stream.SendInteger(70, 1); stream.SendInteger(0, 1); stream.SendInteger(fnid, 4); stream.SendInteger(args.length, 4); for (int i = 0;i < args.length;i++) args[i].send(stream); // This is needed, otherwise data can be lost stream.flush(); } catch (IOException ioe) { throw new PSQLException("postgresql.fp.send", new Integer(fnid), ioe); } // Now handle the result // We should get 'V' on sucess or 'E' on error. Anything else is treated // as an error. //int in = stream.ReceiveChar(); //DriverManager.println("ReceiveChar() = "+in+" '"+((char)in)+"'"); //if (in!='V') { //if (in=='E') //throw new SQLException(stream.ReceiveString(conn.getEncoding())); //throw new SQLException("Fastpath: expected 'V' from backend, got "+((char)in)); //} // Now loop, reading the results Object result = null; // our result StringBuffer errorMessage = null; boolean loop = true; while (loop) { int in = stream.ReceiveChar(); //DriverManager.println("ReceiveChar() = "+in+" '"+((char)in)+"'"); switch (in) { case 'V': break; //------------------------------ // Function returned properly // case 'G': int sz = stream.ReceiveIntegerR(4); //DriverManager.println("G: size="+sz); //debug // Return an Integer if if (resulttype) result = new Integer(stream.ReceiveIntegerR(sz)); else { byte buf[] = new byte[sz]; stream.Receive(buf, 0, sz); result = buf; } break; //------------------------------ // Error message returned case 'E': if ( errorMessage == null ) errorMessage = new StringBuffer(); errorMessage.append(stream.ReceiveString(conn.getEncoding())); break; //------------------------------ // Notice from backend case 'N': conn.addWarning(stream.ReceiveString(conn.getEncoding())); break; //------------------------------ // End of results // // Here we simply return res, which would contain the result // processed earlier. If no result, this already contains null case '0': //DriverManager.println("returning "+result); // return result; break; case 'Z': // cause the loop to exit loop = false; break; default: throw new PSQLException("postgresql.fp.protocol", new Character((char)in)); } } if ( errorMessage != null ) throw new PSQLException("postgresql.fp.error", errorMessage.toString()); return result; } }
11803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11803/ef7d7910745cf2812007668138eaaf0a8e1d8d99/Fastpath.java/buggy/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 14469, 12, 474, 2295, 350, 16, 1250, 563, 723, 16, 9545, 803, 4117, 8526, 833, 13, 1216, 6483, 202, 95, 202, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 202, 202, 22043, 261, 3256, 13, 202, 202, 95, 1082, 202, 759, 1366, 326, 445, 745, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 16647, 353, 296, 42, 11, 316, 11768, 18, 3609, 30, 2727, 1404, 999, 2479, 2156, 1435, 2674, 487, 518, 4831, 4992, 9506, 202, 759, 716, 2195, 6117, 326, 4221, 18, 1021, 374, 30559, 326, 1296, 980, 18, 9506, 202, 3256, 18, 3826, 4522, 12, 7301, 16, 404, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 20, 16, 404, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 4293, 350, 16, 1059, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 1968, 18, 2469, 16, 1059, 1769, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 77, 411, 833, 18, 2469, 31, 77, 27245, 6862, 202, 1968, 63, 77, 8009, 4661, 12, 3256, 1769, 9506, 202, 759, 1220, 353, 3577, 16, 3541, 501, 848, 506, 13557, 9506, 202, 3256, 18, 11330, 5621, 1082, 202, 97, 1082, 202, 14683, 261, 14106, 10847, 13, 1082, 202, 95, 9506, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 7944, 18, 4661, 3113, 394, 2144, 12, 4293, 350, 3631, 10847, 1769, 1082, 202, 97, 1082, 202, 759, 4494, 1640, 326, 563, 1082, 202, 759, 1660, 1410, 336, 296, 58, 11, 603, 1597, 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, 1033, 14469, 12, 474, 2295, 350, 16, 1250, 563, 723, 16, 9545, 803, 4117, 8526, 833, 13, 1216, 6483, 202, 95, 202, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 202, 202, 22043, 261, 3256, 13, 202, 202, 95, 1082, 202, 759, 1366, 326, 445, 745, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 16647, 353, 296, 42, 11, 316, 11768, 18, 3609, 30, 2727, 1404, 999, 2479, 2156, 1435, 2674, 487, 518, 4831, 4992, 9506, 202, 759, 716, 2195, 6117, 326, 4221, 18, 1021, 374, 30559, 326, 1296, 980, 18, 9506, 202, 3256, 18, 3826, 4522, 12, 7301, 16, 404, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 20, 16, 2 ]
}catch (Exception ex){ ; }
}catch (Exception ex){}
public String process (ProcessingClient client){ String retValue = ""; String host = "localhost"; int port = 0; int oPort = 0; boolean found = false; InetAddress inet = null; ServerSocket socket = null; try{ if (client.getNumFields()>1){ host = client.getFieldContents(0); oPort = Integer.parseInt(client.getFieldContents(1)); }else{ oPort = Integer.parseInt(client.getFieldContents(0)); } }catch (Exception ex){ return getReturnValue(client, null, null); } port = oPort; while (!found){ try{ inet = InetAddress.getByName(host); socket = new ServerSocket(port, 0, inet); if (socket.getLocalPort() > 0){ found = true; retValue = getReturnValue(client, null, String.valueOf(port)); }else{ port++; } }catch (java.net.BindException ex){ port++; }catch (Exception ex){ return getReturnValue(client, null, null); }finally{ try{ socket.close(); }catch (Exception ex){ ; } } } return retValue; }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/08ecc635ba8049aeb419722893f373a4a7f99a77/PortProcessor.java/buggy/src/lib/com/izforge/izpack/util/PortProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1207, 261, 7798, 1227, 1004, 15329, 202, 202, 780, 21236, 273, 1408, 31, 202, 202, 780, 1479, 273, 315, 13014, 14432, 202, 202, 474, 1756, 273, 374, 31, 202, 202, 474, 320, 2617, 273, 374, 31, 202, 202, 6494, 1392, 273, 629, 31, 202, 202, 382, 278, 1887, 17661, 273, 446, 31, 202, 202, 2081, 4534, 2987, 273, 446, 31, 25083, 202, 698, 95, 1082, 202, 430, 261, 2625, 18, 588, 2578, 2314, 1435, 34, 21, 15329, 9506, 202, 2564, 273, 1004, 18, 588, 974, 6323, 12, 20, 1769, 9506, 202, 83, 2617, 273, 2144, 18, 2670, 1702, 12, 2625, 18, 588, 974, 6323, 12, 21, 10019, 1082, 202, 97, 12107, 95, 9506, 202, 83, 2617, 273, 2144, 18, 2670, 1702, 12, 2625, 18, 588, 974, 6323, 12, 20, 10019, 1082, 202, 97, 202, 202, 97, 14683, 261, 503, 431, 15329, 1082, 202, 2463, 336, 19092, 12, 2625, 16, 446, 16, 446, 1769, 202, 202, 97, 9506, 202, 655, 273, 320, 2617, 31, 202, 202, 17523, 16051, 7015, 15329, 1082, 202, 698, 95, 9506, 202, 23864, 273, 14218, 18, 588, 5911, 12, 2564, 1769, 9506, 202, 7814, 273, 394, 3224, 4534, 12, 655, 16, 374, 16, 17661, 1769, 9506, 202, 430, 261, 7814, 18, 588, 2042, 2617, 1435, 405, 374, 15329, 6862, 202, 7015, 273, 638, 31, 6862, 202, 1349, 620, 273, 336, 19092, 12, 2625, 16, 446, 16, 514, 18, 1132, 951, 12, 655, 10019, 9506, 202, 97, 12107, 95, 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, 482, 514, 1207, 261, 7798, 1227, 1004, 15329, 202, 202, 780, 21236, 273, 1408, 31, 202, 202, 780, 1479, 273, 315, 13014, 14432, 202, 202, 474, 1756, 273, 374, 31, 202, 202, 474, 320, 2617, 273, 374, 31, 202, 202, 6494, 1392, 273, 629, 31, 202, 202, 382, 278, 1887, 17661, 273, 446, 31, 202, 202, 2081, 4534, 2987, 273, 446, 31, 25083, 202, 698, 95, 1082, 202, 430, 261, 2625, 18, 588, 2578, 2314, 1435, 34, 21, 15329, 9506, 202, 2564, 273, 1004, 18, 588, 974, 6323, 12, 20, 1769, 9506, 202, 83, 2617, 273, 2144, 18, 2670, 1702, 12, 2625, 18, 588, 974, 6323, 12, 21, 10019, 1082, 202, 97, 12107, 95, 9506, 202, 83, 2 ]
public String getGroupDisplayName() {
public String getGroupDisplayName(){
public String getGroupDisplayName() { return GroupNames.IMPORTS_GROUP_NAME; }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/d6e7604c0e820eb6080db33dc4f7b731664f07e9/UnusedImportInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/imports/UnusedImportInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11751, 20524, 1435, 95, 3639, 327, 3756, 1557, 18, 20445, 55, 67, 8468, 67, 1985, 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,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, 327, 3756, 1557, 18, 20445, 55, 67, 8468, 67, 1985, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
showThread.sleep(1000);
showThread.sleep(2000);
private void refreshLoop() { while (true) { /* try { wait(); } catch (InterruptedException e) {} */ if (recreate) { // Regenerate surface if recreate is true, then display if (topo) topoMap.drawMap(centerCoords); else { if (useUSGSMap) usgsMap.drawMap(centerCoords); else surfMap.drawMap(centerCoords); } recreate = false; repaint(); } else { // Pause for 1000 milliseconds between display refreshs try { showThread.sleep(1000); } catch (InterruptedException e) {} repaint(); } } }
49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/ece21a1044a057aa5242e5529a35ef068426e03d/MapDisplay.java/clean/org/mars_sim/msp/ui/standard/MapDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4460, 6452, 1435, 288, 3639, 1323, 261, 3767, 13, 288, 5411, 1748, 5411, 775, 288, 2529, 5621, 289, 2398, 1044, 261, 24485, 503, 425, 13, 2618, 5411, 1195, 5411, 309, 261, 266, 2640, 13, 288, 7734, 368, 2526, 14681, 9034, 309, 23052, 353, 638, 16, 1508, 2562, 7734, 309, 261, 3669, 83, 13, 17671, 863, 18, 9446, 863, 12, 5693, 13089, 1769, 7734, 469, 288, 1171, 202, 430, 261, 1202, 3378, 16113, 863, 13, 584, 564, 863, 18, 9446, 863, 12, 5693, 13089, 1769, 1171, 202, 12107, 22253, 863, 18, 9446, 863, 12, 5693, 13089, 1769, 7734, 289, 7734, 23052, 273, 629, 31, 7734, 24962, 5621, 5411, 289, 469, 288, 7734, 368, 31357, 364, 4336, 10993, 3086, 2562, 4460, 87, 7734, 775, 288, 10792, 2405, 3830, 18, 19607, 12, 17172, 1769, 7734, 289, 1044, 261, 24485, 503, 425, 13, 2618, 7734, 24962, 5621, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4460, 6452, 1435, 288, 3639, 1323, 261, 3767, 13, 288, 5411, 1748, 5411, 775, 288, 2529, 5621, 289, 2398, 1044, 261, 24485, 503, 425, 13, 2618, 5411, 1195, 5411, 309, 261, 266, 2640, 13, 288, 7734, 368, 2526, 14681, 9034, 309, 23052, 353, 638, 16, 1508, 2562, 7734, 309, 261, 3669, 83, 13, 17671, 863, 18, 9446, 863, 12, 5693, 13089, 1769, 7734, 469, 288, 1171, 202, 430, 261, 1202, 3378, 16113, 863, 13, 584, 564, 863, 18, 9446, 863, 12, 5693, 13089, 1769, 1171, 202, 12107, 22253, 863, 18, 9446, 863, 12, 5693, 13089, 1769, 7734, 289, 7734, 23052, 273, 629, 31, 7734, 24962, 5621, 5411, 289, 469, 288, 7734, 368, 31357, 364, 4336, 10993, 2 ]
protected abstract Set extractMojoDescriptors( Map scriptFilesKeyedByBasedir ) throws Exception;
protected abstract Set extractMojoDescriptors( Map scriptFilesKeyedByBasedir, PluginDescriptor pluginDescriptor ) throws PluginToolsException;
protected abstract Set extractMojoDescriptors( Map scriptFilesKeyedByBasedir ) throws Exception;
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/24c6328ad361f8e709e2b3fddefd9cde220a0628/AbstractScriptedMojoDescriptorExtractor.java/clean/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/extractor/AbstractScriptedMojoDescriptorExtractor.java
[ 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8770, 1000, 2608, 49, 10007, 12705, 12, 1635, 2728, 2697, 653, 18696, 2171, 1214, 262, 3639, 1216, 1185, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SwingUtilities.invokeLater( new Runnable(){ public void run(){ start(); }});
SwingUtilities.invokeAndWait(new Runnable(){ public void run(){ sleepTime = minRunTime - (System.currentTimeMillis()-startTime); }});
SwingUtilities.invokeLater( new Runnable(){ public void run(){ start(); }});
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/9e12f8ab70779c1be52e1da54162499f573dad55/InfiniteProgressJComponent.java/buggy/gui/main/com/metavize/gui/util/InfiniteProgressJComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6050, 310, 11864, 18, 14407, 20607, 12, 394, 10254, 1435, 95, 1071, 918, 1086, 1435, 95, 202, 565, 787, 5621, 202, 9090, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6050, 310, 11864, 18, 14407, 20607, 12, 394, 10254, 1435, 95, 1071, 918, 1086, 1435, 95, 202, 565, 787, 5621, 202, 9090, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
RolapLevel level, RolapMember startMember, RolapMember endMember, List list) { Util.assertPrecondition(startMember != null, "startMember != null"); Util.assertPrecondition(endMember != null, "endMember != null"); Util.assertPrecondition(startMember.getLevel() == endMember.getLevel(), "startMember.getLevel() == endMember.getLevel()"); for (int i = startMember.ordinal; i <= endMember.ordinal; i++) { if (members[i].getLevel() == endMember.getLevel()) { list.add(members[i]); } } }
RolapLevel level, RolapMember startMember, RolapMember endMember, List list) { Util.assertPrecondition(startMember != null, "startMember != null"); Util.assertPrecondition(endMember != null, "endMember != null"); Util.assertPrecondition(startMember.getLevel() == endMember.getLevel(), "startMember.getLevel() == endMember.getLevel()"); for (int i = startMember.ordinal; i <= endMember.ordinal; i++) { if (members[i].getLevel() == endMember.getLevel()) { list.add(members[i]); } } }
public void getMemberRange( RolapLevel level, RolapMember startMember, RolapMember endMember, List list) { Util.assertPrecondition(startMember != null, "startMember != null"); Util.assertPrecondition(endMember != null, "endMember != null"); Util.assertPrecondition(startMember.getLevel() == endMember.getLevel(), "startMember.getLevel() == endMember.getLevel()"); for (int i = startMember.ordinal; i <= endMember.ordinal; i++) { if (members[i].getLevel() == endMember.getLevel()) { list.add(members[i]); } } }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/CacheMemberReader.java/clean/src/main/mondrian/rolap/CacheMemberReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18925, 2655, 12, 1082, 202, 4984, 438, 2355, 1801, 16, 11714, 438, 4419, 787, 4419, 16, 11714, 438, 4419, 679, 4419, 16, 1082, 202, 682, 666, 13, 288, 202, 202, 1304, 18, 11231, 1386, 4175, 12, 1937, 4419, 480, 446, 16, 315, 1937, 4419, 480, 446, 8863, 202, 202, 1304, 18, 11231, 1386, 4175, 12, 409, 4419, 480, 446, 16, 315, 409, 4419, 480, 446, 8863, 202, 202, 1304, 18, 11231, 1386, 4175, 12, 1937, 4419, 18, 588, 2355, 1435, 422, 679, 4419, 18, 588, 2355, 9334, 9506, 202, 6, 1937, 4419, 18, 588, 2355, 1435, 422, 679, 4419, 18, 588, 2355, 1435, 8863, 202, 202, 1884, 261, 474, 277, 273, 787, 4419, 18, 517, 1490, 31, 277, 1648, 679, 4419, 18, 517, 1490, 31, 277, 27245, 288, 1082, 202, 430, 261, 7640, 63, 77, 8009, 588, 2355, 1435, 422, 679, 4419, 18, 588, 2355, 10756, 288, 9506, 202, 1098, 18, 1289, 12, 7640, 63, 77, 19226, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18925, 2655, 12, 1082, 202, 4984, 438, 2355, 1801, 16, 11714, 438, 4419, 787, 4419, 16, 11714, 438, 4419, 679, 4419, 16, 1082, 202, 682, 666, 13, 288, 202, 202, 1304, 18, 11231, 1386, 4175, 12, 1937, 4419, 480, 446, 16, 315, 1937, 4419, 480, 446, 8863, 202, 202, 1304, 18, 11231, 1386, 4175, 12, 409, 4419, 480, 446, 16, 315, 409, 4419, 480, 446, 8863, 202, 202, 1304, 18, 11231, 1386, 4175, 12, 1937, 4419, 18, 588, 2355, 1435, 422, 679, 4419, 18, 588, 2355, 9334, 9506, 202, 6, 1937, 4419, 18, 588, 2355, 1435, 422, 679, 4419, 18, 588, 2355, 1435, 8863, 202, 202, 1884, 261, 474, 277, 273, 787, 4419, 18, 517, 2 ]
arg1 = XDataType.getTypeOf(arg2).cast(arg1); */
arg1 = str;
public static boolean atomicCompare(int flags, Object arg1, Object arg2, NamedCollator collator) { if (arg1 instanceof Number || arg2 instanceof Number) { if (arg1 instanceof UntypedAtomic) { String str = arg1.toString(); if (arg2 instanceof DateTime) arg1 = DateTime.parse(str, ((DateTime) arg2).components()); else if (arg2 instanceof Duration) arg1 = Duration.parse(str, ((Duration) arg2).unit()); else arg1 = new DFloNum(str); } if (arg2 instanceof UntypedAtomic) { String str = arg2.toString(); if (arg1 instanceof DateTime) arg2 = DateTime.parse(str, ((DateTime) arg1).components()); else if (arg1 instanceof Duration) arg2 = Duration.parse(str, ((Duration) arg1).unit()); else arg2 = new DFloNum(str); } int code = NumberCompare.compare(arg1, arg2, false); if (code == -3) throw new IllegalArgumentException("values cannot be compared"); return NumberCompare.checkCompareCode(code, flags); } if (arg1 instanceof UntypedAtomic) { if (arg2 instanceof String || arg2 instanceof UntypedAtomic) arg1 = arg1.toString(); /* else arg1 = XDataType.getTypeOf(arg2).cast(arg1); */ } if (arg2 instanceof UntypedAtomic) { if (arg1 instanceof String || arg1 instanceof UntypedAtomic) arg2 = arg2.toString(); /* else arg2 = XDataType.getTypeOf(arg1).cast(arg2); */ } int comp; if (arg1 instanceof Symbol && arg2 instanceof Symbol) comp = arg1.equals(arg2) ? 0 : -3; else { String str1 = arg1.toString(); String str2 = arg2.toString(); /* #ifdef JAVA2 */ if (collator != null) comp = collator.compare(str1, str2); else /* #endif */ comp = str1.compareTo(str2); } if (comp < 0) return (flags & TRUE_IF_LSS+TRUE_IF_NEQ) != 0; else if (comp > 0) return (flags & TRUE_IF_GRT+TRUE_IF_NEQ) != 0; else return (flags & TRUE_IF_EQU) != 0; }
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/e4e0f7f794bad804eb285b231d9547683d5ea201/Compare.java/clean/gnu/xquery/util/Compare.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 7960, 8583, 12, 474, 2943, 16, 1033, 1501, 21, 16, 1033, 1501, 22, 16, 4766, 1377, 9796, 13535, 639, 4508, 639, 13, 225, 288, 565, 309, 261, 3175, 21, 1276, 3588, 747, 1501, 22, 1276, 3588, 13, 1377, 288, 202, 430, 261, 3175, 21, 1276, 23931, 6140, 23102, 13, 1850, 288, 5411, 514, 609, 273, 1501, 21, 18, 10492, 5621, 5411, 309, 261, 3175, 22, 1276, 3716, 13, 2868, 1501, 21, 273, 3716, 18, 2670, 12, 701, 16, 14015, 5096, 13, 1501, 22, 2934, 8119, 10663, 5411, 469, 309, 261, 3175, 22, 1276, 4822, 13, 2868, 1501, 21, 273, 4822, 18, 2670, 12, 701, 16, 14015, 5326, 13, 1501, 22, 2934, 4873, 10663, 5411, 469, 2868, 1501, 21, 273, 394, 463, 42, 383, 2578, 12, 701, 1769, 1850, 289, 202, 430, 261, 3175, 22, 1276, 23931, 6140, 23102, 13, 1850, 288, 5411, 514, 609, 273, 1501, 22, 18, 10492, 5621, 5411, 309, 261, 3175, 21, 1276, 3716, 13, 2868, 1501, 22, 273, 3716, 18, 2670, 12, 701, 16, 14015, 5096, 13, 1501, 21, 2934, 8119, 10663, 5411, 469, 309, 261, 3175, 21, 1276, 4822, 13, 2868, 1501, 22, 273, 4822, 18, 2670, 12, 701, 16, 14015, 5326, 13, 1501, 21, 2934, 4873, 10663, 5411, 469, 2868, 1501, 22, 273, 394, 463, 42, 383, 2578, 12, 701, 1769, 1850, 289, 3639, 509, 981, 273, 3588, 8583, 18, 9877, 12, 3175, 21, 16, 1501, 22, 16, 629, 1769, 3639, 309, 261, 710, 422, 300, 23, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 7960, 8583, 12, 474, 2943, 16, 1033, 1501, 21, 16, 1033, 1501, 22, 16, 4766, 1377, 9796, 13535, 639, 4508, 639, 13, 225, 288, 565, 309, 261, 3175, 21, 1276, 3588, 747, 1501, 22, 1276, 3588, 13, 1377, 288, 202, 430, 261, 3175, 21, 1276, 23931, 6140, 23102, 13, 1850, 288, 5411, 514, 609, 273, 1501, 21, 18, 10492, 5621, 5411, 309, 261, 3175, 22, 1276, 3716, 13, 2868, 1501, 21, 273, 3716, 18, 2670, 12, 701, 16, 14015, 5096, 13, 1501, 22, 2934, 8119, 10663, 5411, 469, 309, 261, 3175, 22, 1276, 4822, 13, 2868, 1501, 21, 273, 4822, 18, 2670, 12, 701, 16, 14015, 5326, 13, 1501, 22, 2934, 4873, 10663, 5411, 469, 2 ]
super(runtime);
super(runtime, null); this.runtime = runtime;
public RubyNil(Ruby runtime) { super(runtime); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyNil.java/buggy/src/org/jruby/RubyNil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 12616, 12, 54, 10340,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 19817, 12616, 12, 54, 10340, 3099, 13, 288, 202, 202, 9565, 12, 9448, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
recv.callMethod("write", RubyString.newString(recv.getRuntime(), "\n"));
recv.callMethod("write", recv.getRuntime().newString("\n"));
public static IRubyObject puts(IRubyObject recv, IRubyObject[] args) { if (args.length == 0) { recv.callMethod("write", RubyString.newString(recv.getRuntime(), "\n")); return recv.getRuntime().getNil(); } for (int i = 0; i < args.length; i++) { String line = null; if (args[i].isNil()) { line = "nil"; } else if (args[i] instanceof RubyArray) { puts(recv, ((RubyArray) args[i]).toJavaArray()); continue; } else { line = args[i].toString(); } recv.callMethod("write", RubyString.newString(recv.getRuntime(), line)); if (!line.endsWith("\n")) { recv.callMethod("write", RubyString.newString(recv.getRuntime(), "\n")); } } return recv.getRuntime().getNil(); }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyIO.java/clean/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 8200, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 10665, 18, 1991, 1305, 2932, 2626, 3113, 10665, 18, 588, 5576, 7675, 2704, 780, 31458, 82, 7923, 1769, 5411, 327, 10665, 18, 588, 5576, 7675, 588, 12616, 5621, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 980, 273, 446, 31, 5411, 309, 261, 1968, 63, 77, 8009, 291, 12616, 10756, 288, 7734, 980, 273, 315, 20154, 14432, 5411, 289, 469, 309, 261, 1968, 63, 77, 65, 1276, 19817, 1076, 13, 288, 7734, 8200, 12, 18334, 16, 14015, 54, 10340, 1076, 13, 833, 63, 77, 65, 2934, 869, 5852, 1076, 10663, 7734, 1324, 31, 5411, 289, 469, 288, 7734, 980, 273, 833, 63, 77, 8009, 10492, 5621, 5411, 289, 5411, 10665, 18, 1991, 1305, 2932, 2626, 3113, 19817, 780, 18, 2704, 780, 12, 18334, 18, 588, 5576, 9334, 980, 10019, 5411, 309, 16051, 1369, 18, 5839, 1190, 31458, 82, 6, 3719, 288, 7734, 10665, 18, 1991, 1305, 2932, 2626, 3113, 10665, 18, 588, 5576, 7675, 2704,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833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 10665, 18, 1991, 1305, 2932, 2626, 3113, 10665, 18, 588, 5576, 7675, 2704, 780, 31458, 82, 7923, 1769, 5411, 327, 10665, 18, 588, 5576, 7675, 588, 12616, 5621, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 980, 273, 446, 31, 5411, 309, 261, 1968, 63, 77, 8009, 291, 12616, 10756, 288, 7734, 980, 273, 315, 20154, 14432, 5411, 289, 469, 309, 261, 1968, 63, 77, 65, 1276, 19817, 1076, 13, 288, 7734, 8200, 12, 18334, 2 ]
try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { }
if ((bool = EvalHelper.evalBoolean("disabled", getDisabledExpr(), this, pageContext)) != null) setDisabled(bool.booleanValue());
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } // The "align" attribute is deprecated. This needs to be removed when // the "align" attribute is finally removed. try { setAlign((String) evalAttr("align", getAlignExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setBorder((String) evalAttr("border", getBorderExpr(), String.class)); } catch (NullAttributeException ex) { } try { setBundle((String) evalAttr("bundle", getBundleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setLocale((String) evalAttr("locale", getLocaleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnchange((String) evalAttr("onchange", getOnchangeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setPage((String) evalAttr("page", getPageExpr(), String.class)); } catch (NullAttributeException ex) { } try { setPageKey((String) evalAttr("pageKey", getPageKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setSrc((String) evalAttr("src", getSrcExpr(), String.class)); } catch (NullAttributeException ex) { } try { setSrcKey((String) evalAttr("srcKey", getSrcKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/022bd23c954cf673e53731849d562b3c295473f1/ELImageTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELImageTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 368, 225, 1021, 315, 7989, 6, 1566, 353, 6849, 18, 225, 1220, 4260, 358, 506, 3723, 1347, 3639, 368, 225, 326, 315, 7989, 6, 1566, 353, 3095, 3723, 18, 3639, 775, 288, 5411, 444, 10044, 12443, 780, 13, 5302, 3843, 2932, 7989, 3113, 336, 10044, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 25715, 12443, 780, 13, 5302, 3843, 2932, 8815, 3113, 2882, 1019, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 3405, 12443, 780, 13, 5302, 3843, 2932, 9991, 3113, 10946, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 368, 225, 1021, 315, 7989, 6, 1566, 353, 6849, 18, 225, 1220, 4260, 358, 506, 3723, 1347, 3639, 368, 225, 326, 315, 7989, 6, 1566, 353, 3095, 3723, 18, 3639, 775, 288, 5411, 444, 10044, 12443, 780, 13, 5302, 3843, 2932, 7989, 3113, 336, 10044, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 2 ]
makeMeasure(factUsage, aggColumn); nosOfMeasureColumns++;
if (aggColumn == null) { aggColumn = aggTable.getColumn(aggFK.toLowerCase()); } if (aggColumn == null) { aggColumn = aggTable.getColumn(aggFK.toUpperCase()); } if (aggColumn != null) { makeMeasure(factUsage, aggColumn); nosOfMeasureColumns++; }
protected int checkMeasures() { msgRecorder.pushContextName("ExplicitRecognizer.checkMeasures"); try { int nosOfMeasureColumns = 0; // Look at each aggregate table column. For each measure defined, // see if the measure's column name equals the column's name. // If so, make the aggregate measure usage for that column. for (Iterator it = aggTable.getColumns(); it.hasNext(); ) { JdbcSchema.Table.Column aggColumn = (JdbcSchema.Table.Column) it.next(); // if marked as ignore, then do not consider if (aggColumn.hasUsage(JdbcSchema.IGNORE_COLUMN_TYPE)) { continue; } String aggColumnName = aggColumn.getName(); for (Iterator mit = getTableDef().getMeasures(); mit.hasNext();) { ExplicitRules.TableDef.Measure measure = (ExplicitRules.TableDef.Measure) mit.next(); if (measure.getColumnName().equals(aggColumnName)) { // Ok, got a match, so now make a measue makeMeasure(measure, aggColumn); nosOfMeasureColumns++; } } } // Ok, now look at all of the fact table columns with measure usage // that have a sibling foreign key usage. These can be automagically // generated for the aggregate table as long as it still has the foreign // key. for (Iterator it = dbFactTable.getColumnUsages(JdbcSchema.MEASURE_COLUMN_TYPE); it.hasNext(); ) { JdbcSchema.Table.Column.Usage factUsage = (JdbcSchema.Table.Column.Usage) it.next(); JdbcSchema.Table.Column factColumn = factUsage.getColumn(); if (factColumn.hasUsage(JdbcSchema.FOREIGN_KEY_COLUMN_TYPE)) { // What we've got here is a measure based upon a foreign key String aggFK = getTableDef().getAggregateFK(factColumn.getName()); // OK, not a lost dimension if (aggFK != null) { JdbcSchema.Table.Column aggColumn = aggTable.getColumn(aggFK); makeMeasure(factUsage, aggColumn); nosOfMeasureColumns++; } } } return nosOfMeasureColumns; } finally { msgRecorder.popContextName(); } }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/51853ff46c857708e401209c75f4dd00dccf130d/ExplicitRecognizer.java/clean/src/main/mondrian/rolap/aggmatcher/ExplicitRecognizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 866, 23177, 1823, 1435, 288, 3639, 1234, 10777, 18, 6206, 1042, 461, 2932, 17186, 28131, 18, 1893, 23177, 1823, 8863, 3639, 775, 288, 3639, 509, 26628, 951, 7197, 3380, 273, 374, 31, 3639, 368, 10176, 622, 1517, 7047, 1014, 1057, 18, 2457, 1517, 6649, 2553, 16, 3639, 368, 2621, 309, 326, 6649, 1807, 1057, 508, 1606, 326, 1057, 1807, 508, 18, 3639, 368, 971, 1427, 16, 1221, 326, 7047, 6649, 4084, 364, 716, 1057, 18, 3639, 364, 261, 3198, 518, 273, 10421, 1388, 18, 588, 3380, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 5411, 24209, 3078, 18, 1388, 18, 1494, 10421, 1494, 273, 7734, 261, 25316, 3078, 18, 1388, 18, 1494, 13, 518, 18, 4285, 5621, 5411, 368, 309, 9350, 487, 2305, 16, 1508, 741, 486, 5260, 5411, 309, 261, 17535, 1494, 18, 5332, 5357, 12, 25316, 3078, 18, 20118, 67, 11009, 67, 2399, 3719, 288, 7734, 1324, 31, 5411, 289, 5411, 514, 10421, 8516, 273, 10421, 1494, 18, 17994, 5621, 5411, 364, 261, 3198, 20310, 273, 5638, 3262, 7675, 588, 23177, 1823, 5621, 20310, 18, 5332, 2134, 5621, 13, 288, 7734, 24321, 4478, 18, 1388, 3262, 18, 7197, 6649, 273, 10792, 261, 17186, 4478, 18, 1388, 3262, 18, 7197, 13, 20310, 18, 4285, 5621, 7734, 309, 261, 10772, 18, 588, 8516, 7675, 14963, 12, 17535, 8516, 3719, 288, 10792, 368, 16154, 16, 2363, 279, 845, 16, 1427, 2037, 1221, 279, 10017, 344, 10792, 1221, 7197, 12, 10772, 16, 10421, 1494, 1769, 10792, 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, 509, 866, 23177, 1823, 1435, 288, 3639, 1234, 10777, 18, 6206, 1042, 461, 2932, 17186, 28131, 18, 1893, 23177, 1823, 8863, 3639, 775, 288, 3639, 509, 26628, 951, 7197, 3380, 273, 374, 31, 3639, 368, 10176, 622, 1517, 7047, 1014, 1057, 18, 2457, 1517, 6649, 2553, 16, 3639, 368, 2621, 309, 326, 6649, 1807, 1057, 508, 1606, 326, 1057, 1807, 508, 18, 3639, 368, 971, 1427, 16, 1221, 326, 7047, 6649, 4084, 364, 716, 1057, 18, 3639, 364, 261, 3198, 518, 273, 10421, 1388, 18, 588, 3380, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 5411, 24209, 3078, 18, 1388, 18, 1494, 10421, 1494, 273, 7734, 261, 25316, 3078, 18, 1388, 18, 1494, 13, 518, 18, 4285, 2 ]
StringBuffer sb = new StringBuffer("item:{");
StringBuilder sb = new StringBuilder("item:{");
private String encodeSequence(Set<ImapMessage> i4set, boolean abbreviateAll) { i4set.remove(null); if (i4set.isEmpty()) return "item:none"; else if (abbreviateAll && isAllMessages(i4set)) return "item:all"; StringBuffer sb = new StringBuffer("item:{"); for (ImapMessage i4msg : i4set) sb.append(sb.length() == 6 ? "" : ",").append(i4msg.id); return sb.append('}').toString(); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/4c89ff9f70777fd0b4b98edb0f794c8e0720288c/ImapHandler.java/buggy/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 2017, 4021, 12, 694, 32, 20827, 1079, 34, 277, 24, 542, 16, 1250, 1223, 7379, 340, 1595, 13, 288, 3639, 277, 24, 542, 18, 4479, 12, 2011, 1769, 3639, 309, 261, 77, 24, 542, 18, 291, 1921, 10756, 5411, 327, 315, 1726, 30, 6102, 14432, 3639, 469, 309, 261, 378, 7379, 340, 1595, 597, 353, 1595, 5058, 12, 77, 24, 542, 3719, 5411, 327, 315, 1726, 30, 454, 14432, 3639, 3225, 2393, 273, 394, 3225, 2932, 1726, 18611, 8863, 3639, 364, 261, 20827, 1079, 277, 24, 3576, 294, 277, 24, 542, 13, 5411, 2393, 18, 6923, 12, 18366, 18, 2469, 1435, 422, 1666, 692, 1408, 294, 5753, 2934, 6923, 12, 77, 24, 3576, 18, 350, 1769, 3639, 327, 2393, 18, 6923, 2668, 1713, 2934, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 514, 2017, 4021, 12, 694, 32, 20827, 1079, 34, 277, 24, 542, 16, 1250, 1223, 7379, 340, 1595, 13, 288, 3639, 277, 24, 542, 18, 4479, 12, 2011, 1769, 3639, 309, 261, 77, 24, 542, 18, 291, 1921, 10756, 5411, 327, 315, 1726, 30, 6102, 14432, 3639, 469, 309, 261, 378, 7379, 340, 1595, 597, 353, 1595, 5058, 12, 77, 24, 542, 3719, 5411, 327, 315, 1726, 30, 454, 14432, 3639, 3225, 2393, 273, 394, 3225, 2932, 1726, 18611, 8863, 3639, 364, 261, 20827, 1079, 277, 24, 3576, 294, 277, 24, 542, 13, 5411, 2393, 18, 6923, 12, 18366, 18, 2469, 1435, 422, 1666, 692, 1408, 294, 5753, 2934, 6923, 12, 77, 24, 3576, 18, 350, 1769, 2 ]
jcrql = "SELECT * FROM * LOCATION /" + TEST_ROOT + "
jcrql = "SELECT * FROM * LOCATION " + TEST_ROOT + "
public void testLikePatternEnd() throws Exception { Node n = testRoot.addNode("node1", NT_UNSTRUCTURED); n.setProperty("value", new String[]{"bli"}); n = testRoot.addNode("node2", NT_UNSTRUCTURED); n.setProperty("value", new String[]{"bla"}); n = testRoot.addNode("node3", NT_UNSTRUCTURED); n.setProperty("value", new String[]{"blub"}); testRoot.save(); String jcrql = "SELECT * FROM * LOCATION /" + TEST_ROOT + "// WHERE value LIKE \"bli\""; Query q = superuser.getWorkspace().getQueryManager().createQuery(jcrql, Query.JCRQL); QueryResult result = q.execute(); checkResult(result, 1); jcrql = "SELECT * FROM * LOCATION /" + TEST_ROOT + "// WHERE value LIKE \"bl?\""; q = superuser.getWorkspace().getQueryManager().createQuery(jcrql, Query.JCRQL); result = q.execute(); checkResult(result, 2); jcrql = "SELECT * FROM * LOCATION /" + TEST_ROOT + "// WHERE value LIKE \"bl*\""; q = superuser.getWorkspace().getQueryManager().createQuery(jcrql, Query.JCRQL); result = q.execute(); checkResult(result, 3); jcrql = "SELECT * FROM * LOCATION /" + TEST_ROOT + "// WHERE value LIKE \"bl_\""; q = superuser.getWorkspace().getQueryManager().createQuery(jcrql, Query.JCRQL); result = q.execute(); checkResult(result, 2); jcrql = "SELECT * FROM * LOCATION /" + TEST_ROOT + "// WHERE value LIKE \"bl%\""; q = superuser.getWorkspace().getQueryManager().createQuery(jcrql, Query.JCRQL); result = q.execute(); checkResult(result, 3); }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/a8e9611452abb1c8c64e644f003af347954188d9/SimpleQueryTest.java/buggy/src/test/org/apache/jackrabbit/test/search/SimpleQueryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8804, 3234, 1638, 1435, 1216, 1185, 288, 3639, 2029, 290, 273, 1842, 2375, 18, 1289, 907, 2932, 2159, 21, 3113, 20064, 67, 2124, 13915, 4830, 40, 1769, 3639, 290, 18, 542, 1396, 2932, 1132, 3113, 394, 514, 63, 7073, 6, 70, 549, 6, 22938, 3639, 290, 273, 1842, 2375, 18, 1289, 907, 2932, 2159, 22, 3113, 20064, 67, 2124, 13915, 4830, 40, 1769, 3639, 290, 18, 542, 1396, 2932, 1132, 3113, 394, 514, 63, 7073, 6, 3083, 69, 6, 22938, 3639, 290, 273, 1842, 2375, 18, 1289, 907, 2932, 2159, 23, 3113, 20064, 67, 2124, 13915, 4830, 40, 1769, 3639, 290, 18, 542, 1396, 2932, 1132, 3113, 394, 514, 63, 7073, 6, 3083, 373, 6, 22938, 3639, 1842, 2375, 18, 5688, 5621, 3639, 514, 23546, 1217, 273, 315, 4803, 380, 4571, 380, 22960, 342, 6, 397, 22130, 67, 9185, 397, 16177, 4852, 460, 13161, 1239, 70, 549, 8530, 31, 3639, 2770, 1043, 273, 2240, 1355, 18, 588, 8241, 7675, 588, 1138, 1318, 7675, 2640, 1138, 12, 78, 3353, 1217, 16, 2770, 18, 46, 5093, 2024, 1769, 3639, 25778, 563, 273, 1043, 18, 8837, 5621, 3639, 27627, 12, 2088, 16, 404, 1769, 3639, 23546, 1217, 273, 315, 4803, 380, 4571, 380, 22960, 342, 6, 397, 22130, 67, 9185, 397, 16177, 4852, 460, 13161, 1239, 3083, 35, 8530, 31, 3639, 1043, 273, 2240, 1355, 18, 588, 8241, 7675, 588, 1138, 1318, 7675, 2640, 1138, 12, 78, 3353, 1217, 16, 2770, 18, 46, 5093, 2024, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8804, 3234, 1638, 1435, 1216, 1185, 288, 3639, 2029, 290, 273, 1842, 2375, 18, 1289, 907, 2932, 2159, 21, 3113, 20064, 67, 2124, 13915, 4830, 40, 1769, 3639, 290, 18, 542, 1396, 2932, 1132, 3113, 394, 514, 63, 7073, 6, 70, 549, 6, 22938, 3639, 290, 273, 1842, 2375, 18, 1289, 907, 2932, 2159, 22, 3113, 20064, 67, 2124, 13915, 4830, 40, 1769, 3639, 290, 18, 542, 1396, 2932, 1132, 3113, 394, 514, 63, 7073, 6, 3083, 69, 6, 22938, 3639, 290, 273, 1842, 2375, 18, 1289, 907, 2932, 2159, 23, 3113, 20064, 67, 2124, 13915, 4830, 40, 1769, 3639, 290, 18, 542, 1396, 2932, 1132, 3113, 394, 514, 63, 7073, 6, 3083, 373, 6, 2 ]
}
/* * End of transition queue check. } */ } /* * Transition queuing not supported. *
public void generateCode(PrintStream header, PrintStream source, String srcfileBase) throws ParseException { ListIterator mapIt; ListIterator transIt; ListIterator paramIt; SmcMap map; SmcTransition trans; SmcParameter parameter; String javaState; String separator; int index; LinkedList params; LinkedList prev_params; // Dump out the raw source code, if any. if (_source != null && _source.length () > 0) { source.println (_source + "\n"); } // The context clas contains all the state classes as // inner classes, so generate the context first rather // than last. source.println("public final class " + _context + "Context"); source.println(" extends statemap.FSMContext"); source.println("{"); // Generate the context class' constructor. source.println(" public " + _context + "Context(" + _context + " owner)"); source.println(" {"); source.println(" super();\n"); source.println(" _owner = owner;"); // If transition queuing is being done, then allocate // the queue here. if (Smc.isTransQueue() == true) { source.println(" _trans_queue = new java.util.LinkedList();"); } // The state name "map::state" must be changed to // "map.state". if ((index = _start_state.indexOf("::")) >= 0) { javaState = _start_state.substring(0, index) + "." + _start_state.substring(index + 2); source.println(" setState(" + javaState + ");"); } source.println(" }\n"); // getState() method. source.println(" public " + _context + "State getState()"); source.println(" throws java.lang.NullPointerException"); source.println(" {"); source.println(" if (_state == null)"); source.println(" {"); source.println(" throw(new java.lang.NullPointerException(\"Current state not set\"));"); source.println(" }\n"); source.println(" return((" + _context + "State) _state);"); source.println(" }\n"); // getOwner() method. source.println(" public " + _context + " getOwner()"); source.println(" {"); source.println(" return(_owner);"); source.println(" }\n"); // Generate the default transition methods. // Get the transition list. LinkedList transList = new LinkedList(); for (mapIt = _maps.listIterator(); mapIt.hasNext() == true; ) { map = (SmcMap) mapIt.next(); // Merge the new transitions into the current set. transList = Smc.merge(map.getTransitions(), transList, new Comparator() { public int compare(Object o1, Object o2) { return(((SmcTransition) o1).compareTo((SmcTransition) o2)); } }); } for (transIt = transList.listIterator(); transIt.hasNext() == true; ) { trans = (SmcTransition) transIt.next(); if (trans.getName().compareTo("Default") != 0) { source.print(" public void " + trans.getName() + "("); for (paramIt = trans.getParameters().listIterator(), separator = ""; paramIt.hasNext() == true; separator = ", ") { parameter = (SmcParameter) paramIt.next(); source.print(separator); parameter.generateCode(source); } source.println(")"); source.println(" {"); // If transition queuing, then check if _state // is null. If so, enqueue the transition and its // arguments for later. if (Smc.isTransQueue() == true) { String param_type; source.println(" statemap.FSMContext.TransEntry entry;"); source.println(" String method_name;"); source.println(" Class[] params;"); source.println(" Object[] args;"); source.println(" java.lang.reflect.Method method;\n"); // Add debug message re: this transition being // queued. if (Smc.isDebug() == true) { source.println(" if (_debug_flag == true)"); source.println(" {"); source.println(" System.err.println(\"QUEUED : " + trans.getName() + "\");"); source.println(" }\n"); } source.println(" args = new Object[" + Integer.toString(trans.getParameters().size() + 1) + "];"); source.println(" params = new Class[" + Integer.toString(trans.getParameters().size() + 1) + "];\n"); source.println(" args[0] = this;"); source.println(" params[0] = this.getClass();"); for (paramIt = trans.getParameters().listIterator(), index = 1; paramIt.hasNext() == true; ++index) { parameter = (SmcParameter) paramIt.next(); source.print(" args[" + Integer.toString(index) + "] = "); // Is the argument a Java built-in? If yes, // allocate the corresponding class. // Otherwise, clone the object. param_type = parameter.getType(); if (param_type.compareTo("byte") == 0) { source.println("new Byte(" + parameter.getName() + ")"); } else if (param_type.compareTo("short") == 0) { source.println("new Short(" + parameter.getName() + ");"); } else if (param_type.compareTo("int") == 0) { source.println("new Integer(" + parameter.getName() + ");"); } else if (param_type.compareTo("long") == 0) { source.println("new Long(" + parameter.getName() + ");"); } else if (param_type.compareTo("float") == 0) { source.println("new Float(" + parameter.getName() + ");"); } else if (param_type.compareTo("double") == 0) { source.println("new Double(" + parameter.getName() + ");"); } else if (param_type.compareTo("char") == 0) { source.println("new Character(" + parameter.getName() + ");"); } else if (param_type.compareTo("boolean") == 0) { source.println("new Boolean(" + parameter.getName() + ");"); } else { // This is an object. Save its reference. source.println(parameter.getName() + ";"); } source.println(" params[" + Integer.toString(index) + "] = " + param_type + ".class;"); } // Store away the method name and args. source.println("\n entry = new statemap.FSMContext.TransEntry(\"" + trans.getName() + "\", args, params);"); source.println(" _trans_queue.addLast(entry);\n"); source.println(" if (_state != null)"); source.println(" {"); // Now issue any queued up transitions. source.println(" dispatchTransitions();"); source.println(" }\n"); } else { source.print(" getState()." + trans.getName() + "(this"); for (paramIt = trans.getParameters().listIterator(); paramIt.hasNext() == true; ) { parameter = (SmcParameter) paramIt.next(); source.print(", " + parameter.getName()); } source.println(");"); } source.println(" return;"); source.println(" }\n"); } } if (Smc.isTransQueue() == true) { // The following method invokes queued transitions. source.println(" private void dispatchTransitions()"); source.println(" {"); source.println(" statemap.FSMContext.TransEntry entry;"); source.println(" String method_name;"); source.println(" Class[] params;"); source.println(" Object[] args;"); source.println(" java.lang.reflect.Method method;\n"); source.println(" while(_trans_queue.size() > 0)"); source.println(" {"); source.println(" entry = (statemap.FSMContext.TransEntry) _trans_queue.removeFirst();"); source.println(" method_name = entry.getMethodName();"); source.println(" args = entry.getArgs();"); source.println(" params = entry.getParameters();"); source.println(" try"); source.println(" {"); source.println(" try"); source.println(" {"); source.println(" method ="); source.println(" _state.getClass().getDeclaredMethod(method_name,"); source.println(" params);"); source.println(" }"); source.println(" catch (NoSuchMethodException method_ex)"); source.println(" {"); source.println(" method ="); source.println(" _state.getClass().getSuperclass().getDeclaredMethod(method_name,"); source.println(" params);"); source.println(" }\n"); source.println(" method.invoke(_state, args);"); source.println(" entry.free();"); source.println(" }"); if (Smc.isDebug() == false) { source.println(" catch (Exception jex) {}"); } else { source.println(" catch (Exception jex)"); source.println(" {"); source.println(" if (_debug_flag == true)"); source.println(" {"); source.println(" System.err.println(\"INVOKE ERROR : \" + jex);"); source.println(" }"); source.println(" }"); } source.println(" }"); source.println(" }\n"); } // Declare member data. source.println("// Member data.\n"); source.println(" private " + _context + " _owner;"); // If transition queuing, declare the necessary // data. if (Smc.isTransQueue() == true) { source.println(" private java.util.LinkedList _trans_queue;"); } // Declare the inner state class. source.println("\n protected static abstract class " + _context + "State"); source.println(" extends statemap.State"); source.println(" {"); // Constructor. source.println(" protected " + _context + "State(String name)"); source.println(" {"); source.println(" super(name);"); source.println(" }\n"); source.println(" protected void Entry(" + _context + "Context s) {}"); source.println(" protected void Exit(" + _context + "Context s) {}\n"); for (transIt = transList.listIterator(); transIt.hasNext() == true; ) { trans = (SmcTransition) transIt.next(); source.print(" protected void " + trans.getName() + "(" + _context + "Context s"); for (paramIt = trans.getParameters().listIterator(); paramIt.hasNext() == true; ) { parameter = (SmcParameter) paramIt.next(); source.print(", "); parameter.generateCode(source); } source.println(") {}"); } // End of state class. source.println(" }"); // Have each map print out its source code now. for (mapIt = _maps.listIterator(); mapIt.hasNext(); ) { map = (SmcMap) mapIt.next(); map.generateCode(header, source, _context); } // End of context class. source.println("}\n"); return; }
50995 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50995/57534c3b2864cd1c95a4dbf3a39a9b2eb88ce2c6/SmcParseTreeJava.java/buggy/bin/SmcParseTreeJava.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, 1705, 768, 2171, 13, 3639, 1216, 10616, 565, 288, 3639, 987, 3198, 852, 7193, 31, 3639, 987, 3198, 906, 7193, 31, 3639, 987, 3198, 579, 7193, 31, 3639, 9425, 71, 863, 852, 31, 3639, 9425, 71, 8850, 906, 31, 3639, 9425, 71, 1662, 1569, 31, 3639, 514, 2252, 1119, 31, 3639, 514, 4182, 31, 3639, 509, 770, 31, 3639, 10688, 859, 31, 3639, 10688, 2807, 67, 2010, 31, 3639, 368, 18242, 596, 326, 1831, 1084, 981, 16, 309, 1281, 18, 3639, 309, 261, 67, 3168, 480, 446, 597, 389, 3168, 18, 2469, 1832, 405, 374, 13, 3639, 288, 5411, 1084, 18, 8222, 261, 67, 3168, 397, 1548, 82, 8863, 3639, 1748, 380, 4403, 434, 6007, 2389, 866, 18, 289, 1195, 289, 225, 1748, 380, 16515, 6597, 22370, 486, 3260, 18, 380, 4202, 368, 1021, 819, 23268, 1914, 777, 326, 919, 3318, 487, 3639, 368, 3443, 3318, 16, 1427, 2103, 326, 819, 1122, 9178, 3639, 368, 2353, 1142, 18, 3639, 1084, 18, 8222, 2932, 482, 727, 667, 315, 397, 15604, 389, 2472, 397, 15604, 315, 1042, 8863, 3639, 1084, 18, 8222, 2932, 565, 3231, 919, 1458, 18, 4931, 49, 1042, 8863, 3639, 1084, 18, 8222, 2932, 95, 8863, 3639, 368, 6654, 326, 819, 667, 11, 3885, 18, 3639, 1084, 18, 8222, 2932, 565, 1071, 315, 397, 15604, 389, 2472, 397, 15604, 315, 1042, 2932, 397, 15604, 389, 2472, 397, 15604, 315, 3410, 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, 1705, 768, 2171, 13, 3639, 1216, 10616, 565, 288, 3639, 987, 3198, 852, 7193, 31, 3639, 987, 3198, 906, 7193, 31, 3639, 987, 3198, 579, 7193, 31, 3639, 9425, 71, 863, 852, 31, 3639, 9425, 71, 8850, 906, 31, 3639, 9425, 71, 1662, 1569, 31, 3639, 514, 2252, 1119, 31, 3639, 514, 4182, 31, 3639, 509, 770, 31, 3639, 10688, 859, 31, 3639, 10688, 2807, 67, 2010, 31, 3639, 368, 18242, 596, 326, 1831, 1084, 981, 16, 309, 1281, 18, 3639, 309, 261, 67, 3168, 480, 446, 597, 389, 3168, 18, 2469, 1832, 405, 374, 13, 3639, 288, 5411, 1084, 18, 8222, 261, 2 ]
match(input,42,FOLLOW_42_in_salience882);
match(input,41,FOLLOW_41_in_salience889); if (failed) return d;
public AttributeDescr salience() throws RecognitionException { AttributeDescr d = null; Token loc=null; Token i=null; d = null; try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:527:3: (loc= 'salience' i= INT opt_semicolon ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:527:3: loc= 'salience' i= INT opt_semicolon { loc=(Token)input.LT(1); match(input,42,FOLLOW_42_in_salience882); i=(Token)input.LT(1); match(input,INT,FOLLOW_INT_in_salience886); pushFollow(FOLLOW_opt_semicolon_in_salience888); opt_semicolon(); _fsp--; d = new AttributeDescr( "salience", i.getText() ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/c3437c2488c314384990c4282a547e0f92ca02c2/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 12814, 6254, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 273, 446, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 277, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 25, 5324, 30, 23, 30, 261, 1829, 33, 296, 21982, 6254, 11, 277, 33, 6137, 2153, 67, 12000, 17280, 262, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 25, 5324, 30, 23, 30, 1515, 33, 296, 21982, 6254, 11, 277, 33, 6137, 2153, 67, 12000, 17280, 5411, 288, 5411, 1515, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 9803, 16, 29890, 67, 9803, 67, 267, 67, 21982, 6254, 5482, 29, 1769, 309, 261, 7307, 13, 327, 302, 31, 2398, 277, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 3217, 16, 29890, 67, 3217, 67, 267, 67, 21982, 6254, 28, 5292, 1769, 2398, 10881, 12, 29890, 67, 3838, 67, 12000, 17280, 67, 267, 67, 21982, 6254, 5482, 28, 1769, 5411, 2153, 67, 12000, 17280, 5621, 5411, 389, 10749, 413, 31, 7682, 1082, 202, 72, 273, 394, 3601, 16198, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 12814, 6254, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 273, 446, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 277, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 25, 5324, 30, 23, 30, 261, 1829, 33, 296, 21982, 6254, 11, 277, 33, 6137, 2153, 67, 12000, 17280, 262, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 2 ]