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
if (superClass != null) { return superClass.getAnnouncement();
if (getSuperClass() != null) { return getSuperClass().getAnnouncement();
public String getAnnouncement() { if (announcement == null) { if (superClass != null) { return superClass.getAnnouncement(); } else { // Generate the default announcement string for the Tool String defaultAnnouncement = ManagedMakeMessages.getResourceString(DEFAULT_ANNOUNCEMENT_PREFIX) + WHITESPACE + getName(); // + "(" + getId() + ")"; return defaultAnnouncement; } } return announcement; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0119b876950a205bdddabaad5e05a45b2a4dc387/Tool.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Tool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 23137, 475, 1435, 288, 202, 202, 430, 261, 1072, 8386, 475, 422, 446, 13, 288, 1082, 202, 430, 261, 9565, 797, 480, 446, 13, 288, 9506, 202, 2463, 18846, 18, 588, 23137, 475, 5621, 1082, 202, 97, 469, 288, 9506, 202, 759, 225, 6654, 326, 805, 25199, 533, 364, 326, 13288, 9506, 202, 780, 805, 23137, 475, 273, 10024, 6464, 5058, 18, 588, 1420, 780, 12, 5280, 67, 1258, 3417, 2124, 1441, 3212, 67, 6307, 13, 397, 6862, 202, 20767, 397, 1723, 5621, 225, 368, 397, 12452, 397, 2634, 1435, 397, 7310, 31, 282, 9506, 202, 2463, 805, 23137, 475, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 25199, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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514, 336, 23137, 475, 1435, 288, 202, 202, 430, 261, 1072, 8386, 475, 422, 446, 13, 288, 1082, 202, 430, 261, 9565, 797, 480, 446, 13, 288, 9506, 202, 2463, 18846, 18, 588, 23137, 475, 5621, 1082, 202, 97, 469, 288, 9506, 202, 759, 225, 6654, 326, 805, 25199, 533, 364, 326, 13288, 9506, 202, 780, 805, 23137, 475, 273, 10024, 6464, 5058, 18, 588, 1420, 780, 12, 5280, 67, 1258, 3417, 2124, 1441, 3212, 67, 6307, 13, 397, 6862, 202, 20767, 397, 1723, 5621, 225, 368, 397, 12452, 397, 2634, 1435, 397, 7310, 31, 282, 9506, 202, 2463, 805, 23137, 475, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 25199, 31, 202, 97, 2 ]
updateAgentAction("In:" + entry[i].getKey(), entry[i].getValue());
updateAgentAction("In:" + entry[i].getKey(), entry[i].getValue());
public void receivePolicyMessage(Policy policy, String policyID, String policyName, String policyDescription, String policyScope, String policySubjectID, String policySubjectName, String policyTargetID, String policyTargetName, String policyType) { if(debug) System.out.println("--updating AccessPolicyProxy for:" + agent); if(policy == null) { if (debug) { System.out.println("AccessPolicyProxy: no policy"); } return; } //whom is the policy for? /* if((!policySubjectName.equals(agent)) && (!agent.equals("DEFAULT"))) { if (debug) { System.out.println("policy not for:"+agent + " - Should be for " + policySubjectName); } return; } */ //for each RuleParameter RuleParameter[] ruleParameters = policy.getRuleParameters(); for (int j=0; j < ruleParameters.length; j++) { //for now only process KeyRuleParameter if(!(ruleParameters[j] instanceof KeyRuleParameter)) return; KeyRuleParameter krp = (KeyRuleParameter)ruleParameters[j]; //process rules String name = krp.getName(); String value = (String)krp.getValue(); KeyRuleParameterEntry[] entry = krp.getKeys(); if(name.endsWith("Verb")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) { if(debug) System.out.println("--default out verbs specified for:"+ agent); updateVerb("Out:DEFAULT",value); } for(int i = 0; i < entry.length; i++) { updateVerb("Out:" + entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) { if(debug) System.out.println("--default agentAction specified for:"+ agent); updateVerb("In:DEFAULT", value); } for(int i = 0; i < entry.length; i++) { updateVerb("In:" + entry[i].getKey(), entry[i].getValue()); } } } if(name.endsWith("AgentAction")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) { if(debug) System.out.println("--default agentAction specified for:"+ agent); updateAgentAction("Out:DEFAULT",value); } for(int i = 0; i < entry.length; i++) { updateAgentAction("Out:" + entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) { if(debug) System.out.println("--default agentAction specified for:"+ agent); updateAgentAction("In:DEFAULT", value); } for(int i = 0; i < entry.length; i++) { updateAgentAction("In:" + entry[i].getKey(), entry[i].getValue()); } } } if(name.endsWith("MessageAction")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) if(debug) System.out.println("--default messageAction specified for:"+ agent); for(int i = 0; i < entry.length; i++) { updateAction(":"+entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) if(debug) System.out.println("--default messageAction specified for:"+ agent); for(int i = 0; i < entry.length; i++) { updateAction(entry[i].getKey()+":", entry[i].getValue()); } } } if(name.endsWith("MessageCriticality")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) updateCriticality(":"+"DEFAULT",value); for(int i = 0; i < entry.length; i++) { updateCriticality(":"+entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) updateCriticality("DEFAULT"+":",value); for(int i = 0; i < entry.length; i++) { updateCriticality(entry[i].getKey()+":", entry[i].getValue()); } } } if(name.endsWith("MessageIntegrity")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) updateIntegrity(":"+"DEFAULT",value); for(int i = 0; i < entry.length; i++) { updateIntegrity(":"+entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) updateIntegrity("DEFAULT"+":",value); for(int i = 0; i < entry.length; i++) { updateIntegrity(entry[i].getKey()+":", entry[i].getValue()); } } } } }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/6de90ccc9be8e4226236949d6b963e004e1df9a7/AccessControlPolicyServiceImpl.java/buggy/securityservices/src/com/nai/security/access/AccessControlPolicyServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6798, 2582, 1079, 12, 2582, 3329, 16, 6862, 377, 514, 3329, 734, 16, 6862, 377, 514, 3329, 461, 16, 6862, 377, 514, 3329, 3291, 16, 6862, 377, 514, 3329, 3876, 16, 6862, 377, 514, 3329, 6638, 734, 16, 6862, 377, 514, 3329, 6638, 461, 16, 6862, 377, 514, 3329, 2326, 734, 16, 6862, 377, 514, 3329, 2326, 461, 16, 6862, 377, 514, 3329, 559, 13, 288, 1377, 309, 12, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 413, 5533, 1776, 5016, 2582, 3886, 364, 2773, 6862, 282, 397, 4040, 1769, 1377, 309, 12, 5086, 422, 446, 13, 288, 202, 430, 261, 4148, 13, 288, 202, 225, 2332, 18, 659, 18, 8222, 2932, 1862, 2582, 3886, 30, 1158, 3329, 8863, 202, 97, 202, 2463, 31, 1377, 289, 1377, 368, 3350, 362, 353, 326, 3329, 364, 35, 1377, 1748, 1377, 309, 12443, 5, 5086, 6638, 461, 18, 14963, 12, 5629, 3719, 597, 16051, 5629, 18, 14963, 2932, 5280, 6, 20349, 288, 202, 430, 261, 4148, 13, 288, 202, 225, 2332, 18, 659, 18, 8222, 2932, 5086, 486, 364, 2773, 15, 5629, 9506, 377, 397, 315, 300, 9363, 506, 364, 315, 397, 3329, 6638, 461, 1769, 202, 97, 202, 2463, 31, 1377, 289, 1377, 1195, 1377, 368, 1884, 1517, 6781, 1662, 1377, 6781, 1662, 8526, 1720, 2402, 273, 3329, 18, 588, 2175, 2402, 5621, 1377, 364, 261, 474, 525, 33, 20, 31, 525, 411, 1720, 2402, 18, 2469, 31, 525, 27245, 3639, 288, 202, 225, 368, 1884, 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, 6798, 2582, 1079, 12, 2582, 3329, 16, 6862, 377, 514, 3329, 734, 16, 6862, 377, 514, 3329, 461, 16, 6862, 377, 514, 3329, 3291, 16, 6862, 377, 514, 3329, 3876, 16, 6862, 377, 514, 3329, 6638, 734, 16, 6862, 377, 514, 3329, 6638, 461, 16, 6862, 377, 514, 3329, 2326, 734, 16, 6862, 377, 514, 3329, 2326, 461, 16, 6862, 377, 514, 3329, 559, 13, 288, 1377, 309, 12, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 413, 5533, 1776, 5016, 2582, 3886, 364, 2773, 6862, 282, 397, 4040, 1769, 1377, 309, 12, 5086, 422, 446, 13, 288, 202, 430, 261, 4148, 13, 288, 202, 225, 2332, 18, 659, 18, 8222, 2932, 1862, 2582, 3886, 30, 2 ]
if (addDummy) newItem(item, SWT.NULL, -1);
if (addDummy) { newItem(item, SWT.NULL, -1); }
protected void updatePlus(Item item, Object element) { boolean hasPlus = getItemCount(item) > 0; boolean needsPlus = isExpandable(item, null, element); boolean removeAll = false; boolean addDummy = false; Object data = item.getData(); if (data != null && equals(element, data)) { // item shows same element if (hasPlus != needsPlus) { if (needsPlus) addDummy = true; else removeAll = true; } } else { // item shows different element removeAll = true; addDummy = needsPlus; // we cannot maintain expand state so collapse it setExpanded(item, false); } if (removeAll) { // remove all children Item[] items = getItems(item); for (int i = 0; i < items.length; i++) { if (items[i].getData() != null) disassociate(items[i]); items[i].dispose(); } } if (addDummy) newItem(item, SWT.NULL, -1); // append a dummy }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/391f2606b4ea2c1fb5052d938ca90877ee7631f6/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1089, 13207, 12, 1180, 761, 16, 1033, 930, 13, 288, 3639, 1250, 711, 13207, 273, 8143, 1380, 12, 1726, 13, 405, 374, 31, 3639, 1250, 4260, 13207, 273, 353, 12271, 429, 12, 1726, 16, 446, 16, 930, 1769, 3639, 1250, 12787, 273, 629, 31, 3639, 1250, 527, 20094, 273, 629, 31, 3639, 1033, 501, 273, 761, 18, 588, 751, 5621, 3639, 309, 261, 892, 480, 446, 597, 1606, 12, 2956, 16, 501, 3719, 288, 5411, 368, 761, 17975, 1967, 930, 5411, 309, 261, 5332, 13207, 480, 4260, 13207, 13, 288, 7734, 309, 261, 20600, 13207, 13, 10792, 527, 20094, 273, 638, 31, 7734, 469, 10792, 12787, 273, 638, 31, 5411, 289, 3639, 289, 469, 288, 5411, 368, 761, 17975, 3775, 930, 5411, 12787, 273, 638, 31, 5411, 527, 20094, 273, 4260, 13207, 31, 5411, 368, 732, 2780, 17505, 4542, 919, 1427, 13627, 518, 5411, 444, 17957, 12, 1726, 16, 629, 1769, 3639, 289, 3639, 309, 261, 4479, 1595, 13, 288, 5411, 368, 1206, 777, 2325, 5411, 4342, 8526, 1516, 273, 15515, 12, 1726, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 3319, 63, 77, 8009, 588, 751, 1435, 480, 446, 13, 10792, 1015, 11577, 12, 3319, 63, 77, 19226, 7734, 1516, 63, 77, 8009, 2251, 4150, 5621, 5411, 289, 3639, 289, 3639, 309, 261, 1289, 20094, 13, 5411, 26536, 12, 1726, 16, 348, 8588, 18, 8560, 16, 300, 21, 1769, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1089, 13207, 12, 1180, 761, 16, 1033, 930, 13, 288, 3639, 1250, 711, 13207, 273, 8143, 1380, 12, 1726, 13, 405, 374, 31, 3639, 1250, 4260, 13207, 273, 353, 12271, 429, 12, 1726, 16, 446, 16, 930, 1769, 3639, 1250, 12787, 273, 629, 31, 3639, 1250, 527, 20094, 273, 629, 31, 3639, 1033, 501, 273, 761, 18, 588, 751, 5621, 3639, 309, 261, 892, 480, 446, 597, 1606, 12, 2956, 16, 501, 3719, 288, 5411, 368, 761, 17975, 1967, 930, 5411, 309, 261, 5332, 13207, 480, 4260, 13207, 13, 288, 7734, 309, 261, 20600, 13207, 13, 10792, 527, 20094, 273, 638, 31, 7734, 469, 10792, 12787, 273, 638, 31, 5411, 289, 3639, 289, 469, 288, 5411, 2 ]
public OffsetMeanAmpConfig(){ ampRange = new UnitRangeImpl(-500, 500, UnitImpl.COUNT);
public OffsetMeanAmpConfig(LocalSeismogram aSeis, MicroSecondTimeRange range){ LocalSeismogramImpl seis = (LocalSeismogramImpl)aSeis; int beginIndex = SeisPlotUtil.getPixel(seis.getNumPoints(), seis.getBeginTime(), seis.getEndTime(), range.getBeginTime()); if (beginIndex < 0) beginIndex = 0; if (beginIndex > seis.getNumPoints()) beginIndex = seis.getNumPoints(); int endIndex = SeisPlotUtil.getPixel(seis.getNumPoints(), seis.getBeginTime(), seis.getEndTime(), range.getEndTime()); if (endIndex < 0) endIndex = 0; if (endIndex > seis.getNumPoints()) endIndex = seis.getNumPoints(); if (endIndex == beginIndex) { ampRange = new UnitRangeImpl(-500, 500, UnitImpl.COUNT); } try { double min = seis.getMinValue(beginIndex, endIndex).getValue(); double max = seis.getMaxValue(beginIndex, endIndex).getValue(); if(min > max) ampRange = new UnitRangeImpl(min, -min, seis.getAmplitudeRange().getUnit()); else ampRange = new UnitRangeImpl(-max, max, seis.getAmplitudeRange().getUnit()); }catch (Exception e) { ampRange = new UnitRangeImpl(-500, 500, UnitImpl.COUNT); }
public OffsetMeanAmpConfig(){ ampRange = new UnitRangeImpl(-500, 500, UnitImpl.COUNT); }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/8fa395dde111d49279fbcdad32de6d2b553e5c76/OffsetMeanAmpConfig.java/buggy/src/edu/sc/seis/fissuresUtil/display/OffsetMeanAmpConfig.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9874, 15312, 26895, 809, 1435, 95, 202, 931, 2655, 273, 394, 8380, 2655, 2828, 19236, 12483, 16, 6604, 16, 8380, 2828, 18, 7240, 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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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, 9874, 15312, 26895, 809, 1435, 95, 202, 931, 2655, 273, 394, 8380, 2655, 2828, 19236, 12483, 16, 6604, 16, 8380, 2828, 18, 7240, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"<modification type=\"unknown\"><filename>File\"Name&amp;</filename><project>Folder'Name</project><date>" + formatter.format(modifiedTime) + "</date><user>User&lt;&gt;Name</user><comment><![CDATA[Comment]]></comment>";
"<modification type=\"unknown\">" + "<file action=\"checkin\"><filename>File\"Name&amp;</filename>" + "<project>Folder'Name</project></file>" + "<date>" + formatter.format(modifiedTime) + "</date>" + "<user>User&lt;&gt;Name</user>" + "<comment><![CDATA[Comment]]></comment>";
public void testToXml() { Date modifiedTime = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy"); Modification mod = new Modification(); mod.fileName = "File\"Name&"; mod.folderName = "Folder'Name"; mod.modifiedTime = modifiedTime; mod.userName = "User<>Name"; mod.comment = "Comment"; String base = "<modification type=\"unknown\"><filename>File\"Name&amp;</filename><project>Folder'Name</project><date>" + formatter.format(modifiedTime) + "</date><user>User&lt;&gt;Name</user><comment><![CDATA[Comment]]></comment>"; String closingTag = "</modification>"; String expected = base + closingTag; assertEquals(expected, mod.toXml(formatter)); String expectedWithEmail = base + "<email>foo.bar@quuuux.quuux.quux.qux</email>" + closingTag; mod.emailAddress = "foo.bar@quuuux.quuux.quux.qux"; assertEquals(expectedWithEmail, mod.toXml(formatter)); }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/6c388b514a0547682989734ceba9679338747a3a/ModificationTest.java/buggy/main/test/net/sourceforge/cruisecontrol/ModificationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 774, 4432, 1435, 288, 3639, 2167, 4358, 950, 273, 394, 2167, 5621, 3639, 17005, 4453, 273, 394, 17005, 2932, 8206, 19, 449, 19, 17722, 8863, 3639, 3431, 1480, 681, 273, 394, 3431, 1480, 5621, 3639, 681, 18, 17812, 273, 315, 812, 2412, 461, 10, 14432, 3639, 681, 18, 5609, 461, 273, 315, 3899, 11, 461, 14432, 3639, 681, 18, 7342, 950, 273, 4358, 950, 31, 3639, 681, 18, 1355, 461, 273, 315, 1299, 29667, 461, 14432, 3639, 681, 18, 3469, 273, 315, 4469, 14432, 3639, 514, 1026, 273, 5411, 3532, 31064, 618, 5189, 8172, 2412, 4438, 3459, 34, 812, 2412, 461, 10, 931, 27922, 3459, 4438, 4406, 34, 3899, 11, 461, 1757, 4406, 4438, 712, 2984, 7734, 397, 4453, 18, 2139, 12, 7342, 950, 13, 7734, 397, 6823, 712, 4438, 1355, 34, 1299, 10, 5618, 23480, 4521, 31, 461, 1757, 1355, 4438, 3469, 4438, 5, 63, 18375, 63, 4469, 13563, 4695, 3469, 2984, 31, 3639, 514, 7647, 1805, 273, 6823, 31064, 2984, 31, 3639, 514, 2665, 273, 1026, 397, 7647, 1805, 31, 3639, 1815, 8867, 12, 3825, 16, 681, 18, 869, 4432, 12, 12354, 10019, 3639, 514, 2665, 1190, 4134, 273, 5411, 1026, 397, 3532, 3652, 34, 11351, 18, 3215, 36, 372, 24286, 2616, 18, 372, 89, 2616, 18, 372, 2616, 18, 372, 92, 1757, 3652, 2984, 397, 7647, 1805, 31, 3639, 681, 18, 3652, 1887, 273, 315, 11351, 18, 3215, 36, 372, 24286, 2616, 18, 372, 89, 2616, 18, 372, 2616, 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, 918, 1842, 774, 4432, 1435, 288, 3639, 2167, 4358, 950, 273, 394, 2167, 5621, 3639, 17005, 4453, 273, 394, 17005, 2932, 8206, 19, 449, 19, 17722, 8863, 3639, 3431, 1480, 681, 273, 394, 3431, 1480, 5621, 3639, 681, 18, 17812, 273, 315, 812, 2412, 461, 10, 14432, 3639, 681, 18, 5609, 461, 273, 315, 3899, 11, 461, 14432, 3639, 681, 18, 7342, 950, 273, 4358, 950, 31, 3639, 681, 18, 1355, 461, 273, 315, 1299, 29667, 461, 14432, 3639, 681, 18, 3469, 273, 315, 4469, 14432, 3639, 514, 1026, 273, 5411, 3532, 31064, 618, 5189, 8172, 2412, 4438, 3459, 34, 812, 2412, 461, 10, 931, 27922, 3459, 4438, 4406, 34, 3899, 11, 461, 1757, 4406, 4438, 712, 2 ]
return new TreeSet<T>(map.subMap(from, to));
return subSet(from, true, to, false);
public SortedSet<T> subSet(T from, T to) { return new TreeSet<T>(map.subMap(from, to)); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/7959ecb038eadae99e617348ee69bbc2e9d87e2f/TreeSet.java/clean/java/util/TreeSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 22123, 32, 56, 34, 720, 694, 12, 56, 628, 16, 399, 358, 13, 225, 288, 565, 327, 720, 694, 12, 2080, 16, 638, 16, 358, 16, 629, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 16, 399, 358, 13, 225, 288, 565, 327, 720, 694, 12, 2080, 16, 638, 16, 358, 16, 629, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public final void render( Map htRenderers, Bounds bo ) throws ChartException { final boolean bFirstInSequence = ( iSeriesIndex == 0 ); final boolean bLastInSequence = ( iSeriesIndex == iSeriesCount - 1 ); final ILogger il = DefaultLoggerImpl.instance( ); long lTimer = System.currentTimeMillis( ); final Chart cm = getModel( ); final IDeviceRenderer idr = getDevice( ); final ScriptHandler sh = getRunTimeContext( ).getScriptHandler( ); if ( bFirstInSequence ) // SEQUENCE OF MULTIPLE SERIES RENDERERS // (POSSIBLY PARTICIPATING IN A COMBINATION // CHART) { // SETUP A TIMER lTimer = System.currentTimeMillis( ); htRenderers.put( TIMER, new Long( lTimer ) ); // RENDER THE CHART BY WALKING THROUGH THE RECURSIVE BLOCK STRUCTURE Block bl = cm.getBlock( ); final Enumeration e = bl.children( true ); final BlockGenerationEvent bge = new BlockGenerationEvent( bl ); // ALWAYS RENDER THE OUTERMOST BLOCK FIRST ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); bge.updateBlock( bl ); renderBlock( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); while ( e.hasMoreElements( ) ) { bl = (Block) e.nextElement( ); bge.updateBlock( bl ); if ( bl instanceof Plot ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderPlot( idr, (Plot) bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); if ( !bLastInSequence ) { break; // STOP AT THE PLOT IF NOT ALSO THE LAST IN THE // SEQUENCE } } else if ( bl instanceof TitleBlock ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderTitle( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof LabelBlock ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderLabel( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof Legend ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderLegend( idr, (Legend) bl, htRenderers ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderBlock( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } } } else if ( bLastInSequence ) { Block bl = cm.getBlock( ); final Enumeration e = bl.children( true ); final BlockGenerationEvent bge = new BlockGenerationEvent( this ); boolean bStarted = false; while ( e.hasMoreElements( ) ) { bl = (Block) e.nextElement( ); if ( !bStarted && !bl.isPlot( ) ) { continue; // IGNORE ALL BLOCKS UNTIL PLOT IS ENCOUNTERED } bStarted = true; bge.updateBlock( bl ); if ( bl instanceof Plot ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderPlot( idr, (Plot) bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof TitleBlock ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderTitle( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof LabelBlock ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderLabel( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof Legend ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderLegend( idr, (Legend) bl, htRenderers ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderBlock( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } } } else // FOR ALL SERIES IN-BETWEEN, ONLY RENDER THE PLOT { final BlockGenerationEvent bge = new BlockGenerationEvent( this ); Plot p = cm.getPlot( ); bge.updateBlock( p ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, p ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, p ); renderPlot( idr, p ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, p ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, p ); } lTimer = System.currentTimeMillis( ) - lTimer; if ( htRenderers.containsKey( TIMER ) ) { final Long l = (Long) htRenderers.get( TIMER ); htRenderers.put( TIMER, new Long( l.longValue( ) + lTimer ) ); } else { htRenderers.put( TIMER, new Long( lTimer ) ); } if ( bLastInSequence ) { final PlotWith2DAxes pw2da = (PlotWith2DAxes) getComputations( ); pw2da.getStackedSeriesLookup( ).resetSubUnits( ); il.log( ILogger.INFORMATION, Messages.getString( "info.elapsed.time.render", //$NON-NLS-1$ new Object[]{ new Long( lTimer ) }, getRunTimeContext( ).getLocale( ) ) ); // i18n_CONCATENATIONS_REMOVED htRenderers.remove( TIMER ); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/bdb7b6c5463f7273d9f1038e97552808a8df1f58/AxesRenderer.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1743, 12, 1635, 14049, 3420, 414, 16, 20382, 800, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 6385, 1250, 324, 3759, 382, 4021, 273, 261, 277, 6485, 1016, 422, 374, 11272, 202, 202, 6385, 1250, 324, 3024, 382, 4021, 273, 261, 277, 6485, 1016, 422, 277, 6485, 1380, 300, 404, 11272, 202, 202, 6385, 467, 3328, 14254, 273, 2989, 3328, 2828, 18, 1336, 12, 11272, 202, 202, 5748, 328, 6777, 273, 2332, 18, 2972, 28512, 12, 11272, 202, 202, 6385, 14804, 5003, 273, 7454, 12, 11272, 202, 202, 6385, 467, 3654, 6747, 612, 86, 273, 19512, 12, 11272, 202, 202, 6385, 7739, 1503, 699, 273, 336, 1997, 950, 1042, 12, 262, 18, 588, 3651, 1503, 12, 11272, 202, 202, 430, 261, 324, 3759, 382, 4021, 262, 368, 27118, 15932, 31385, 900, 7758, 8805, 28332, 11367, 6862, 9506, 202, 759, 261, 2419, 1260, 13450, 7076, 20814, 2871, 2579, 28054, 2120, 432, 5423, 12615, 2689, 6862, 9506, 202, 759, 6469, 4928, 13, 202, 202, 95, 1082, 202, 759, 7855, 3079, 432, 399, 31582, 1082, 202, 80, 6777, 273, 2332, 18, 2972, 28512, 12, 11272, 1082, 202, 647, 3420, 414, 18, 458, 12, 399, 31582, 16, 394, 3407, 12, 328, 6777, 262, 11272, 1082, 202, 759, 28332, 12786, 6469, 4928, 6953, 30293, 47, 1360, 7662, 1457, 57, 16715, 12786, 2438, 7509, 24870, 14073, 7128, 9749, 4830, 1082, 202, 1768, 2811, 273, 5003, 18, 588, 1768, 12, 11272, 1082, 202, 6385, 13864, 425, 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, 225, 202, 482, 727, 918, 1743, 12, 1635, 14049, 3420, 414, 16, 20382, 800, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 6385, 1250, 324, 3759, 382, 4021, 273, 261, 277, 6485, 1016, 422, 374, 11272, 202, 202, 6385, 1250, 324, 3024, 382, 4021, 273, 261, 277, 6485, 1016, 422, 277, 6485, 1380, 300, 404, 11272, 202, 202, 6385, 467, 3328, 14254, 273, 2989, 3328, 2828, 18, 1336, 12, 11272, 202, 202, 5748, 328, 6777, 273, 2332, 18, 2972, 28512, 12, 11272, 202, 202, 6385, 14804, 5003, 273, 7454, 12, 11272, 202, 202, 6385, 467, 3654, 6747, 612, 86, 273, 19512, 12, 11272, 202, 202, 6385, 7739, 1503, 699, 273, 336, 1997, 950, 1042, 12, 262, 18, 2 ]
puncString = "" + ANDseparator + ORseparator + getUnassignedSymbol() + getInapplicableSymbol();
puncString = "" + ANDseparator + ORseparator + getUnassignedSymbol() + getInapplicableSymbol();
public CategoricalData(CharMatrixManager manager, int numTaxa, int numChars, Taxa taxa){ super(manager, numTaxa, numChars, taxa); symbols = new char[] {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'j', 'k', 'm', 'n', 'p' , 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; try { puncString = "" + ANDseparator + ORseparator + getUnassignedSymbol() + getInapplicableSymbol(); if (permitShortMatrices && CategoricalState.compressibleToShort(getDefaultState())) { matrixShort = new short[ numChars][numTaxa]; for (int it=0; it<numTaxa; it++) for (int ic=0; ic<numChars; ic++) matrixShort[ic][it] = CategoricalState.compressToShort(getDefaultState()); } else { matrix = new long[ numChars][numTaxa]; for (int it=0; it<numTaxa; it++) for (int ic=0; ic<numChars; ic++) matrix[ic][it] = getDefaultState(); } } catch (OutOfMemoryError e){ MesquiteMessage.warnProgrammer("Sorry, the Character Matrix could not be created because of lack of memory"); } }
55939 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55939/f13d81739af31354f83b14c9490772258666d61b/CategoricalData.java/clean/Source/mesquite/categ/lib/CategoricalData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 385, 14341, 751, 12, 2156, 4635, 1318, 3301, 16, 509, 818, 7731, 69, 16, 509, 818, 7803, 16, 18240, 69, 5320, 69, 15329, 202, 202, 9565, 12, 4181, 16, 818, 7731, 69, 16, 818, 7803, 16, 5320, 69, 1769, 202, 202, 15536, 273, 394, 1149, 8526, 13666, 20, 2187, 296, 21, 2187, 296, 22, 2187, 296, 23, 2187, 296, 24, 2187, 296, 25, 2187, 296, 26, 2187, 296, 27, 2187, 296, 28, 2187, 296, 29, 2187, 296, 37, 2187, 296, 38, 2187, 296, 39, 2187, 296, 40, 2187, 296, 41, 2187, 296, 42, 2187, 296, 43, 2187, 296, 44, 2187, 296, 46, 2187, 296, 47, 2187, 296, 49, 2187, 296, 50, 2187, 296, 52, 2187, 296, 53, 2187, 296, 54, 2187, 296, 55, 2187, 296, 56, 2187, 296, 57, 2187, 296, 58, 2187, 296, 59, 2187, 296, 60, 2187, 296, 61, 2187, 296, 62, 2187, 296, 69, 2187, 296, 70, 2187, 296, 71, 2187, 296, 72, 2187, 296, 73, 2187, 296, 74, 2187, 296, 75, 2187, 296, 76, 2187, 296, 78, 2187, 296, 79, 2187, 296, 81, 2187, 296, 82, 2187, 296, 84, 11, 269, 296, 85, 2187, 296, 86, 2187, 296, 87, 2187, 296, 88, 2187, 296, 89, 2187, 296, 90, 2187, 296, 91, 2187, 296, 92, 2187, 296, 93, 2187, 296, 94, 11, 20451, 202, 202, 698, 288, 202, 565, 202, 202, 84, 551, 780, 273, 1408, 397, 4116, 11287, 397, 4869, 11287, 397, 10833, 15938, 5335, 1435, 397, 7854, 438, 10120, 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, 385, 14341, 751, 12, 2156, 4635, 1318, 3301, 16, 509, 818, 7731, 69, 16, 509, 818, 7803, 16, 18240, 69, 5320, 69, 15329, 202, 202, 9565, 12, 4181, 16, 818, 7731, 69, 16, 818, 7803, 16, 5320, 69, 1769, 202, 202, 15536, 273, 394, 1149, 8526, 13666, 20, 2187, 296, 21, 2187, 296, 22, 2187, 296, 23, 2187, 296, 24, 2187, 296, 25, 2187, 296, 26, 2187, 296, 27, 2187, 296, 28, 2187, 296, 29, 2187, 296, 37, 2187, 296, 38, 2187, 296, 39, 2187, 296, 40, 2187, 296, 41, 2187, 296, 42, 2187, 296, 43, 2187, 296, 44, 2187, 296, 46, 2187, 296, 47, 2187, 296, 49, 2187, 296, 50, 2187, 296, 52, 2187, 296, 2 ]
testPdbFile = new File(testDirectory, "1crn.pdb"); FileUtilities .copyStreamToFile(getClass() .getResourceAsStream("Test-" + testPdbFile.getName()), testPdbFile); } catch (IOException ex) { fail(ex.toString()); } try { ChemObjectReader reader = new PDBReader(new FileInputStream(testPdbFile));
ChemObjectReader reader = new PDBReader(new InputStreamReader(ins));
public void testProtein() { File testPdbFile = null; try { testPdbFile = new File(testDirectory, "1crn.pdb"); FileUtilities .copyStreamToFile(getClass() .getResourceAsStream("Test-" + testPdbFile.getName()), testPdbFile); } catch (IOException ex) { fail(ex.toString()); } try { ChemObjectReader reader = new PDBReader(new FileInputStream(testPdbFile)); assertNotNull(reader); ChemFile chemFile = (ChemFile) reader.read(new ChemFile()); assertNotNull(chemFile); assertEquals(1, chemFile.getChemSequenceCount()); ChemSequence seq = chemFile.getChemSequence(0); assertNotNull(seq); assertEquals(1, seq.getChemModelCount()); ChemModel model = seq.getChemModel(0); assertNotNull(model); assertEquals(1, model.getSetOfMolecules().getMoleculeCount()); BioPolymer mol = (BioPolymer) model.getSetOfMolecules().getMolecule(0); assertNotNull(mol); assertEquals(327, mol.getAtomCount()); assertEquals(46, mol.getMonomerCount()); assertNotNull(mol.getMonomer("THR1")); assertEquals(7, mol.getMonomer("THR1").getAtomCount()); assertNotNull(mol.getMonomer("ILE7")); assertEquals(8, mol.getMonomer("ILE7").getAtomCount()); Atom atom = mol.getAtomAt(94); assertNotNull(atom); assertEquals("C", atom.getSymbol()); assertEquals(new Integer(95), atom.getProperty("pdb.serial")); assertEquals("CZ", atom.getProperty("pdb.name")); assertEquals("", atom.getProperty("pdb.altLoc")); assertEquals("PHE", atom.getProperty("pdb.resName")); assertEquals("", atom.getProperty("pdb.chainID")); assertEquals("13", atom.getProperty("pdb.resSeq")); assertEquals("", atom.getProperty("pdb.iCode")); assertEquals(1.0, ((Double) atom.getProperty("pdb.occupancy")).doubleValue(), 0.001); assertEquals(6.84, ((Double) atom.getProperty("pdb.tempFactor")).doubleValue(), 0.001); assertEquals(null, atom.getProperty("pdb.segID")); assertEquals(null, atom.getProperty("pdb.element")); assertEquals(null, atom.getProperty("pdb.charge")); } catch (Exception ex) { fail(ex.toString()); } }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/2c7c43d2f4308010328c092f9e157e53e6cab8b2/PDBReaderTest.java/buggy/src/org/openscience/cdk/test/io/PDBReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 626, 10297, 1435, 288, 565, 1387, 1842, 52, 1966, 812, 273, 446, 31, 565, 775, 288, 1377, 1842, 52, 1966, 812, 273, 394, 1387, 12, 3813, 2853, 16, 315, 21, 3353, 82, 18, 17414, 8863, 1377, 1387, 11864, 1850, 263, 3530, 1228, 15450, 12, 588, 797, 1435, 2868, 263, 588, 1420, 17052, 2932, 4709, 10951, 5375, 397, 1842, 52, 1966, 812, 18, 17994, 1435, 3631, 1842, 52, 1966, 812, 1769, 3639, 289, 1044, 261, 14106, 431, 13, 288, 1377, 2321, 12, 338, 18, 10492, 10663, 565, 289, 3639, 775, 288, 1377, 26542, 921, 2514, 2949, 273, 394, 21601, 2514, 12, 2704, 11907, 12, 3813, 52, 1966, 812, 10019, 1377, 25395, 12, 10530, 1769, 5411, 26542, 812, 19028, 812, 273, 261, 20200, 812, 13, 2949, 18, 896, 12, 2704, 26542, 812, 10663, 1377, 25395, 12, 1036, 812, 1769, 1377, 1815, 8867, 12, 21, 16, 19028, 812, 18, 588, 20200, 4021, 1380, 10663, 1377, 26542, 4021, 3833, 273, 19028, 812, 18, 588, 20200, 4021, 12, 20, 1769, 1377, 25395, 12, 5436, 1769, 1377, 1815, 8867, 12, 21, 16, 3833, 18, 588, 20200, 1488, 1380, 10663, 5411, 26542, 1488, 938, 273, 3833, 18, 588, 20200, 1488, 12, 20, 1769, 1377, 25395, 12, 2284, 1769, 1377, 1815, 8867, 12, 21, 16, 938, 18, 588, 694, 951, 49, 29466, 7675, 588, 29669, 1380, 10663, 1377, 21209, 5850, 17878, 12629, 273, 261, 38, 1594, 5850, 17878, 13, 938, 18, 588, 694, 951, 49, 29466, 7675, 588, 29669, 12, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 626, 10297, 1435, 288, 565, 1387, 1842, 52, 1966, 812, 273, 446, 31, 565, 775, 288, 1377, 1842, 52, 1966, 812, 273, 394, 1387, 12, 3813, 2853, 16, 315, 21, 3353, 82, 18, 17414, 8863, 1377, 1387, 11864, 1850, 263, 3530, 1228, 15450, 12, 588, 797, 1435, 2868, 263, 588, 1420, 17052, 2932, 4709, 10951, 5375, 397, 1842, 52, 1966, 812, 18, 17994, 1435, 3631, 1842, 52, 1966, 812, 1769, 3639, 289, 1044, 261, 14106, 431, 13, 288, 1377, 2321, 12, 338, 18, 10492, 10663, 565, 289, 3639, 775, 288, 1377, 26542, 921, 2514, 2949, 273, 394, 21601, 2514, 12, 2704, 11907, 12, 3813, 52, 1966, 812, 10019, 1377, 25395, 12, 10530, 1769, 5411, 26542, 2 ]
groupPrimitive(pre, false);
ivRenderer.groupPrimitive(pre, false);
public void fillPolygon(PolygonRenderEvent pre) throws ChartException { groupPrimitive(pre, false); super.fillPolygon(pre); ungroupPrimitive(pre, false); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/2d20506054849c42d48678ae5d0e59f9c37d95e8/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 11787, 12, 11787, 3420, 1133, 675, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 1484, 16, 629, 1769, 202, 202, 9565, 18, 5935, 11787, 12, 1484, 1769, 202, 202, 318, 1655, 9840, 12, 1484, 16, 629, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 11787, 12, 11787, 3420, 1133, 675, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 1484, 16, 629, 1769, 202, 202, 9565, 18, 5935, 11787, 12, 1484, 1769, 202, 202, 318, 1655, 9840, 12, 1484, 16, 629, 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 ]
return (modifiers & SYNTHETIC) != 0;
return (modifiers & ACC_SYNTHETIC) != 0;
public boolean isSynthetic() { return (modifiers & SYNTHETIC) != 0; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3d00310d712d5d216f70da39fd52a8ce808e6137/VM_Method.java/buggy/rvm/src/vm/classLoader/VM_Method.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 10503, 16466, 1435, 288, 565, 327, 261, 15432, 473, 18816, 67, 7474, 1784, 44, 1584, 2871, 13, 480, 374, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 10503, 16466, 1435, 288, 565, 327, 261, 15432, 473, 18816, 67, 7474, 1784, 44, 1584, 2871, 13, 480, 374, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
expectation2.needsMoreInvocations = false;
expectation2.isSatisfied = true;
public void testIsSatisfiedWhenAllMembersHaveBeenSatisfied() throws Throwable { expectation1.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation1.matches = false; expectation1.needsMoreInvocations = false; expectation2.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation2.matches = false; expectation2.needsMoreInvocations = false; expectation3.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation3.matches = false; expectation3.needsMoreInvocations = false; expectation4.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation4.needsMoreInvocations = false; assertTrue("group is satisfied", !group.needsMoreInvocations()); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/010013813a0e057e0715a4d31490eefcfa353062/OrderedExpectationGroupTests.java/clean/jmock2/test/org/jmock/test/unit/lib/OrderedExpectationGroupTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2520, 15163, 21501, 9434, 1595, 6918, 17944, 25931, 15163, 21501, 1435, 1216, 4206, 288, 3639, 17733, 21, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 21, 18, 8436, 273, 629, 31, 3639, 17733, 21, 18, 20600, 7417, 3605, 17448, 273, 629, 31, 3639, 17733, 22, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 22, 18, 8436, 273, 629, 31, 3639, 17733, 22, 18, 291, 15163, 21501, 273, 638, 31, 3639, 17733, 23, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 3639, 17733, 23, 18, 8436, 273, 629, 31, 3639, 17733, 23, 18, 20600, 7417, 3605, 17448, 273, 629, 31, 3639, 17733, 24, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 24, 18, 20600, 7417, 3605, 17448, 273, 629, 31, 3639, 1815, 5510, 2932, 1655, 353, 18958, 3113, 401, 1655, 18, 20600, 7417, 3605, 17448, 10663, 565, 289, 2, 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, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2520, 15163, 21501, 9434, 1595, 6918, 17944, 25931, 15163, 21501, 1435, 1216, 4206, 288, 3639, 17733, 21, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 21, 18, 8436, 273, 629, 31, 3639, 17733, 21, 18, 20600, 7417, 3605, 17448, 273, 629, 31, 3639, 17733, 22, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 22, 18, 8436, 273, 629, 31, 3639, 17733, 22, 18, 291, 15163, 21501, 273, 638, 31, 2 ]
public void processingInstruction(String target, String data)
public void processingInstruction(final String target, final String data)
public void processingInstruction(String target, String data) throws SAXException { }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/HTMLParser.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HTMLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 4929, 11983, 12, 6385, 514, 1018, 16, 727, 514, 501, 13, 7734, 1216, 14366, 288, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 14366, 288, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SAMLSubject subject = new SAMLSubject(subjectNameId, Arrays.asList(confirmationMethods), null, null);
Element keyInfoElem = null; if(keyInfoContent != null) { keyInfoElem = doc.createElementNS(WSConstants.SIG_NS, "KeyInfo"); ((OMElement)keyInfoContent).declareNamespace(WSConstants.SIG_NS, WSConstants.SIG_PREFIX); ((OMElement)keyInfoContent).declareNamespace(WSConstants.ENC_NS, WSConstants.ENC_PREFIX); keyInfoElem.appendChild(keyInfoContent); } SAMLSubject subject = new SAMLSubject(subjectNameId, Arrays.asList(confirmationMethods), null, keyInfoElem);
private SAMLAssertion createAuthAssertion(String confMethod, SAMLNameIdentifier subjectNameId, SAMLTokenIssuerConfig config, Crypto crypto, Date notBefore, Date notAfter) throws TrustException { try { String[] confirmationMethods = new String[]{confMethod}; SAMLSubject subject = new SAMLSubject(subjectNameId, Arrays.asList(confirmationMethods), null, null); SAMLAuthenticationStatement authStmt = new SAMLAuthenticationStatement( subject, SAMLAuthenticationStatement.AuthenticationMethod_Password, notBefore, null, null, null); SAMLStatement[] statements = {authStmt}; SAMLAssertion assertion = new SAMLAssertion(config.issuerName, notBefore, notAfter, null, null, Arrays.asList(statements)); //sign the assertion X509Certificate[] issuerCerts = crypto.getCertificates(config.issuerKeyAlias); String sigAlgo = XMLSignature.ALGO_ID_SIGNATURE_RSA; String pubKeyAlgo = issuerCerts[0].getPublicKey().getAlgorithm(); if (pubKeyAlgo.equalsIgnoreCase("DSA")) { sigAlgo = XMLSignature.ALGO_ID_SIGNATURE_DSA; } java.security.Key issuerPK = crypto.getPrivateKey(config.issuerKeyAlias, config.issuerKeyPassword); assertion.sign(sigAlgo, issuerPK, Arrays.asList(issuerCerts)); return assertion; } catch (Exception e) { throw new TrustException("samlAssertionCreationError", e); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/5203840ede53c3b77f2e490250f6d0fbc377182d/SAMLTokenIssuer.java/buggy/modules/rahas/src/org/apache/rahas/impl/SAMLTokenIssuer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 21030, 14979, 752, 1730, 14979, 12, 780, 2195, 1305, 16, 5411, 21030, 461, 3004, 3221, 461, 548, 16, 21030, 1345, 16667, 809, 642, 16, 5411, 15629, 8170, 16, 2167, 486, 4649, 16, 2167, 486, 4436, 13, 1216, 20246, 503, 288, 3639, 775, 288, 5411, 514, 8526, 14296, 4712, 273, 394, 514, 63, 7073, 3923, 1305, 20451, 13491, 3010, 498, 966, 7498, 273, 446, 31, 309, 12, 856, 966, 1350, 480, 446, 13, 288, 498, 966, 7498, 273, 997, 18, 2640, 1046, 3156, 12, 2651, 2918, 18, 18513, 67, 3156, 16, 315, 653, 966, 8863, 14015, 51, 12310, 13, 856, 966, 1350, 2934, 29554, 3402, 12, 2651, 2918, 18, 18513, 67, 3156, 16, 7649, 2918, 18, 18513, 67, 6307, 1769, 14015, 51, 12310, 13, 856, 966, 1350, 2934, 29554, 3402, 12, 2651, 2918, 18, 30445, 67, 3156, 16, 7649, 2918, 18, 30445, 67, 6307, 1769, 225, 498, 966, 7498, 18, 6923, 1763, 12, 856, 966, 1350, 1769, 289, 225, 21030, 6638, 3221, 273, 394, 21030, 6638, 12, 7857, 461, 548, 16, 5647, 18, 345, 682, 12, 22275, 4712, 3631, 446, 16, 498, 966, 7498, 1769, 13491, 21030, 6492, 3406, 1357, 8952, 273, 394, 21030, 6492, 3406, 12, 10792, 3221, 16, 10792, 21030, 6492, 3406, 18, 6492, 1305, 67, 3913, 16, 10792, 486, 4649, 16, 446, 16, 446, 16, 446, 1769, 5411, 21030, 3406, 8526, 6317, 273, 288, 1944, 8952, 20451, 13491, 21030, 14979, 11240, 273, 394, 21030, 14979, 12, 1425, 18, 17567, 461, 16, 486, 4649, 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, 21030, 14979, 752, 1730, 14979, 12, 780, 2195, 1305, 16, 5411, 21030, 461, 3004, 3221, 461, 548, 16, 21030, 1345, 16667, 809, 642, 16, 5411, 15629, 8170, 16, 2167, 486, 4649, 16, 2167, 486, 4436, 13, 1216, 20246, 503, 288, 3639, 775, 288, 5411, 514, 8526, 14296, 4712, 273, 394, 514, 63, 7073, 3923, 1305, 20451, 13491, 3010, 498, 966, 7498, 273, 446, 31, 309, 12, 856, 966, 1350, 480, 446, 13, 288, 498, 966, 7498, 273, 997, 18, 2640, 1046, 3156, 12, 2651, 2918, 18, 18513, 67, 3156, 16, 315, 653, 966, 8863, 14015, 51, 12310, 13, 856, 966, 1350, 2934, 29554, 3402, 12, 2651, 2918, 18, 18513, 67, 3156, 16, 7649, 2918, 18, 18513, 67, 2 ]
protected ObservableList(Realm realm, List wrappedList, Object elementType) { super(realm); this.wrappedList = wrappedList; this.elementType = elementType;
protected ObservableList(List wrappedList, Object elementType) { this(Realm.getDefault(), wrappedList, elementType);
protected ObservableList(Realm realm, List wrappedList, Object elementType) { super(realm); this.wrappedList = wrappedList; this.elementType = elementType; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/8d526c66443a00f1d390d1ba70af697ea08606b2/ObservableList.java/buggy/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/list/ObservableList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4310, 682, 12, 22545, 11319, 16, 987, 5805, 682, 16, 1033, 21427, 13, 288, 202, 202, 9565, 12, 24056, 1769, 202, 202, 2211, 18, 18704, 682, 273, 5805, 682, 31, 202, 202, 2211, 18, 2956, 559, 273, 21427, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4310, 682, 12, 22545, 11319, 16, 987, 5805, 682, 16, 1033, 21427, 13, 288, 202, 202, 9565, 12, 24056, 1769, 202, 202, 2211, 18, 18704, 682, 273, 5805, 682, 31, 202, 202, 2211, 18, 2956, 559, 273, 21427, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final TableCellEditor editor = table.getCellEditor();
final TableCellEditor editor = table.getCellEditor();
public void actionPerformed(ActionEvent e){ final int listSize; synchronized(lock){ listSize = callsToCheck.size(); callsToCheck.add(new ReturnCheckSpecification()); } model.fireTableStructureChanged(); EventQueue.invokeLater(new Runnable() { public void run() { final Rectangle rect = table.getCellRect(listSize, 0, true); table.scrollRectToVisible(rect); table.editCellAt(listSize, 0); final TableCellEditor editor = table.getCellEditor(); final Component component = editor.getTableCellEditorComponent(table, null, true, listSize, 0); component.requestFocus(); } }); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/0c22d3bce35a1ee7d70c329328f649614cf6f21a/IgnoreResultOfCallInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/IgnoreResultOfCallInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 26100, 12, 1803, 1133, 425, 15329, 10792, 727, 509, 666, 1225, 31, 10792, 3852, 12, 739, 15329, 13491, 666, 1225, 273, 4097, 18126, 18, 1467, 5621, 13491, 4097, 18126, 18, 1289, 12, 2704, 2000, 1564, 8615, 10663, 10792, 289, 10792, 938, 18, 12179, 1388, 6999, 5033, 5621, 10792, 2587, 3183, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 13491, 1071, 918, 1086, 1435, 288, 18701, 727, 13264, 4917, 273, 1014, 18, 588, 4020, 6120, 12, 1098, 1225, 16, 374, 16, 638, 1769, 18701, 1014, 18, 12033, 6120, 774, 6207, 12, 2607, 1769, 18701, 1014, 18, 4619, 4020, 861, 12, 1098, 1225, 16, 374, 1769, 18701, 727, 3555, 4020, 6946, 4858, 273, 1014, 18, 588, 4020, 6946, 5621, 18701, 727, 5435, 1794, 273, 4766, 565, 4858, 18, 588, 1388, 4020, 6946, 1841, 12, 2121, 16, 446, 16, 638, 16, 666, 1225, 16, 374, 1769, 18701, 1794, 18, 2293, 9233, 5621, 7734, 289, 5411, 15549, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 26100, 12, 1803, 1133, 425, 15329, 10792, 727, 509, 666, 1225, 31, 10792, 3852, 12, 739, 15329, 13491, 666, 1225, 273, 4097, 18126, 18, 1467, 5621, 13491, 4097, 18126, 18, 1289, 12, 2704, 2000, 1564, 8615, 10663, 10792, 289, 10792, 938, 18, 12179, 1388, 6999, 5033, 5621, 10792, 2587, 3183, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 13491, 1071, 918, 1086, 1435, 288, 18701, 727, 13264, 4917, 273, 1014, 18, 588, 4020, 6120, 12, 1098, 1225, 16, 374, 16, 638, 1769, 18701, 1014, 18, 12033, 6120, 774, 6207, 12, 2607, 1769, 18701, 1014, 18, 4619, 4020, 861, 12, 1098, 1225, 16, 374, 1769, 18701, 727, 3555, 4020, 6946, 4858, 273, 1014, 18, 588, 4020, 6946, 2 ]
Enumeration paramNames = req.getParameterNames(); while (paramNames != null && paramNames.hasMoreElements()) { String param = paramNames.nextElement().toString(); if (param != null) { String values[] = req.getParameterValues(param); for (int i=0; i < values.length; i++) { String value = URLEncoder.encode(values[i], parameterEncoding); NameValuePair nvp = new NameValuePair(param, value); queryParameters.add(nvp); } } }
protected CGIEnvironment(HttpServletRequest req, ServletContext context) throws IOException { setupFromContext(context); setupFromRequest(req); Enumeration paramNames = req.getParameterNames(); while (paramNames != null && paramNames.hasMoreElements()) { String param = paramNames.nextElement().toString(); if (param != null) { String values[] = req.getParameterValues(param); for (int i=0; i < values.length; i++) { String value = URLEncoder.encode(values[i], parameterEncoding); NameValuePair nvp = new NameValuePair(param, value); queryParameters.add(nvp); } } } this.valid = setCGIEnvironment(req); if (this.valid) { workingDirectory = new File(command.substring(0, command.lastIndexOf(File.separator))); } }
48155 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48155/34601668ef04ac05695a8b145daf5444194948b7/CGIServlet.java/clean/java/org/apache/catalina/servlets/CGIServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 385, 13797, 5494, 12, 2940, 18572, 1111, 16, 4766, 22717, 819, 13, 1216, 1860, 288, 5411, 3875, 20128, 12, 2472, 1769, 5411, 3875, 25074, 12, 3658, 1769, 5411, 13864, 579, 1557, 273, 1111, 18, 588, 1662, 1557, 5621, 5411, 1323, 261, 891, 1557, 480, 446, 597, 579, 1557, 18, 5332, 7417, 3471, 10756, 288, 7734, 514, 579, 273, 579, 1557, 18, 4285, 1046, 7675, 10492, 5621, 7734, 309, 261, 891, 480, 446, 13, 288, 10792, 514, 924, 8526, 273, 1111, 18, 588, 1662, 1972, 12, 891, 1769, 10792, 364, 261, 474, 277, 33, 20, 31, 277, 411, 924, 18, 2469, 31, 277, 27245, 288, 13491, 514, 460, 273, 1976, 7204, 18, 3015, 12, 2372, 63, 77, 6487, 4766, 7682, 1569, 4705, 1769, 13491, 1770, 20337, 8779, 84, 273, 394, 1770, 20337, 12, 891, 16, 460, 1769, 13491, 31485, 18, 1289, 12, 16588, 84, 1769, 10792, 289, 7734, 289, 5411, 289, 5411, 333, 18, 877, 273, 11440, 13797, 5494, 12, 3658, 1769, 5411, 309, 261, 2211, 18, 877, 13, 288, 7734, 5960, 2853, 273, 394, 1387, 12, 3076, 18, 28023, 12, 20, 16, 8227, 1296, 18, 2722, 31985, 12, 812, 18, 11287, 3719, 1769, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 385, 13797, 5494, 12, 2940, 18572, 1111, 16, 4766, 22717, 819, 13, 1216, 1860, 288, 5411, 3875, 20128, 12, 2472, 1769, 5411, 3875, 25074, 12, 3658, 1769, 5411, 13864, 579, 1557, 273, 1111, 18, 588, 1662, 1557, 5621, 5411, 1323, 261, 891, 1557, 480, 446, 597, 579, 1557, 18, 5332, 7417, 3471, 10756, 288, 7734, 514, 579, 273, 579, 1557, 18, 4285, 1046, 7675, 10492, 5621, 7734, 309, 261, 891, 480, 446, 13, 288, 10792, 514, 924, 8526, 273, 1111, 18, 588, 1662, 1972, 12, 891, 1769, 10792, 364, 261, 474, 277, 33, 20, 31, 277, 411, 924, 18, 2469, 31, 277, 27245, 288, 13491, 514, 460, 273, 1976, 7204, 18, 3015, 12, 2372, 63, 77, 6487, 2 ]
public MultiLineTextFieldEditor(String name, String labelText, Composite parent) { this(name, labelText, UNLIMITED, parent);
protected MultiLineTextFieldEditor() {
public MultiLineTextFieldEditor(String name, String labelText, Composite parent) { this(name, labelText, UNLIMITED, parent); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/612551d59c19478ba33203c55a27f185410404a1/MultiLineTextFieldEditor.java/buggy/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/MultiLineTextFieldEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5991, 1670, 16157, 6946, 12, 780, 508, 16, 514, 1433, 1528, 16, 14728, 982, 13, 288, 9506, 202, 2211, 12, 529, 16, 1433, 1528,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5991, 1670, 16157, 6946, 12, 780, 508, 16, 514, 1433, 1528, 16, 14728, 982, 13, 288, 9506, 202, 2211, 12, 529, 16, 1433, 1528, 16, 5019, 8283, 2056, 16, 982, 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 ]
bootImage.setAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS),
bootImage.setAddressWord(arrayImageOffset.add(i << LOG_BYTES_IN_ADDRESS),
private static int copyToBootImage(Object jdkObject, boolean allocOnly, int overwriteOffset, Object parentObject) throws IllegalAccessException { // // Return object if it is already copied and not being overwritten // BootImageMap.Entry mapEntry = BootImageMap.findOrCreateEntry(jdkObject); if (mapEntry.imageOffset != OBJECT_NOT_ALLOCATED && overwriteOffset == -1) return mapEntry.imageOffset; if (verbose >= 2) depth++; // // fetch object's type information // Class jdkType = jdkObject.getClass(); VM_Type rvmType = getRvmType(jdkType); if (rvmType == null) { if (verbose >= 2) traverseObject(jdkObject); if (verbose >= 2) depth--; return OBJECT_NOT_PRESENT; // object not part of bootimage } // // copy object to image // if (jdkType.isArray()) { VM_Array rvmArrayType = rvmType.asArray(); // // allocate space in image // int arrayCount = Array.getLength(jdkObject); int arrayImageOffset = (overwriteOffset == -1) ? bootImage.allocateArray(rvmArrayType, arrayCount) : overwriteOffset; mapEntry.imageOffset = arrayImageOffset; if (verbose >= 2) { if (depth == depthCutoff) say(SPACES.substring(0,depth+1), "TOO DEEP: cutting off"); else if (depth < depthCutoff) { String tab = SPACES.substring(0,depth+1); if (depth == 0 && jtocCount >= 0) tab = tab + "jtoc #" + String.valueOf(jtocCount) + ": "; int arraySize = rvmArrayType.getInstanceSize(arrayCount); say(tab, "Copying array ", jdkType.getName(), " length=", String.valueOf(arrayCount), (arraySize >= LARGE_ARRAY_SIZE) ? " large object!!!" : ""); } } VM_Type rvmElementType = rvmArrayType.getElementType(); // Show info on reachability of int arrays // if (false && rvmElementType.equals(VM_Type.IntType)) { if (parentObject != null) { Class parentObjectType = parentObject.getClass(); VM.sysWrite("Copying int array (", 4 * ((int []) jdkObject).length); VM.sysWriteln(" bytes) from parent object of type ", parentObjectType.toString()); } else { VM.sysWriteln("Copying int array from no parent object"); } } // // copy array elements from host jdk address space into image // recurse on values that are references // if (rvmElementType.isPrimitiveType()) { // array element is logical or numeric type if (rvmElementType.equals(VM_Type.BooleanType)) { boolean values[] = (boolean[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setByte(arrayImageOffset + i, values[i] ? 1 : 0); } else if (rvmElementType.equals(VM_Type.ByteType)) { byte values[] = (byte[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setByte(arrayImageOffset + i, values[i]); } else if (rvmElementType.equals(VM_Type.CharType)) { char values[] = (char[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setHalfWord(arrayImageOffset + (i << LOG_BYTES_IN_CHAR), values[i]); } else if (rvmElementType.equals(VM_Type.ShortType)) { short values[] = (short[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setHalfWord(arrayImageOffset + (i << LOG_BYTES_IN_SHORT), values[i]); } else if (rvmElementType.equals(VM_Type.IntType)) { int values[] = (int[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_INT), values[i]); } else if (rvmElementType.equals(VM_Type.LongType)) { long values[] = (long[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_LONG), values[i]); } else if (rvmElementType.equals(VM_Type.FloatType)) { float values[] = (float[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_FLOAT), Float.floatToIntBits(values[i])); } else if (rvmElementType.equals(VM_Type.DoubleType)) { double values[] = (double[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_DOUBLE), Double.doubleToLongBits(values[i])); } else fail("unexpected primitive array type: " + rvmArrayType); } else { // array element is reference type Object values[] = (Object []) jdkObject; Class jdkClass = jdkObject.getClass(); if (!allocOnly) { for (int i = 0; i<arrayCount; ++i) { if (values[i] != null) { if (verbose >= 2) traceContext.push(values[i].getClass().getName(), jdkClass.getName(), i); int imageOffset = copyToBootImage(values[i], allocOnly, -1, jdkObject); if (imageOffset == OBJECT_NOT_PRESENT) { // object not part of bootimage: install null reference if (verbose >= 2) traceContext.traceObjectNotInBootImage(); bootImage.setNullAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS)); } else { bootImage.setAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), bootImageAddress.add(imageOffset).toWord()); } if (verbose >= 2) traceContext.pop(); } } } } } else { if (rvmType == VM_Type.AddressArrayType) { if (verbose >= 2) depth--; AddressArray addrArray = (AddressArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.ObjectReferenceArrayType) { if (verbose >= 2) depth--; ObjectReferenceArray orArray = (ObjectReferenceArray) jdkObject; Object backing = orArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.OffsetArrayType) { if (verbose >= 2) depth--; OffsetArray addrArray = (OffsetArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.WordArrayType) { if (verbose >= 2) depth--; WordArray addrArray = (WordArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.ExtentArrayType) { if (verbose >= 2) depth--; ExtentArray addrArray = (ExtentArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.CodeArrayType) { if (verbose >= 2) depth--; VM_CodeArray codeArray = (VM_CodeArray) jdkObject; Object backing = codeArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType.isMagicType()) { VM.sysWriteln("Unhandled copying of magic type: " + rvmType.getDescriptor().toString()); VM.sysFail("incomplete boot image support"); } // // allocate space in image // VM_Class rvmScalarType = rvmType.asClass(); int scalarImageOffset = (overwriteOffset == -1) ? bootImage.allocateScalar(rvmScalarType) : overwriteOffset; mapEntry.imageOffset = scalarImageOffset; if (verbose >= 2) { if (depth == depthCutoff) say(SPACES.substring(0,depth+1), "TOO DEEP: cutting off"); else if (depth < depthCutoff) { String tab = SPACES.substring(0,depth+1); if (depth == 0 && jtocCount >= 0) tab = tab + "jtoc #" + String.valueOf(jtocCount) + " "; int scalarSize = rvmScalarType.getInstanceSize(); say(tab, "Copying object ", jdkType.getName(), " size=", String.valueOf(scalarSize), (scalarSize >= LARGE_SCALAR_SIZE) ? " large object!!!" : ""); } } // // copy object fields from host jdk address space into image // recurse on values that are references // VM_Field[] rvmFields = rvmScalarType.getInstanceFields(); for (int i = 0, n = rvmFields.length; i < n; ++i) { VM_Field rvmField = rvmFields[i]; VM_TypeReference rvmFieldType = rvmField.getType(); int rvmFieldOffset = scalarImageOffset + rvmField.getOffsetAsInt(); String rvmFieldName = rvmField.getName().toString(); Field jdkFieldAcc = getJdkFieldAccessor(jdkType, i, INSTANCE_FIELD); if (jdkFieldAcc == null) { if (verbose >= 2) traceContext.push(rvmFieldType.toString(), jdkType.getName(), rvmFieldName); if (verbose >= 2) traceContext.traceFieldNotInHostJdk(); if (verbose >= 2) traceContext.pop(); if (rvmFieldType.isPrimitiveType()) switch (rvmField.getType().getSize()) { case 4: bootImage.setFullWord(rvmFieldOffset, 0); break; case 8: bootImage.setDoubleWord(rvmFieldOffset, 0L); break; default:fail("unexpected field type: " + rvmFieldType); break; } else bootImage.setNullAddressWord(rvmFieldOffset); continue; } if (rvmFieldType.isPrimitiveType()) { // field is logical or numeric type if (rvmFieldType.isBooleanType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getBoolean(jdkObject) ? 1 : 0); } else if (rvmFieldType.isByteType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getByte(jdkObject)); } else if (rvmFieldType.isCharType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getChar(jdkObject)); } else if (rvmFieldType.isShortType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getShort(jdkObject)); } else if (rvmFieldType.isIntType()) { try { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getInt(jdkObject)); } catch (IllegalArgumentException ex) { System.err.println( "type " + rvmScalarType + ", field " + rvmField); throw ex; } } else if (rvmFieldType.isLongType()) { bootImage.setDoubleWord(rvmFieldOffset, jdkFieldAcc.getLong(jdkObject)); } else if (rvmFieldType.isFloatType()) { float f = jdkFieldAcc.getFloat(jdkObject); bootImage.setFullWord(rvmFieldOffset, Float.floatToIntBits(f)); } else if (rvmFieldType.isDoubleType()) { double d = jdkFieldAcc.getDouble(jdkObject); bootImage.setDoubleWord(rvmFieldOffset, Double.doubleToLongBits(d)); } else if (rvmFieldType.equals(VM_TypeReference.Address) || rvmFieldType.equals(VM_TypeReference.Word) || rvmFieldType.equals(VM_TypeReference.Extent) || rvmFieldType.equals(VM_TypeReference.Offset)) { Object o = jdkFieldAcc.get(jdkObject); String msg = " instance field " + rvmField.toString(); boolean warn = rvmFieldType.equals(VM_TypeReference.Address); bootImage.setAddressWord(rvmFieldOffset, getWordValue(o, msg, warn)); } else { fail("unexpected primitive field type: " + rvmFieldType); } } else { // field is reference type Object value = jdkFieldAcc.get(jdkObject); if (!allocOnly && value != null) { Class jdkClass = jdkFieldAcc.getDeclaringClass(); if (verbose >= 2) traceContext.push(value.getClass().getName(), jdkClass.getName(), jdkFieldAcc.getName()); int imageOffset = copyToBootImage(value, allocOnly, -1, jdkObject); if (imageOffset == OBJECT_NOT_PRESENT) { // object not part of bootimage: install null reference if (verbose >= 2) traceContext.traceObjectNotInBootImage(); bootImage.setNullAddressWord(rvmFieldOffset); } else bootImage.setAddressWord(rvmFieldOffset, bootImageAddress.add(imageOffset).toWord()); if (verbose >= 2) traceContext.pop(); } } } } // // copy object's type information block into image, if it's not there // already // if (!allocOnly) { if (verbose >= 2) traceContext.push("", jdkObject.getClass().getName(), "tib"); int tibImageOffset = copyToBootImage(rvmType.getTypeInformationBlock(), allocOnly, -1, jdkObject); if (verbose >= 2) traceContext.pop(); if (tibImageOffset == OBJECT_NOT_ALLOCATED) fail("can't copy tib for " + jdkObject); Address tibAddress = bootImageAddress.add(tibImageOffset); VM_ObjectModel.setTIB(bootImage, mapEntry.imageOffset, tibAddress, rvmType); } if (verbose >= 2) depth--; return mapEntry.imageOffset; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/512b7ae853c6979c3f6acf302871ef9527123d44/BootImageWriter.java/buggy/rvm/src/tools/bootImageWriter/BootImageWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 509, 29817, 15817, 2040, 12, 921, 525, 2883, 921, 16, 4766, 1377, 1250, 4767, 3386, 16, 509, 6156, 2335, 16, 4766, 1377, 1033, 982, 921, 13, 565, 1216, 11900, 565, 288, 1377, 368, 1377, 368, 2000, 733, 309, 518, 353, 1818, 9268, 471, 486, 3832, 15345, 1377, 368, 1377, 26254, 2040, 863, 18, 1622, 852, 1622, 273, 26254, 2040, 863, 18, 4720, 17717, 1622, 12, 78, 2883, 921, 1769, 1377, 309, 261, 1458, 1622, 18, 2730, 2335, 480, 12166, 67, 4400, 67, 1013, 1502, 13890, 597, 6156, 2335, 422, 300, 21, 13, 3639, 327, 852, 1622, 18, 2730, 2335, 31, 1377, 309, 261, 11369, 1545, 576, 13, 3598, 9904, 31, 1377, 368, 1377, 368, 2158, 733, 1807, 618, 1779, 1377, 368, 1377, 1659, 282, 525, 2883, 559, 273, 525, 2883, 921, 18, 588, 797, 5621, 1377, 8251, 67, 559, 436, 3489, 559, 273, 4170, 3489, 559, 12, 78, 2883, 559, 1769, 1377, 309, 261, 86, 3489, 559, 422, 446, 13, 288, 3639, 309, 261, 11369, 1545, 576, 13, 10080, 921, 12, 78, 2883, 921, 1769, 3639, 309, 261, 11369, 1545, 576, 13, 3598, 413, 31, 3639, 327, 12166, 67, 4400, 67, 3670, 17418, 31, 368, 733, 486, 1087, 434, 4835, 2730, 1377, 289, 1377, 368, 1377, 368, 1610, 733, 358, 1316, 1377, 368, 1377, 309, 261, 78, 2883, 559, 18, 291, 1076, 10756, 288, 3639, 8251, 67, 1076, 436, 3489, 27182, 273, 436, 3489, 559, 18, 345, 1076, 5621, 3639, 368, 3639, 368, 10101, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 509, 29817, 15817, 2040, 12, 921, 525, 2883, 921, 16, 4766, 1377, 1250, 4767, 3386, 16, 509, 6156, 2335, 16, 4766, 1377, 1033, 982, 921, 13, 565, 1216, 11900, 565, 288, 1377, 368, 1377, 368, 2000, 733, 309, 518, 353, 1818, 9268, 471, 486, 3832, 15345, 1377, 368, 1377, 26254, 2040, 863, 18, 1622, 852, 1622, 273, 26254, 2040, 863, 18, 4720, 17717, 1622, 12, 78, 2883, 921, 1769, 1377, 309, 261, 1458, 1622, 18, 2730, 2335, 480, 12166, 67, 4400, 67, 1013, 1502, 13890, 597, 6156, 2335, 422, 300, 21, 13, 3639, 327, 852, 1622, 18, 2730, 2335, 31, 1377, 309, 261, 11369, 1545, 576, 13, 3598, 9904, 31, 1377, 368, 1377, 368, 2158, 733, 2 ]
if (selectedItem != null && (dataModel instanceof DefaultComboBoxModel)) return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem);
if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { int size = dataModel.getSize(); for(int i=0; i < size; i++) { Object o = dataModel.getElementAt(i); if((selectedItem != null) ? selectedItem.equals(o) : o == null) { return i; } } } }
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null && (dataModel instanceof DefaultComboBoxModel)) return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); return -1; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/afd5c0ff01c2742fd202b8024455897d82c40368/JComboBox.java/clean/javax/swing/JComboBox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 16625, 1016, 1435, 225, 288, 565, 1033, 3170, 1180, 273, 16625, 1180, 5621, 565, 309, 261, 8109, 1180, 480, 446, 597, 261, 892, 1488, 1276, 2989, 22199, 1488, 3719, 1377, 327, 14015, 1868, 22199, 1488, 13, 27600, 2934, 588, 31985, 12, 8109, 1180, 1769, 565, 327, 300, 21, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 16625, 1016, 1435, 225, 288, 565, 1033, 3170, 1180, 273, 16625, 1180, 5621, 565, 309, 261, 8109, 1180, 480, 446, 597, 261, 892, 1488, 1276, 2989, 22199, 1488, 3719, 1377, 327, 14015, 1868, 22199, 1488, 13, 27600, 2934, 588, 31985, 12, 8109, 1180, 1769, 565, 327, 300, 21, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
currentText = null; needNewTextChunk = true;
protected void startElement(String name, Attributes attrib) throws SWFWriterException { String tmp; // Initialize state data textChunks.clear(); hasLayout = false; leftMargin = 0; rightMargin = 0; indent = 0; lineSpacing = 0; nextFont = DEFAULT_FONT; nextFontSize = 240; nextAlign = SWFDefineTextField.ALIGN_LEFT; nextColor = DEFAULT_COLOR; alpha = 0xFF; currentText = null; needNewTextChunk = true; try { tmp = attrib.getValue("", "id"); if (tmp != null) id = Integer.parseInt(tmp); tmp = attrib.getValue("", "name"); if (tmp != null) varName = tmp; else varName = ""; try { bounds = new SWFRectangle( Integer.parseInt(attrib.getValue("", "xmin")), Integer.parseInt(attrib.getValue("", "xmax")), Integer.parseInt(attrib.getValue("", "ymin")), Integer.parseInt(attrib.getValue("", "ymax"))); } catch (Exception e) { fatalError("Text bounds must be specified"); } tmp = attrib.getValue("", "alpha"); if (tmp!=null) alpha = Integer.parseInt(tmp.substring(1,3), 16); // Convert layout values to "TWIPS" by multiplying with twenty tmp = attrib.getValue("", "indent"); if (tmp!=null) { hasLayout = true; indent = Math.round(Float.parseFloat(tmp) * 20.0F); } tmp = attrib.getValue("", "leftmargin"); if (tmp!=null) { hasLayout = true; leftMargin = Math.round(Float.parseFloat(tmp) * 20.0F); } tmp = attrib.getValue("", "rightmargin"); if (tmp!=null) { hasLayout = true; rightMargin = Math.round(Float.parseFloat(tmp) * 20.0F); } tmp = attrib.getValue("", "linespacing"); if (tmp!=null) { hasLayout = true; lineSpacing = Math.round(Float.parseFloat(tmp) * 20.0F); } hasBorder = "yes".equals(attrib.getValue("", "border")); isSelectable = "yes".equals(attrib.getValue("", "selectable")); } catch (SWFWriterException e) { throw e; } catch (Exception e) { fatalError(e); } }
11735 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11735/bfa3301375bf987749e5bc3d4c8ca2cc967346f9/XMLTextHandler.java/buggy/spark/src/de/tivano/flash/swf/publisher/XMLTextHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 13591, 12, 780, 508, 16, 9055, 5885, 13, 202, 1377, 1216, 16392, 42, 2289, 503, 288, 202, 780, 1853, 31, 202, 759, 9190, 919, 501, 202, 955, 14975, 18, 8507, 5621, 202, 5332, 3744, 273, 629, 31, 202, 4482, 9524, 273, 374, 31, 202, 4083, 9524, 273, 374, 31, 202, 9355, 273, 374, 31, 202, 1369, 18006, 273, 374, 31, 202, 4285, 5711, 273, 3331, 67, 25221, 31, 202, 4285, 22688, 273, 27610, 31, 202, 4285, 10044, 273, 16392, 42, 11644, 16157, 18, 26439, 67, 10066, 31, 202, 4285, 2957, 273, 3331, 67, 10989, 31, 202, 5429, 225, 273, 374, 6356, 31, 202, 2972, 1528, 273, 446, 31, 202, 14891, 1908, 1528, 5579, 273, 638, 31, 202, 202, 698, 288, 202, 565, 1853, 273, 5885, 18, 24805, 2932, 3113, 315, 350, 8863, 202, 565, 309, 261, 5645, 480, 446, 13, 612, 273, 2144, 18, 2670, 1702, 12, 5645, 1769, 202, 565, 1853, 273, 5885, 18, 24805, 2932, 3113, 315, 529, 8863, 202, 565, 309, 261, 5645, 480, 446, 13, 13722, 273, 1853, 31, 202, 565, 469, 13722, 273, 1408, 31, 202, 565, 775, 288, 202, 202, 10576, 273, 394, 16392, 42, 19463, 12, 1082, 202, 4522, 18, 2670, 1702, 12, 14588, 18, 24805, 2932, 3113, 315, 92, 1154, 7923, 3631, 1082, 202, 4522, 18, 2670, 1702, 12, 14588, 18, 24805, 2932, 3113, 315, 92, 1896, 7923, 3631, 1082, 202, 4522, 18, 2670, 1702, 12, 14588, 18, 24805, 2932, 3113, 315, 93, 1154, 7923, 3631, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 13591, 12, 780, 508, 16, 9055, 5885, 13, 202, 1377, 1216, 16392, 42, 2289, 503, 288, 202, 780, 1853, 31, 202, 759, 9190, 919, 501, 202, 955, 14975, 18, 8507, 5621, 202, 5332, 3744, 273, 629, 31, 202, 4482, 9524, 273, 374, 31, 202, 4083, 9524, 273, 374, 31, 202, 9355, 273, 374, 31, 202, 1369, 18006, 273, 374, 31, 202, 4285, 5711, 273, 3331, 67, 25221, 31, 202, 4285, 22688, 273, 27610, 31, 202, 4285, 10044, 273, 16392, 42, 11644, 16157, 18, 26439, 67, 10066, 31, 202, 4285, 2957, 273, 3331, 67, 10989, 31, 202, 5429, 225, 273, 374, 6356, 31, 202, 2972, 1528, 273, 446, 31, 202, 14891, 1908, 1528, 5579, 273, 638, 31, 2 ]
public org.quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { org.quickfix.field.SecurityAltID value = new org.quickfix.field.SecurityAltID();
public quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { quickfix.field.SecurityAltID value = new quickfix.field.SecurityAltID();
public org.quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { org.quickfix.field.SecurityAltID value = new org.quickfix.field.SecurityAltID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/buggy/src/java/src/quickfix/fix44/NewOrderCross.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 19288, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!project.isAccessible())
if (!project.isAccessible()) {
private void createProjectSelectionTable(Composite radioGroup) { projectNames = CheckboxTableViewer.newCheckList(radioGroup, SWT.BORDER); projectNames.setContentProvider(new WorkbenchContentProvider()); projectNames.setLabelProvider(new WorkbenchLabelProvider()); projectNames.setSorter(new ResourceSorter(ResourceSorter.NAME)); projectNames.addFilter(new ViewerFilter() { private final IProject[] projectHolder = new IProject[1]; public boolean select(Viewer viewer, Object parentElement, Object element) { if (!(element instanceof IProject)) return false; IProject project = (IProject) element; if (!project.isAccessible()) return false; projectHolder[0] = project; return BuildUtilities.isEnabled(projectHolder, IncrementalProjectBuilder.CLEAN_BUILD); } }); projectNames.setInput(ResourcesPlugin.getWorkspace().getRoot()); GridData data = new GridData(GridData.FILL_BOTH); data.horizontalSpan = 2; data.widthHint = IDialogConstants.ENTRY_FIELD_WIDTH; data.heightHint = IDialogConstants.ENTRY_FIELD_WIDTH; projectNames.getTable().setLayoutData(data); projectNames.setCheckedElements(selection); //table is disabled to start because all button is selected projectNames.getTable().setEnabled(selectedButton.getSelection()); projectNames.addCheckStateListener(new ICheckStateListener() { public void checkStateChanged(CheckStateChangedEvent event) { selection = projectNames.getCheckedElements(); updateEnablement(); } }); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/CleanDialog.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/CleanDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 4109, 6233, 1388, 12, 9400, 13512, 1114, 13, 288, 377, 202, 4406, 1557, 273, 29213, 1388, 18415, 18, 2704, 1564, 682, 12, 17006, 1114, 16, 348, 8588, 18, 38, 7954, 1769, 377, 202, 4406, 1557, 18, 542, 1350, 2249, 12, 2704, 4147, 22144, 1350, 2249, 10663, 377, 202, 4406, 1557, 18, 542, 2224, 2249, 12, 2704, 4147, 22144, 2224, 2249, 10663, 377, 202, 4406, 1557, 18, 542, 24952, 12, 2704, 2591, 24952, 12, 1420, 24952, 18, 1985, 10019, 377, 202, 4406, 1557, 18, 1289, 1586, 12, 2704, 4441, 264, 1586, 1435, 288, 377, 202, 202, 1152, 727, 467, 4109, 8526, 1984, 6064, 273, 394, 467, 4109, 63, 21, 15533, 1082, 202, 482, 1250, 2027, 12, 18415, 14157, 16, 1033, 30363, 16, 1033, 930, 13, 288, 9506, 202, 430, 16051, 12, 2956, 1276, 467, 4109, 3719, 6862, 202, 2463, 629, 31, 9506, 202, 45, 4109, 1984, 273, 261, 45, 4109, 13, 930, 31, 9506, 202, 430, 16051, 4406, 18, 291, 10451, 10756, 6862, 202, 2463, 629, 31, 9506, 202, 4406, 6064, 63, 20, 65, 273, 1984, 31, 9506, 202, 2463, 3998, 11864, 18, 291, 1526, 12, 4406, 6064, 16, 17883, 287, 4109, 1263, 18, 39, 10439, 67, 20215, 1769, 1082, 202, 97, 202, 202, 22938, 377, 202, 4406, 1557, 18, 542, 1210, 12, 3805, 3773, 18, 588, 8241, 7675, 588, 2375, 10663, 377, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 377, 202, 892, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 4109, 6233, 1388, 12, 9400, 13512, 1114, 13, 288, 377, 202, 4406, 1557, 273, 29213, 1388, 18415, 18, 2704, 1564, 682, 12, 17006, 1114, 16, 348, 8588, 18, 38, 7954, 1769, 377, 202, 4406, 1557, 18, 542, 1350, 2249, 12, 2704, 4147, 22144, 1350, 2249, 10663, 377, 202, 4406, 1557, 18, 542, 2224, 2249, 12, 2704, 4147, 22144, 2224, 2249, 10663, 377, 202, 4406, 1557, 18, 542, 24952, 12, 2704, 2591, 24952, 12, 1420, 24952, 18, 1985, 10019, 377, 202, 4406, 1557, 18, 1289, 1586, 12, 2704, 4441, 264, 1586, 1435, 288, 377, 202, 202, 1152, 727, 467, 4109, 8526, 1984, 6064, 273, 394, 467, 4109, 63, 21, 15533, 1082, 202, 482, 1250, 2027, 12, 2 ]
setModified(true);
public void setVersionUserName(String versionUserName) { if (((versionUserName == null) && (_versionUserName != null)) || ((versionUserName != null) && (_versionUserName == null)) || ((versionUserName != null) && (_versionUserName != null) && !versionUserName.equals(_versionUserName))) { if (!XSS_ALLOW_VERSIONUSERNAME) { versionUserName = XSSUtil.strip(versionUserName); } _versionUserName = versionUserName; setModified(true); } }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/DLFileEntryModel.java/buggy/portal-ejb/src/com/liferay/portlet/documentlibrary/model/DLFileEntryModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 16770, 15296, 12, 780, 1177, 15296, 13, 288, 202, 202, 430, 261, 12443, 1589, 15296, 422, 446, 13, 597, 261, 67, 1589, 15296, 480, 446, 3719, 747, 9506, 202, 12443, 1589, 15296, 480, 446, 13, 597, 261, 67, 1589, 15296, 422, 446, 3719, 747, 9506, 202, 12443, 1589, 15296, 480, 446, 13, 597, 261, 67, 1589, 15296, 480, 446, 13, 597, 9506, 202, 5, 1589, 15296, 18, 14963, 24899, 1589, 15296, 20349, 288, 1082, 202, 430, 16051, 60, 1260, 67, 13511, 67, 5757, 21292, 13, 288, 9506, 202, 1589, 15296, 273, 1139, 1260, 1304, 18, 6406, 12, 1589, 15296, 1769, 1082, 202, 97, 1082, 202, 67, 1589, 15296, 273, 1177, 15296, 31, 1082, 202, 542, 4575, 12, 3767, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 16770, 15296, 12, 780, 1177, 15296, 13, 288, 202, 202, 430, 261, 12443, 1589, 15296, 422, 446, 13, 597, 261, 67, 1589, 15296, 480, 446, 3719, 747, 9506, 202, 12443, 1589, 15296, 480, 446, 13, 597, 261, 67, 1589, 15296, 422, 446, 3719, 747, 9506, 202, 12443, 1589, 15296, 480, 446, 13, 597, 261, 67, 1589, 15296, 480, 446, 13, 597, 9506, 202, 5, 1589, 15296, 18, 14963, 24899, 1589, 15296, 20349, 288, 1082, 202, 430, 16051, 60, 1260, 67, 13511, 67, 5757, 21292, 13, 288, 9506, 202, 1589, 15296, 273, 1139, 1260, 1304, 18, 6406, 12, 1589, 15296, 1769, 1082, 202, 97, 1082, 202, 67, 1589, 15296, 273, 1177, 15296, 31, 1082, 202, 542, 2 ]
if (!isComparison(condition, var)) {
if (condition == null || !isComparison(condition, var)) {
public void visitForStatement(@NotNull PsiForStatement forStatement) { super.visitForStatement(forStatement); final PsiStatement initialization = forStatement.getInitialization(); if (!(initialization instanceof PsiDeclarationStatement)) { return; } final PsiDeclarationStatement declaration = (PsiDeclarationStatement)initialization; if (declaration.getDeclaredElements().length != 1) { return; } final PsiLocalVariable var = (PsiLocalVariable) declaration.getDeclaredElements()[0]; final PsiExpression initialValue = var.getInitializer(); if (initialValue != null) { final PsiManager manager = initialValue.getManager(); final PsiConstantEvaluationHelper constantEvaluationHelper = manager.getConstantEvaluationHelper(); final Object value = constantEvaluationHelper.computeConstantExpression( initialValue); if (!(value instanceof Integer)) { return; } final Integer integer = (Integer)value; if (integer.intValue() != 0) { return; } } final PsiExpression condition = forStatement.getCondition(); if (!isComparison(condition, var)) { return; } final PsiStatement update = forStatement.getUpdate(); if (!isIncrement(update, var)) { return; } final PsiStatement body = forStatement.getBody(); if (!bodyIsArrayMove(body, var)) { return; } registerStatementError(forStatement); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/bfd31bd8696db099997fb72e3c0cfc91292d79fb/ManualArrayCopyInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/ManualArrayCopyInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 1290, 3406, 26964, 5962, 453, 7722, 1290, 3406, 364, 3406, 13, 288, 5411, 2240, 18, 11658, 1290, 3406, 12, 1884, 3406, 1769, 5411, 727, 453, 7722, 3406, 10313, 273, 10792, 364, 3406, 18, 588, 17701, 5621, 5411, 309, 16051, 12, 6769, 1588, 1276, 453, 7722, 6094, 3406, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 6094, 3406, 8266, 273, 10792, 261, 52, 7722, 6094, 3406, 13, 6769, 1588, 31, 5411, 309, 261, 22448, 18, 588, 18888, 3471, 7675, 2469, 480, 404, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 2042, 3092, 569, 273, 261, 52, 7722, 2042, 3092, 13, 10792, 8266, 18, 588, 18888, 3471, 1435, 63, 20, 15533, 5411, 727, 453, 7722, 2300, 11837, 273, 569, 18, 588, 14729, 5621, 5411, 309, 261, 6769, 620, 480, 446, 13, 288, 7734, 727, 453, 7722, 1318, 3301, 273, 11837, 18, 588, 1318, 5621, 7734, 727, 453, 7722, 6902, 13468, 2276, 5381, 13468, 2276, 273, 13491, 3301, 18, 588, 6902, 13468, 2276, 5621, 7734, 727, 1033, 460, 273, 13491, 5381, 13468, 2276, 18, 9200, 6902, 2300, 12, 27573, 11837, 1769, 7734, 309, 16051, 12, 1132, 1276, 2144, 3719, 288, 10792, 327, 31, 7734, 289, 7734, 727, 2144, 3571, 273, 261, 4522, 13, 1132, 31, 7734, 309, 261, 7745, 18, 474, 620, 1435, 480, 374, 13, 288, 10792, 327, 31, 7734, 289, 5411, 289, 5411, 727, 453, 7722, 2300, 2269, 273, 364, 3406, 18, 588, 3418, 5621, 5411, 309, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 1290, 3406, 26964, 5962, 453, 7722, 1290, 3406, 364, 3406, 13, 288, 5411, 2240, 18, 11658, 1290, 3406, 12, 1884, 3406, 1769, 5411, 727, 453, 7722, 3406, 10313, 273, 10792, 364, 3406, 18, 588, 17701, 5621, 5411, 309, 16051, 12, 6769, 1588, 1276, 453, 7722, 6094, 3406, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 6094, 3406, 8266, 273, 10792, 261, 52, 7722, 6094, 3406, 13, 6769, 1588, 31, 5411, 309, 261, 22448, 18, 588, 18888, 3471, 7675, 2469, 480, 404, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 2042, 3092, 569, 273, 261, 52, 7722, 2042, 3092, 13, 10792, 8266, 18, 588, 18888, 3471, 1435, 63, 20, 15533, 2 ]
carry = (ca1[icarry - 1] == '1' || ca1[icarry - 1] == '3' || ca1[icarry - 1] == '5' || ca1[icarry - 1] == '7' || ca1[icarry - 1] == '9');
carry = (ca1[icarry - 1] == '1' || ca1[icarry - 1] == '3' || ca1[icarry - 1] == '5' || ca1[icarry - 1] == '7' || ca1[icarry - 1] == '9');
private boolean checkForCarry(char[] ca1, int icarry) { boolean carry = false; if (icarry < ca1.length) { if (ca1[icarry] == '6' || ca1[icarry] == '7' || ca1[icarry] == '8' || ca1[icarry] == '9') { carry = true; } else if (ca1[icarry] == '5') { int ii = icarry + 1; for (; ii < ca1.length; ii++) { if (ca1[ii] != '0') { break; } } carry = ii < ca1.length; if (!carry && icarry > 0) { carry = (ca1[icarry - 1] == '1' || ca1[icarry - 1] == '3' || ca1[icarry - 1] == '5' || ca1[icarry - 1] == '7' || ca1[icarry - 1] == '9'); } } } return carry; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/81a0eece47a6b5f01a9201699d7d2364fc0b93c5/PrintfFormat.java/buggy/src/org/opencms/util/PrintfFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1250, 13855, 16321, 1176, 12, 3001, 8526, 3474, 21, 16, 509, 277, 9815, 1176, 13, 288, 5411, 1250, 9331, 273, 629, 31, 5411, 309, 261, 335, 297, 1176, 411, 3474, 21, 18, 2469, 13, 288, 7734, 309, 261, 5353, 21, 63, 335, 297, 1176, 65, 422, 296, 26, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 27, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 28, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 29, 6134, 288, 10792, 9331, 273, 638, 31, 7734, 289, 469, 309, 261, 5353, 21, 63, 335, 297, 1176, 65, 422, 296, 25, 6134, 288, 10792, 509, 6072, 273, 277, 9815, 1176, 397, 404, 31, 10792, 364, 261, 31, 6072, 411, 3474, 21, 18, 2469, 31, 6072, 27245, 288, 13491, 309, 261, 5353, 21, 63, 2835, 65, 480, 296, 20, 6134, 288, 18701, 898, 31, 13491, 289, 10792, 289, 10792, 9331, 273, 6072, 411, 3474, 21, 18, 2469, 31, 10792, 309, 16051, 9815, 1176, 597, 277, 9815, 1176, 405, 374, 13, 288, 13491, 9331, 273, 261, 5353, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 296, 21, 11, 747, 3474, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 296, 23, 11, 747, 3474, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 296, 25, 11, 747, 3474, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 296, 27, 11, 747, 3474, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1250, 13855, 16321, 1176, 12, 3001, 8526, 3474, 21, 16, 509, 277, 9815, 1176, 13, 288, 5411, 1250, 9331, 273, 629, 31, 5411, 309, 261, 335, 297, 1176, 411, 3474, 21, 18, 2469, 13, 288, 7734, 309, 261, 5353, 21, 63, 335, 297, 1176, 65, 422, 296, 26, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 27, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 28, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 29, 6134, 288, 10792, 9331, 273, 638, 31, 7734, 289, 469, 309, 261, 5353, 21, 63, 335, 297, 1176, 65, 422, 296, 25, 6134, 288, 10792, 509, 6072, 273, 277, 9815, 1176, 397, 404, 2 ]
if (((mY - y) % 2) == 0) g.setColor(light); else g.setColor(dark);
int xOff = 0; for (int mY = y; mY < (y + h); mY++) { if (((mY - y) % 2) == 0) g.setColor(light); else g.setColor(dark);
static void fillMetalPattern(Graphics g, int x, int y, int w, int h, Color light, Color dark) { int xOff = 0; for (int mY = y; mY < (y + h); mY++) { // set color alternating with every line if (((mY - y) % 2) == 0) g.setColor(light); else g.setColor(dark); for (int mX = x + (xOff); mX < (x + w); mX += 4) { g.drawLine(mX, mY, mX, mY); } // increase x offset xOff++; if (xOff > 3) xOff = 0; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MetalUtils.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 3636, 26365, 3234, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 341, 16, 509, 366, 16, 27573, 5563, 9052, 16, 5563, 23433, 13, 225, 288, 565, 509, 619, 7210, 273, 374, 31, 565, 364, 261, 474, 312, 61, 273, 677, 31, 312, 61, 411, 261, 93, 397, 366, 1769, 312, 61, 27245, 1377, 288, 3639, 368, 444, 2036, 6416, 1776, 598, 3614, 980, 3639, 309, 261, 12443, 81, 61, 300, 677, 13, 738, 576, 13, 422, 374, 13, 1850, 314, 18, 542, 2957, 12, 5099, 1769, 3639, 469, 1850, 314, 18, 542, 2957, 12, 25045, 1769, 3639, 364, 261, 474, 312, 60, 273, 619, 397, 261, 92, 7210, 1769, 312, 60, 411, 261, 92, 397, 341, 1769, 312, 60, 1011, 1059, 13, 1850, 288, 5411, 314, 18, 9446, 1670, 12, 81, 60, 16, 312, 61, 16, 312, 60, 16, 312, 61, 1769, 1850, 289, 3639, 368, 10929, 619, 1384, 3639, 619, 7210, 9904, 31, 3639, 309, 261, 92, 7210, 405, 890, 13, 1850, 619, 7210, 273, 374, 31, 1377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 3636, 26365, 3234, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 341, 16, 509, 366, 16, 27573, 5563, 9052, 16, 5563, 23433, 13, 225, 288, 565, 509, 619, 7210, 273, 374, 31, 565, 364, 261, 474, 312, 61, 273, 677, 31, 312, 61, 411, 261, 93, 397, 366, 1769, 312, 61, 27245, 1377, 288, 3639, 368, 444, 2036, 6416, 1776, 598, 3614, 980, 3639, 309, 261, 12443, 81, 61, 300, 677, 13, 738, 576, 13, 422, 374, 13, 1850, 314, 18, 542, 2957, 12, 5099, 1769, 3639, 469, 1850, 314, 18, 542, 2957, 12, 25045, 1769, 3639, 364, 261, 474, 312, 60, 273, 619, 397, 261, 92, 7210, 1769, 312, 60, 411, 261, 2 ]
private void purgeFile(String exportFileName) { String rfsName = CmsFileUtil.normalizePath(OpenCms.getStaticExportManager().getRfsPrefix() + "/" + exportFileName.substring(OpenCms.getStaticExportManager().getExportPath().length())); rfsName = CmsStringUtil.substitute(rfsName, new String(new char[] {File.separatorChar}), "/"); try { File exportFile = new File(exportFileName); // check if export file exists, if so delete it if (exportFile.exists() && exportFile.canWrite()) { exportFile.delete(); // write log message if (OpenCms.getLog(this).isInfoEnabled()) { OpenCms.getLog(this).info("Static export deleted exported rfs file '" + rfsName + "'"); } } } catch (Throwable t) { // ignore, nothing to do about this if (OpenCms.getLog(this).isWarnEnabled()) { OpenCms.getLog(this).warn("Error deleting static export file rfsName='" + rfsName + "'", t); } } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/505e248a5535d56bf89e7d0693715ce6df4ceec9/A_CmsOnDemandStaticExportHandler.java/buggy/src/org/opencms/staticexport/A_CmsOnDemandStaticExportHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 26422, 812, 12, 780, 6530, 4771, 15329, 780, 86, 2556, 461, 33, 4747, 812, 1304, 18, 12237, 743, 12, 3678, 4747, 18, 588, 5788, 6144, 1318, 7675, 588, 54, 2556, 2244, 1435, 9078, 4898, 15, 6530, 4771, 18, 28023, 12, 3678, 4747, 18, 588, 5788, 6144, 1318, 7675, 588, 6144, 743, 7675, 2469, 1435, 10019, 86, 2556, 461, 33, 4747, 13565, 18, 1717, 17207, 12, 86, 2556, 461, 16, 2704, 780, 12, 2704, 3001, 63, 7073, 812, 18, 11287, 2156, 97, 3631, 6, 4898, 1769, 698, 95, 812, 6530, 812, 33, 2704, 812, 12, 6530, 4771, 1769, 759, 1893, 430, 6530, 768, 1808, 16, 17249, 369, 929, 305, 430, 12, 6530, 812, 18, 1808, 1435, 10, 10, 6530, 812, 18, 4169, 3067, 10756, 95, 6530, 812, 18, 3733, 5621, 759, 5363, 12970, 2150, 430, 12, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 95, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 1376, 2932, 5000, 1812, 92, 655, 3733, 561, 1798, 86, 2556, 768, 4970, 15, 86, 2556, 461, 9078, 4970, 1769, 9090, 97, 14683, 12, 8282, 378, 1810, 15329, 759, 6185, 16, 30874, 9012, 21071, 2211, 430, 12, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 3160, 1526, 10756, 95, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 8935, 2932, 2524, 517, 808, 310, 5642, 1812, 92, 655, 11894, 2556, 461, 13396, 15, 86, 2556, 461, 15, 5187, 3113, 88, 1769, 9090, 97, 2, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 26422, 812, 12, 780, 6530, 4771, 15329, 780, 86, 2556, 461, 33, 4747, 812, 1304, 18, 12237, 743, 12, 3678, 4747, 18, 588, 5788, 6144, 1318, 7675, 588, 54, 2556, 2244, 1435, 9078, 4898, 15, 6530, 4771, 18, 28023, 12, 3678, 4747, 18, 588, 5788, 6144, 1318, 7675, 588, 6144, 743, 7675, 2469, 1435, 10019, 86, 2556, 461, 33, 4747, 13565, 18, 1717, 17207, 12, 86, 2556, 461, 16, 2704, 780, 12, 2704, 3001, 63, 7073, 812, 18, 11287, 2156, 97, 3631, 6, 4898, 1769, 698, 95, 812, 6530, 812, 33, 2704, 812, 12, 6530, 4771, 1769, 759, 1893, 430, 6530, 768, 1808, 16, 17249, 369, 929, 305, 430, 12, 6530, 812, 18, 1808, 1435, 10, 10, 2 ]
SIPRequest sipRequest = (SIPRequest) request; RequestLine requestLine = sipRequest.getRequestLine(); if (requestLine == null) throw new IllegalArgumentException("Bad message"); javax.sip.address.URI requestURI = requestLine.getUri(); if (requestURI == null) throw new IllegalArgumentException("Bad message: Null requestURI"); LinkedList ll = null; RouteList routes = sipRequest.getRouteHeaders(); if (routes != null) { ll = new LinkedList(); Route route = (Route) routes.getFirst(); SipUri uri = (SipUri) route.getAddress().getURI(); int port; if (uri.getHostPort().hasPort()) { sipStack.logWriter.logMessage("routeHeader = " + uri.encode()); sipStack.logWriter.logMessage( "port = " + uri.getHostPort().getPort()); port = uri.getHostPort().getPort(); } else { port = 5060; } String host = uri.getHost(); String transport = uri.getTransportParam(); if (transport == null) transport = SIPConstants.UDP; HopImpl hop = new HopImpl(host, port, transport); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage( "We use the Route header to " + "forward the message"); } else if ( requestURI instanceof SipURI && ((SipURI) requestURI).getMAddrParam() != null) { String maddr = ((SipURI) requestURI).getMAddrParam(); String transport = ((SipURI) requestURI).getTransportParam(); if (transport == null) transport = SIPConstants.UDP; int port = 5060; HopImpl hop = new HopImpl(maddr, port, transport); hop.setURIRouteFlag(); ll = new LinkedList(); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage("Added Hop = " + hop.toString()); } else if (requestURI instanceof SipURI) { String host = ((SipURI) requestURI).getHost(); int port = ((SipURI) requestURI).getPort(); if (port == -1) port = 5060; if (hopsBackToMe(host, port)) { return null; } String transport = ((SipURI) requestURI).getTransportParam(); if (transport == null) transport = SIPConstants.UDP; HopImpl hop = new HopImpl(host, port, transport); ll = new LinkedList(); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage("Added Hop = " + hop.toString());
try { LinkedList llist = new LinkedList(); llist.add(this.getNextHop(request)); return llist.listIterator(); } catch (SipException ex) { return null;
public ListIterator getNextHops(Request request) { SIPRequest sipRequest = (SIPRequest) request; RequestLine requestLine = sipRequest.getRequestLine(); if (requestLine == null) throw new IllegalArgumentException("Bad message"); javax.sip.address.URI requestURI = requestLine.getUri(); if (requestURI == null) throw new IllegalArgumentException("Bad message: Null requestURI"); LinkedList ll = null; RouteList routes = sipRequest.getRouteHeaders(); if (routes != null) { // This has a route header so lets use the address // specified in the record route header. // Bug reported by Jiang He ll = new LinkedList(); Route route = (Route) routes.getFirst(); SipUri uri = (SipUri) route.getAddress().getURI(); int port; if (uri.getHostPort().hasPort()) { sipStack.logWriter.logMessage("routeHeader = " + uri.encode()); sipStack.logWriter.logMessage( "port = " + uri.getHostPort().getPort()); port = uri.getHostPort().getPort(); } else { port = 5060; } String host = uri.getHost(); String transport = uri.getTransportParam(); if (transport == null) transport = SIPConstants.UDP; HopImpl hop = new HopImpl(host, port, transport); ll.add(hop); // routes.removeFirst(); // sipRequest.setRequestURI(uri); if (LogWriter.needsLogging) sipStack.logWriter.logMessage( "We use the Route header to " + "forward the message"); } else if ( requestURI instanceof SipURI && ((SipURI) requestURI).getMAddrParam() != null) { String maddr = ((SipURI) requestURI).getMAddrParam(); String transport = ((SipURI) requestURI).getTransportParam(); if (transport == null) transport = SIPConstants.UDP; int port = 5060; HopImpl hop = new HopImpl(maddr, port, transport); hop.setURIRouteFlag(); ll = new LinkedList(); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage("Added Hop = " + hop.toString()); } else if (requestURI instanceof SipURI) { String host = ((SipURI) requestURI).getHost(); int port = ((SipURI) requestURI).getPort(); if (port == -1) port = 5060; if (hopsBackToMe(host, port)) { // Egads! route points back at me - better bail. return null; } String transport = ((SipURI) requestURI).getTransportParam(); if (transport == null) transport = SIPConstants.UDP; HopImpl hop = new HopImpl(host, port, transport); ll = new LinkedList(); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage("Added Hop = " + hop.toString()); } if (defaultRoute != null) { if (ll == null) ll = new LinkedList(); ll.add(defaultRoute); if (LogWriter.needsLogging) { sipStack.logWriter.logMessage( "Added Hop = " + defaultRoute.toString()); } } return ll == null ? null : ll.listIterator(); }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/DefaultRouter.java/clean/trunk/src/gov/nist/javax/sip/stack/DefaultRouter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 3198, 6927, 44, 4473, 12, 691, 590, 13, 288, 202, 202, 17739, 691, 10341, 691, 273, 261, 17739, 691, 13, 590, 31, 202, 202, 691, 1670, 590, 1670, 273, 10341, 691, 18, 588, 691, 1670, 5621, 202, 202, 430, 261, 2293, 1670, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 6434, 883, 8863, 202, 202, 28384, 18, 28477, 18, 2867, 18, 3098, 590, 3098, 273, 590, 1670, 18, 588, 3006, 5621, 202, 202, 430, 261, 2293, 3098, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 6434, 883, 30, 4112, 590, 3098, 8863, 202, 202, 13174, 682, 6579, 273, 446, 31, 202, 202, 3255, 682, 4912, 273, 10341, 691, 18, 588, 3255, 3121, 5621, 202, 202, 430, 261, 10854, 480, 446, 13, 288, 1082, 202, 759, 1220, 711, 279, 225, 1946, 1446, 1427, 14557, 999, 326, 1758, 1082, 202, 759, 1269, 316, 326, 1409, 1946, 1446, 18, 1082, 202, 759, 16907, 14010, 635, 804, 77, 539, 8264, 1082, 202, 2906, 273, 394, 10688, 5621, 1082, 202, 3255, 1946, 273, 261, 3255, 13, 4912, 18, 588, 3759, 5621, 1082, 202, 17550, 3006, 2003, 273, 261, 17550, 3006, 13, 1946, 18, 588, 1887, 7675, 588, 3098, 5621, 1082, 202, 474, 1756, 31, 1082, 202, 430, 261, 1650, 18, 588, 16688, 7675, 5332, 2617, 10756, 288, 9506, 202, 28477, 2624, 18, 1330, 2289, 18, 1330, 1079, 2932, 5547, 1864, 273, 315, 397, 2003, 18, 3015, 10663, 9506, 202, 28477, 2624, 18, 1330, 2289, 18, 1330, 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, 987, 3198, 6927, 44, 4473, 12, 691, 590, 13, 288, 202, 202, 17739, 691, 10341, 691, 273, 261, 17739, 691, 13, 590, 31, 202, 202, 691, 1670, 590, 1670, 273, 10341, 691, 18, 588, 691, 1670, 5621, 202, 202, 430, 261, 2293, 1670, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 6434, 883, 8863, 202, 202, 28384, 18, 28477, 18, 2867, 18, 3098, 590, 3098, 273, 590, 1670, 18, 588, 3006, 5621, 202, 202, 430, 261, 2293, 3098, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 6434, 883, 30, 4112, 590, 3098, 8863, 202, 202, 13174, 682, 6579, 273, 446, 31, 202, 202, 3255, 682, 4912, 273, 10341, 691, 18, 588, 3255, 3121, 5621, 2 ]
public ParameterizedBinaryMethod(JavaElement parent, String name, String[] parameterTypes, String uniqueKey) {
public ParameterizedBinaryMethod(JavaElement parent, String name, String[] parameterTypes, String genericDeclaringTypeSignature, String genericSignature, String[] genericTypeArgumentsSignatures) {
public ParameterizedBinaryMethod(JavaElement parent, String name, String[] parameterTypes, String uniqueKey) { super(parent, name, parameterTypes); this.uniqueKey = uniqueKey; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/562f566c1c2b8bfedaad7117a5b53ae2f781bec9/ParameterizedBinaryMethod.java/buggy/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ParameterizedBinaryMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 30125, 5905, 1305, 12, 5852, 1046, 982, 16, 514, 508, 16, 514, 8526, 20173, 16, 514, 3089, 653, 13, 288, 202, 202, 9565, 12, 2938, 16, 508, 16, 20173, 1769, 202, 202, 2211, 18, 6270, 653, 273, 3089, 653, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 30125, 5905, 1305, 12, 5852, 1046, 982, 16, 514, 508, 16, 514, 8526, 20173, 16, 514, 3089, 653, 13, 288, 202, 202, 9565, 12, 2938, 16, 508, 16, 20173, 1769, 202, 202, 2211, 18, 6270, 653, 273, 3089, 653, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
null, "setOnkeypress");
null, "setOnkeypressExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[36]; try { result[0] = new PropertyDescriptor("accesskey", ELLinkTag.class, null, "setAccesskey"); result[1] = new PropertyDescriptor("action", ELLinkTag.class, null, "setAction"); result[2] = new PropertyDescriptor("anchor", ELLinkTag.class, null, "setAnchor"); result[3] = new PropertyDescriptor("forward", ELLinkTag.class, null, "setForward"); result[4] = new PropertyDescriptor("href", ELLinkTag.class, null, "setHref"); // This attribute has a non-standard mapping. result[5] = new PropertyDescriptor("indexed", ELLinkTag.class, null, "setIndexedExpr"); result[6] = new PropertyDescriptor("indexId", ELLinkTag.class, null, "setIndexId"); result[7] = new PropertyDescriptor("linkName", ELLinkTag.class, null, "setLinkName"); result[8] = new PropertyDescriptor("name", ELLinkTag.class, null, "setName"); result[9] = new PropertyDescriptor("onblur", ELLinkTag.class, null, "setOnblur"); result[10] = new PropertyDescriptor("onclick", ELLinkTag.class, null, "setOnclick"); result[11] = new PropertyDescriptor("ondblclick", ELLinkTag.class, null, "setOndblclick"); result[12] = new PropertyDescriptor("onfocus", ELLinkTag.class, null, "setOnfocus"); result[13] = new PropertyDescriptor("onkeydown", ELLinkTag.class, null, "setOnkeydown"); result[14] = new PropertyDescriptor("onkeypress", ELLinkTag.class, null, "setOnkeypress"); result[15] = new PropertyDescriptor("onkeyup", ELLinkTag.class, null, "setOnkeyup"); result[16] = new PropertyDescriptor("onmousedown", ELLinkTag.class, null, "setOnmousedown"); result[17] = new PropertyDescriptor("onmousemove", ELLinkTag.class, null, "setOnmousemove"); result[18] = new PropertyDescriptor("onmouseout", ELLinkTag.class, null, "setOnmouseout"); result[19] = new PropertyDescriptor("onmouseover", ELLinkTag.class, null, "setOnmouseover"); result[20] = new PropertyDescriptor("onmouseup", ELLinkTag.class, null, "setOnmouseup"); result[21] = new PropertyDescriptor("page", ELLinkTag.class, null, "setPage"); result[22] = new PropertyDescriptor("paramId", ELLinkTag.class, null, "setParamId"); result[23] = new PropertyDescriptor("paramName", ELLinkTag.class, null, "setParamName"); result[24] = new PropertyDescriptor("paramProperty", ELLinkTag.class, null, "setParamProperty"); result[25] = new PropertyDescriptor("paramScope", ELLinkTag.class, null, "setParamScope"); result[26] = new PropertyDescriptor("property", ELLinkTag.class, null, "setProperty"); result[27] = new PropertyDescriptor("scope", ELLinkTag.class, null, "setScope"); result[28] = new PropertyDescriptor("style", ELLinkTag.class, null, "setStyle"); result[29] = new PropertyDescriptor("styleClass", ELLinkTag.class, null, "setStyleClass"); result[30] = new PropertyDescriptor("styleId", ELLinkTag.class, null, "setStyleId"); result[31] = new PropertyDescriptor("tabindex", ELLinkTag.class, null, "setTabindex"); result[32] = new PropertyDescriptor("target", ELLinkTag.class, null, "setTarget"); result[33] = new PropertyDescriptor("title", ELLinkTag.class, null, "setTitle"); result[34] = new PropertyDescriptor("titleKey", ELLinkTag.class, null, "setTitleKey"); result[35] = new PropertyDescriptor("transaction", ELLinkTag.class, null, "setTransactionExpr"); } catch (IntrospectionException ex) { ex.printStackTrace(); } return (result); }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELLinkTagBeanInfo.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELLinkTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 5718, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 1128, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1803, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 16215, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 11605, 8863, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 11565, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 8514, 8863, 5411, 563, 63, 24, 65, 273, 394, 26761, 2932, 7547, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15962, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 25, 65, 273, 394, 26761, 2932, 19626, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15034, 4742, 8863, 5411, 563, 63, 26, 65, 273, 394, 26761, 2932, 1615, 548, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1016, 548, 8863, 5411, 563, 63, 27, 65, 273, 394, 26761, 2932, 1232, 461, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 2098, 461, 8863, 5411, 563, 63, 28, 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, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 5718, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 1128, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1803, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 16215, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 11605, 8863, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 11565, 3113, 14801, 2098, 1805, 18, 1106, 16, 2 ]
return new RubyString(getRuntime(), snapshot[pos]);
RubyString result = new RubyString(getRuntime(), snapshot[pos]); pos++; return result;
public RubyString read() { pos++; if (pos >= snapshot.length) { return RubyString.nilString(runtime); } return new RubyString(getRuntime(), snapshot[pos]); }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/f80571b8c740590cc4b6416313ec40037810d872/RubyDir.java/buggy/org/jruby/RubyDir.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 855, 1435, 288, 3639, 949, 9904, 31, 3639, 309, 261, 917, 1545, 4439, 18, 2469, 13, 288, 5411, 327, 19817, 780, 18, 20154, 780, 12, 9448, 1769, 3639, 289, 3639, 19817, 780, 563, 273, 394, 19817, 780, 12, 588, 5576, 9334, 4439, 63, 917, 19226, 949, 9904, 31, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 19817, 780, 855, 1435, 288, 3639, 949, 9904, 31, 3639, 309, 261, 917, 1545, 4439, 18, 2469, 13, 288, 5411, 327, 19817, 780, 18, 20154, 780, 12, 9448, 1769, 3639, 289, 3639, 19817, 780, 563, 273, 394, 19817, 780, 12, 588, 5576, 9334, 4439, 63, 917, 19226, 949, 9904, 31, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Assert.assertEquals( 0, rdn1.compareTo( rdn2 ) ); }
Assert.assertEquals( 0, rdn1.compareTo( rdn2 ) ); }
public void testRDNCompareToNCS2NCSUnordered() throws InvalidNameException { Rdn rdn1 = new Rdn( " a = b + a = f + g = h + c = d " ); Rdn rdn2 = new Rdn( " a = b + c = d + a = f + g = h " ); Assert.assertEquals( 0, rdn1.compareTo( rdn2 ) ); }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/34d16a3366af953bef4b3d5f4cf0e7c6bda29ba6/RdnTest.java/buggy/ldap/src/test/java/org/apache/directory/shared/ldap/name/RdnTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 8609, 8583, 774, 50, 4596, 22, 50, 4596, 984, 9885, 1435, 1216, 1962, 26771, 565, 288, 3639, 534, 5176, 436, 5176, 21, 273, 394, 534, 5176, 12, 315, 279, 273, 324, 397, 279, 273, 284, 397, 314, 273, 366, 397, 276, 273, 302, 315, 11272, 3639, 534, 5176, 436, 5176, 22, 273, 394, 534, 5176, 12, 315, 279, 273, 324, 397, 276, 273, 302, 397, 279, 273, 284, 397, 314, 273, 366, 315, 11272, 3639, 5452, 18, 11231, 8867, 12, 374, 16, 436, 5176, 21, 18, 9877, 774, 12, 436, 5176, 22, 262, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 8609, 8583, 774, 50, 4596, 22, 50, 4596, 984, 9885, 1435, 1216, 1962, 26771, 565, 288, 3639, 534, 5176, 436, 5176, 21, 273, 394, 534, 5176, 12, 315, 279, 273, 324, 397, 279, 273, 284, 397, 314, 273, 366, 397, 276, 273, 302, 315, 11272, 3639, 534, 5176, 436, 5176, 22, 273, 394, 534, 5176, 12, 315, 279, 273, 324, 397, 276, 273, 302, 397, 279, 273, 284, 397, 314, 273, 366, 315, 11272, 3639, 5452, 18, 11231, 8867, 12, 374, 16, 436, 5176, 21, 18, 9877, 774, 12, 436, 5176, 22, 262, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IPersistentSuportOracle persistentSupportOracle = PersistentSuportOracle.getInstance(); if ((persistentSupportOracle.getIPersistentProject().countUserProject(employee.getEmployeeNumber()) == 0)) { List<ProjectAccess> accessesToDelete = ProjectAccess.getAllByPersonAndCostCenter(person, true, false);
IPersistentSuportOracle persistentSupportOracle = PersistentSuportOracle .getInstance(); if ((persistentSupportOracle.getIPersistentProject().countUserProject( employee.getEmployeeNumber()) == 0)) { List<ProjectAccess> accessesToDelete = ProjectAccess .getAllByPersonAndCostCenter(person, true, false);
public void run(String username, String costCenter, String userNumber) throws FenixServiceException, ExcepcaoPersistencia { Person person = Person.readPersonByUsername(username); Role role = Role.getRoleByRoleType(RoleType.PROJECTS_MANAGER); if (ProjectAccess.getAllByPersonAndCostCenter(person, false, true).size() == 0) { Teacher teacher = person.getTeacher(); if (teacher == null) { Employee employee = person.getEmployee(); if (employee != null) { IPersistentSuportOracle persistentSupportOracle = PersistentSuportOracle.getInstance(); if ((persistentSupportOracle.getIPersistentProject().countUserProject(employee.getEmployeeNumber()) == 0)) { List<ProjectAccess> accessesToDelete = ProjectAccess.getAllByPersonAndCostCenter(person, false, false); for (ProjectAccess access : accessesToDelete) { access.delete(); } person.removePersonRoles(role); } } else throw new FenixServiceException(); } } role = Role.getRoleByRoleType(RoleType.INSTITUCIONAL_PROJECTS_MANAGER); if (ProjectAccess.getAllByPersonAndCostCenter(person, true, true).size() == 0) { Teacher teacher = person.getTeacher(); if (teacher == null) { Employee employee = person.getEmployee(); if (employee != null) { IPersistentSuportOracle persistentSupportOracle = PersistentSuportOracle.getInstance(); if ((persistentSupportOracle.getIPersistentProject().countUserProject(employee.getEmployeeNumber()) == 0)) { List<ProjectAccess> accessesToDelete = ProjectAccess.getAllByPersonAndCostCenter(person, true, false); for (ProjectAccess access : accessesToDelete) { access.delete(); } person.removePersonRoles(role); } } else throw new FenixServiceException(); } } }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/0f860e8727c6983b0f054ce25554f9c95948abb3/ReviewProjectAccess.java/buggy/src/net/sourceforge/fenixedu/applicationTier/Servico/projectsManagement/ReviewProjectAccess.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 780, 2718, 16, 514, 6991, 8449, 16, 514, 729, 1854, 13, 1216, 478, 275, 697, 15133, 16, 1312, 311, 2436, 6033, 12771, 28115, 288, 3639, 11573, 6175, 273, 11573, 18, 896, 8346, 858, 8575, 12, 5053, 1769, 3639, 6204, 2478, 273, 6204, 18, 588, 2996, 858, 2996, 559, 12, 2996, 559, 18, 17147, 55, 67, 19402, 1769, 3639, 309, 261, 4109, 1862, 18, 588, 1595, 858, 8346, 1876, 8018, 8449, 12, 12479, 16, 629, 16, 638, 2934, 1467, 1435, 422, 374, 13, 288, 5411, 399, 13798, 264, 6489, 27779, 273, 6175, 18, 588, 56, 13798, 264, 5621, 5411, 309, 261, 736, 27779, 422, 446, 13, 288, 7734, 512, 27520, 24539, 1340, 273, 6175, 18, 588, 41, 27520, 5621, 7734, 309, 261, 351, 2817, 1340, 480, 446, 13, 288, 10792, 2971, 6572, 3088, 499, 23601, 9195, 6289, 23601, 273, 11049, 3088, 499, 23601, 18, 588, 1442, 5621, 10792, 309, 14015, 19393, 6289, 23601, 18, 588, 2579, 6572, 4109, 7675, 1883, 1299, 4109, 12, 351, 2817, 1340, 18, 588, 41, 27520, 1854, 10756, 422, 374, 3719, 288, 13491, 987, 32, 4109, 1862, 34, 2006, 281, 14976, 273, 5420, 1862, 18, 588, 1595, 858, 8346, 1876, 8018, 8449, 12, 12479, 16, 629, 16, 629, 1769, 13491, 364, 261, 4109, 1862, 2006, 294, 2006, 281, 14976, 13, 288, 18701, 2006, 18, 3733, 5621, 13491, 289, 4766, 7734, 6175, 18, 4479, 8346, 6898, 12, 4615, 1769, 10792, 289, 7734, 289, 469, 10792, 604, 394, 478, 275, 697, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 780, 2718, 16, 514, 6991, 8449, 16, 514, 729, 1854, 13, 1216, 478, 275, 697, 15133, 16, 1312, 311, 2436, 6033, 12771, 28115, 288, 3639, 11573, 6175, 273, 11573, 18, 896, 8346, 858, 8575, 12, 5053, 1769, 3639, 6204, 2478, 273, 6204, 18, 588, 2996, 858, 2996, 559, 12, 2996, 559, 18, 17147, 55, 67, 19402, 1769, 3639, 309, 261, 4109, 1862, 18, 588, 1595, 858, 8346, 1876, 8018, 8449, 12, 12479, 16, 629, 16, 638, 2934, 1467, 1435, 422, 374, 13, 288, 5411, 399, 13798, 264, 6489, 27779, 273, 6175, 18, 588, 56, 13798, 264, 5621, 5411, 309, 261, 736, 27779, 422, 446, 13, 288, 7734, 512, 27520, 24539, 1340, 273, 6175, 18, 2 ]
return beginString; }
return beginString; }
public String getVersion() { return beginString; }
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/cf7aed68fecf38e4edf304c63ec459ddcc5821bc/DataDictionary.java/clean/src/quickfix/DataDictionary.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8343, 1435, 288, 202, 202, 2463, 2376, 780, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8343, 1435, 288, 202, 202, 2463, 2376, 780, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void set(org.quickfix.field.NestedPartySubID value)
public void set(quickfix.field.NestedPartySubID value)
public void set(org.quickfix.field.NestedPartySubID value) { setField(value); }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReport.java/buggy/src/java/src/quickfix/fix44/TradeCaptureReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 12, 19525, 904, 18, 1518, 18, 8649, 17619, 1676, 734, 460, 13, 225, 288, 16331, 12, 1132, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 12, 19525, 904, 18, 1518, 18, 8649, 17619, 1676, 734, 460, 13, 225, 288, 16331, 12, 1132, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.debug(sessStr + "in CONTENT_LENGTH_BODY_STATE");
if (logger.isDebugEnabled()) { logger.debug(sessStr + "in CONTENT_LENGTH_BODY_STATE"); }
public ParseResult parse(ByteBuffer b) throws ParseException { cancelTimer(); if (logger.isDebugEnabled()) { logger.debug(sessStr + "parsing chunk: " + b); } List l = new LinkedList(); boolean done = false; while (!done) { switch (state) { case PRE_FIRST_LINE_STATE: { logger.debug(sessStr + "in PRE_FIRST_LINE_STATE"); lengthCounter = 0; if (b.hasRemaining() && completeLine(b)) { ByteBuffer d = b.duplicate(); byte b1 = d.get(); if (LF == b1 || d.hasRemaining() && CR == b1 && LF == d.get()) { b = null; done = true; } else { state = FIRST_LINE_STATE; } } else if (b.remaining() > maxRequestLine) { throw new ParseException("URI length exceeded: " + AsciiCharBuffer.wrap(b)); } else { if (b.capacity() < maxRequestLine) { ByteBuffer r = ByteBuffer.allocate(maxRequestLine); r.put(b); b = r; } else { b.compact(); } done = true; } break; } case FIRST_LINE_STATE: { // Initialize the buffer, we'll need it until // we're done with HEADER state. this.buf = new byte[maxUri]; logger.debug(sessStr + "in FIRST_LINE_STATE"); if (completeLine(b)) { l.add(firstLine(b)); state = ACCUMULATE_HEADER_STATE; } else { b.compact(); done = true; } break; } case ACCUMULATE_HEADER_STATE: { logger.debug(sessStr + "in ACCUMULATE_HEADER_STATE"); if (!completeHeader(b)) { if (b.capacity() < maxHeader) { ByteBuffer nb = ByteBuffer.allocate(maxHeader + 2); nb.put(b); nb.flip(); b = nb; } else if (b.remaining() >= maxHeader) { String msg = "header exceeds " + maxHeader + ":\n" + AsciiCharBuffer.wrap(b); if (blockLongHeaders) { logger.warn(msg); // XXX send error page instead session.shutdownClient(); session.shutdownServer(); return new ParseResult(); } else { // allow session to be released, or not throw new ParseException(msg); } } b.compact(); done = true; } else { state = HEADER_STATE; } break; } case HEADER_STATE: { logger.debug(sessStr + "in HEADER_STATE"); header = header(b); l.add(header); // Done with buf now this.buf = null; assert !b.hasRemaining(); if (!clientSide) { if (null != requestLineToken) { HttpMethod method = requestLineToken.getMethod(); if (HttpMethod.HEAD == method) { transferEncoding = NO_BODY; } } } else { HttpRequestEvent evt = new HttpRequestEvent (requestLineToken.getRequestLine(), header.getValue("host"), lengthCounter); } if (NO_BODY == transferEncoding) { state = END_MARKER_STATE; } else if (CLOSE_ENCODING == transferEncoding) { lineBuffering(false); b = null; state = CLOSED_BODY_STATE; done = true; } else if (CHUNKED_ENCODING == transferEncoding) { lineBuffering(true); b = null; state = CHUNK_LENGTH_STATE; done = true; } else if (CONTENT_LENGTH_ENCODING == transferEncoding) { lineBuffering(false); assert !b.hasRemaining(); if (0 < contentLength) { readLimit(contentLength); b = null; state = CONTENT_LENGTH_BODY_STATE; done = true; } else { state = END_MARKER_STATE; } } else { assert false; } break; } case CLOSED_BODY_STATE: { logger.debug(sessStr + "in CLOSED_BODY_STATE!"); l.add(closedBody(b)); b = null; done = true; break; } case CONTENT_LENGTH_BODY_STATE: { logger.debug(sessStr + "in CONTENT_LENGTH_BODY_STATE"); l.add(chunk(b)); if (0 == contentLength) { b = null; // XXX handle trailer state = END_MARKER_STATE; } else { readLimit(contentLength); b = null; done = true; } break; } case CHUNK_LENGTH_STATE: // chunk-size = 1*HEX { logger.debug(sessStr + "in CHUNK_LENGTH_STATE"); if (!completeLine(b)) { b.compact(); done = true; break; } contentLength = chunkLength(b); logger.debug(sessStr + "CHUNK contentLength = " + contentLength); if (0 == contentLength) { b = null; state = LAST_CHUNK_STATE; } else { lineBuffering(false); assert !b.hasRemaining(); readLimit(contentLength); b = null; state = CHUNK_BODY_STATE; } done = true; break; } case CHUNK_BODY_STATE: { logger.debug(sessStr + "in CHUNKED_BODY_STATE"); l.add(chunk(b)); if (0 == contentLength) { lineBuffering(true); b = null; state = CHUNK_END_STATE; } else { readLimit(contentLength); b = null; } done = true; break; } case CHUNK_END_STATE: { logger.debug(sessStr + "in END_CHUNK_STATE"); if (!completeLine(b)) { b.compact(); done = true; break; } eatCrLf(b); assert !b.hasRemaining(); b = null; done = true; state = CHUNK_LENGTH_STATE; break; } case LAST_CHUNK_STATE: // last-chunk = 1*("0") [ chunk-extension ] CRLF { logger.debug(sessStr + "in LAST_CHUNK_STATE"); if (!completeLine(b)) { b.compact(); done = true; break; } eatCrLf(b); assert !b.hasRemaining(); b = null; state = END_MARKER_STATE; break; } case END_MARKER_STATE: { logger.debug(sessStr + "in END_MARKER_STATE"); EndMarker endMarker = EndMarker.MARKER; l.add(endMarker); lineBuffering(true); b = null; state = PRE_FIRST_LINE_STATE; if (!clientSide) { String contentType = header.getValue("content-type"); String mimeType = null == contentType ? null : MimeType.getType(contentType); RequestLine rl = null == requestLineToken ? null : requestLineToken.getRequestLine(); if (null != rl) { HttpResponseEvent evt = new HttpResponseEvent (rl, mimeType, contentLength); casing.getTransform().log(evt); } } else { HttpRequestEvent evt = requestLineToken .getRequestLine() .getHttpRequestEvent(); evt.setContentLength(contentLength); if (null == evt.getRequestLine()) { logger.warn("null request for: " + getSession().pipelineEndpoints()); } casing.getTransform().log(evt); } // Free up header storage header = null; done = true; break; } default: assert false; } } if (logger.isDebugEnabled()) { logger.debug(sessStr + "returing readBuffer: " + b); } scheduleTimer(TIMEOUT); if (null != b && !b.hasRemaining()) { String msg = "b does not have remaining: " + b + " in state: " + state; logger.error(msg); throw new ParseException(msg); } return new ParseResult(l, b); }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/115e144444f9e3e5b13e66a4e36937ed2f6c876a/HttpParser.java/clean/tran/http/main/com/metavize/tran/http/HttpParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2884, 1253, 1109, 12, 12242, 324, 13, 1216, 10616, 565, 288, 3639, 3755, 6777, 5621, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 12, 23828, 1585, 397, 315, 24979, 2441, 30, 315, 397, 324, 1769, 3639, 289, 3639, 987, 328, 273, 394, 10688, 5621, 3639, 1250, 2731, 273, 629, 31, 3639, 1323, 16051, 8734, 13, 288, 5411, 1620, 261, 2019, 13, 288, 5411, 648, 7071, 67, 15354, 67, 5997, 67, 7998, 30, 7734, 288, 10792, 1194, 18, 4148, 12, 23828, 1585, 397, 315, 267, 7071, 67, 15354, 67, 5997, 67, 7998, 8863, 10792, 769, 4789, 273, 374, 31, 10792, 309, 261, 70, 18, 5332, 11429, 1435, 597, 3912, 1670, 12, 70, 3719, 288, 13491, 7400, 302, 273, 324, 18, 17342, 5621, 13491, 1160, 324, 21, 273, 302, 18, 588, 5621, 13491, 309, 261, 9105, 422, 324, 21, 18701, 747, 302, 18, 5332, 11429, 1435, 597, 6732, 422, 324, 21, 597, 18803, 422, 302, 18, 588, 10756, 288, 18701, 324, 273, 446, 31, 18701, 2731, 273, 638, 31, 13491, 289, 469, 288, 18701, 919, 273, 21786, 67, 5997, 67, 7998, 31, 13491, 289, 10792, 289, 469, 309, 261, 70, 18, 17956, 1435, 405, 943, 691, 1670, 13, 288, 13491, 604, 394, 10616, 2932, 3098, 769, 12428, 30, 315, 4766, 1171, 397, 22475, 2835, 2156, 1892, 18, 4113, 12, 70, 10019, 10792, 289, 469, 288, 13491, 309, 261, 70, 18, 16017, 1435, 411, 943, 691, 1670, 13, 288, 18701, 7400, 436, 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, 2884, 1253, 1109, 12, 12242, 324, 13, 1216, 10616, 565, 288, 3639, 3755, 6777, 5621, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 12, 23828, 1585, 397, 315, 24979, 2441, 30, 315, 397, 324, 1769, 3639, 289, 3639, 987, 328, 273, 394, 10688, 5621, 3639, 1250, 2731, 273, 629, 31, 3639, 1323, 16051, 8734, 13, 288, 5411, 1620, 261, 2019, 13, 288, 5411, 648, 7071, 67, 15354, 67, 5997, 67, 7998, 30, 7734, 288, 10792, 1194, 18, 4148, 12, 23828, 1585, 397, 315, 267, 7071, 67, 15354, 67, 5997, 67, 7998, 8863, 10792, 769, 4789, 273, 374, 31, 10792, 309, 261, 70, 18, 5332, 11429, 1435, 597, 3912, 1670, 12, 70, 2 ]
this.getViewer().setCursor( null );
if (isActive()) { this.getViewer().setCursor( null ); }
public void eraseTargetFeedback( Request request) { this.getViewer().setCursor( null ); super.eraseTargetFeedback( request ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d83e9ce357552ccee889709a0e69d109f4dcfa0b/TableCellEditPart.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/TableCellEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 22038, 2326, 15888, 12, 1567, 590, 13, 202, 95, 202, 565, 333, 18, 588, 18415, 7675, 542, 6688, 12, 446, 11272, 202, 565, 2240, 18, 264, 448, 2326, 15888, 12, 590, 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, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 22038, 2326, 15888, 12, 1567, 590, 13, 202, 95, 202, 565, 333, 18, 588, 18415, 7675, 542, 6688, 12, 446, 11272, 202, 565, 2240, 18, 264, 448, 2326, 15888, 12, 590, 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, -100 ]
return threadPolicy != null &&
return threadPolicy != null &&
protected boolean isSingleThreadModel() { return threadPolicy != null && threadPolicy.value() == ThreadPolicyValue.SINGLE_THREAD_MODEL; }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/a74dc4ac69615c8e503cb9145c3594f1702d4c75/POA.java/buggy/src/org/jacorb/poa/POA.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 27643, 3830, 1488, 1435, 377, 288, 3639, 327, 2650, 2582, 480, 446, 597, 2398, 2650, 2582, 18, 1132, 1435, 422, 4884, 2582, 620, 18, 20184, 67, 21730, 67, 17391, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 27643, 3830, 1488, 1435, 377, 288, 3639, 327, 2650, 2582, 480, 446, 597, 2398, 2650, 2582, 18, 1132, 1435, 422, 4884, 2582, 620, 18, 20184, 67, 21730, 67, 17391, 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 ]
+ ") " + Default.ucd.getName(cc));
+ ") " + Default.ucd().getName(cc));
static void writeLine(String cc, PrintWriter log, boolean check) { String c = Default.nfc.normalize(cc); String d = Default.nfd.normalize(cc); String kc = Default.nfkc.normalize(cc); String kd = Default.nfkd.normalize(cc); if (check & cc.equals(c) && cc.equals(d) && cc.equals(kc) && cc.equals(kd)) return; // consistency check String dc = Default.nfd.normalize(c); String dkc = Default.nfd.normalize(kc); if (!dc.equals(d) || !dkc.equals(kd)) { System.out.println("Danger Will Robinson!"); Normalizer.SHOW_PROGRESS = true; d = Default.nfd.normalize(cc); } // printout log.println( Utility.hex(cc," ") + ";" + Utility.hex(c," ") + ";" + Utility.hex(d," ") + ";" + Utility.hex(kc," ") + ";" + Utility.hex(kd," ") + "; # (" + comma(cc) + "; " + comma(c) + "; " + comma(d) + "; " + comma(kc) + "; " + comma(kd) + "; " + ") " + Default.ucd.getName(cc)); }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/d1ef79fafdbbeaaf4dcbaa9d3c534754c217d955/GenerateData.java/buggy/tools/unicodetools/com/ibm/text/UCD/GenerateData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 18360, 12, 780, 4946, 16, 14071, 613, 16, 1250, 866, 13, 288, 3639, 514, 276, 273, 2989, 18, 82, 7142, 18, 12237, 12, 952, 1769, 3639, 514, 302, 273, 2989, 18, 82, 8313, 18, 12237, 12, 952, 1769, 3639, 514, 22154, 273, 2989, 18, 82, 23120, 71, 18, 12237, 12, 952, 1769, 3639, 514, 417, 72, 273, 2989, 18, 82, 23120, 72, 18, 12237, 12, 952, 1769, 3639, 309, 261, 1893, 473, 4946, 18, 14963, 12, 71, 13, 597, 4946, 18, 14963, 12, 72, 13, 597, 4946, 18, 14963, 12, 79, 71, 13, 597, 4946, 18, 14963, 12, 79, 72, 3719, 327, 31, 3639, 368, 14297, 866, 3639, 514, 6744, 273, 2989, 18, 82, 8313, 18, 12237, 12, 71, 1769, 3639, 514, 20320, 71, 273, 2989, 18, 82, 8313, 18, 12237, 12, 79, 71, 1769, 3639, 309, 16051, 7201, 18, 14963, 12, 72, 13, 747, 401, 2883, 71, 18, 14963, 12, 79, 72, 3719, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 40, 11455, 9980, 19686, 267, 816, 4442, 1769, 5411, 8769, 1824, 18, 16677, 67, 24022, 273, 638, 31, 5411, 302, 273, 2989, 18, 82, 8313, 18, 12237, 12, 952, 1769, 3639, 289, 3639, 368, 1172, 659, 3639, 613, 18, 8222, 12, 5411, 13134, 18, 7118, 12, 952, 10837, 9369, 397, 11430, 397, 13134, 18, 7118, 12, 71, 10837, 9369, 397, 11430, 397, 13134, 18, 7118, 12, 72, 10837, 9369, 397, 11430, 5411, 397, 13134, 18, 7118, 12, 79, 71, 10837, 9369, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 18360, 12, 780, 4946, 16, 14071, 613, 16, 1250, 866, 13, 288, 3639, 514, 276, 273, 2989, 18, 82, 7142, 18, 12237, 12, 952, 1769, 3639, 514, 302, 273, 2989, 18, 82, 8313, 18, 12237, 12, 952, 1769, 3639, 514, 22154, 273, 2989, 18, 82, 23120, 71, 18, 12237, 12, 952, 1769, 3639, 514, 417, 72, 273, 2989, 18, 82, 23120, 72, 18, 12237, 12, 952, 1769, 3639, 309, 261, 1893, 473, 4946, 18, 14963, 12, 71, 13, 597, 4946, 18, 14963, 12, 72, 13, 597, 4946, 18, 14963, 12, 79, 71, 13, 597, 4946, 18, 14963, 12, 79, 72, 3719, 327, 31, 3639, 368, 14297, 866, 3639, 514, 6744, 273, 2989, 18, 82, 8313, 18, 2 ]
ref.append( line ).append( "\n" );
ref.append( line ).append('\n');
public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException { String urlString = fs.get("URL"); String fileString = fs.get("File"); StringBuffer ref = null; BufferedReader in; if(urlString != null) { try { URL url = new URL(urlString); URLConnection uc = url.openConnection(); in = new BufferedReader( new InputStreamReader(uc.getInputStream())); ref = new StringBuffer(1024); String line; while((line = in.readLine()) != null) { line = line.trim(); ref.append( line ).append( "\n" ); } in.close(); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URL_PARSE_ERROR, "Error parsing ref URL <"+urlString+">: "+e.getMessage(), null); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.URL_PARSE_ERROR, "IO error while retrieving ref URL <"+urlString+">: "+e.getMessage(), null); } ref = new StringBuffer(ref.toString().trim()); if(ref == null) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from URL <"+urlString+">", null); } if(ref.equals("")) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from URL <"+urlString+">", null); } try { fs = new SimpleFieldSet(ref.toString(), true); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from URL <"+urlString+">: "+e.getMessage(), null); } } else if(fileString != null) { File f = new File(fileString); if(!f.isFile()) { throw new MessageInvalidException(ProtocolErrorMessage.NOT_A_FILE_ERROR, "The given ref file path <"+fileString+"> is not a file", null); } try { in = new BufferedReader(new FileReader(f)); ref = new StringBuffer(1024); String line; while((line = in.readLine()) != null) { line = line.trim(); ref.append( line ).append( "\n" ); } in.close(); } catch (FileNotFoundException e) { throw new MessageInvalidException(ProtocolErrorMessage.FILE_NOT_FOUND, "File not found when retrieving ref file <"+fileString+">: "+e.getMessage(), null); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.FILE_PARSE_ERROR, "IO error while retrieving ref file <"+fileString+">: "+e.getMessage(), null); } ref = new StringBuffer(ref.toString().trim()); if(ref == null) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from file <"+fileString+">", null); } if(ref.equals("")) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from file <"+fileString+">", null); } try { fs = new SimpleFieldSet(ref.toString(), true); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from file <"+fileString+">: "+e.getMessage(), null); } } PeerNode pn; try { pn = new PeerNode(fs, node, false); } catch (FSParseException e) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing retrieved ref: "+e.getMessage(), null); } catch (PeerParseException e) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing retrieved ref: "+e.getMessage(), null); } catch (ReferenceSignatureVerificationException e) { // TODO: maybe a special ProtocolErrorMessage ? throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing retrieved ref: "+e.getMessage(), null); } // **FIXME** Handle duplicates somehow maybe? What about when node.addDarknetConnection() fails for some reason? if(node.addDarknetConnection(pn)) System.out.println("Added peer: "+pn); handler.outputHandler.queue(new Peer(pn, true, true)); }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/62fd59041864b4ed1f43adc676de6bfb5ea977f3/AddPeer.java/clean/src/freenet/node/fcp/AddPeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 12, 42, 4258, 1952, 1503, 1838, 16, 2029, 756, 13, 1216, 2350, 1941, 503, 288, 202, 202, 780, 29374, 273, 2662, 18, 588, 2932, 1785, 8863, 202, 202, 780, 585, 780, 273, 2662, 18, 588, 2932, 812, 8863, 202, 202, 780, 1892, 1278, 273, 446, 31, 202, 202, 17947, 2514, 316, 31, 202, 202, 430, 12, 718, 780, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 1785, 880, 273, 394, 1976, 12, 718, 780, 1769, 9506, 202, 14790, 6232, 273, 880, 18, 3190, 1952, 5621, 9506, 202, 267, 273, 394, 10633, 12, 394, 15322, 12, 5286, 18, 588, 4348, 1435, 10019, 9506, 202, 1734, 273, 394, 6674, 12, 2163, 3247, 1769, 9506, 202, 780, 980, 31, 9506, 202, 17523, 12443, 1369, 273, 316, 18, 896, 1670, 10756, 480, 446, 13, 288, 6862, 202, 1369, 273, 980, 18, 5290, 5621, 6862, 202, 1734, 18, 6923, 12, 980, 262, 18, 6923, 12, 1548, 82, 6, 11272, 9506, 202, 97, 9506, 202, 267, 18, 4412, 5621, 1082, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 1785, 67, 21045, 67, 3589, 16, 315, 668, 5811, 1278, 1976, 411, 6, 15, 718, 780, 15, 6441, 30, 13773, 73, 18, 24906, 9334, 446, 1769, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 1785, 67, 21045, 67, 3589, 16, 315, 4294, 555, 1323, 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, 12, 42, 4258, 1952, 1503, 1838, 16, 2029, 756, 13, 1216, 2350, 1941, 503, 288, 202, 202, 780, 29374, 273, 2662, 18, 588, 2932, 1785, 8863, 202, 202, 780, 585, 780, 273, 2662, 18, 588, 2932, 812, 8863, 202, 202, 780, 1892, 1278, 273, 446, 31, 202, 202, 17947, 2514, 316, 31, 202, 202, 430, 12, 718, 780, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 1785, 880, 273, 394, 1976, 12, 718, 780, 1769, 9506, 202, 14790, 6232, 273, 880, 18, 3190, 1952, 5621, 9506, 202, 267, 273, 394, 10633, 12, 394, 15322, 12, 5286, 18, 588, 4348, 1435, 10019, 9506, 202, 1734, 273, 394, 6674, 12, 2163, 3247, 1769, 9506, 2 ]
private void romanToWords(String romanString) { String punctuation = (String) tokenItem.findFeature("p.punc"); if (punctuation.equals("")) { /* no preceeding punctuation */ String n = String.valueOf(NumberExpander.expandRoman(romanString)); if (kingLike(tokenItem)) { wordRelation.addWord("the"); NumberExpander.expandOrdinal(n, wordRelation); } else if (sectionLike(tokenItem)) { NumberExpander.expandNumber(n, wordRelation); } else { NumberExpander.expandLetters(romanString, wordRelation); } } else { NumberExpander.expandLetters(romanString, wordRelation); }
private void romanToWords(WordRelation wordRelation, Item tokenItem, String romanString) { String punctuation = (String) tokenItem.findFeature("p.punc"); if (punctuation.equals("")) { /* no preceeding punctuation */ String n = String.valueOf(NumberExpander.expandRoman(romanString)); if (kingLike(tokenItem)) { wordRelation.addWord(tokenItem, "the"); NumberExpander.expandOrdinal(n, wordRelation); } else if (sectionLike(tokenItem)) { NumberExpander.expandNumber(n, wordRelation); } else { NumberExpander.expandLetters(romanString, wordRelation); } } else { NumberExpander.expandLetters(romanString, wordRelation); }
private void romanToWords(String romanString) { String punctuation = (String) tokenItem.findFeature("p.punc"); if (punctuation.equals("")) { /* no preceeding punctuation */ String n = String.valueOf(NumberExpander.expandRoman(romanString)); if (kingLike(tokenItem)) { wordRelation.addWord("the"); NumberExpander.expandOrdinal(n, wordRelation); } else if (sectionLike(tokenItem)) { NumberExpander.expandNumber(n, wordRelation); } else { NumberExpander.expandLetters(romanString, wordRelation); } } else { NumberExpander.expandLetters(romanString, wordRelation); } }
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/6a55df45b5e749262e5610405145a505d38c6c9e/TokenToWords.java/clean/java/de/dfki/lt/mary/modules/en/TokenToWords.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 24137, 304, 774, 7363, 12, 780, 24137, 304, 780, 13, 288, 202, 780, 22472, 273, 261, 780, 13, 1147, 1180, 18, 4720, 4595, 2932, 84, 18, 84, 551, 8863, 202, 202, 430, 261, 84, 15726, 18, 14963, 2932, 6, 3719, 288, 202, 565, 1748, 1158, 675, 5288, 310, 22472, 1195, 202, 565, 514, 290, 273, 514, 18, 1132, 951, 12, 1854, 12271, 264, 18, 12320, 54, 362, 304, 12, 520, 304, 780, 10019, 202, 377, 202, 565, 309, 261, 79, 310, 8804, 12, 2316, 1180, 3719, 288, 202, 202, 1095, 3963, 18, 1289, 3944, 2932, 5787, 8863, 202, 202, 1854, 12271, 264, 18, 12320, 22830, 12, 82, 16, 2076, 3963, 1769, 202, 565, 289, 469, 309, 261, 3464, 8804, 12, 2316, 1180, 3719, 288, 202, 202, 1854, 12271, 264, 18, 12320, 1854, 12, 82, 16, 2076, 3963, 1769, 202, 565, 289, 469, 288, 202, 202, 1854, 12271, 264, 18, 12320, 24181, 5432, 12, 520, 304, 780, 16, 2076, 3963, 1769, 202, 565, 289, 202, 97, 469, 288, 202, 565, 3588, 12271, 264, 18, 12320, 24181, 5432,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 24137, 304, 774, 7363, 12, 780, 24137, 304, 780, 13, 288, 202, 780, 22472, 273, 261, 780, 13, 1147, 1180, 18, 4720, 4595, 2932, 84, 18, 84, 551, 8863, 202, 202, 430, 261, 84, 15726, 18, 14963, 2932, 6, 3719, 288, 202, 565, 1748, 1158, 675, 5288, 310, 22472, 1195, 202, 565, 514, 290, 273, 514, 18, 1132, 951, 12, 1854, 12271, 264, 18, 12320, 54, 362, 304, 12, 520, 304, 780, 10019, 202, 377, 202, 565, 309, 261, 79, 310, 8804, 12, 2316, 1180, 3719, 288, 202, 202, 1095, 3963, 18, 1289, 3944, 2932, 5787, 8863, 202, 202, 1854, 12271, 264, 18, 12320, 22830, 12, 82, 16, 2076, 3963, 1769, 202, 565, 289, 469, 309, 2 ]
if ( KoLRequest.sessionID == null )
if ( KoLRequest.sessionId == null )
public static void showDisplay() { if ( KoLRequest.sessionID == null ) { KoLFrame.createDisplay( LoginFrame.class ); return; } if ( existingFrames.isEmpty() ) { KoLmafiaGUI.constructFrame( "LocalRelayServer" ); return; } KoLFrame [] frames = new KoLFrame[ existingFrames.size() ]; existingFrames.toArray( frames ); String interfaceSetting = StaticEntity.getGlobalProperty( "initialDesktop" ); for ( int i = 0; i < frames.length; ++i ) { if ( interfaceSetting.indexOf( frames[i].getFrameName() ) == -1 ) { frames[i].pack(); frames[i].setVisible( true ); frames[i].setExtendedState( KoLFrame.NORMAL ); } } if ( KoLDesktop.instanceExists() ) { KoLDesktop.getInstance().pack(); KoLDesktop.getInstance().setVisible( true ); KoLDesktop.getInstance().setExtendedState( KoLFrame.NORMAL ); } }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/db652071b06715a4456f702f081fbe5b47aa5a70/SystemTrayFrame.java/clean/src/net/sourceforge/kolmafia/SystemTrayFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2405, 4236, 1435, 202, 95, 202, 202, 430, 261, 1475, 83, 48, 691, 18, 17255, 422, 446, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 3219, 18, 2640, 4236, 12, 11744, 3219, 18, 1106, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 2062, 15162, 18, 291, 1921, 1435, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 81, 1727, 1155, 43, 5370, 18, 10062, 3219, 12, 315, 2042, 27186, 2081, 6, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 47, 83, 48, 3219, 5378, 7793, 273, 394, 1475, 83, 48, 3219, 63, 2062, 15162, 18, 1467, 1435, 308, 31, 202, 202, 11711, 15162, 18, 31447, 12, 7793, 11272, 202, 202, 780, 1560, 5568, 273, 10901, 1943, 18, 588, 5160, 1396, 12, 315, 6769, 27583, 6, 11272, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 7793, 18, 2469, 31, 965, 77, 262, 202, 202, 95, 1082, 202, 430, 261, 1560, 5568, 18, 31806, 12, 7793, 63, 77, 8009, 588, 3219, 461, 1435, 262, 422, 300, 21, 262, 1082, 202, 95, 9506, 202, 10278, 63, 77, 8009, 2920, 5621, 9506, 202, 10278, 63, 77, 8009, 542, 6207, 12, 638, 11272, 9506, 202, 10278, 63, 77, 8009, 542, 11456, 1119, 12, 1475, 83, 48, 3219, 18, 15480, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 1475, 83, 48, 27583, 18, 1336, 4002, 1435, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2405, 4236, 1435, 202, 95, 202, 202, 430, 261, 1475, 83, 48, 691, 18, 17255, 422, 446, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 3219, 18, 2640, 4236, 12, 11744, 3219, 18, 1106, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 2062, 15162, 18, 291, 1921, 1435, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 81, 1727, 1155, 43, 5370, 18, 10062, 3219, 12, 315, 2042, 27186, 2081, 6, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 47, 83, 48, 3219, 5378, 7793, 273, 394, 1475, 83, 48, 3219, 63, 2062, 15162, 18, 1467, 1435, 308, 31, 202, 202, 11711, 15162, 18, 31447, 12, 7793, 2 ]
return name; }
return name; }
public String getName() { return name; }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3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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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1723, 1435, 288, 202, 202, 2463, 508, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void run() { try { final ISourceViewer viewer= getSourceViewer(); final IDocument document= viewer.getDocument(); int position= widgetOffset2ModelOffset(viewer, viewer.getTextWidget().getCaretOffset()); // Check whether we are in a java code partition and the preference is enabled final IPreferenceStore store= getPreferenceStore(); final ITypedRegion region= TextUtilities.getPartition(document, IJavaPartitions.JAVA_PARTITIONING, position, false); if (!store.getBoolean(PreferenceConstants.EDITOR_SUB_WORD_NAVIGATION)) { super.run(); return; } // Check whether right hand character of caret is valid identifier start if (Character.isJavaIdentifierStart(document.getChar(position))) { int offset= 0; int order= CollationElementIterator.NULLORDER; short previous= Short.MAX_VALUE; short next= Short.MAX_VALUE; // Acquire collator for partition around caret final String buffer= document.get(position, region.getOffset() + region.getLength() - position); final CollationElementIterator iterator= fCollator.getCollationElementIterator(buffer); // Iterate to first upper-case character do { // Check whether we reached end of word offset= iterator.getOffset(); if (!Character.isJavaIdentifierPart(document.getChar(position + offset))) throw new BadLocationException(); // Test next characters order= iterator.next(); next= CollationElementIterator.tertiaryOrder(order); if (next <= previous) previous= next; else break; } while (order != CollationElementIterator.NULLORDER); // Check for leading underscores position += offset; if (Character.getType(document.getChar(position - 1)) != Character.CONNECTOR_PUNCTUATION) { setCaretPosition(position); getTextWidget().showSelection(); fireSelectionChanged(); return; } } } catch (BadLocationException exception) { // Use default behavior } super.run(); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/e0a49b04e3499f02c93ac9d6a4e35c77eb3e8aa8/JavaEditor.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 6459, 2681, 1435, 95, 1082, 202, 698, 95, 9506, 202, 6385, 45, 1830, 18415, 25256, 33, 588, 1830, 18415, 5621, 9506, 202, 6385, 734, 504, 650, 5457, 33, 25256, 18, 588, 2519, 5621, 6862, 202, 474, 3276, 33, 6587, 2335, 22, 1488, 2335, 12, 25256, 16, 25256, 18, 588, 1528, 4609, 7675, 588, 39, 20731, 2335, 10663, 6862, 1082, 202, 759, 1564, 3350, 2437, 1814, 834, 267, 4365, 1629, 710, 10534, 464, 451, 881, 6180, 291, 5745, 9506, 202, 6385, 45, 9624, 2257, 2233, 33, 588, 9624, 2257, 5621, 9506, 202, 6385, 1285, 6140, 5165, 6858, 33, 1528, 11864, 18, 588, 7003, 12, 5457, 16, 45, 5852, 13738, 18, 27264, 67, 15055, 7022, 1360, 16, 3276, 16, 5743, 1769, 9506, 202, 430, 12, 5, 2233, 18, 588, 5507, 12, 9624, 2918, 18, 13208, 67, 8362, 67, 7952, 67, 50, 5856, 3047, 2689, 3719, 95, 6862, 202, 9565, 18, 2681, 5621, 6862, 202, 2463, 31, 6862, 9506, 202, 97, 9506, 202, 759, 1564, 3350, 546, 370, 2031, 451, 464, 11560, 792, 71, 20731, 291, 877, 5644, 1937, 9506, 202, 430, 12, 7069, 18, 291, 5852, 3004, 1685, 12, 5457, 18, 588, 2156, 12, 3276, 3719, 15329, 6862, 202, 474, 3348, 33, 20, 31, 6862, 202, 474, 1019, 33, 13535, 367, 1046, 3198, 18, 8560, 7954, 31, 6862, 202, 6620, 11515, 33, 4897, 18, 6694, 67, 4051, 31, 6862, 202, 6620, 4285, 33, 4897, 18, 6694, 67, 4051, 31, 6862, 202, 759, 27761, 12910, 639, 1884, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 6459, 2681, 1435, 95, 1082, 202, 698, 95, 9506, 202, 6385, 45, 1830, 18415, 25256, 33, 588, 1830, 18415, 5621, 9506, 202, 6385, 734, 504, 650, 5457, 33, 25256, 18, 588, 2519, 5621, 6862, 202, 474, 3276, 33, 6587, 2335, 22, 1488, 2335, 12, 25256, 16, 25256, 18, 588, 1528, 4609, 7675, 588, 39, 20731, 2335, 10663, 6862, 1082, 202, 759, 1564, 3350, 2437, 1814, 834, 267, 4365, 1629, 710, 10534, 464, 451, 881, 6180, 291, 5745, 9506, 202, 6385, 45, 9624, 2257, 2233, 33, 588, 9624, 2257, 5621, 9506, 202, 6385, 1285, 6140, 5165, 6858, 33, 1528, 11864, 18, 588, 7003, 12, 5457, 16, 45, 5852, 13738, 18, 27264, 67, 15055, 7022, 1360, 16, 3276, 2 ]
returnValue = -Double.MIN_VALUE;
returnValue = -Double.MAX_VALUE;
public final double multiply(double val1, double val2) { double returnValue = val1 + val2; boolean overflowOccurred = false; // [ EBG: alternative... test the sign of each of val1 and // val2 and, if needed, the result. If val1 and val2 have // different signs, then overflow isn't an issue. If they have // the same sign and the result also has the same sign, then // operation was successful. if not, then an overflow occured, // in which case we can signal or just return MAX_VALUE ] if (val1 > 0) { if (val2 > (Double.MAX_VALUE - val1)) { overflowOccurred = true; returnValue = Double.MAX_VALUE; } } else if (val1 < 0) { if (val2 < ( -Double.MAX_VALUE - val1)) { overflowOccurred = true; returnValue = -Double.MIN_VALUE; } } if (overflowOccurred) { logger.info("********Overflow occurred while trying to log.multiply " + val1 + " and " + val2); } return returnValue; }
48839 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48839/242a7a52f1b95edb6fe1f3e5587c22668117e47b/LogMath.java/clean/sphinx4/edu/cmu/sphinx/util/LogMath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 1645, 10194, 12, 9056, 1244, 21, 16, 1645, 1244, 22, 13, 288, 202, 9056, 7750, 273, 1244, 21, 397, 1244, 22, 31, 202, 6494, 9391, 30096, 273, 629, 31, 202, 759, 306, 512, 30098, 30, 10355, 2777, 1842, 326, 1573, 434, 1517, 434, 1244, 21, 471, 202, 759, 1244, 22, 471, 16, 309, 3577, 16, 326, 563, 18, 971, 1244, 21, 471, 1244, 22, 1240, 202, 759, 3775, 21588, 16, 1508, 9391, 5177, 1404, 392, 5672, 18, 971, 2898, 1240, 202, 759, 326, 1967, 1573, 471, 326, 563, 2546, 711, 326, 1967, 1573, 16, 1508, 202, 759, 1674, 1703, 6873, 18, 309, 486, 16, 1508, 392, 9391, 16206, 16, 202, 759, 316, 1492, 648, 732, 848, 4277, 578, 2537, 327, 4552, 67, 4051, 308, 202, 430, 261, 1125, 21, 405, 374, 13, 288, 202, 565, 309, 261, 1125, 22, 405, 261, 5265, 18, 6694, 67, 4051, 300, 1244, 21, 3719, 288, 202, 202, 11512, 30096, 273, 638, 31, 202, 202, 2463, 620, 273, 3698, 18, 6694, 67, 4051, 31, 202, 565, 289, 202, 97, 469, 309, 261, 1125, 21, 411, 374, 13, 288, 202, 565, 309, 261, 1125, 22, 411, 261, 300, 5265, 18, 6694, 67, 4051, 300, 1244, 21, 3719, 288, 202, 202, 11512, 30096, 273, 638, 31, 202, 202, 2463, 620, 273, 300, 5265, 18, 6236, 67, 4051, 31, 202, 565, 289, 202, 97, 202, 430, 261, 11512, 30096, 13, 288, 202, 565, 1194, 18, 1376, 2932, 1644, 15526, 7841, 1323, 8374, 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, 727, 1645, 10194, 12, 9056, 1244, 21, 16, 1645, 1244, 22, 13, 288, 202, 9056, 7750, 273, 1244, 21, 397, 1244, 22, 31, 202, 6494, 9391, 30096, 273, 629, 31, 202, 759, 306, 512, 30098, 30, 10355, 2777, 1842, 326, 1573, 434, 1517, 434, 1244, 21, 471, 202, 759, 1244, 22, 471, 16, 309, 3577, 16, 326, 563, 18, 971, 1244, 21, 471, 1244, 22, 1240, 202, 759, 3775, 21588, 16, 1508, 9391, 5177, 1404, 392, 5672, 18, 971, 2898, 1240, 202, 759, 326, 1967, 1573, 471, 326, 563, 2546, 711, 326, 1967, 1573, 16, 1508, 202, 759, 1674, 1703, 6873, 18, 309, 486, 16, 1508, 392, 9391, 16206, 16, 202, 759, 316, 1492, 648, 732, 848, 2 ]
this.outputFileName = outputFileName; }
this.outputFileName = outputFileName; }
public void setOutputFileName(String outputFileName) { this.outputFileName = outputFileName; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/96a353c24553d31bf0a7d366711948039ba58560/Java2WSDLTask.java/buggy/modules/java2wsdl/src/org/apache/ws/java2wsdl/Java2WSDLTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 18113, 4771, 12, 780, 876, 4771, 13, 288, 5411, 333, 18, 2844, 4771, 273, 876, 4771, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 18113, 4771, 12, 780, 876, 4771, 13, 288, 5411, 333, 18, 2844, 4771, 273, 876, 4771, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IOfflineTaskHandler offlineHandler = connector.getOfflineTaskHandler();
ITaskDataHandler offlineHandler = connector.getTaskDataHandler();
public IStatus run(IProgressMonitor monitor) { monitor.beginTask("Opening Remote Task", 10); TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository( repositoryKind, serverUrl); if (repository == null) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { MessageDialog.openError(null, "Repository Not Found", "Could not find repository configuration for " + serverUrl + ". \nPlease set up repository via " + TaskRepositoriesView.NAME + "."); TasksUiUtil.openUrl(taskUrl); } }); return Status.OK_STATUS; } AbstractRepositoryConnector connector = TasksUiPlugin.getRepositoryManager().getRepositoryConnector(repositoryKind); try { IOfflineTaskHandler offlineHandler = connector.getOfflineTaskHandler(); if (offlineHandler != null) { // the following code was copied from SynchronizeTaskJob RepositoryTaskData downloadedTaskData = null; try { downloadedTaskData = offlineHandler.downloadTaskData(repository, taskId); TasksUiPlugin.getDefault().getTaskDataManager().put(downloadedTaskData); openEditor(repository, AbstractRepositoryTask.getHandle(repository.getUrl(), taskId), downloadedTaskData); } catch (final CoreException e) { if (e.getStatus().getException() instanceof UnrecognizedReponseException) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { WebBrowserDialog.openAcceptAgreement(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), "Unrecognized response from server", e.getStatus().getMessage(), e.getStatus().getException() .getMessage()); MylarStatusHandler.log(e.getStatus()); } }); } else { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), TasksUiPlugin.TITLE_DIALOG, "Could not open repository task. Verify that a task with this ID exists and is accessible." + "\n\nException: " + e.getStatus().getException()); } }); } } } else { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { TasksUiUtil.openUrl(taskUrl); } }); } } finally { monitor.done(); } return new Status(IStatus.OK, TasksUiPlugin.PLUGIN_ID, IStatus.OK, "", null); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/03f3816483b487f20214837cafbbbb03ffc5336e/OpenRepositoryTaskJob.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/OpenRepositoryTaskJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 1082, 202, 10259, 18, 10086, 2174, 2932, 21378, 6304, 3837, 3113, 1728, 1769, 1082, 202, 2174, 3305, 3352, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 6862, 202, 9071, 5677, 16, 1438, 1489, 1769, 1082, 202, 430, 261, 9071, 422, 446, 13, 288, 9506, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 3305, 2288, 10750, 3113, 6862, 9506, 202, 6, 4445, 486, 1104, 3352, 1664, 364, 315, 397, 1438, 1489, 6862, 9506, 202, 15, 3552, 521, 82, 8496, 444, 731, 3352, 3970, 315, 397, 3837, 18429, 1767, 18, 1985, 397, 4585, 1769, 25083, 202, 6685, 13943, 1304, 18, 3190, 1489, 12, 4146, 1489, 1769, 6862, 202, 97, 9506, 202, 22938, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 1082, 202, 97, 25083, 202, 7469, 3305, 7487, 8703, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 7487, 12, 9071, 5677, 1769, 1082, 202, 698, 288, 9506, 202, 45, 23106, 2174, 1503, 13493, 1503, 273, 8703, 18, 588, 23106, 2174, 1503, 5621, 9506, 202, 430, 261, 23787, 1503, 480, 446, 13, 288, 6862, 202, 759, 326, 3751, 981, 1703, 9268, 628, 26535, 554, 2174, 2278, 6862, 202, 3305, 2174, 751, 13549, 2174, 751, 273, 446, 31, 6862, 202, 698, 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, 225, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 1082, 202, 10259, 18, 10086, 2174, 2932, 21378, 6304, 3837, 3113, 1728, 1769, 1082, 202, 2174, 3305, 3352, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 6862, 202, 9071, 5677, 16, 1438, 1489, 1769, 1082, 202, 430, 261, 9071, 422, 446, 13, 288, 9506, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 3305, 2288, 10750, 3113, 6862, 9506, 202, 6, 4445, 486, 1104, 3352, 1664, 364, 315, 397, 1438, 1489, 6862, 9506, 202, 15, 2 ]
assertEquals("#SAfe0014", rsmd.getTableName(1));
assertEquals("##SAfe0014", rsmd.getTableName(1));
public void testPreparedAndCallableCursors0014() throws Exception { Statement stmt = con.createStatement(); stmt.executeUpdate("CREATE TABLE #SAfe0014(id INT PRIMARY KEY)"); stmt.executeUpdate("INSERT INTO #SAfe0014 VALUES (1)"); stmt.executeUpdate("CREATE PROCEDURE #sp_SAfe0014(@P1 INT, @P2 INT) AS " + "SELECT id, @P2 FROM #SAfe0014 WHERE id=@P1"); stmt.close(); PreparedStatement ps = con.prepareStatement("SELECT id FROM #SAfe0014", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet resultSet = ps.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, ps.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertTrue(!resultSet.next()); // Correct meta data ResultSetMetaData rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("#SAfe0014", rsmd.getTableName(1)); // Insert row resultSet.moveToInsertRow(); resultSet.updateInt(1, 2); resultSet.insertRow(); resultSet.moveToCurrentRow(); // Check correct row count resultSet.last(); assertEquals(2, resultSet.getRow()); resultSet.close(); ps.close(); ps = con.prepareStatement("SELECT id, ? FROM #SAfe0014 WHERE id = ?", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ps.setInt(1, 5); ps.setInt(2, 1); resultSet = ps.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, ps.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertEquals(5, resultSet.getInt(2)); assertTrue(!resultSet.next()); // Correct meta data rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("#SAfe0014", rsmd.getTableName(1)); resultSet.close(); ps.close(); CallableStatement cs = con.prepareCall("{call #sp_SAfe0014(?,?)}", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); cs.setInt(1, 1); cs.setInt(2, 3); resultSet = cs.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, cs.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertEquals(3, resultSet.getInt(2)); assertTrue(!resultSet.next()); // Correct meta data rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("#SAfe0014", rsmd.getTableName(1)); resultSet.close(); cs.close(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/711d47f475f1fc9d77fbce64a70d11606c38d145/SAfeTest.java/clean/src/test/net/sourceforge/jtds/test/SAfeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15464, 1876, 11452, 2408, 87, 1383, 713, 3461, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 1891, 2932, 9344, 7567, 468, 5233, 3030, 713, 3461, 12, 350, 6137, 20058, 5311, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 11356, 12421, 468, 5233, 3030, 713, 3461, 13477, 261, 21, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 9344, 4629, 23552, 4830, 468, 1752, 67, 5233, 3030, 713, 3461, 26964, 52, 21, 6137, 16, 632, 52, 22, 6137, 13, 5355, 315, 21821, 397, 315, 4803, 612, 16, 632, 52, 22, 4571, 468, 5233, 3030, 713, 3461, 4852, 612, 33, 36, 52, 21, 8863, 3639, 3480, 18, 4412, 5621, 3639, 16913, 4250, 273, 356, 18, 9366, 3406, 2932, 4803, 612, 4571, 468, 5233, 3030, 713, 3461, 3113, 4766, 10792, 10842, 18, 2399, 67, 2312, 14555, 67, 26753, 16325, 16, 4766, 10792, 10842, 18, 2248, 7509, 67, 3079, 11102, 2782, 1769, 3639, 10842, 12168, 273, 4250, 18, 8837, 1138, 5621, 3639, 368, 2631, 5599, 3639, 1815, 8867, 12, 2011, 16, 12168, 18, 588, 4312, 10663, 3639, 1815, 8867, 12, 2011, 16, 4250, 18, 588, 4312, 10663, 3639, 368, 30626, 10842, 3639, 1815, 5510, 12, 2088, 694, 18, 4285, 10663, 3639, 1815, 8867, 12, 21, 16, 12168, 18, 588, 1702, 12, 21, 10019, 3639, 1815, 5510, 12, 5, 2088, 694, 18, 4285, 10663, 3639, 368, 30626, 2191, 501, 3639, 10842, 6998, 3597, 1264, 273, 12168, 18, 588, 6998, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15464, 1876, 11452, 2408, 87, 1383, 713, 3461, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 1891, 2932, 9344, 7567, 468, 5233, 3030, 713, 3461, 12, 350, 6137, 20058, 5311, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 11356, 12421, 468, 5233, 3030, 713, 3461, 13477, 261, 21, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 9344, 4629, 23552, 4830, 468, 1752, 67, 5233, 3030, 713, 3461, 26964, 52, 21, 6137, 16, 632, 52, 22, 6137, 13, 5355, 315, 21821, 397, 315, 4803, 612, 16, 632, 52, 22, 4571, 468, 5233, 3030, 713, 3461, 4852, 612, 33, 36, 52, 21, 8863, 3639, 3480, 18, 4412, 5621, 2 ]
item.setQuantity(item.getQuantity() - quantityToKeep, dispatcher, this); quantityRemoved += quantityToKeep;
quantityRemoved += (item.getQuantity() - quantityToKeep); item.setQuantity(quantityToKeep, dispatcher, this);
public double ensureItemsTotalQuantity(List cartItems, LocalDispatcher dispatcher, double quantity) throws CartItemModifyException { double quantityRemoved = 0; // go through the items and reduce quantityToKeep by the item quantities until it is 0, then remove the remaining... double quantityToKeep = quantity; Iterator localIter = cartItems.iterator(); while (localIter.hasNext()) { ShoppingCartItem item = (ShoppingCartItem) localIter.next(); if (quantityToKeep > item.getQuantity()) { // quantityToKeep sufficient to keep it all... just reduce quantityToKeep and move on quantityToKeep = quantityToKeep - item.getQuantity(); } else { // there is more in this than we want to keep, so reduce the quantity, or remove altogether... if (quantityToKeep == 0) { // nothing left to keep, just remove it... this.removeCartItem(item, dispatcher); quantityRemoved += item.getQuantity(); } else { // there is some to keep, so reduce quantity by quantityToKeep, at this point we know we'll take up all of the rest of the quantityToKeep item.setQuantity(item.getQuantity() - quantityToKeep, dispatcher, this); quantityRemoved += quantityToKeep; quantityToKeep = 0; } } } return quantityRemoved; }
55411 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55411/3be422e863571b7755745f620be5392a40f5d9f1/ShoppingCart.java/clean/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 3387, 3126, 5269, 12035, 12, 682, 7035, 3126, 16, 3566, 6681, 7393, 16, 1645, 10457, 13, 1216, 17695, 1180, 11047, 503, 288, 3639, 1645, 10457, 10026, 273, 374, 31, 3639, 368, 1960, 3059, 326, 1516, 471, 5459, 10457, 774, 11523, 635, 326, 761, 10251, 1961, 3180, 518, 353, 374, 16, 1508, 1206, 326, 4463, 2777, 3639, 1645, 10457, 774, 11523, 273, 10457, 31, 3639, 4498, 1191, 2360, 273, 7035, 3126, 18, 9838, 5621, 3639, 1323, 261, 3729, 2360, 18, 5332, 2134, 10756, 288, 5411, 17568, 1382, 13006, 1180, 761, 273, 261, 7189, 1382, 13006, 1180, 13, 1191, 2360, 18, 4285, 5621, 13491, 309, 261, 16172, 774, 11523, 405, 761, 18, 588, 12035, 10756, 288, 7734, 368, 10457, 774, 11523, 18662, 358, 3455, 518, 777, 2777, 2537, 5459, 10457, 774, 11523, 471, 3635, 603, 5375, 10457, 774, 11523, 273, 10457, 774, 11523, 300, 761, 18, 588, 12035, 5621, 5411, 289, 469, 288, 7734, 368, 1915, 353, 1898, 316, 333, 2353, 732, 2545, 358, 3455, 16, 1427, 5459, 326, 10457, 16, 578, 1206, 3770, 717, 2437, 2777, 7734, 309, 261, 16172, 774, 11523, 422, 374, 13, 288, 10792, 368, 5083, 2002, 358, 3455, 16, 2537, 1206, 518, 2777, 10792, 333, 18, 4479, 13006, 1180, 12, 1726, 16, 7393, 1769, 10792, 10457, 10026, 1011, 761, 18, 588, 12035, 5621, 7734, 289, 469, 288, 10792, 368, 1915, 353, 2690, 358, 3455, 16, 1427, 5459, 10457, 635, 10457, 774, 11523, 16, 622, 333, 1634, 732, 5055, 732, 5614, 4862, 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, 3387, 3126, 5269, 12035, 12, 682, 7035, 3126, 16, 3566, 6681, 7393, 16, 1645, 10457, 13, 1216, 17695, 1180, 11047, 503, 288, 3639, 1645, 10457, 10026, 273, 374, 31, 3639, 368, 1960, 3059, 326, 1516, 471, 5459, 10457, 774, 11523, 635, 326, 761, 10251, 1961, 3180, 518, 353, 374, 16, 1508, 1206, 326, 4463, 2777, 3639, 1645, 10457, 774, 11523, 273, 10457, 31, 3639, 4498, 1191, 2360, 273, 7035, 3126, 18, 9838, 5621, 3639, 1323, 261, 3729, 2360, 18, 5332, 2134, 10756, 288, 5411, 17568, 1382, 13006, 1180, 761, 273, 261, 7189, 1382, 13006, 1180, 13, 1191, 2360, 18, 4285, 5621, 13491, 309, 261, 16172, 774, 11523, 405, 761, 18, 588, 12035, 10756, 288, 7734, 368, 2 ]
public byte[] getHostBytes() throws UnknownHostException { //check if the IP address is in numeric form or is it a hostname string if(Character.isDigit(hostname.charAt(hostname.length() - 1))) { //it should be an IP address //we may still need to check that its in proper form try { StringTokenizer tokenizer = new StringTokenizer(hostname,"."); String a = tokenizer.nextToken(); String b = tokenizer.nextToken(); String c = tokenizer.nextToken(); String d = tokenizer.nextToken(); int a1 = Integer.parseInt(a); int b1 = Integer.parseInt(b); int c1 = Integer.parseInt(c); int d1 = Integer.parseInt(d); byte[] retBytes = {(byte)a1, (byte)b1,(byte)c1,(byte)d1}; return retBytes; } catch(Exception e) { throw new UnknownHostException(); } } else { //it might be a domain name. //try to get its IP Address return InetAddress.getByName(hostname).getAddress(); //the above fn call might throw UnknownHostException, but thats what //we want in case of DNS failure } }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/41422245404c0fad8a30437d75fc29381b02be42/Endpoint.java/buggy/components/gnutella-core/src/main/java/com/limegroup/gnutella/Endpoint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1160, 8526, 8580, 2160, 1435, 1216, 30592, 565, 288, 5411, 368, 1893, 309, 326, 2971, 1758, 353, 316, 6389, 646, 578, 353, 518, 279, 5199, 533, 3639, 309, 12, 7069, 18, 291, 10907, 12, 10358, 18, 3001, 861, 12, 10358, 18, 2469, 1435, 300, 404, 20349, 202, 95, 202, 565, 368, 305, 1410, 506, 392, 2971, 1758, 5411, 368, 1814, 2026, 4859, 1608, 358, 866, 716, 2097, 316, 5338, 646, 5411, 775, 5411, 288, 9079, 202, 780, 10524, 10123, 273, 394, 16370, 12, 10358, 10837, 1199, 1769, 7734, 514, 279, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 324, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 276, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 302, 273, 10123, 18, 4285, 1345, 5621, 7734, 509, 279, 21, 273, 2144, 18, 2670, 1702, 12, 69, 1769, 7734, 509, 324, 21, 273, 2144, 18, 2670, 1702, 12, 70, 1769, 7734, 509, 276, 21, 273, 2144, 18, 2670, 1702, 12, 71, 1769, 7734, 509, 302, 21, 273, 2144, 18, 2670, 1702, 12, 72, 1769, 7734, 1160, 8526, 325, 2160, 273, 288, 12, 7229, 13, 69, 21, 16, 261, 7229, 13, 70, 21, 16, 12, 7229, 13, 71, 21, 16, 12, 7229, 13, 72, 21, 20451, 7734, 327, 325, 2160, 31, 2868, 289, 5411, 1044, 12, 503, 425, 13, 5411, 288, 7734, 604, 394, 30592, 5621, 5411, 289, 2398, 202, 97, 3639, 469, 3639, 288, 5411, 368, 305, 4825, 506, 279, 2461, 508, 18, 5411, 368, 698, 358, 336, 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, 1160, 8526, 8580, 2160, 1435, 1216, 30592, 565, 288, 5411, 368, 1893, 309, 326, 2971, 1758, 353, 316, 6389, 646, 578, 353, 518, 279, 5199, 533, 3639, 309, 12, 7069, 18, 291, 10907, 12, 10358, 18, 3001, 861, 12, 10358, 18, 2469, 1435, 300, 404, 20349, 202, 95, 202, 565, 368, 305, 1410, 506, 392, 2971, 1758, 5411, 368, 1814, 2026, 4859, 1608, 358, 866, 716, 2097, 316, 5338, 646, 5411, 775, 5411, 288, 9079, 202, 780, 10524, 10123, 273, 394, 16370, 12, 10358, 10837, 1199, 1769, 7734, 514, 279, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 324, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 276, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 302, 2 ]
preparedStatementForUpdate_.setInput(i + 1, updatedColumns_[i]);
preparedStatementForUpdate_.setInput(paramNumber, updatedColumns_[i]);
private void updateRowX() throws java.sql.SQLException { checkForClosedResultSet(); if (isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is on the insert " + "row or if the concurrency of this ResultSet object is CONCUR_READ_ONLY."); } // No-op if none of the columns were updated and updateRow() is called, just return. if (updatedColumns_ == null) { return; } if (preparedStatementForUpdate_ == null) { getPreparedStatementForUpdate(); } // build the inputs array for the prepared statement for update for (int i = 0; i < updatedColumns_.length; i++) { if (resultSetMetaData_.sqlxUpdatable_[i] == 1) { // column is updated either if the updatedColumns_ entry is not null, // or if the updatedColumns_ entry is null, but columnUpdated_ boolean is // set to true, which means columns is updated to a null. if (updatedColumns_[i] != null || (updatedColumns_[i] == null && columnUpdated_[i])) { preparedStatementForUpdate_.setInput(i + 1, updatedColumns_[i]); } else { // Check if the original column is null. Calling CrossConverters.setObject on a null // column causes "Data Conversion" Exception. Object originalObj = getObject(i + 1); if (originalObj == null) { preparedStatementForUpdate_.setInput(i + 1, null); } else { preparedStatementForUpdate_.setInput(i + 1, agent_.crossConverters_.setObject(resultSetMetaData_.types_[i], originalObj)); } } } } // need to cancel updates if the actual update was not successful at the server. // alternative is to check for updateCount_ in "positionToCurrentRowAndUpdate". // cancelRowUpdates if updateCount_ != 1, else set updateRowCalled_ to true. try { if (isRowsetCursor_ || sensitivity_ == sensitivity_sensitive_dynamic__) { update(); } else { positionToCurrentRowAndUpdate(); } updateRowCalled_ = true; } catch (SqlException e) { cancelRowUpdates(); throw e; } }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/f96f1b4cda7f0f73736511e2202d1be6937ca87e/ResultSet.java/buggy/java/client/org/apache/derby/client/am/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 1999, 60, 1435, 1216, 2252, 18, 4669, 18, 23116, 288, 3639, 13855, 7395, 13198, 5621, 3639, 309, 261, 291, 1398, 4600, 1999, 67, 747, 12168, 18273, 67, 422, 2252, 18, 4669, 18, 13198, 18, 2248, 7509, 67, 6949, 67, 10857, 13, 288, 5411, 604, 394, 8855, 503, 12, 5629, 27799, 1330, 2289, 67, 16, 315, 2503, 707, 2780, 506, 8187, 1323, 326, 3347, 353, 603, 326, 2243, 315, 397, 10792, 315, 492, 578, 309, 326, 17752, 434, 333, 10842, 733, 353, 3492, 7509, 67, 6949, 67, 10857, 1199, 1769, 3639, 289, 3639, 368, 2631, 17, 556, 309, 6555, 434, 326, 2168, 4591, 3526, 471, 1089, 1999, 1435, 353, 2566, 16, 2537, 327, 18, 3639, 309, 261, 7007, 3380, 67, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 9366, 72, 3406, 28431, 67, 422, 446, 13, 288, 5411, 336, 29325, 28431, 5621, 3639, 289, 3639, 368, 1361, 326, 4540, 526, 364, 326, 8208, 3021, 364, 1089, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3526, 3380, 27799, 2469, 31, 277, 27245, 288, 5411, 309, 261, 2088, 694, 6998, 27799, 4669, 92, 1211, 3404, 429, 67, 63, 77, 65, 422, 404, 13, 288, 7734, 368, 1057, 353, 3526, 3344, 309, 326, 3526, 3380, 67, 1241, 353, 486, 446, 16, 7734, 368, 578, 309, 326, 3526, 3380, 67, 1241, 353, 446, 16, 1496, 1057, 7381, 67, 1250, 353, 7734, 368, 444, 358, 638, 16, 1492, 4696, 2168, 353, 3526, 358, 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, 1089, 1999, 60, 1435, 1216, 2252, 18, 4669, 18, 23116, 288, 3639, 13855, 7395, 13198, 5621, 3639, 309, 261, 291, 1398, 4600, 1999, 67, 747, 12168, 18273, 67, 422, 2252, 18, 4669, 18, 13198, 18, 2248, 7509, 67, 6949, 67, 10857, 13, 288, 5411, 604, 394, 8855, 503, 12, 5629, 27799, 1330, 2289, 67, 16, 315, 2503, 707, 2780, 506, 8187, 1323, 326, 3347, 353, 603, 326, 2243, 315, 397, 10792, 315, 492, 578, 309, 326, 17752, 434, 333, 10842, 733, 353, 3492, 7509, 67, 6949, 67, 10857, 1199, 1769, 3639, 289, 3639, 368, 2631, 17, 556, 309, 6555, 434, 326, 2168, 4591, 3526, 471, 1089, 1999, 1435, 353, 2566, 16, 2537, 327, 18, 3639, 309, 2 ]
ViewerSorter sorter = getSorter(); TreePath parentPath = internalGetSorterParentPath(parent, sorter);
ViewerComparator comparator = getComparator(); TreePath parentPath = internalGetSorterParentPath(parent, comparator);
protected int indexForElement(Widget parent, Object element) { ViewerSorter sorter = getSorter(); TreePath parentPath = internalGetSorterParentPath(parent, sorter); Item[] items = getChildren(parent); int count = items.length; if (sorter == null) { return count; } int min = 0, max = count - 1; while (min <= max) { int mid = (min + max) / 2; Object data = items[mid].getData(); int compare = internalCompare(sorter, parentPath, data, element); if (compare == 0) { // find first item > element while (compare == 0) { ++mid; if (mid >= count) { break; } data = items[mid].getData(); compare = internalCompare(sorter, parentPath, data, element); } return mid; } if (compare < 0) { min = mid + 1; } else { max = mid - 1; } } return min; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/d65c8bc5c0d3aafead5b1e576e57c11cb279f2ca/AbstractTreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 770, 1290, 1046, 12, 4609, 982, 16, 1033, 930, 13, 288, 3639, 4441, 264, 24952, 19867, 273, 1322, 4975, 5621, 3639, 4902, 743, 17743, 273, 2713, 967, 24952, 3054, 743, 12, 2938, 16, 19867, 1769, 9506, 202, 1180, 8526, 1516, 273, 10268, 12, 2938, 1769, 202, 202, 474, 1056, 273, 1516, 18, 2469, 31, 3639, 309, 261, 2467, 387, 422, 446, 13, 288, 1082, 202, 2463, 1056, 31, 202, 202, 97, 3639, 509, 1131, 273, 374, 16, 943, 273, 1056, 300, 404, 31, 3639, 1323, 261, 1154, 1648, 943, 13, 288, 5411, 509, 7501, 273, 261, 1154, 397, 943, 13, 342, 576, 31, 5411, 1033, 501, 273, 1516, 63, 13138, 8009, 588, 751, 5621, 5411, 509, 3400, 273, 2713, 8583, 12, 2467, 387, 16, 17743, 16, 501, 16, 930, 1769, 5411, 309, 261, 9877, 422, 374, 13, 288, 7734, 368, 1104, 1122, 761, 405, 930, 7734, 1323, 261, 9877, 422, 374, 13, 288, 10792, 965, 13138, 31, 10792, 309, 261, 13138, 1545, 1056, 13, 288, 13491, 898, 31, 10792, 289, 10792, 501, 273, 1516, 63, 13138, 8009, 588, 751, 5621, 10792, 3400, 273, 2713, 8583, 12, 2467, 387, 16, 17743, 16, 501, 16, 930, 1769, 7734, 289, 7734, 327, 7501, 31, 5411, 289, 5411, 309, 261, 9877, 411, 374, 13, 288, 9506, 202, 1154, 273, 7501, 397, 404, 31, 1082, 202, 97, 469, 288, 9506, 202, 1896, 273, 7501, 300, 404, 31, 1082, 202, 97, 3639, 289, 3639, 327, 1131, 31, 565, 289, 2, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 770, 1290, 1046, 12, 4609, 982, 16, 1033, 930, 13, 288, 3639, 4441, 264, 24952, 19867, 273, 1322, 4975, 5621, 3639, 4902, 743, 17743, 273, 2713, 967, 24952, 3054, 743, 12, 2938, 16, 19867, 1769, 9506, 202, 1180, 8526, 1516, 273, 10268, 12, 2938, 1769, 202, 202, 474, 1056, 273, 1516, 18, 2469, 31, 3639, 309, 261, 2467, 387, 422, 446, 13, 288, 1082, 202, 2463, 1056, 31, 202, 202, 97, 3639, 509, 1131, 273, 374, 16, 943, 273, 1056, 300, 404, 31, 3639, 1323, 261, 1154, 1648, 943, 13, 288, 5411, 509, 7501, 273, 261, 1154, 397, 943, 13, 342, 576, 31, 5411, 1033, 501, 273, 1516, 63, 13138, 8009, 588, 751, 5621, 5411, 509, 2 ]
myExpectation.addExpectedMany(expectedItems.elements()); myExpectation.setFailOnVerify();
myExpectation.addExpectedMany(expectedItems.elements()); myExpectation.setFailOnVerify();
public void testMultiFailureFromEnumeration() { Vector expectedItems = new Vector(); expectedItems.addElement("A"); expectedItems.addElement("B"); Vector actualItems = new Vector(); actualItems.addElement("A"); actualItems.addElement("C"); myExpectation.addExpectedMany(expectedItems.elements()); myExpectation.setFailOnVerify(); myExpectation.addActualMany(actualItems.elements()); AssertMo.assertVerifyFails(myExpectation); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/AbstractTestExpectationCollection.java/buggy/jmock/core/src/test/jmock/expectation/AbstractTestExpectationCollection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5002, 5247, 1265, 21847, 1435, 288, 202, 202, 5018, 2665, 3126, 273, 394, 5589, 5621, 202, 202, 3825, 3126, 18, 1289, 1046, 2932, 37, 8863, 202, 202, 3825, 3126, 18, 1289, 1046, 2932, 38, 8863, 202, 202, 5018, 3214, 3126, 273, 394, 5589, 5621, 202, 202, 18672, 3126, 18, 1289, 1046, 2932, 37, 8863, 202, 202, 18672, 3126, 18, 1289, 1046, 2932, 39, 8863, 202, 202, 4811, 11988, 367, 18, 1289, 6861, 5594, 12, 3825, 3126, 18, 6274, 10663, 202, 202, 4811, 11988, 367, 18, 542, 3754, 1398, 8097, 5621, 202, 202, 4811, 11988, 367, 18, 1289, 11266, 5594, 12, 18672, 3126, 18, 6274, 10663, 202, 202, 8213, 16727, 18, 11231, 8097, 30800, 12, 4811, 11988, 367, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5002, 5247, 1265, 21847, 1435, 288, 202, 202, 5018, 2665, 3126, 273, 394, 5589, 5621, 202, 202, 3825, 3126, 18, 1289, 1046, 2932, 37, 8863, 202, 202, 3825, 3126, 18, 1289, 1046, 2932, 38, 8863, 202, 202, 5018, 3214, 3126, 273, 394, 5589, 5621, 202, 202, 18672, 3126, 18, 1289, 1046, 2932, 37, 8863, 202, 202, 18672, 3126, 18, 1289, 1046, 2932, 39, 8863, 202, 202, 4811, 11988, 367, 18, 1289, 6861, 5594, 12, 3825, 3126, 18, 6274, 10663, 202, 202, 4811, 11988, 367, 18, 542, 3754, 1398, 8097, 5621, 202, 202, 4811, 11988, 367, 18, 1289, 11266, 5594, 12, 18672, 3126, 18, 6274, 10663, 202, 202, 8213, 16727, 18, 11231, 8097, 30800, 12, 2 ]
System.out.println("Max CI Units " + numCIUnits); System.out.println("Unit table size " + unitTable.length);
logger.info("Max CI Units " + numCIUnits); logger.info("Unit table size " + unitTable.length);
public void dumpInfo() { System.out.println("Max CI Units " + numCIUnits); System.out.println("Unit table size " + unitTable.length); if (false) { for (int i = 0; i < unitTable.length; i++) { System.out.println("" + i + " " + unitTable[i]); } } }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/c43d21441a3a8beedeedd7aeaab48760d3ecd667/HMMPool.java/buggy/edu/cmu/sphinx/linguist/util/HMMPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4657, 966, 1435, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 2747, 17166, 27845, 315, 397, 818, 7266, 7537, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 2802, 1014, 963, 315, 397, 2836, 1388, 18, 2469, 1769, 3639, 309, 261, 5743, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2836, 1388, 18, 2469, 31, 277, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4657, 966, 1435, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 2747, 17166, 27845, 315, 397, 818, 7266, 7537, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 2802, 1014, 963, 315, 397, 2836, 1388, 18, 2469, 1769, 3639, 309, 261, 5743, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2836, 1388, 18, 2469, 31, 277, 27245, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 6, 397, 277, 397, 315, 315, 397, 2836, 1388, 63, 77, 19226, 5411, 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 ]
secureParam = URLDecoder.decode(url.substring(startIndex, endIndex),Application.get().getSettings().getResponseRequestEncoding());
secureParam = URLDecoder.decode(url.substring(startIndex, endIndex),Application.get().getRequestCycleSettings().getResponseRequestEncoding());
public String decodeURL(final String url) { int startIndex = url.indexOf("x="); if(startIndex != -1) { startIndex = startIndex +2; final String secureParam; final int endIndex = url.indexOf("&", startIndex); try { if(endIndex == -1) { secureParam = URLDecoder.decode(url.substring(startIndex),Application.get().getSettings().getResponseRequestEncoding()); } else { secureParam = URLDecoder.decode(url.substring(startIndex, endIndex),Application.get().getSettings().getResponseRequestEncoding()); } } catch (UnsupportedEncodingException ex) { // should never happen throw new WicketRuntimeException(ex); } // Get the crypt implementation from the application final ICrypt urlCrypt = Application.get().getSecuritySettings().getCryptFactory().newCrypt(); // Decrypt the query string final String queryString = urlCrypt.decrypt(secureParam); // The querystring might have been shortened (length reduced). // In that case, lengthen the query string again. return rebuildUrl(queryString); } return url; }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/8294ee3b065bff22b5be9701606c00af9fd02f3d/WebRequestWithCryptedUrl.java/clean/wicket/src/java/wicket/protocol/http/WebRequestWithCryptedUrl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 2495, 1785, 12, 6385, 514, 880, 13, 202, 95, 202, 202, 474, 10588, 273, 880, 18, 31806, 2932, 92, 1546, 1769, 202, 202, 430, 12, 1937, 1016, 480, 300, 21, 13, 202, 202, 95, 1082, 202, 1937, 1016, 273, 10588, 397, 22, 31, 1082, 202, 6385, 514, 8177, 786, 31, 1082, 202, 6385, 509, 13818, 273, 880, 18, 31806, 2932, 10, 3113, 10588, 1769, 1082, 202, 698, 1082, 202, 95, 9506, 202, 430, 12, 409, 1016, 422, 300, 21, 13, 9506, 202, 95, 6862, 202, 8869, 786, 273, 1976, 7975, 18, 3922, 12, 718, 18, 28023, 12, 1937, 1016, 3631, 3208, 18, 588, 7675, 588, 2628, 7675, 588, 1064, 691, 4705, 10663, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 8869, 786, 273, 1976, 7975, 18, 3922, 12, 718, 18, 28023, 12, 1937, 1016, 16, 13818, 3631, 3208, 18, 588, 7675, 588, 2628, 7675, 588, 1064, 691, 4705, 10663, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 8544, 13836, 431, 13, 1082, 202, 95, 9506, 202, 759, 1410, 5903, 5865, 9506, 202, 12849, 394, 678, 29378, 11949, 12, 338, 1769, 1082, 202, 97, 9506, 1875, 202, 759, 968, 326, 13231, 4471, 628, 326, 2521, 1082, 202, 6385, 467, 22815, 880, 22815, 273, 4257, 18, 588, 7675, 588, 4368, 2628, 7675, 588, 22815, 1733, 7675, 2704, 22815, 5621, 25083, 565, 368, 22411, 326, 843, 533, 1082, 202, 6385, 514, 11337, 273, 880, 22815, 18, 19790, 12, 8869, 786, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 2495, 1785, 12, 6385, 514, 880, 13, 202, 95, 202, 202, 474, 10588, 273, 880, 18, 31806, 2932, 92, 1546, 1769, 202, 202, 430, 12, 1937, 1016, 480, 300, 21, 13, 202, 202, 95, 1082, 202, 1937, 1016, 273, 10588, 397, 22, 31, 1082, 202, 6385, 514, 8177, 786, 31, 1082, 202, 6385, 509, 13818, 273, 880, 18, 31806, 2932, 10, 3113, 10588, 1769, 1082, 202, 698, 1082, 202, 95, 9506, 202, 430, 12, 409, 1016, 422, 300, 21, 13, 9506, 202, 95, 6862, 202, 8869, 786, 273, 1976, 7975, 18, 3922, 12, 718, 18, 28023, 12, 1937, 1016, 3631, 3208, 18, 588, 7675, 588, 2628, 7675, 588, 1064, 691, 4705, 10663, 9506, 202, 97, 2 ]
return status.isMultiStatus() || status.getException() instanceof CoreException;
return status.isMultiStatus() || status.getException() != null;
protected boolean shouldShowDetailsButton() { return status.isMultiStatus() || status.getException() instanceof CoreException; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/8e3a2d56b37c6206f6d8f00e9b0d20a8a1c410e5/ErrorDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ErrorDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 1410, 5706, 3790, 3616, 1435, 288, 3639, 327, 1267, 18, 291, 5002, 1482, 1435, 747, 1267, 18, 588, 503, 1435, 480, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 1410, 5706, 3790, 3616, 1435, 288, 3639, 327, 1267, 18, 291, 5002, 1482, 1435, 747, 1267, 18, 588, 503, 1435, 480, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!initialized) { systemViewXML = QName.NS_SV_URI.equals(namespaceURI); if (systemViewXML) { targetHandler = new SysViewImportHandler(importer, nsContext); } else { targetHandler = new DocViewImportHandler(importer, nsContext); } targetHandler.startDocument(); initialized = true; }
targetHandler.startNamespaceContext(localNamespaceMappings); localNamespaceMappings.clear();
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { // check if new context needs to be started if (!nsContextStarted) { // there hasn't been a preceeding startPrefixMapping event // so enter new namespace context nsContext.pushContext(); } else { // reset flag nsContextStarted = false; } if (!initialized) { // the namespace of the first element determines the type of XML // (system view/document view) systemViewXML = QName.NS_SV_URI.equals(namespaceURI); if (systemViewXML) { targetHandler = new SysViewImportHandler(importer, nsContext); } else { targetHandler = new DocViewImportHandler(importer, nsContext); } targetHandler.startDocument(); initialized = true; } // delegate to target handler targetHandler.startElement(namespaceURI, localName, qName, atts); }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/5e9b632fd59ddbb2d950417bb849b7ff41e56518/ImportHandler.java/clean/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/ImportHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 19421, 16, 514, 11927, 16, 514, 22914, 16, 11794, 9055, 15687, 13, 1216, 14366, 288, 3639, 368, 866, 309, 394, 819, 4260, 358, 506, 5746, 3639, 309, 16051, 2387, 1042, 9217, 13, 288, 5411, 368, 1915, 13342, 1404, 2118, 279, 675, 5288, 310, 787, 2244, 3233, 871, 5411, 368, 1427, 6103, 394, 1981, 819, 5411, 3153, 1042, 18, 6206, 1042, 5621, 3639, 289, 469, 288, 5411, 368, 2715, 2982, 5411, 3153, 1042, 9217, 273, 629, 31, 3639, 289, 3639, 309, 16051, 13227, 13, 288, 5411, 368, 326, 1981, 434, 326, 1122, 930, 12949, 326, 618, 434, 3167, 5411, 368, 261, 4299, 1476, 19, 5457, 1476, 13, 5411, 2619, 1767, 4201, 273, 16723, 18, 3156, 67, 23927, 67, 3098, 18, 14963, 12, 4937, 3098, 1769, 5411, 309, 261, 4299, 1767, 4201, 13, 288, 7734, 1018, 1503, 273, 394, 16995, 1767, 5010, 1503, 12, 381, 7988, 16, 3153, 1042, 1769, 5411, 289, 469, 288, 7734, 1018, 1503, 273, 394, 3521, 1767, 5010, 1503, 12, 381, 7988, 16, 3153, 1042, 1769, 5411, 289, 5411, 1018, 1503, 18, 1937, 2519, 5621, 5411, 6454, 273, 638, 31, 3639, 289, 3639, 368, 7152, 358, 1018, 1838, 3639, 1018, 1503, 18, 1937, 1046, 12, 4937, 3098, 16, 11927, 16, 22914, 16, 15687, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 19421, 16, 514, 11927, 16, 514, 22914, 16, 11794, 9055, 15687, 13, 1216, 14366, 288, 3639, 368, 866, 309, 394, 819, 4260, 358, 506, 5746, 3639, 309, 16051, 2387, 1042, 9217, 13, 288, 5411, 368, 1915, 13342, 1404, 2118, 279, 675, 5288, 310, 787, 2244, 3233, 871, 5411, 368, 1427, 6103, 394, 1981, 819, 5411, 3153, 1042, 18, 6206, 1042, 5621, 3639, 289, 469, 288, 5411, 368, 2715, 2982, 5411, 3153, 1042, 9217, 273, 629, 31, 3639, 289, 3639, 309, 16051, 13227, 13, 288, 5411, 368, 326, 1981, 434, 326, 1122, 930, 12949, 326, 618, 434, 3167, 5411, 368, 261, 4299, 1476, 19, 5457, 1476, 13, 5411, 2619, 1767, 4201, 273, 16723, 18, 2 ]
} else
} else
public void updateMatrixQuestionInSection(HttpServletRequest request){ HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = request.getParameter("name"); String image = request.getParameter("image"); String questionText = request.getParameter("questionTxt"); int rowId = Integer.parseInt(request.getParameter("row")); rowId--; Object obj = session.getAttribute("answers"); ArrayList<String> answers = null; if(obj instanceof PersistentList){ Iterator iter = ((PersistentList) obj).iterator(); answers = new ArrayList<String>(); while(iter.hasNext()){ answers.add((String) iter.next()); } } else answers = (ArrayList<String>) session.getAttribute("answers"); obj = session.getAttribute("columns"); ArrayList<String> columns = null; if(obj instanceof PersistentList){ Iterator iter = ((PersistentList) obj).iterator(); columns = new ArrayList<String>(); while(iter.hasNext()){ columns.add((String) iter.next()); } } else columns = (ArrayList<String>) session.getAttribute("columns"); // now parse different params depending on the type RadioMatrixQuestion question = new RadioMatrixQuestion(columns.size(), answers.size()); question.setDescription(questionText); question.setSection(section); question.setTitle(name); question.setItems(answers); question.setColumnsTitles(columns); question.setImage(image); List<Question> quests = section.getQuestions(); quests.set(rowId, question); section.setQuestions(quests); session.setAttribute("currentSection", section); session.removeAttribute("answers"); session.removeAttribute("columns"); }
54385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54385/1987aafdf9f6e92293bee44cf33ba906d200af2c/SurveyWebComponent.java/buggy/survey/src/java/ar/com/survey/web/component/SurveyWebComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 4635, 11665, 382, 5285, 12, 2940, 18572, 590, 15329, 202, 202, 2940, 2157, 1339, 273, 590, 18, 588, 2157, 5621, 202, 202, 5285, 2442, 273, 261, 5285, 13, 1339, 18, 588, 1499, 2932, 2972, 5285, 8863, 202, 202, 780, 508, 273, 590, 18, 588, 1662, 2932, 529, 8863, 202, 202, 780, 1316, 273, 590, 18, 588, 1662, 2932, 2730, 8863, 9506, 202, 780, 5073, 1528, 273, 590, 18, 588, 1662, 2932, 4173, 21811, 8863, 202, 202, 474, 26798, 273, 2144, 18, 2670, 1702, 12, 2293, 18, 588, 1662, 2932, 492, 7923, 1769, 202, 202, 492, 548, 413, 31, 9506, 202, 921, 1081, 273, 1339, 18, 588, 1499, 2932, 22340, 8863, 202, 202, 19558, 32, 780, 34, 12415, 273, 446, 31, 202, 202, 430, 12, 2603, 1276, 11049, 682, 15329, 1082, 202, 3198, 1400, 273, 14015, 11906, 682, 13, 1081, 2934, 9838, 5621, 1082, 202, 22340, 273, 394, 2407, 32, 780, 34, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 95, 9506, 202, 22340, 18, 1289, 12443, 780, 13, 1400, 18, 4285, 10663, 1082, 202, 97, 202, 202, 97, 469, 1875, 202, 22340, 273, 261, 19558, 32, 780, 23429, 1339, 18, 588, 1499, 2932, 22340, 8863, 9506, 202, 2603, 273, 1339, 18, 588, 1499, 2932, 5112, 8863, 202, 202, 19558, 32, 780, 34, 2168, 273, 446, 31, 202, 202, 430, 12, 2603, 1276, 11049, 682, 15329, 1082, 202, 3198, 1400, 273, 14015, 11906, 682, 13, 1081, 2934, 9838, 5621, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 4635, 11665, 382, 5285, 12, 2940, 18572, 590, 15329, 202, 202, 2940, 2157, 1339, 273, 590, 18, 588, 2157, 5621, 202, 202, 5285, 2442, 273, 261, 5285, 13, 1339, 18, 588, 1499, 2932, 2972, 5285, 8863, 202, 202, 780, 508, 273, 590, 18, 588, 1662, 2932, 529, 8863, 202, 202, 780, 1316, 273, 590, 18, 588, 1662, 2932, 2730, 8863, 9506, 202, 780, 5073, 1528, 273, 590, 18, 588, 1662, 2932, 4173, 21811, 8863, 202, 202, 474, 26798, 273, 2144, 18, 2670, 1702, 12, 2293, 18, 588, 1662, 2932, 492, 7923, 1769, 202, 202, 492, 548, 413, 31, 9506, 202, 921, 1081, 273, 1339, 18, 588, 1499, 2932, 22340, 8863, 202, 202, 19558, 32, 2 ]
parsePosition.setErrorIndex(oldStart);
private final boolean subparse(String text, ParsePosition parsePosition, DigitList digits, boolean isExponent, boolean status[]) { int position = parsePosition.getIndex(); int oldStart = parsePosition.getIndex(); int backup; // Match positive and negative prefixes; prefer longest match. int posMatch = compareAffix(positivePrefix, text, position); int negMatch = compareAffix(negativePrefix, text, position); if (posMatch >= 0 && negMatch >= 0) { if (posMatch > negMatch) { negMatch = -1; } else if (negMatch > posMatch) { posMatch = -1; } } if (posMatch >= 0) { position += posMatch; } else if (negMatch >= 0) { position += negMatch; } else { //PP:parsePosition.errorIndex = position; return false; } // process digits or Inf, find decimal position status[STATUS_INFINITE] = false; if (!isExponent && text.regionMatches(position,symbols.getInfinity(),0, symbols.getInfinity().length())) { position += symbols.getInfinity().length(); status[STATUS_INFINITE] = true; } else { // We now have a string of digits, possibly with grouping symbols, // and decimal points. We want to process these into a DigitList. // We don't want to put a bunch of leading zeros into the DigitList // though, so we keep track of the location of the decimal point, // put only significant digits into the DigitList, and adjust the // exponent as needed. digits.decimalAt = digits.count = 0; char zero = symbols.getZeroDigit(); char decimal = isCurrencyFormat ? symbols.getMonetaryDecimalSeparator() : symbols.getDecimalSeparator(); char grouping = symbols.getGroupingSeparator(); String exponentSep = symbols.getExponentSeparator(); boolean sawDecimal = false; boolean sawExponent = false; boolean sawDigit = false; int exponent = 0; // Set to the exponent value, if any int digit = 0; // We have to track digitCount ourselves, because digits.count will // pin when the maximum allowable digits is reached. int digitCount = 0; backup = -1; for (; position < text.length(); ++position) { char ch = text.charAt(position); /* We recognize all digit ranges, not only the Latin digit range * '0'..'9'. We do so by using the Character.digit() method, * which converts a valid Unicode digit to the range 0..9. * * The character 'ch' may be a digit. If so, place its value * from 0 to 9 in 'digit'. First try using the locale digit, * which may or MAY NOT be a standard Unicode digit range. If * this fails, try using the standard Unicode digit ranges by * calling Character.digit(). If this also fails, digit will * have a value outside the range 0..9. */ digit = ch - zero; if (digit < 0 || digit > 9) digit = Character.digit(ch, 10); if (digit == 0) { // Cancel out backup setting (see grouping handler below) backup = -1; // Do this BEFORE continue statement below!!! sawDigit = true; // Handle leading zeros if (digits.count == 0) { // Ignore leading zeros in integer part of number. if (!sawDecimal) continue; // If we have seen the decimal, but no significant digits yet, // then we account for leading zeros by decrementing the // digits.decimalAt into negative values. --digits.decimalAt; } else { ++digitCount; digits.append((char)(digit + '0')); } } else if (digit > 0 && digit <= 9) // [sic] digit==0 handled above { sawDigit = true; ++digitCount; digits.append((char)(digit + '0')); // Cancel out backup setting (see grouping handler below) backup = -1; } else if (!isExponent && ch == decimal) { // If we're only parsing integers, or if we ALREADY saw the // decimal, then don't parse this one. if (isParseIntegerOnly() || sawDecimal) break; digits.decimalAt = digitCount; // Not digits.count! sawDecimal = true; } else if (!isExponent && ch == grouping && isGroupingUsed()) { if (sawDecimal) { break; } // Ignore grouping characters, if we are using them, but require // that they be followed by a digit. Otherwise we backup and // reprocess them. backup = position; } else if (!isExponent && !sawExponent && text.regionMatches(position, exponentSep, 0, exponentSep.length())) { // Parse sign, if present boolean negExp = false; int pos = position + exponentSep.length(); if (pos < text.length()) { ch = text.charAt(pos); if (ch == symbols.getPlusSign()) { ++pos; } else if (ch == symbols.getMinusSign()) { ++pos; negExp = true; } } DigitList exponentDigits = new DigitList(); exponentDigits.count = 0; while (pos < text.length()) { digit = text.charAt(pos) - zero; if (digit < 0 || digit > 9) { /* Can't parse "[1E0]" when pattern is "0.###E0;[0.###E0]" Should update reassign the value of 'ch' in the code: digit = Character.digit(ch, 10); [Richard/GCL] */ digit = Character.digit(text.charAt(pos), 10); } if (digit >= 0 && digit <= 9) { exponentDigits.append((char)(digit + '0')); ++pos; } else { break; } } if (exponentDigits.count > 0) { exponentDigits.decimalAt = exponentDigits.count; exponent = (int) exponentDigits.getLong(); if (negExp) { exponent = -exponent; } position = pos; // Advance past the exponent sawExponent = true; } break; // Whether we fail or succeed, we exit this loop } else break; } if (backup != -1) position = backup; // If there was no decimal point we have an integer if (!sawDecimal) digits.decimalAt = digitCount; // Not digits.count! // Adjust for exponent, if any digits.decimalAt += exponent; // If none of the text string was recognized. For example, parse // "x" with pattern "#0.00" (return index and error index both 0) // parse "$" with pattern "$#0.00". (return index 0 and error index // 1). if (!sawDigit && digitCount == 0) { parsePosition.setIndex(oldStart); //PP:parsePosition.errorIndex = oldStart; return false; } } // Match positive and negative suffixes; prefer longest match. if (posMatch >= 0) { posMatch = compareAffix(positiveSuffix, text, position); } if (negMatch >= 0) { negMatch = compareAffix(negativeSuffix, text, position); } if (posMatch >= 0 && negMatch >= 0) { if (posMatch > negMatch) { negMatch = -1; } else if (negMatch > posMatch) { posMatch = -1; } } // Fail if neither or both if ((posMatch >= 0) == (negMatch >= 0)) { //PP:parsePosition.errorIndex = position; return false; } parsePosition.setIndex(position + (posMatch>=0 ? posMatch : negMatch)); status[STATUS_POSITIVE] = (posMatch >= 0); if (parsePosition.getIndex() == oldStart) { //PP:parsePosition.errorIndex = position; return false; } return true; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/04654837b4a7c667293aa532d89d664e99fc6212/DecimalFormat.java/clean/icu4j/src/com/ibm/icu/text/DecimalFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 3238, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 727, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1250, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 720, 2670, 12, 780, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 977, 16, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 2884, 2555, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 16, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 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, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 3238, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 727, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1250, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 720, 2670, 12, 780, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 977, 16, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 2884, 2555, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 16, 2670, 2555, 18, 542, 668, 2 ]
aEnvironment.iCurrentOutput.Write("Function not yet implemented : DllEnumerate");
aEnvironment.iCurrentOutput.Write("Function not yet implemented : DllEnumerate"); throw new Yacasexception("Function not yet supported");
public void Eval(LispEnvironment aEnvironment,int aStackTop) throws Exception { aEnvironment.iCurrentOutput.Write("Function not yet implemented : DllEnumerate");//TODO FIXME }
7272 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7272/be94246deecbac70cc4ce6861d9706a7cedcdd2f/MathCommands.java/clean/JavaYacas/MathCommands.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13163, 12, 48, 23831, 5494, 279, 5494, 16, 474, 279, 2624, 3401, 13, 1216, 1185, 565, 288, 1377, 279, 5494, 18, 77, 3935, 1447, 18, 3067, 2932, 2083, 486, 4671, 8249, 294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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13163, 12, 48, 23831, 5494, 279, 5494, 16, 474, 279, 2624, 3401, 13, 1216, 1185, 565, 288, 1377, 279, 5494, 18, 77, 3935, 1447, 18, 3067, 2932, 2083, 486, 4671, 8249, 294, 463, 2906, 3572, 12600, 8863, 759, 6241, 9852, 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 ]
sizePenalization = 1/ (500*Math.pow(2,evo.config.maxDepth+1));
sizePenalization = 1/ (500*Math.pow(2, config.maxDepth+1));
private void init (Evolution evo) { this.evo = evo; /* How much each SNR is more important than the next one: * Must be smaller than 1/3 */ deltaSNR = evo.config.deltaSNR; continuityImportance = evo.config.continuityImportance; //How much important is voice over silence: kHR1 = evo.config.kHR1; sizePenalization = 1/ (500*Math.pow(2,evo.config.maxDepth+1)); results = new double[evo.dataHolder.nSamples]; }
12140 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12140/8845f3626a06d05706f6c2e0889a778682a0b689/FitnessClassifier.java/buggy/src/gpalta/core/FitnessClassifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 261, 20861, 5889, 2113, 83, 13, 565, 288, 3639, 333, 18, 73, 12307, 273, 2113, 83, 31, 3639, 1748, 9017, 9816, 1517, 14204, 54, 353, 1898, 10802, 2353, 326, 1024, 1245, 30, 540, 380, 6753, 506, 10648, 2353, 404, 19, 23, 540, 1195, 3639, 3622, 13653, 54, 273, 2113, 83, 18, 1425, 18, 9878, 13653, 54, 31, 3639, 9985, 560, 5010, 1359, 273, 2113, 83, 18, 1425, 18, 1213, 6860, 560, 5010, 1359, 31, 3639, 368, 44, 543, 9816, 10802, 353, 15063, 1879, 31468, 30, 3639, 417, 15024, 21, 273, 2113, 83, 18, 1425, 18, 79, 15024, 21, 31, 7734, 963, 24251, 287, 1588, 273, 404, 19, 261, 12483, 14, 10477, 18, 23509, 12, 22, 16, 642, 18, 1896, 6148, 15, 21, 10019, 7734, 1686, 273, 394, 1645, 63, 73, 12307, 18, 892, 6064, 18, 82, 13239, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 261, 20861, 5889, 2113, 83, 13, 565, 288, 3639, 333, 18, 73, 12307, 273, 2113, 83, 31, 3639, 1748, 9017, 9816, 1517, 14204, 54, 353, 1898, 10802, 2353, 326, 1024, 1245, 30, 540, 380, 6753, 506, 10648, 2353, 404, 19, 23, 540, 1195, 3639, 3622, 13653, 54, 273, 2113, 83, 18, 1425, 18, 9878, 13653, 54, 31, 3639, 9985, 560, 5010, 1359, 273, 2113, 83, 18, 1425, 18, 1213, 6860, 560, 5010, 1359, 31, 3639, 368, 44, 543, 9816, 10802, 353, 15063, 1879, 31468, 30, 3639, 417, 15024, 21, 273, 2113, 83, 18, 1425, 18, 79, 15024, 21, 31, 7734, 963, 24251, 287, 1588, 273, 404, 19, 261, 12483, 14, 10477, 18, 23509, 12, 22, 2 ]
return indentLine(lineIndex);
return indentLine(lineIndex,canDecreaseIndent);
public boolean indentLine(int lineIndex, boolean canIncreaseIndent, boolean canDecreaseIndent) { return indentLine(lineIndex); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/157009a3e78368b304e6449aa22d36427a1cfa91/Buffer.java/buggy/org/gjt/sp/jedit/Buffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3504, 1670, 12, 474, 980, 1016, 16, 1250, 848, 382, 11908, 7790, 16, 202, 202, 6494, 848, 23326, 448, 7790, 13, 202, 95, 202, 202, 2463, 3504, 1670, 12, 1369, 1016, 1769, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 1016, 1769, 202, 97, 368, 9090, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (field.isStatic()) { final VmStaticField sf = (VmStaticField)field; initialize(sf); return Unsafe.getLong(getStaticFieldAddress(sf)); } else { final VmInstanceField inf = (VmInstanceField)field; return Unsafe.getLong(o, inf.getOffset()); } }
if (field.isStatic()) { final VmStaticField sf = (VmStaticField) field; initialize(sf); return Unsafe.getLong(getStaticFieldAddress(sf)); } else { final VmInstanceField inf = (VmInstanceField) field; return Unsafe.getLong(o, inf.getOffset()); } }
public static long getLong(VmField field, Object o) { if (field.isStatic()) { final VmStaticField sf = (VmStaticField)field; initialize(sf); return Unsafe.getLong(getStaticFieldAddress(sf)); } else { final VmInstanceField inf = (VmInstanceField)field; return Unsafe.getLong(o, inf.getOffset()); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e4a473e34ef840c188ac5bf477d7d4e303019638/VmReflection.java/buggy/core/src/core/org/jnode/vm/VmReflection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1525, 11105, 12, 22143, 974, 652, 16, 1033, 320, 13, 288, 202, 202, 430, 261, 1518, 18, 291, 5788, 10756, 288, 1082, 202, 6385, 776, 81, 5788, 974, 9033, 273, 261, 22143, 5788, 974, 13, 1518, 31, 1082, 202, 11160, 12, 21668, 1769, 1082, 202, 2463, 27476, 18, 588, 3708, 12, 588, 5788, 974, 1887, 12, 21668, 10019, 202, 202, 97, 469, 288, 1082, 202, 6385, 776, 81, 1442, 974, 8286, 273, 261, 22143, 1442, 974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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1525, 11105, 12, 22143, 974, 652, 16, 1033, 320, 13, 288, 202, 202, 430, 261, 1518, 18, 291, 5788, 10756, 288, 1082, 202, 6385, 776, 81, 5788, 974, 9033, 273, 261, 22143, 5788, 974, 13, 1518, 31, 1082, 202, 11160, 12, 21668, 1769, 1082, 202, 2463, 27476, 18, 588, 3708, 12, 588, 5788, 974, 1887, 12, 21668, 10019, 202, 202, 97, 469, 288, 1082, 202, 6385, 776, 81, 1442, 974, 8286, 273, 261, 22143, 1442, 974, 13, 1518, 31, 1082, 202, 2463, 27476, 18, 588, 3708, 12, 83, 16, 8286, 18, 588, 2335, 10663, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (con[i].type==ConstraintType.GE) {
if (con[i].type.equals(ConstraintType.GE)) {
private ModelAndVars setupModel() throws IloException, IOException { // make model IloCplex model = new IloCplex(); // if there's any timeout, put emphasis on finding a feasible // solution quickly instead of proving the optimality of the // solution. if (this.timeout!=MAX_TIMEOUT) { model.setParam(IloCplex.IntParam.MIPEmphasis, IloCplex.MIPEmphasis.Feasibility); } // construct types IloNumVarType[] types = new IloNumVarType[numVars]; for (int i=0; i<numVars; i++) { if (boolVar[i]) { types[i] = IloNumVarType.Bool; } else { types[i] = IloNumVarType.Float; } } // construct bounds for vars double[] lb = new double[numVars]; double[] ub = new double[numVars]; for (int i=0; i<numVars; i++) { // give 0-1 range for bool vars solely to avoid warning // from cplex; the important part of the bool var is the // type decided above. if (boolVar[i]) { lb[i] = 0.0; ub[i] = 1.0; } else { lb[i] = Double.MIN_VALUE; ub[i] = Double.MAX_VALUE; } } // construct vars <x> IloNumVar[] x = model.numVarArray(numVars, lb, ub, types); // construct objective function model.addMinimize(model.scalProd(x, obj)); // add constraints Constraint[] con = (Constraint[])constraints.toArray(new Constraint[0]); for (int i=0; i<con.length; i++) { if (con[i].type==ConstraintType.GE) { model.add(model.addGe(model.scalProd(x, con[i].lhs), con[i].rhs)); } else if (con[i].type==ConstraintType.EQ) { model.add(model.addEq(model.scalProd(x, con[i].lhs), con[i].rhs)); } else { Utils.fail("Unrecognized constraint type: " + con[i].type); } } return new ModelAndVars(model, x); }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/1026c0f3b8e4ba2307c8c2dd3a5612f7bb42a0de/CPLEXSolve.java/clean/streams/src/at/dms/kjc/linprog/CPLEXSolve.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3164, 1876, 5555, 3875, 1488, 1435, 1216, 467, 383, 503, 16, 1860, 288, 202, 759, 1221, 938, 202, 45, 383, 39, 7179, 938, 273, 394, 467, 383, 39, 7179, 5621, 202, 759, 309, 1915, 1807, 1281, 2021, 16, 1378, 801, 844, 17247, 603, 13727, 279, 1656, 30711, 202, 759, 6959, 23459, 3560, 434, 450, 6282, 326, 16413, 560, 434, 326, 202, 759, 6959, 18, 202, 430, 261, 2211, 18, 4538, 5, 33, 6694, 67, 9503, 13, 288, 202, 565, 938, 18, 542, 786, 12, 45, 383, 39, 7179, 18, 1702, 786, 18, 7492, 1423, 81, 844, 17247, 16, 467, 383, 39, 7179, 18, 7492, 1423, 81, 844, 17247, 18, 2954, 345, 3628, 1769, 202, 97, 202, 202, 759, 4872, 1953, 202, 45, 383, 2578, 1537, 559, 8526, 1953, 273, 394, 467, 383, 2578, 1537, 559, 63, 2107, 5555, 15533, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 2107, 5555, 31, 277, 27245, 288, 202, 565, 309, 261, 6430, 1537, 63, 77, 5717, 288, 202, 202, 2352, 63, 77, 65, 273, 467, 383, 2578, 1537, 559, 18, 7464, 31, 202, 565, 289, 469, 288, 202, 202, 2352, 63, 77, 65, 273, 467, 383, 2578, 1537, 559, 18, 4723, 31, 202, 565, 289, 202, 97, 202, 759, 4872, 4972, 364, 4153, 202, 9056, 8526, 7831, 273, 394, 1645, 63, 2107, 5555, 15533, 202, 9056, 8526, 13910, 273, 394, 1645, 63, 2107, 5555, 15533, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 2107, 5555, 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, 3164, 1876, 5555, 3875, 1488, 1435, 1216, 467, 383, 503, 16, 1860, 288, 202, 759, 1221, 938, 202, 45, 383, 39, 7179, 938, 273, 394, 467, 383, 39, 7179, 5621, 202, 759, 309, 1915, 1807, 1281, 2021, 16, 1378, 801, 844, 17247, 603, 13727, 279, 1656, 30711, 202, 759, 6959, 23459, 3560, 434, 450, 6282, 326, 16413, 560, 434, 326, 202, 759, 6959, 18, 202, 430, 261, 2211, 18, 4538, 5, 33, 6694, 67, 9503, 13, 288, 202, 565, 938, 18, 542, 786, 12, 45, 383, 39, 7179, 18, 1702, 786, 18, 7492, 1423, 81, 844, 17247, 16, 467, 383, 39, 7179, 18, 7492, 1423, 81, 844, 17247, 18, 2954, 345, 3628, 1769, 202, 97, 202, 202, 2 ]
Object errArgs[] = { names[0] }; throw Context.reportRuntimeError( Context.getMessage("msg.nonjava.method", errArgs));
throw Context.reportRuntimeError1( "msg.nonjava.method", names[0]);
public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { // Find a method that matches the types given. if (methods.length == 0) { throw new RuntimeException("No methods defined for call"); } Method meth = (Method) findFunction(methods, args); if (meth == null) { Class c = methods[0].getDeclaringClass(); String sig = c.getName() + "." + names[0] + "(" + scriptSignature(args) + ")"; Object errArgs[] = { sig }; throw Context.reportRuntimeError( Context.getMessage("msg.java.no_such_method", errArgs)); } // OPT: already retrieved in findFunction, so we should inline that // OPT: or pass it back somehow Class paramTypes[] = meth.getParameterTypes(); // First, we marshall the args. for (int i = 0; i < args.length; i++) { args[i] = NativeJavaObject.coerceType(paramTypes[i], args[i]); } Object javaObject; if (Modifier.isStatic(meth.getModifiers())) { javaObject = null; // don't need an object } else { Scriptable o = thisObj; while (!(o instanceof Wrapper)) { o = o.getPrototype(); if (o == null) { Object errArgs[] = { names[0] }; throw Context.reportRuntimeError( Context.getMessage("msg.nonjava.method", errArgs)); } } javaObject = ((Wrapper) o).unwrap(); } try { if (debug) { printDebug("Calling ", meth, args); } Object retval = meth.invoke(javaObject, args); Class staticType = meth.getReturnType(); if (debug) { Class actualType = (retval == null) ? null : retval.getClass(); System.err.println(" ----- Returned " + retval + " actual = " + actualType + " expect = " + staticType); } Object wrapped = NativeJavaObject.wrap(scope, retval, staticType); if (debug) { Class actualType = (wrapped == null) ? null : wrapped.getClass(); System.err.println(" ----- Wrapped as " + wrapped + " class = " + actualType); } if (wrapped == Undefined.instance) return wrapped; if (wrapped == null && staticType == Void.TYPE) return Undefined.instance; return wrapped; } catch (IllegalAccessException accessEx) { throw Context.reportRuntimeError(accessEx.getMessage()); } catch (InvocationTargetException e) { throw JavaScriptException.wrapException(scope, e); } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/45820b15541f8822cc8d463aa50caef2201b19b4/NativeJavaMethod.java/buggy/src/org/mozilla/javascript/NativeJavaMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 368, 4163, 279, 707, 716, 1885, 326, 1953, 864, 18, 3639, 309, 261, 5163, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 3235, 2932, 2279, 2590, 2553, 364, 745, 8863, 3639, 289, 3639, 2985, 7917, 273, 261, 1305, 13, 1104, 2083, 12, 5163, 16, 833, 1769, 3639, 309, 261, 27305, 422, 446, 13, 288, 5411, 1659, 276, 273, 2590, 63, 20, 8009, 588, 3456, 14682, 5621, 5411, 514, 3553, 273, 276, 18, 17994, 1435, 397, 4585, 397, 1257, 63, 20, 65, 397, 12452, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 7310, 31, 5411, 1033, 393, 2615, 8526, 273, 288, 3553, 289, 31, 5411, 604, 1772, 18, 6006, 5576, 668, 12, 7734, 1772, 18, 24906, 2932, 3576, 18, 6290, 18, 2135, 67, 87, 2648, 67, 2039, 3113, 393, 2615, 10019, 3639, 289, 3639, 368, 16456, 30, 1818, 10295, 316, 1104, 2083, 16, 1427, 732, 1410, 6370, 716, 3639, 368, 16456, 30, 578, 1342, 518, 1473, 28578, 3639, 1659, 21265, 8526, 273, 7917, 18, 588, 1662, 2016, 5621, 3639, 368, 5783, 16, 732, 1833, 326, 833, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 833, 63, 77, 65, 273, 16717, 5852, 921, 18, 2894, 2765, 559, 12, 891, 2016, 63, 77, 6487, 833, 63, 77, 19226, 3639, 289, 3639, 1033, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 368, 4163, 279, 707, 716, 1885, 326, 1953, 864, 18, 3639, 309, 261, 5163, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 3235, 2932, 2279, 2590, 2553, 364, 745, 8863, 3639, 289, 3639, 2985, 7917, 273, 261, 1305, 13, 1104, 2083, 12, 5163, 16, 833, 1769, 3639, 309, 261, 27305, 422, 446, 13, 288, 5411, 1659, 276, 273, 2590, 63, 20, 8009, 588, 3456, 14682, 5621, 5411, 514, 3553, 273, 276, 18, 17994, 1435, 397, 4585, 397, 1257, 63, 20, 65, 397, 12452, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 7310, 2 ]
tc.addSelectionListener(headerListener);
tc.addSelectionListener(getHeaderListener()); tc.setData(fields[i]);
protected void createColumns(final Tree tree) { SelectionListener headerListener = getHeaderListener(); TableLayout layout = new TableLayout(); tree.setLayout(layout); tree.setHeaderVisible(true); final IField[] fields = getVisibleFields(); ColumnLayoutData[] columnWidths = getSavedColumnData(); for (int i = 0; i < fields.length; i++) { layout.addColumnData(columnWidths[i]); TreeColumn tc = new TreeColumn(tree, SWT.NONE, i); tc.setText(fields[i].getColumnHeaderText()); tc.setImage(fields[i].getColumnHeaderImage()); tc.setResizable(columnWidths[i].resizable); tc.addSelectionListener(headerListener); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/2bc2f7e05493c8f842d6d73cc7cb85357120cefd/TableView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 3380, 12, 6385, 4902, 2151, 13, 288, 202, 202, 6233, 2223, 1446, 2223, 273, 7911, 2223, 5621, 202, 202, 1388, 3744, 3511, 273, 394, 3555, 3744, 5621, 202, 202, 3413, 18, 542, 3744, 12, 6741, 1769, 202, 202, 3413, 18, 542, 1864, 6207, 12, 3767, 1769, 202, 202, 6385, 467, 974, 8526, 1466, 273, 31564, 2314, 5621, 202, 202, 1494, 3744, 751, 8526, 1057, 22407, 273, 1322, 8158, 1494, 751, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6741, 18, 1289, 1494, 751, 12, 2827, 22407, 63, 77, 19226, 1082, 202, 2471, 1494, 1715, 273, 394, 4902, 1494, 12, 3413, 16, 348, 8588, 18, 9826, 16, 277, 1769, 1082, 202, 5111, 18, 542, 1528, 12, 2821, 63, 77, 8009, 588, 1494, 1864, 1528, 10663, 1082, 202, 5111, 18, 542, 2040, 12, 2821, 63, 77, 8009, 588, 1494, 1864, 2040, 10663, 1082, 202, 5111, 18, 542, 607, 6934, 12, 2827, 22407, 63, 77, 8009, 455, 6934, 1769, 1082, 202, 5111, 18, 1289, 6233, 2223, 12, 3374, 2223, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 3380, 12, 6385, 4902, 2151, 13, 288, 202, 202, 6233, 2223, 1446, 2223, 273, 7911, 2223, 5621, 202, 202, 1388, 3744, 3511, 273, 394, 3555, 3744, 5621, 202, 202, 3413, 18, 542, 3744, 12, 6741, 1769, 202, 202, 3413, 18, 542, 1864, 6207, 12, 3767, 1769, 202, 202, 6385, 467, 974, 8526, 1466, 273, 31564, 2314, 5621, 202, 202, 1494, 3744, 751, 8526, 1057, 22407, 273, 1322, 8158, 1494, 751, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6741, 18, 1289, 1494, 751, 12, 2827, 22407, 63, 77, 19226, 1082, 202, 2471, 1494, 1715, 273, 394, 4902, 1494, 12, 3413, 16, 2 ]
reportStatus(myWCAccess.getTarget(), myTarget, false, myIsRecursive);
myIsIncludeIgnored = true; reportStatus(myWCAccess.getAnchor(), myTarget, false, myIsRecursive);
public SVNCommitInfo closeEdit() throws SVNException { if (myIsRootOpened) { return new SVNCommitInfo(myTargetRevision, null, null); } if (myTarget != null) { File file = myWCAccess.getAnchor().getFile(myTarget, false); if (file.isDirectory()) { SVNEntries entries = myWCAccess.getAnchor().getEntries(); SVNEntry entry = entries.getEntry(myTarget); entries.close(); if (entry != null) { reportStatus(myWCAccess.getTarget(), null, false, myIsRecursive); } else { reportStatus(myWCAccess.getTarget(), myTarget, false, myIsRecursive); } } else { reportStatus(myWCAccess.getTarget(), myTarget, false, myIsRecursive); } } else { reportStatus(myWCAccess.getAnchor(), null, false, myIsRecursive); } return null; }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/e0add54b126f78258e6051c7ffe315e3ae0fb173/SVNStatusEditor.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/wc/SVNStatusEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29537, 50, 5580, 966, 1746, 4666, 1435, 1216, 29537, 50, 503, 288, 3639, 309, 261, 4811, 2520, 2375, 23115, 13, 288, 5411, 327, 394, 29537, 50, 5580, 966, 12, 4811, 2326, 7939, 16, 446, 16, 446, 1769, 3639, 289, 3639, 309, 261, 4811, 2326, 480, 446, 13, 288, 5411, 1387, 585, 273, 3399, 59, 39, 1862, 18, 588, 11605, 7675, 29925, 12, 4811, 2326, 16, 629, 1769, 5411, 309, 261, 768, 18, 291, 2853, 10756, 288, 7734, 29537, 50, 5400, 3222, 273, 3399, 59, 39, 1862, 18, 588, 11605, 7675, 588, 5400, 5621, 7734, 29537, 50, 1622, 1241, 273, 3222, 18, 588, 1622, 12, 4811, 2326, 1769, 7734, 3222, 18, 4412, 5621, 7734, 309, 261, 4099, 480, 446, 13, 288, 10792, 2605, 1482, 12, 4811, 59, 39, 1862, 18, 588, 2326, 9334, 446, 16, 629, 16, 3399, 2520, 10483, 1769, 7734, 289, 469, 288, 5397, 3399, 2520, 8752, 15596, 273, 638, 31, 2605, 1482, 12, 4811, 59, 39, 1862, 18, 588, 11605, 9334, 3399, 2326, 16, 629, 16, 3399, 2520, 10483, 1769, 7734, 289, 5411, 289, 469, 288, 1171, 3399, 2520, 8752, 15596, 273, 638, 31, 2605, 1482, 12, 4811, 59, 39, 1862, 18, 588, 11605, 9334, 3399, 2326, 16, 629, 16, 3399, 2520, 10483, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 2605, 1482, 12, 4811, 59, 39, 1862, 18, 588, 11605, 9334, 446, 16, 629, 16, 3399, 2520, 10483, 1769, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29537, 50, 5580, 966, 1746, 4666, 1435, 1216, 29537, 50, 503, 288, 3639, 309, 261, 4811, 2520, 2375, 23115, 13, 288, 5411, 327, 394, 29537, 50, 5580, 966, 12, 4811, 2326, 7939, 16, 446, 16, 446, 1769, 3639, 289, 3639, 309, 261, 4811, 2326, 480, 446, 13, 288, 5411, 1387, 585, 273, 3399, 59, 39, 1862, 18, 588, 11605, 7675, 29925, 12, 4811, 2326, 16, 629, 1769, 5411, 309, 261, 768, 18, 291, 2853, 10756, 288, 7734, 29537, 50, 5400, 3222, 273, 3399, 59, 39, 1862, 18, 588, 11605, 7675, 588, 5400, 5621, 7734, 29537, 50, 1622, 1241, 273, 3222, 18, 588, 1622, 12, 4811, 2326, 1769, 7734, 3222, 18, 4412, 5621, 7734, 309, 261, 4099, 480, 2 ]
DomElement domElement = selectedNode.getDomElement(); text += " " + selectedNode.getChildDescription().getCommonPresentableName(domElement);
final Type type = selectedNode.getChildDescription().getType(); text += " " + ElementPresentationManager.getTypeName(DomUtil.getRawType(type));
protected String getActionText(final AnActionEvent e) { String text = "Add"; if (e.getPresentation().isEnabled()) { final DomElementsGroupNode selectedNode = getDomElementsGroupNode(getTreeView(e)); DomElement domElement = selectedNode.getDomElement();// final Type type = selectedNode.getChildDescription().getType(); text += " " + selectedNode.getChildDescription().getCommonPresentableName(domElement); //ElementPresentationManager.getElementName(DomUtil.getRawType(type)); } return text; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/fef0558b3036d98dce13cf4e97e84391759a2c97/AddElementInCollectionAction.java/clean/source/com/intellij/util/xml/tree/actions/AddElementInCollectionAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 4750, 514, 12473, 1528, 12, 6385, 1922, 1803, 1133, 425, 13, 288, 282, 514, 977, 273, 315, 986, 14432, 282, 309, 261, 73, 18, 588, 6351, 367, 7675, 291, 1526, 10756, 288, 1377, 727, 12965, 3471, 1114, 907, 3170, 907, 273, 2343, 362, 3471, 1114, 907, 12, 588, 2471, 1767, 12, 73, 10019, 1377, 12965, 1046, 31817, 273, 3170, 907, 18, 588, 8832, 1046, 5621, 759, 1377, 727, 1412, 618, 273, 3170, 907, 18, 588, 1763, 3291, 7675, 588, 559, 5621, 1377, 977, 1011, 315, 315, 397, 3170, 907, 18, 588, 1763, 3291, 7675, 588, 6517, 6351, 429, 461, 12, 9859, 1046, 1769, 368, 1046, 6351, 367, 1318, 18, 21336, 461, 12, 8832, 1304, 18, 588, 4809, 559, 12, 723, 10019, 565, 289, 565, 327, 977, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 4750, 514, 12473, 1528, 12, 6385, 1922, 1803, 1133, 425, 13, 288, 282, 514, 977, 273, 315, 986, 14432, 282, 309, 261, 73, 18, 588, 6351, 367, 7675, 291, 1526, 10756, 288, 1377, 727, 12965, 3471, 1114, 907, 3170, 907, 273, 2343, 362, 3471, 1114, 907, 12, 588, 2471, 1767, 12, 73, 10019, 1377, 12965, 1046, 31817, 273, 3170, 907, 18, 588, 8832, 1046, 5621, 759, 1377, 727, 1412, 618, 273, 3170, 907, 18, 588, 1763, 3291, 7675, 588, 559, 5621, 1377, 977, 1011, 315, 315, 397, 3170, 907, 18, 588, 1763, 3291, 7675, 588, 6517, 6351, 429, 461, 12, 9859, 1046, 1769, 368, 1046, 6351, 367, 1318, 18, 21336, 461, 12, 8832, 1304, 18, 588, 4809, 559, 2 ]
this.setup=setup; this.vars=vars;
this.setup=setup; this.vars=vars;
public CflowResidue(CflowSetup setup,List vars) { this.setup=setup; this.vars=vars; this.useCounter=setup.useCounter(); }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/0c9a2d99652f79aa6b9face03004bbd9ea430db5/CflowResidue.java/buggy/aop/abc/src/abc/weaving/residues/CflowResidue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 385, 2426, 607, 23965, 12, 39, 2426, 7365, 3875, 16, 682, 4153, 13, 288, 202, 2211, 18, 8401, 33, 8401, 31, 202, 2211, 18, 4699, 33, 4699, 31, 3639, 333, 18, 1202, 4789, 33, 8401, 18, 1202, 4789, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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1202, 4789, 33, 8401, 18, 1202, 4789, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (keySequence == null) throw new NullPointerException();
if (keySequence == null) { throw new NullPointerException(); }
public KeySequenceBinding(KeySequence keySequence, int match) { if (keySequence == null) throw new NullPointerException(); if (match < 0) throw new IllegalArgumentException(); this.keySequence = keySequence; this.match = match; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/KeySequenceBinding.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/KeySequenceBinding.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1929, 4021, 5250, 12, 653, 4021, 498, 4021, 16, 509, 845, 13, 288, 3639, 309, 261, 856, 4021, 422, 446, 13, 5411, 604, 394, 10108, 5621, 3639, 309, 261, 1916, 411, 374, 13, 5411, 604, 394, 2754, 5621, 3639, 333, 18, 856, 4021, 273, 498, 4021, 31, 3639, 333, 18, 1916, 273, 845, 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, 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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, 1929, 4021, 5250, 12, 653, 4021, 498, 4021, 16, 509, 845, 13, 288, 3639, 309, 261, 856, 4021, 422, 446, 13, 5411, 604, 394, 10108, 5621, 3639, 309, 261, 1916, 411, 374, 13, 5411, 604, 394, 2754, 5621, 3639, 333, 18, 856, 4021, 273, 498, 4021, 31, 3639, 333, 18, 1916, 273, 845, 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 ]
return new CPPASTArrayModifier(); }
return new CPPASTArrayModifier(); }
protected IASTArrayModifier createArrayModifier() { return new CPPASTArrayModifier(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/8b59056395eb6c26e898030e7e1cd1b78d4db999/GNUCPPSourceParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 1076, 9829, 752, 1076, 9829, 1435, 288, 1377, 327, 394, 5181, 4066, 882, 1076, 9829, 5621, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 1076, 9829, 752, 1076, 9829, 1435, 288, 1377, 327, 394, 5181, 4066, 882, 1076, 9829, 5621, 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, -100, -100, -100, -100 ]
public imcode.server.user.User getUser( String loginName ) { imcode.server.user.User result = null;
public User getUser( String loginName ) { User result = null;
public imcode.server.user.User getUser( String loginName ) { imcode.server.user.User result = null; final String attributeName = "samaccountname="; final String mappingString = attributeName + loginName; NamingEnumeration enum = null; try { enum = ctx.search( "", mappingString, null ); if( enum != null && enum.hasMore() ) { imcode.server.user.User result11 = null; SearchResult searchResult = (SearchResult)enum.nextElement(); NamingEnumeration attribEnum = searchResult.getAttributes().getAll(); result11 = mapAllPossibleAttributes( attribEnum ); result11.setLoginName( loginName ); result = result11; } } catch( NamingException e ) {
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/2c153c8ba9f15a995621f4851cbf148fd06a77c4/LdapUserMapper.java/buggy/server/src/imcode/server/user/LdapUserMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 709, 710, 18, 3567, 18, 1355, 18, 1299, 4735, 12, 514, 3925, 461, 262, 288, 1377, 709, 710, 18, 3567, 18, 1355, 18, 1299, 563, 273, 446, 31, 1377, 727, 514, 9734, 273, 315, 20353, 4631, 529, 1546, 31, 1377, 727, 514, 2874, 780, 273, 9734, 397, 3925, 461, 31, 1377, 18884, 21847, 2792, 273, 446, 31, 1377, 775, 288, 540, 2792, 273, 1103, 18, 3072, 12, 23453, 2874, 780, 16, 446, 11272, 540, 309, 12, 2792, 480, 446, 597, 2792, 18, 5332, 7417, 1435, 262, 288, 5411, 709, 710, 18, 3567, 18, 1355, 18, 1299, 563, 2499, 273, 446, 31, 5411, 29740, 31935, 273, 261, 24916, 13, 7924, 18, 4285, 1046, 5621, 5411, 18884, 21847, 5885, 3572, 273, 31935, 18, 588, 2498, 7675, 588, 1595, 5621, 5411, 563, 2499, 273, 852, 1595, 13576, 2498, 12, 5885, 3572, 11272, 5411, 563, 2499, 18, 542, 5358, 461, 12, 3925, 461, 11272, 5411, 563, 273, 563, 2499, 31, 540, 289, 1377, 289, 1044, 12, 26890, 425, 262, 288, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 709, 710, 18, 3567, 18, 1355, 18, 1299, 4735, 12, 514, 3925, 461, 262, 288, 1377, 709, 710, 18, 3567, 18, 1355, 18, 1299, 563, 273, 446, 31, 1377, 727, 514, 9734, 273, 315, 20353, 4631, 529, 1546, 31, 1377, 727, 514, 2874, 780, 273, 9734, 397, 3925, 461, 31, 1377, 18884, 21847, 2792, 273, 446, 31, 1377, 775, 288, 540, 2792, 273, 1103, 18, 3072, 12, 23453, 2874, 780, 16, 446, 11272, 540, 309, 12, 2792, 480, 446, 597, 2792, 18, 5332, 7417, 1435, 262, 288, 5411, 709, 710, 18, 3567, 18, 1355, 18, 1299, 563, 2499, 273, 446, 31, 5411, 29740, 31935, 273, 261, 24916, 13, 7924, 18, 4285, 1046, 5621, 5411, 18884, 21847, 5885, 2 ]
Connection con = null; PreparedStatement pstmt = null; try { con = DbConnectionManager.getConnection(); pstmt = con.prepareStatement(DELETE_PRIVACY_LISTS); pstmt.setString(1, username); pstmt.executeUpdate(); } catch (Exception e) { Log.error("Error deleting privacy lists of username: " + username, e); } finally { try { if (pstmt != null) { pstmt.close(); } } catch (Exception e) { Log.error(e); } try { if (con != null) { con.close(); } } catch (Exception e) { Log.error(e); } }
public void deletePrivacyLists(String username) { Connection con = null; PreparedStatement pstmt = null; try { con = DbConnectionManager.getConnection(); pstmt = con.prepareStatement(DELETE_PRIVACY_LISTS); pstmt.setString(1, username); pstmt.executeUpdate(); } catch (Exception e) { Log.error("Error deleting privacy lists of username: " + username, e); } finally { try { if (pstmt != null) { pstmt.close(); } } catch (Exception e) { Log.error(e); } try { if (con != null) { con.close(); } } catch (Exception e) { Log.error(e); } } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/7e4a3aa5147f0e6e563081e1ad67cb8de96075be/PrivacyListProvider.java/buggy/ZimbraServer/src/java/com/zimbra/cs/im/xmpp/srv/privacy/PrivacyListProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 15475, 3505, 7432, 12, 780, 2718, 13, 288, 3639, 4050, 356, 273, 446, 31, 3639, 16913, 293, 10589, 273, 446, 31, 3639, 775, 288, 5411, 356, 273, 8408, 1952, 1318, 18, 588, 1952, 5621, 5411, 293, 10589, 273, 356, 18, 9366, 3406, 12, 6460, 67, 7698, 58, 2226, 61, 67, 7085, 55, 1769, 5411, 293, 10589, 18, 542, 780, 12, 21, 16, 2718, 1769, 5411, 293, 10589, 18, 8837, 1891, 5621, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 1827, 18, 1636, 2932, 668, 12993, 19013, 6035, 434, 2718, 30, 315, 397, 2718, 16, 425, 1769, 3639, 289, 3639, 3095, 288, 5411, 775, 288, 309, 261, 84, 10589, 480, 446, 13, 288, 293, 10589, 18, 4412, 5621, 289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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 15475, 3505, 7432, 12, 780, 2718, 13, 288, 3639, 4050, 356, 273, 446, 31, 3639, 16913, 293, 10589, 273, 446, 31, 3639, 775, 288, 5411, 356, 273, 8408, 1952, 1318, 18, 588, 1952, 5621, 5411, 293, 10589, 273, 356, 18, 9366, 3406, 12, 6460, 67, 7698, 58, 2226, 61, 67, 7085, 55, 1769, 5411, 293, 10589, 18, 542, 780, 12, 21, 16, 2718, 1769, 5411, 293, 10589, 18, 8837, 1891, 5621, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 1827, 18, 1636, 2932, 668, 12993, 19013, 6035, 434, 2718, 30, 315, 397, 2718, 16, 425, 1769, 3639, 289, 3639, 3095, 288, 5411, 775, 288, 309, 261, 84, 10589, 480, 446, 13, 288, 293, 2 ]
if ( synPredMatched532 ) {
if ( synPredMatched534 ) {
public final void mNEXT_TOKEN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = NEXT_TOKEN; int _saveIndex; Token ncname=null; switch ( LA(1)) { case '{': { mLCURLY(false); if ( inputState.guessing==0 ) { inElementContent= false; inAttributeContent= false; _ttype = LCURLY; } break; } case '}': { mRCURLY(false); if ( inputState.guessing==0 ) { _ttype = RCURLY; } break; } default: if ((LA(1)=='(') && (LA(2)==':') && ((LA(3) >= '\u0003' && LA(3) <= '\ufffe')) && ((LA(4) >= '\u0003' && LA(4) <= '\ufffe'))) { mEXPR_COMMENT(false); if ( inputState.guessing==0 ) { String comment = new String(text.getBuffer(),_begin,text.length()-_begin); for (int i = 0; i < comment.length(); i++) { if (comment.charAt(i) == '\n') newline(); } _ttype = Token.SKIP; } } else if ((LA(1)=='<') && (LA(2)=='!') && (LA(3)=='-')) { mXML_COMMENT(false); if ( inputState.guessing==0 ) { String data = new String(text.getBuffer(),_begin,text.length()-_begin); parseLinefeeds(data); _ttype = XML_COMMENT; } } else if ((LA(1)=='<') && (LA(2)=='!') && (LA(3)=='[')) { mXML_CDATA(false); if ( inputState.guessing==0 ) { _ttype = XML_CDATA; } } else { boolean synPredMatched532 = false; if (((_tokenSet_14.member(LA(1))) && (_tokenSet_15.member(LA(2))) && (_tokenSet_16.member(LA(3))) && (true))) { int _m532 = mark(); synPredMatched532 = true; inputState.guessing++; try { { match('.'); mINTEGER_LITERAL(false); { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } catch (RecognitionException pe) { synPredMatched532 = false; } rewind(_m532); inputState.guessing--; } if ( synPredMatched532 ) { mDOUBLE_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DOUBLE_LITERAL; } } else { boolean synPredMatched541 = false; if (((_tokenSet_14.member(LA(1))) && (_tokenSet_15.member(LA(2))) && (_tokenSet_16.member(LA(3))) && (true))) { int _m541 = mark(); synPredMatched541 = true; inputState.guessing++; try { { mINTEGER_LITERAL(false); { switch ( LA(1)) { case '.': { match('.'); { if ((_tokenSet_2.member(LA(1)))) { mINTEGER_LITERAL(false); } else if ((LA(1)=='E'||LA(1)=='e')) { } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } break; } case 'E': case 'e': { break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } catch (RecognitionException pe) { synPredMatched541 = false; } rewind(_m541); inputState.guessing--; } if ( synPredMatched541 ) { mDOUBLE_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DOUBLE_LITERAL; } } else if ((LA(1)=='-') && (LA(2)=='-') && (LA(3)=='>') && (true)) { mXML_COMMENT_END(false); if ( inputState.guessing==0 ) { _ttype = XML_COMMENT_END; } } else if ((LA(1)==']') && (LA(2)==']') && (LA(3)=='>') && (true)) { mXML_CDATA_END(false); if ( inputState.guessing==0 ) { _ttype = XML_CDATA_END; } } else { boolean synPredMatched527 = false; if (((LA(1)=='<') && (LA(2)=='?'))) { int _m527 = mark(); synPredMatched527 = true; inputState.guessing++; try { { mXML_PI_START(false); } } catch (RecognitionException pe) { synPredMatched527 = false; } rewind(_m527); inputState.guessing--; } if ( synPredMatched527 ) { mXML_PI(false); if ( inputState.guessing==0 ) { _ttype = XML_PI; } } else if ((LA(1)=='<') && (LA(2)=='/')) { mEND_TAG_START(false); if ( inputState.guessing==0 ) { inElementContent= false; wsExplicit= false; _ttype = END_TAG_START; } } else if ((LA(1)=='<') && (LA(2)=='=')) { mLTEQ(false); if ( inputState.guessing==0 ) { _ttype = LTEQ; } } else if (((LA(1)=='\'') && (LA(2)=='\'') && (true) && (true))&&( inAttributeContent && attrDelimChar == '\'' )) { mESCAPE_APOS(false); if ( inputState.guessing==0 ) { _ttype = ESCAPE_APOS; } } else if (((LA(1)=='"') && (LA(2)=='"') && (true) && (true))&&( inAttributeContent && attrDelimChar == '"' )) { mESCAPE_QUOT(false); if ( inputState.guessing==0 ) { _ttype = ESCAPE_QUOT; } } else if (((LA(1)=='"'||LA(1)=='\'') && ((LA(2) >= '\u0003' && LA(2) <= '\ufffe')) && (true) && (true))&&( parseStringLiterals )) { mSTRING_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = STRING_LITERAL; } } else { boolean synPredMatched529 = false; if ((((LA(1)=='.') && (LA(2)=='.') && (true) && (true))&&( !(inAttributeContent || inElementContent) ))) { int _m529 = mark(); synPredMatched529 = true; inputState.guessing++; try { { match('.'); match('.'); } } catch (RecognitionException pe) { synPredMatched529 = false; } rewind(_m529); inputState.guessing--; } if ( synPredMatched529 ) { mPARENT(false); if ( inputState.guessing==0 ) { _ttype = PARENT; } } else if (((LA(1)=='/') && (LA(2)=='/') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mDSLASH(false); if ( inputState.guessing==0 ) { _ttype = DSLASH; } } else if (((LA(1)=='|') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mOREQ(false); if ( inputState.guessing==0 ) { _ttype = OREQ; } } else if (((LA(1)=='&') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mANDEQ(false); if ( inputState.guessing==0 ) { _ttype = ANDEQ; } } else if (((LA(1)=='!') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mNEQ(false); if ( inputState.guessing==0 ) { _ttype = NEQ; } } else if (((LA(1)=='>') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mGTEQ(false); if ( inputState.guessing==0 ) { _ttype = GTEQ; } } else if ((LA(1)=='?') && (LA(2)=='>') && (true) && (true)) { mXML_PI_END(false); if ( inputState.guessing==0 ) { _ttype = XML_PI_END; } } else if ((LA(1)=='(') && (LA(2)=='#') && (true) && (true)) { mPRAGMA_START(false); if ( inputState.guessing==0 ) { _ttype = PRAGMA_START; } } else if (((LA(1)=='\t'||LA(1)=='\n'||LA(1)=='\r'||LA(1)==' '||LA(1)=='#') && ((LA(2) >= '\u0003' && LA(2) <= '\ufffe')) && (true) && (true))&&( inPragma )) { mPRAGMA_END(false); if ( inputState.guessing==0 ) { inPragma = false; _ttype = PRAGMA_END; } } else if ((LA(1)=='<') && (true)) { mLT(false); if ( inputState.guessing==0 ) { inElementContent= false; _ttype = LT; } } else if (((_tokenSet_8.member(LA(1))) && (true) && (true) && (true))&&( inAttributeContent && attrDelimChar == '"' )) { mQUOT_ATTRIBUTE_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = QUOT_ATTRIBUTE_CONTENT; } } else if (((_tokenSet_9.member(LA(1))) && (true) && (true) && (true))&&( inAttributeContent && attrDelimChar == '\'' )) { mAPOS_ATTRIBUTE_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = APOS_ATTRIBUTE_CONTENT; } } else if (((LA(1)=='"') && (true) && (true) && (true))&&( !(parseStringLiterals || inElementContent) )) { mQUOT(false); if ( inputState.guessing==0 ) { _ttype = QUOT; } } else if (((LA(1)=='\'') && (true) && (true) && (true))&&( !(parseStringLiterals || inElementContent) )) { mAPOS(false); if ( inputState.guessing==0 ) { _ttype = APOS; } } else if (((_tokenSet_17.member(LA(1))) && (true) && (true) && (true))&&( inElementContent )) { mELEMENT_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = ELEMENT_CONTENT; } } else if (((LA(1)=='\t'||LA(1)=='\n'||LA(1)=='\r'||LA(1)==' ') && (true) && (true) && (true))&&( !inPragma )) { mWS(false); if ( inputState.guessing==0 ) { if (wsExplicit) { _ttype = WS; text.setLength(_begin); text.append("WS"); } else _ttype = Token.SKIP; } } else if ((_tokenSet_18.member(LA(1))) && (true) && (true) && (true)) { mNCNAME(true); ncname=_returnToken; if ( inputState.guessing==0 ) { _ttype = ncname.getType(); } } else { boolean synPredMatched534 = false; if (((_tokenSet_14.member(LA(1))) && (true) && (true) && (true))) { int _m534 = mark(); synPredMatched534 = true; inputState.guessing++; try { { match('.'); mINTEGER_LITERAL(false); } } catch (RecognitionException pe) { synPredMatched534 = false; } rewind(_m534); inputState.guessing--; } if ( synPredMatched534 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else { boolean synPredMatched536 = false; if (((LA(1)=='.') && (true) && (true) && (true))) { int _m536 = mark(); synPredMatched536 = true; inputState.guessing++; try { { match('.'); } } catch (RecognitionException pe) { synPredMatched536 = false; } rewind(_m536); inputState.guessing--; } if ( synPredMatched536 ) { mSELF(false); if ( inputState.guessing==0 ) { _ttype = SELF; } } else { boolean synPredMatched543 = false; if (((_tokenSet_14.member(LA(1))) && (true) && (true) && (true))) { int _m543 = mark(); synPredMatched543 = true; inputState.guessing++; try { { mINTEGER_LITERAL(false); match('.'); } } catch (RecognitionException pe) { synPredMatched543 = false; } rewind(_m543); inputState.guessing--; } if ( synPredMatched543 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else if ((_tokenSet_2.member(LA(1))) && (true) && (true) && (true)) { mINTEGER_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = INTEGER_LITERAL; } } else if ((LA(1)=='/') && (true) && (true) && (true)) { mSLASH(false); if ( inputState.guessing==0 ) { _ttype = SLASH; } } else if ((LA(1)==':') && (true) && (true) && (true)) { mCOLON(false); if ( inputState.guessing==0 ) { _ttype = COLON; } } else if ((LA(1)==',') && (true) && (true) && (true)) { mCOMMA(false); if ( inputState.guessing==0 ) { _ttype = COMMA; } } else if ((LA(1)==';') && (true) && (true) && (true)) { mSEMICOLON(false); if ( inputState.guessing==0 ) { _ttype = SEMICOLON; } } else if ((LA(1)=='*') && (true) && (true) && (true)) { mSTAR(false); if ( inputState.guessing==0 ) { _ttype = STAR; } } else if ((LA(1)=='?') && (true) && (true) && (true)) { mQUESTION(false); if ( inputState.guessing==0 ) { _ttype = QUESTION; } } else if ((LA(1)=='+') && (true) && (true) && (true)) { mPLUS(false); if ( inputState.guessing==0 ) { _ttype = PLUS; } } else if ((LA(1)=='-') && (true) && (true) && (true)) { mMINUS(false); if ( inputState.guessing==0 ) { _ttype = MINUS; } } else if ((LA(1)=='[') && (true) && (true) && (true)) { mLPPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPPAREN; } } else if ((LA(1)==']') && (true) && (true) && (true)) { mRPPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPPAREN; } } else if ((LA(1)=='(') && (true) && (true) && (true)) { mLPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPAREN; } } else if ((LA(1)==')') && (true) && (true) && (true)) { mRPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPAREN; } } else if ((LA(1)=='|') && (true) && (true) && (true)) { mUNION(false); if ( inputState.guessing==0 ) { _ttype = UNION; } } else if ((LA(1)=='@') && (true) && (true) && (true)) { mAT(false); if ( inputState.guessing==0 ) { _ttype = AT; } } else if ((LA(1)=='$') && (true) && (true) && (true)) { mDOLLAR(false); if ( inputState.guessing==0 ) { _ttype = DOLLAR; } } else if ((LA(1)=='=') && (true) && (true) && (true)) { mEQ(false); if ( inputState.guessing==0 ) { _ttype = EQ; } } else if ((LA(1)=='>') && (true) && (true) && (true)) { mGT(false); if ( inputState.guessing==0 ) { _ttype = GT; } } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } }}}}}}}} if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ce8b3af89ca1836e7de5c4b3c7110a9e9001a4e4/XQueryLexer.java/clean/src/org/exist/xquery/parser/XQueryLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 25539, 67, 8412, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 19252, 67, 8412, 31, 202, 202, 474, 389, 5688, 1016, 31, 202, 202, 1345, 8194, 529, 33, 2011, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2292, 4278, 202, 202, 95, 1082, 202, 81, 13394, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 6862, 25083, 202, 267, 1046, 1350, 33, 629, 31, 25083, 202, 267, 1499, 1350, 33, 629, 31, 25083, 202, 67, 88, 723, 273, 511, 26314, 31, 6862, 9506, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 9571, 30, 202, 202, 95, 1082, 202, 81, 11529, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 67, 88, 723, 273, 534, 26314, 31, 1082, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 1082, 202, 430, 14015, 2534, 12, 21, 13, 18920, 2668, 13, 597, 261, 2534, 12, 22, 13, 18920, 2497, 13, 597, 14015, 2534, 12, 23, 13, 1545, 2337, 89, 30770, 11, 597, 2928, 12, 23, 13, 1648, 2337, 696, 1403, 73, 26112, 597, 14015, 2534, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 25539, 67, 8412, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 19252, 67, 8412, 31, 202, 202, 474, 389, 5688, 1016, 31, 202, 202, 1345, 8194, 529, 33, 2011, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2292, 4278, 202, 202, 95, 1082, 202, 81, 13394, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 6862, 25083, 202, 267, 1046, 1350, 33, 629, 2 ]
protected IStatus run(IProgressMonitor monitor) { monitor.beginTask(JOB_LABEL, queries.size()); for (AbstractRepositoryQuery repositoryQuery : queries) { // if (repositoryQuery.isSynchronizing()) // continue; repositoryQuery.setStatus(null); monitor.setTaskName("Synchronizing: " + repositoryQuery.getSummary()); setProperty(IProgressConstants.ICON_PROPERTY, TaskListImages.REPOSITORY_SYNCHRONIZE); // repositoryQuery.setCurrentlySynchronizing(true); TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository( repositoryQuery.getRepositoryKind(), repositoryQuery.getRepositoryUrl()); if (repository == null) { repositoryQuery.setStatus(new Status(Status.ERROR, TasksUiPlugin.PLUGIN_ID, "No task repository found: " + repositoryQuery.getRepositoryUrl())); } else { QueryHitCollector collector = new QueryHitCollector(TasksUiPlugin.getTaskListManager().getTaskList()); IStatus resultingStatus = connector.performQuery(repositoryQuery, repository, monitor, collector); if (resultingStatus.getException() == null) { repositoryQuery.updateHits(collector.getHits(), taskList); if (synchTasks) { // TODO: Should sync changed per repository not per // query TasksUiPlugin.getSynchronizationManager().synchronizeChanged(connector, repository); } } else { // MylarStatusHandler.log(resultingStatus); repositoryQuery.setStatus(resultingStatus); } } repositoryQuery.setCurrentlySynchronizing(false); if (repositoryQuery.getStatus() == null) { repositoryQuery.setLastRefreshTimeStamp(DateUtil.getFormattedDate(new Date(), "MMM d, H:mm:ss")); } TasksUiPlugin.getTaskListManager().getTaskList().notifyContainerUpdated(repositoryQuery); monitor.worked(1); } if (queries != null && queries.size() > 0) { taskList.removeOrphanedHits(); } return Status.OK_STATUS; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/02903aa5e61e7efe10c5c6414e6a05339714e429/SynchronizeQueryJob.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/SynchronizeQueryJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 45, 1482, 2681, 12, 45, 5491, 11415, 305, 535, 4089, 15329, 202, 202, 10259, 18, 10086, 2174, 12, 18321, 67, 13545, 16, 13748, 18, 1467, 10663, 202, 202, 1884, 12, 7469, 3305, 1138, 9071, 1138, 30, 13748, 15329, 1082, 202, 759, 430, 12, 9071, 1138, 18, 291, 19298, 6894, 10756, 1082, 202, 759, 17143, 31, 1082, 202, 9071, 1138, 18, 542, 1482, 12, 2011, 1769, 1082, 202, 10259, 18, 542, 2174, 461, 2932, 19298, 6894, 2773, 15, 9071, 1138, 18, 588, 4733, 10663, 1082, 202, 542, 1396, 12, 45, 5491, 2918, 18, 21745, 67, 9900, 16, 2174, 682, 8946, 18, 862, 30986, 67, 7474, 50, 1792, 19359, 15641, 1769, 1082, 202, 759, 9071, 1138, 18, 542, 3935, 715, 19298, 6894, 12, 3767, 1769, 1082, 202, 2174, 3305, 9071, 33, 6685, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 6862, 202, 9071, 1138, 18, 588, 3305, 5677, 9334, 9071, 1138, 18, 588, 3305, 1489, 10663, 1082, 202, 430, 12, 9071, 631, 2011, 15329, 9506, 202, 9071, 1138, 18, 542, 1482, 12, 2704, 1482, 12, 1482, 18, 3589, 16, 6685, 13943, 3773, 18, 19415, 67, 734, 16, 25083, 202, 6, 1248, 835, 9071, 7015, 2773, 15, 9071, 1138, 18, 588, 3305, 1489, 1435, 10019, 25083, 202, 97, 12107, 95, 9506, 202, 1138, 13616, 7134, 21356, 33, 2704, 1138, 13616, 7134, 12, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 10663, 9506, 202, 45, 1482, 2088, 310, 1482, 33, 23159, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 45, 1482, 2681, 12, 45, 5491, 11415, 305, 535, 4089, 15329, 202, 202, 10259, 18, 10086, 2174, 12, 18321, 67, 13545, 16, 13748, 18, 1467, 10663, 202, 202, 1884, 12, 7469, 3305, 1138, 9071, 1138, 30, 13748, 15329, 1082, 202, 759, 430, 12, 9071, 1138, 18, 291, 19298, 6894, 10756, 1082, 202, 759, 17143, 31, 1082, 202, 9071, 1138, 18, 542, 1482, 12, 2011, 1769, 1082, 202, 10259, 18, 542, 2174, 461, 2932, 19298, 6894, 2773, 15, 9071, 1138, 18, 588, 4733, 10663, 1082, 202, 542, 1396, 12, 45, 5491, 2918, 18, 21745, 67, 9900, 16, 2174, 682, 8946, 18, 862, 30986, 67, 7474, 50, 1792, 19359, 15641, 1769, 1082, 202, 759, 9071, 1138, 18, 542, 2 ]
public synchronized void setIsLoggedIn(boolean paramLoggedIn) { if (this.isLoggedIn() != paramLoggedIn) { boolean old = this.loggedIn; this.loggedIn = paramLoggedIn; if (paramLoggedIn) { if(this.isGuest()){ this.userAdministration.incNumCurrentGuests(); } else{ this.userAdministration.incNumCurrentUsers(); } Debug.println(this.getName() + " logged in"); } else { this.setCurrentChannel(null); this.setClientServant(null); if (this.isGuest()) { this.userAdministration.decNumCurrentGuests(); this.userAdministration.removeFromUserList(this); } else{ this.userAdministration.decNumCurrentUsers(); } } } }
12294 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12294/abb9084b89bce506f983c16455fe6c39c7dcb50d/User.java/clean/implementation/Server/User.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 22043, 6459, 542, 2520, 29327, 12, 6494, 891, 29327, 15329, 430, 12, 2211, 18, 291, 29327, 1435, 5, 33, 891, 29327, 15329, 6494, 1673, 33, 2211, 18, 19385, 382, 31, 2211, 18, 19385, 382, 33, 891, 29327, 31, 430, 12, 891, 29327, 15329, 430, 12, 2211, 18, 291, 12978, 10756, 95, 2211, 18, 1355, 4446, 4218, 18, 9523, 2578, 3935, 12978, 87, 5621, 97, 12107, 95, 2211, 18, 1355, 4446, 4218, 18, 9523, 2578, 3935, 6588, 5621, 97, 2829, 18, 8222, 12, 2211, 18, 17994, 1435, 9078, 19385, 267, 8863, 97, 12107, 95, 2211, 18, 542, 3935, 2909, 12, 2011, 1769, 2211, 18, 542, 1227, 827, 7445, 12, 2011, 1769, 430, 12, 2211, 18, 291, 12978, 10756, 95, 2211, 18, 1355, 4446, 4218, 18, 4924, 2578, 3935, 12978, 87, 5621, 2211, 18, 1355, 4446, 4218, 18, 4479, 1265, 1299, 682, 12, 2211, 1769, 97, 12107, 95, 2211, 18, 1355, 4446, 4218, 18, 4924, 2578, 3935, 6588, 5621, 9090, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 22043, 6459, 542, 2520, 29327, 12, 6494, 891, 29327, 15329, 430, 12, 2211, 18, 291, 29327, 1435, 5, 33, 891, 29327, 15329, 6494, 1673, 33, 2211, 18, 19385, 382, 31, 2211, 18, 19385, 382, 33, 891, 29327, 31, 430, 12, 891, 29327, 15329, 430, 12, 2211, 18, 291, 12978, 10756, 95, 2211, 18, 1355, 4446, 4218, 18, 9523, 2578, 3935, 12978, 87, 5621, 97, 12107, 95, 2211, 18, 1355, 4446, 4218, 18, 9523, 2578, 3935, 6588, 5621, 97, 2829, 18, 8222, 12, 2211, 18, 17994, 1435, 9078, 19385, 267, 8863, 97, 12107, 95, 2211, 18, 542, 3935, 2909, 12, 2011, 1769, 2211, 18, 542, 1227, 827, 7445, 12, 2011, 1769, 430, 12, 2211, 18, 291, 12978, 10756, 95, 2 ]
anticipateDown(node1); anticipateDown(reparentedIface);
anticipateDown(node2);
public void testInterfaceReparented() { m_pollerConfig.setNodeOutageProcessingEnabled(true); MockNode node1 = m_network.getNode(1); MockNode node2 = m_network.getNode(2); MockInterface node1Iface = m_network.getInterface(1, "192.168.1.1"); MockInterface reparentedIface = m_network.getInterface(1, "192.168.1.2"); MockInterface node2Iface = m_network.getInterface(2, "192.168.1.3"); Event reparentEvent = MockUtil.createReparentEvent("Test", "192.168.1.2", 1, 2); // we are going to reparent to node 2 so when we bring down its only // current interface we expect an interface down not the whole node. anticipateDown(node2Iface); startDaemons(); // move the reparted interface and send a reparented event m_db.reparentInterface(reparentedIface.getIpAddr(), reparentedIface.getNodeId(), node2.getNodeId()); reparentedIface.moveTo(node2); m_eventMgr.sendEventToListeners(reparentEvent); // now bring down the other interface on the new node // System.err.println("Bring Down:"+node2Iface); node2Iface.bringDown(); verifyAnticipated(2000); // FIXME: the event below is the CORRECT answer but the Poller isn't // doing that. I'm going to test for the INCORRECT answer so I can tell if I // change the behavior during refactoring. We now bring down the reparented // interface and we should get node2 down // m_anticipator.reset(); // m_anticipator.anticipateEvent(node2.createDownEvent()); resetAnticipated(); anticipateDown(node1); anticipateDown(reparentedIface); // FIXME: END INCORRECT BEHAVIOR HERE // System.err.println("Bring Down:"+reparentedIface); reparentedIface.bringDown(); sleep(5000); verifyAnticipated(6000); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/63ea02f21c3a123dc08712837e512664c4c6c32e/PollerTest.java/clean/src/services/org/opennms/netmgt/poller/PollerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1358, 426, 2938, 329, 1435, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 3767, 1769, 3639, 7867, 907, 756, 21, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 7867, 907, 756, 22, 273, 312, 67, 5185, 18, 588, 907, 12, 22, 1769, 3639, 7867, 1358, 756, 21, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 21, 8863, 3639, 7867, 1358, 2071, 817, 329, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 7867, 1358, 756, 22, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 22, 16, 315, 15561, 18, 23329, 18, 21, 18, 23, 8863, 7734, 2587, 2071, 817, 1133, 273, 7867, 1304, 18, 2640, 426, 2938, 1133, 2932, 4709, 3113, 315, 15561, 18, 23329, 18, 21, 18, 22, 3113, 404, 16, 576, 1769, 3639, 368, 732, 854, 8554, 358, 2071, 817, 358, 756, 576, 1427, 1347, 732, 5186, 310, 2588, 2097, 1338, 3639, 368, 783, 1560, 732, 4489, 392, 1560, 2588, 486, 326, 7339, 756, 18, 3639, 17841, 24629, 340, 4164, 12, 2159, 22, 45, 865, 1769, 3639, 787, 12858, 87, 5621, 3639, 368, 3635, 326, 2071, 485, 329, 1560, 471, 1366, 279, 2071, 817, 329, 871, 3639, 312, 67, 1966, 18, 266, 2938, 1358, 12, 266, 2938, 329, 45, 865, 18, 588, 5273, 3178, 9334, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1358, 426, 2938, 329, 1435, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 3767, 1769, 3639, 7867, 907, 756, 21, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 7867, 907, 756, 22, 273, 312, 67, 5185, 18, 588, 907, 12, 22, 1769, 3639, 7867, 1358, 756, 21, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 21, 8863, 3639, 7867, 1358, 2071, 817, 329, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 7867, 1358, 756, 22, 45, 865, 273, 312, 67, 2 ]
synchronized(this) { if(cache) { try { chkDatastore.put(block); } catch (IOException e) { Logger.error(this, "Datastore failure: "+e, e); }
if(cache) { try { chkDatastore.put(block); } catch (IOException e) { Logger.error(this, "Datastore failure: "+e, e);
public void realPutCHK(ClientCHKBlock block, boolean cache) throws LowLevelPutException { byte[] data = block.getData(); byte[] headers = block.getHeaders(); PartiallyReceivedBlock prb = new PartiallyReceivedBlock(PACKETS_IN_BLOCK, PACKET_SIZE, data); CHKInsertSender is; long uid = random.nextLong(); if(!lockUID(uid)) { Logger.error(this, "Could not lock UID just randomly generated: "+uid+" - probably indicates broken PRNG"); throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); } long startTime = System.currentTimeMillis(); synchronized(this) { if(cache) { try { chkDatastore.put(block); } catch (IOException e) { Logger.error(this, "Datastore failure: "+e, e); } } is = makeInsertSender((NodeCHK)block.getClientKey().getNodeKey(), MAX_HTL, uid, null, headers, prb, false, lm.getLocation().getValue(), cache); } boolean hasForwardedRejectedOverload = false; // Wait for status while(true) { synchronized(is) { if(is.getStatus() == CHKInsertSender.NOT_FINISHED) { try { is.wait(5*1000); } catch (InterruptedException e) { // Ignore } } if(is.getStatus() != CHKInsertSender.NOT_FINISHED) break; } if((!hasForwardedRejectedOverload) && is.receivedRejectedOverload()) { hasForwardedRejectedOverload = true; throttleWindow.rejectedOverload(); } } // Wait for completion while(true) { synchronized(is) { if(is.completed()) break; try { is.wait(10*1000); } catch (InterruptedException e) { // Go around again } } if(is.anyTransfersFailed() && (!hasForwardedRejectedOverload)) { hasForwardedRejectedOverload = true; // not strictly true but same effect throttleWindow.rejectedOverload(); } } Logger.minor(this, "Completed "+uid+" overload="+hasForwardedRejectedOverload+" "+is.getStatusString()); // Finished? if(!hasForwardedRejectedOverload) { // Is it ours? Did we send a request? if(is.sentRequest() && is.uid == uid && (is.getStatus() == CHKInsertSender.ROUTE_NOT_FOUND || is.getStatus() == CHKInsertSender.SUCCESS)) { // It worked! long endTime = System.currentTimeMillis(); long len = endTime - startTime; chkInsertThrottle.successfulCompletion(len); throttleWindow.requestCompleted(); } } if(is.getStatus() == CHKInsertSender.SUCCESS) { Logger.normal(this, "Succeeded inserting "+block); return; } else { int status = is.getStatus(); String msg = "Failed inserting "+block+" : "+is.getStatusString(); if(status == CHKInsertSender.ROUTE_NOT_FOUND) msg += " - this is normal on small networks; the data will still be propagated, but it can't find the 20+ nodes needed for full success"; if(is.getStatus() != CHKInsertSender.ROUTE_NOT_FOUND) Logger.error(this, msg); else Logger.normal(this, msg); switch(is.getStatus()) { case CHKInsertSender.NOT_FINISHED: Logger.error(this, "IS still running in putCHK!: "+is); throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); case CHKInsertSender.GENERATED_REJECTED_OVERLOAD: case CHKInsertSender.TIMED_OUT: throw new LowLevelPutException(LowLevelPutException.REJECTED_OVERLOAD); case CHKInsertSender.ROUTE_NOT_FOUND: throw new LowLevelPutException(LowLevelPutException.ROUTE_NOT_FOUND); case CHKInsertSender.ROUTE_REALLY_NOT_FOUND: throw new LowLevelPutException(LowLevelPutException.ROUTE_REALLY_NOT_FOUND); case CHKInsertSender.INTERNAL_ERROR: throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); default: Logger.error(this, "Unknown CHKInsertSender code in putCHK: "+is.getStatus()+" on "+is); throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); } } }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/79d31585331089fa241bcabc60a642461fd7972a/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2863, 6426, 1792, 47, 12, 1227, 1792, 47, 1768, 1203, 16, 1250, 1247, 13, 1216, 23629, 2355, 6426, 503, 288, 202, 202, 7229, 8526, 501, 273, 1203, 18, 588, 751, 5621, 202, 202, 7229, 8526, 1607, 273, 1203, 18, 588, 3121, 5621, 202, 202, 1988, 6261, 8872, 1768, 846, 70, 273, 394, 6393, 6261, 8872, 1768, 12, 12231, 1584, 55, 67, 706, 67, 11403, 16, 453, 17750, 67, 4574, 16, 501, 1769, 202, 202, 1792, 47, 4600, 12021, 353, 31, 202, 202, 5748, 4555, 273, 2744, 18, 4285, 3708, 5621, 202, 202, 430, 12, 5, 739, 3060, 12, 1911, 3719, 288, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 4445, 486, 2176, 10034, 2537, 20153, 4374, 30, 13773, 1911, 9078, 300, 8656, 8527, 12933, 11770, 4960, 8863, 1082, 202, 12849, 394, 23629, 2355, 6426, 503, 12, 10520, 2355, 6426, 503, 18, 14005, 67, 3589, 1769, 202, 202, 97, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 2493, 13, 288, 9506, 202, 698, 288, 6862, 202, 27038, 21191, 18, 458, 12, 2629, 1769, 9506, 202, 97, 1044, 261, 14106, 425, 13, 288, 6862, 202, 3328, 18, 1636, 12, 2211, 16, 315, 21191, 5166, 30, 13773, 73, 16, 425, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 291, 273, 1221, 4600, 12021, 12443, 907, 1792, 47, 13, 2629, 18, 588, 1227, 653, 7675, 588, 907, 653, 9334, 4405, 202, 6694, 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, 2863, 6426, 1792, 47, 12, 1227, 1792, 47, 1768, 1203, 16, 1250, 1247, 13, 1216, 23629, 2355, 6426, 503, 288, 202, 202, 7229, 8526, 501, 273, 1203, 18, 588, 751, 5621, 202, 202, 7229, 8526, 1607, 273, 1203, 18, 588, 3121, 5621, 202, 202, 1988, 6261, 8872, 1768, 846, 70, 273, 394, 6393, 6261, 8872, 1768, 12, 12231, 1584, 55, 67, 706, 67, 11403, 16, 453, 17750, 67, 4574, 16, 501, 1769, 202, 202, 1792, 47, 4600, 12021, 353, 31, 202, 202, 5748, 4555, 273, 2744, 18, 4285, 3708, 5621, 202, 202, 430, 12, 5, 739, 3060, 12, 1911, 3719, 288, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 4445, 486, 2176, 10034, 2537, 2 ]
protected Binding getBinding(HttpServletRequest request, HttpServletResponse response, Writer out) throws IOException { // Set up the script context Binding binding = new Binding(); GroovyObject controller = (GroovyObject)request.getAttribute(GrailsApplicationAttributes.CONTROLLER); if(controller!=null) { binding.setVariable(GroovyPage.REQUEST, controller.getProperty(ControllerDynamicMethods.REQUEST_PROPERTY)); binding.setVariable(GroovyPage.RESPONSE, controller.getProperty(ControllerDynamicMethods.RESPONSE_PROPERTY)); binding.setVariable(GroovyPage.FLASH, controller.getProperty(ControllerDynamicMethods.FLASH_SCOPE_PROPERTY)); binding.setVariable(GroovyPage.SERVLET_CONTEXT, context); ApplicationContext appContext = (ApplicationContext)context.getAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT); binding.setVariable(GroovyPage.APPLICATION_CONTEXT, appContext); binding.setVariable(GrailsApplication.APPLICATION_ID, appContext.getBean(GrailsApplication.APPLICATION_ID)); binding.setVariable(GrailsApplicationAttributes.CONTROLLER, controller); binding.setVariable(GroovyPage.SESSION, controller.getProperty(GetSessionDynamicProperty.PROPERTY_NAME)); binding.setVariable(GroovyPage.PARAMS, controller.getProperty(GetParamsDynamicProperty.PROPERTY_NAME)); binding.setVariable(GroovyPage.OUT, out); } else { // if there is no controller in the request configure using existing attributes, creating objects where necessary GrailsApplicationAttributes attrs = (GrailsApplicationAttributes)request.getAttribute(GrailsApplicationAttributes.REQUEST_SCOPE_ID); binding.setVariable(GroovyPage.REQUEST, request); binding.setVariable(GroovyPage.RESPONSE, response); binding.setVariable(GroovyPage.FLASH, attrs.getFlashScope(request)); binding.setVariable(GroovyPage.SERVLET_CONTEXT, context); ApplicationContext appContext = (ApplicationContext)context.getAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT); binding.setVariable(GroovyPage.APPLICATION_CONTEXT, appContext); binding.setVariable(GrailsApplication.APPLICATION_ID, appContext.getBean(GrailsApplication.APPLICATION_ID)); binding.setVariable(GroovyPage.SESSION, request.getSession()); binding.setVariable(GroovyPage.PARAMS, new GrailsParameterMap(request)); binding.setVariable(GroovyPage.OUT, out); } // Go through request attributes and add them to the binding as the model for (Enumeration attributeEnum = request.getAttributeNames(); attributeEnum.hasMoreElements();) { String key = (String) attributeEnum.nextElement(); if(!binding.getVariables().containsKey(key)) { binding.setVariable( key, request.getAttribute(key) ); } } for (Iterator i = additionalBinding.keySet().iterator(); i.hasNext();) { String key = (String)i.next(); binding.setVariable(key, additionalBinding.get(key)); } return binding; } // getBinding()
52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/8f437ade5e2fd07aeb51b071528e08fc29c1a205/GroovyPagesTemplateEngine.java/buggy/src/web/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 15689, 29471, 12, 2940, 18572, 590, 16, 12446, 766, 16, 5497, 596, 13, 7734, 1216, 1860, 288, 5411, 368, 1000, 731, 326, 2728, 819, 5411, 15689, 5085, 273, 394, 15689, 5621, 13491, 20841, 921, 2596, 273, 261, 43, 12859, 921, 13, 2293, 18, 588, 1499, 12, 14571, 14573, 3208, 2498, 18, 6067, 25353, 1769, 5411, 309, 12, 5723, 5, 33, 2011, 13, 288, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 5519, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 5519, 67, 9900, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 14508, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 14508, 67, 9900, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 42, 16504, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 42, 16504, 67, 19444, 67, 9900, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 31066, 15146, 67, 13181, 16, 819, 1769, 202, 5411, 4257, 1042, 595, 1042, 273, 261, 28278, 13, 2472, 18, 588, 1499, 12, 14571, 14573, 3208, 2498, 18, 25039, 67, 13181, 1769, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 25039, 67, 13181, 16, 595, 1042, 1769, 202, 5411, 5085, 18, 542, 3092, 12, 14571, 14573, 3208, 18, 25039, 67, 734, 16, 595, 1042, 18, 588, 3381, 12, 14571, 14573, 3208, 18, 25039, 67, 734, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 14571, 14573, 3208, 2498, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 15689, 29471, 12, 2940, 18572, 590, 16, 12446, 766, 16, 5497, 596, 13, 7734, 1216, 1860, 288, 5411, 368, 1000, 731, 326, 2728, 819, 5411, 15689, 5085, 273, 394, 15689, 5621, 13491, 20841, 921, 2596, 273, 261, 43, 12859, 921, 13, 2293, 18, 588, 1499, 12, 14571, 14573, 3208, 2498, 18, 6067, 25353, 1769, 5411, 309, 12, 5723, 5, 33, 2011, 13, 288, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 5519, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 5519, 67, 9900, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 14508, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 14508, 67, 9900, 10019, 202, 5411, 2 ]
assertCheckBoxBinding(checkBox, "flag", testBean.isFlag()); }
assertCheckBoxBinding(checkBox, "flag", testBean.isFlag()); }
public void testBindCheckBox() { try { formModel.bind(new JCheckBox(), "stringProperty"); fail("Should throw IllegalArgumentException"); } catch (IllegalArgumentException e) { pass(); } JCheckBox checkBox = new JCheckBox(); checkBox = formModel.bind(checkBox, "flag"); assertCheckBoxBinding(checkBox, "flag", testBean.isFlag()); }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/1ca92818155f3e0a4aed29e15c396b3c749e2b10/SwingFormModelTests.java/clean/test/org/springframework/richclient/forms/SwingFormModelTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3357, 19174, 1435, 288, 3639, 775, 288, 5411, 646, 1488, 18, 4376, 12, 2704, 804, 19174, 9334, 315, 1080, 1396, 8863, 5411, 2321, 2932, 14309, 604, 2754, 8863, 3639, 289, 1044, 261, 31237, 425, 13, 288, 5411, 1342, 5621, 3639, 289, 3639, 804, 19174, 866, 3514, 273, 394, 804, 19174, 5621, 3639, 866, 3514, 273, 646, 1488, 18, 4376, 12, 1893, 3514, 16, 315, 6420, 8863, 3639, 1815, 19174, 5250, 12, 1893, 3514, 16, 315, 6420, 3113, 1842, 3381, 18, 291, 4678, 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,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 918, 1842, 3357, 19174, 1435, 288, 3639, 775, 288, 5411, 646, 1488, 18, 4376, 12, 2704, 804, 19174, 9334, 315, 1080, 1396, 8863, 5411, 2321, 2932, 14309, 604, 2754, 8863, 3639, 289, 1044, 261, 31237, 425, 13, 288, 5411, 1342, 5621, 3639, 289, 3639, 804, 19174, 866, 3514, 273, 394, 804, 19174, 5621, 3639, 866, 3514, 273, 646, 1488, 18, 4376, 12, 1893, 3514, 16, 315, 6420, 8863, 3639, 1815, 19174, 5250, 12, 1893, 3514, 16, 315, 6420, 3113, 1842, 3381, 18, 291, 4678, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return getRuby().getFalse(); }
return getRuby().getFalse(); }
public RubyBoolean int_p() { return getRuby().getFalse(); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/e3f72aab20ef1fc8576d8fa6823d9722ed33c55c/RubyNumeric.java/clean/org/jruby/RubyNumeric.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 509, 67, 84, 1435, 288, 3639, 327, 4170, 10340, 7675, 588, 8381, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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, 377, 1071, 19817, 5507, 509, 67, 84, 1435, 288, 3639, 327, 4170, 10340, 7675, 588, 8381, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return CharOperation.NO_CHAR;
return name;
public static final char[] concatWith(char[][] array, char separator) { int length = array == null ? 0 : array.length; if (length == 0) return CharOperation.NO_CHAR; int size = length - 1; int index = length; while (--index >= 0) { if (array[index].length == 0) size--; else size += array[index].length; } if (size <= 0) return CharOperation.NO_CHAR; char[] result = new char[size]; index = length; while (--index >= 0) { length = array[index].length; if (length > 0) { System.arraycopy( array[index], 0, result, (size -= length), length); if (--size >= 0) result[size] = separator; } } return result; }
12408 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12408/97695ccc3a078d804bc7df2ed83ae543abea2e44/CharOperation.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1149, 8526, 3835, 1190, 12, 3001, 63, 6362, 65, 526, 16, 1149, 4182, 13, 288, 202, 202, 474, 769, 273, 526, 422, 446, 692, 374, 294, 526, 18, 2469, 31, 202, 202, 430, 261, 2469, 422, 374, 13, 1082, 202, 2463, 3703, 2988, 18, 3417, 67, 7305, 31, 202, 202, 474, 963, 273, 769, 300, 404, 31, 202, 202, 474, 770, 273, 769, 31, 202, 202, 17523, 261, 413, 1615, 1545, 374, 13, 288, 1082, 202, 430, 261, 1126, 63, 1615, 8009, 2469, 422, 374, 13, 9506, 202, 1467, 413, 31, 1082, 202, 12107, 9506, 202, 1467, 1011, 526, 63, 1615, 8009, 2469, 31, 202, 202, 97, 202, 202, 430, 261, 1467, 1648, 374, 13, 1082, 202, 2463, 3703, 2988, 18, 3417, 67, 7305, 31, 202, 202, 3001, 8526, 563, 273, 394, 1149, 63, 1467, 15533, 202, 202, 1615, 273, 769, 31, 202, 202, 17523, 261, 413, 1615, 1545, 374, 13, 288, 1082, 202, 2469, 273, 526, 63, 1615, 8009, 2469, 31, 1082, 202, 430, 261, 2469, 405, 374, 13, 288, 9506, 202, 3163, 18, 1126, 3530, 12, 6862, 202, 1126, 63, 1615, 6487, 6862, 202, 20, 16, 6862, 202, 2088, 16, 6862, 202, 12, 1467, 3947, 769, 3631, 6862, 202, 2469, 1769, 9506, 202, 430, 261, 413, 1467, 1545, 374, 13, 6862, 202, 2088, 63, 1467, 65, 273, 4182, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 563, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1149, 8526, 3835, 1190, 12, 3001, 63, 6362, 65, 526, 16, 1149, 4182, 13, 288, 202, 202, 474, 769, 273, 526, 422, 446, 692, 374, 294, 526, 18, 2469, 31, 202, 202, 430, 261, 2469, 422, 374, 13, 1082, 202, 2463, 3703, 2988, 18, 3417, 67, 7305, 31, 202, 202, 474, 963, 273, 769, 300, 404, 31, 202, 202, 474, 770, 273, 769, 31, 202, 202, 17523, 261, 413, 1615, 1545, 374, 13, 288, 1082, 202, 430, 261, 1126, 63, 1615, 8009, 2469, 422, 374, 13, 9506, 202, 1467, 413, 31, 1082, 202, 12107, 9506, 202, 1467, 1011, 526, 63, 1615, 8009, 2469, 31, 202, 202, 97, 202, 202, 430, 261, 1467, 1648, 374, 2 ]
if (((++bytecount) & 0x3f) == 0)
if ((++ bytecount) % 64 == 0)
public void engineUpdate (byte b) { int i = ((int)bytecount) & 0x3f; //wgs int shift = (3 - i % 4) << 3; int idx = i / 4; i = (int)b; W[idx] = (W[idx] & ~(0xff << shift)) | ((i & 0xff) << shift); // if we've filled up a block, then process it if (((++bytecount) & 0x3f) == 0) munch (); }
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/f0fa0d7593a4096ea9c1b26389ec4bb1431e5631/SHA.java/buggy/libjava/gnu/java/security/provider/SHA.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4073, 1891, 261, 7229, 324, 13, 225, 288, 565, 509, 277, 273, 14015, 474, 13, 1637, 14537, 592, 13, 473, 374, 92, 23, 74, 31, 368, 91, 564, 565, 509, 4654, 273, 261, 23, 300, 277, 738, 1059, 13, 2296, 890, 31, 565, 509, 2067, 273, 277, 342, 1059, 31, 565, 277, 273, 261, 474, 13, 70, 31, 565, 678, 63, 3465, 65, 273, 261, 59, 63, 3465, 65, 473, 4871, 12, 20, 5297, 2296, 4654, 3719, 571, 14015, 77, 473, 374, 5297, 13, 2296, 4654, 1769, 565, 368, 309, 732, 8081, 6300, 731, 279, 1203, 16, 1508, 1207, 518, 565, 309, 14015, 9904, 635, 14537, 592, 13, 738, 5178, 422, 374, 13, 1377, 312, 4384, 261, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4073, 1891, 261, 7229, 324, 13, 225, 288, 565, 509, 277, 273, 14015, 474, 13, 1637, 14537, 592, 13, 473, 374, 92, 23, 74, 31, 368, 91, 564, 565, 509, 4654, 273, 261, 23, 300, 277, 738, 1059, 13, 2296, 890, 31, 565, 509, 2067, 273, 277, 342, 1059, 31, 565, 277, 273, 261, 474, 13, 70, 31, 565, 678, 63, 3465, 65, 273, 261, 59, 63, 3465, 65, 473, 4871, 12, 20, 5297, 2296, 4654, 3719, 571, 14015, 77, 473, 374, 5297, 13, 2296, 4654, 1769, 565, 368, 309, 732, 8081, 6300, 731, 279, 1203, 16, 1508, 1207, 518, 565, 309, 14015, 9904, 635, 14537, 592, 13, 738, 5178, 422, 374, 13, 1377, 312, 4384, 2 ]
try { return Integer.parseInt( buildNumber ); } catch( final NumberFormatException nfe ) { final String message =
try { return Integer.parseInt(buildNumber); } catch (final NumberFormatException nfe) { final String message =
private int getBuildNumber( final Properties properties ) throws BuildException { final String buildNumber = properties.getProperty( DEFAULT_PROPERTY_NAME, "0" ).trim(); // Try parsing the line into an integer. try { return Integer.parseInt( buildNumber ); } catch( final NumberFormatException nfe ) { final String message = m_file + " contains a non integer build number: " + buildNumber; throw new BuildException( message , nfe ); } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/6154080061f869b4e425d608da3bd61fad967564/BuildNumber.java/buggy/src/main/org/apache/tools/ant/taskdefs/BuildNumber.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 21122, 1854, 12, 727, 6183, 1790, 262, 3639, 1216, 18463, 565, 288, 3639, 727, 514, 1361, 1854, 273, 5411, 1790, 18, 588, 1396, 12, 3331, 67, 9900, 67, 1985, 16, 315, 20, 6, 262, 18, 5290, 5621, 3639, 368, 6161, 5811, 326, 980, 1368, 392, 3571, 18, 3639, 775, 3639, 288, 5411, 327, 2144, 18, 2670, 1702, 12, 1361, 1854, 11272, 3639, 289, 3639, 1044, 12, 727, 12100, 25386, 262, 3639, 288, 5411, 727, 514, 883, 273, 1171, 312, 67, 768, 397, 315, 1914, 279, 1661, 3571, 1361, 1300, 30, 315, 397, 1361, 1854, 31, 5411, 604, 394, 18463, 12, 883, 269, 25386, 11272, 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, 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, 377, 3238, 509, 21122, 1854, 12, 727, 6183, 1790, 262, 3639, 1216, 18463, 565, 288, 3639, 727, 514, 1361, 1854, 273, 5411, 1790, 18, 588, 1396, 12, 3331, 67, 9900, 67, 1985, 16, 315, 20, 6, 262, 18, 5290, 5621, 3639, 368, 6161, 5811, 326, 980, 1368, 392, 3571, 18, 3639, 775, 3639, 288, 5411, 327, 2144, 18, 2670, 1702, 12, 1361, 1854, 11272, 3639, 289, 3639, 1044, 12, 727, 12100, 25386, 262, 3639, 288, 5411, 727, 514, 883, 273, 1171, 312, 67, 768, 397, 315, 1914, 279, 1661, 3571, 1361, 1300, 30, 315, 397, 1361, 1854, 31, 5411, 604, 394, 18463, 12, 883, 269, 25386, 11272, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
getContentPane().add(genButton); genButton.setBounds(30, 20, 75, 23);
getContentPane().add(jButton1, java.awt.BorderLayout.NORTH);
private void initComponents() { genButton = new javax.swing.JButton(); getContentPane().setLayout(null); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setFocusCycleRoot(false); setName("LoggingPrototype"); genButton.setText("generate"); genButton.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { genButtonMouseClicked(evt); } }); getContentPane().add(genButton); genButton.setBounds(30, 20, 75, 23); pack(); }
10434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10434/deaf39f5fd53e602ee119c0e78ba328efa14917e/guiLogging.java/clean/trunk/src/mockups/guiLogging.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 3157, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 5154, 8485, 7675, 542, 3744, 12, 2011, 1769, 3639, 9277, 4605, 2988, 12, 28384, 18, 5328, 310, 18, 3829, 2918, 18, 28682, 67, 673, 67, 13384, 1769, 3639, 31480, 13279, 2375, 12, 5743, 1769, 3639, 6788, 2932, 7735, 15846, 8863, 3639, 3157, 3616, 18, 542, 1528, 2932, 7163, 8863, 3639, 3157, 3616, 18, 1289, 9186, 2223, 12, 2704, 2252, 18, 2219, 88, 18, 2575, 18, 9186, 4216, 1435, 288, 5411, 1071, 918, 7644, 27633, 12, 6290, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 6324, 13, 288, 7734, 3157, 3616, 9186, 27633, 12, 73, 11734, 1769, 5411, 289, 3639, 15549, 3639, 5154, 8485, 7675, 1289, 12, 4507, 3616, 1769, 3639, 3157, 3616, 18, 542, 5694, 12, 5082, 16, 4200, 16, 18821, 16, 10213, 1769, 3639, 2298, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 3157, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 5154, 8485, 7675, 542, 3744, 12, 2011, 1769, 3639, 9277, 4605, 2988, 12, 28384, 18, 5328, 310, 18, 3829, 2918, 18, 28682, 67, 673, 67, 13384, 1769, 3639, 31480, 13279, 2375, 12, 5743, 1769, 3639, 6788, 2932, 7735, 15846, 8863, 3639, 3157, 3616, 18, 542, 1528, 2932, 7163, 8863, 3639, 3157, 3616, 18, 1289, 9186, 2223, 12, 2704, 2252, 18, 2219, 88, 18, 2575, 18, 9186, 4216, 1435, 288, 5411, 1071, 918, 7644, 27633, 12, 6290, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 6324, 13, 288, 7734, 3157, 3616, 9186, 27633, 12, 73, 11734, 1769, 5411, 289, 2 ]
public void setPrototypeName(String _prototypeName) {
public void setPrototypeName(String _prototypeName, boolean _updateFromPrototype) { boolean prototypeNameChanged = true; if (_prototypeName == null && myPrototypeName == null) { prototypeNameChanged = false; } else if ((_prototypeName != null && _prototypeName.equals(myPrototypeName)) || (myPrototypeName != null && myPrototypeName.equals(_prototypeName))) { prototypeNameChanged = false; }
public void setPrototypeName(String _prototypeName) { myPrototypeName = _prototypeName; }
2575 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2575/7b8e2a977acbc867813917275995f613b061ec47/EOAttribute.java/clean/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOAttribute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 15846, 461, 12, 780, 389, 18541, 461, 16, 1250, 389, 2725, 1265, 15846, 13, 288, 1250, 4409, 461, 5033, 273, 638, 31, 309, 261, 67, 18541, 461, 422, 446, 597, 3399, 15846, 461, 422, 446, 13, 288, 4409, 461, 5033, 273, 629, 31, 289, 469, 309, 14015, 67, 18541, 461, 480, 446, 597, 389, 18541, 461, 18, 14963, 12, 4811, 15846, 461, 3719, 747, 261, 4811, 15846, 461, 480, 446, 597, 3399, 15846, 461, 18, 14963, 24899, 18541, 461, 20349, 288, 4409, 461, 5033, 273, 629, 31, 289, 565, 3399, 15846, 461, 273, 389, 18541, 461, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 15846, 461, 12, 780, 389, 18541, 461, 16, 1250, 389, 2725, 1265, 15846, 13, 288, 1250, 4409, 461, 5033, 273, 638, 31, 309, 261, 67, 18541, 461, 422, 446, 597, 3399, 15846, 461, 422, 446, 13, 288, 4409, 461, 5033, 273, 629, 31, 289, 469, 309, 14015, 67, 18541, 461, 480, 446, 597, 389, 18541, 461, 18, 14963, 12, 4811, 15846, 461, 3719, 747, 261, 4811, 15846, 461, 480, 446, 597, 3399, 15846, 461, 18, 14963, 24899, 18541, 461, 20349, 288, 4409, 461, 5033, 273, 629, 31, 289, 565, 3399, 15846, 461, 273, 389, 18541, 461, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TestCrawlCB cb = new TestCrawlCB(deadline);
TestCrawlCB cb = new TestCrawlCB(sem);
public void testNewContentCrawlCallbackReturnsCookie() { Deadline deadline = Deadline.in(TEN_SECONDS); String cookie = "cookie string"; MockCachedUrlSet cus = (MockCachedUrlSet)mau.getAUCachedUrlSet(); cus.addUrl(LINKLESS_PAGE, startUrl); TestCrawlCB cb = new TestCrawlCB(deadline); crawlManager.isCrawlingAU(mau, cb, cookie); while (!deadline.expired()) { try{ deadline.sleep(); } catch (InterruptedException ie) { } } assertEquals(cookie, (String)cb.getCookie()); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/ada10c9875dbe8e0b662480381978c87da96262e/TestCrawlManagerImpl.java/buggy/test/src/org/lockss/crawler/TestCrawlManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1908, 1350, 39, 15161, 2428, 1356, 6151, 1435, 288, 565, 23967, 1369, 14096, 273, 23967, 1369, 18, 267, 12, 56, 1157, 67, 11609, 1769, 565, 514, 3878, 273, 315, 8417, 533, 14432, 565, 7867, 9839, 1489, 694, 27964, 273, 261, 9865, 9839, 1489, 694, 13, 2540, 89, 18, 588, 14237, 9839, 1489, 694, 5621, 565, 27964, 18, 1289, 1489, 12, 10554, 26005, 67, 11219, 16, 787, 1489, 1769, 565, 7766, 39, 15161, 8876, 2875, 273, 394, 7766, 39, 15161, 8876, 12, 12000, 1769, 565, 23182, 1318, 18, 291, 39, 1899, 2456, 14237, 12, 2540, 89, 16, 2875, 16, 3878, 1769, 565, 1323, 16051, 22097, 1369, 18, 15820, 10756, 288, 1377, 775, 95, 202, 22097, 1369, 18, 19607, 5621, 1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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1908, 1350, 39, 15161, 2428, 1356, 6151, 1435, 288, 565, 23967, 1369, 14096, 273, 23967, 1369, 18, 267, 12, 56, 1157, 67, 11609, 1769, 565, 514, 3878, 273, 315, 8417, 533, 14432, 565, 7867, 9839, 1489, 694, 27964, 273, 261, 9865, 9839, 1489, 694, 13, 2540, 89, 18, 588, 14237, 9839, 1489, 694, 5621, 565, 27964, 18, 1289, 1489, 12, 10554, 26005, 67, 11219, 16, 787, 1489, 1769, 565, 7766, 39, 15161, 8876, 2875, 273, 394, 7766, 39, 15161, 8876, 12, 12000, 1769, 565, 23182, 1318, 18, 291, 39, 1899, 2456, 14237, 12, 2540, 89, 16, 2875, 16, 3878, 1769, 565, 1323, 16051, 22097, 1369, 18, 15820, 10756, 288, 1377, 775, 95, 202, 22097, 1369, 2 ]
if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } else if(GrailsClassUtils.isDomainClass( relatedClassType )) { Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(relatedClassType); Class relatedClassPropertyType = null; if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class) relatedClassRelationships.get( currentKey ); if(currentClass.getName().equals( getClazz().getName() )) { relatedClassPropertyName = currentKey; break; } } if(relatedClassPropertyName != null) { relatedClassPropertyType = GrailsClassUtils.getProperyType( relatedClassType, relatedClassPropertyName); } } if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(relatedClassType, getClazz()); if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } establishRelationshipForSetToType(property,relatedClassPropertyType); } else { property.setPersistant(false); } } else { property.setPersistant(false); } }
if(relatedClassType != null) { property.setReferencedPropertyType(relatedClassType); if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } else if(GrailsClassUtils.isDomainClass( relatedClassType )) { Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(relatedClassType); Class relatedClassPropertyType = null; if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class) relatedClassRelationships.get( currentKey ); if(currentClass.getName().equals( getClazz().getName() )) { relatedClassPropertyName = currentKey; break; } } if(relatedClassPropertyName != null) { relatedClassPropertyType = GrailsClassUtils.getProperyType( relatedClassType, relatedClassPropertyName); } } if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(relatedClassType, getClazz()); if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } establishRelationshipForSetToType(property,relatedClassPropertyType); } else { property.setPersistant(false); } } else { property.setPersistant(false); } }
private void establishRelationshipForSet(DefaultGrailsDomainClassProperty property) { // is it a relationship Class relatedClassType = getRelatedClassType( property.getName() ); if(relatedClassType != null) { // set the referenced type in the property property.setReferencedPropertyType(relatedClassType); // if the related class is the same as this class // its a circular one-to-many if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } // if the related type is a domain class // then figure out what kind of relationship it is else if(GrailsClassUtils.isDomainClass( relatedClassType )) { // check the relationship defined in the referenced type // if it is also a Set/domain class etc. Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(relatedClassType); Class relatedClassPropertyType = null; // if the related type has a relationships map it may be a many-to-many // figure out if there is a many-to-many relationship defined if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; // retrieve the relationship property for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class) relatedClassRelationships.get( currentKey ); if(currentClass.getName().equals( getClazz().getName() )) { relatedClassPropertyName = currentKey; break; } } // if there is one defined get the type if(relatedClassPropertyName != null) { relatedClassPropertyType = GrailsClassUtils.getProperyType( relatedClassType, relatedClassPropertyName); } } // otherwise figure out if there is a one-to-many relationship by retrieving any properties that are of the related type // if there is more than one property then (for the moment) ignore the relationship if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(relatedClassType, getClazz()); if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } establishRelationshipForSetToType(property,relatedClassPropertyType); } // otherwise set it to not persistent as you can't persist // relationships to non-domain classes else { property.setPersistant(false); } } else { // no relationship defined for set. // set not persistent property.setPersistant(false); } }
52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/58974951e3276884850340e13cf2bb066cb110b9/DefaultGrailsDomainClass.java/clean/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 18312, 8180, 1290, 694, 12, 1868, 14571, 14573, 3748, 797, 1396, 1272, 13, 288, 202, 202, 759, 353, 518, 279, 5232, 202, 202, 797, 3746, 18328, 273, 21531, 18328, 12, 1272, 18, 17994, 1435, 11272, 25083, 202, 430, 12, 9243, 18328, 480, 446, 13, 288, 1082, 202, 759, 444, 326, 8042, 618, 316, 326, 1272, 1082, 202, 4468, 18, 542, 22344, 22802, 12, 9243, 18328, 1769, 1082, 202, 759, 309, 326, 3746, 667, 353, 326, 1967, 487, 333, 667, 1082, 202, 759, 2097, 279, 15302, 1245, 17, 869, 17, 9353, 1082, 202, 430, 12, 9243, 18328, 18, 17994, 7675, 14963, 12, 588, 19223, 1435, 3719, 95, 9506, 202, 4468, 18, 542, 3335, 12601, 12, 3767, 1769, 9506, 202, 4468, 18, 542, 17763, 24699, 12, 3767, 1769, 1082, 202, 97, 1082, 202, 759, 309, 326, 3746, 618, 353, 279, 2461, 667, 1082, 202, 759, 1508, 7837, 596, 4121, 3846, 434, 5232, 518, 353, 25083, 202, 12107, 309, 12, 14571, 14573, 797, 1989, 18, 291, 3748, 797, 12, 3746, 18328, 8623, 288, 6862, 6862, 9506, 202, 759, 866, 326, 5232, 2553, 316, 326, 8042, 618, 9506, 202, 759, 309, 518, 353, 2546, 279, 1000, 19, 4308, 667, 5527, 18, 9506, 202, 863, 3746, 797, 17185, 273, 10812, 14573, 3748, 1750, 1304, 18, 588, 7174, 863, 12, 9243, 18328, 1769, 9506, 202, 797, 3746, 797, 22802, 273, 446, 31, 6862, 9506, 202, 759, 309, 326, 3746, 618, 711, 279, 11499, 852, 518, 2026, 506, 279, 4906, 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, 18312, 8180, 1290, 694, 12, 1868, 14571, 14573, 3748, 797, 1396, 1272, 13, 288, 202, 202, 759, 353, 518, 279, 5232, 202, 202, 797, 3746, 18328, 273, 21531, 18328, 12, 1272, 18, 17994, 1435, 11272, 25083, 202, 430, 12, 9243, 18328, 480, 446, 13, 288, 1082, 202, 759, 444, 326, 8042, 618, 316, 326, 1272, 1082, 202, 4468, 18, 542, 22344, 22802, 12, 9243, 18328, 1769, 1082, 202, 759, 309, 326, 3746, 667, 353, 326, 1967, 487, 333, 667, 1082, 202, 759, 2097, 279, 15302, 1245, 17, 869, 17, 9353, 1082, 202, 430, 12, 9243, 18328, 18, 17994, 7675, 14963, 12, 588, 19223, 1435, 3719, 95, 9506, 202, 4468, 18, 542, 3335, 12601, 12, 3767, 2 ]
BeanProperty(Method getter, Method setter)
BeanProperty(MemberBox getter, MemberBox setter)
BeanProperty(Method getter, Method setter) { this.getter = getter; this.setter = setter; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/004397fe5ef540e453f60552849d0320b106ace4/JavaMembers.java/clean/js/rhino/src/org/mozilla/javascript/JavaMembers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 7704, 1396, 12, 4419, 3514, 7060, 16, 8596, 3514, 7794, 13, 565, 288, 3639, 333, 18, 11990, 273, 7060, 31, 3639, 333, 18, 18062, 273, 7794, 31, 565, 289, 2, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7704, 1396, 12, 4419, 3514, 7060, 16, 8596, 3514, 7794, 13, 565, 288, 3639, 333, 18, 11990, 273, 7060, 31, 3639, 333, 18, 18062, 273, 7794, 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 ]
Fetcher fetcher = new Fetcher(nfs, directory, parsing); if (threadCount != -1) { fetcher.setThreadCount(threadCount); } setLogLevel(Level.parse(logLevel.toUpperCase())); if (showThreadID) { LogFormatter.setShowThreadIDs(showThreadID); }
Fetcher fetcher = new Fetcher(conf);
public static void main(String[] args) throws Exception { int threadCount = -1; String logLevel = "info"; boolean parsing = true; boolean showThreadID = false; String directory = null; String usage = "Usage: Fetcher (-local | -ndfs <namenode:port>) [-logLevel level] [-noParsing] [-showThreadID] [-threads n] <dir>"; if (args.length == 0) { System.err.println(usage); System.exit(-1); } int i = 0; NutchFileSystem nfs = NutchFileSystem.parseArgs(args, i); for (; i < args.length; i++) { // parse command line if (args[i] == null) { continue; } else if (args[i].equals("-threads")) { // found -threads option threadCount = Integer.parseInt(args[++i]); } else if (args[i].equals("-logLevel")) { logLevel = args[++i]; } else if (args[i].equals("-noParsing")) { parsing = false; } else if (args[i].equals("-showThreadID")) { showThreadID = true; } else // root is required parameter directory = args[i]; } Fetcher fetcher = new Fetcher(nfs, directory, parsing);// make a Fetcher if (threadCount != -1) { // set threadCount option fetcher.setThreadCount(threadCount); } // set log level setLogLevel(Level.parse(logLevel.toUpperCase())); if (showThreadID) { LogFormatter.setShowThreadIDs(showThreadID); } try { fetcher.run(); // run the Fetcher } finally { nfs.close(); } }
46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/b8bd3f133b29d794833bdcffc1bfd0d41d421066/Fetcher.java/clean/src/java/org/apache/nutch/fetcher/Fetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 565, 509, 2650, 1380, 273, 300, 21, 31, 565, 514, 16752, 273, 315, 1376, 14432, 565, 1250, 5811, 273, 638, 31, 565, 1250, 2405, 3830, 734, 273, 629, 31, 565, 514, 1867, 273, 446, 31, 565, 514, 4084, 273, 315, 5357, 30, 8065, 264, 24927, 3729, 571, 300, 82, 12381, 411, 17808, 20680, 30, 655, 23429, 23059, 1330, 2355, 1801, 65, 23059, 2135, 13963, 65, 23059, 4500, 3830, 734, 65, 23059, 12495, 290, 65, 411, 1214, 2984, 31, 565, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 1377, 2332, 18, 370, 18, 8222, 12, 9167, 1769, 1377, 2332, 18, 8593, 19236, 21, 1769, 565, 289, 1850, 509, 277, 273, 374, 31, 565, 423, 322, 343, 11785, 290, 2556, 273, 423, 322, 343, 11785, 18, 2670, 2615, 12, 1968, 16, 277, 1769, 565, 364, 261, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 4202, 368, 1109, 1296, 980, 1377, 309, 261, 1968, 63, 77, 65, 422, 446, 13, 288, 1850, 1324, 31, 1377, 289, 469, 309, 261, 1968, 63, 77, 8009, 14963, 2932, 17, 12495, 6, 3719, 288, 565, 368, 1392, 300, 12495, 1456, 3639, 2650, 1380, 273, 225, 2144, 18, 2670, 1702, 12, 1968, 63, 9904, 77, 19226, 1377, 289, 469, 309, 261, 1968, 63, 77, 8009, 14963, 2932, 17, 1330, 2355, 6, 3719, 288, 3639, 16752, 273, 833, 63, 9904, 77, 15533, 1377, 289, 469, 309, 261, 1968, 63, 77, 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, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 565, 509, 2650, 1380, 273, 300, 21, 31, 565, 514, 16752, 273, 315, 1376, 14432, 565, 1250, 5811, 273, 638, 31, 565, 1250, 2405, 3830, 734, 273, 629, 31, 565, 514, 1867, 273, 446, 31, 565, 514, 4084, 273, 315, 5357, 30, 8065, 264, 24927, 3729, 571, 300, 82, 12381, 411, 17808, 20680, 30, 655, 23429, 23059, 1330, 2355, 1801, 65, 23059, 2135, 13963, 65, 23059, 4500, 3830, 734, 65, 23059, 12495, 290, 65, 411, 1214, 2984, 31, 565, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 1377, 2332, 18, 370, 18, 8222, 12, 9167, 1769, 1377, 2332, 18, 8593, 19236, 21, 1769, 565, 289, 2 ]
findParticipant(addrFrom, resourceFrom, nameFrom);
findAddParticipant(addrFrom, resourceFrom, nameFrom);
int addMessage(IMAddr addrFrom, String resourceFrom, String nameFrom, IMMessage msg) { // will trigger the add findParticipant(addrFrom, resourceFrom, nameFrom); mMessages.add(msg); return mMessages.size()+mFirstSeqNo; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/2271668c6ec4d846f281b65d3c119ac2b38532c1/IMChat.java/clean/ZimbraServer/src/java/com/zimbra/cs/im/IMChat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 16487, 12, 3445, 3178, 3091, 1265, 16, 514, 1058, 1265, 16, 514, 508, 1265, 16, 6246, 1079, 1234, 13, 565, 288, 3639, 368, 903, 3080, 326, 527, 3639, 1104, 986, 22540, 12, 4793, 1265, 16, 1058, 1265, 16, 508, 1265, 1769, 7734, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 16487, 12, 3445, 3178, 3091, 1265, 16, 514, 1058, 1265, 16, 514, 508, 1265, 16, 6246, 1079, 1234, 13, 565, 288, 3639, 368, 903, 3080, 326, 527, 3639, 1104, 986, 22540, 12, 4793, 1265, 16, 1058, 1265, 16, 508, 1265, 1769, 7734, 312, 5058, 18, 1289, 12, 3576, 1769, 7734, 327, 312, 5058, 18, 1467, 1435, 15, 81, 3759, 6926, 2279, 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 ]
double optimizerEstimatedCost, GeneratedMethod closeCleanup)
double optimizerEstimatedCost)
public NoPutResultSet getProjectRestrictResultSet(NoPutResultSet source, GeneratedMethod restriction, GeneratedMethod projection, int resultSetNumber, GeneratedMethod constantRestriction, int mapRefItem, boolean reuseResult, boolean doesProjection, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardException { return new ProjectRestrictResultSet(source, source.getActivation(), restriction, projection, resultSetNumber, constantRestriction, mapRefItem, reuseResult, doesProjection, optimizerEstimatedRowCount, optimizerEstimatedCost); }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/9e6e461e8a18e9d7ada381c5ec3e7568559831b5/GenericResultSetFactory.java/clean/java/engine/org/apache/derby/impl/sql/execute/GenericResultSetFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2631, 6426, 13198, 11080, 29371, 13198, 12, 2279, 6426, 13198, 1084, 16, 202, 202, 7823, 1305, 9318, 16, 3196, 202, 7823, 1305, 8106, 16, 509, 12168, 1854, 16, 202, 202, 7823, 1305, 5381, 11670, 16, 202, 202, 474, 852, 1957, 1180, 16, 202, 202, 6494, 11827, 1253, 16, 202, 202, 6494, 1552, 14789, 16, 202, 202, 9056, 13066, 9122, 17275, 26359, 16, 202, 202, 9056, 13066, 9122, 17275, 8018, 16, 202, 202, 7823, 1305, 1746, 15007, 13, 1082, 202, 15069, 8263, 503, 202, 95, 202, 202, 2463, 394, 5420, 29371, 13198, 12, 3168, 16, 1084, 18, 588, 14857, 9334, 1875, 202, 23954, 16, 8106, 16, 12168, 1854, 16, 1875, 202, 14384, 11670, 16, 852, 1957, 1180, 16, 1875, 202, 266, 1202, 1253, 16, 1082, 202, 20657, 14789, 16, 1082, 565, 13066, 9122, 17275, 26359, 16, 1082, 202, 29594, 9122, 17275, 8018, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2631, 6426, 13198, 11080, 29371, 13198, 12, 2279, 6426, 13198, 1084, 16, 202, 202, 7823, 1305, 9318, 16, 3196, 202, 7823, 1305, 8106, 16, 509, 12168, 1854, 16, 202, 202, 7823, 1305, 5381, 11670, 16, 202, 202, 474, 852, 1957, 1180, 16, 202, 202, 6494, 11827, 1253, 16, 202, 202, 6494, 1552, 14789, 16, 202, 202, 9056, 13066, 9122, 17275, 26359, 16, 202, 202, 9056, 13066, 9122, 17275, 8018, 16, 202, 202, 7823, 1305, 1746, 15007, 13, 1082, 202, 15069, 8263, 503, 202, 95, 202, 202, 2463, 394, 5420, 29371, 13198, 12, 3168, 16, 1084, 18, 588, 14857, 9334, 1875, 202, 23954, 16, 8106, 16, 12168, 1854, 16, 1875, 202, 14384, 11670, 16, 852, 1957, 1180, 2 ]
continue; } else if (val.isStringConstant()) { VM.sysWrite("TODO: should constant fold MethodIfCmp on StringConstant");
} } else if (IfCmp2.conforms(s)) { if(processIfCmp2(ir, bb, s)) { branches = bb.enumerateBranchInstructions(); bb.recomputeNormalOut(ir); didSomething = true; } } else if (LookupSwitch.conforms(s)) { if(processLookupSwitch(ir, bb, s)) { branches = bb.enumerateBranchInstructions(); bb.recomputeNormalOut(ir); didSomething = true; } } else if (TableSwitch.conforms(s)) { if(processTableSwitch(ir, bb, s)) { branches = bb.enumerateBranchInstructions(); bb.recomputeNormalOut(ir); didSomething = true; } } else if (InlineGuard.conforms(s)) { if(processInlineGuard(ir, bb, s)) { branches = bb.enumerateBranchInstructions(); bb.recomputeNormalOut(ir); didSomething = true;
public static boolean simplify(OPT_BasicBlock bb, OPT_IR ir) { boolean didSomething = false; for (OPT_InstructionEnumeration branches = bb.enumerateBranchInstructions(); branches.hasMoreElements();) { OPT_Instruction s = branches.next(); if (Goto.conforms(s)) { // nothing to do, but a common case so test first } else if (IfCmp.conforms(s)) { OPT_RegisterOperand guard = IfCmp.getGuardResult (s); OPT_Operand val1 = IfCmp.getVal1(s); OPT_Operand val2 = IfCmp.getVal2(s); { int cond = IfCmp.getCond(s).evaluate(val1, val2); if (cond != OPT_ConditionOperand.UNKNOWN) { // constant fold if (cond == OPT_ConditionOperand.TRUE) { // branch taken insertTrueGuard (s, guard); Goto.mutate(s, GOTO, IfCmp.getTarget(s)); removeBranchesAfterGotos(bb); } else { // branch not taken insertTrueGuard (s, guard); s.remove(); } // hack. Just start over since Enumeration has changed. branches = bb.enumerateBranchInstructions(); bb.recomputeNormalOut(ir); didSomething = true; continue; } } if (val1.isConstant() && !val2.isConstant()) { // Canonicalize by making second argument the constant IfCmp.setVal1(s, val2); IfCmp.setVal2(s, val1); IfCmp.setCond(s, IfCmp.getCond(s).flipOperands()); } if (val2.isIntConstant()) { // Tricks to get compare against zero. int value = ((OPT_IntConstantOperand)val2).value; OPT_ConditionOperand cond = IfCmp.getCond(s); if (value == 1) { if (cond.isLESS()) { IfCmp.setCond(s, OPT_ConditionOperand.LESS_EQUAL()); IfCmp.setVal2(s, new OPT_IntConstantOperand(0)); } else if (cond.isGREATER_EQUAL()) { IfCmp.setCond(s, OPT_ConditionOperand.GREATER()); IfCmp.setVal2(s, new OPT_IntConstantOperand(0)); } } else if (value == -1) { if (cond.isGREATER()) { IfCmp.setCond(s, OPT_ConditionOperand.GREATER_EQUAL()); IfCmp.setVal2(s, new OPT_IntConstantOperand(0)); } else if (cond.isLESS_EQUAL()) { IfCmp.setCond(s, OPT_ConditionOperand.LESS()); IfCmp.setVal2(s, new OPT_IntConstantOperand(0)); } } } } else if (IfCmp2.conforms(s)) { OPT_RegisterOperand guard = IfCmp2.getGuardResult (s); OPT_Operand val1 = IfCmp2.getVal1(s); OPT_Operand val2 = IfCmp2.getVal2(s); int cond1 = IfCmp2.getCond1(s).evaluate(val1, val2); int cond2 = IfCmp2.getCond2(s).evaluate(val1, val2); if (cond1 == OPT_ConditionOperand.TRUE) { // target 1 taken insertTrueGuard (s, guard); Goto.mutate(s, GOTO, IfCmp2.getTarget1(s)); removeBranchesAfterGotos(bb); } else if ((cond1 == OPT_ConditionOperand.FALSE) && (cond2 == OPT_ConditionOperand.TRUE)) { // target 2 taken insertTrueGuard (s, guard); Goto.mutate(s, GOTO, IfCmp2.getTarget2(s)); removeBranchesAfterGotos(bb); } else if ((cond1 == OPT_ConditionOperand.FALSE) && (cond2 == OPT_ConditionOperand.FALSE)) { // not taken insertTrueGuard (s, guard); s.remove(); } else if ((cond1 == OPT_ConditionOperand.FALSE) && (cond2 == OPT_ConditionOperand.UNKNOWN)) { // target 1 not taken, simplify test to ifcmp IfCmp.mutate(s, INT_IFCMP, guard, val1, val2, IfCmp2.getCond2(s), IfCmp2.getTarget2(s), IfCmp2.getBranchProfile2(s)); } else if ((cond1 == OPT_ConditionOperand.UNKNOWN) && (cond2 == OPT_ConditionOperand.FALSE)) { // target 1 taken possibly, simplify test to ifcmp IfCmp.mutate(s, INT_IFCMP, guard, val1, val2, IfCmp2.getCond1(s), IfCmp2.getTarget1(s), IfCmp2.getBranchProfile1(s)); } else if ((cond1 == OPT_ConditionOperand.UNKNOWN) && (cond2 == OPT_ConditionOperand.TRUE)) { // target 1 taken possibly, simplify first test to ifcmp and // insert goto after s.insertAfter(Goto.create(GOTO, IfCmp2.getTarget2(s))); IfCmp.mutate(s, INT_IFCMP, guard, val1, val2, IfCmp2.getCond1(s), IfCmp2.getTarget1(s), IfCmp2.getBranchProfile1(s)); removeBranchesAfterGotos(bb); } else { if (val1.isConstant() && !val2.isConstant()) { // Canonicalize by making second argument the constant IfCmp2.setVal1(s, val2); IfCmp2.setVal2(s, val1); IfCmp2.setCond1(s, IfCmp2.getCond1(s).flipOperands()); IfCmp2.setCond2(s, IfCmp2.getCond2(s).flipOperands()); } // we did no optimisation, just continue continue; } // hack. Just start over since Enumeration has changed. branches = bb.enumerateBranchInstructions(); bb.recomputeNormalOut(ir); didSomething = true; continue; } else if (LookupSwitch.conforms(s)) { OPT_Operand val = LookupSwitch.getValue(s); int numMatches = LookupSwitch.getNumberOfMatches(s); if (numMatches == 0) { // Can only goto default Goto.mutate(s, GOTO, LookupSwitch.getDefault(s)); } else if (val.isConstant()) { // lookup value is constant int value = ((OPT_IntConstantOperand)val).value; OPT_BranchOperand target = LookupSwitch.getDefault(s); for (int i=0; i<numMatches; i++) { if (value == LookupSwitch.getMatch(s, i).value) { target = LookupSwitch.getTarget(s, i); break; } } Goto.mutate(s, GOTO, target); } else if (numMatches == 1) { // only 1 match, simplify to ifcmp OPT_BranchOperand defaultTarget = LookupSwitch.getDefault(s); IfCmp.mutate(s, INT_IFCMP, ir.regpool.makeTempValidation(), val, LookupSwitch.getMatch(s, 0), OPT_ConditionOperand.EQUAL(), LookupSwitch.getTarget(s, 0), LookupSwitch.getBranchProfile(s, 0)); s.insertAfter(Goto.create(GOTO, defaultTarget)); } else { // no optimisation, just continue continue; } // hack. Just start over since Enumeration has changed. branches = bb.enumerateBranchInstructions(); removeBranchesAfterGotos(bb); bb.recomputeNormalOut(ir); didSomething = true; } else if (TableSwitch.conforms(s)) { OPT_Operand val = TableSwitch.getValue(s); int low = TableSwitch.getLow(s).value; int high = TableSwitch.getHigh(s).value; if (val.isConstant()) { int value = ((OPT_IntConstantOperand)val).value; OPT_BranchOperand target = TableSwitch.getDefault(s); if (value >= low && value <= high) { target = TableSwitch.getTarget(s, value - low); } Goto.mutate(s, GOTO, target); } else if (low == high) { // only 1 match, simplify to ifcmp OPT_BranchOperand defaultTarget = TableSwitch.getDefault(s); IfCmp.mutate(s, INT_IFCMP, ir.regpool.makeTempValidation(), val, new OPT_IntConstantOperand(low), OPT_ConditionOperand.EQUAL(), TableSwitch.getTarget(s, 0), TableSwitch.getBranchProfile(s, 0)); s.insertAfter(Goto.create(GOTO, defaultTarget)); } else { // no optimisation, just continue continue; } // hack. Just start over since Enumeration has changed. branches = bb.enumerateBranchInstructions(); removeBranchesAfterGotos(bb); bb.recomputeNormalOut(ir); didSomething = true; } else if (InlineGuard.conforms(s)) { OPT_Operand val = InlineGuard.getValue(s); if (val.isNullConstant()) { // branch not taken s.remove(); // hack. Just start over since Enumeration has changed. branches = bb.enumerateBranchInstructions(); bb.recomputeNormalOut(ir); didSomething = true; continue; } else if (val.isStringConstant()) { // TODO: VM.sysWrite("TODO: should constant fold MethodIfCmp on StringConstant"); } } } return didSomething; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/22e2864430a26b6dac19290829642bda5f48cb23/OPT_BranchSimplifier.java/buggy/rvm/src/com/ibm/jikesrvm/opt/OPT_BranchSimplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 16499, 12, 15620, 67, 8252, 1768, 7129, 16, 16456, 67, 7937, 9482, 13, 288, 565, 1250, 5061, 24332, 273, 629, 31, 565, 364, 261, 15620, 67, 11983, 21847, 11483, 273, 5411, 7129, 18, 7924, 12600, 7108, 26712, 5621, 11483, 18, 5332, 7417, 3471, 5621, 13, 288, 1377, 16456, 67, 11983, 272, 273, 11483, 18, 4285, 5621, 1377, 309, 261, 43, 6302, 18, 591, 9741, 12, 87, 3719, 288, 3639, 368, 5083, 358, 741, 16, 1496, 279, 2975, 648, 1427, 1842, 1122, 1377, 289, 469, 309, 261, 2047, 31832, 18, 591, 9741, 12, 87, 3719, 288, 3639, 16456, 67, 3996, 10265, 11026, 273, 971, 31832, 18, 588, 16709, 1253, 261, 87, 1769, 3639, 16456, 67, 10265, 1244, 21, 273, 971, 31832, 18, 588, 3053, 21, 12, 87, 1769, 1082, 225, 16456, 67, 10265, 1244, 22, 273, 971, 31832, 18, 588, 3053, 22, 12, 87, 1769, 1082, 225, 288, 9506, 509, 6941, 273, 971, 31832, 18, 588, 12441, 12, 87, 2934, 21024, 12, 1125, 21, 16, 1244, 22, 1769, 9506, 309, 261, 10013, 480, 16456, 67, 3418, 10265, 18, 14737, 13, 288, 9506, 202, 759, 5381, 11590, 9506, 202, 430, 261, 10013, 422, 16456, 67, 3418, 10265, 18, 18724, 13, 288, 225, 368, 3803, 9830, 6862, 225, 2243, 5510, 16709, 261, 87, 16, 11026, 1769, 6862, 225, 611, 6302, 18, 10735, 340, 12, 87, 16, 611, 27019, 16, 971, 31832, 18, 588, 2326, 12, 87, 10019, 6862, 225, 1206, 24246, 4436, 43, 12440, 12, 9897, 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, 16499, 12, 15620, 67, 8252, 1768, 7129, 16, 16456, 67, 7937, 9482, 13, 288, 565, 1250, 5061, 24332, 273, 629, 31, 565, 364, 261, 15620, 67, 11983, 21847, 11483, 273, 5411, 7129, 18, 7924, 12600, 7108, 26712, 5621, 11483, 18, 5332, 7417, 3471, 5621, 13, 288, 1377, 16456, 67, 11983, 272, 273, 11483, 18, 4285, 5621, 1377, 309, 261, 43, 6302, 18, 591, 9741, 12, 87, 3719, 288, 3639, 368, 5083, 358, 741, 16, 1496, 279, 2975, 648, 1427, 1842, 1122, 1377, 289, 469, 309, 261, 2047, 31832, 18, 591, 9741, 12, 87, 3719, 288, 3639, 16456, 67, 3996, 10265, 11026, 273, 971, 31832, 18, 588, 16709, 1253, 261, 87, 1769, 3639, 16456, 67, 10265, 2 ]
public SymbolTablePrinter printDefinedSymbolName(Symbol symbol, Symbol user, boolean addLink) { Name name = symbol.name; if (!global.debug) name = NameTransformer.decode(name); String s = name.toString(); if (htmlGenerator.isReferenced(symbol)) if (addLink) htmlGenerator.page.printAhref(htmlGenerator.ref(symbol), s); else htmlGenerator.page.printBold(s); else htmlGenerator.page.print(s);
public SymbolTablePrinter printDefinedSymbolName(Symbol symbol, boolean addLink) { htmlGenerator.printSymbol(symbol, addLink);
public SymbolTablePrinter printDefinedSymbolName(Symbol symbol, Symbol user, boolean addLink) { Name name = symbol.name; if (!global.debug) name = NameTransformer.decode(name); String s = name.toString(); if (htmlGenerator.isReferenced(symbol)) if (addLink) htmlGenerator.page.printAhref(htmlGenerator.ref(symbol), s); else htmlGenerator.page.printBold(s); else htmlGenerator.page.print(s); printSymbolUniqueId(symbol); return this; }
9617 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9617/ce3042f16f76a68cc0e6a6ef34786b8035441805/SymbolTablePrinter.java/clean/sources/scala/tools/scaladoc/SymbolTablePrinter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8565, 1388, 12149, 1172, 8116, 5335, 461, 12, 5335, 3273, 16, 8565, 729, 16, 1250, 527, 2098, 13, 288, 3639, 1770, 508, 273, 3273, 18, 529, 31, 3639, 309, 16051, 6347, 18, 4148, 13, 508, 273, 1770, 8319, 18, 3922, 12, 529, 1769, 3639, 514, 272, 273, 508, 18, 10492, 5621, 3639, 309, 261, 2620, 3908, 18, 291, 22344, 12, 7175, 3719, 5411, 309, 261, 1289, 2098, 13, 7734, 1729, 3908, 18, 2433, 18, 1188, 37, 7547, 12, 2620, 3908, 18, 1734, 12, 7175, 3631, 272, 1769, 5411, 469, 202,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8565, 1388, 12149, 1172, 8116, 5335, 461, 12, 5335, 3273, 16, 8565, 729, 16, 1250, 527, 2098, 13, 288, 3639, 1770, 508, 273, 3273, 18, 529, 31, 3639, 309, 16051, 6347, 18, 4148, 13, 508, 273, 1770, 8319, 18, 3922, 12, 529, 1769, 3639, 514, 272, 273, 508, 18, 10492, 5621, 3639, 309, 261, 2620, 3908, 18, 291, 22344, 12, 7175, 3719, 5411, 309, 261, 1289, 2098, 13, 7734, 1729, 3908, 18, 2433, 18, 1188, 37, 7547, 12, 2620, 3908, 18, 1734, 12, 7175, 3631, 272, 1769, 5411, 469, 202, 3639, 1729, 3908, 18, 2433, 18, 1188, 38, 1673, 12, 87, 1769, 202, 12107, 202, 565, 1729, 3908, 18, 2433, 18, 1188, 12, 87, 1769, 3639, 1172, 2 ]
System.err.println("Invalid line: " + comment);
System.err.println("Invalid line " + m_lineNumber + ": " + comment);
private void handleComment(String comment) { comment = comment.trim(); if (m_propertiesRead) { String[] array = comment.split("\\t"); for (int i = 0; i < array.length; ++i) addColumnTitle(array[i]); return; } if (comment.equals("")) { m_propertiesRead = true; return; } int pos = comment.indexOf(':'); if (pos < 0) { System.err.println("Invalid line: " + comment); return; } String key = comment.substring(0, pos).trim(); String value = comment.substring(pos + 1).trim(); setProperty(key, value); }
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/361c452c94d3666a3ddf286fd37c40002dbd5f77/Table.java/buggy/src/net/sf/gogui/utils/Table.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 4469, 12, 780, 2879, 13, 565, 288, 3639, 2879, 273, 2879, 18, 5290, 5621, 3639, 309, 261, 81, 67, 4738, 1994, 13, 3639, 288, 5411, 514, 8526, 526, 273, 2879, 18, 4939, 2932, 1695, 88, 8863, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 526, 18, 2469, 31, 965, 77, 13, 7734, 10871, 4247, 12, 1126, 63, 77, 19226, 5411, 327, 31, 3639, 289, 3639, 309, 261, 3469, 18, 14963, 2932, 6, 3719, 3639, 288, 5411, 312, 67, 4738, 1994, 273, 638, 31, 5411, 327, 31, 3639, 289, 3639, 509, 949, 273, 2879, 18, 31806, 2668, 2497, 1769, 3639, 309, 261, 917, 411, 374, 13, 3639, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 1941, 980, 315, 397, 312, 67, 1369, 1854, 397, 6398, 315, 397, 2879, 1769, 5411, 327, 31, 3639, 289, 3639, 514, 498, 273, 2879, 18, 28023, 12, 20, 16, 949, 2934, 5290, 5621, 3639, 514, 460, 273, 2879, 18, 28023, 12, 917, 397, 404, 2934, 5290, 5621, 3639, 7486, 12, 856, 16, 460, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 918, 1640, 4469, 12, 780, 2879, 13, 565, 288, 3639, 2879, 273, 2879, 18, 5290, 5621, 3639, 309, 261, 81, 67, 4738, 1994, 13, 3639, 288, 5411, 514, 8526, 526, 273, 2879, 18, 4939, 2932, 1695, 88, 8863, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 526, 18, 2469, 31, 965, 77, 13, 7734, 10871, 4247, 12, 1126, 63, 77, 19226, 5411, 327, 31, 3639, 289, 3639, 309, 261, 3469, 18, 14963, 2932, 6, 3719, 3639, 288, 5411, 312, 67, 4738, 1994, 273, 638, 31, 5411, 327, 31, 3639, 289, 3639, 509, 949, 273, 2879, 18, 31806, 2668, 2497, 1769, 3639, 309, 261, 917, 411, 374, 13, 3639, 288, 5411, 2332, 18, 370, 18, 8222, 2 ]
PUSH_CREF(module);
public RubyObject setupModule(RubyModule module, NODE n) { NODE node = n; // String file = ruby_sourcefile; // int line = ruby_sourceline; // TMP_PROTECT; // frame = ruby_frame; // frame.tmp(ruby_frame); // ruby_frame = frame; // PUSH_CLASS(); ruby_class = module; // PUSH_SCOPE(); RubyVarmap.push(ruby); if (node.nd_tbl() != null) { List tmp = Collections.nCopies(node.nd_tbl()[0].intValue() + 1, ruby.getNil()); ShiftableList vars = new ShiftableList(new ArrayList(tmp)); vars.set(0, (VALUE)node); vars.shift(1); getRuby().rubyScope.setLocalTbl(node.nd_tbl()); } else { getRuby().rubyScope.setLocalVars(null); getRuby().rubyScope.setLocalTbl(null); } // PUSH_CREF(module); rubyFrame.setCbase((VALUE)ruby_cref); // PUSH_TAG(PROT_NONE); RubyObject result = null; // if (( state = EXEC_TAG()) == 0 ) { // if (trace_func) { // call_trace_func("class", file, line, ruby_class, // ruby_frame->last_func, ruby_frame->last_class ); // } result = eval(ruby_class, node.nd_next()); // } // POP_TAG(); // POP_CREF(); RubyVarmap.pop(ruby); // POP_SCOPE(); // POP_CLASS(); // ruby_frame = frame.tmp;// if (trace_func) {// call_trace_func("end", file, line, 0, ruby_frame->last_func, ruby_frame->last_class );// } // if (state != 0) { // JUMP_TAG(state); // } return result; }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 1071, 30348, 67, 5458, 42, 12, 2978, 1769, 19817, 921, 30348, 67, 5458, 42, 12, 2978, 1769, 3875, 3120, 12, 54, 10340, 3120, 30348, 67, 5458, 42, 12, 2978, 1769, 1605, 16, 30348, 67, 5458, 42, 12, 2978, 1769, 11922, 30348, 67, 5458, 42, 12, 2978, 1769, 290, 13, 30348, 67, 5458, 42, 12, 2978, 1769, 288, 30348, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 11922, 30348, 67, 5458, 42, 12, 2978, 1769, 756, 30348, 67, 5458, 42, 12, 2978, 1769, 273, 30348, 67, 5458, 42, 12, 2978, 1769, 290, 31, 30348, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 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, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 1071, 30348, 67, 5458, 42, 12, 2978, 1769, 19817, 921, 30348, 67, 5458, 42, 12, 2978, 1769, 3875, 3120, 12, 54, 10340, 3120, 30348, 67, 5458, 42, 12, 2978, 1769, 1605, 16, 30348, 67, 5458, 42, 12, 2978, 1769, 11922, 30348, 67, 5458, 42, 12, 2978, 1769, 290, 13, 30348, 67, 5458, 42, 12, 2978, 1769, 288, 30348, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 1769, 28591, 67, 5458, 42, 12, 2978, 2 ]
stopRestartChecker(); if (moveTargetNode != null) { if (log.isInfoEnabled()) { log.info("Updating topology entry to \"moving\""); } int topologyType = ((getMessageAddress().equals(localNode)) ? (TopologyEntry.NODE_AGENT_TYPE) : (TopologyEntry.AGENT_TYPE)); myTopologyWriterService.updateAgent( getIdentifier(), topologyType, incarnation, moveId, TopologyEntry.MOVING, moveId); } else { if (log.isInfoEnabled()) { log.info("Removing topology entry"); } myTopologyWriterService.removeAgent(getIdentifier()); }
suspendTopology();
public void suspend() { super.suspend(); if (log.isInfoEnabled()) { log.info("Suspending"); } // suspend all children if (log.isInfoEnabled()) { log.info("Recursively suspending all child components"); } List childBinders = listBinders(); for (int i = childBinders.size() - 1; i >= 0; i--) { Binder b = (Binder) childBinders.get(i); b.suspend(); } if (log.isInfoEnabled()) { log.info("Suspending scheduler"); } // FIXME bug 989: cancel all alarms stopRestartChecker(); // update the topology if (moveTargetNode != null) { if (log.isInfoEnabled()) { log.info("Updating topology entry to \"moving\""); } int topologyType = ((getMessageAddress().equals(localNode)) ? (TopologyEntry.NODE_AGENT_TYPE) : (TopologyEntry.AGENT_TYPE)); myTopologyWriterService.updateAgent( getIdentifier(), topologyType, incarnation, moveId, TopologyEntry.MOVING, moveId); } else { if (log.isInfoEnabled()) { log.info("Removing topology entry"); } myTopologyWriterService.removeAgent(getIdentifier()); } // shutdown the MTS if (log.isInfoEnabled()) { log.info("Shutting down message transport"); } if (messenger != null) { messenger.unregisterClient(mtsClientAdapter); } stopQueueHandler(); if (messenger != null) { // flush outgoing messages, block further input. // get a list of unsent messages. unsentMessages = messenger.flushMessages(); // get MTS-internal state for this agent mtsState = messenger.getAgentState(); // release messenger, remove agent name-server entry. getServiceBroker().releaseService( mtsClientAdapter, MessageTransportService.class, messenger); messenger = null; } if (moveTargetNode != null) { // moving, delay identity transfer until after getState() if (log.isInfoEnabled()) { log.info( "Postponing identity transfer to node "+ moveTargetNode); } } else { // non-moving suspend? if (log.isInfoEnabled()) { log.info("Releasing identity"); } myAgentIdService.release(); } if (log.isInfoEnabled()) { log.info("Suspended"); } }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/8729b3a6f3d460efa8689b553a1c50c319f619b6/SimpleAgent.java/buggy/core/src/org/cougaar/core/agent/SimpleAgent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 20413, 1435, 288, 565, 2240, 18, 87, 18815, 5621, 565, 309, 261, 1330, 18, 291, 966, 1526, 10756, 288, 1377, 613, 18, 1376, 2932, 55, 407, 9561, 8863, 565, 289, 565, 368, 20413, 777, 2325, 565, 309, 261, 1330, 18, 291, 966, 1526, 10756, 288, 1377, 613, 18, 1376, 2932, 12474, 11375, 9561, 777, 1151, 4085, 8863, 565, 289, 565, 987, 1151, 3357, 414, 273, 666, 3357, 414, 5621, 565, 364, 261, 474, 277, 273, 1151, 3357, 414, 18, 1467, 1435, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 1377, 6936, 264, 324, 273, 261, 17700, 13, 1151, 3357, 414, 18, 588, 12, 77, 1769, 1377, 324, 18, 87, 18815, 5621, 565, 289, 565, 309, 261, 1330, 18, 291, 966, 1526, 10756, 288, 1377, 613, 18, 1376, 2932, 55, 407, 9561, 8129, 8863, 565, 289, 565, 368, 9852, 7934, 2468, 6675, 30, 3755, 777, 524, 20452, 565, 2132, 15057, 8847, 5621, 565, 368, 1089, 326, 9442, 377, 309, 261, 8501, 2326, 907, 480, 446, 13, 288, 1377, 309, 261, 1330, 18, 291, 966, 1526, 10756, 288, 3639, 613, 18, 1376, 2932, 17858, 9442, 1241, 358, 1239, 81, 13767, 8530, 1769, 1377, 289, 1377, 509, 9442, 559, 273, 540, 14015, 24906, 1887, 7675, 14963, 12, 3729, 907, 3719, 692, 540, 261, 18618, 1622, 18, 8744, 67, 15005, 67, 2399, 13, 294, 540, 261, 18618, 1622, 18, 15005, 67, 2399, 10019, 1377, 3399, 18618, 2289, 1179, 18, 2725, 3630, 12, 1850, 9650, 9334, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 20413, 1435, 288, 565, 2240, 18, 87, 18815, 5621, 565, 309, 261, 1330, 18, 291, 966, 1526, 10756, 288, 1377, 613, 18, 1376, 2932, 55, 407, 9561, 8863, 565, 289, 565, 368, 20413, 777, 2325, 565, 309, 261, 1330, 18, 291, 966, 1526, 10756, 288, 1377, 613, 18, 1376, 2932, 12474, 11375, 9561, 777, 1151, 4085, 8863, 565, 289, 565, 987, 1151, 3357, 414, 273, 666, 3357, 414, 5621, 565, 364, 261, 474, 277, 273, 1151, 3357, 414, 18, 1467, 1435, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 1377, 6936, 264, 324, 273, 261, 17700, 13, 1151, 3357, 414, 18, 588, 12, 77, 1769, 1377, 324, 18, 87, 18815, 5621, 565, 289, 2 ]
OPT_Operand offset = bc2ir.popInt();
OPT_Operand offset = bc2ir.popAddress();
static boolean generateMagic(OPT_BC2IR bc2ir, OPT_GenerationContext gc, VM_MethodReference meth) throws OPT_MagicNotImplementedException { if (gc.method.hasNoInlinePragma()) gc.allocFrame = true; // HACK: Don't schedule any bbs containing unsafe magics. // TODO: move this to individual magics that are unsafe. // -- igor 08/13/1999 bc2ir.markBBUnsafeForScheduling(); VM_Atom methodName = meth.getName(); boolean address = (meth.getType() == VM_TypeReference.Address); // Address magic VM_TypeReference[] types = meth.getParameterTypes(); VM_TypeReference returnType = meth.getReturnType(); if (address && isLoad(methodName)) { // LOAD OPT_Operand offset = (types.length == 0) ? new OPT_IntConstantOperand(0) : bc2ir.pop(); OPT_Operand base = bc2ir.popAddress(); OPT_RegisterOperand result = gc.temps.makeTemp(returnType); bc2ir.appendInstruction(Load.create(getOperator(returnType, LOAD_OP), result, base, offset, null)); bc2ir.push(result.copyD2U(), returnType); } else if (address && isPrepare(methodName)) { // PREPARE OPT_Operand offset = (types.length == 0) ? new OPT_IntConstantOperand(0) : bc2ir.pop(); OPT_Operand base = bc2ir.popAddress(); OPT_RegisterOperand result = gc.temps.makeTemp(returnType); bc2ir.appendInstruction( Prepare.create(getOperator(returnType, PREPARE_OP), result, base, offset, null)); bc2ir.push(result.copyD2U(), returnType); } else if (address && methodName == VM_MagicNames.attempt) { // ATTEMPT VM_TypeReference attemptType = types[0]; OPT_Operand offset = (types.length == 2) ? new OPT_IntConstantOperand(0) : bc2ir.pop(); OPT_Operand newVal = bc2ir.pop(); OPT_Operand oldVal = bc2ir.pop(); OPT_Operand base = bc2ir.popAddress(); OPT_RegisterOperand test = gc.temps.makeTempInt(); bc2ir.appendInstruction( Attempt.create(getOperator(attemptType, ATTEMPT_OP), test, base, offset, oldVal, newVal, null)); bc2ir.push(test.copyD2U(), returnType); } else if (address && methodName == VM_MagicNames.store) { // STORE VM_TypeReference storeType = types[0]; OPT_Operand offset = (types.length == 1) ? new OPT_IntConstantOperand(0) : bc2ir.pop(); OPT_Operand val = bc2ir.pop(); OPT_Operand base = bc2ir.popAddress(); bc2ir.appendInstruction(Store.create(getOperator(storeType, STORE_OP), val, base, offset, null)); } else if (methodName == VM_MagicNames.getProcessorRegister) { OPT_RegisterOperand rop = gc.temps.makePROp(); bc2ir.markGuardlessNonNull(rop); bc2ir.push(rop); } else if (methodName == VM_MagicNames.setProcessorRegister) { OPT_Operand val = bc2ir.popRef(); if (val instanceof OPT_RegisterOperand) { bc2ir.appendInstruction(Move.create(REF_MOVE, gc.temps.makePROp(), val)); } else { String msg = " Unexpected operand VM_Magic.setProcessorRegister"; throw OPT_MagicNotImplementedException.UNEXPECTED(msg); } } else if (methodName == VM_MagicNames.addressArrayCreate) { OPT_Instruction s = bc2ir.generateAnewarray(meth.getType().getArrayElementType()); bc2ir.appendInstruction(s); } else if (methodName == VM_MagicNames.addressArrayLength) { OPT_Operand op1 = bc2ir.pop(); bc2ir.clearCurrentGuard(); if (bc2ir.do_NullCheck(op1)) return true; OPT_RegisterOperand t = gc.temps.makeTempInt(); OPT_Instruction s = GuardedUnary.create(ARRAYLENGTH, t, op1, bc2ir.getCurrentGuard()); bc2ir.push(t.copyD2U()); bc2ir.appendInstruction(s); } else if (methodName == VM_MagicNames.addressArrayGet) { VM_TypeReference elementType = meth.getType().getArrayElementType(); OPT_Operand index = bc2ir.popInt(); OPT_Operand ref = bc2ir.popRef(); OPT_RegisterOperand offset = gc.temps.makeTempInt(); OPT_RegisterOperand result; if (meth.getType().isCodeArrayType()) { if (VM.BuildForIA32) { result = gc.temps.makeTemp(VM_TypeReference.Byte); bc2ir.appendInstruction(Load.create(BYTE_LOAD, result, ref, index, new OPT_LocationOperand(elementType), new OPT_TrueGuardOperand())); } else if (VM.BuildForPowerPC) { result = gc.temps.makeTemp(VM_TypeReference.Int); bc2ir.appendInstruction(Binary.create(INT_SHL, offset, index, new OPT_IntConstantOperand(LOG_BYTES_IN_INT))); bc2ir.appendInstruction(Load.create(INT_LOAD, result, ref, offset.copy(), new OPT_LocationOperand(elementType), new OPT_TrueGuardOperand())); } } else { result = gc.temps.makeTemp(elementType); bc2ir.appendInstruction(Binary.create(INT_SHL, offset, index, new OPT_IntConstantOperand(LOG_BYTES_IN_ADDRESS))); bc2ir.appendInstruction(Load.create(REF_LOAD, result, ref, offset.copy(), new OPT_LocationOperand(elementType), new OPT_TrueGuardOperand())); } bc2ir.push(result.copyD2U()); } else if (methodName == VM_MagicNames.addressArraySet) { VM_TypeReference elementType = meth.getType().getArrayElementType(); OPT_Operand val = bc2ir.pop(); OPT_Operand index = bc2ir.popInt(); OPT_Operand ref = bc2ir.popRef(); OPT_RegisterOperand offset = gc.temps.makeTempInt(); if (meth.getType().isCodeArrayType()) { if (VM.BuildForIA32) { bc2ir.appendInstruction(Store.create(BYTE_STORE, val, ref, index, new OPT_LocationOperand(elementType), new OPT_TrueGuardOperand())); } else if (VM.BuildForPowerPC) { bc2ir.appendInstruction(Binary.create(INT_SHL, offset, index, new OPT_IntConstantOperand(LOG_BYTES_IN_INT))); bc2ir.appendInstruction(Store.create(INT_STORE, val, ref, offset.copy(), new OPT_LocationOperand(elementType), new OPT_TrueGuardOperand())); } } else { bc2ir.appendInstruction(Binary.create(INT_SHL, offset, index, new OPT_IntConstantOperand(LOG_BYTES_IN_ADDRESS))); bc2ir.appendInstruction(Store.create(REF_STORE, val, ref, offset.copy(), new OPT_LocationOperand(elementType), new OPT_TrueGuardOperand())); } } else if (methodName == VM_MagicNames.getIntAtOffset) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTempInt(); bc2ir.appendInstruction(Load.create(INT_LOAD, val, object, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.setIntAtOffset) { OPT_Operand val = bc2ir.popInt(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); bc2ir.appendInstruction(Store.create(INT_STORE, val, object, offset, null)); } else if (methodName == VM_MagicNames.getWordAtOffset) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Word); bc2ir.appendInstruction(Load.create(REF_LOAD, val, object, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.setWordAtOffset) { OPT_Operand val = bc2ir.popRef(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); bc2ir.appendInstruction(Store.create(REF_STORE, val, object, offset, null)); } else if (methodName == VM_MagicNames.getLongAtOffset) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTempLong(); bc2ir.appendInstruction(Load.create(LONG_LOAD, val, object, offset, null)); bc2ir.pushDual(val.copyD2U()); } else if (methodName == VM_MagicNames.setLongAtOffset) { OPT_Operand val = bc2ir.popLong(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); bc2ir.appendInstruction(Store.create(LONG_STORE, val, object, offset, null)); } else if (methodName == VM_MagicNames.getDoubleAtOffset) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTempDouble(); bc2ir.appendInstruction(Load.create(DOUBLE_LOAD, val, object, offset, null)); bc2ir.pushDual(val.copyD2U()); } else if (methodName == VM_MagicNames.setDoubleAtOffset) { OPT_Operand val = bc2ir.popDouble(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); bc2ir.appendInstruction(Store.create(DOUBLE_STORE, val, object, offset, null)); } else if (methodName == VM_MagicNames.getObjectAtOffset) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.JavaLangObject); bc2ir.appendInstruction(Load.create(REF_LOAD, val, object, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.getObjectArrayAtOffset) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.JavaLangObjectArray); bc2ir.appendInstruction(Load.create(REF_LOAD, val, object, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.setObjectAtOffset) { OPT_LocationOperand loc = null; if (meth.getParameterTypes().length == 4) { loc = mapToMetadata(bc2ir.popInt()); } OPT_Operand val = bc2ir.popRef(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); bc2ir.appendInstruction(Store.create(REF_STORE, val, object, offset, loc)); } else if (methodName == VM_MagicNames.getByteAtOffset) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Byte); bc2ir.appendInstruction(Load.create(BYTE_LOAD, val, object, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.setByteAtOffset) { OPT_Operand val = bc2ir.popInt(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); bc2ir.appendInstruction(Store.create(BYTE_STORE, val, object, offset, null)); } else if (methodName == VM_MagicNames.getCharAtOffset) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Char); bc2ir.appendInstruction(Load.create(USHORT_LOAD, val, object, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.setCharAtOffset) { OPT_Operand val = bc2ir.popInt(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand object = bc2ir.popRef(); bc2ir.appendInstruction(Store.create(SHORT_STORE, val, object, offset, null)); } else if (methodName == VM_MagicNames.getMemoryInt) { OPT_Operand memAddr = bc2ir.popAddress(); OPT_RegisterOperand val = gc.temps.makeTempInt(); bc2ir.appendInstruction(Load.create(INT_LOAD, val, memAddr, new OPT_IntConstantOperand(0), null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.getMemoryWord) { OPT_Operand memAddr = bc2ir.popAddress(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Word); bc2ir.appendInstruction(Load.create(REF_LOAD, val, memAddr, new OPT_IntConstantOperand(0), null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.getMemoryAddress) { OPT_Operand memAddr = bc2ir.popAddress(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Address); bc2ir.appendInstruction(Load.create(REF_LOAD, val, memAddr, new OPT_IntConstantOperand(0), null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.setMemoryInt) { OPT_Operand val = bc2ir.popInt(); OPT_Operand memAddr = bc2ir.popAddress(); bc2ir.appendInstruction(Store.create(INT_STORE, val, memAddr, new OPT_IntConstantOperand(0), null)); } else if (methodName == VM_MagicNames.setMemoryWord) { OPT_Operand val = bc2ir.popRef(); OPT_Operand memAddr = bc2ir.popAddress(); bc2ir.appendInstruction(Store.create(REF_STORE, val, memAddr, new OPT_IntConstantOperand(0), null)); } else if (methodName == VM_MagicNames.setMemoryAddress) { OPT_LocationOperand loc = null; if (meth.getParameterTypes().length == 3) { loc = mapToMetadata(bc2ir.popInt()); } OPT_Operand val = bc2ir.popRef(); OPT_Operand memAddr = bc2ir.popAddress(); bc2ir.appendInstruction(Store.create(REF_STORE, val, memAddr, new OPT_IntConstantOperand(0), loc)); } else if (meth.getType() == VM_TypeReference.SysCall) { // All methods of VM_SysCall have the following signature: // callNAME(Address code, <var args to pass via native calling convention>) VM_TypeReference[] args = meth.getParameterTypes(); int numArgs = args.length; VM_Field ip = VM_Entrypoints.getSysCallField(meth.getName().toString()); OPT_MethodOperand mo = OPT_MethodOperand.STATIC(ip); OPT_Instruction call = Call.create(SYSCALL, null, null, mo, null, args.length); for (int i = args.length-1; i >= 0; i--) { Call.setParam(call, i, bc2ir.pop(args[i])); } if (!returnType.isVoidType()) { OPT_RegisterOperand op0 = gc.temps.makeTemp(returnType); Call.setResult(call, op0); bc2ir.push(op0.copyD2U(), returnType); } bc2ir.appendInstruction(call); } else if (methodName == VM_MagicNames.threadAsCollectorThread) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.findOrCreate(VM_BootstrapClassLoader.getBootstrapClassLoader(), VM_Atom.findOrCreateAsciiAtom("Lcom/ibm/JikesRVM/VM_CollectorThread;"))); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.objectAsType) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.VM_Type); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.objectAsThread) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.findOrCreate(VM_BootstrapClassLoader.getBootstrapClassLoader(), VM_Atom.findOrCreateAsciiAtom("Lcom/ibm/JikesRVM/VM_Thread;"))); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.objectAsProcessor) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.VM_Processor); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.objectAsAddress) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Address); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.addressAsObject) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.JavaLangObject); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.addressAsObjectArray) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.JavaLangObjectArray); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.addressAsType) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.VM_Type); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.addressAsThread) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.findOrCreate(VM_BootstrapClassLoader.getBootstrapClassLoader(), VM_Atom.findOrCreateAsciiAtom("Lcom/ibm/JikesRVM/VM_Thread;"))); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.addressAsRegisters) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.findOrCreate(VM_BootstrapClassLoader.getBootstrapClassLoader(), VM_Atom.findOrCreateAsciiAtom("Lcom/ibm/JikesRVM/VM_Registers;"))); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.addressAsByteArray) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.ByteArray); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.addressAsIntArray) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.IntArray); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.objectAsByteArray) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.ByteArray); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.objectAsShortArray) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.ShortArray); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.objectAsIntArray) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.IntArray); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.addressAsStack) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.IntArray); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.floatAsIntBits) { OPT_Operand val = bc2ir.popFloat(); OPT_RegisterOperand op0 = gc.temps.makeTempInt(); bc2ir.appendInstruction(Unary.create(FLOAT_AS_INT_BITS, op0, val)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.intBitsAsFloat) { OPT_Operand val = bc2ir.popInt(); OPT_RegisterOperand op0 = gc.temps.makeTempFloat(); bc2ir.appendInstruction(Unary.create(INT_BITS_AS_FLOAT, op0, val)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.doubleAsLongBits) { OPT_Operand val = bc2ir.popDouble(); OPT_RegisterOperand op0 = gc.temps.makeTempLong(); bc2ir.appendInstruction(Unary.create(DOUBLE_AS_LONG_BITS, op0, val)); bc2ir.pushDual(op0.copyD2U()); } else if (methodName == VM_MagicNames.longBitsAsDouble) { OPT_Operand val = bc2ir.popLong(); OPT_RegisterOperand op0 = gc.temps.makeTempDouble(); bc2ir.appendInstruction(Unary.create(LONG_BITS_AS_DOUBLE, op0, val)); bc2ir.pushDual(op0.copyD2U()); } else if (methodName == VM_MagicNames.getObjectType) { OPT_Operand val = bc2ir.popRef(); OPT_Operand guard = bc2ir.getGuard(val); if (guard == null) { // it's magic, so assume that it's OK.... guard = new OPT_TrueGuardOperand(); } OPT_RegisterOperand tibPtr = gc.temps.makeTemp(VM_TypeReference.JavaLangObjectArray); bc2ir.appendInstruction(GuardedUnary.create(GET_OBJ_TIB, tibPtr, val, guard)); OPT_RegisterOperand op0; VM_TypeReference argType = val.getType(); if (argType.isArrayType()) { op0 = gc.temps.makeTemp(VM_TypeReference.VM_Array); } else { if (argType == VM_TypeReference.JavaLangObject || argType == VM_TypeReference.JavaLangCloneable || argType == VM_TypeReference.JavaIoSerializable) { // could be an array or a class, so make op0 be a VM_Type op0 = gc.temps.makeTemp(VM_TypeReference.VM_Type); } else { op0 = gc.temps.makeTemp(VM_TypeReference.VM_Class); } } bc2ir.markGuardlessNonNull(op0); bc2ir.appendInstruction(Unary.create(GET_TYPE_FROM_TIB, op0, tibPtr.copyD2U())); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.getArrayLength) { OPT_Operand val = bc2ir.popRef(); OPT_RegisterOperand op0 = gc.temps.makeTempInt(); bc2ir.appendInstruction(GuardedUnary.create(ARRAYLENGTH, op0, val, new OPT_TrueGuardOperand())); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.invokeClassInitializer) { OPT_Instruction s = Call.create0(CALL, null, bc2ir.popRef(), null); bc2ir.appendInstruction(s); } else if (methodName == VM_MagicNames.invokeMain) { OPT_Operand code = bc2ir.popRef(); OPT_Operand args = bc2ir.popRef(); bc2ir.appendInstruction(Call.create1(CALL, null, code, null, args)); } else if ((methodName == VM_MagicNames.invokeMethodReturningObject) || (methodName == VM_MagicNames.invokeMethodReturningVoid) || (methodName == VM_MagicNames.invokeMethodReturningLong) || (methodName == VM_MagicNames.invokeMethodReturningDouble) || (methodName == VM_MagicNames.invokeMethodReturningFloat) || (methodName == VM_MagicNames.invokeMethodReturningInt)) { OPT_Operand spills = bc2ir.popRef(); OPT_Operand fprs = bc2ir.popRef(); OPT_Operand gprs = bc2ir.popRef(); OPT_Operand code = bc2ir.popRef(); OPT_RegisterOperand res = null; if (methodName == VM_MagicNames.invokeMethodReturningObject) { res = gc.temps.makeTemp(VM_TypeReference.JavaLangObject); bc2ir.push(res.copyD2U()); } else if (methodName == VM_MagicNames.invokeMethodReturningLong) { res = gc.temps.makeTemp(VM_TypeReference.Long); bc2ir.push(res.copyD2U(), VM_TypeReference.Long); } else if (methodName == VM_MagicNames.invokeMethodReturningDouble) { res = gc.temps.makeTempDouble(); bc2ir.push(res.copyD2U(), VM_TypeReference.Double); } else if (methodName == VM_MagicNames.invokeMethodReturningFloat) { res = gc.temps.makeTempFloat(); bc2ir.push(res.copyD2U(), VM_TypeReference.Float); } else if (methodName == VM_MagicNames.invokeMethodReturningInt) { res = gc.temps.makeTempInt(); bc2ir.push(res.copyD2U()); } VM_Field target = VM_Entrypoints.reflectiveMethodInvokerInstructionsField; OPT_MethodOperand met = OPT_MethodOperand.STATIC(target); OPT_Instruction s = Call.create4(CALL, res, new OPT_IntConstantOperand(target.getOffset()), met, code, gprs, fprs, spills); bc2ir.appendInstruction(s); } else if (methodName == VM_MagicNames.saveThreadState) { OPT_Operand p1 = bc2ir.popRef(); VM_Field target = VM_Entrypoints.saveThreadStateInstructionsField; OPT_MethodOperand mo = OPT_MethodOperand.STATIC(target); bc2ir.appendInstruction(Call.create1(CALL, null, new OPT_IntConstantOperand(target.getOffset()), mo, p1)); } else if (methodName == VM_MagicNames.threadSwitch) { OPT_Operand p2 = bc2ir.popRef(); OPT_Operand p1 = bc2ir.popRef(); VM_Field target = VM_Entrypoints.threadSwitchInstructionsField; OPT_MethodOperand mo = OPT_MethodOperand.STATIC(target); bc2ir.appendInstruction(Call.create2(CALL, null, new OPT_IntConstantOperand(target.getOffset()), mo, p1, p2)); } else if (methodName == VM_MagicNames.restoreHardwareExceptionState) { VM_Field target = VM_Entrypoints.restoreHardwareExceptionStateInstructionsField; OPT_MethodOperand mo = OPT_MethodOperand.STATIC(target); bc2ir.appendInstruction(Call.create1(CALL, null, new OPT_IntConstantOperand(target.getOffset()), mo, bc2ir.popRef())); } else if (methodName == VM_MagicNames.prepareInt) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand base = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTempInt(); bc2ir.appendInstruction(Prepare.create(PREPARE_INT, val, base, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.prepareObject) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand base = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.JavaLangObject); bc2ir.appendInstruction(Prepare.create(PREPARE_ADDR, val, base, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.prepareAddress) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand base = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Address); bc2ir.appendInstruction(Prepare.create(PREPARE_ADDR, val, base, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.prepareWord) { OPT_Operand offset = bc2ir.popInt(); OPT_Operand base = bc2ir.popRef(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Word); bc2ir.appendInstruction(Prepare.create(PREPARE_ADDR, val, base, offset, null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.attemptInt) { OPT_Operand newVal = bc2ir.popInt(); OPT_Operand oldVal = bc2ir.popInt(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand base = bc2ir.popRef(); OPT_RegisterOperand test = gc.temps.makeTempInt(); bc2ir.appendInstruction(Attempt.create(ATTEMPT_INT, test, base, offset, oldVal, newVal, null)); bc2ir.push(test.copyD2U()); } else if (methodName == VM_MagicNames.attemptObject) { OPT_Operand newVal = bc2ir.popRef(); OPT_Operand oldVal = bc2ir.popRef(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand base = bc2ir.popRef(); OPT_RegisterOperand test = gc.temps.makeTempInt(); bc2ir.appendInstruction(Attempt.create(ATTEMPT_ADDR, test, base, offset, oldVal, newVal, null)); bc2ir.push(test.copyD2U()); } else if (methodName == VM_MagicNames.attemptAddress) { OPT_Operand newVal = bc2ir.popAddress(); OPT_Operand oldVal = bc2ir.popAddress(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand base = bc2ir.popRef(); OPT_RegisterOperand test = gc.temps.makeTempInt(); bc2ir.appendInstruction(Attempt.create(ATTEMPT_ADDR, test, base, offset, oldVal, newVal, null)); bc2ir.push(test.copyD2U()); } else if (methodName == VM_MagicNames.attemptWord) { OPT_Operand newVal = bc2ir.pop(); OPT_Operand oldVal = bc2ir.pop(); OPT_Operand offset = bc2ir.popInt(); OPT_Operand base = bc2ir.popRef(); OPT_RegisterOperand test = gc.temps.makeTempInt(); bc2ir.appendInstruction(Attempt.create(ATTEMPT_ADDR, test, base, offset, oldVal, newVal, null)); bc2ir.push(test.copyD2U()); } else if (generatePolymorphicMagic(bc2ir, gc, meth, methodName)) { return true; } else if (methodName == VM_MagicNames.getTimeBase) { OPT_RegisterOperand op0 = gc.temps.makeTempLong(); bc2ir.appendInstruction(Nullary.create(GET_TIME_BASE, op0)); bc2ir.pushDual(op0.copyD2U()); } else { // Wasn't machine-independent, so try the machine-dependent magics next. return OPT_GenerateMachineSpecificMagic.generateMagic(bc2ir, gc, meth); } return true; } // generateMagic
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3a9aeeb7f964774e6adc285d6526603ac1570e14/OPT_GenerateMagic.java/clean/rvm/src/vm/compilers/optimizing/ir/conversions/bc2hir/OPT_GenerateMagic.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 1250, 2103, 19289, 12, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 27573, 16456, 67, 13842, 1042, 8859, 16, 27573, 8251, 67, 1305, 2404, 7917, 13, 1216, 16456, 67, 19289, 1248, 8644, 503, 288, 565, 309, 261, 13241, 18, 2039, 18, 5332, 2279, 10870, 2050, 9454, 10756, 8859, 18, 9853, 3219, 273, 638, 31, 3639, 368, 670, 3649, 30, 7615, 1404, 4788, 1281, 324, 2038, 4191, 7127, 4447, 2102, 18, 565, 368, 2660, 30, 3635, 333, 358, 7327, 4447, 2102, 716, 854, 7127, 18, 565, 368, 1493, 277, 3022, 16314, 19, 3437, 19, 21, 11984, 565, 6533, 22, 481, 18, 3355, 9676, 23912, 1290, 25401, 5621, 565, 8251, 67, 3641, 4918, 273, 7917, 18, 17994, 5621, 565, 1250, 1758, 273, 261, 27305, 18, 588, 559, 1435, 422, 8251, 67, 7534, 18, 1887, 1769, 565, 368, 5267, 8146, 565, 8251, 67, 7534, 8526, 1953, 273, 7917, 18, 588, 1662, 2016, 5621, 565, 8251, 67, 7534, 9424, 273, 7917, 18, 588, 9102, 5621, 377, 309, 261, 2867, 597, 353, 2563, 12, 2039, 461, 3719, 288, 1377, 368, 24089, 1377, 16456, 67, 10265, 1384, 273, 261, 2352, 18, 2469, 422, 374, 13, 3639, 692, 394, 16456, 67, 1702, 6902, 10265, 12, 20, 13, 3639, 294, 6533, 22, 481, 18, 5120, 5621, 1377, 16456, 67, 10265, 1026, 273, 6533, 22, 481, 18, 5120, 1887, 5621, 1377, 16456, 67, 3996, 10265, 563, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 12, 2463, 559, 1769, 1377, 6533, 22, 481, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 1250, 2103, 19289, 12, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 27573, 16456, 67, 13842, 1042, 8859, 16, 27573, 8251, 67, 1305, 2404, 7917, 13, 1216, 16456, 67, 19289, 1248, 8644, 503, 288, 565, 309, 261, 13241, 18, 2039, 18, 5332, 2279, 10870, 2050, 9454, 10756, 8859, 18, 9853, 3219, 273, 638, 31, 3639, 368, 670, 3649, 30, 7615, 1404, 4788, 1281, 324, 2038, 4191, 7127, 4447, 2102, 18, 565, 368, 2660, 30, 3635, 333, 358, 7327, 4447, 2102, 716, 854, 7127, 18, 565, 368, 1493, 277, 3022, 16314, 19, 3437, 19, 21, 11984, 565, 6533, 22, 481, 18, 3355, 9676, 23912, 1290, 25401, 5621, 565, 8251, 67, 3641, 4918, 273, 7917, 18, 17994, 5621, 2 ]
list = new Vector(Arrays.asList(items));
list = new Vector();
public DefaultComboBoxModel(Object[] items) { list = new Vector(Arrays.asList(items)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2989, 22199, 1488, 12, 921, 8526, 1516, 13, 225, 288, 565, 666, 273, 394, 5589, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2989, 22199, 1488, 12, 921, 8526, 1516, 13, 225, 288, 565, 666, 273, 394, 5589, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]